Api-roll 47: 2017-03-27
R=vegorov@google.com
Review-Url: https://codereview.chromium.org//2779563003 .
diff --git a/config.yaml b/config.yaml
index a60e07e..215c4b1 100644
--- a/config.yaml
+++ b/config.yaml
@@ -1,6 +1,6 @@
packages:
- googleapis:
- version: 0.36.0
+ version: 0.37.0
author: Dart Team <misc@dartlang.org>
homepage: http://www.dartlang.org/googleapis/
readme: resources/README.md
@@ -33,6 +33,8 @@
- cloudbilling:v1 # https://cloud.google.com/billing/
- cloudbuild:v1 # https://cloud.google.com/container-builder/docs/
- clouddebugger:v2 # https://cloud.google.com/tools/cloud-debugger
+ - cloudfunctions:v1 # https://cloud.google.com/functions/docs/
+ - cloudkms:v1 # https://cloud.google.com/kms/docs/
- cloudresourcemanager:v1 # https://cloud.google.com/resource-manager/
- cloudtrace:v1 # https://cloud.google.com/cloud-trace/
- compute:v1 # https://developers.google.com/compute/
@@ -72,6 +74,7 @@
- logging:v2 #
- manufacturers:v1 #
- mirror:v1 # https://developers.google.com/glass/develop/mirror/
+ - ml:v1 # https://cloud.google.com/ml-engine/
- monitoring:v3
- oauth2:v2 # https://developers.google.com/accounts/docs/OAuth2UserAgent
- pagespeedonline:v1 # https://developers.google.com/speed/docs/insights/about
@@ -113,7 +116,7 @@
- youtube:v3 # https://developers.google.com/youtube/
- googleapis_beta:
- version: 0.34.0
+ version: 0.35.0
author: Dart Team <misc@dartlang.org>
homepage: http://www.dartlang.org/googleapis/
readme: resources/README.md
@@ -128,15 +131,14 @@
- cloudmonitoring:v2beta2 # https://developers.google.com/cloud-monitoring/
- cloudresourcemanager:v1beta1
- clouduseraccounts:beta # https://cloud.google.com/compute/docs/access/user-accounts/api/latest/
- - cloudkms:v1beta1 # https://cloud.google.com/kms/docs/
- dataflow:v1b3 # https://cloud.google.com/dataflow/
+ - dataproc:v1beta1 # https://cloud.google.com/dataproc/
- datastore:v1beta2 # https://developers.google.com/datastore/
- datastore:v1beta3 # https://developers.google.com/datastore/
- - dataproc:v1beta1 # https://cloud.google.com/dataproc/
+ - dlp:v2beta1 # https://cloud.google.com/dlp/
- dns:v2beta1 # https://cloud.google.com/dns/docs/
- language:v1beta1 # https://cloud.google.com/natural-language/
- logging:v2beta1 # https://cloud.google.com/appengine/articles/logging
- - ml:v1beta1 #
- proximitybeacon:v1beta1 # https://developers.google.com/beacons/proximity/guides
- pubsub:v1beta2 # https://developers.google.com/pubsub/ (Limited Preview)
- replicapoolupdater:v1beta1 # https://cloud.google.com/compute/docs/instance-groups/manager/
@@ -157,15 +159,20 @@
- analytics:v2.4 # v3 included
- androidpublisher:v1.1 # v2 included
- androidpublisher:v1 # v2 included
+- appengine:v1alpha # v1 included
- blogger:v2 # v3 included
+- cloudfunctions:v1beta2 # v1 included
- clouduseraccounts:alpha # Leave out alpha versions for now
- clouduseraccounts:vm_alpha # Leave out alpha versions for now
- clouduseraccounts:vm_beta # seems to be the same API as "beta"
- compute:alpha # v1 included
- compute:beta # v1 included
-- datastore:v1beta1 # v1beta2 included
- dataproc:v1alpha1 # v1beta1 included
+- datastore:v1beta1 # v1beta2 included
+- deploymentmanager:alpha # v2beta # v1 included
+- deploymentmanager:v2beta # v1 included
- genomics:v1alpha2 # v1 included
+- ml:v1beta1 # v1 included
- oauth2:v1 # v2 included
- prediction:v1.2 # v1.6 included
- prediction:v1.3 # v1.6 included
diff --git a/discovery/googleapis/acceleratedmobilepageurl__v1.json b/discovery/googleapis/acceleratedmobilepageurl__v1.json
index 0f2e168..bed6205 100644
--- a/discovery/googleapis/acceleratedmobilepageurl__v1.json
+++ b/discovery/googleapis/acceleratedmobilepageurl__v1.json
@@ -15,37 +15,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "access_token": {
- "description": "OAuth access token.",
- "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"
- },
- "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"
- },
- "pp": {
- "default": "true",
- "description": "Pretty-print response.",
- "location": "query",
- "type": "boolean"
- },
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
- },
- "bearer_token": {
- "description": "OAuth bearer token.",
- "location": "query",
- "type": "string"
- },
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
@@ -67,6 +36,11 @@
"location": "query",
"type": "string"
},
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"$.xgafv": {
"description": "V1 error format.",
"enum": [
@@ -80,11 +54,6 @@
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -100,6 +69,37 @@
],
"location": "query",
"type": "string"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "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"
+ },
+ "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"
+ },
+ "pp": {
+ "default": "true",
+ "description": "Pretty-print response.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
}
},
"protocol": "rest",
@@ -126,6 +126,46 @@
"revision": "20170224",
"rootUrl": "https://acceleratedmobilepageurl.googleapis.com/",
"schemas": {
+ "BatchGetAmpUrlsResponse": {
+ "description": "Batch AMP URL response.",
+ "id": "BatchGetAmpUrlsResponse",
+ "properties": {
+ "ampUrls": {
+ "description": "For each URL in BatchAmpUrlsRequest, the URL response. The response might\nnot be in the same order as URLs in the batch request.\nIf BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated\nonly once.",
+ "items": {
+ "$ref": "AmpUrl"
+ },
+ "type": "array"
+ },
+ "urlErrors": {
+ "description": "The errors for requested URLs that have no AMP URL.",
+ "items": {
+ "$ref": "AmpUrlError"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "AmpUrl": {
+ "description": "AMP URL response for a requested URL.",
+ "id": "AmpUrl",
+ "properties": {
+ "cdnAmpUrl": {
+ "description": "The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to\nthe cached document in the Google AMP Cache.",
+ "type": "string"
+ },
+ "originalUrl": {
+ "description": "The original non-AMP URL.",
+ "type": "string"
+ },
+ "ampUrl": {
+ "description": "The AMP URL pointing to the publisher's web server.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"AmpUrlError": {
"description": "AMP URL Error resource for a requested URL that couldn't be found.",
"id": "AmpUrlError",
@@ -165,6 +205,13 @@
"description": "AMP URL request for a batch of URLs.",
"id": "BatchGetAmpUrlsRequest",
"properties": {
+ "urls": {
+ "description": "List of URLs to look up for the paired AMP URLs.\nThe URLs are case-sensitive. Up to 50 URLs per lookup\n(see [Usage Limits](/amp/cache/reference/limits)).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"lookupStrategy": {
"description": "The lookup_strategy being requested.",
"enum": [
@@ -176,53 +223,6 @@
"IN_INDEX_DOC strategy skips fetching live documents of URL(s) not found\nin index. For applications which need low latency use of IN_INDEX_DOC\nstrategy is recommended."
],
"type": "string"
- },
- "urls": {
- "description": "List of URLs to look up for the paired AMP URLs.\nThe URLs are case-sensitive. Up to 50 URLs per lookup\n(see [Usage Limits](/amp/cache/reference/limits)).",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "BatchGetAmpUrlsResponse": {
- "description": "Batch AMP URL response.",
- "id": "BatchGetAmpUrlsResponse",
- "properties": {
- "ampUrls": {
- "description": "For each URL in BatchAmpUrlsRequest, the URL response. The response might\nnot be in the same order as URLs in the batch request.\nIf BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated\nonly once.",
- "items": {
- "$ref": "AmpUrl"
- },
- "type": "array"
- },
- "urlErrors": {
- "description": "The errors for requested URLs that have no AMP URL.",
- "items": {
- "$ref": "AmpUrlError"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "AmpUrl": {
- "description": "AMP URL response for a requested URL.",
- "id": "AmpUrl",
- "properties": {
- "cdnAmpUrl": {
- "description": "The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to\nthe cached document in the Google AMP Cache.",
- "type": "string"
- },
- "originalUrl": {
- "description": "The original non-AMP URL.",
- "type": "string"
- },
- "ampUrl": {
- "description": "The AMP URL pointing to the publisher's web server.",
- "type": "string"
}
},
"type": "object"
diff --git a/discovery/googleapis/admin__directory_v1.json b/discovery/googleapis/admin__directory_v1.json
index c5dadc5..4d19d71 100644
--- a/discovery/googleapis/admin__directory_v1.json
+++ b/discovery/googleapis/admin__directory_v1.json
@@ -93,7 +93,7 @@
"description": "The Admin SDK Directory API lets you view and manage enterprise resources such as users and groups, administrative notifications, security features, and more.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/admin-sdk/directory/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/5JjoP3Vg5udAY4zd2Hcsn9dKASM\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Kf10_CyV-UXMG4pe1PBWM5iJx_0\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -3423,7 +3423,7 @@
}
}
},
- "revision": "20161214",
+ "revision": "20170216",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Alias": {
@@ -5188,6 +5188,9 @@
"phones": {
"type": "any"
},
+ "posixAccounts": {
+ "type": "any"
+ },
"primaryEmail": {
"annotations": {
"required": [
@@ -5200,6 +5203,9 @@
"relations": {
"type": "any"
},
+ "sshPublicKeys": {
+ "type": "any"
+ },
"suspended": {
"description": "Indicates if user is suspended",
"type": "boolean"
@@ -5547,6 +5553,47 @@
},
"type": "object"
},
+ "UserPosixAccount": {
+ "description": "JSON template for a POSIX account entry. Description of the field family: go/fbs-posix.",
+ "id": "UserPosixAccount",
+ "properties": {
+ "gecos": {
+ "description": "The GECOS (user information) entry for this account.",
+ "type": "string"
+ },
+ "gid": {
+ "description": "The default group ID.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "homeDirectory": {
+ "description": "The path to the home directory for this account.",
+ "type": "string"
+ },
+ "primary": {
+ "description": "If this is user's primary account within the SystemId.",
+ "type": "boolean"
+ },
+ "shell": {
+ "description": "The path to the login shell for this account.",
+ "type": "string"
+ },
+ "systemId": {
+ "description": "System identifier for which account Username or Uid apply to.",
+ "type": "string"
+ },
+ "uid": {
+ "description": "The user ID.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "username": {
+ "description": "The username of the account.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"UserRelation": {
"description": "JSON template for a relation entry.",
"id": "UserRelation",
@@ -5566,6 +5613,27 @@
},
"type": "object"
},
+ "UserSshPublicKey": {
+ "description": "JSON template for a POSIX account entry.",
+ "id": "UserSshPublicKey",
+ "properties": {
+ "expirationTimeUsec": {
+ "description": "An expiration time in microseconds since epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "fingerprint": {
+ "description": "A SHA-256 fingerprint of the SSH public key. (Read-only)",
+ "readOnly": true,
+ "type": "string"
+ },
+ "key": {
+ "description": "An SSH public key.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"UserUndelete": {
"description": "JSON request template to undelete a user in Directory API.",
"id": "UserUndelete",
diff --git a/discovery/googleapis/admin__reports_v1.json b/discovery/googleapis/admin__reports_v1.json
index df806f9..dcdc078 100644
--- a/discovery/googleapis/admin__reports_v1.json
+++ b/discovery/googleapis/admin__reports_v1.json
@@ -15,10 +15,10 @@
"baseUrl": "https://www.googleapis.com/admin/reports/v1/",
"batchPath": "batch",
"canonicalName": "reports",
- "description": "Fetches reports for the administrators of Google Apps customers about the usage, collaboration, security, and risk for their users.",
+ "description": "Fetches reports for the administrators of G Suite customers about the usage, collaboration, security, and risk for their users.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/admin-sdk/reports/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/DCxy1_Jea5MRziGoQUK4JAZOHiE\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/3o2kOuChwcSfe-_UrgiVWnEoY64\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -95,7 +95,7 @@
"applicationName": {
"description": "Application name for which the events are to be retrieved.",
"location": "path",
- "pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)",
+ "pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)",
"required": true,
"type": "string"
},
@@ -106,7 +106,7 @@
"type": "string"
},
"endTime": {
- "description": "Return events which occured at or before this time.",
+ "description": "Return events which occurred at or before this time.",
"location": "query",
"pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))",
"type": "string"
@@ -136,7 +136,7 @@
"type": "string"
},
"startTime": {
- "description": "Return events which occured at or after this time.",
+ "description": "Return events which occurred at or after this time.",
"location": "query",
"pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))",
"type": "string"
@@ -174,7 +174,7 @@
"applicationName": {
"description": "Application name for which the events are to be retrieved.",
"location": "path",
- "pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)",
+ "pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)",
"required": true,
"type": "string"
},
@@ -185,7 +185,7 @@
"type": "string"
},
"endTime": {
- "description": "Return events which occured at or before this time.",
+ "description": "Return events which occurred at or before this time.",
"location": "query",
"pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))",
"type": "string"
@@ -215,7 +215,7 @@
"type": "string"
},
"startTime": {
- "description": "Return events which occured at or after this time.",
+ "description": "Return events which occurred at or after this time.",
"location": "query",
"pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))",
"type": "string"
@@ -290,7 +290,7 @@
"parameters": {
"description": "Represents the application name, parameter name pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2.",
"location": "query",
- "pattern": "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)):[^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)):[^,]+)",
+ "pattern": "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)",
"type": "string"
}
},
@@ -331,7 +331,7 @@
"filters": {
"description": "Represents the set of filters including parameter operator value.",
"location": "query",
- "pattern": "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+)",
+ "pattern": "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+)",
"type": "string"
},
"maxResults": {
@@ -349,7 +349,7 @@
"parameters": {
"description": "Represents the application name, parameter name pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2.",
"location": "query",
- "pattern": "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)):[^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)):[^,]+)",
+ "pattern": "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)",
"type": "string"
},
"userKey": {
@@ -370,7 +370,7 @@
}
}
},
- "revision": "20160704",
+ "revision": "20170315",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Activities": {
diff --git a/discovery/googleapis/adsense__v1.4.json b/discovery/googleapis/adsense__v1.4.json
index 83910ed..a8a8c38 100644
--- a/discovery/googleapis/adsense__v1.4.json
+++ b/discovery/googleapis/adsense__v1.4.json
@@ -18,7 +18,7 @@
"description": "Accesses AdSense publishers' inventory and generates performance reports.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/adsense/management/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/xKfIg57TZ5cd36UcFsJacyF_fb0\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/1HQ6iNWww9xHQQnwt7XSB8VVZ88\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/adsense-16.png",
"x32": "https://www.google.com/images/icons/product/adsense-32.png"
@@ -1624,7 +1624,7 @@
}
}
},
- "revision": "20170228",
+ "revision": "20170322",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Account": {
diff --git a/discovery/googleapis/adsensehost__v4.1.json b/discovery/googleapis/adsensehost__v4.1.json
index 8412f74..a2f9e16 100644
--- a/discovery/googleapis/adsensehost__v4.1.json
+++ b/discovery/googleapis/adsensehost__v4.1.json
@@ -15,7 +15,7 @@
"description": "Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/adsense/host/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/G3YguEHi3afKc-sR-Ut19Tmf6Dk\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Yz5yBa_ccTZYdMAoQT-7t5xMKjw\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/adsense-16.png",
"x32": "https://www.google.com/images/icons/product/adsense-32.png"
@@ -1072,7 +1072,7 @@
}
}
},
- "revision": "20170228",
+ "revision": "20170322",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Account": {
diff --git a/discovery/googleapis/analytics__v3.json b/discovery/googleapis/analytics__v3.json
index 1f556f4..f5fd944 100644
--- a/discovery/googleapis/analytics__v3.json
+++ b/discovery/googleapis/analytics__v3.json
@@ -29,7 +29,7 @@
"description": "Views and manages your Google Analytics data.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/analytics/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/CEwIV9fdNgUw9Oy31M8HLJeTPyQ\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/kNCxeHzf8zHSdahaoD4fNF__mRA\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/analytics-16.png",
"x32": "https://www.google.com/images/icons/product/analytics-32.png"
@@ -2471,6 +2471,40 @@
},
"remarketingAudience": {
"methods": {
+ "delete": {
+ "description": "Delete a remarketing audience.",
+ "httpMethod": "DELETE",
+ "id": "analytics.management.remarketingAudience.delete",
+ "parameterOrder": [
+ "accountId",
+ "webPropertyId",
+ "remarketingAudienceId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Account ID to which the remarketing audience belongs.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "remarketingAudienceId": {
+ "description": "The ID of the remarketing audience to delete.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "webPropertyId": {
+ "description": "Web property ID to which the remarketing audience belongs.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}",
+ "scopes": [
+ "https://www.googleapis.com/auth/analytics.edit"
+ ]
+ },
"get": {
"description": "Gets a remarketing audience to which the user has access.",
"httpMethod": "GET",
@@ -3710,7 +3744,7 @@
}
}
},
- "revision": "20161004",
+ "revision": "20170321",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Account": {
diff --git a/discovery/googleapis/analyticsreporting__v4.json b/discovery/googleapis/analyticsreporting__v4.json
index 0d98fd6..253ee2b 100644
--- a/discovery/googleapis/analyticsreporting__v4.json
+++ b/discovery/googleapis/analyticsreporting__v4.json
@@ -2,11 +2,11 @@
"auth": {
"oauth2": {
"scopes": {
- "https://www.googleapis.com/auth/analytics.readonly": {
- "description": "View your Google Analytics data"
- },
"https://www.googleapis.com/auth/analytics": {
"description": "View and manage your Google Analytics data"
+ },
+ "https://www.googleapis.com/auth/analytics.readonly": {
+ "description": "View your Google Analytics data"
}
}
}
@@ -28,45 +28,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "$.xgafv": {
- "description": "V1 error format.",
- "enum": [
- "1",
- "2"
- ],
- "enumDescriptions": [
- "v1 error format",
- "v2 error format"
- ],
- "location": "query",
- "type": "string"
- },
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -113,6 +74,45 @@
"description": "OAuth bearer token.",
"location": "query",
"type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
}
},
"protocol": "rest",
@@ -140,9 +140,373 @@
}
}
},
- "revision": "20170213",
+ "revision": "20170309",
"rootUrl": "https://analyticsreporting.googleapis.com/",
"schemas": {
+ "DateRange": {
+ "description": "A contiguous set of days: startDate, startDate + 1 day, ..., endDate.\nThe start and end dates are specified in\n[ISO8601](https://en.wikipedia.org/wiki/ISO_8601) date format `YYYY-MM-DD`.",
+ "id": "DateRange",
+ "properties": {
+ "endDate": {
+ "description": "The end date for the query in the format `YYYY-MM-DD`.",
+ "type": "string"
+ },
+ "startDate": {
+ "description": "The start date for the query in the format `YYYY-MM-DD`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ReportRequest": {
+ "description": "The main request class which specifies the Reporting API request.",
+ "id": "ReportRequest",
+ "properties": {
+ "pivots": {
+ "description": "The pivot definitions. Requests can have a maximum of 2 pivots.",
+ "items": {
+ "$ref": "Pivot"
+ },
+ "type": "array"
+ },
+ "includeEmptyRows": {
+ "description": "If set to false, the response does not include rows if all the retrieved\nmetrics are equal to zero. The default is false which will exclude these\nrows.",
+ "type": "boolean"
+ },
+ "metricFilterClauses": {
+ "description": "The metric filter clauses. They are logically combined with the `AND`\noperator. Metric filters look at only the first date range and not the\ncomparing date range. Note that filtering on metrics occurs after the\nmetrics are aggregated.",
+ "items": {
+ "$ref": "MetricFilterClause"
+ },
+ "type": "array"
+ },
+ "pageSize": {
+ "description": "Page size is for paging and specifies the maximum number of returned rows.\nPage size should be >= 0. A query returns the default of 1,000 rows.\nThe Analytics Core Reporting API returns a maximum of 10,000 rows per\nrequest, no matter how many you ask for. It can also return fewer rows\nthan requested, if there aren't as many dimension segments as you expect.\nFor instance, there are fewer than 300 possible values for `ga:country`,\nso when segmenting only by country, you can't get more than 300 rows,\neven if you set `pageSize` to a higher value.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "hideTotals": {
+ "description": "If set to true, hides the total of all metrics for all the matching rows,\nfor every date range. The default false and will return the totals.",
+ "type": "boolean"
+ },
+ "hideValueRanges": {
+ "description": "If set to true, hides the minimum and maximum across all matching rows.\nThe default is false and the value ranges are returned.",
+ "type": "boolean"
+ },
+ "cohortGroup": {
+ "$ref": "CohortGroup",
+ "description": "Cohort group associated with this request. If there is a cohort group\nin the request the `ga:cohort` dimension must be present.\nEvery [ReportRequest](#ReportRequest) within a `batchGet` method must\ncontain the same `cohortGroup` definition."
+ },
+ "filtersExpression": {
+ "description": "Dimension or metric filters that restrict the data returned for your\nrequest. To use the `filtersExpression`, supply a dimension or metric on\nwhich to filter, followed by the filter expression. For example, the\nfollowing expression selects `ga:browser` dimension which starts with\nFirefox; `ga:browser=~^Firefox`. For more information on dimensions\nand metric filters, see\n[Filters reference](https://developers.google.com/analytics/devguides/reporting/core/v3/reference#filters).",
+ "type": "string"
+ },
+ "viewId": {
+ "description": "The Analytics\n[view ID](https://support.google.com/analytics/answer/1009618)\nfrom which to retrieve data. Every [ReportRequest](#ReportRequest)\nwithin a `batchGet` method must contain the same `viewId`.",
+ "type": "string"
+ },
+ "metrics": {
+ "description": "The metrics requested.\nRequests must specify at least one metric. Requests can have a\ntotal of 10 metrics.",
+ "items": {
+ "$ref": "Metric"
+ },
+ "type": "array"
+ },
+ "dimensionFilterClauses": {
+ "description": "The dimension filter clauses for filtering Dimension Values. They are\nlogically combined with the `AND` operator. Note that filtering occurs\nbefore any dimensions are aggregated, so that the returned metrics\nrepresent the total for only the relevant dimensions.",
+ "items": {
+ "$ref": "DimensionFilterClause"
+ },
+ "type": "array"
+ },
+ "orderBys": {
+ "description": "Sort order on output rows. To compare two rows, the elements of the\nfollowing are applied in order until a difference is found. All date\nranges in the output get the same row order.",
+ "items": {
+ "$ref": "OrderBy"
+ },
+ "type": "array"
+ },
+ "segments": {
+ "description": "Segment the data returned for the request. A segment definition helps look\nat a subset of the segment request. A request can contain up to four\nsegments. Every [ReportRequest](#ReportRequest) within a\n`batchGet` method must contain the same `segments` definition. Requests\nwith segments must have the `ga:segment` dimension.",
+ "items": {
+ "$ref": "Segment"
+ },
+ "type": "array"
+ },
+ "samplingLevel": {
+ "description": "The desired report\n[sample](https://support.google.com/analytics/answer/2637192) size.\nIf the the `samplingLevel` field is unspecified the `DEFAULT` sampling\nlevel is used. Every [ReportRequest](#ReportRequest) within a\n`batchGet` method must contain the same `samplingLevel` definition. See\n[developer guide](/analytics/devguides/reporting/core/v4/basics#sampling)\n for details.",
+ "enum": [
+ "SAMPLING_UNSPECIFIED",
+ "DEFAULT",
+ "SMALL",
+ "LARGE"
+ ],
+ "enumDescriptions": [
+ "If the `samplingLevel` field is unspecified the `DEFAULT` sampling level\nis used.",
+ "Returns response with a sample size that balances speed and\naccuracy.",
+ "It returns a fast response with a smaller sampling size.",
+ "Returns a more accurate response using a large sampling size. But this\nmay result in response being slower."
+ ],
+ "type": "string"
+ },
+ "dimensions": {
+ "description": "The dimensions requested.\nRequests can have a total of 7 dimensions.",
+ "items": {
+ "$ref": "Dimension"
+ },
+ "type": "array"
+ },
+ "pageToken": {
+ "description": "A continuation token to get the next page of the results. Adding this to\nthe request will return the rows after the pageToken. The pageToken should\nbe the value returned in the nextPageToken parameter in the response to\nthe GetReports request.",
+ "type": "string"
+ },
+ "dateRanges": {
+ "description": "Date ranges in the request. The request can have a maximum of 2 date\nranges. The response will contain a set of metric values for each\ncombination of the dimensions for each date range in the request. So, if\nthere are two date ranges, there will be two set of metric values, one for\nthe original date range and one for the second date range.\nThe `reportRequest.dateRanges` field should not be specified for cohorts\nor Lifetime value requests.\nIf a date range is not provided, the default date range is (startDate:\ncurrent date - 7 days, endDate: current date - 1 day). Every\n[ReportRequest](#ReportRequest) within a `batchGet` method must\ncontain the same `dateRanges` definition.",
+ "items": {
+ "$ref": "DateRange"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "MetricFilter": {
+ "description": "MetricFilter specifies the filter on a metric.",
+ "id": "MetricFilter",
+ "properties": {
+ "metricName": {
+ "description": "The metric that will be filtered on. A metricFilter must contain a metric\nname. A metric name can be an alias earlier defined as a metric or it can\nalso be a metric expression.",
+ "type": "string"
+ },
+ "comparisonValue": {
+ "description": "The value to compare against.",
+ "type": "string"
+ },
+ "operator": {
+ "description": "Is the metric `EQUAL`, `LESS_THAN` or `GREATER_THAN` the\ncomparisonValue, the default is `EQUAL`. If the operator is\n`IS_MISSING`, checks if the metric is missing and would ignore the\ncomparisonValue.",
+ "enum": [
+ "OPERATOR_UNSPECIFIED",
+ "EQUAL",
+ "LESS_THAN",
+ "GREATER_THAN",
+ "IS_MISSING"
+ ],
+ "enumDescriptions": [
+ "If the operator is not specified, it is treated as `EQUAL`.",
+ "Should the value of the metric be exactly equal to the comparison value.",
+ "Should the value of the metric be less than to the comparison value.",
+ "Should the value of the metric be greater than to the comparison value.",
+ "Validates if the metric is missing.\nDoesn't take comparisonValue into account."
+ ],
+ "type": "string"
+ },
+ "not": {
+ "description": "Logical `NOT` operator. If this boolean is set to true, then the matching\nmetric values will be excluded in the report. The default is false.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "Dimension": {
+ "description": "[Dimensions](https://support.google.com/analytics/answer/1033861)\nare attributes of your data. For example, the dimension `ga:city`\nindicates the city, for example, \"Paris\" or \"New York\", from which\na session originates.",
+ "id": "Dimension",
+ "properties": {
+ "name": {
+ "description": "Name of the dimension to fetch, for example `ga:browser`.",
+ "type": "string"
+ },
+ "histogramBuckets": {
+ "description": "If non-empty, we place dimension values into buckets after string to\nint64. Dimension values that are not the string representation of an\nintegral value will be converted to zero. The bucket values have to be in\nincreasing order. Each bucket is closed on the lower end, and open on the\nupper end. The \"first\" bucket includes all values less than the first\nboundary, the \"last\" bucket includes all values up to infinity. Dimension\nvalues that fall in a bucket get transformed to a new dimension value. For\nexample, if one gives a list of \"0, 1, 3, 4, 7\", then we return the\nfollowing buckets:\n\n- bucket #1: values < 0, dimension value \"<0\"\n- bucket #2: values in [0,1), dimension value \"0\"\n- bucket #3: values in [1,3), dimension value \"1-2\"\n- bucket #4: values in [3,4), dimension value \"3\"\n- bucket #5: values in [4,7), dimension value \"4-6\"\n- bucket #6: values >= 7, dimension value \"7+\"\n\nNOTE: If you are applying histogram mutation on any dimension, and using\nthat dimension in sort, you will want to use the sort type\n`HISTOGRAM_BUCKET` for that purpose. Without that the dimension values\nwill be sorted according to dictionary\n(lexicographic) order. For example the ascending dictionary order is:\n\n \"<50\", \"1001+\", \"121-1000\", \"50-120\"\n\nAnd the ascending `HISTOGRAM_BUCKET` order is:\n\n \"<50\", \"50-120\", \"121-1000\", \"1001+\"\n\nThe client has to explicitly request `\"orderType\": \"HISTOGRAM_BUCKET\"`\nfor a histogram-mutated dimension.",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "DynamicSegment": {
+ "description": "Dynamic segment definition for defining the segment within the request.\nA segment can select users, sessions or both.",
+ "id": "DynamicSegment",
+ "properties": {
+ "sessionSegment": {
+ "$ref": "SegmentDefinition",
+ "description": "Session Segment to select sessions to include in the segment."
+ },
+ "name": {
+ "description": "The name of the dynamic segment.",
+ "type": "string"
+ },
+ "userSegment": {
+ "$ref": "SegmentDefinition",
+ "description": "User Segment to select users to include in the segment."
+ }
+ },
+ "type": "object"
+ },
+ "SimpleSegment": {
+ "description": "A Simple segment conditions consist of one or more dimension/metric\nconditions that can be combined.",
+ "id": "SimpleSegment",
+ "properties": {
+ "orFiltersForSegment": {
+ "description": "A list of segment filters groups which are combined with logical `AND`\noperator.",
+ "items": {
+ "$ref": "OrFiltersForSegment"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ColumnHeader": {
+ "description": "Column headers.",
+ "id": "ColumnHeader",
+ "properties": {
+ "dimensions": {
+ "description": "The dimension names in the response.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "metricHeader": {
+ "$ref": "MetricHeader",
+ "description": "Metric headers for the metrics in the response."
+ }
+ },
+ "type": "object"
+ },
+ "SegmentFilterClause": {
+ "description": "Filter Clause to be used in a segment definition, can be wither a metric or\na dimension filter.",
+ "id": "SegmentFilterClause",
+ "properties": {
+ "not": {
+ "description": "Matches the complement (`!`) of the filter.",
+ "type": "boolean"
+ },
+ "dimensionFilter": {
+ "$ref": "SegmentDimensionFilter",
+ "description": "Dimension Filter for the segment definition."
+ },
+ "metricFilter": {
+ "$ref": "SegmentMetricFilter",
+ "description": "Metric Filter for the segment definition."
+ }
+ },
+ "type": "object"
+ },
+ "ReportRow": {
+ "description": "A row in the report.",
+ "id": "ReportRow",
+ "properties": {
+ "metrics": {
+ "description": "List of metrics for each requested DateRange.",
+ "items": {
+ "$ref": "DateRangeValues"
+ },
+ "type": "array"
+ },
+ "dimensions": {
+ "description": "List of requested dimensions.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Cohort": {
+ "description": "Defines a cohort. A cohort is a group of users who share a common\ncharacteristic. For example, all users with the same acquisition date\nbelong to the same cohort.",
+ "id": "Cohort",
+ "properties": {
+ "name": {
+ "description": "A unique name for the cohort. If not defined name will be auto-generated\nwith values cohort_[1234...].",
+ "type": "string"
+ },
+ "dateRange": {
+ "$ref": "DateRange",
+ "description": "This is used for `FIRST_VISIT_DATE` cohort, the cohort selects users\nwhose first visit date is between start date and end date defined in the\nDateRange. The date ranges should be aligned for cohort requests. If the\nrequest contains `ga:cohortNthDay` it should be exactly one day long,\nif `ga:cohortNthWeek` it should be aligned to the week boundary (starting\nat Sunday and ending Saturday), and for `ga:cohortNthMonth` the date range\nshould be aligned to the month (starting at the first and ending on the\nlast day of the month).\nFor LTV requests there are no such restrictions.\nYou do not need to supply a date range for the\n`reportsRequest.dateRanges` field."
+ },
+ "type": {
+ "description": "Type of the cohort. The only supported type as of now is\n`FIRST_VISIT_DATE`. If this field is unspecified the cohort is treated\nas `FIRST_VISIT_DATE` type cohort.",
+ "enum": [
+ "UNSPECIFIED_COHORT_TYPE",
+ "FIRST_VISIT_DATE"
+ ],
+ "enumDescriptions": [
+ "If unspecified it's treated as `FIRST_VISIT_DATE`.",
+ "Cohorts that are selected based on first visit date."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "MetricFilterClause": {
+ "description": "Represents a group of metric filters.\nSet the operator value to specify how the filters are logically combined.",
+ "id": "MetricFilterClause",
+ "properties": {
+ "operator": {
+ "description": "The operator for combining multiple metric filters. If unspecified, it is\ntreated as an `OR`.",
+ "enum": [
+ "OPERATOR_UNSPECIFIED",
+ "OR",
+ "AND"
+ ],
+ "enumDescriptions": [
+ "Unspecified operator. It is treated as an `OR`.",
+ "The logical `OR` operator.",
+ "The logical `AND` operator."
+ ],
+ "type": "string"
+ },
+ "filters": {
+ "description": "The repeated set of filters. They are logically combined based on the\noperator specified.",
+ "items": {
+ "$ref": "MetricFilter"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "OrFiltersForSegment": {
+ "description": "A list of segment filters in the `OR` group are combined with the logical OR\noperator.",
+ "id": "OrFiltersForSegment",
+ "properties": {
+ "segmentFilterClauses": {
+ "description": "List of segment filters to be combined with a `OR` operator.",
+ "items": {
+ "$ref": "SegmentFilterClause"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "MetricHeader": {
+ "description": "The headers for the metrics.",
+ "id": "MetricHeader",
+ "properties": {
+ "metricHeaderEntries": {
+ "description": "Headers for the metrics in the response.",
+ "items": {
+ "$ref": "MetricHeaderEntry"
+ },
+ "type": "array"
+ },
+ "pivotHeaders": {
+ "description": "Headers for the pivots in the response.",
+ "items": {
+ "$ref": "PivotHeader"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"DimensionFilterClause": {
"description": "A group of dimension filters. Set the operator value to specify how\nthe filters are logically combined.",
"id": "DimensionFilterClause",
@@ -262,19 +626,19 @@
"description": "Used to return a list of metrics for a single DateRange / dimension\ncombination",
"id": "DateRangeValues",
"properties": {
- "values": {
- "description": "Each value corresponds to each Metric in the request.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
"pivotValueRegions": {
"description": "The values of each pivot region.",
"items": {
"$ref": "PivotValueRegion"
},
"type": "array"
+ },
+ "values": {
+ "description": "Each value corresponds to each Metric in the request.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -411,6 +775,10 @@
"description": "Header for the metrics.",
"id": "MetricHeaderEntry",
"properties": {
+ "name": {
+ "description": "The name of the header.",
+ "type": "string"
+ },
"type": {
"description": "The type of the metric, for example `INTEGER`.",
"enum": [
@@ -430,10 +798,6 @@
"Time metric in `HH:MM:SS` format."
],
"type": "string"
- },
- "name": {
- "description": "The name of the header.",
- "type": "string"
}
},
"type": "object"
@@ -442,6 +806,13 @@
"description": "The data part of the report.",
"id": "ReportData",
"properties": {
+ "maximums": {
+ "description": "Minimum and maximum values seen over all matching rows. These are both\nempty when `hideValueRanges` in the request is false, or when\nrowCount is zero.",
+ "items": {
+ "$ref": "DateRangeValues"
+ },
+ "type": "array"
+ },
"samplingSpaceSizes": {
"description": "If the results are\n[sampled](https://support.google.com/analytics/answer/2637192),\nthis returns the total number of\nsamples present, one entry per date range. If the results are not sampled\nthis field will not be defined. See\n[developer guide](/analytics/devguides/reporting/core/v4/basics#sampling)\nfor details.",
"items": {
@@ -492,13 +863,6 @@
"description": "The last time the data in the report was refreshed. All the hits received\nbefore this timestamp are included in the calculation of the report.",
"format": "google-datetime",
"type": "string"
- },
- "maximums": {
- "description": "Minimum and maximum values seen over all matching rows. These are both\nempty when `hideValueRanges` in the request is false, or when\nrowCount is zero.",
- "items": {
- "$ref": "DateRangeValues"
- },
- "type": "array"
}
},
"type": "object"
@@ -507,10 +871,6 @@
"description": "Dimension filter specifies the filtering options on a dimension.",
"id": "DimensionFilter",
"properties": {
- "caseSensitive": {
- "description": "Should the match be case sensitive? Default is false.",
- "type": "boolean"
- },
"dimensionName": {
"description": "The dimension to filter on. A DimensionFilter must contain a dimension.",
"type": "string"
@@ -553,21 +913,10 @@
"type": "string"
},
"type": "array"
- }
- },
- "type": "object"
- },
- "Segment": {
- "description": "The segment definition, if the report needs to be segmented.\nA Segment is a subset of the Analytics data. For example, of the entire\nset of users, one Segment might be users from a particular country or city.",
- "id": "Segment",
- "properties": {
- "dynamicSegment": {
- "$ref": "DynamicSegment",
- "description": "A dynamic segment definition in the request."
},
- "segmentId": {
- "description": "The segment ID of a built-in or custom segment, for example `gaid::-3`.",
- "type": "string"
+ "caseSensitive": {
+ "description": "Should the match be case sensitive? Default is false.",
+ "type": "boolean"
}
},
"type": "object"
@@ -576,10 +925,6 @@
"description": "Dimension filter specifies the filtering options on a dimension.",
"id": "SegmentDimensionFilter",
"properties": {
- "minComparisonValue": {
- "description": "Minimum comparison values for `BETWEEN` match type.",
- "type": "string"
- },
"maxComparisonValue": {
"description": "Maximum comparison values for `BETWEEN` match type.",
"type": "string"
@@ -626,6 +971,10 @@
"caseSensitive": {
"description": "Should the match be case sensitive, ignored for `IN_LIST` operator.",
"type": "boolean"
+ },
+ "minComparisonValue": {
+ "description": "Minimum comparison values for `BETWEEN` match type.",
+ "type": "string"
}
},
"type": "object"
@@ -675,10 +1024,32 @@
},
"type": "object"
},
+ "Segment": {
+ "description": "The segment definition, if the report needs to be segmented.\nA Segment is a subset of the Analytics data. For example, of the entire\nset of users, one Segment might be users from a particular country or city.",
+ "id": "Segment",
+ "properties": {
+ "dynamicSegment": {
+ "$ref": "DynamicSegment",
+ "description": "A dynamic segment definition in the request."
+ },
+ "segmentId": {
+ "description": "The segment ID of a built-in or custom segment, for example `gaid::-3`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"SegmentSequenceStep": {
"description": "A segment sequence definition.",
"id": "SegmentSequenceStep",
"properties": {
+ "orFiltersForSegment": {
+ "description": "A sequence is specified with a list of Or grouped filters which are\ncombined with `AND` operator.",
+ "items": {
+ "$ref": "OrFiltersForSegment"
+ },
+ "type": "array"
+ },
"matchType": {
"description": "Specifies if the step immediately precedes or can be any time before the\nnext step.",
"enum": [
@@ -692,13 +1063,6 @@
"Operator indicates that the previous step immediately precedes the next\nstep."
],
"type": "string"
- },
- "orFiltersForSegment": {
- "description": "A sequence is specified with a list of Or grouped filters which are\ncombined with `AND` operator.",
- "items": {
- "$ref": "OrFiltersForSegment"
- },
- "type": "array"
}
},
"type": "object"
@@ -756,6 +1120,10 @@
"description": "The data response corresponding to the request.",
"id": "Report",
"properties": {
+ "columnHeader": {
+ "$ref": "ColumnHeader",
+ "description": "The column headers."
+ },
"data": {
"$ref": "ReportData",
"description": "Response data."
@@ -763,10 +1131,6 @@
"nextPageToken": {
"description": "Page token to retrieve the next page of results in the list.",
"type": "string"
- },
- "columnHeader": {
- "$ref": "ColumnHeader",
- "description": "The column headers."
}
},
"type": "object"
@@ -789,370 +1153,6 @@
}
},
"type": "object"
- },
- "DateRange": {
- "description": "A contiguous set of days: startDate, startDate + 1 day, ..., endDate.\nThe start and end dates are specified in\n[ISO8601](https://en.wikipedia.org/wiki/ISO_8601) date format `YYYY-MM-DD`.",
- "id": "DateRange",
- "properties": {
- "startDate": {
- "description": "The start date for the query in the format `YYYY-MM-DD`.",
- "type": "string"
- },
- "endDate": {
- "description": "The end date for the query in the format `YYYY-MM-DD`.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "MetricFilter": {
- "description": "MetricFilter specifies the filter on a metric.",
- "id": "MetricFilter",
- "properties": {
- "metricName": {
- "description": "The metric that will be filtered on. A metricFilter must contain a metric\nname. A metric name can be an alias earlier defined as a metric or it can\nalso be a metric expression.",
- "type": "string"
- },
- "comparisonValue": {
- "description": "The value to compare against.",
- "type": "string"
- },
- "operator": {
- "description": "Is the metric `EQUAL`, `LESS_THAN` or `GREATER_THAN` the\ncomparisonValue, the default is `EQUAL`. If the operator is\n`IS_MISSING`, checks if the metric is missing and would ignore the\ncomparisonValue.",
- "enum": [
- "OPERATOR_UNSPECIFIED",
- "EQUAL",
- "LESS_THAN",
- "GREATER_THAN",
- "IS_MISSING"
- ],
- "enumDescriptions": [
- "If the operator is not specified, it is treated as `EQUAL`.",
- "Should the value of the metric be exactly equal to the comparison value.",
- "Should the value of the metric be less than to the comparison value.",
- "Should the value of the metric be greater than to the comparison value.",
- "Validates if the metric is missing.\nDoesn't take comparisonValue into account."
- ],
- "type": "string"
- },
- "not": {
- "description": "Logical `NOT` operator. If this boolean is set to true, then the matching\nmetric values will be excluded in the report. The default is false.",
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "ReportRequest": {
- "description": "The main request class which specifies the Reporting API request.",
- "id": "ReportRequest",
- "properties": {
- "pageSize": {
- "description": "Page size is for paging and specifies the maximum number of returned rows.\nPage size should be >= 0. A query returns the default of 1,000 rows.\nThe Analytics Core Reporting API returns a maximum of 10,000 rows per\nrequest, no matter how many you ask for. It can also return fewer rows\nthan requested, if there aren't as many dimension segments as you expect.\nFor instance, there are fewer than 300 possible values for `ga:country`,\nso when segmenting only by country, you can't get more than 300 rows,\neven if you set `pageSize` to a higher value.",
- "format": "int32",
- "type": "integer"
- },
- "hideTotals": {
- "description": "If set to true, hides the total of all metrics for all the matching rows,\nfor every date range. The default false and will return the totals.",
- "type": "boolean"
- },
- "hideValueRanges": {
- "description": "If set to true, hides the minimum and maximum across all matching rows.\nThe default is false and the value ranges are returned.",
- "type": "boolean"
- },
- "filtersExpression": {
- "description": "Dimension or metric filters that restrict the data returned for your\nrequest. To use the `filtersExpression`, supply a dimension or metric on\nwhich to filter, followed by the filter expression. For example, the\nfollowing expression selects `ga:browser` dimension which starts with\nFirefox; `ga:browser=~^Firefox`. For more information on dimensions\nand metric filters, see\n[Filters reference](https://developers.google.com/analytics/devguides/reporting/core/v3/reference#filters).",
- "type": "string"
- },
- "cohortGroup": {
- "$ref": "CohortGroup",
- "description": "Cohort group associated with this request. If there is a cohort group\nin the request the `ga:cohort` dimension must be present.\nEvery [ReportRequest](#ReportRequest) within a `batchGet` method must\ncontain the same `cohortGroup` definition."
- },
- "viewId": {
- "description": "The Analytics\n[view ID](https://support.google.com/analytics/answer/1009618)\nfrom which to retrieve data. Every [ReportRequest](#ReportRequest)\nwithin a `batchGet` method must contain the same `viewId`.",
- "type": "string"
- },
- "metrics": {
- "description": "The metrics requested.\nRequests must specify at least one metric. Requests can have a\ntotal of 10 metrics.",
- "items": {
- "$ref": "Metric"
- },
- "type": "array"
- },
- "dimensionFilterClauses": {
- "description": "The dimension filter clauses for filtering Dimension Values. They are\nlogically combined with the `AND` operator. Note that filtering occurs\nbefore any dimensions are aggregated, so that the returned metrics\nrepresent the total for only the relevant dimensions.",
- "items": {
- "$ref": "DimensionFilterClause"
- },
- "type": "array"
- },
- "orderBys": {
- "description": "Sort order on output rows. To compare two rows, the elements of the\nfollowing are applied in order until a difference is found. All date\nranges in the output get the same row order.",
- "items": {
- "$ref": "OrderBy"
- },
- "type": "array"
- },
- "segments": {
- "description": "Segment the data returned for the request. A segment definition helps look\nat a subset of the segment request. A request can contain up to four\nsegments. Every [ReportRequest](#ReportRequest) within a\n`batchGet` method must contain the same `segments` definition. Requests\nwith segments must have the `ga:segment` dimension.",
- "items": {
- "$ref": "Segment"
- },
- "type": "array"
- },
- "samplingLevel": {
- "description": "The desired report\n[sample](https://support.google.com/analytics/answer/2637192) size.\nIf the the `samplingLevel` field is unspecified the `DEFAULT` sampling\nlevel is used. Every [ReportRequest](#ReportRequest) within a\n`batchGet` method must contain the same `samplingLevel` definition. See\n[developer guide](/analytics/devguides/reporting/core/v4/basics#sampling)\n for details.",
- "enum": [
- "SAMPLING_UNSPECIFIED",
- "DEFAULT",
- "SMALL",
- "LARGE"
- ],
- "enumDescriptions": [
- "If the `samplingLevel` field is unspecified the `DEFAULT` sampling level\nis used.",
- "Returns response with a sample size that balances speed and\naccuracy.",
- "It returns a fast response with a smaller sampling size.",
- "Returns a more accurate response using a large sampling size. But this\nmay result in response being slower."
- ],
- "type": "string"
- },
- "dimensions": {
- "description": "The dimensions requested.\nRequests can have a total of 7 dimensions.",
- "items": {
- "$ref": "Dimension"
- },
- "type": "array"
- },
- "dateRanges": {
- "description": "Date ranges in the request. The request can have a maximum of 2 date\nranges. The response will contain a set of metric values for each\ncombination of the dimensions for each date range in the request. So, if\nthere are two date ranges, there will be two set of metric values, one for\nthe original date range and one for the second date range.\nThe `reportRequest.dateRanges` field should not be specified for cohorts\nor Lifetime value requests.\nIf a date range is not provided, the default date range is (startDate:\ncurrent date - 7 days, endDate: current date - 1 day). Every\n[ReportRequest](#ReportRequest) within a `batchGet` method must\ncontain the same `dateRanges` definition.",
- "items": {
- "$ref": "DateRange"
- },
- "type": "array"
- },
- "pageToken": {
- "description": "A continuation token to get the next page of the results. Adding this to\nthe request will return the rows after the pageToken. The pageToken should\nbe the value returned in the nextPageToken parameter in the response to\nthe GetReports request.",
- "type": "string"
- },
- "pivots": {
- "description": "The pivot definitions. Requests can have a maximum of 2 pivots.",
- "items": {
- "$ref": "Pivot"
- },
- "type": "array"
- },
- "includeEmptyRows": {
- "description": "If set to false, the response does not include rows if all the retrieved\nmetrics are equal to zero. The default is false which will exclude these\nrows.",
- "type": "boolean"
- },
- "metricFilterClauses": {
- "description": "The metric filter clauses. They are logically combined with the `AND`\noperator. Metric filters look at only the first date range and not the\ncomparing date range. Note that filtering on metrics occurs after the\nmetrics are aggregated.",
- "items": {
- "$ref": "MetricFilterClause"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Dimension": {
- "description": "[Dimensions](https://support.google.com/analytics/answer/1033861)\nare attributes of your data. For example, the dimension `ga:city`\nindicates the city, for example, \"Paris\" or \"New York\", from which\na session originates.",
- "id": "Dimension",
- "properties": {
- "histogramBuckets": {
- "description": "If non-empty, we place dimension values into buckets after string to\nint64. Dimension values that are not the string representation of an\nintegral value will be converted to zero. The bucket values have to be in\nincreasing order. Each bucket is closed on the lower end, and open on the\nupper end. The \"first\" bucket includes all values less than the first\nboundary, the \"last\" bucket includes all values up to infinity. Dimension\nvalues that fall in a bucket get transformed to a new dimension value. For\nexample, if one gives a list of \"0, 1, 3, 4, 7\", then we return the\nfollowing buckets:\n\n- bucket #1: values < 0, dimension value \"<0\"\n- bucket #2: values in [0,1), dimension value \"0\"\n- bucket #3: values in [1,3), dimension value \"1-2\"\n- bucket #4: values in [3,4), dimension value \"3\"\n- bucket #5: values in [4,7), dimension value \"4-6\"\n- bucket #6: values >= 7, dimension value \"7+\"\n\nNOTE: If you are applying histogram mutation on any dimension, and using\nthat dimension in sort, you will want to use the sort type\n`HISTOGRAM_BUCKET` for that purpose. Without that the dimension values\nwill be sorted according to dictionary\n(lexicographic) order. For example the ascending dictionary order is:\n\n \"<50\", \"1001+\", \"121-1000\", \"50-120\"\n\nAnd the ascending `HISTOGRAM_BUCKET` order is:\n\n \"<50\", \"50-120\", \"121-1000\", \"1001+\"\n\nThe client has to explicitly request `\"orderType\": \"HISTOGRAM_BUCKET\"`\nfor a histogram-mutated dimension.",
- "items": {
- "format": "int64",
- "type": "string"
- },
- "type": "array"
- },
- "name": {
- "description": "Name of the dimension to fetch, for example `ga:browser`.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DynamicSegment": {
- "description": "Dynamic segment definition for defining the segment within the request.\nA segment can select users, sessions or both.",
- "id": "DynamicSegment",
- "properties": {
- "userSegment": {
- "$ref": "SegmentDefinition",
- "description": "User Segment to select users to include in the segment."
- },
- "sessionSegment": {
- "$ref": "SegmentDefinition",
- "description": "Session Segment to select sessions to include in the segment."
- },
- "name": {
- "description": "The name of the dynamic segment.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SimpleSegment": {
- "description": "A Simple segment conditions consist of one or more dimension/metric\nconditions that can be combined.",
- "id": "SimpleSegment",
- "properties": {
- "orFiltersForSegment": {
- "description": "A list of segment filters groups which are combined with logical `AND`\noperator.",
- "items": {
- "$ref": "OrFiltersForSegment"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "ColumnHeader": {
- "description": "Column headers.",
- "id": "ColumnHeader",
- "properties": {
- "dimensions": {
- "description": "The dimension names in the response.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "metricHeader": {
- "$ref": "MetricHeader",
- "description": "Metric headers for the metrics in the response."
- }
- },
- "type": "object"
- },
- "SegmentFilterClause": {
- "description": "Filter Clause to be used in a segment definition, can be wither a metric or\na dimension filter.",
- "id": "SegmentFilterClause",
- "properties": {
- "metricFilter": {
- "$ref": "SegmentMetricFilter",
- "description": "Metric Filter for the segment definition."
- },
- "not": {
- "description": "Matches the complement (`!`) of the filter.",
- "type": "boolean"
- },
- "dimensionFilter": {
- "$ref": "SegmentDimensionFilter",
- "description": "Dimension Filter for the segment definition."
- }
- },
- "type": "object"
- },
- "ReportRow": {
- "description": "A row in the report.",
- "id": "ReportRow",
- "properties": {
- "metrics": {
- "description": "List of metrics for each requested DateRange.",
- "items": {
- "$ref": "DateRangeValues"
- },
- "type": "array"
- },
- "dimensions": {
- "description": "List of requested dimensions.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Cohort": {
- "description": "Defines a cohort. A cohort is a group of users who share a common\ncharacteristic. For example, all users with the same acquisition date\nbelong to the same cohort.",
- "id": "Cohort",
- "properties": {
- "name": {
- "description": "A unique name for the cohort. If not defined name will be auto-generated\nwith values cohort_[1234...].",
- "type": "string"
- },
- "dateRange": {
- "$ref": "DateRange",
- "description": "This is used for `FIRST_VISIT_DATE` cohort, the cohort selects users\nwhose first visit date is between start date and end date defined in the\nDateRange. The date ranges should be aligned for cohort requests. If the\nrequest contains `ga:cohortNthDay` it should be exactly one day long,\nif `ga:cohortNthWeek` it should be aligned to the week boundary (starting\nat Sunday and ending Saturday), and for `ga:cohortNthMonth` the date range\nshould be aligned to the month (starting at the first and ending on the\nlast day of the month).\nFor LTV requests there are no such restrictions.\nYou do not need to supply a date range for the\n`reportsRequest.dateRanges` field."
- },
- "type": {
- "description": "Type of the cohort. The only supported type as of now is\n`FIRST_VISIT_DATE`. If this field is unspecified the cohort is treated\nas `FIRST_VISIT_DATE` type cohort.",
- "enum": [
- "UNSPECIFIED_COHORT_TYPE",
- "FIRST_VISIT_DATE"
- ],
- "enumDescriptions": [
- "If unspecified it's treated as `FIRST_VISIT_DATE`.",
- "Cohorts that are selected based on first visit date."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "MetricFilterClause": {
- "description": "Represents a group of metric filters.\nSet the operator value to specify how the filters are logically combined.",
- "id": "MetricFilterClause",
- "properties": {
- "operator": {
- "description": "The operator for combining multiple metric filters. If unspecified, it is\ntreated as an `OR`.",
- "enum": [
- "OPERATOR_UNSPECIFIED",
- "OR",
- "AND"
- ],
- "enumDescriptions": [
- "Unspecified operator. It is treated as an `OR`.",
- "The logical `OR` operator.",
- "The logical `AND` operator."
- ],
- "type": "string"
- },
- "filters": {
- "description": "The repeated set of filters. They are logically combined based on the\noperator specified.",
- "items": {
- "$ref": "MetricFilter"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "OrFiltersForSegment": {
- "description": "A list of segment filters in the `OR` group are combined with the logical OR\noperator.",
- "id": "OrFiltersForSegment",
- "properties": {
- "segmentFilterClauses": {
- "description": "List of segment filters to be combined with a `OR` operator.",
- "items": {
- "$ref": "SegmentFilterClause"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "MetricHeader": {
- "description": "The headers for the metrics.",
- "id": "MetricHeader",
- "properties": {
- "metricHeaderEntries": {
- "description": "Headers for the metrics in the response.",
- "items": {
- "$ref": "MetricHeaderEntry"
- },
- "type": "array"
- },
- "pivotHeaders": {
- "description": "Headers for the pivots in the response.",
- "items": {
- "$ref": "PivotHeader"
- },
- "type": "array"
- }
- },
- "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis/androidenterprise__v1.json b/discovery/googleapis/androidenterprise__v1.json
index 0d7d106..aa4b1d2 100644
--- a/discovery/googleapis/androidenterprise__v1.json
+++ b/discovery/googleapis/androidenterprise__v1.json
@@ -15,7 +15,7 @@
"description": "Manages the deployment of apps to Android for Work users.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/android/work/play/emm-api",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/GhRZzPzHWmqlGHjVwgcMslePzRw\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/8faYwvbUN1ZppzZfOus_umKQkJo\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/android-16.png",
"x32": "https://www.google.com/images/icons/product/android-32.png"
@@ -2604,7 +2604,7 @@
}
}
},
- "revision": "20170222",
+ "revision": "20170316",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Administrator": {
diff --git a/discovery/googleapis/appengine__v1.json b/discovery/googleapis/appengine__v1.json
index eb8c0e4..35a78d5 100644
--- a/discovery/googleapis/appengine__v1.json
+++ b/discovery/googleapis/appengine__v1.json
@@ -20,7 +20,7 @@
"description": "Provisions and manages App Engine applications.",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/appengine/docs/admin-api/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/CydBYfZ8LICDy6eugptbrOxuOz0\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/jvAB1N_FX7xzyPOdjzd58bQdWjQ\"",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
@@ -139,7 +139,7 @@
]
},
"create": {
- "description": "Creates an App Engine application for a Google Cloud Platform project. This requires a project that excludes an App Engine application. For details about creating a project without an application, see the Google Cloud Resource Manager create project topic (https://cloud.google.com/resource-manager/docs/creating-project).",
+ "description": "Creates an App Engine application for a Google Cloud Platform project. Required fields: id - The ID of the target Cloud Platform project. location - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/python/console/).",
"httpMethod": "POST",
"id": "appengine.apps.create",
"path": "v1/apps",
@@ -154,7 +154,7 @@
]
},
"patch": {
- "description": "Updates the specified Application resource. You can update the following fields: auth_domain (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps#Application.FIELDS.auth_domain) default_cookie_expiration (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps#Application.FIELDS.default_cookie_expiration)",
+ "description": "Updates the specified Application resource. You can update the following fields: auth_domain - Google authentication domain for controlling user access to the application. default_cookie_expiration - Cookie expiration policy for the application.",
"httpMethod": "PATCH",
"id": "appengine.apps.patch",
"parameterOrder": [
@@ -386,7 +386,7 @@
"type": "string"
},
"migrateTraffic": {
- "description": "Set to true to gradually shift traffic from one version to another single version. By default, traffic is shifted immediately. For gradual traffic migration, the target version must be located within instances that are configured for both warmup requests (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#automaticscaling). You must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#shardby) field in the Service resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).",
+ "description": "Set to true to gradually shift traffic to one or more versions that you specify. By default, traffic is shifted immediately. For gradual traffic migration, the target versions must be located within instances that are configured for both warmup requests (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#automaticscaling). You must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#shardby) field in the Service resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).",
"location": "query",
"type": "boolean"
}
@@ -656,7 +656,7 @@
"instances": {
"methods": {
"list": {
- "description": "Lists the instances of a version.",
+ "description": "Lists the instances of a version.Tip: To aggregate details about instances over time, see the Stackdriver Monitoring API (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).",
"httpMethod": "GET",
"id": "appengine.apps.services.versions.instances.list",
"parameterOrder": [
@@ -928,7 +928,7 @@
}
}
},
- "revision": "20161208",
+ "revision": "20170324",
"rootUrl": "https://appengine.googleapis.com/",
"schemas": {
"ListOperationsResponse": {
@@ -1024,7 +1024,7 @@
"type": "string"
},
"dispatchRules": {
- "description": "HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent.@OutputOnly",
+ "description": "HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. Up to 20 dispatch rules can be supported.@OutputOnly",
"items": {
"$ref": "UrlDispatchRule"
},
@@ -1046,6 +1046,16 @@
"description": "Cookie expiration policy for this application.",
"type": "string"
},
+ "servingStatus": {
+ "description": "Serving status of this application.",
+ "enum": [
+ "UNSPECIFIED",
+ "SERVING",
+ "USER_DISABLED",
+ "SYSTEM_DISABLED"
+ ],
+ "type": "string"
+ },
"defaultHostname": {
"description": "Hostname used to reach this application, as resolved by App Engine.@OutputOnly",
"type": "string"
@@ -1053,6 +1063,13 @@
"defaultBucket": {
"description": "Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly",
"type": "string"
+ },
+ "iap": {
+ "$ref": "IdentityAwareProxy"
+ },
+ "gcrDomain": {
+ "description": "The Google Container Registry domain used for storing managed build docker images for this application.",
+ "type": "string"
}
},
"type": "object"
@@ -1066,7 +1083,7 @@
"type": "string"
},
"path": {
- "description": "Pathname within the host. Must start with a \"/\". A single \"*\" can be included at the end of the path. The sum of the lengths of the domain and path may not exceed 100 characters.",
+ "description": "Pathname within the host. Must start with a \"/\". A single \"*\" can be included at the end of the path.The sum of the lengths of the domain and path may not exceed 100 characters.",
"type": "string"
},
"service": {
@@ -1076,6 +1093,29 @@
},
"type": "object"
},
+ "IdentityAwareProxy": {
+ "description": "Identity-Aware Proxy",
+ "id": "IdentityAwareProxy",
+ "properties": {
+ "enabled": {
+ "description": "Whether the serving infrastructure will authenticate and authorize all incoming requests.If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty.",
+ "type": "boolean"
+ },
+ "oauth2ClientId": {
+ "description": "OAuth2 client ID to use for the authentication flow.",
+ "type": "string"
+ },
+ "oauth2ClientSecret": {
+ "description": "OAuth2 client secret to use for the authentication flow.For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha256 field.@InputOnly",
+ "type": "string"
+ },
+ "oauth2ClientSecretSha256": {
+ "description": "Hex-encoded SHA-256 hash of the client secret.@OutputOnly",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"RepairApplicationRequest": {
"description": "Request message for 'Applications.RepairApplication'.",
"id": "RepairApplicationRequest",
@@ -1127,7 +1167,8 @@
"enum": [
"UNSPECIFIED",
"COOKIE",
- "IP"
+ "IP",
+ "RANDOM"
],
"type": "string"
},
@@ -1310,6 +1351,14 @@
"$ref": "HealthCheck",
"description": "Configures health checking for VM instances. Unhealthy instances are stopped and replaced with new instances. Only applicable for VM runtimes.Only returned in GET requests if view=FULL is set."
},
+ "readinessCheck": {
+ "$ref": "ReadinessCheck",
+ "description": "Configures readiness health checking for VM instances. Unhealthy instances are not put into the backend traffic rotation.Only returned in GET requests if view=FULL is set."
+ },
+ "livenessCheck": {
+ "$ref": "LivenessCheck",
+ "description": "Configures liveness health checking for VM instances. Unhealthy instances are stopped and replaced with new instancesOnly returned in GET requests if view=FULL is set."
+ },
"nobuildFilesRegex": {
"description": "Files that match this pattern will not be built into this version. Only applicable for Go runtimes.Only returned in GET requests if view=FULL is set.",
"type": "string"
@@ -1827,6 +1876,76 @@
},
"type": "object"
},
+ "ReadinessCheck": {
+ "description": "Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.",
+ "id": "ReadinessCheck",
+ "properties": {
+ "path": {
+ "description": "The request path.",
+ "type": "string"
+ },
+ "host": {
+ "description": "Host header to send when performing a HTTP Readiness check. Example: \"myapp.appspot.com\"",
+ "type": "string"
+ },
+ "failureThreshold": {
+ "description": "Number of consecutive failed checks required before removing traffic.",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "successThreshold": {
+ "description": "Number of consecutive successful checks required before receiving traffic.",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "checkInterval": {
+ "description": "Interval between health checks.",
+ "type": "string"
+ },
+ "timeout": {
+ "description": "Time before the check is considered failed.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "LivenessCheck": {
+ "description": "Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.",
+ "id": "LivenessCheck",
+ "properties": {
+ "path": {
+ "description": "The request path.",
+ "type": "string"
+ },
+ "host": {
+ "description": "Host header to send when performing a HTTP Liveness check. Example: \"myapp.appspot.com\"",
+ "type": "string"
+ },
+ "failureThreshold": {
+ "description": "Number of consecutive failed checks required before considering the VM unhealthy.",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "successThreshold": {
+ "description": "Number of consecutive successful checks required before considering the VM healthy.",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "checkInterval": {
+ "description": "Interval between health checks.",
+ "type": "string"
+ },
+ "timeout": {
+ "description": "Time before the check is considered failed.",
+ "type": "string"
+ },
+ "initialDelay": {
+ "description": "The initial delay before starting to execute the checks.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Deployment": {
"description": "Code and application artifacts used to deploy a version to App Engine.",
"id": "Deployment",
@@ -1840,7 +1959,7 @@
},
"container": {
"$ref": "ContainerInfo",
- "description": "A Docker image that App Engine uses to run the version. Only applicable for instances in App Engine flexible environment."
+ "description": "The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment."
},
"zip": {
"$ref": "ZipInfo",
@@ -1869,11 +1988,11 @@
"type": "object"
},
"ContainerInfo": {
- "description": "Docker image that is used to start a VM container for the version you deploy.",
+ "description": "Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment.",
"id": "ContainerInfo",
"properties": {
"image": {
- "description": "URI to the hosted container image in a Docker repository. The URI must be fully qualified and include a tag or digest. Examples: \"gcr.io/my-project/image:tag\" or \"gcr.io/my-project/image@digest\"",
+ "description": "URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: \"gcr.io/my-project/image:tag\" or \"gcr.io/my-project/image@digest\"",
"type": "string"
}
},
@@ -2021,7 +2140,7 @@
"type": "object"
},
"ListLocationsResponse": {
- "description": "The response message for LocationService.ListLocations.",
+ "description": "The response message for Locations.ListLocations.",
"id": "ListLocationsResponse",
"properties": {
"locations": {
@@ -2153,6 +2272,44 @@
},
"type": "object"
},
+ "OperationMetadataV1Beta": {
+ "description": "Metadata for the given google.longrunning.Operation.",
+ "id": "OperationMetadataV1Beta",
+ "properties": {
+ "method": {
+ "description": "API method that initiated this operation. Example: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly",
+ "type": "string"
+ },
+ "insertTime": {
+ "description": "Time that this operation was created.@OutputOnly",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Time that this operation completed.@OutputOnly",
+ "type": "string"
+ },
+ "user": {
+ "description": "User who requested this operation.@OutputOnly",
+ "type": "string"
+ },
+ "target": {
+ "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
+ "type": "string"
+ },
+ "ephemeralMessage": {
+ "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly",
+ "type": "string"
+ },
+ "warning": {
+ "description": "Durable messages that persist on every operation poll. @OutputOnly",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"OperationMetadataV1": {
"description": "Metadata for the given google.longrunning.Operation.",
"id": "OperationMetadataV1",
diff --git a/discovery/googleapis/appstate__v1.json b/discovery/googleapis/appstate__v1.json
index 0bb2142..7a7e9a1 100644
--- a/discovery/googleapis/appstate__v1.json
+++ b/discovery/googleapis/appstate__v1.json
@@ -15,7 +15,7 @@
"description": "The Google App State API.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/games/services/web/api/states",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/tOe7eLQw91e0rgnwKzlpZfcdh-I\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/2rFsRPXRB0rdYqnZOiqjJX-iwz4\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -211,7 +211,7 @@
}
}
},
- "revision": "20170223",
+ "revision": "20170316",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"GetResponse": {
diff --git a/discovery/googleapis/bigquery__v2.json b/discovery/googleapis/bigquery__v2.json
index 42615bd..86ee6a4 100644
--- a/discovery/googleapis/bigquery__v2.json
+++ b/discovery/googleapis/bigquery__v2.json
@@ -32,7 +32,7 @@
"description": "A data platform for customers to create, manage, share and query data.",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/bigquery/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/2pbHVnKgRBtlI769YwDOp1uiQ0w\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Hw3ocLnACFZ8pfeMZhrBTel37_8\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/search-16.gif",
"x32": "https://www.google.com/images/icons/product/search-32.gif"
@@ -673,6 +673,11 @@
"required": true,
"type": "string"
},
+ "selectedFields": {
+ "description": "List of fields to return (comma-separated). If unspecified, all fields are returned",
+ "location": "query",
+ "type": "string"
+ },
"startIndex": {
"description": "Zero-based index of the starting row to read",
"format": "uint64",
@@ -757,6 +762,11 @@
"required": true,
"type": "string"
},
+ "selectedFields": {
+ "description": "List of fields to return (comma-separated). If unspecified, all fields are returned",
+ "location": "query",
+ "type": "string"
+ },
"tableId": {
"description": "Table ID of the requested table",
"location": "path",
@@ -936,7 +946,7 @@
}
}
},
- "revision": "20170224",
+ "revision": "20170319",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"BigtableColumn": {
@@ -1127,7 +1137,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "[Experimental] The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See Labeling Datasets for more information.",
+ "description": "The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See Labeling Datasets for more information.",
"type": "object"
},
"lastModifiedTime": {
@@ -1136,7 +1146,7 @@
"type": "string"
},
"location": {
- "description": "[Experimental] The geographic location where the dataset should reside. Possible values include EU and US. The default value is US.",
+ "description": "The geographic location where the dataset should reside. Possible values include EU and US. The default value is US.",
"type": "string"
},
"selfLink": {
@@ -1174,7 +1184,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "[Experimental] The labels associated with this dataset. You can use these to organize and group your datasets.",
+ "description": "The labels associated with this dataset. You can use these to organize and group your datasets.",
"type": "object"
}
},
@@ -1341,7 +1351,7 @@
"id": "ExternalDataConfiguration",
"properties": {
"autodetect": {
- "description": "[Experimental] Try to detect schema and format options automatically. Any option specified explicitly will be honored.",
+ "description": "Try to detect schema and format options automatically. Any option specified explicitly will be honored.",
"type": "boolean"
},
"bigtableOptions": {
@@ -1374,7 +1384,7 @@
"description": "[Optional] The schema for the data. Schema is required for CSV and JSON formats. Schema is disallowed for Google Cloud Bigtable, Cloud Datastore backups, and Avro formats."
},
"sourceFormat": {
- "description": "[Required] The data format. For CSV files, specify \"CSV\". For Google sheets, specify \"GOOGLE_SHEETS\". For newline-delimited JSON, specify \"NEWLINE_DELIMITED_JSON\". For Avro files, specify \"AVRO\". For Google Cloud Datastore backups, specify \"DATASTORE_BACKUP\". [Experimental] For Google Cloud Bigtable, specify \"BIGTABLE\". Please note that reading from Google Cloud Bigtable is experimental and has to be enabled for your project. Please contact Google Cloud Support to enable this for your project.",
+ "description": "[Required] The data format. For CSV files, specify \"CSV\". For Google sheets, specify \"GOOGLE_SHEETS\". For newline-delimited JSON, specify \"NEWLINE_DELIMITED_JSON\". For Avro files, specify \"AVRO\". For Google Cloud Datastore backups, specify \"DATASTORE_BACKUP\". [Beta] For Google Cloud Bigtable, specify \"BIGTABLE\".",
"type": "string"
},
"sourceUris": {
@@ -1419,7 +1429,7 @@
"type": "string"
},
"numDmlAffectedRows": {
- "description": "[Output-only, Experimental] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
+ "description": "[Output-only] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
"format": "int64",
"type": "string"
},
@@ -1603,7 +1613,7 @@
"type": "boolean"
},
"autodetect": {
- "description": "[Experimental] Indicates if we should automatically infer the options and schema for CSV and JSON sources.",
+ "description": "Indicates if we should automatically infer the options and schema for CSV and JSON sources.",
"type": "boolean"
},
"createDisposition": {
@@ -1636,7 +1646,7 @@
"type": "string"
},
"projectionFields": {
- "description": "[Experimental] If sourceFormat is set to \"DATASTORE_BACKUP\", indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties. If any named property isn't found in the Cloud Datastore backup, an invalid error is returned in the job result.",
+ "description": "If sourceFormat is set to \"DATASTORE_BACKUP\", indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties. If any named property isn't found in the Cloud Datastore backup, an invalid error is returned in the job result.",
"items": {
"type": "string"
},
@@ -1726,7 +1736,7 @@
"type": "string"
},
"parameterMode": {
- "description": "[Experimental] Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query.",
+ "description": "Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query.",
"type": "string"
},
"preserveNulls": {
@@ -1772,7 +1782,7 @@
"type": "boolean"
},
"userDefinedFunctionResources": {
- "description": "[Experimental] Describes user-defined function resources used in the query.",
+ "description": "Describes user-defined function resources used in the query.",
"items": {
"$ref": "UserDefinedFunctionResource"
},
@@ -1954,12 +1964,12 @@
"type": "boolean"
},
"numDmlAffectedRows": {
- "description": "[Output-only, Experimental] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
+ "description": "[Output-only] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
"format": "int64",
"type": "string"
},
"queryPlan": {
- "description": "[Output-only, Experimental] Describes execution plan for the query.",
+ "description": "[Output-only] Describes execution plan for the query.",
"items": {
"$ref": "ExplainQueryStage"
},
@@ -2237,7 +2247,7 @@
"type": "integer"
},
"parameterMode": {
- "description": "[Experimental] Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query.",
+ "description": "Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query.",
"type": "string"
},
"preserveNulls": {
@@ -2254,7 +2264,7 @@
"type": "string"
},
"queryParameters": {
- "description": "[Experimental] Query parameters for Standard SQL queries.",
+ "description": "Query parameters for Standard SQL queries.",
"items": {
"$ref": "QueryParameter"
},
@@ -2306,7 +2316,7 @@
"type": "string"
},
"numDmlAffectedRows": {
- "description": "[Output-only, Experimental] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
+ "description": "[Output-only] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
"format": "int64",
"type": "string"
},
@@ -2771,7 +2781,7 @@
"type": "boolean"
},
"userDefinedFunctionResources": {
- "description": "[Experimental] Describes user-defined function resources used in the query.",
+ "description": "Describes user-defined function resources used in the query.",
"items": {
"$ref": "UserDefinedFunctionResource"
},
diff --git a/discovery/googleapis/calendar__v3.json b/discovery/googleapis/calendar__v3.json
index 74a017c..b9e5819 100644
--- a/discovery/googleapis/calendar__v3.json
+++ b/discovery/googleapis/calendar__v3.json
@@ -17,7 +17,7 @@
"description": "Manipulates events and other calendar data.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/google-apps/calendar/firstapp",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/3TIluKzGnmlgn-X1RwEHoHNPo5w\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/vYgKdX3g1VPmww06h2PorJos8j4\"",
"icons": {
"x16": "http://www.google.com/images/icons/product/calendar-16.png",
"x32": "http://www.google.com/images/icons/product/calendar-32.png"
@@ -1557,7 +1557,7 @@
}
}
},
- "revision": "20170221",
+ "revision": "20170319",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Acl": {
@@ -1936,6 +1936,42 @@
},
"type": "object"
},
+ "DeepLinkData": {
+ "id": "DeepLinkData",
+ "properties": {
+ "links": {
+ "items": {
+ "$ref": "Link"
+ },
+ "type": "array"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DisplayInfo": {
+ "id": "DisplayInfo",
+ "properties": {
+ "appIconUrl": {
+ "type": "string"
+ },
+ "appShortTitle": {
+ "type": "string"
+ },
+ "appTitle": {
+ "type": "string"
+ },
+ "linkShortTitle": {
+ "type": "string"
+ },
+ "linkTitle": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Error": {
"id": "Error",
"properties": {
@@ -2376,6 +2412,20 @@
},
"type": "object"
},
+ "EventHabitInstance": {
+ "id": "EventHabitInstance",
+ "properties": {
+ "data": {
+ "$ref": "HabitInstanceData",
+ "description": "Metadata specific to this instance."
+ },
+ "parentId": {
+ "description": "Id of the habit this instance belongs to.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"EventReminder": {
"id": "EventReminder",
"properties": {
@@ -2592,6 +2642,60 @@
},
"type": "object"
},
+ "HabitInstanceData": {
+ "id": "HabitInstanceData",
+ "properties": {
+ "status": {
+ "type": "string"
+ },
+ "statusInferred": {
+ "type": "boolean"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "LaunchInfo": {
+ "id": "LaunchInfo",
+ "properties": {
+ "appId": {
+ "type": "string"
+ },
+ "installUrl": {
+ "type": "string"
+ },
+ "intentAction": {
+ "type": "string"
+ },
+ "uri": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Link": {
+ "id": "Link",
+ "properties": {
+ "applinkingSource": {
+ "type": "string"
+ },
+ "displayInfo": {
+ "$ref": "DisplayInfo"
+ },
+ "launchInfo": {
+ "$ref": "LaunchInfo"
+ },
+ "platform": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Setting": {
"id": "Setting",
"properties": {
diff --git a/discovery/googleapis/classroom__v1.json b/discovery/googleapis/classroom__v1.json
index 8f6fbe4..ae1a968 100644
--- a/discovery/googleapis/classroom__v1.json
+++ b/discovery/googleapis/classroom__v1.json
@@ -2,44 +2,41 @@
"auth": {
"oauth2": {
"scopes": {
- "https://www.googleapis.com/auth/classroom.course-work.readonly": {
- "description": "View instructions for teacher-assigned work in your Google Classroom classes"
- },
- "https://www.googleapis.com/auth/classroom.courses": {
- "description": "Manage your Google Classroom classes"
- },
- "https://www.googleapis.com/auth/classroom.courses.readonly": {
- "description": "View your Google Classroom classes"
- },
- "https://www.googleapis.com/auth/classroom.coursework.me": {
- "description": "Manage your course work and view your grades in Google Classroom"
- },
- "https://www.googleapis.com/auth/classroom.coursework.me.readonly": {
- "description": "View your course work and grades in Google Classroom"
- },
- "https://www.googleapis.com/auth/classroom.coursework.students": {
- "description": "Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer"
- },
- "https://www.googleapis.com/auth/classroom.coursework.students.readonly": {
- "description": "View course work and grades for students in the Google Classroom classes you teach or administer"
- },
- "https://www.googleapis.com/auth/classroom.profile.emails": {
- "description": "View the email addresses of people in your classes"
- },
- "https://www.googleapis.com/auth/classroom.profile.photos": {
- "description": "View the profile photos of people in your classes"
- },
- "https://www.googleapis.com/auth/classroom.rosters": {
- "description": "Manage your Google Classroom class rosters"
- },
"https://www.googleapis.com/auth/classroom.rosters.readonly": {
"description": "View your Google Classroom class rosters"
},
"https://www.googleapis.com/auth/classroom.student-submissions.me.readonly": {
"description": "View your course work and grades in Google Classroom"
},
+ "https://www.googleapis.com/auth/classroom.coursework.students.readonly": {
+ "description": "View course work and grades for students in the Google Classroom classes you teach or administer"
+ },
"https://www.googleapis.com/auth/classroom.student-submissions.students.readonly": {
"description": "View course work and grades for students in the Google Classroom classes you teach or administer"
+ },
+ "https://www.googleapis.com/auth/classroom.rosters": {
+ "description": "Manage your Google Classroom class rosters"
+ },
+ "https://www.googleapis.com/auth/classroom.coursework.me.readonly": {
+ "description": "View your course work and grades in Google Classroom"
+ },
+ "https://www.googleapis.com/auth/classroom.courses.readonly": {
+ "description": "View your Google Classroom classes"
+ },
+ "https://www.googleapis.com/auth/classroom.courses": {
+ "description": "Manage your Google Classroom classes"
+ },
+ "https://www.googleapis.com/auth/classroom.coursework.me": {
+ "description": "Manage your course work and view your grades in Google Classroom"
+ },
+ "https://www.googleapis.com/auth/classroom.coursework.students": {
+ "description": "Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer"
+ },
+ "https://www.googleapis.com/auth/classroom.profile.photos": {
+ "description": "View the profile photos of people in your classes"
+ },
+ "https://www.googleapis.com/auth/classroom.profile.emails": {
+ "description": "View the email addresses of people in your classes"
}
}
}
@@ -50,7 +47,6 @@
"description": "Manages classes, rosters, and invitations in Google Classroom.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/classroom/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/VPjAdAuQhi94i4H_5Zyjop6mRoc\"",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
@@ -66,39 +62,19 @@
"location": "query",
"type": "string"
},
- "alt": {
- "default": "json",
- "description": "Data format for response.",
- "enumDescriptions": [
- "Responses with Content-Type of application/json",
- "Media download with context-dependent Content-Type",
- "Responses with Content-Type of application/x-protobuf"
- ],
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
"location": "query",
- "type": "string"
- },
- "bearer_token": {
- "description": "OAuth bearer token.",
- "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"
+ "type": "boolean"
},
"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.",
+ "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"
},
@@ -108,19 +84,47 @@
"location": "query",
"type": "boolean"
},
- "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.",
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "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"
+ },
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
@@ -129,37 +133,202 @@
"location": "query",
"type": "string"
},
- "$.xgafv": {
- "description": "V1 error format.",
- "enumDescriptions": [
- "v1 error format",
- "v2 error format"
- ],
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
},
"protocol": "rest",
"resources": {
- "courses": {
+ "invitations": {
"methods": {
"create": {
- "description": "Creates a course. The user specified in `ownerId` is the owner of the created course and added as a teacher. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create courses or for access errors. * `NOT_FOUND` if the primary teacher is not a valid user. * `FAILED_PRECONDITION` if the course owner's account is disabled or for the following request errors: * UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if an alias was specified in the `id` and already exists.",
+ "description": "Creates an invitation. Only one invitation for a user and course may exist\nat a time. Delete and re-create an invitation to make changes.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to create\ninvitations for this course or for access errors.\n* `NOT_FOUND` if the course or the user does not exist.\n* `FAILED_PRECONDITION` if the requested user's account is disabled or if\nthe user already has this role or a role with greater permissions.\n* `ALREADY_EXISTS` if an invitation for the specified user and course\nalready exists.",
"httpMethod": "POST",
- "id": "classroom.courses.create",
- "path": "v1/courses",
+ "id": "classroom.invitations.create",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/invitations",
"request": {
- "$ref": "Course"
+ "$ref": "Invitation"
},
"response": {
- "$ref": "Course"
+ "$ref": "Invitation"
},
"scopes": [
- "https://www.googleapis.com/auth/classroom.courses"
+ "https://www.googleapis.com/auth/classroom.rosters"
]
},
"get": {
- "description": "Returns a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID.",
+ "description": "Returns an invitation.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to view the\nrequested invitation or for access errors.\n* `NOT_FOUND` if no invitation exists with the requested ID.",
+ "httpMethod": "GET",
+ "id": "classroom.invitations.get",
+ "parameterOrder": [
+ "id"
+ ],
+ "parameters": {
+ "id": {
+ "description": "Identifier of the invitation to return.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/invitations/{id}",
+ "response": {
+ "$ref": "Invitation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/classroom.rosters",
+ "https://www.googleapis.com/auth/classroom.rosters.readonly"
+ ]
+ },
+ "list": {
+ "description": "Returns a list of invitations that the requesting user is permitted to\nview, restricted to those that match the list request.\n\n*Note:* At least one of `user_id` or `course_id` must be supplied. Both\nfields can be supplied.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` for access errors.",
+ "httpMethod": "GET",
+ "id": "classroom.invitations.list",
+ "parameterOrder": [],
+ "parameters": {
+ "courseId": {
+ "description": "Restricts returned invitations to those for a course with the specified\nidentifier.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Maximum number of items to return. Zero means no maximum.\n\nThe server may return fewer than the specified number of results.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "userId": {
+ "description": "Restricts returned invitations to those for a specific user. The identifier\ncan be one of the following:\n\n* the numeric identifier for the user\n* the email address of the user\n* the string literal `\"me\"`, indicating the requesting user",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "nextPageToken\nvalue returned from a previous\nlist call, indicating\nthat the subsequent page of results should be returned.\n\nThe list request must be\notherwise identical to the one that resulted in this token.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/invitations",
+ "response": {
+ "$ref": "ListInvitationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/classroom.rosters",
+ "https://www.googleapis.com/auth/classroom.rosters.readonly"
+ ]
+ },
+ "delete": {
+ "description": "Deletes an invitation.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to delete the\nrequested invitation or for access errors.\n* `NOT_FOUND` if no invitation exists with the requested ID.",
+ "httpMethod": "DELETE",
+ "id": "classroom.invitations.delete",
+ "parameterOrder": [
+ "id"
+ ],
+ "parameters": {
+ "id": {
+ "description": "Identifier of the invitation to delete.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/invitations/{id}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/classroom.rosters"
+ ]
+ },
+ "accept": {
+ "description": "Accepts an invitation, removing it and adding the invited user to the\nteachers or students (as appropriate) of the specified course. Only the\ninvited user may accept an invitation.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to accept the\nrequested invitation or for access errors.\n* `FAILED_PRECONDITION` for the following request errors:\n * CourseMemberLimitReached\n * CourseNotModifiable\n * CourseTeacherLimitReached\n * UserGroupsMembershipLimitReached\n* `NOT_FOUND` if no invitation exists with the requested ID.",
+ "httpMethod": "POST",
+ "id": "classroom.invitations.accept",
+ "parameterOrder": [
+ "id"
+ ],
+ "parameters": {
+ "id": {
+ "description": "Identifier of the invitation to accept.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/invitations/{id}:accept",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/classroom.rosters"
+ ]
+ }
+ }
+ },
+ "courses": {
+ "methods": {
+ "list": {
+ "description": "Returns a list of courses that the requesting user is permitted to view,\nrestricted to those that match the request.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` for access errors.\n* `INVALID_ARGUMENT` if the query argument is malformed.\n* `NOT_FOUND` if any users specified in the query arguments do not exist.",
+ "httpMethod": "GET",
+ "id": "classroom.courses.list",
+ "parameterOrder": [],
+ "parameters": {
+ "courseStates": {
+ "description": "Restricts returned courses to those in one of the specified states\nThe default value is ACTIVE, ARCHIVED, PROVISIONED, DECLINED.",
+ "enum": [
+ "COURSE_STATE_UNSPECIFIED",
+ "ACTIVE",
+ "ARCHIVED",
+ "PROVISIONED",
+ "DECLINED",
+ "SUSPENDED"
+ ],
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Maximum number of items to return. Zero or unspecified indicates that the\nserver may assign a maximum.\n\nThe server may return fewer than the specified number of results.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "teacherId": {
+ "description": "Restricts returned courses to those having a teacher with the specified\nidentifier. The identifier can be one of the following:\n\n* the numeric identifier for the user\n* the email address of the user\n* the string literal `\"me\"`, indicating the requesting user",
+ "location": "query",
+ "type": "string"
+ },
+ "studentId": {
+ "description": "Restricts returned courses to those having a student with the specified\nidentifier. The identifier can be one of the following:\n\n* the numeric identifier for the user\n* the email address of the user\n* the string literal `\"me\"`, indicating the requesting user",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "nextPageToken\nvalue returned from a previous\nlist call,\nindicating that the subsequent page of results should be returned.\n\nThe list request must be\notherwise identical to the one that resulted in this token.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/courses",
+ "response": {
+ "$ref": "ListCoursesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/classroom.courses",
+ "https://www.googleapis.com/auth/classroom.courses.readonly"
+ ]
+ },
+ "get": {
+ "description": "Returns a course.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to access the\nrequested course or for access errors.\n* `NOT_FOUND` if no course exists with the requested ID.",
"httpMethod": "GET",
"id": "classroom.courses.get",
"parameterOrder": [
@@ -167,7 +336,7 @@
],
"parameters": {
"id": {
- "description": "Identifier of the course to return. This identifier can be either the Classroom-assigned identifier or an alias.",
+ "description": "Identifier of the course to return.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
"location": "path",
"required": true,
"type": "string"
@@ -182,8 +351,25 @@
"https://www.googleapis.com/auth/classroom.courses.readonly"
]
},
+ "create": {
+ "description": "Creates a course.\n\nThe user specified in `ownerId` is the owner of the created course\nand added as a teacher.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to create\ncourses or for access errors.\n* `NOT_FOUND` if the primary teacher is not a valid user.\n* `FAILED_PRECONDITION` if the course owner's account is disabled or for\nthe following request errors:\n * UserGroupsMembershipLimitReached\n* `ALREADY_EXISTS` if an alias was specified in the `id` and\nalready exists.",
+ "httpMethod": "POST",
+ "id": "classroom.courses.create",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/courses",
+ "request": {
+ "$ref": "Course"
+ },
+ "response": {
+ "$ref": "Course"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/classroom.courses"
+ ]
+ },
"update": {
- "description": "Updates a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID. * `FAILED_PRECONDITION` for the following request errors: * CourseNotModifiable",
+ "description": "Updates a course.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to modify the\nrequested course or for access errors.\n* `NOT_FOUND` if no course exists with the requested ID.\n* `FAILED_PRECONDITION` for the following request errors:\n * CourseNotModifiable",
"httpMethod": "PUT",
"id": "classroom.courses.update",
"parameterOrder": [
@@ -191,7 +377,7 @@
],
"parameters": {
"id": {
- "description": "Identifier of the course to update. This identifier can be either the Classroom-assigned identifier or an alias.",
+ "description": "Identifier of the course to update.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
"location": "path",
"required": true,
"type": "string"
@@ -209,22 +395,23 @@
]
},
"patch": {
- "description": "Updates one or more fields in a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or if no update mask is supplied. * `FAILED_PRECONDITION` for the following request errors: * CourseNotModifiable",
+ "description": "Updates one or more fields in a course.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to modify the\nrequested course or for access errors.\n* `NOT_FOUND` if no course exists with the requested ID.\n* `INVALID_ARGUMENT` if invalid fields are specified in the update mask or\nif no update mask is supplied.\n* `FAILED_PRECONDITION` for the following request errors:\n * CourseNotModifiable",
"httpMethod": "PATCH",
"id": "classroom.courses.patch",
"parameterOrder": [
"id"
],
"parameters": {
- "id": {
- "description": "Identifier of the course to update. This identifier can be either the Classroom-assigned identifier or an alias.",
- "location": "path",
- "required": true,
+ "updateMask": {
+ "description": "Mask that identifies which fields on the course to update.\nThis field is required to do an update. The update will fail if invalid\nfields are specified. The following fields are valid:\n\n* `name`\n* `section`\n* `descriptionHeading`\n* `description`\n* `room`\n* `courseState`\n\nWhen set in a query parameter, this field should be specified as\n\n`updateMask=<field1>,<field2>,...`",
+ "format": "google-fieldmask",
+ "location": "query",
"type": "string"
},
- "updateMask": {
- "description": "Mask that identifies which fields on the course to update. This field is required to do an update. The update will fail if invalid fields are specified. The following fields are valid: * `name` * `section` * `descriptionHeading` * `description` * `room` * `courseState` When set in a query parameter, this field should be specified as `updateMask=,,...`",
- "location": "query",
+ "id": {
+ "description": "Identifier of the course to update.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
+ "location": "path",
+ "required": true,
"type": "string"
}
},
@@ -240,7 +427,7 @@
]
},
"delete": {
- "description": "Deletes a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID.",
+ "description": "Deletes a course.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to delete the\nrequested course or for access errors.\n* `NOT_FOUND` if no course exists with the requested ID.",
"httpMethod": "DELETE",
"id": "classroom.courses.delete",
"parameterOrder": [
@@ -248,7 +435,7 @@
],
"parameters": {
"id": {
- "description": "Identifier of the course to delete. This identifier can be either the Classroom-assigned identifier or an alias.",
+ "description": "Identifier of the course to delete.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
"location": "path",
"required": true,
"type": "string"
@@ -261,157 +448,13 @@
"scopes": [
"https://www.googleapis.com/auth/classroom.courses"
]
- },
- "list": {
- "description": "Returns a list of courses that the requesting user is permitted to view, restricted to those that match the request. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the query argument is malformed. * `NOT_FOUND` if any users specified in the query arguments do not exist.",
- "httpMethod": "GET",
- "id": "classroom.courses.list",
- "parameters": {
- "studentId": {
- "description": "Restricts returned courses to those having a student with the specified identifier. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user",
- "location": "query",
- "type": "string"
- },
- "teacherId": {
- "description": "Restricts returned courses to those having a teacher with the specified identifier. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user",
- "location": "query",
- "type": "string"
- },
- "courseStates": {
- "description": "Restricts returned courses to those in one of the specified states",
- "enum": [
- "COURSE_STATE_UNSPECIFIED",
- "ACTIVE",
- "ARCHIVED",
- "PROVISIONED",
- "DECLINED"
- ],
- "location": "query",
- "repeated": true,
- "type": "string"
- },
- "pageSize": {
- "description": "Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "pageToken": {
- "description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/courses",
- "response": {
- "$ref": "ListCoursesResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/classroom.courses",
- "https://www.googleapis.com/auth/classroom.courses.readonly"
- ]
}
},
"resources": {
- "aliases": {
- "methods": {
- "create": {
- "description": "Creates an alias for a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create the alias or for access errors. * `NOT_FOUND` if the course does not exist. * `ALREADY_EXISTS` if the alias already exists.",
- "httpMethod": "POST",
- "id": "classroom.courses.aliases.create",
- "parameterOrder": [
- "courseId"
- ],
- "parameters": {
- "courseId": {
- "description": "Identifier of the course to alias. This identifier can be either the Classroom-assigned identifier or an alias.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/courses/{courseId}/aliases",
- "request": {
- "$ref": "CourseAlias"
- },
- "response": {
- "$ref": "CourseAlias"
- },
- "scopes": [
- "https://www.googleapis.com/auth/classroom.courses"
- ]
- },
- "delete": {
- "description": "Deletes an alias of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to remove the alias or for access errors. * `NOT_FOUND` if the alias does not exist.",
- "httpMethod": "DELETE",
- "id": "classroom.courses.aliases.delete",
- "parameterOrder": [
- "courseId",
- "alias"
- ],
- "parameters": {
- "courseId": {
- "description": "Identifier of the course whose alias should be deleted. This identifier can be either the Classroom-assigned identifier or an alias.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "alias": {
- "description": "Alias to delete. This may not be the Classroom-assigned identifier.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/courses/{courseId}/aliases/{alias}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/classroom.courses"
- ]
- },
- "list": {
- "description": "Returns a list of aliases for a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the course or for access errors. * `NOT_FOUND` if the course does not exist.",
- "httpMethod": "GET",
- "id": "classroom.courses.aliases.list",
- "parameterOrder": [
- "courseId"
- ],
- "parameters": {
- "courseId": {
- "description": "The identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "pageSize": {
- "description": "Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "pageToken": {
- "description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/courses/{courseId}/aliases",
- "response": {
- "$ref": "ListCourseAliasesResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/classroom.courses",
- "https://www.googleapis.com/auth/classroom.courses.readonly"
- ]
- }
- }
- },
"teachers": {
"methods": {
"create": {
- "description": "Creates a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create teachers in this course or for access errors. * `NOT_FOUND` if the requested course ID does not exist. * `FAILED_PRECONDITION` if the requested user's account is disabled, for the following request errors: * CourseMemberLimitReached * CourseNotModifiable * CourseTeacherLimitReached * UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if the user is already a teacher or student in the course.",
+ "description": "Creates a teacher of a course.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to create\nteachers in this course or for access errors.\n* `NOT_FOUND` if the requested course ID does not exist.\n* `FAILED_PRECONDITION` if the requested user's account is disabled,\nfor the following request errors:\n * CourseMemberLimitReached\n * CourseNotModifiable\n * CourseTeacherLimitReached\n * UserGroupsMembershipLimitReached\n* `ALREADY_EXISTS` if the user is already a teacher or student in the\ncourse.",
"httpMethod": "POST",
"id": "classroom.courses.teachers.create",
"parameterOrder": [
@@ -419,7 +462,7 @@
],
"parameters": {
"courseId": {
- "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
+ "description": "Identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
"location": "path",
"required": true,
"type": "string"
@@ -439,7 +482,7 @@
]
},
"get": {
- "description": "Returns a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view teachers of this course or for access errors. * `NOT_FOUND` if no teacher of this course has the requested ID or if the course does not exist.",
+ "description": "Returns a teacher of a course.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to view\nteachers of this course or for access errors.\n* `NOT_FOUND` if no teacher of this course has the requested ID or if the\ncourse does not exist.",
"httpMethod": "GET",
"id": "classroom.courses.teachers.get",
"parameterOrder": [
@@ -448,13 +491,13 @@
],
"parameters": {
"courseId": {
- "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
+ "description": "Identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
"location": "path",
"required": true,
"type": "string"
},
"userId": {
- "description": "Identifier of the teacher to return. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user",
+ "description": "Identifier of the teacher to return. The identifier can be one of the\nfollowing:\n\n* the numeric identifier for the user\n* the email address of the user\n* the string literal `\"me\"`, indicating the requesting user",
"location": "path",
"required": true,
"type": "string"
@@ -471,38 +514,8 @@
"https://www.googleapis.com/auth/classroom.rosters.readonly"
]
},
- "delete": {
- "description": "Deletes a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete teachers of this course or for access errors. * `NOT_FOUND` if no teacher of this course has the requested ID or if the course does not exist. * `FAILED_PRECONDITION` if the requested ID belongs to the primary teacher of this course.",
- "httpMethod": "DELETE",
- "id": "classroom.courses.teachers.delete",
- "parameterOrder": [
- "courseId",
- "userId"
- ],
- "parameters": {
- "courseId": {
- "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "userId": {
- "description": "Identifier of the teacher to delete. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/courses/{courseId}/teachers/{userId}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/classroom.rosters"
- ]
- },
"list": {
- "description": "Returns a list of teachers of this course that the requester is permitted to view. This method returns the following error codes: * `NOT_FOUND` if the course does not exist. * `PERMISSION_DENIED` for access errors.",
+ "description": "Returns a list of teachers of this course that the requester\nis permitted to view.\n\nThis method returns the following error codes:\n\n* `NOT_FOUND` if the course does not exist.\n* `PERMISSION_DENIED` for access errors.",
"httpMethod": "GET",
"id": "classroom.courses.teachers.list",
"parameterOrder": [
@@ -510,19 +523,19 @@
],
"parameters": {
"courseId": {
- "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
+ "description": "Identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
"location": "path",
"required": true,
"type": "string"
},
"pageSize": {
- "description": "Maximum number of items to return. Zero means no maximum. The server may return fewer than the specified number of results.",
+ "description": "Maximum number of items to return. Zero means no maximum.\n\nThe server may return fewer than the specified number of results.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.",
+ "description": "nextPageToken\nvalue returned from a previous\nlist call, indicating that\nthe subsequent page of results should be returned.\n\nThe list request must be\notherwise identical to the one that resulted in this token.",
"location": "query",
"type": "string"
}
@@ -537,13 +550,138 @@
"https://www.googleapis.com/auth/classroom.rosters",
"https://www.googleapis.com/auth/classroom.rosters.readonly"
]
+ },
+ "delete": {
+ "description": "Deletes a teacher of a course.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to delete\nteachers of this course or for access errors.\n* `NOT_FOUND` if no teacher of this course has the requested ID or if the\ncourse does not exist.\n* `FAILED_PRECONDITION` if the requested ID belongs to the primary teacher\nof this course.",
+ "httpMethod": "DELETE",
+ "id": "classroom.courses.teachers.delete",
+ "parameterOrder": [
+ "courseId",
+ "userId"
+ ],
+ "parameters": {
+ "courseId": {
+ "description": "Identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "userId": {
+ "description": "Identifier of the teacher to delete. The identifier can be one of the\nfollowing:\n\n* the numeric identifier for the user\n* the email address of the user\n* the string literal `\"me\"`, indicating the requesting user",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/courses/{courseId}/teachers/{userId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/classroom.rosters"
+ ]
+ }
+ }
+ },
+ "aliases": {
+ "methods": {
+ "create": {
+ "description": "Creates an alias for a course.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to create the\nalias or for access errors.\n* `NOT_FOUND` if the course does not exist.\n* `ALREADY_EXISTS` if the alias already exists.\n* `FAILED_PRECONDITION` if the alias requested does not make sense for the\n requesting user or course (for example, if a user not in a domain\n attempts to access a domain-scoped alias).",
+ "httpMethod": "POST",
+ "id": "classroom.courses.aliases.create",
+ "parameterOrder": [
+ "courseId"
+ ],
+ "parameters": {
+ "courseId": {
+ "description": "Identifier of the course to alias.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/courses/{courseId}/aliases",
+ "request": {
+ "$ref": "CourseAlias"
+ },
+ "response": {
+ "$ref": "CourseAlias"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/classroom.courses"
+ ]
+ },
+ "list": {
+ "description": "Returns a list of aliases for a course.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to access the\ncourse or for access errors.\n* `NOT_FOUND` if the course does not exist.",
+ "httpMethod": "GET",
+ "id": "classroom.courses.aliases.list",
+ "parameterOrder": [
+ "courseId"
+ ],
+ "parameters": {
+ "courseId": {
+ "description": "The identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Maximum number of items to return. Zero or unspecified indicates that the\nserver may assign a maximum.\n\nThe server may return fewer than the specified number of results.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "nextPageToken\nvalue returned from a previous\nlist call,\nindicating that the subsequent page of results should be returned.\n\nThe list request\nmust be otherwise identical to the one that resulted in this token.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/courses/{courseId}/aliases",
+ "response": {
+ "$ref": "ListCourseAliasesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/classroom.courses",
+ "https://www.googleapis.com/auth/classroom.courses.readonly"
+ ]
+ },
+ "delete": {
+ "description": "Deletes an alias of a course.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to remove the\nalias or for access errors.\n* `NOT_FOUND` if the alias does not exist.\n* `FAILED_PRECONDITION` if the alias requested does not make sense for the\n requesting user or course (for example, if a user not in a domain\n attempts to delete a domain-scoped alias).",
+ "httpMethod": "DELETE",
+ "id": "classroom.courses.aliases.delete",
+ "parameterOrder": [
+ "courseId",
+ "alias"
+ ],
+ "parameters": {
+ "courseId": {
+ "description": "Identifier of the course whose alias should be deleted.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "alias": {
+ "description": "Alias to delete.\nThis may not be the Classroom-assigned identifier.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/courses/{courseId}/aliases/{alias}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/classroom.courses"
+ ]
}
}
},
"students": {
"methods": {
"create": {
- "description": "Adds a user as a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create students in this course or for access errors. * `NOT_FOUND` if the requested course ID does not exist. * `FAILED_PRECONDITION` if the requested user's account is disabled, for the following request errors: * CourseMemberLimitReached * CourseNotModifiable * UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if the user is already a student or teacher in the course.",
+ "description": "Adds a user as a student of a course.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to create\nstudents in this course or for access errors.\n* `NOT_FOUND` if the requested course ID does not exist.\n* `FAILED_PRECONDITION` if the requested user's account is disabled,\nfor the following request errors:\n * CourseMemberLimitReached\n * CourseNotModifiable\n * UserGroupsMembershipLimitReached\n* `ALREADY_EXISTS` if the user is already a student or teacher in the\ncourse.",
"httpMethod": "POST",
"id": "classroom.courses.students.create",
"parameterOrder": [
@@ -551,13 +689,13 @@
],
"parameters": {
"courseId": {
- "description": "Identifier of the course to create the student in. This identifier can be either the Classroom-assigned identifier or an alias.",
+ "description": "Identifier of the course to create the student in.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
"location": "path",
"required": true,
"type": "string"
},
"enrollmentCode": {
- "description": "Enrollment code of the course to create the student in. This code is required if userId corresponds to the requesting user; it may be omitted if the requesting user has administrative permissions to create students for any user.",
+ "description": "Enrollment code of the course to create the student in.\nThis code is required if userId\ncorresponds to the requesting user; it may be omitted if the requesting\nuser has administrative permissions to create students for any user.",
"location": "query",
"type": "string"
}
@@ -576,7 +714,7 @@
]
},
"get": {
- "description": "Returns a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view students of this course or for access errors. * `NOT_FOUND` if no student of this course has the requested ID or if the course does not exist.",
+ "description": "Returns a student of a course.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to view\nstudents of this course or for access errors.\n* `NOT_FOUND` if no student of this course has the requested ID or if the\ncourse does not exist.",
"httpMethod": "GET",
"id": "classroom.courses.students.get",
"parameterOrder": [
@@ -585,13 +723,13 @@
],
"parameters": {
"courseId": {
- "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
+ "description": "Identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
"location": "path",
"required": true,
"type": "string"
},
"userId": {
- "description": "Identifier of the student to return. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user",
+ "description": "Identifier of the student to return. The identifier can be one of the\nfollowing:\n\n* the numeric identifier for the user\n* the email address of the user\n* the string literal `\"me\"`, indicating the requesting user",
"location": "path",
"required": true,
"type": "string"
@@ -608,38 +746,8 @@
"https://www.googleapis.com/auth/classroom.rosters.readonly"
]
},
- "delete": {
- "description": "Deletes a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete students of this course or for access errors. * `NOT_FOUND` if no student of this course has the requested ID or if the course does not exist.",
- "httpMethod": "DELETE",
- "id": "classroom.courses.students.delete",
- "parameterOrder": [
- "courseId",
- "userId"
- ],
- "parameters": {
- "courseId": {
- "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "userId": {
- "description": "Identifier of the student to delete. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/courses/{courseId}/students/{userId}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/classroom.rosters"
- ]
- },
"list": {
- "description": "Returns a list of students of this course that the requester is permitted to view. This method returns the following error codes: * `NOT_FOUND` if the course does not exist. * `PERMISSION_DENIED` for access errors.",
+ "description": "Returns a list of students of this course that the requester\nis permitted to view.\n\nThis method returns the following error codes:\n\n* `NOT_FOUND` if the course does not exist.\n* `PERMISSION_DENIED` for access errors.",
"httpMethod": "GET",
"id": "classroom.courses.students.list",
"parameterOrder": [
@@ -647,19 +755,19 @@
],
"parameters": {
"courseId": {
- "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
+ "description": "Identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
"location": "path",
"required": true,
"type": "string"
},
"pageSize": {
- "description": "Maximum number of items to return. Zero means no maximum. The server may return fewer than the specified number of results.",
+ "description": "Maximum number of items to return. Zero means no maximum.\n\nThe server may return fewer than the specified number of results.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.",
+ "description": "nextPageToken\nvalue returned from a previous\nlist call, indicating that\nthe subsequent page of results should be returned.\n\nThe list request must be\notherwise identical to the one that resulted in this token.",
"location": "query",
"type": "string"
}
@@ -674,13 +782,43 @@
"https://www.googleapis.com/auth/classroom.rosters",
"https://www.googleapis.com/auth/classroom.rosters.readonly"
]
+ },
+ "delete": {
+ "description": "Deletes a student of a course.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to delete\nstudents of this course or for access errors.\n* `NOT_FOUND` if no student of this course has the requested ID or if the\ncourse does not exist.",
+ "httpMethod": "DELETE",
+ "id": "classroom.courses.students.delete",
+ "parameterOrder": [
+ "courseId",
+ "userId"
+ ],
+ "parameters": {
+ "courseId": {
+ "description": "Identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "userId": {
+ "description": "Identifier of the student to delete. The identifier can be one of the\nfollowing:\n\n* the numeric identifier for the user\n* the email address of the user\n* the string literal `\"me\"`, indicating the requesting user",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/courses/{courseId}/students/{userId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/classroom.rosters"
+ ]
}
}
},
"courseWork": {
"methods": {
"create": {
- "description": "Creates course work. The resulting course work (and corresponding student submissions) are associated with the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to make the request. Classroom API requests to modify course work and student submissions must be made with an OAuth client ID from the associated Developer Console project. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, create course work in the requested course, share a Drive attachment, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist. * `FAILED_PRECONDITION` for the following request error: * AttachmentNotVisible",
+ "description": "Creates course work.\n\nThe resulting course work (and corresponding student submissions) are\nassociated with the Developer Console project of the\n[OAuth client ID](https://support.google.com/cloud/answer/6158849) used to\nmake the request. Classroom API requests to modify course work and student\nsubmissions must be made with an OAuth client ID from the associated\nDeveloper Console project.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to access the\nrequested course, create course work in the requested course, share a\nDrive attachment, or for access errors.\n* `INVALID_ARGUMENT` if the request is malformed.\n* `NOT_FOUND` if the requested course does not exist.\n* `FAILED_PRECONDITION` for the following request error:\n * AttachmentNotVisible",
"httpMethod": "POST",
"id": "classroom.courses.courseWork.create",
"parameterOrder": [
@@ -688,7 +826,7 @@
],
"parameters": {
"courseId": {
- "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
+ "description": "Identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
"location": "path",
"required": true,
"type": "string"
@@ -705,17 +843,17 @@
"https://www.googleapis.com/auth/classroom.coursework.students"
]
},
- "patch": {
- "description": "Updates one or more fields of a course work. See google.classroom.v1.CourseWork for details of which fields may be updated and who may change them. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding course work, if the user is not permitted to make the requested modification to the student submission, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if the requested course work has already been deleted. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.",
- "httpMethod": "PATCH",
- "id": "classroom.courses.courseWork.patch",
+ "get": {
+ "description": "Returns course work.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to access the\nrequested course or course work, or for access errors.\n* `INVALID_ARGUMENT` if the request is malformed.\n* `NOT_FOUND` if the requested course or course work does not exist.",
+ "httpMethod": "GET",
+ "id": "classroom.courses.courseWork.get",
"parameterOrder": [
"courseId",
"id"
],
"parameters": {
"courseId": {
- "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
+ "description": "Identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
"location": "path",
"required": true,
"type": "string"
@@ -725,11 +863,99 @@
"location": "path",
"required": true,
"type": "string"
+ }
+ },
+ "path": "v1/courses/{courseId}/courseWork/{id}",
+ "response": {
+ "$ref": "CourseWork"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/classroom.coursework.me",
+ "https://www.googleapis.com/auth/classroom.coursework.me.readonly",
+ "https://www.googleapis.com/auth/classroom.coursework.students",
+ "https://www.googleapis.com/auth/classroom.coursework.students.readonly"
+ ]
+ },
+ "list": {
+ "description": "Returns a list of course work that the requester is permitted to view.\n\nCourse students may only view `PUBLISHED` course work. Course teachers\nand domain administrators may view all course work.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to access\nthe requested course or for access errors.\n* `INVALID_ARGUMENT` if the request is malformed.\n* `NOT_FOUND` if the requested course does not exist.",
+ "httpMethod": "GET",
+ "id": "classroom.courses.courseWork.list",
+ "parameterOrder": [
+ "courseId"
+ ],
+ "parameters": {
+ "courseId": {
+ "description": "Identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "courseWorkStates": {
+ "description": "Restriction on the work status to return. Only courseWork that matches\nis returned. If unspecified, items with a work status of `PUBLISHED`\nis returned.",
+ "enum": [
+ "COURSE_WORK_STATE_UNSPECIFIED",
+ "PUBLISHED",
+ "DRAFT",
+ "DELETED"
+ ],
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Maximum number of items to return. Zero or unspecified indicates that the\nserver may assign a maximum.\n\nThe server may return fewer than the specified number of results.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "orderBy": {
+ "description": "Optional sort ordering for results. A comma-separated list of fields with\nan optional sort direction keyword. Supported fields are `updateTime`\nand `dueDate`. Supported direction keywords are `asc` and `desc`.\nIf not specified, `updateTime desc` is the default behavior.\nExamples: `dueDate asc,updateTime desc`, `updateTime,dueDate desc`",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "nextPageToken\nvalue returned from a previous\nlist call,\nindicating that the subsequent page of results should be returned.\n\nThe list request\nmust be otherwise identical to the one that resulted in this token.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/courses/{courseId}/courseWork",
+ "response": {
+ "$ref": "ListCourseWorkResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/classroom.coursework.me",
+ "https://www.googleapis.com/auth/classroom.coursework.me.readonly",
+ "https://www.googleapis.com/auth/classroom.coursework.students",
+ "https://www.googleapis.com/auth/classroom.coursework.students.readonly"
+ ]
+ },
+ "patch": {
+ "description": "Updates one or more fields of a course work.\n\nSee google.classroom.v1.CourseWork for details\nof which fields may be updated and who may change them.\n\nThis request must be made by the Developer Console project of the\n[OAuth client ID](https://support.google.com/cloud/answer/6158849) used to\ncreate the corresponding course work item.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting developer project did not create\nthe corresponding course work, if the user is not permitted to make the\nrequested modification to the student submission, or for\naccess errors.\n* `INVALID_ARGUMENT` if the request is malformed.\n* `FAILED_PRECONDITION` if the requested course work has already been\ndeleted.\n* `NOT_FOUND` if the requested course, course work, or student submission\ndoes not exist.",
+ "httpMethod": "PATCH",
+ "id": "classroom.courses.courseWork.patch",
+ "parameterOrder": [
+ "courseId",
+ "id"
+ ],
+ "parameters": {
+ "courseId": {
+ "description": "Identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
+ "location": "path",
+ "required": true,
+ "type": "string"
},
"updateMask": {
- "description": "Mask that identifies which fields on the course work to update. This field is required to do an update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the CourseWork object. If a field that does not support empty values is included in the update mask and not set in the CourseWork object, an `INVALID_ARGUMENT` error will be returned. The following fields may be specified by teachers: * `title` * `description` * `state` * `due_date` * `due_time` * `max_points` * `submission_modification_mode`",
+ "description": "Mask that identifies which fields on the course work to update.\nThis field is required to do an update. The update fails if invalid\nfields are specified. If a field supports empty values, it can be cleared\nby specifying it in the update mask and not in the CourseWork object. If a\nfield that does not support empty values is included in the update mask and\nnot set in the CourseWork object, an `INVALID_ARGUMENT` error will be\nreturned.\n\nThe following fields may be specified by teachers:\n* `title`\n* `description`\n* `state`\n* `due_date`\n* `due_time`\n* `max_points`\n* `submission_modification_mode`",
+ "format": "google-fieldmask",
"location": "query",
"type": "string"
+ },
+ "id": {
+ "description": "Identifier of the course work.",
+ "location": "path",
+ "required": true,
+ "type": "string"
}
},
"path": "v1/courses/{courseId}/courseWork/{id}",
@@ -744,7 +970,7 @@
]
},
"delete": {
- "description": "Deletes a course work. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding course work, if the requesting user is not permitted to delete the requested course or for access errors. * `FAILED_PRECONDITION` if the requested course work has already been deleted. * `NOT_FOUND` if no course exists with the requested ID.",
+ "description": "Deletes a course work.\n\nThis request must be made by the Developer Console project of the\n[OAuth client ID](https://support.google.com/cloud/answer/6158849) used to\ncreate the corresponding course work item.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting developer project did not create\nthe corresponding course work, if the requesting user is not permitted\nto delete the requested course or for access errors.\n* `FAILED_PRECONDITION` if the requested course work has already been\ndeleted.\n* `NOT_FOUND` if no course exists with the requested ID.",
"httpMethod": "DELETE",
"id": "classroom.courses.courseWork.delete",
"parameterOrder": [
@@ -753,13 +979,13 @@
],
"parameters": {
"courseId": {
- "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
+ "description": "Identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
"location": "path",
"required": true,
"type": "string"
},
"id": {
- "description": "Identifier of the course work to delete. This identifier is a Classroom-assigned identifier.",
+ "description": "Identifier of the course work to delete.\nThis identifier is a Classroom-assigned identifier.",
"location": "path",
"required": true,
"type": "string"
@@ -772,385 +998,13 @@
"scopes": [
"https://www.googleapis.com/auth/classroom.coursework.students"
]
- },
- "get": {
- "description": "Returns course work. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or course work does not exist.",
- "httpMethod": "GET",
- "id": "classroom.courses.courseWork.get",
- "parameterOrder": [
- "courseId",
- "id"
- ],
- "parameters": {
- "courseId": {
- "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "id": {
- "description": "Identifier of the course work.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/courses/{courseId}/courseWork/{id}",
- "response": {
- "$ref": "CourseWork"
- },
- "scopes": [
- "https://www.googleapis.com/auth/classroom.course-work.readonly",
- "https://www.googleapis.com/auth/classroom.coursework.me",
- "https://www.googleapis.com/auth/classroom.coursework.me.readonly",
- "https://www.googleapis.com/auth/classroom.coursework.students",
- "https://www.googleapis.com/auth/classroom.coursework.students.readonly"
- ]
- },
- "list": {
- "description": "Returns a list of course work that the requester is permitted to view. Course students may only view `PUBLISHED` course work. Course teachers and domain administrators may view all course work. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.",
- "httpMethod": "GET",
- "id": "classroom.courses.courseWork.list",
- "parameterOrder": [
- "courseId"
- ],
- "parameters": {
- "courseId": {
- "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "courseWorkStates": {
- "description": "Restriction on the work status to return. Only courseWork that matches is returned. If unspecified, items with a work status of `PUBLISHED` is returned.",
- "enum": [
- "COURSE_WORK_STATE_UNSPECIFIED",
- "PUBLISHED",
- "DRAFT",
- "DELETED"
- ],
- "location": "query",
- "repeated": true,
- "type": "string"
- },
- "orderBy": {
- "description": "Optional sort ordering for results. A comma-separated list of fields with an optional sort direction keyword. Supported fields are `updateTime` and `dueDate`. Supported direction keywords are `asc` and `desc`. If not specified, `updateTime desc` is the default behavior. Examples: `dueDate asc,updateTime desc`, `updateTime,dueDate desc`",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "pageToken": {
- "description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/courses/{courseId}/courseWork",
- "response": {
- "$ref": "ListCourseWorkResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/classroom.course-work.readonly",
- "https://www.googleapis.com/auth/classroom.coursework.me",
- "https://www.googleapis.com/auth/classroom.coursework.me.readonly",
- "https://www.googleapis.com/auth/classroom.coursework.students",
- "https://www.googleapis.com/auth/classroom.coursework.students.readonly"
- ]
}
},
"resources": {
"studentSubmissions": {
"methods": {
- "get": {
- "description": "Returns a student submission. * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, course work, or student submission or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.",
- "httpMethod": "GET",
- "id": "classroom.courses.courseWork.studentSubmissions.get",
- "parameterOrder": [
- "courseId",
- "courseWorkId",
- "id"
- ],
- "parameters": {
- "courseId": {
- "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "courseWorkId": {
- "description": "Identifier of the course work.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "id": {
- "description": "Identifier of the student submission.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}",
- "response": {
- "$ref": "StudentSubmission"
- },
- "scopes": [
- "https://www.googleapis.com/auth/classroom.coursework.me",
- "https://www.googleapis.com/auth/classroom.coursework.me.readonly",
- "https://www.googleapis.com/auth/classroom.coursework.students",
- "https://www.googleapis.com/auth/classroom.coursework.students.readonly",
- "https://www.googleapis.com/auth/classroom.student-submissions.me.readonly",
- "https://www.googleapis.com/auth/classroom.student-submissions.students.readonly"
- ]
- },
- "patch": {
- "description": "Updates one or more fields of a student submission. See google.classroom.v1.StudentSubmission for details of which fields may be updated and who may change them. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding course work, if the user is not permitted to make the requested modification to the student submission, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.",
- "httpMethod": "PATCH",
- "id": "classroom.courses.courseWork.studentSubmissions.patch",
- "parameterOrder": [
- "courseId",
- "courseWorkId",
- "id"
- ],
- "parameters": {
- "courseId": {
- "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "courseWorkId": {
- "description": "Identifier of the course work.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "id": {
- "description": "Identifier of the student submission.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "updateMask": {
- "description": "Mask that identifies which fields on the student submission to update. This field is required to do an update. The update fails if invalid fields are specified. The following fields may be specified by teachers: * `draft_grade` * `assigned_grade`",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}",
- "request": {
- "$ref": "StudentSubmission"
- },
- "response": {
- "$ref": "StudentSubmission"
- },
- "scopes": [
- "https://www.googleapis.com/auth/classroom.coursework.me",
- "https://www.googleapis.com/auth/classroom.coursework.students"
- ]
- },
- "list": {
- "description": "Returns a list of student submissions that the requester is permitted to view, factoring in the OAuth scopes of the request. `-` may be specified as the `course_work_id` to include student submissions for multiple course work items. Course students may only view their own work. Course teachers and domain administrators may view all student submissions. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.",
- "httpMethod": "GET",
- "id": "classroom.courses.courseWork.studentSubmissions.list",
- "parameterOrder": [
- "courseId",
- "courseWorkId"
- ],
- "parameters": {
- "courseId": {
- "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "courseWorkId": {
- "description": "Identifer of the student work to request. This may be set to the string literal `\"-\"` to request student work for all course work in the specified course.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "userId": {
- "description": "Optional argument to restrict returned student work to those owned by the student with the specified identifier. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user",
- "location": "query",
- "type": "string"
- },
- "states": {
- "description": "Requested submission states. If specified, returned student submissions match one of the specified submission states.",
- "enum": [
- "SUBMISSION_STATE_UNSPECIFIED",
- "NEW",
- "CREATED",
- "TURNED_IN",
- "RETURNED",
- "RECLAIMED_BY_STUDENT"
- ],
- "location": "query",
- "repeated": true,
- "type": "string"
- },
- "late": {
- "description": "Requested lateness value. If specified, returned student submissions are restricted by the requested value. If unspecified, submissions are returned regardless of `late` value.",
- "enum": [
- "LATE_VALUES_UNSPECIFIED",
- "LATE_ONLY",
- "NOT_LATE_ONLY"
- ],
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "pageToken": {
- "description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions",
- "response": {
- "$ref": "ListStudentSubmissionsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/classroom.coursework.me",
- "https://www.googleapis.com/auth/classroom.coursework.me.readonly",
- "https://www.googleapis.com/auth/classroom.coursework.students",
- "https://www.googleapis.com/auth/classroom.coursework.students.readonly",
- "https://www.googleapis.com/auth/classroom.student-submissions.me.readonly",
- "https://www.googleapis.com/auth/classroom.student-submissions.students.readonly"
- ]
- },
- "turnIn": {
- "description": "Turns in a student submission. Turning in a student submission transfers ownership of attached Drive files to the teacher and may also update the submission state. This may only be called by the student that owns the specified student submission. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work, turn in the requested student submission, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.",
- "httpMethod": "POST",
- "id": "classroom.courses.courseWork.studentSubmissions.turnIn",
- "parameterOrder": [
- "courseId",
- "courseWorkId",
- "id"
- ],
- "parameters": {
- "courseId": {
- "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "courseWorkId": {
- "description": "Identifier of the course work.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "id": {
- "description": "Identifier of the student submission.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn",
- "request": {
- "$ref": "TurnInStudentSubmissionRequest"
- },
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/classroom.coursework.me"
- ]
- },
- "reclaim": {
- "description": "Reclaims a student submission on behalf of the student that owns it. Reclaiming a student submission transfers ownership of attached Drive files to the student and update the submission state. Only the student that owns the requested student submission may call this method, and only for a student submission that has been turned in. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work, unsubmit the requested student submission, or for access errors. * `FAILED_PRECONDITION` if the student submission has not been turned in. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.",
- "httpMethod": "POST",
- "id": "classroom.courses.courseWork.studentSubmissions.reclaim",
- "parameterOrder": [
- "courseId",
- "courseWorkId",
- "id"
- ],
- "parameters": {
- "courseId": {
- "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "courseWorkId": {
- "description": "Identifier of the course work.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "id": {
- "description": "Identifier of the student submission.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim",
- "request": {
- "$ref": "ReclaimStudentSubmissionRequest"
- },
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/classroom.coursework.me"
- ]
- },
- "return": {
- "description": "Returns a student submission. Returning a student submission transfers ownership of attached Drive files to the student and may also update the submission state. Unlike the Classroom application, returning a student submission does not set assignedGrade to the draftGrade value. Only a teacher of the course that contains the requested student submission may call this method. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work, return the requested student submission, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.",
- "httpMethod": "POST",
- "id": "classroom.courses.courseWork.studentSubmissions.return",
- "parameterOrder": [
- "courseId",
- "courseWorkId",
- "id"
- ],
- "parameters": {
- "courseId": {
- "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "courseWorkId": {
- "description": "Identifier of the course work.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "id": {
- "description": "Identifier of the student submission.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return",
- "request": {
- "$ref": "ReturnStudentSubmissionRequest"
- },
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/classroom.coursework.students"
- ]
- },
"modifyAttachments": {
- "description": "Modifies attachments of student submission. Attachments may only be added to student submissions belonging to course work objects with a `workType` of `ASSIGNMENT`. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work, if the user is not permitted to modify attachments on the requested student submission, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.",
+ "description": "Modifies attachments of student submission.\n\nAttachments may only be added to student submissions belonging to course\nwork objects with a `workType` of `ASSIGNMENT`.\n\nThis request must be made by the Developer Console project of the\n[OAuth client ID](https://support.google.com/cloud/answer/6158849) used to\ncreate the corresponding course work item.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to access the\nrequested course or course work, if the user is not permitted to modify\nattachments on the requested student submission, or for\naccess errors.\n* `INVALID_ARGUMENT` if the request is malformed.\n* `NOT_FOUND` if the requested course, course work, or student submission\ndoes not exist.",
"httpMethod": "POST",
"id": "classroom.courses.courseWork.studentSubmissions.modifyAttachments",
"parameterOrder": [
@@ -1160,7 +1014,7 @@
],
"parameters": {
"courseId": {
- "description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.",
+ "description": "Identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
"location": "path",
"required": true,
"type": "string"
@@ -1189,6 +1043,290 @@
"https://www.googleapis.com/auth/classroom.coursework.me",
"https://www.googleapis.com/auth/classroom.coursework.students"
]
+ },
+ "reclaim": {
+ "description": "Reclaims a student submission on behalf of the student that owns it.\n\nReclaiming a student submission transfers ownership of attached Drive\nfiles to the student and update the submission state.\n\nOnly the student that owns the requested student submission may call this\nmethod, and only for a student submission that has been turned in.\n\nThis request must be made by the Developer Console project of the\n[OAuth client ID](https://support.google.com/cloud/answer/6158849) used to\ncreate the corresponding course work item.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to access the\nrequested course or course work, unsubmit the requested student submission,\nor for access errors.\n* `FAILED_PRECONDITION` if the student submission has not been turned in.\n* `INVALID_ARGUMENT` if the request is malformed.\n* `NOT_FOUND` if the requested course, course work, or student submission\ndoes not exist.",
+ "httpMethod": "POST",
+ "id": "classroom.courses.courseWork.studentSubmissions.reclaim",
+ "parameterOrder": [
+ "courseId",
+ "courseWorkId",
+ "id"
+ ],
+ "parameters": {
+ "courseId": {
+ "description": "Identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "courseWorkId": {
+ "description": "Identifier of the course work.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "id": {
+ "description": "Identifier of the student submission.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim",
+ "request": {
+ "$ref": "ReclaimStudentSubmissionRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/classroom.coursework.me"
+ ]
+ },
+ "turnIn": {
+ "description": "Turns in a student submission.\n\nTurning in a student submission transfers ownership of attached Drive\nfiles to the teacher and may also update the submission state.\n\nThis may only be called by the student that owns the specified student\nsubmission.\n\nThis request must be made by the Developer Console project of the\n[OAuth client ID](https://support.google.com/cloud/answer/6158849) used to\ncreate the corresponding course work item.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to access the\nrequested course or course work, turn in the requested student submission,\nor for access errors.\n* `INVALID_ARGUMENT` if the request is malformed.\n* `NOT_FOUND` if the requested course, course work, or student submission\ndoes not exist.",
+ "httpMethod": "POST",
+ "id": "classroom.courses.courseWork.studentSubmissions.turnIn",
+ "parameterOrder": [
+ "courseId",
+ "courseWorkId",
+ "id"
+ ],
+ "parameters": {
+ "courseId": {
+ "description": "Identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "courseWorkId": {
+ "description": "Identifier of the course work.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "id": {
+ "description": "Identifier of the student submission.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn",
+ "request": {
+ "$ref": "TurnInStudentSubmissionRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/classroom.coursework.me"
+ ]
+ },
+ "list": {
+ "description": "Returns a list of student submissions that the requester is permitted to\nview, factoring in the OAuth scopes of the request.\n`-` may be specified as the `course_work_id` to include student\nsubmissions for multiple course work items.\n\nCourse students may only view their own work. Course teachers\nand domain administrators may view all student submissions.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to access the\nrequested course or course work, or for access errors.\n* `INVALID_ARGUMENT` if the request is malformed.\n* `NOT_FOUND` if the requested course does not exist.",
+ "httpMethod": "GET",
+ "id": "classroom.courses.courseWork.studentSubmissions.list",
+ "parameterOrder": [
+ "courseId",
+ "courseWorkId"
+ ],
+ "parameters": {
+ "states": {
+ "description": "Requested submission states. If specified, returned student submissions\nmatch one of the specified submission states.",
+ "enum": [
+ "SUBMISSION_STATE_UNSPECIFIED",
+ "NEW",
+ "CREATED",
+ "TURNED_IN",
+ "RETURNED",
+ "RECLAIMED_BY_STUDENT"
+ ],
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "userId": {
+ "description": "Optional argument to restrict returned student work to those owned by the\nstudent with the specified identifier. The identifier can be one of the\nfollowing:\n\n* the numeric identifier for the user\n* the email address of the user\n* the string literal `\"me\"`, indicating the requesting user",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Maximum number of items to return. Zero or unspecified indicates that the\nserver may assign a maximum.\n\nThe server may return fewer than the specified number of results.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "courseId": {
+ "description": "Identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "late": {
+ "description": "Requested lateness value. If specified, returned student submissions are\nrestricted by the requested value.\nIf unspecified, submissions are returned regardless of `late` value.",
+ "enum": [
+ "LATE_VALUES_UNSPECIFIED",
+ "LATE_ONLY",
+ "NOT_LATE_ONLY"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "courseWorkId": {
+ "description": "Identifer of the student work to request.\nThis may be set to the string literal `\"-\"` to request student work for\nall course work in the specified course.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "nextPageToken\nvalue returned from a previous\nlist call,\nindicating that the subsequent page of results should be returned.\n\nThe list request\nmust be otherwise identical to the one that resulted in this token.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions",
+ "response": {
+ "$ref": "ListStudentSubmissionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/classroom.coursework.me",
+ "https://www.googleapis.com/auth/classroom.coursework.me.readonly",
+ "https://www.googleapis.com/auth/classroom.coursework.students",
+ "https://www.googleapis.com/auth/classroom.coursework.students.readonly",
+ "https://www.googleapis.com/auth/classroom.student-submissions.me.readonly",
+ "https://www.googleapis.com/auth/classroom.student-submissions.students.readonly"
+ ]
+ },
+ "get": {
+ "description": "Returns a student submission.\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to access the\nrequested course, course work, or student submission or for\naccess errors.\n* `INVALID_ARGUMENT` if the request is malformed.\n* `NOT_FOUND` if the requested course, course work, or student submission\ndoes not exist.",
+ "httpMethod": "GET",
+ "id": "classroom.courses.courseWork.studentSubmissions.get",
+ "parameterOrder": [
+ "courseId",
+ "courseWorkId",
+ "id"
+ ],
+ "parameters": {
+ "courseId": {
+ "description": "Identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "courseWorkId": {
+ "description": "Identifier of the course work.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "id": {
+ "description": "Identifier of the student submission.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}",
+ "response": {
+ "$ref": "StudentSubmission"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/classroom.coursework.me",
+ "https://www.googleapis.com/auth/classroom.coursework.me.readonly",
+ "https://www.googleapis.com/auth/classroom.coursework.students",
+ "https://www.googleapis.com/auth/classroom.coursework.students.readonly",
+ "https://www.googleapis.com/auth/classroom.student-submissions.me.readonly",
+ "https://www.googleapis.com/auth/classroom.student-submissions.students.readonly"
+ ]
+ },
+ "return": {
+ "description": "Returns a student submission.\n\nReturning a student submission transfers ownership of attached Drive\nfiles to the student and may also update the submission state.\nUnlike the Classroom application, returning a student submission does not\nset assignedGrade to the draftGrade value.\n\nOnly a teacher of the course that contains the requested student submission\nmay call this method.\n\nThis request must be made by the Developer Console project of the\n[OAuth client ID](https://support.google.com/cloud/answer/6158849) used to\ncreate the corresponding course work item.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to access the\nrequested course or course work, return the requested student submission,\nor for access errors.\n* `INVALID_ARGUMENT` if the request is malformed.\n* `NOT_FOUND` if the requested course, course work, or student submission\ndoes not exist.",
+ "httpMethod": "POST",
+ "id": "classroom.courses.courseWork.studentSubmissions.return",
+ "parameterOrder": [
+ "courseId",
+ "courseWorkId",
+ "id"
+ ],
+ "parameters": {
+ "courseId": {
+ "description": "Identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "courseWorkId": {
+ "description": "Identifier of the course work.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "id": {
+ "description": "Identifier of the student submission.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return",
+ "request": {
+ "$ref": "ReturnStudentSubmissionRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/classroom.coursework.students"
+ ]
+ },
+ "patch": {
+ "description": "Updates one or more fields of a student submission.\n\nSee google.classroom.v1.StudentSubmission for details\nof which fields may be updated and who may change them.\n\nThis request must be made by the Developer Console project of the\n[OAuth client ID](https://support.google.com/cloud/answer/6158849) used to\ncreate the corresponding course work item.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting developer project did not create\nthe corresponding course work, if the user is not permitted to make the\nrequested modification to the student submission, or for\naccess errors.\n* `INVALID_ARGUMENT` if the request is malformed.\n* `NOT_FOUND` if the requested course, course work, or student submission\ndoes not exist.",
+ "httpMethod": "PATCH",
+ "id": "classroom.courses.courseWork.studentSubmissions.patch",
+ "parameterOrder": [
+ "courseId",
+ "courseWorkId",
+ "id"
+ ],
+ "parameters": {
+ "courseId": {
+ "description": "Identifier of the course.\nThis identifier can be either the Classroom-assigned identifier or an\nalias.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "courseWorkId": {
+ "description": "Identifier of the course work.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Mask that identifies which fields on the student submission to update.\nThis field is required to do an update. The update fails if invalid\nfields are specified.\n\nThe following fields may be specified by teachers:\n* `draft_grade`\n* `assigned_grade`",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ },
+ "id": {
+ "description": "Identifier of the student submission.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}",
+ "request": {
+ "$ref": "StudentSubmission"
+ },
+ "response": {
+ "$ref": "StudentSubmission"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/classroom.coursework.me",
+ "https://www.googleapis.com/auth/classroom.coursework.students"
+ ]
}
}
}
@@ -1199,7 +1337,7 @@
"userProfiles": {
"methods": {
"get": {
- "description": "Returns a user profile. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access this user profile, if no profile exists with the requested ID, or for access errors.",
+ "description": "Returns a user profile.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to access\nthis user profile, if no profile exists with the requested ID, or for\naccess errors.",
"httpMethod": "GET",
"id": "classroom.userProfiles.get",
"parameterOrder": [
@@ -1207,7 +1345,7 @@
],
"parameters": {
"userId": {
- "description": "Identifier of the profile to return. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user",
+ "description": "Identifier of the profile to return. The identifier can be one of the\nfollowing:\n\n* the numeric identifier for the user\n* the email address of the user\n* the string literal `\"me\"`, indicating the requesting user",
"location": "path",
"required": true,
"type": "string"
@@ -1226,57 +1364,104 @@
}
},
"resources": {
- "guardianInvitations": {
+ "guardians": {
"methods": {
- "list": {
- "description": "Returns a list of guardian invitations that the requesting user is permitted to view, filtered by the parameters provided. This method returns the following error codes: * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting user is not permitted to view guardian invitations for that student, if `\"-\"` is specified as the `student_id` and the user is not a domain administrator, if guardians are not enabled for the domain in question, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API, nor the literal string `me`). May also be returned if an invalid `page_token` or `state` is provided. * `NOT_FOUND` if a `student_id` is specified, and its format can be recognized, but Classroom has no record of that student.",
+ "get": {
+ "description": "Returns a specific guardian.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if no user that matches the provided `student_id`\n is visible to the requesting user, if the requesting user is not\n permitted to view guardian information for the student identified by the\n `student_id`, if guardians are not enabled for the domain in question,\n or for other access errors.\n* `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot\n be recognized (it is not an email address, nor a `student_id` from the\n API, nor the literal string `me`).\n* `NOT_FOUND` if the requesting user is permitted to view guardians for\n the requested `student_id`, but no `Guardian` record exists for that\n student that matches the provided `guardian_id`.",
"httpMethod": "GET",
- "id": "classroom.userProfiles.guardianInvitations.list",
+ "id": "classroom.userProfiles.guardians.get",
"parameterOrder": [
- "studentId"
+ "studentId",
+ "guardianId"
],
"parameters": {
"studentId": {
- "description": "The ID of the student whose guardian invitations are to be returned. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user * the string literal `\"-\"`, indicating that results should be returned for all students that the requesting user is permitted to view guardian invitations.",
+ "description": "The student whose guardian is being requested. One of the following:\n\n* the numeric identifier for the user\n* the email address of the user\n* the string literal `\"me\"`, indicating the requesting user",
"location": "path",
"required": true,
"type": "string"
},
- "invitedEmailAddress": {
- "description": "If specified, only results with the specified `invited_email_address` will be returned.",
- "location": "query",
+ "guardianId": {
+ "description": "The `id` field from a `Guardian`.",
+ "location": "path",
+ "required": true,
"type": "string"
- },
- "states": {
- "description": "If specified, only results with the specified `state` values will be returned. Otherwise, results with a `state` of `PENDING` will be returned.",
- "enum": [
- "GUARDIAN_INVITATION_STATE_UNSPECIFIED",
- "PENDING",
- "COMPLETE"
- ],
- "location": "query",
- "repeated": true,
- "type": "string"
- },
- "pageToken": {
- "description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.",
- "location": "query",
- "type": "string"
- },
+ }
+ },
+ "path": "v1/userProfiles/{studentId}/guardians/{guardianId}",
+ "response": {
+ "$ref": "Guardian"
+ }
+ },
+ "list": {
+ "description": "Returns a list of guardians that the requesting user is permitted to\nview, restricted to those that match the request.\n\nTo list guardians for any student that the requesting user may view\nguardians for, use the literal character `-` for the student ID.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if a `student_id` is specified, and the requesting\n user is not permitted to view guardian information for that student, if\n `\"-\"` is specified as the `student_id` and the user is not a domain\n administrator, if guardians are not enabled for the domain in question,\n if the `invited_email_address` filter is set by a user who is not a\n domain administrator, or for other access errors.\n* `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot\n be recognized (it is not an email address, nor a `student_id` from the\n API, nor the literal string `me`). May also be returned if an invalid\n `page_token` is provided.\n* `NOT_FOUND` if a `student_id` is specified, and its format can be\n recognized, but Classroom has no record of that student.",
+ "httpMethod": "GET",
+ "id": "classroom.userProfiles.guardians.list",
+ "parameterOrder": [
+ "studentId"
+ ],
+ "parameters": {
"pageSize": {
- "description": "Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.",
+ "description": "Maximum number of items to return. Zero or unspecified indicates that the\nserver may assign a maximum.\n\nThe server may return fewer than the specified number of results.",
"format": "int32",
"location": "query",
"type": "integer"
+ },
+ "invitedEmailAddress": {
+ "description": "Filter results by the email address that the original invitation was sent\nto, resulting in this guardian link.\nThis filter can only be used by domain administrators.",
+ "location": "query",
+ "type": "string"
+ },
+ "studentId": {
+ "description": "Filter results by the student who the guardian is linked to.\nThe identifier can be one of the following:\n\n* the numeric identifier for the user\n* the email address of the user\n* the string literal `\"me\"`, indicating the requesting user\n* the string literal `\"-\"`, indicating that results should be returned for\n all students that the requesting user has access to view.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "nextPageToken\nvalue returned from a previous\nlist call,\nindicating that the subsequent page of results should be returned.\n\nThe list request\nmust be otherwise identical to the one that resulted in this token.",
+ "location": "query",
+ "type": "string"
}
},
- "path": "v1/userProfiles/{studentId}/guardianInvitations",
+ "path": "v1/userProfiles/{studentId}/guardians",
"response": {
- "$ref": "ListGuardianInvitationsResponse"
+ "$ref": "ListGuardiansResponse"
}
},
+ "delete": {
+ "description": "Deletes a guardian.\n\nThe guardian will no longer receive guardian notifications and the guardian\nwill no longer be accessible via the API.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if no user that matches the provided `student_id`\n is visible to the requesting user, if the requesting user is not\n permitted to manage guardians for the student identified by the\n `student_id`, if guardians are not enabled for the domain in question,\n or for other access errors.\n* `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot\n be recognized (it is not an email address, nor a `student_id` from the\n API).\n* `NOT_FOUND` if the requesting user is permitted to modify guardians for\n the requested `student_id`, but no `Guardian` record exists for that\n student with the provided `guardian_id`.",
+ "httpMethod": "DELETE",
+ "id": "classroom.userProfiles.guardians.delete",
+ "parameterOrder": [
+ "studentId",
+ "guardianId"
+ ],
+ "parameters": {
+ "studentId": {
+ "description": "The student whose guardian is to be deleted. One of the following:\n\n* the numeric identifier for the user\n* the email address of the user\n* the string literal `\"me\"`, indicating the requesting user",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "guardianId": {
+ "description": "The `id` field from a `Guardian`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/userProfiles/{studentId}/guardians/{guardianId}",
+ "response": {
+ "$ref": "Empty"
+ }
+ }
+ }
+ },
+ "guardianInvitations": {
+ "methods": {
"get": {
- "description": "Returns a specific guardian invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view guardian invitations for the student identified by the `student_id`, if guardians are not enabled for the domain in question, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API, nor the literal string `me`). * `NOT_FOUND` if Classroom cannot find any record of the given student or `invitation_id`. May also be returned if the student exists, but the requesting user does not have access to see that student.",
+ "description": "Returns a specific guardian invitation.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the requesting user is not permitted to view\n guardian invitations for the student identified by the `student_id`, if\n guardians are not enabled for the domain in question, or for other\n access errors.\n* `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot\n be recognized (it is not an email address, nor a `student_id` from the\n API, nor the literal string `me`).\n* `NOT_FOUND` if Classroom cannot find any record of the given student or\n `invitation_id`. May also be returned if the student exists, but the\n requesting user does not have access to see that student.",
"httpMethod": "GET",
"id": "classroom.userProfiles.guardianInvitations.get",
"parameterOrder": [
@@ -1284,14 +1469,14 @@
"invitationId"
],
"parameters": {
- "studentId": {
- "description": "The ID of the student whose guardian invitation is being requested.",
+ "invitationId": {
+ "description": "The `id` field of the `GuardianInvitation` being requested.",
"location": "path",
"required": true,
"type": "string"
},
- "invitationId": {
- "description": "The `id` field of the `GuardianInvitation` being requested.",
+ "studentId": {
+ "description": "The ID of the student whose guardian invitation is being requested.",
"location": "path",
"required": true,
"type": "string"
@@ -1303,7 +1488,7 @@
}
},
"create": {
- "description": "Creates a guardian invitation, and sends an email to the guardian asking them to confirm that they are the student's guardian. Once the guardian accepts the invitation, their `state` will change to `COMPLETED` and they will start receiving guardian notifications. A `Guardian` resource will also be created to represent the active guardian. The request object must have the `student_id` and `invited_email_address` fields set. Failing to set these fields, or setting any other fields in the request, will result in an error. This method returns the following error codes: * `PERMISSION_DENIED` if the current user does not have permission to manage guardians, if the guardian in question has already rejected too many requests for that student, if guardians are not enabled for the domain in question, or for other access errors. * `RESOURCE_EXHAUSTED` if the student or guardian has exceeded the guardian link limit. * `INVALID_ARGUMENT` if the guardian email address is not valid (for example, if it is too long), or if the format of the student ID provided cannot be recognized (it is not an email address, nor a `user_id` from this API). This error will also be returned if read-only fields are set, or if the `state` field is set to to a value other than `PENDING`. * `NOT_FOUND` if the student ID provided is a valid student ID, but Classroom has no record of that student. * `ALREADY_EXISTS` if there is already a pending guardian invitation for the student and `invited_email_address` provided, or if the provided `invited_email_address` matches the Google account of an existing `Guardian` for this user.",
+ "description": "Creates a guardian invitation, and sends an email to the guardian asking\nthem to confirm that they are the student's guardian.\n\nOnce the guardian accepts the invitation, their `state` will change to\n`COMPLETED` and they will start receiving guardian notifications. A\n`Guardian` resource will also be created to represent the active guardian.\n\nThe request object must have the `student_id` and\n`invited_email_address` fields set. Failing to set these fields, or\nsetting any other fields in the request, will result in an error.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the current user does not have permission to\n manage guardians, if the guardian in question has already rejected\n too many requests for that student, if guardians are not enabled for the\n domain in question, or for other access errors.\n* `RESOURCE_EXHAUSTED` if the student or guardian has exceeded the guardian\n link limit.\n* `INVALID_ARGUMENT` if the guardian email address is not valid (for\n example, if it is too long), or if the format of the student ID provided\n cannot be recognized (it is not an email address, nor a `user_id` from\n this API). This error will also be returned if read-only fields are set,\n or if the `state` field is set to to a value other than `PENDING`.\n* `NOT_FOUND` if the student ID provided is a valid student ID, but\n Classroom has no record of that student.\n* `ALREADY_EXISTS` if there is already a pending guardian invitation for\n the student and `invited_email_address` provided, or if the provided\n `invited_email_address` matches the Google account of an existing\n `Guardian` for this user.",
"httpMethod": "POST",
"id": "classroom.userProfiles.guardianInvitations.create",
"parameterOrder": [
@@ -1325,8 +1510,55 @@
"$ref": "GuardianInvitation"
}
},
+ "list": {
+ "description": "Returns a list of guardian invitations that the requesting user is\npermitted to view, filtered by the parameters provided.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if a `student_id` is specified, and the requesting\n user is not permitted to view guardian invitations for that student, if\n `\"-\"` is specified as the `student_id` and the user is not a domain\n administrator, if guardians are not enabled for the domain in question,\n or for other access errors.\n* `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot\n be recognized (it is not an email address, nor a `student_id` from the\n API, nor the literal string `me`). May also be returned if an invalid\n `page_token` or `state` is provided.\n* `NOT_FOUND` if a `student_id` is specified, and its format can be\n recognized, but Classroom has no record of that student.",
+ "httpMethod": "GET",
+ "id": "classroom.userProfiles.guardianInvitations.list",
+ "parameterOrder": [
+ "studentId"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "Maximum number of items to return. Zero or unspecified indicates that the\nserver may assign a maximum.\n\nThe server may return fewer than the specified number of results.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "invitedEmailAddress": {
+ "description": "If specified, only results with the specified `invited_email_address`\nwill be returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "states": {
+ "description": "If specified, only results with the specified `state` values will be\nreturned. Otherwise, results with a `state` of `PENDING` will be returned.",
+ "enum": [
+ "GUARDIAN_INVITATION_STATE_UNSPECIFIED",
+ "PENDING",
+ "COMPLETE"
+ ],
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "studentId": {
+ "description": "The ID of the student whose guardian invitations are to be returned.\nThe identifier can be one of the following:\n\n* the numeric identifier for the user\n* the email address of the user\n* the string literal `\"me\"`, indicating the requesting user\n* the string literal `\"-\"`, indicating that results should be returned for\n all students that the requesting user is permitted to view guardian\n invitations.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "nextPageToken\nvalue returned from a previous\nlist call,\nindicating that the subsequent page of results should be returned.\n\nThe list request\nmust be otherwise identical to the one that resulted in this token.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/userProfiles/{studentId}/guardianInvitations",
+ "response": {
+ "$ref": "ListGuardianInvitationsResponse"
+ }
+ },
"patch": {
- "description": "Modifies a guardian invitation. Currently, the only valid modification is to change the `state` from `PENDING` to `COMPLETE`. This has the effect of withdrawing the invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the current user does not have permission to manage guardians, if guardians are not enabled for the domain in question or for other access errors. * `FAILED_PRECONDITION` if the guardian link is not in the `PENDING` state. * `INVALID_ARGUMENT` if the format of the student ID provided cannot be recognized (it is not an email address, nor a `user_id` from this API), or if the passed `GuardianInvitation` has a `state` other than `COMPLETE`, or if it modifies fields other than `state`. * `NOT_FOUND` if the student ID provided is a valid student ID, but Classroom has no record of that student, or if the `id` field does not refer to a guardian invitation known to Classroom.",
+ "description": "Modifies a guardian invitation.\n\nCurrently, the only valid modification is to change the `state` from\n`PENDING` to `COMPLETE`. This has the effect of withdrawing the invitation.\n\nThis method returns the following error codes:\n\n* `PERMISSION_DENIED` if the current user does not have permission to\n manage guardians, if guardians are not enabled for the domain in question\n or for other access errors.\n* `FAILED_PRECONDITION` if the guardian link is not in the `PENDING` state.\n* `INVALID_ARGUMENT` if the format of the student ID provided\n cannot be recognized (it is not an email address, nor a `user_id` from\n this API), or if the passed `GuardianInvitation` has a `state` other than\n `COMPLETE`, or if it modifies fields other than `state`.\n* `NOT_FOUND` if the student ID provided is a valid student ID, but\n Classroom has no record of that student, or if the `id` field does not\n refer to a guardian invitation known to Classroom.",
"httpMethod": "PATCH",
"id": "classroom.userProfiles.guardianInvitations.patch",
"parameterOrder": [
@@ -1334,12 +1566,6 @@
"invitationId"
],
"parameters": {
- "studentId": {
- "description": "The ID of the student whose guardian invitation is to be modified.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"invitationId": {
"description": "The `id` field of the `GuardianInvitation` to be modified.",
"location": "path",
@@ -1347,9 +1573,16 @@
"type": "string"
},
"updateMask": {
- "description": "Mask that identifies which fields on the course to update. This field is required to do an update. The update will fail if invalid fields are specified. The following fields are valid: * `state` When set in a query parameter, this field should be specified as `updateMask=,,...`",
+ "description": "Mask that identifies which fields on the course to update.\nThis field is required to do an update. The update will fail if invalid\nfields are specified. The following fields are valid:\n\n* `state`\n\nWhen set in a query parameter, this field should be specified as\n\n`updateMask=<field1>,<field2>,...`",
+ "format": "google-fieldmask",
"location": "query",
"type": "string"
+ },
+ "studentId": {
+ "description": "The ID of the student whose guardian invitation is to be modified.",
+ "location": "path",
+ "required": true,
+ "type": "string"
}
},
"path": "v1/userProfiles/{studentId}/guardianInvitations/{invitationId}",
@@ -1361,313 +1594,188 @@
}
}
}
- },
- "guardians": {
- "methods": {
- "list": {
- "description": "Returns a list of guardians that the requesting user is permitted to view, restricted to those that match the request. To list guardians for any student that the requesting user may view guardians for, use the literal character `-` for the student ID. This method returns the following error codes: * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting user is not permitted to view guardian information for that student, if `\"-\"` is specified as the `student_id` and the user is not a domain administrator, if guardians are not enabled for the domain in question, if the `invited_email_address` filter is set by a user who is not a domain administrator, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API, nor the literal string `me`). May also be returned if an invalid `page_token` is provided. * `NOT_FOUND` if a `student_id` is specified, and its format can be recognized, but Classroom has no record of that student.",
- "httpMethod": "GET",
- "id": "classroom.userProfiles.guardians.list",
- "parameterOrder": [
- "studentId"
- ],
- "parameters": {
- "studentId": {
- "description": "Filter results by the student who the guardian is linked to. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user * the string literal `\"-\"`, indicating that results should be returned for all students that the requesting user has access to view.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "invitedEmailAddress": {
- "description": "Filter results by the email address that the original invitation was sent to, resulting in this guardian link. This filter can only be used by domain administrators.",
- "location": "query",
- "type": "string"
- },
- "pageToken": {
- "description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- }
- },
- "path": "v1/userProfiles/{studentId}/guardians",
- "response": {
- "$ref": "ListGuardiansResponse"
- }
- },
- "get": {
- "description": "Returns a specific guardian. This method returns the following error codes: * `PERMISSION_DENIED` if no user that matches the provided `student_id` is visible to the requesting user, if the requesting user is not permitted to view guardian information for the student identified by the `student_id`, if guardians are not enabled for the domain in question, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API, nor the literal string `me`). * `NOT_FOUND` if the requesting user is permitted to view guardians for the requested `student_id`, but no `Guardian` record exists for that student that matches the provided `guardian_id`.",
- "httpMethod": "GET",
- "id": "classroom.userProfiles.guardians.get",
- "parameterOrder": [
- "studentId",
- "guardianId"
- ],
- "parameters": {
- "studentId": {
- "description": "The student whose guardian is being requested. One of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "guardianId": {
- "description": "The `id` field from a `Guardian`.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/userProfiles/{studentId}/guardians/{guardianId}",
- "response": {
- "$ref": "Guardian"
- }
- },
- "delete": {
- "description": "Deletes a guardian. The guardian will no longer receive guardian notifications and the guardian will no longer be accessible via the API. This method returns the following error codes: * `PERMISSION_DENIED` if no user that matches the provided `student_id` is visible to the requesting user, if the requesting user is not permitted to manage guardians for the student identified by the `student_id`, if guardians are not enabled for the domain in question, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API). * `NOT_FOUND` if the requesting user is permitted to modify guardians for the requested `student_id`, but no `Guardian` record exists for that student with the provided `guardian_id`.",
- "httpMethod": "DELETE",
- "id": "classroom.userProfiles.guardians.delete",
- "parameterOrder": [
- "studentId",
- "guardianId"
- ],
- "parameters": {
- "studentId": {
- "description": "The student whose guardian is to be deleted. One of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "guardianId": {
- "description": "The `id` field from a `Guardian`.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/userProfiles/{studentId}/guardians/{guardianId}",
- "response": {
- "$ref": "Empty"
- }
- }
- }
- }
- }
- },
- "invitations": {
- "methods": {
- "create": {
- "description": "Creates an invitation. Only one invitation for a user and course may exist at a time. Delete and re-create an invitation to make changes. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create invitations for this course or for access errors. * `NOT_FOUND` if the course or the user does not exist. * `FAILED_PRECONDITION` if the requested user's account is disabled or if the user already has this role or a role with greater permissions. * `ALREADY_EXISTS` if an invitation for the specified user and course already exists.",
- "httpMethod": "POST",
- "id": "classroom.invitations.create",
- "path": "v1/invitations",
- "request": {
- "$ref": "Invitation"
- },
- "response": {
- "$ref": "Invitation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/classroom.rosters"
- ]
- },
- "get": {
- "description": "Returns an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view the requested invitation or for access errors. * `NOT_FOUND` if no invitation exists with the requested ID.",
- "httpMethod": "GET",
- "id": "classroom.invitations.get",
- "parameterOrder": [
- "id"
- ],
- "parameters": {
- "id": {
- "description": "Identifier of the invitation to return.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/invitations/{id}",
- "response": {
- "$ref": "Invitation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/classroom.rosters",
- "https://www.googleapis.com/auth/classroom.rosters.readonly"
- ]
- },
- "delete": {
- "description": "Deletes an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested invitation or for access errors. * `NOT_FOUND` if no invitation exists with the requested ID.",
- "httpMethod": "DELETE",
- "id": "classroom.invitations.delete",
- "parameterOrder": [
- "id"
- ],
- "parameters": {
- "id": {
- "description": "Identifier of the invitation to delete.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/invitations/{id}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/classroom.rosters"
- ]
- },
- "list": {
- "description": "Returns a list of invitations that the requesting user is permitted to view, restricted to those that match the list request. *Note:* At least one of `user_id` or `course_id` must be supplied. Both fields can be supplied. This method returns the following error codes: * `PERMISSION_DENIED` for access errors.",
- "httpMethod": "GET",
- "id": "classroom.invitations.list",
- "parameters": {
- "userId": {
- "description": "Restricts returned invitations to those for a specific user. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user",
- "location": "query",
- "type": "string"
- },
- "courseId": {
- "description": "Restricts returned invitations to those for a course with the specified identifier.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Maximum number of items to return. Zero means no maximum. The server may return fewer than the specified number of results.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "pageToken": {
- "description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/invitations",
- "response": {
- "$ref": "ListInvitationsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/classroom.rosters",
- "https://www.googleapis.com/auth/classroom.rosters.readonly"
- ]
- },
- "accept": {
- "description": "Accepts an invitation, removing it and adding the invited user to the teachers or students (as appropriate) of the specified course. Only the invited user may accept an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to accept the requested invitation or for access errors. * `FAILED_PRECONDITION` for the following request errors: * CourseMemberLimitReached * CourseNotModifiable * CourseTeacherLimitReached * UserGroupsMembershipLimitReached * `NOT_FOUND` if no invitation exists with the requested ID.",
- "httpMethod": "POST",
- "id": "classroom.invitations.accept",
- "parameterOrder": [
- "id"
- ],
- "parameters": {
- "id": {
- "description": "Identifier of the invitation to accept.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/invitations/{id}:accept",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/classroom.rosters"
- ]
}
}
}
},
- "revision": "20170110",
+ "revision": "20170321",
"rootUrl": "https://classroom.googleapis.com/",
"schemas": {
- "Course": {
- "description": "A Course in Classroom.",
- "id": "Course",
+ "Attachment": {
+ "description": "Attachment added to student assignment work.\n\nWhen creating attachments, setting the `form` field is not supported.",
+ "id": "Attachment",
+ "properties": {
+ "driveFile": {
+ "$ref": "DriveFile",
+ "description": "Google Drive file attachment."
+ },
+ "youTubeVideo": {
+ "$ref": "YouTubeVideo",
+ "description": "Youtube video attachment."
+ },
+ "link": {
+ "$ref": "Link",
+ "description": "Link attachment."
+ },
+ "form": {
+ "$ref": "Form",
+ "description": "Google Forms attachment."
+ }
+ },
+ "type": "object"
+ },
+ "ListGuardianInvitationsResponse": {
+ "description": "Response when listing guardian invitations.",
+ "id": "ListGuardianInvitationsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "Token identifying the next page of results to return. If empty, no further\nresults are available.",
+ "type": "string"
+ },
+ "guardianInvitations": {
+ "description": "Guardian invitations that matched the list request.",
+ "items": {
+ "$ref": "GuardianInvitation"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "CourseWork": {
+ "description": "Course work created by a teacher for students of the course.",
+ "id": "CourseWork",
"properties": {
"id": {
- "description": "Identifier for this course assigned by Classroom. When creating a course, you may optionally set this identifier to an alias string in the request to create a corresponding alias. The `id` is still assigned by Classroom and cannot be updated after the course is created. Specifying this field in a course update mask results in an error.",
- "type": "string"
- },
- "name": {
- "description": "Name of the course. For example, \"10th Grade Biology\". The name is required. It must be between 1 and 750 characters and a valid UTF-8 string.",
- "type": "string"
- },
- "section": {
- "description": "Section of the course. For example, \"Period 2\". If set, this field must be a valid UTF-8 string and no longer than 2800 characters.",
- "type": "string"
- },
- "descriptionHeading": {
- "description": "Optional heading for the description. For example, \"Welcome to 10th Grade Biology.\" If set, this field must be a valid UTF-8 string and no longer than 3600 characters.",
+ "description": "Classroom-assigned identifier of this course work, unique per course.\n\nRead-only.",
"type": "string"
},
"description": {
- "description": "Optional description. For example, \"We'll be learning about the structure of living creatures from a combination of textbooks, guest lectures, and lab work. Expect to be excited!\" If set, this field must be a valid UTF-8 string and no longer than 30,000 characters.",
+ "description": "Optional description of this course work.\nIf set, the description must be a valid UTF-8 string containing no more\nthan 30,000 characters.",
"type": "string"
},
- "room": {
- "description": "Optional room location. For example, \"301\". If set, this field must be a valid UTF-8 string and no longer than 650 characters.",
- "type": "string"
- },
- "ownerId": {
- "description": "The identifier of the owner of a course. When specified as a parameter of a create course request, this field is required. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user This must be set in a create request. Specifying this field in a course update mask results in an `INVALID_ARGUMENT` error.",
- "type": "string"
- },
- "creationTime": {
- "description": "Creation time of the course. Specifying this field in a course update mask results in an error. Read-only.",
- "type": "string"
- },
- "updateTime": {
- "description": "Time of the most recent update to this course. Specifying this field in a course update mask results in an error. Read-only.",
- "type": "string"
- },
- "enrollmentCode": {
- "description": "Enrollment code to use when joining this course. Specifying this field in a course update mask results in an error. Read-only.",
- "type": "string"
- },
- "courseState": {
- "description": "State of the course. If unspecified, the default state is `PROVISIONED`.",
+ "submissionModificationMode": {
+ "description": "Setting to determine when students are allowed to modify submissions.\nIf unspecified, the default value is `MODIFIABLE_UNTIL_TURNED_IN`.",
"enum": [
- "COURSE_STATE_UNSPECIFIED",
- "ACTIVE",
- "ARCHIVED",
- "PROVISIONED",
- "DECLINED"
+ "SUBMISSION_MODIFICATION_MODE_UNSPECIFIED",
+ "MODIFIABLE_UNTIL_TURNED_IN",
+ "MODIFIABLE"
+ ],
+ "enumDescriptions": [
+ "No modification mode specified. This is never returned.",
+ "Submisisons can be modified before being turned in.",
+ "Submisisons can be modified at any time."
],
"type": "string"
},
+ "associatedWithDeveloper": {
+ "description": "Whether this course work item is associated with the Developer Console\nproject making the request.\n\nSee google.classroom.Work.CreateCourseWork for more\ndetails.\n\nRead-only.",
+ "type": "boolean"
+ },
+ "updateTime": {
+ "description": "Timestamp of the most recent change to this course work.\n\nRead-only.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "title": {
+ "description": "Title of this course work.\nThe title must be a valid UTF-8 string containing between 1 and 3000\ncharacters.",
+ "type": "string"
+ },
"alternateLink": {
- "description": "Absolute link to this course in the Classroom web UI. Read-only.",
+ "description": "Absolute link to this course work in the Classroom web UI.\nThis is only populated if `state` is `PUBLISHED`.\n\nRead-only.",
"type": "string"
},
- "teacherGroupEmail": {
- "description": "The email address of a Google group containing all teachers of the course. This group does not accept email and can only be used for permissions. Read-only.",
+ "workType": {
+ "description": "Type of this course work.\n\nThe type is set when the course work is created and cannot be changed.",
+ "enum": [
+ "COURSE_WORK_TYPE_UNSPECIFIED",
+ "ASSIGNMENT",
+ "SHORT_ANSWER_QUESTION",
+ "MULTIPLE_CHOICE_QUESTION"
+ ],
+ "enumDescriptions": [
+ "No work type specified. This is never returned.",
+ "An assignment.",
+ "A short answer question.",
+ "A multiple-choice question."
+ ],
"type": "string"
},
- "courseGroupEmail": {
- "description": "The email address of a Google group containing all members of the course. This group does not accept email and can only be used for permissions. Read-only.",
- "type": "string"
- },
- "teacherFolder": {
- "$ref": "DriveFolder",
- "description": "Information about a Drive Folder that is shared with all teachers of the course. This field will only be set for teachers of the course and domain administrators. Read-only."
- },
- "courseMaterialSets": {
- "description": "Sets of materials that appear on the \"about\" page of this course. Read-only.",
+ "materials": {
+ "description": "Additional materials.\n\nCourseWork must have no more than 20 material items.",
"items": {
- "$ref": "CourseMaterialSet"
+ "$ref": "Material"
},
"type": "array"
},
- "guardiansEnabled": {
- "description": "Whether or not guardian notifications are enabled for this course. Read-only.",
- "type": "boolean"
+ "state": {
+ "description": "Status of this course work.\nIf unspecified, the default state is `DRAFT`.",
+ "enum": [
+ "COURSE_WORK_STATE_UNSPECIFIED",
+ "PUBLISHED",
+ "DRAFT",
+ "DELETED"
+ ],
+ "enumDescriptions": [
+ "No state specified. This is never returned.",
+ "Status for work that has been published.\nThis is the default state.",
+ "Status for work that is not yet published.\nWork in this state is visible only to course teachers and domain\nadministrators.",
+ "Status for work that was published but is now deleted.\nWork in this state is visible only to course teachers and domain\nadministrators.\nWork in this state is deleted after some time."
+ ],
+ "type": "string"
+ },
+ "dueDate": {
+ "$ref": "Date",
+ "description": "Optional date, in UTC, that submissions for this this course work are due.\nThis must be specified if `due_time` is specified."
+ },
+ "multipleChoiceQuestion": {
+ "$ref": "MultipleChoiceQuestion",
+ "description": "Multiple choice question details.\nFor read operations, this field is populated only when `work_type` is\n`MULTIPLE_CHOICE_QUESTION`.\nFor write operations, this field must be specified when creating course\nwork with a `work_type` of `MULTIPLE_CHOICE_QUESTION`, and it must not be\nset otherwise."
+ },
+ "creationTime": {
+ "description": "Timestamp when this course work was created.\n\nRead-only.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "courseId": {
+ "description": "Identifier of the course.\n\nRead-only.",
+ "type": "string"
+ },
+ "maxPoints": {
+ "description": "Maximum grade for this course work.\nIf zero or unspecified, this assignment is considered ungraded.\nThis must be a non-negative integer value.",
+ "format": "double",
+ "type": "number"
+ },
+ "assignment": {
+ "$ref": "Assignment",
+ "description": "Assignment details.\nThis is populated only when `work_type` is `ASSIGNMENT`.\n\nRead-only."
+ },
+ "dueTime": {
+ "$ref": "TimeOfDay",
+ "description": "Optional time of day, in UTC, that submissions for this this course work\nare due.\nThis must be specified if `due_date` is specified."
+ }
+ },
+ "type": "object"
+ },
+ "DriveFile": {
+ "description": "Representation of a Google Drive file.",
+ "id": "DriveFile",
+ "properties": {
+ "thumbnailUrl": {
+ "description": "URL of a thumbnail image of the Drive item.\n\nRead-only.",
+ "type": "string"
+ },
+ "title": {
+ "description": "Title of the Drive item.\n\nRead-only.",
+ "type": "string"
+ },
+ "alternateLink": {
+ "description": "URL that can be used to access the Drive item.\n\nRead-only.",
+ "type": "string"
+ },
+ "id": {
+ "description": "Drive API resource ID.",
+ "type": "string"
}
},
"type": "object"
@@ -1676,39 +1784,50 @@
"description": "Representation of a Google Drive folder.",
"id": "DriveFolder",
"properties": {
- "id": {
- "description": "Drive API resource ID.",
- "type": "string"
- },
"title": {
- "description": "Title of the Drive folder. Read-only.",
+ "description": "Title of the Drive folder.\n\nRead-only.",
"type": "string"
},
"alternateLink": {
- "description": "URL that can be used to access the Drive folder. Read-only.",
+ "description": "URL that can be used to access the Drive folder.\n\nRead-only.",
+ "type": "string"
+ },
+ "id": {
+ "description": "Drive API resource ID.",
"type": "string"
}
},
"type": "object"
},
- "CourseMaterialSet": {
- "description": "A set of materials that appears on the \"About\" page of the course. These materials might include a syllabus, schedule, or other background information relating to the course as a whole.",
- "id": "CourseMaterialSet",
+ "ListCourseAliasesResponse": {
+ "description": "Response when listing course aliases.",
+ "id": "ListCourseAliasesResponse",
"properties": {
- "title": {
- "description": "Title for this set.",
+ "nextPageToken": {
+ "description": "Token identifying the next page of results to return. If empty, no further\nresults are available.",
"type": "string"
},
- "materials": {
- "description": "Materials attached to this set.",
+ "aliases": {
+ "description": "The course aliases.",
"items": {
- "$ref": "CourseMaterial"
+ "$ref": "CourseAlias"
},
"type": "array"
}
},
"type": "object"
},
+ "ShortAnswerSubmission": {
+ "description": "Student work for a short answer question.",
+ "id": "ShortAnswerSubmission",
+ "properties": {
+ "answer": {
+ "description": "Student response to a short-answer question.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"CourseMaterial": {
"description": "A material attached to a course as part of a material set.",
"id": "CourseMaterial",
@@ -1732,47 +1851,12 @@
},
"type": "object"
},
- "DriveFile": {
- "description": "Representation of a Google Drive file.",
- "id": "DriveFile",
+ "MultipleChoiceSubmission": {
+ "description": "Student work for a multiple-choice question.",
+ "id": "MultipleChoiceSubmission",
"properties": {
- "id": {
- "description": "Drive API resource ID.",
- "type": "string"
- },
- "title": {
- "description": "Title of the Drive item. Read-only.",
- "type": "string"
- },
- "alternateLink": {
- "description": "URL that can be used to access the Drive item. Read-only.",
- "type": "string"
- },
- "thumbnailUrl": {
- "description": "URL of a thumbnail image of the Drive item. Read-only.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "YouTubeVideo": {
- "description": "YouTube video item.",
- "id": "YouTubeVideo",
- "properties": {
- "id": {
- "description": "YouTube API resource ID.",
- "type": "string"
- },
- "title": {
- "description": "Title of the YouTube video. Read-only.",
- "type": "string"
- },
- "alternateLink": {
- "description": "URL that can be used to view the YouTube video. Read-only.",
- "type": "string"
- },
- "thumbnailUrl": {
- "description": "URL of a thumbnail image of the YouTube video. Read-only.",
+ "answer": {
+ "description": "Student's select choice.",
"type": "string"
}
},
@@ -1783,16 +1867,57 @@
"id": "Link",
"properties": {
"url": {
- "description": "URL to link to. This must be a valid UTF-8 string containing between 1 and 2024 characters.",
- "type": "string"
- },
- "title": {
- "description": "Title of the target of the URL. Read-only.",
+ "description": "URL to link to.\nThis must be a valid UTF-8 string containing between 1 and 2024 characters.",
"type": "string"
},
"thumbnailUrl": {
- "description": "URL of a thumbnail image of the target URL. Read-only.",
+ "description": "URL of a thumbnail image of the target URL.\n\nRead-only.",
"type": "string"
+ },
+ "title": {
+ "description": "Title of the target of the URL.\n\nRead-only.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ModifyAttachmentsRequest": {
+ "description": "Request to modify the attachments of a student submission.",
+ "id": "ModifyAttachmentsRequest",
+ "properties": {
+ "addAttachments": {
+ "description": "Attachments to add.\nA student submission may not have more than 20 attachments.\n\nForm attachments are not supported.",
+ "items": {
+ "$ref": "Attachment"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "TimeOfDay": {
+ "description": "Represents a time of day. The date and time zone are either not significant\nor are specified elsewhere. An API may choose to allow leap seconds. Related\ntypes are google.type.Date and `google.protobuf.Timestamp`.",
+ "id": "TimeOfDay",
+ "properties": {
+ "nanos": {
+ "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "hours": {
+ "description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose\nto 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"
+ },
+ "seconds": {
+ "description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may\nallow the value 60 if it allows leap-seconds.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -1801,264 +1926,166 @@
"description": "Google Forms item.",
"id": "Form",
"properties": {
+ "thumbnailUrl": {
+ "description": "URL of a thumbnail image of the Form.\n\nRead-only.",
+ "type": "string"
+ },
"formUrl": {
"description": "URL of the form.",
"type": "string"
},
- "responseUrl": {
- "description": "URL of the form responses document. Only set if respsonses have been recorded and only when the requesting user is an editor of the form. Read-only.",
- "type": "string"
- },
"title": {
- "description": "Title of the Form. Read-only.",
+ "description": "Title of the Form.\n\nRead-only.",
"type": "string"
},
- "thumbnailUrl": {
- "description": "URL of a thumbnail image of the Form. Read-only.",
+ "responseUrl": {
+ "description": "URL of the form responses document.\nOnly set if respsonses have been recorded and only when the\nrequesting user is an editor of the form.\n\nRead-only.",
"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); } The JSON representation for `Empty` is empty JSON object `{}`.",
- "id": "Empty",
+ "MultipleChoiceQuestion": {
+ "description": "Additional details for multiple-choice questions.",
+ "id": "MultipleChoiceQuestion",
+ "properties": {
+ "choices": {
+ "description": "Possible choices.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
"type": "object"
},
- "ListCoursesResponse": {
- "description": "Response when listing courses.",
- "id": "ListCoursesResponse",
+ "CourseMaterialSet": {
+ "description": "A set of materials that appears on the \"About\" page of the course.\nThese materials might include a syllabus, schedule, or other background\ninformation relating to the course as a whole.",
+ "id": "CourseMaterialSet",
"properties": {
- "courses": {
- "description": "Courses that match the list request.",
+ "materials": {
+ "description": "Materials attached to this set.",
"items": {
- "$ref": "Course"
+ "$ref": "CourseMaterial"
},
"type": "array"
},
- "nextPageToken": {
- "description": "Token identifying the next page of results to return. If empty, no further results are available.",
+ "title": {
+ "description": "Title for this set.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "StudentSubmission": {
+ "description": "Student submission for course work.\n\nStudentSubmission items are generated when a CourseWork item is created.\n\nStudentSubmissions that have never been accessed (i.e. with `state` = NEW)\nmay not have a creation time or update time.",
+ "id": "StudentSubmission",
+ "properties": {
+ "id": {
+ "description": "Classroom-assigned Identifier for the student submission.\nThis is unique among submissions for the relevant course work.\n\nRead-only.",
+ "type": "string"
+ },
+ "courseWorkType": {
+ "description": "Type of course work this submission is for.\n\nRead-only.",
+ "enum": [
+ "COURSE_WORK_TYPE_UNSPECIFIED",
+ "ASSIGNMENT",
+ "SHORT_ANSWER_QUESTION",
+ "MULTIPLE_CHOICE_QUESTION"
+ ],
+ "enumDescriptions": [
+ "No work type specified. This is never returned.",
+ "An assignment.",
+ "A short answer question.",
+ "A multiple-choice question."
+ ],
+ "type": "string"
+ },
+ "assignedGrade": {
+ "description": "Optional grade. If unset, no grade was set.\nThis must be a non-negative integer value.\n\nThis may be modified only by course teachers.",
+ "format": "double",
+ "type": "number"
+ },
+ "associatedWithDeveloper": {
+ "description": "Whether this student submission is associated with the Developer Console\nproject making the request.\n\nSee google.classroom.Work.CreateCourseWork for more\ndetails.\n\nRead-only.",
+ "type": "boolean"
+ },
+ "updateTime": {
+ "description": "Last update time of this submission.\nThis may be unset if the student has not accessed this item.\n\nRead-only.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "alternateLink": {
+ "description": "Absolute link to the submission in the Classroom web UI.\n\nRead-only.",
+ "type": "string"
+ },
+ "draftGrade": {
+ "description": "Optional pending grade. If unset, no grade was set.\nThis must be a non-negative integer value.\n\nThis is only visible to and modifiable by course teachers.",
+ "format": "double",
+ "type": "number"
+ },
+ "userId": {
+ "description": "Identifier for the student that owns this submission.\n\nRead-only.",
+ "type": "string"
+ },
+ "multipleChoiceSubmission": {
+ "$ref": "MultipleChoiceSubmission",
+ "description": "Submission content when course_work_type is MULTIPLE_CHOICE_QUESTION."
+ },
+ "state": {
+ "description": "State of this submission.\n\nRead-only.",
+ "enum": [
+ "SUBMISSION_STATE_UNSPECIFIED",
+ "NEW",
+ "CREATED",
+ "TURNED_IN",
+ "RETURNED",
+ "RECLAIMED_BY_STUDENT"
+ ],
+ "enumDescriptions": [
+ "No state specified. This should never be returned.",
+ "The student has never accessed this submission. Attachments are not\nreturned and timestamps is not set.",
+ "Has been created.",
+ "Has been turned in to the teacher.",
+ "Has been returned to the student.",
+ "Student chose to \"unsubmit\" the assignment."
+ ],
+ "type": "string"
+ },
+ "assignmentSubmission": {
+ "$ref": "AssignmentSubmission",
+ "description": "Submission content when course_work_type is ASSIGNMENT ."
+ },
+ "creationTime": {
+ "description": "Creation time of this submission.\nThis may be unset if the student has not accessed this item.\n\nRead-only.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "courseId": {
+ "description": "Identifier of the course.\n\nRead-only.",
+ "type": "string"
+ },
+ "shortAnswerSubmission": {
+ "$ref": "ShortAnswerSubmission",
+ "description": "Submission content when course_work_type is SHORT_ANSWER_QUESTION."
+ },
+ "late": {
+ "description": "Whether this submission is late.\n\nRead-only.",
+ "type": "boolean"
+ },
+ "courseWorkId": {
+ "description": "Identifier for the course work this corresponds to.\n\nRead-only.",
"type": "string"
}
},
"type": "object"
},
"CourseAlias": {
- "description": "Alternative identifier for a course. An alias uniquely identifies a course. It must be unique within one of the following scopes: * domain: A domain-scoped alias is visible to all users within the alias creator's domain and can be created only by a domain admin. A domain-scoped alias is often used when a course has an identifier external to Classroom. * project: A project-scoped alias is visible to any request from an application using the Developer Console project ID that created the alias and can be created by any project. A project-scoped alias is often used when an application has alternative identifiers. A random value can also be used to avoid duplicate courses in the event of transmission failures, as retrying a request will return `ALREADY_EXISTS` if a previous one has succeeded.",
+ "description": "Alternative identifier for a course.\n\nAn alias uniquely identifies a course. It must be unique within one of the\nfollowing scopes:\n\n* domain: A domain-scoped alias is visible to all users within the alias\ncreator's domain and can be created only by a domain admin. A domain-scoped\nalias is often used when a course has an identifier external to Classroom.\n\n* project: A project-scoped alias is visible to any request from an\napplication using the Developer Console project ID that created the alias\nand can be created by any project. A project-scoped alias is often used when\nan application has alternative identifiers. A random value can also be used\nto avoid duplicate courses in the event of transmission failures, as retrying\na request will return `ALREADY_EXISTS` if a previous one has succeeded.",
"id": "CourseAlias",
"properties": {
"alias": {
- "description": "Alias string. The format of the string indicates the desired alias scoping. * `d:` indicates a domain-scoped alias. Example: `d:math_101` * `p:` indicates a project-scoped alias. Example: `p:abc123` This field has a maximum length of 256 characters.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListCourseAliasesResponse": {
- "description": "Response when listing course aliases.",
- "id": "ListCourseAliasesResponse",
- "properties": {
- "aliases": {
- "description": "The course aliases.",
- "items": {
- "$ref": "CourseAlias"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "Token identifying the next page of results to return. If empty, no further results are available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListGuardianInvitationsResponse": {
- "description": "Response when listing guardian invitations.",
- "id": "ListGuardianInvitationsResponse",
- "properties": {
- "guardianInvitations": {
- "description": "Guardian invitations that matched the list request.",
- "items": {
- "$ref": "GuardianInvitation"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "Token identifying the next page of results to return. If empty, no further results are available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GuardianInvitation": {
- "description": "An invitation to become the guardian of a specified user, sent to a specified email address.",
- "id": "GuardianInvitation",
- "properties": {
- "studentId": {
- "description": "ID of the student (in standard format)",
- "type": "string"
- },
- "invitationId": {
- "description": "Unique identifier for this invitation. Read-only.",
- "type": "string"
- },
- "invitedEmailAddress": {
- "description": "Email address that the invitation was sent to. This field is only visible to domain administrators.",
- "type": "string"
- },
- "state": {
- "description": "The state that this invitation is in.",
- "enum": [
- "GUARDIAN_INVITATION_STATE_UNSPECIFIED",
- "PENDING",
- "COMPLETE"
- ],
- "type": "string"
- },
- "creationTime": {
- "description": "The time that this invitation was created. Read-only.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UserProfile": {
- "description": "Global information for a user.",
- "id": "UserProfile",
- "properties": {
- "id": {
- "description": "Identifier of the user. Read-only.",
- "type": "string"
- },
- "name": {
- "$ref": "Name",
- "description": "Name of the user. Read-only."
- },
- "emailAddress": {
- "description": "Email address of the user. Read-only.",
- "type": "string"
- },
- "photoUrl": {
- "description": "URL of user's profile photo. Read-only.",
- "type": "string"
- },
- "permissions": {
- "description": "Global permissions of the user. Read-only.",
- "items": {
- "$ref": "GlobalPermission"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Name": {
- "description": "Details of the user's name.",
- "id": "Name",
- "properties": {
- "givenName": {
- "description": "The user's first name. Read-only.",
- "type": "string"
- },
- "familyName": {
- "description": "The user's last name. Read-only.",
- "type": "string"
- },
- "fullName": {
- "description": "The user's full name formed by concatenating the first and last name values. Read-only.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GlobalPermission": {
- "description": "Global user permission description.",
- "id": "GlobalPermission",
- "properties": {
- "permission": {
- "description": "Permission value.",
- "enum": [
- "PERMISSION_UNSPECIFIED",
- "CREATE_COURSE"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "Teacher": {
- "description": "Teacher of a course.",
- "id": "Teacher",
- "properties": {
- "courseId": {
- "description": "Identifier of the course. Read-only.",
- "type": "string"
- },
- "userId": {
- "description": "Identifier of the user. When specified as a parameter of a request, this identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user",
- "type": "string"
- },
- "profile": {
- "$ref": "UserProfile",
- "description": "Global user information for the teacher. Read-only."
- }
- },
- "type": "object"
- },
- "ListTeachersResponse": {
- "description": "Response when listing teachers.",
- "id": "ListTeachersResponse",
- "properties": {
- "teachers": {
- "description": "Teachers who match the list request.",
- "items": {
- "$ref": "Teacher"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "Token identifying the next page of results to return. If empty, no further results are available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Student": {
- "description": "Student in a course.",
- "id": "Student",
- "properties": {
- "courseId": {
- "description": "Identifier of the course. Read-only.",
- "type": "string"
- },
- "userId": {
- "description": "Identifier of the user. When specified as a parameter of a request, this identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user",
- "type": "string"
- },
- "profile": {
- "$ref": "UserProfile",
- "description": "Global user information for the student. Read-only."
- },
- "studentWorkFolder": {
- "$ref": "DriveFolder",
- "description": "Information about a Drive Folder for this student's work in this course. Only visible to the student and domain administrators. Read-only."
- }
- },
- "type": "object"
- },
- "ListStudentsResponse": {
- "description": "Response when listing students.",
- "id": "ListStudentsResponse",
- "properties": {
- "students": {
- "description": "Students who match the list request.",
- "items": {
- "$ref": "Student"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "Token identifying the next page of results to return. If empty, no further results are available.",
+ "description": "Alias string. The format of the string indicates the desired alias scoping.\n\n* `d:<name>` indicates a domain-scoped alias.\n Example: `d:math_101`\n* `p:<name>` indicates a project-scoped alias.\n Example: `p:abc123`\n\nThis field has a maximum length of 256 characters.",
"type": "string"
}
},
@@ -2069,23 +2096,31 @@
"id": "ListGuardiansResponse",
"properties": {
"guardians": {
- "description": "Guardians on this page of results that met the criteria specified in the request.",
+ "description": "Guardians on this page of results that met the criteria specified in\nthe request.",
"items": {
"$ref": "Guardian"
},
"type": "array"
},
"nextPageToken": {
- "description": "Token identifying the next page of results to return. If empty, no further results are available.",
+ "description": "Token identifying the next page of results to return. If empty, no further\nresults are available.",
"type": "string"
}
},
"type": "object"
},
"Guardian": {
- "description": "Association between a student and a guardian of that student. The guardian may receive information about the student's course work.",
+ "description": "Association between a student and a guardian of that student. The guardian\nmay receive information about the student's course work.",
"id": "Guardian",
"properties": {
+ "guardianProfile": {
+ "$ref": "UserProfile",
+ "description": "User profile for the guardian."
+ },
+ "invitedEmailAddress": {
+ "description": "The email address to which the initial guardian invitation was sent.\nThis field is only visible to domain administrators.",
+ "type": "string"
+ },
"studentId": {
"description": "Identifier for the student to whom the guardian relationship applies.",
"type": "string"
@@ -2093,179 +2128,295 @@
"guardianId": {
"description": "Identifier for the guardian.",
"type": "string"
- },
- "guardianProfile": {
- "$ref": "UserProfile",
- "description": "User profile for the guardian."
- },
- "invitedEmailAddress": {
- "description": "The email address to which the initial guardian invitation was sent. This field is only visible to domain administrators.",
- "type": "string"
}
},
"type": "object"
},
- "Invitation": {
- "description": "An invitation to join a course.",
- "id": "Invitation",
+ "Teacher": {
+ "description": "Teacher of a course.",
+ "id": "Teacher",
"properties": {
- "id": {
- "description": "Identifier assigned by Classroom. Read-only.",
+ "courseId": {
+ "description": "Identifier of the course.\n\nRead-only.",
"type": "string"
},
+ "profile": {
+ "$ref": "UserProfile",
+ "description": "Global user information for the teacher.\n\nRead-only."
+ },
"userId": {
- "description": "Identifier of the invited user. When specified as a parameter of a request, this identifier can be set to one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user",
- "type": "string"
- },
- "courseId": {
- "description": "Identifier of the course to invite the user to.",
- "type": "string"
- },
- "role": {
- "description": "Role to invite the user to have. Must not be `COURSE_ROLE_UNSPECIFIED`.",
- "enum": [
- "COURSE_ROLE_UNSPECIFIED",
- "STUDENT",
- "TEACHER"
- ],
+ "description": "Identifier of the user.\n\nWhen specified as a parameter of a request, this identifier can be one of\nthe following:\n\n* the numeric identifier for the user\n* the email address of the user\n* the string literal `\"me\"`, indicating the requesting user",
"type": "string"
}
},
"type": "object"
},
- "ListInvitationsResponse": {
- "description": "Response when listing invitations.",
- "id": "ListInvitationsResponse",
+ "UserProfile": {
+ "description": "Global information for a user.",
+ "id": "UserProfile",
"properties": {
- "invitations": {
- "description": "Invitations that match the list request.",
+ "emailAddress": {
+ "description": "Email address of the user.\n\nRead-only.",
+ "type": "string"
+ },
+ "permissions": {
+ "description": "Global permissions of the user.\n\nRead-only.",
"items": {
- "$ref": "Invitation"
+ "$ref": "GlobalPermission"
},
"type": "array"
},
- "nextPageToken": {
- "description": "Token identifying the next page of results to return. If empty, no further results are available.",
+ "id": {
+ "description": "Identifier of the user.\n\nRead-only.",
+ "type": "string"
+ },
+ "name": {
+ "$ref": "Name",
+ "description": "Name of the user.\n\nRead-only."
+ },
+ "photoUrl": {
+ "description": "URL of user's profile photo.\n\nRead-only.",
"type": "string"
}
},
"type": "object"
},
- "CourseWork": {
- "description": "Course work created by a teacher for students of the course.",
- "id": "CourseWork",
+ "ReclaimStudentSubmissionRequest": {
+ "description": "Request to reclaim a student submission.",
+ "id": "ReclaimStudentSubmissionRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "Student": {
+ "description": "Student in a course.",
+ "id": "Student",
"properties": {
"courseId": {
- "description": "Identifier of the course. Read-only.",
+ "description": "Identifier of the course.\n\nRead-only.",
"type": "string"
},
+ "profile": {
+ "$ref": "UserProfile",
+ "description": "Global user information for the student.\n\nRead-only."
+ },
+ "studentWorkFolder": {
+ "$ref": "DriveFolder",
+ "description": "Information about a Drive Folder for this student's work in this course.\nOnly visible to the student and domain administrators.\n\nRead-only."
+ },
+ "userId": {
+ "description": "Identifier of the user.\n\nWhen specified as a parameter of a request, this identifier can be one of\nthe following:\n\n* the numeric identifier for the user\n* the email address of the user\n* the string literal `\"me\"`, indicating the requesting user",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListTeachersResponse": {
+ "description": "Response when listing teachers.",
+ "id": "ListTeachersResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "Token identifying the next page of results to return. If empty, no further\nresults are available.",
+ "type": "string"
+ },
+ "teachers": {
+ "description": "Teachers who match the list request.",
+ "items": {
+ "$ref": "Teacher"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Course": {
+ "description": "A Course in Classroom.",
+ "id": "Course",
+ "properties": {
"id": {
- "description": "Classroom-assigned identifier of this course work, unique per course. Read-only.",
- "type": "string"
- },
- "title": {
- "description": "Title of this course work. The title must be a valid UTF-8 string containing between 1 and 3000 characters.",
+ "description": "Identifier for this course assigned by Classroom.\n\nWhen\ncreating a course,\nyou may optionally set this identifier to an\nalias string in the\nrequest to create a corresponding alias. The `id` is still assigned by\nClassroom and cannot be updated after the course is created.\n\nSpecifying this field in a course update mask results in an error.",
"type": "string"
},
"description": {
- "description": "Optional description of this course work. If set, the description must be a valid UTF-8 string containing no more than 30,000 characters.",
- "type": "string"
- },
- "materials": {
- "description": "Additional materials. CourseWork must have no more than 20 material items.",
- "items": {
- "$ref": "Material"
- },
- "type": "array"
- },
- "state": {
- "description": "Status of this course work. If unspecified, the default state is `DRAFT`.",
- "enum": [
- "COURSE_WORK_STATE_UNSPECIFIED",
- "PUBLISHED",
- "DRAFT",
- "DELETED"
- ],
- "type": "string"
- },
- "alternateLink": {
- "description": "Absolute link to this course work in the Classroom web UI. This is only populated if `state` is `PUBLISHED`. Read-only.",
- "type": "string"
- },
- "creationTime": {
- "description": "Timestamp when this course work was created. Read-only.",
+ "description": "Optional description.\nFor example, \"We'll be learning about the structure of living\ncreatures from a combination of textbooks, guest lectures, and lab work.\nExpect to be excited!\"\nIf set, this field must be a valid UTF-8 string and no longer than 30,000\ncharacters.",
"type": "string"
},
"updateTime": {
- "description": "Timestamp of the most recent change to this course work. Read-only.",
+ "description": "Time of the most recent update to this course.\nSpecifying this field in a course update mask results in an error.\n\nRead-only.",
+ "format": "google-datetime",
"type": "string"
},
- "dueDate": {
- "$ref": "Date",
- "description": "Optional date, in UTC, that submissions for this this course work are due. This must be specified if `due_time` is specified."
- },
- "dueTime": {
- "$ref": "TimeOfDay",
- "description": "Optional time of day, in UTC, that submissions for this this course work are due. This must be specified if `due_date` is specified."
- },
- "maxPoints": {
- "description": "Maximum grade for this course work. If zero or unspecified, this assignment is considered ungraded. This must be a non-negative integer value.",
- "format": "double",
- "type": "number"
- },
- "workType": {
- "description": "Type of this course work. The type is set when the course work is created and cannot be changed.",
- "enum": [
- "COURSE_WORK_TYPE_UNSPECIFIED",
- "ASSIGNMENT",
- "SHORT_ANSWER_QUESTION",
- "MULTIPLE_CHOICE_QUESTION"
- ],
+ "section": {
+ "description": "Section of the course.\nFor example, \"Period 2\".\nIf set, this field must be a valid UTF-8 string and no longer than 2800\ncharacters.",
"type": "string"
},
- "associatedWithDeveloper": {
- "description": "Whether this course work item is associated with the Developer Console project making the request. See google.classroom.Work.CreateCourseWork for more details. Read-only.",
+ "alternateLink": {
+ "description": "Absolute link to this course in the Classroom web UI.\n\nRead-only.",
+ "type": "string"
+ },
+ "teacherGroupEmail": {
+ "description": "The email address of a Google group containing all teachers of the course.\nThis group does not accept email and can only be used for permissions.\n\nRead-only.",
+ "type": "string"
+ },
+ "guardiansEnabled": {
+ "description": "Whether or not guardian notifications are enabled for this course.\n\nRead-only.",
"type": "boolean"
},
- "submissionModificationMode": {
- "description": "Setting to determine when students are allowed to modify submissions. If unspecified, the default value is `MODIFIABLE_UNTIL_TURNED_IN`.",
+ "ownerId": {
+ "description": "The identifier of the owner of a course.\n\nWhen specified as a parameter of a\ncreate course request, this\nfield is required.\nThe identifier can be one of the following:\n\n* the numeric identifier for the user\n* the email address of the user\n* the string literal `\"me\"`, indicating the requesting user\n\nThis must be set in a create request. Specifying this field in a course\nupdate mask results in an `INVALID_ARGUMENT` error.",
+ "type": "string"
+ },
+ "descriptionHeading": {
+ "description": "Optional heading for the description.\nFor example, \"Welcome to 10th Grade Biology.\"\nIf set, this field must be a valid UTF-8 string and no longer than 3600\ncharacters.",
+ "type": "string"
+ },
+ "courseGroupEmail": {
+ "description": "The email address of a Google group containing all members of the course.\nThis group does not accept email and can only be used for permissions.\n\nRead-only.",
+ "type": "string"
+ },
+ "courseState": {
+ "description": "State of the course.\nIf unspecified, the default state is `PROVISIONED`.",
"enum": [
- "SUBMISSION_MODIFICATION_MODE_UNSPECIFIED",
- "MODIFIABLE_UNTIL_TURNED_IN",
- "MODIFIABLE"
+ "COURSE_STATE_UNSPECIFIED",
+ "ACTIVE",
+ "ARCHIVED",
+ "PROVISIONED",
+ "DECLINED",
+ "SUSPENDED"
+ ],
+ "enumDescriptions": [
+ "No course state. No returned Course message will use this value.",
+ "The course is active.",
+ "The course has been archived. You cannot modify it except to change it\nto a different state.",
+ "The course has been created, but not yet activated. It is accessible by\nthe primary teacher and domain administrators, who may modify it or\nchange it to the `ACTIVE` or `DECLINED` states.\nA course may only be changed to `PROVISIONED` if it is in the `DECLINED`\nstate.",
+ "The course has been created, but declined. It is accessible by the\ncourse owner and domain administrators, though it will not be\ndisplayed in the web UI. You cannot modify the course except to change it\nto the `PROVISIONED` state.\nA course may only be changed to `DECLINED` if it is in the `PROVISIONED`\nstate.",
+ "The course has been suspended. You cannot modify the course, and only the\nuser identified by the `owner_id` can view the course.\nA course may be placed in this state if it potentially violates the\nTerms of Service."
],
"type": "string"
},
- "assignment": {
- "$ref": "Assignment",
- "description": "Assignment details. This is populated only when `work_type` is `ASSIGNMENT`. Read-only."
+ "room": {
+ "description": "Optional room location.\nFor example, \"301\".\nIf set, this field must be a valid UTF-8 string and no longer than 650\ncharacters.",
+ "type": "string"
},
- "multipleChoiceQuestion": {
- "$ref": "MultipleChoiceQuestion",
- "description": "Multiple choice question details. For read operations, this field is populated only when `work_type` is `MULTIPLE_CHOICE_QUESTION`. For write operations, this field must be specified when creating course work with a `work_type` of `MULTIPLE_CHOICE_QUESTION`, and it must not be set otherwise."
+ "name": {
+ "description": "Name of the course.\nFor example, \"10th Grade Biology\".\nThe name is required. It must be between 1 and 750 characters and a valid\nUTF-8 string.",
+ "type": "string"
+ },
+ "creationTime": {
+ "description": "Creation time of the course.\nSpecifying this field in a course update mask results in an error.\n\nRead-only.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "enrollmentCode": {
+ "description": "Enrollment code to use when joining this course.\nSpecifying this field in a course update mask results in an error.\n\nRead-only.",
+ "type": "string"
+ },
+ "teacherFolder": {
+ "$ref": "DriveFolder",
+ "description": "Information about a Drive Folder that is shared with all teachers of the\ncourse.\n\nThis field will only be set for teachers of the course and domain administrators.\n\nRead-only."
+ },
+ "courseMaterialSets": {
+ "description": "Sets of materials that appear on the \"about\" page of this course.\n\nRead-only.",
+ "items": {
+ "$ref": "CourseMaterialSet"
+ },
+ "type": "array"
}
},
"type": "object"
},
- "Material": {
- "description": "Material attached to course work. When creating attachments, setting the `form` field is not supported.",
- "id": "Material",
+ "ReturnStudentSubmissionRequest": {
+ "description": "Request to return a student submission.",
+ "id": "ReturnStudentSubmissionRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "GuardianInvitation": {
+ "description": "An invitation to become the guardian of a specified user, sent to a specified\nemail address.",
+ "id": "GuardianInvitation",
"properties": {
- "driveFile": {
- "$ref": "SharedDriveFile",
- "description": "Google Drive file material."
+ "creationTime": {
+ "description": "The time that this invitation was created.\n\nRead-only.",
+ "format": "google-datetime",
+ "type": "string"
},
- "youtubeVideo": {
- "$ref": "YouTubeVideo",
- "description": "YouTube video material."
+ "invitationId": {
+ "description": "Unique identifier for this invitation.\n\nRead-only.",
+ "type": "string"
},
- "link": {
- "$ref": "Link",
- "description": "Link material. On creation, will be upgraded to a more appropriate type if possible, and this will be reflected in the response."
+ "state": {
+ "description": "The state that this invitation is in.",
+ "enum": [
+ "GUARDIAN_INVITATION_STATE_UNSPECIFIED",
+ "PENDING",
+ "COMPLETE"
+ ],
+ "enumDescriptions": [
+ "Should never be returned.",
+ "The invitation is active and awaiting a response.",
+ "The invitation is no longer active. It may have been accepted, declined,\nwithdrawn or it may have expired."
+ ],
+ "type": "string"
},
- "form": {
- "$ref": "Form",
- "description": "Google Forms material."
+ "invitedEmailAddress": {
+ "description": "Email address that the invitation was sent to.\nThis field is only visible to domain administrators.",
+ "type": "string"
+ },
+ "studentId": {
+ "description": "ID of the student (in standard format)",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "TurnInStudentSubmissionRequest": {
+ "description": "Request to turn in a student submission.",
+ "id": "TurnInStudentSubmissionRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "YouTubeVideo": {
+ "description": "YouTube video item.",
+ "id": "YouTubeVideo",
+ "properties": {
+ "thumbnailUrl": {
+ "description": "URL of a thumbnail image of the YouTube video.\n\nRead-only.",
+ "type": "string"
+ },
+ "title": {
+ "description": "Title of the YouTube video.\n\nRead-only.",
+ "type": "string"
+ },
+ "alternateLink": {
+ "description": "URL that can be used to view the YouTube video.\n\nRead-only.",
+ "type": "string"
+ },
+ "id": {
+ "description": "YouTube API resource ID.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
+ "ListCourseWorkResponse": {
+ "description": "Response when listing course work.",
+ "id": "ListCourseWorkResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "Token identifying the next page of results to return. If empty, no further\nresults are available.",
+ "type": "string"
+ },
+ "courseWork": {
+ "description": "Course work items that match the request.",
+ "items": {
+ "$ref": "CourseWork"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -2286,54 +2437,89 @@
"EDIT",
"STUDENT_COPY"
],
+ "enumDescriptions": [
+ "No sharing mode specified. This should never be returned.",
+ "Students can view the shared file.",
+ "Students can edit the shared file.",
+ "Students have a personal copy of the shared file."
+ ],
"type": "string"
}
},
"type": "object"
},
+ "GlobalPermission": {
+ "description": "Global user permission description.",
+ "id": "GlobalPermission",
+ "properties": {
+ "permission": {
+ "description": "Permission value.",
+ "enum": [
+ "PERMISSION_UNSPECIFIED",
+ "CREATE_COURSE"
+ ],
+ "enumDescriptions": [
+ "No permission is specified. This is not returned and is not a\nvalid value.",
+ "User is permitted to create a course."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Material": {
+ "description": "Material attached to course work.\n\nWhen creating attachments, setting the `form` field is not supported.",
+ "id": "Material",
+ "properties": {
+ "driveFile": {
+ "$ref": "SharedDriveFile",
+ "description": "Google Drive file material."
+ },
+ "link": {
+ "$ref": "Link",
+ "description": "Link material. On creation, will be upgraded to a more appropriate type\nif possible, and this will be reflected in the response."
+ },
+ "youtubeVideo": {
+ "$ref": "YouTubeVideo",
+ "description": "YouTube video material."
+ },
+ "form": {
+ "$ref": "Form",
+ "description": "Google Forms material."
+ }
+ },
+ "type": "object"
+ },
+ "AssignmentSubmission": {
+ "description": "Student work for an assignment.",
+ "id": "AssignmentSubmission",
+ "properties": {
+ "attachments": {
+ "description": "Attachments added by the student.\nDrive files that correspond to materials with a share mode of\nSTUDENT_COPY may not exist yet if the student has not accessed the\nassignment in Classroom.\n\nSome attachment metadata is only populated if the requesting user has\npermission to access it. Identifier and alternate_link fields are always\navailable, but others (e.g. title) may not be.",
+ "items": {
+ "$ref": "Attachment"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"Date": {
- "description": "Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.",
+ "description": "Represents a whole calendar date, e.g. date of birth. The time of day and\ntime zone are either specified elsewhere or are not significant. The date\nis relative to the Proleptic Gregorian Calendar. The day may be 0 to\nrepresent a year and month where the day is not significant, e.g. credit card\nexpiration date. The year may be 0 to represent a month and day independent\nof year, e.g. anniversary date. Related types are google.type.TimeOfDay\nand `google.protobuf.Timestamp`.",
"id": "Date",
"properties": {
- "year": {
- "description": "Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.",
- "format": "int32",
- "type": "integer"
- },
"month": {
"description": "Month of year. Must be from 1 to 12.",
"format": "int32",
"type": "integer"
},
+ "year": {
+ "description": "Year of date. Must be from 1 to 9999, or 0 if specifying a date without\na year.",
+ "format": "int32",
+ "type": "integer"
+ },
"day": {
- "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not significant.",
- "format": "int32",
- "type": "integer"
- }
- },
- "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 chose 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"
- },
- "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"
- },
- "nanos": {
- "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.",
+ "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0\nif specifying a year/month where the day is not significant.",
"format": "int32",
"type": "integer"
}
@@ -2346,184 +2532,57 @@
"properties": {
"studentWorkFolder": {
"$ref": "DriveFolder",
- "description": "Drive folder where attachments from student submissions are placed. This is only populated for course teachers."
+ "description": "Drive folder where attachments from student submissions are placed.\nThis is only populated for course teachers."
}
},
"type": "object"
},
- "MultipleChoiceQuestion": {
- "description": "Additional details for multiple-choice questions.",
- "id": "MultipleChoiceQuestion",
+ "ListCoursesResponse": {
+ "description": "Response when listing courses.",
+ "id": "ListCoursesResponse",
"properties": {
- "choices": {
- "description": "Possible choices.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "ListCourseWorkResponse": {
- "description": "Response when listing course work.",
- "id": "ListCourseWorkResponse",
- "properties": {
- "courseWork": {
- "description": "Course work items that match the request.",
- "items": {
- "$ref": "CourseWork"
- },
- "type": "array"
- },
"nextPageToken": {
- "description": "Token identifying the next page of results to return. If empty, no further results are available.",
+ "description": "Token identifying the next page of results to return. If empty, no further\nresults are available.",
"type": "string"
+ },
+ "courses": {
+ "description": "Courses that match the list request.",
+ "items": {
+ "$ref": "Course"
+ },
+ "type": "array"
}
},
"type": "object"
},
- "StudentSubmission": {
- "description": "Student submission for course work. StudentSubmission items are generated when a CourseWork item is created. StudentSubmissions that have never been accessed (i.e. with `state` = NEW) may not have a creation time or update time.",
- "id": "StudentSubmission",
+ "Invitation": {
+ "description": "An invitation to join a course.",
+ "id": "Invitation",
"properties": {
"courseId": {
- "description": "Identifier of the course. Read-only.",
+ "description": "Identifier of the course to invite the user to.",
"type": "string"
},
- "courseWorkId": {
- "description": "Identifier for the course work this corresponds to. Read-only.",
- "type": "string"
- },
- "id": {
- "description": "Classroom-assigned Identifier for the student submission. This is unique among submissions for the relevant course work. Read-only.",
+ "role": {
+ "description": "Role to invite the user to have.\nMust not be `COURSE_ROLE_UNSPECIFIED`.",
+ "enum": [
+ "COURSE_ROLE_UNSPECIFIED",
+ "STUDENT",
+ "TEACHER"
+ ],
+ "enumDescriptions": [
+ "No course role.",
+ "Student in the course.",
+ "Teacher of the course."
+ ],
"type": "string"
},
"userId": {
- "description": "Identifier for the student that owns this submission. Read-only.",
+ "description": "Identifier of the invited user.\n\nWhen specified as a parameter of a request, this identifier can be set to\none of the following:\n\n* the numeric identifier for the user\n* the email address of the user\n* the string literal `\"me\"`, indicating the requesting user",
"type": "string"
},
- "creationTime": {
- "description": "Creation time of this submission. This may be unset if the student has not accessed this item. Read-only.",
- "type": "string"
- },
- "updateTime": {
- "description": "Last update time of this submission. This may be unset if the student has not accessed this item. Read-only.",
- "type": "string"
- },
- "state": {
- "description": "State of this submission. Read-only.",
- "enum": [
- "SUBMISSION_STATE_UNSPECIFIED",
- "NEW",
- "CREATED",
- "TURNED_IN",
- "RETURNED",
- "RECLAIMED_BY_STUDENT"
- ],
- "type": "string"
- },
- "late": {
- "description": "Whether this submission is late. Read-only.",
- "type": "boolean"
- },
- "draftGrade": {
- "description": "Optional pending grade. If unset, no grade was set. This must be a non-negative integer value. This is only visible to and modifiable by course teachers.",
- "format": "double",
- "type": "number"
- },
- "assignedGrade": {
- "description": "Optional grade. If unset, no grade was set. This must be a non-negative integer value. This may be modified only by course teachers.",
- "format": "double",
- "type": "number"
- },
- "alternateLink": {
- "description": "Absolute link to the submission in the Classroom web UI. Read-only.",
- "type": "string"
- },
- "courseWorkType": {
- "description": "Type of course work this submission is for. Read-only.",
- "enum": [
- "COURSE_WORK_TYPE_UNSPECIFIED",
- "ASSIGNMENT",
- "SHORT_ANSWER_QUESTION",
- "MULTIPLE_CHOICE_QUESTION"
- ],
- "type": "string"
- },
- "associatedWithDeveloper": {
- "description": "Whether this student submission is associated with the Developer Console project making the request. See google.classroom.Work.CreateCourseWork for more details. Read-only.",
- "type": "boolean"
- },
- "assignmentSubmission": {
- "$ref": "AssignmentSubmission",
- "description": "Submission content when course_work_type is ASSIGNMENT ."
- },
- "shortAnswerSubmission": {
- "$ref": "ShortAnswerSubmission",
- "description": "Submission content when course_work_type is SHORT_ANSWER_QUESTION."
- },
- "multipleChoiceSubmission": {
- "$ref": "MultipleChoiceSubmission",
- "description": "Submission content when course_work_type is MULTIPLE_CHOICE_QUESTION."
- }
- },
- "type": "object"
- },
- "AssignmentSubmission": {
- "description": "Student work for an assignment.",
- "id": "AssignmentSubmission",
- "properties": {
- "attachments": {
- "description": "Attachments added by the student. Drive files that correspond to materials with a share mode of STUDENT_COPY may not exist yet if the student has not accessed the assignment in Classroom. Some attachment metadata is only populated if the requesting user has permission to access it. Identifier and alternate_link fields are always available, but others (e.g. title) may not be.",
- "items": {
- "$ref": "Attachment"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Attachment": {
- "description": "Attachment added to student assignment work. When creating attachments, setting the `form` field is not supported.",
- "id": "Attachment",
- "properties": {
- "driveFile": {
- "$ref": "DriveFile",
- "description": "Google Drive file attachment."
- },
- "youTubeVideo": {
- "$ref": "YouTubeVideo",
- "description": "Youtube video attachment."
- },
- "link": {
- "$ref": "Link",
- "description": "Link attachment."
- },
- "form": {
- "$ref": "Form",
- "description": "Google Forms attachment."
- }
- },
- "type": "object"
- },
- "ShortAnswerSubmission": {
- "description": "Student work for a short answer question.",
- "id": "ShortAnswerSubmission",
- "properties": {
- "answer": {
- "description": "Student response to a short-answer question.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "MultipleChoiceSubmission": {
- "description": "Student work for a multiple-choice question.",
- "id": "MultipleChoiceSubmission",
- "properties": {
- "answer": {
- "description": "Student's select choice.",
+ "id": {
+ "description": "Identifier assigned by Classroom.\n\nRead-only.",
"type": "string"
}
},
@@ -2533,43 +2592,69 @@
"description": "Response when listing student submissions.",
"id": "ListStudentSubmissionsResponse",
"properties": {
+ "nextPageToken": {
+ "description": "Token identifying the next page of results to return. If empty, no further\nresults are available.",
+ "type": "string"
+ },
"studentSubmissions": {
"description": "Student work that matches the request.",
"items": {
"$ref": "StudentSubmission"
},
"type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Name": {
+ "description": "Details of the user's name.",
+ "id": "Name",
+ "properties": {
+ "givenName": {
+ "description": "The user's first name.\n\nRead-only.",
+ "type": "string"
},
- "nextPageToken": {
- "description": "Token identifying the next page of results to return. If empty, no further results are available.",
+ "familyName": {
+ "description": "The user's last name.\n\nRead-only.",
+ "type": "string"
+ },
+ "fullName": {
+ "description": "The user's full name formed by concatenating the first and last name\nvalues.\n\nRead-only.",
"type": "string"
}
},
"type": "object"
},
- "TurnInStudentSubmissionRequest": {
- "description": "Request to turn in a student submission.",
- "id": "TurnInStudentSubmissionRequest",
- "type": "object"
- },
- "ReclaimStudentSubmissionRequest": {
- "description": "Request to reclaim a student submission.",
- "id": "ReclaimStudentSubmissionRequest",
- "type": "object"
- },
- "ReturnStudentSubmissionRequest": {
- "description": "Request to return a student submission.",
- "id": "ReturnStudentSubmissionRequest",
- "type": "object"
- },
- "ModifyAttachmentsRequest": {
- "description": "Request to modify the attachments of a student submission.",
- "id": "ModifyAttachmentsRequest",
+ "ListInvitationsResponse": {
+ "description": "Response when listing invitations.",
+ "id": "ListInvitationsResponse",
"properties": {
- "addAttachments": {
- "description": "Attachments to add. A student submission may not have more than 20 attachments. Form attachments are not supported.",
+ "nextPageToken": {
+ "description": "Token identifying the next page of results to return. If empty, no further\nresults are available.",
+ "type": "string"
+ },
+ "invitations": {
+ "description": "Invitations that match the list request.",
"items": {
- "$ref": "Attachment"
+ "$ref": "Invitation"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListStudentsResponse": {
+ "description": "Response when listing students.",
+ "id": "ListStudentsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "Token identifying the next page of results to return. If empty, no further\nresults are available.",
+ "type": "string"
+ },
+ "students": {
+ "description": "Students who match the list request.",
+ "items": {
+ "$ref": "Student"
},
"type": "array"
}
diff --git a/discovery/googleapis/cloudbilling__v1.json b/discovery/googleapis/cloudbilling__v1.json
index 65f43be..8edbe99 100644
--- a/discovery/googleapis/cloudbilling__v1.json
+++ b/discovery/googleapis/cloudbilling__v1.json
@@ -11,10 +11,9 @@
"basePath": "",
"baseUrl": "https://cloudbilling.googleapis.com/",
"batchPath": "batch",
- "description": "Retrieves Google Developers Console billing accounts and associates them with projects.",
+ "description": "Allows developers to manage billing for their Google Cloud Platform projects\n programmatically.",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/billing/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/M2VzqGfwqR0FviWkPggfCzE5zZU\"",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
@@ -30,39 +29,19 @@
"location": "query",
"type": "string"
},
- "alt": {
- "default": "json",
- "description": "Data format for response.",
- "enumDescriptions": [
- "Responses with Content-Type of application/json",
- "Media download with context-dependent Content-Type",
- "Responses with Content-Type of application/x-protobuf"
- ],
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
"location": "query",
- "type": "string"
- },
- "bearer_token": {
- "description": "OAuth bearer token.",
- "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"
+ "type": "boolean"
},
"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.",
+ "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"
},
@@ -72,19 +51,47 @@
"location": "query",
"type": "boolean"
},
- "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.",
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "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"
+ },
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
@@ -93,22 +100,78 @@
"location": "query",
"type": "string"
},
- "$.xgafv": {
- "description": "V1 error format.",
- "enumDescriptions": [
- "v1 error format",
- "v2 error format"
- ],
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
},
"protocol": "rest",
"resources": {
+ "projects": {
+ "methods": {
+ "updateBillingInfo": {
+ "description": "Sets or updates the billing account associated with a project. You specify\nthe new billing account by setting the `billing_account_name` in the\n`ProjectBillingInfo` resource to the resource name of a billing account.\nAssociating a project with an open billing account enables billing on the\nproject and allows charges for resource usage. If the project already had a\nbilling account, this method changes the billing account used for resource\nusage charges.\n\n*Note:* Incurred charges that have not yet been reported in the transaction\nhistory of the Google Cloud Console may be billed to the new billing\naccount, even if the charge occurred before the new billing account was\nassigned to the project.\n\nThe current authenticated user must have ownership privileges for both the\n[project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo\n) and the [billing\naccount](https://support.google.com/cloud/answer/4430947).\n\nYou can disable billing on the project by setting the\n`billing_account_name` field to empty. This action disassociates the\ncurrent billing account from the project. Any billable activity of your\nin-use services will stop, and your application could stop functioning as\nexpected. Any unbilled charges to date will be billed to the previously\nassociated account. The current authenticated user must be either an owner\nof the project or an owner of the billing account for the project.\n\nNote that associating a project with a *closed* billing account will have\nmuch the same effect as disabling billing on the project: any paid\nresources used by the project will be shut down. Thus, unless you wish to\ndisable billing, you should always call this method with the name of an\n*open* billing account.",
+ "httpMethod": "PUT",
+ "id": "cloudbilling.projects.updateBillingInfo",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The resource name of the project associated with the billing information\nthat you want to update. For example, `projects/tokyo-rain-123`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}/billingInfo",
+ "request": {
+ "$ref": "ProjectBillingInfo"
+ },
+ "response": {
+ "$ref": "ProjectBillingInfo"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "getBillingInfo": {
+ "description": "Gets the billing information for a project. The current authenticated user\nmust have [permission to view the\nproject](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo\n).",
+ "httpMethod": "GET",
+ "id": "cloudbilling.projects.getBillingInfo",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The resource name of the project for which billing information is\nretrieved. For example, `projects/tokyo-rain-123`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}/billingInfo",
+ "response": {
+ "$ref": "ProjectBillingInfo"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
"billingAccounts": {
"methods": {
"get": {
- "description": "Gets information about a billing account. The current authenticated user must be an [owner of the billing account](https://support.google.com/cloud/answer/4430947).",
+ "description": "Gets information about a billing account. The current authenticated user\nmust be an [owner of the billing\naccount](https://support.google.com/cloud/answer/4430947).",
"httpMethod": "GET",
"id": "cloudbilling.billingAccounts.get",
"parameterOrder": [
@@ -116,9 +179,9 @@
],
"parameters": {
"name": {
- "description": "The resource name of the billing account to retrieve. For example, `billingAccounts/012345-567890-ABCDEF`.",
+ "description": "The resource name of the billing account to retrieve. For example,\n`billingAccounts/012345-567890-ABCDEF`.",
"location": "path",
- "pattern": "^billingAccounts/[^/]*$",
+ "pattern": "^billingAccounts/[^/]+$",
"required": true,
"type": "string"
}
@@ -132,18 +195,19 @@
]
},
"list": {
- "description": "Lists the billing accounts that the current authenticated user [owns](https://support.google.com/cloud/answer/4430947).",
+ "description": "Lists the billing accounts that the current authenticated user\n[owns](https://support.google.com/cloud/answer/4430947).",
"httpMethod": "GET",
"id": "cloudbilling.billingAccounts.list",
+ "parameterOrder": [],
"parameters": {
"pageSize": {
- "description": "Requested page size. The maximum page size is 100; this is also the default.",
+ "description": "Requested page size. The maximum page size is 100; this is also the\ndefault.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListBillingAccounts` call. If unspecified, the first page of results is returned.",
+ "description": "A token identifying a page of results to return. This should be a\n`next_page_token` value returned from a previous `ListBillingAccounts`\ncall. If unspecified, the first page of results is returned.",
"location": "query",
"type": "string"
}
@@ -161,28 +225,28 @@
"projects": {
"methods": {
"list": {
- "description": "Lists the projects associated with a billing account. The current authenticated user must be an [owner of the billing account](https://support.google.com/cloud/answer/4430947).",
+ "description": "Lists the projects associated with a billing account. The current\nauthenticated user must be an [owner of the billing\naccount](https://support.google.com/cloud/answer/4430947).",
"httpMethod": "GET",
"id": "cloudbilling.billingAccounts.projects.list",
"parameterOrder": [
"name"
],
"parameters": {
- "name": {
- "description": "The resource name of the billing account associated with the projects that you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.",
- "location": "path",
- "pattern": "^billingAccounts/[^/]*$",
- "required": true,
- "type": "string"
- },
"pageSize": {
- "description": "Requested page size. The maximum page size is 100; this is also the default.",
+ "description": "Requested page size. The maximum page size is 100; this is also the\ndefault.",
"format": "int32",
"location": "query",
"type": "integer"
},
+ "name": {
+ "description": "The resource name of the billing account associated with the projects that\nyou want to list. For example, `billingAccounts/012345-567890-ABCDEF`.",
+ "location": "path",
+ "pattern": "^billingAccounts/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
"pageToken": {
- "description": "A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous `ListProjectBillingInfo` call. If unspecified, the first page of results is returned.",
+ "description": "A token identifying a page of results to be returned. This should be a\n`next_page_token` value returned from a previous `ListProjectBillingInfo`\ncall. If unspecified, the first page of results is returned.",
"location": "query",
"type": "string"
}
@@ -198,98 +262,29 @@
}
}
}
- },
- "projects": {
- "methods": {
- "getBillingInfo": {
- "description": "Gets the billing information for a project. The current authenticated user must have [permission to view the project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo ).",
- "httpMethod": "GET",
- "id": "cloudbilling.projects.getBillingInfo",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The resource name of the project for which billing information is retrieved. For example, `projects/tokyo-rain-123`.",
- "location": "path",
- "pattern": "^projects/[^/]*$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+name}/billingInfo",
- "response": {
- "$ref": "ProjectBillingInfo"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "updateBillingInfo": {
- "description": "Sets or updates the billing account associated with a project. You specify the new billing account by setting the `billing_account_name` in the `ProjectBillingInfo` resource to the resource name of a billing account. Associating a project with an open billing account enables billing on the project and allows charges for resource usage. If the project already had a billing account, this method changes the billing account used for resource usage charges. *Note:* Incurred charges that have not yet been reported in the transaction history of the Google Developers Console may be billed to the new billing account, even if the charge occurred before the new billing account was assigned to the project. The current authenticated user must have ownership privileges for both the [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo ) and the [billing account](https://support.google.com/cloud/answer/4430947). You can disable billing on the project by setting the `billing_account_name` field to empty. This action disassociates the current billing account from the project. Any billable activity of your in-use services will stop, and your application could stop functioning as expected. Any unbilled charges to date will be billed to the previously associated account. The current authenticated user must be either an owner of the project or an owner of the billing account for the project. Note that associating a project with a *closed* billing account will have much the same effect as disabling billing on the project: any paid resources used by the project will be shut down. Thus, unless you wish to disable billing, you should always call this method with the name of an *open* billing account.",
- "httpMethod": "PUT",
- "id": "cloudbilling.projects.updateBillingInfo",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The resource name of the project associated with the billing information that you want to update. For example, `projects/tokyo-rain-123`.",
- "location": "path",
- "pattern": "^projects/[^/]*$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+name}/billingInfo",
- "request": {
- "$ref": "ProjectBillingInfo"
- },
- "response": {
- "$ref": "ProjectBillingInfo"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- }
- }
}
},
- "revision": "20151222",
+ "revision": "20170210",
"rootUrl": "https://cloudbilling.googleapis.com/",
"schemas": {
- "BillingAccount": {
- "description": "A billing account in [Google Developers Console](https://console.developers.google.com/). You can assign a billing account to one or more projects.",
- "id": "BillingAccount",
+ "ProjectBillingInfo": {
+ "description": "Encapsulation of billing information for a Cloud Console project. A project\nhas at most one associated billing account at a time (but a billing account\ncan be assigned to multiple projects).",
+ "id": "ProjectBillingInfo",
"properties": {
- "name": {
- "description": "The resource name of the billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF` would be the resource name for billing account `012345-567890-ABCDEF`.",
- "type": "string"
- },
- "open": {
- "description": "True if the billing account is open, and will therefore be charged for any usage on associated projects. False if the billing account is closed, and therefore projects associated with it will be unable to use paid services.",
+ "billingEnabled": {
+ "description": "True if the project is associated with an open billing account, to which\nusage on the project is charged. False if the project is associated with a\nclosed billing account, or no billing account at all, and therefore cannot\nuse paid services. This field is read-only.",
"type": "boolean"
},
- "displayName": {
- "description": "The display name given to the billing account, such as `My Billing Account`. This name is displayed in the Google Developers Console.",
+ "name": {
+ "description": "The resource name for the `ProjectBillingInfo`; has the form\n`projects/{project_id}/billingInfo`. For example, the resource name for the\nbilling information for project `tokyo-rain-123` would be\n`projects/tokyo-rain-123/billingInfo`. This field is read-only.",
"type": "string"
- }
- },
- "type": "object"
- },
- "ListBillingAccountsResponse": {
- "description": "Response message for `ListBillingAccounts`.",
- "id": "ListBillingAccountsResponse",
- "properties": {
- "billingAccounts": {
- "description": "A list of billing accounts.",
- "items": {
- "$ref": "BillingAccount"
- },
- "type": "array"
},
- "nextPageToken": {
- "description": "A token to retrieve the next page of results. To retrieve the next page, call `ListBillingAccounts` again with the `page_token` field set to this value. This field is empty if there are no more results to retrieve.",
+ "projectId": {
+ "description": "The ID of the project that this `ProjectBillingInfo` represents, such as\n`tokyo-rain-123`. This is a convenience field so that you don't need to\nparse the `name` field to obtain a project ID. This field is read-only.",
+ "type": "string"
+ },
+ "billingAccountName": {
+ "description": "The resource name of the billing account associated with the project, if\nany. For example, `billingAccounts/012345-567890-ABCDEF`.",
"type": "string"
}
},
@@ -299,39 +294,53 @@
"description": "Request message for `ListProjectBillingInfoResponse`.",
"id": "ListProjectBillingInfoResponse",
"properties": {
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results. To retrieve the next page,\ncall `ListProjectBillingInfo` again with the `page_token` field set to this\nvalue. This field is empty if there are no more results to retrieve.",
+ "type": "string"
+ },
"projectBillingInfo": {
- "description": "A list of `ProjectBillingInfo` resources representing the projects associated with the billing account.",
+ "description": "A list of `ProjectBillingInfo` resources representing the projects\nassociated with the billing account.",
"items": {
"$ref": "ProjectBillingInfo"
},
"type": "array"
- },
- "nextPageToken": {
- "description": "A token to retrieve the next page of results. To retrieve the next page, call `ListProjectBillingInfo` again with the `page_token` field set to this value. This field is empty if there are no more results to retrieve.",
- "type": "string"
}
},
"type": "object"
},
- "ProjectBillingInfo": {
- "description": "Encapsulation of billing information for a Developers Console project. A project has at most one associated billing account at a time (but a billing account can be assigned to multiple projects).",
- "id": "ProjectBillingInfo",
+ "ListBillingAccountsResponse": {
+ "description": "Response message for `ListBillingAccounts`.",
+ "id": "ListBillingAccountsResponse",
"properties": {
- "name": {
- "description": "The resource name for the `ProjectBillingInfo`; has the form `projects/{project_id}/billingInfo`. For example, the resource name for the billing information for project `tokyo-rain-123` would be `projects/tokyo-rain-123/billingInfo`. This field is read-only.",
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results. To retrieve the next page,\ncall `ListBillingAccounts` again with the `page_token` field set to this\nvalue. This field is empty if there are no more results to retrieve.",
"type": "string"
},
- "projectId": {
- "description": "The ID of the project that this `ProjectBillingInfo` represents, such as `tokyo-rain-123`. This is a convenience field so that you don't need to parse the `name` field to obtain a project ID. This field is read-only.",
+ "billingAccounts": {
+ "description": "A list of billing accounts.",
+ "items": {
+ "$ref": "BillingAccount"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "BillingAccount": {
+ "description": "A billing account in [Google Cloud\nConsole](https://console.cloud.google.com/). You can assign a billing account\nto one or more projects.",
+ "id": "BillingAccount",
+ "properties": {
+ "displayName": {
+ "description": "The display name given to the billing account, such as `My Billing\nAccount`. This name is displayed in the Google Cloud Console.",
"type": "string"
},
- "billingAccountName": {
- "description": "The resource name of the billing account associated with the project, if any. For example, `billingAccounts/012345-567890-ABCDEF`.",
- "type": "string"
- },
- "billingEnabled": {
- "description": "True if the project is associated with an open billing account, to which usage on the project is charged. False if the project is associated with a closed billing account, or no billing account at all, and therefore cannot use paid services. This field is read-only.",
+ "open": {
+ "description": "True if the billing account is open, and will therefore be charged for any\nusage on associated projects. False if the billing account is closed, and\ntherefore projects associated with it will be unable to use paid services.",
"type": "boolean"
+ },
+ "name": {
+ "description": "The resource name of the billing account. The resource name has the form\n`billingAccounts/{billing_account_id}`. For example,\n`billingAccounts/012345-567890-ABCDEF` would be the resource name for\nbilling account `012345-567890-ABCDEF`.",
+ "type": "string"
}
},
"type": "object"
diff --git a/discovery/googleapis/cloudbuild__v1.json b/discovery/googleapis/cloudbuild__v1.json
index 762609c..a852eee 100644
--- a/discovery/googleapis/cloudbuild__v1.json
+++ b/discovery/googleapis/cloudbuild__v1.json
@@ -25,6 +25,12 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
+ "pp": {
+ "default": "true",
+ "description": "Pretty-print response.",
+ "location": "query",
+ "type": "boolean"
+ },
"bearer_token": {
"description": "OAuth bearer token.",
"location": "query",
@@ -90,13 +96,13 @@
"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.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
+ "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"
},
@@ -104,18 +110,144 @@
"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"
- },
- "pp": {
- "default": "true",
- "description": "Pretty-print response.",
- "location": "query",
- "type": "boolean"
}
},
"protocol": "rest",
"resources": {
"projects": {
"resources": {
+ "builds": {
+ "methods": {
+ "cancel": {
+ "description": "Cancels a requested build in progress.",
+ "httpMethod": "POST",
+ "id": "cloudbuild.projects.builds.cancel",
+ "parameterOrder": [
+ "projectId",
+ "id"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "ID of the project.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "id": {
+ "description": "ID of the build.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/builds/{id}:cancel",
+ "request": {
+ "$ref": "CancelBuildRequest"
+ },
+ "response": {
+ "$ref": "Build"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Returns information about a previously requested build.\n\nThe Build that is returned includes its status (e.g., success or failure,\nor in-progress), and timing information.",
+ "httpMethod": "GET",
+ "id": "cloudbuild.projects.builds.get",
+ "parameterOrder": [
+ "projectId",
+ "id"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "ID of the project.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "id": {
+ "description": "ID of the build.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/builds/{id}",
+ "response": {
+ "$ref": "Build"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Lists previously requested builds.\n\nPreviously requested builds may still be in-progress, or may have finished\nsuccessfully or unsuccessfully.",
+ "httpMethod": "GET",
+ "id": "cloudbuild.projects.builds.list",
+ "parameterOrder": [
+ "projectId"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "Number of results to return in the list.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "projectId": {
+ "description": "ID of the project.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "filter": {
+ "description": "The raw filter text to constrain the results.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "Token to provide to skip to a particular spot in the list.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/builds",
+ "response": {
+ "$ref": "ListBuildsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "create": {
+ "description": "Starts a build with the specified configuration.\n\nThe long-running Operation returned by this method will include the ID of\nthe build, which can be passed to GetBuild to determine its status (e.g.,\nsuccess or failure).",
+ "httpMethod": "POST",
+ "id": "cloudbuild.projects.builds.create",
+ "parameterOrder": [
+ "projectId"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "ID of the project.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/builds",
+ "request": {
+ "$ref": "Build"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
"triggers": {
"methods": {
"delete": {
@@ -261,138 +393,6 @@
]
}
}
- },
- "builds": {
- "methods": {
- "create": {
- "description": "Starts a build with the specified configuration.\n\nThe long-running Operation returned by this method will include the ID of\nthe build, which can be passed to GetBuild to determine its status (e.g.,\nsuccess or failure).",
- "httpMethod": "POST",
- "id": "cloudbuild.projects.builds.create",
- "parameterOrder": [
- "projectId"
- ],
- "parameters": {
- "projectId": {
- "description": "ID of the project.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/projects/{projectId}/builds",
- "request": {
- "$ref": "Build"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "cancel": {
- "description": "Cancels a requested build in progress.",
- "httpMethod": "POST",
- "id": "cloudbuild.projects.builds.cancel",
- "parameterOrder": [
- "projectId",
- "id"
- ],
- "parameters": {
- "projectId": {
- "description": "ID of the project.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "id": {
- "description": "ID of the build.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/projects/{projectId}/builds/{id}:cancel",
- "request": {
- "$ref": "CancelBuildRequest"
- },
- "response": {
- "$ref": "Build"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "get": {
- "description": "Returns information about a previously requested build.\n\nThe Build that is returned includes its status (e.g., success or failure,\nor in-progress), and timing information.",
- "httpMethod": "GET",
- "id": "cloudbuild.projects.builds.get",
- "parameterOrder": [
- "projectId",
- "id"
- ],
- "parameters": {
- "id": {
- "description": "ID of the build.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "projectId": {
- "description": "ID of the project.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/projects/{projectId}/builds/{id}",
- "response": {
- "$ref": "Build"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "list": {
- "description": "Lists previously requested builds.\n\nPreviously requested builds may still be in-progress, or may have finished\nsuccessfully or unsuccessfully.",
- "httpMethod": "GET",
- "id": "cloudbuild.projects.builds.list",
- "parameterOrder": [
- "projectId"
- ],
- "parameters": {
- "pageToken": {
- "description": "Token to provide to skip to a particular spot in the list.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Number of results to return in the list.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "projectId": {
- "description": "ID of the project.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "filter": {
- "description": "The raw filter text to constrain the results.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/projects/{projectId}/builds",
- "response": {
- "$ref": "ListBuildsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- }
- }
}
}
},
@@ -433,6 +433,11 @@
"name"
],
"parameters": {
+ "filter": {
+ "description": "The standard list filter.",
+ "location": "query",
+ "type": "string"
+ },
"name": {
"description": "The name of the operation collection.",
"location": "path",
@@ -450,11 +455,6 @@
"format": "int32",
"location": "query",
"type": "integer"
- },
- "filter": {
- "description": "The standard list filter.",
- "location": "query",
- "type": "string"
}
},
"path": "v1/{+name}",
@@ -492,248 +492,9 @@
}
}
},
- "revision": "20170302",
+ "revision": "20170323",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
- "BuildOperationMetadata": {
- "description": "Metadata for build operations.",
- "id": "BuildOperationMetadata",
- "properties": {
- "build": {
- "$ref": "Build",
- "description": "The build that the operation is tracking."
- }
- },
- "type": "object"
- },
- "SourceProvenance": {
- "description": "Provenance of the source. Ways to find the original source, or verify that\nsome source was used for this build.",
- "id": "SourceProvenance",
- "properties": {
- "fileHashes": {
- "additionalProperties": {
- "$ref": "FileHashes"
- },
- "description": "Hash(es) of the build source, which can be used to verify that the original\nsource integrity was maintained in the build. Note that FileHashes will\nonly be populated if BuildOptions has requested a SourceProvenanceHash.\n\nThe keys to this map are file paths used as build source and the values\ncontain the hash values for those files.\n\nIf the build source came in a single package such as a gzipped tarfile\n(.tar.gz), the FileHash will be for the single path to that file.\n@OutputOnly",
- "type": "object"
- },
- "resolvedRepoSource": {
- "$ref": "RepoSource",
- "description": "A copy of the build's source.repo_source, if exists, with any\nrevisions resolved."
- },
- "resolvedStorageSource": {
- "$ref": "StorageSource",
- "description": "A copy of the build's source.storage_source, if exists, with any\ngenerations resolved."
- }
- },
- "type": "object"
- },
- "CancelOperationRequest": {
- "description": "The request message for Operations.CancelOperation.",
- "id": "CancelOperationRequest",
- "properties": {},
- "type": "object"
- },
- "Operation": {
- "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
- "id": "Operation",
- "properties": {
- "response": {
- "additionalProperties": {
- "description": "Properties of the object. Contains field @type with type URL.",
- "type": "any"
- },
- "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
- "type": "object"
- },
- "name": {
- "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.",
- "type": "string"
- },
- "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\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
- "type": "object"
- },
- "done": {
- "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.",
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "ListBuildTriggersResponse": {
- "description": "Response containing existing BuildTriggers.",
- "id": "ListBuildTriggersResponse",
- "properties": {
- "triggers": {
- "description": "BuildTriggers for the project, sorted by create_time descending.",
- "items": {
- "$ref": "BuildTrigger"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "BuiltImage": {
- "description": "BuiltImage describes an image built by the pipeline.",
- "id": "BuiltImage",
- "properties": {
- "name": {
- "description": "Name used to push the container image to Google Container Registry, as\npresented to `docker push`.",
- "type": "string"
- },
- "digest": {
- "description": "Docker Registry 2.0 digest.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Hash": {
- "description": "Container message for hash values.",
- "id": "Hash",
- "properties": {
- "value": {
- "description": "The hash value.",
- "format": "byte",
- "type": "string"
- },
- "type": {
- "description": "The type of hash that was performed.",
- "enum": [
- "NONE",
- "SHA256"
- ],
- "enumDescriptions": [
- "No hash requested.",
- "Use a sha256 hash."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "RepoSource": {
- "description": "RepoSource describes the location of the source in a Google Cloud Source\nRepository.",
- "id": "RepoSource",
- "properties": {
- "tagName": {
- "description": "Name of the tag to build.",
- "type": "string"
- },
- "commitSha": {
- "description": "Explicit commit SHA to build.",
- "type": "string"
- },
- "projectId": {
- "description": "ID of the project that owns the repo. If omitted, the project ID requesting\nthe build is assumed.",
- "type": "string"
- },
- "repoName": {
- "description": "Name of the repo. If omitted, the name \"default\" is assumed.",
- "type": "string"
- },
- "branchName": {
- "description": "Name of the branch to build.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "BuildStep": {
- "description": "BuildStep describes a step to perform in the build pipeline.",
- "id": "BuildStep",
- "properties": {
- "entrypoint": {
- "description": "Optional entrypoint to be used instead of the build step image's default\nIf unset, the image's default will be used.",
- "type": "string"
- },
- "id": {
- "description": "Optional unique identifier for this build step, used in wait_for to\nreference this build step as a dependency.",
- "type": "string"
- },
- "dir": {
- "description": "Working directory (relative to project source root) to use when running\nthis operation's container.",
- "type": "string"
- },
- "waitFor": {
- "description": "The ID(s) of the step(s) that this build step depends on.\nThis build step will not start until all the build steps in wait_for\nhave completed successfully. If wait_for is empty, this build step will\nstart when all previous build steps in the Build.Steps list have completed\nsuccessfully.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "env": {
- "description": "A list of environment variable definitions to be used when running a step.\n\nThe elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\"\nbeing given the value \"VALUE\".",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "args": {
- "description": "A list of arguments that will be presented to the step when it is started.\n\nIf the image used to run the step's container has an entrypoint, these args\nwill be used as arguments to that entrypoint. If the image does not define\nan entrypoint, the first element in args will be used as the entrypoint,\nand the remainder will be used as arguments.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "name": {
- "description": "The name of the container image that will run this particular build step.\n\nIf the image is already available in the host's Docker daemon's cache, it\nwill be run directly. If not, the host will attempt to pull the image\nfirst, using the builder service account's credentials if necessary.\n\nThe Docker daemon's cache will already have the latest versions of all of\nthe officially supported build steps\n(https://github.com/GoogleCloudPlatform/cloud-builders). The Docker daemon\nwill also have cached many of the layers for some popular images, like\n\"ubuntu\", \"debian\", but they will be refreshed at the time you attempt to\nuse them.\n\nIf you built an image in a previous build step, it will be stored in the\nhost's Docker daemon's cache and is available to use as the name for a\nlater build step.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "FileHashes": {
- "description": "Container message for hashes of byte content of files, used in\nSourceProvenance messages to verify integrity of source input to the build.",
- "id": "FileHashes",
- "properties": {
- "fileHash": {
- "description": "Collection of file hashes.",
- "items": {
- "$ref": "Hash"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Status": {
- "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
- "id": "Status",
- "properties": {
- "message": {
- "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
- "type": "string"
- },
- "details": {
- "description": "A list of messages that carry the error details. There will be a\ncommon 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"
- },
- "code": {
- "description": "The status code, which should be an enum value of google.rpc.Code.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
"Empty": {
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
"id": "Empty",
@@ -744,26 +505,19 @@
"description": "Configuration for an automated build in response to source repository\nchanges.",
"id": "BuildTrigger",
"properties": {
- "substitutions": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Substitutions data for Build resource.",
- "type": "object"
- },
"description": {
"description": "Human-readable description of this trigger.",
"type": "string"
},
- "createTime": {
- "description": "Time when the trigger was created.\n\n@OutputOnly",
- "format": "google-datetime",
- "type": "string"
- },
"disabled": {
"description": "If true, the trigger will never result in a build.",
"type": "boolean"
},
+ "createTime": {
+ "description": "Time when the trigger was created.\n\n@OutputOnly",
+ "format": "google-datetime",
+ "type": "string"
+ },
"triggerTemplate": {
"$ref": "RepoSource",
"description": "Template describing the types of source changes to trigger a build.\n\nBranch and tag names in trigger templates are interpreted as regular\nexpressions. Any branch or tag change that matches that regular expression\nwill trigger a build."
@@ -779,6 +533,13 @@
"build": {
"$ref": "Build",
"description": "Contents of the build template."
+ },
+ "substitutions": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Substitutions data for Build resource.",
+ "type": "object"
}
},
"type": "object"
@@ -787,9 +548,45 @@
"description": "A build resource in the Container Builder API.\n\nAt a high level, a Build describes where to find source code, how to build\nit (for example, the builder image to run on the source), and what tag to\napply to the built image when it is pushed to Google Container Registry.\n\nFields can include the following variables which will be expanded when the\nbuild is created:\n\n- $PROJECT_ID: the project ID of the build.\n- $BUILD_ID: the autogenerated ID of the build.\n- $REPO_NAME: the source repository name specified by RepoSource.\n- $BRANCH_NAME: the branch name specified by RepoSource.\n- $TAG_NAME: the tag name specified by RepoSource.\n- $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or\n resolved from the specified branch or tag.",
"id": "Build",
"properties": {
- "timeout": {
- "description": "Amount of time that this build should be allowed to run, to second\ngranularity. If this amount of time elapses, work on the build will cease\nand the build status will be TIMEOUT.\n\nDefault time is ten minutes.",
- "format": "google-duration",
+ "createTime": {
+ "description": "Time at which the request to create the build was received.\n@OutputOnly",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "sourceProvenance": {
+ "$ref": "SourceProvenance",
+ "description": "A permanent fixed identifier for source.\n@OutputOnly"
+ },
+ "images": {
+ "description": "A list of images to be pushed upon the successful completion of all build\nsteps.\n\nThe images will be pushed using the builder service account's credentials.\n\nThe digests of the pushed images will be stored in the Build resource's\nresults field.\n\nIf any of the images fail to be pushed, the build is marked FAILURE.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "projectId": {
+ "description": "ID of the project.\n@OutputOnly.",
+ "type": "string"
+ },
+ "logUrl": {
+ "description": "URL to logs for this build in Google Cloud Logging.\n@OutputOnly",
+ "type": "string"
+ },
+ "finishTime": {
+ "description": "Time at which execution of the build was finished.\n\nThe difference between finish_time and start_time is the duration of the\nbuild's execution.\n@OutputOnly",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "options": {
+ "$ref": "BuildOptions",
+ "description": "Special options for this build."
+ },
+ "source": {
+ "$ref": "Source",
+ "description": "Describes where to find the source files to build."
+ },
+ "statusDetail": {
+ "description": "Customer-readable message about the current status.\n@OutputOnly",
"type": "string"
},
"status": {
@@ -816,18 +613,19 @@
],
"type": "string"
},
- "statusDetail": {
- "description": "Customer-readable message about the current status.\n@OutputOnly",
- "type": "string"
- },
- "logsBucket": {
- "description": "Google Cloud Storage bucket where logs should be written (see\n[Bucket Name\nRequirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).\nLogs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.",
+ "timeout": {
+ "description": "Amount of time that this build should be allowed to run, to second\ngranularity. If this amount of time elapses, work on the build will cease\nand the build status will be TIMEOUT.\n\nDefault time is ten minutes.",
+ "format": "google-duration",
"type": "string"
},
"results": {
"$ref": "Results",
"description": "Results of the build.\n@OutputOnly"
},
+ "logsBucket": {
+ "description": "Google Cloud Storage bucket where logs should be written (see\n[Bucket Name\nRequirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).\nLogs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.",
+ "type": "string"
+ },
"steps": {
"description": "Describes the operations to be performed on the workspace.",
"items": {
@@ -854,43 +652,6 @@
},
"description": "Substitutions data for Build resource.",
"type": "object"
- },
- "sourceProvenance": {
- "$ref": "SourceProvenance",
- "description": "A permanent fixed identifier for source.\n@OutputOnly"
- },
- "createTime": {
- "description": "Time at which the request to create the build was received.\n@OutputOnly",
- "format": "google-datetime",
- "type": "string"
- },
- "images": {
- "description": "A list of images to be pushed upon the successful completion of all build\nsteps.\n\nThe images will be pushed using the builder service account's credentials.\n\nThe digests of the pushed images will be stored in the Build resource's\nresults field.\n\nIf any of the images fail to be pushed, the build is marked FAILURE.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "projectId": {
- "description": "ID of the project.\n@OutputOnly.",
- "type": "string"
- },
- "finishTime": {
- "description": "Time at which execution of the build was finished.\n\nThe difference between finish_time and start_time is the duration of the\nbuild's execution.\n@OutputOnly",
- "format": "google-datetime",
- "type": "string"
- },
- "logUrl": {
- "description": "URL to logs for this build in Google Cloud Logging.\n@OutputOnly",
- "type": "string"
- },
- "options": {
- "$ref": "BuildOptions",
- "description": "Special options for this build."
- },
- "source": {
- "$ref": "Source",
- "description": "Describes where to find the source files to build."
}
},
"type": "object"
@@ -923,16 +684,16 @@
"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"
+ },
+ "nextPageToken": {
+ "description": "The standard List next-page token.",
+ "type": "string"
}
},
"type": "object"
@@ -941,13 +702,13 @@
"description": "Source describes the location of the source in a supported storage\nservice.",
"id": "Source",
"properties": {
- "storageSource": {
- "$ref": "StorageSource",
- "description": "If provided, get the source from this location in in Google Cloud\nStorage."
- },
"repoSource": {
"$ref": "RepoSource",
"description": "If provided, get source from this location in a Cloud Repo."
+ },
+ "storageSource": {
+ "$ref": "StorageSource",
+ "description": "If provided, get the source from this location in in Google Cloud\nStorage."
}
},
"type": "object"
@@ -956,6 +717,18 @@
"description": "Optional arguments to enable specific features of builds.",
"id": "BuildOptions",
"properties": {
+ "requestedVerifyOption": {
+ "description": "Requested verifiability options.",
+ "enum": [
+ "NOT_VERIFIED",
+ "VERIFIED"
+ ],
+ "enumDescriptions": [
+ "Not a verifiable build. (default)",
+ "Verified build."
+ ],
+ "type": "string"
+ },
"sourceProvenanceHash": {
"description": "Requested hash for SourceProvenance.",
"enumDescriptions": [
@@ -970,18 +743,6 @@
"type": "string"
},
"type": "array"
- },
- "requestedVerifyOption": {
- "description": "Requested verifiability options.",
- "enum": [
- "NOT_VERIFIED",
- "VERIFIED"
- ],
- "enumDescriptions": [
- "Not a verifiable build. (default)",
- "Verified build."
- ],
- "type": "string"
}
},
"type": "object"
@@ -1026,6 +787,245 @@
}
},
"type": "object"
+ },
+ "BuildOperationMetadata": {
+ "description": "Metadata for build operations.",
+ "id": "BuildOperationMetadata",
+ "properties": {
+ "build": {
+ "$ref": "Build",
+ "description": "The build that the operation is tracking."
+ }
+ },
+ "type": "object"
+ },
+ "SourceProvenance": {
+ "description": "Provenance of the source. Ways to find the original source, or verify that\nsome source was used for this build.",
+ "id": "SourceProvenance",
+ "properties": {
+ "resolvedRepoSource": {
+ "$ref": "RepoSource",
+ "description": "A copy of the build's source.repo_source, if exists, with any\nrevisions resolved."
+ },
+ "resolvedStorageSource": {
+ "$ref": "StorageSource",
+ "description": "A copy of the build's source.storage_source, if exists, with any\ngenerations resolved."
+ },
+ "fileHashes": {
+ "additionalProperties": {
+ "$ref": "FileHashes"
+ },
+ "description": "Hash(es) of the build source, which can be used to verify that the original\nsource integrity was maintained in the build. Note that FileHashes will\nonly be populated if BuildOptions has requested a SourceProvenanceHash.\n\nThe keys to this map are file paths used as build source and the values\ncontain the hash values for those files.\n\nIf the build source came in a single package such as a gzipped tarfile\n(.tar.gz), the FileHash will be for the single path to that file.\n@OutputOnly",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "CancelOperationRequest": {
+ "description": "The request message for Operations.CancelOperation.",
+ "id": "CancelOperationRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "Operation": {
+ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
+ "id": "Operation",
+ "properties": {
+ "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\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
+ "type": "object"
+ },
+ "done": {
+ "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.",
+ "type": "boolean"
+ },
+ "response": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
+ "type": "object"
+ },
+ "name": {
+ "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListBuildTriggersResponse": {
+ "description": "Response containing existing BuildTriggers.",
+ "id": "ListBuildTriggersResponse",
+ "properties": {
+ "triggers": {
+ "description": "BuildTriggers for the project, sorted by create_time descending.",
+ "items": {
+ "$ref": "BuildTrigger"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "BuiltImage": {
+ "description": "BuiltImage describes an image built by the pipeline.",
+ "id": "BuiltImage",
+ "properties": {
+ "name": {
+ "description": "Name used to push the container image to Google Container Registry, as\npresented to `docker push`.",
+ "type": "string"
+ },
+ "digest": {
+ "description": "Docker Registry 2.0 digest.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Hash": {
+ "description": "Container message for hash values.",
+ "id": "Hash",
+ "properties": {
+ "type": {
+ "description": "The type of hash that was performed.",
+ "enum": [
+ "NONE",
+ "SHA256"
+ ],
+ "enumDescriptions": [
+ "No hash requested.",
+ "Use a sha256 hash."
+ ],
+ "type": "string"
+ },
+ "value": {
+ "description": "The hash value.",
+ "format": "byte",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RepoSource": {
+ "description": "RepoSource describes the location of the source in a Google Cloud Source\nRepository.",
+ "id": "RepoSource",
+ "properties": {
+ "tagName": {
+ "description": "Name of the tag to build.",
+ "type": "string"
+ },
+ "commitSha": {
+ "description": "Explicit commit SHA to build.",
+ "type": "string"
+ },
+ "projectId": {
+ "description": "ID of the project that owns the repo. If omitted, the project ID requesting\nthe build is assumed.",
+ "type": "string"
+ },
+ "repoName": {
+ "description": "Name of the repo. If omitted, the name \"default\" is assumed.",
+ "type": "string"
+ },
+ "branchName": {
+ "description": "Name of the branch to build.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BuildStep": {
+ "description": "BuildStep describes a step to perform in the build pipeline.",
+ "id": "BuildStep",
+ "properties": {
+ "dir": {
+ "description": "Working directory (relative to project source root) to use when running\nthis operation's container.",
+ "type": "string"
+ },
+ "waitFor": {
+ "description": "The ID(s) of the step(s) that this build step depends on.\nThis build step will not start until all the build steps in wait_for\nhave completed successfully. If wait_for is empty, this build step will\nstart when all previous build steps in the Build.Steps list have completed\nsuccessfully.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "env": {
+ "description": "A list of environment variable definitions to be used when running a step.\n\nThe elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\"\nbeing given the value \"VALUE\".",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "args": {
+ "description": "A list of arguments that will be presented to the step when it is started.\n\nIf the image used to run the step's container has an entrypoint, these args\nwill be used as arguments to that entrypoint. If the image does not define\nan entrypoint, the first element in args will be used as the entrypoint,\nand the remainder will be used as arguments.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "The name of the container image that will run this particular build step.\n\nIf the image is already available in the host's Docker daemon's cache, it\nwill be run directly. If not, the host will attempt to pull the image\nfirst, using the builder service account's credentials if necessary.\n\nThe Docker daemon's cache will already have the latest versions of all of\nthe officially supported build steps\n([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)).\nThe Docker daemon will also have cached many of the layers for some popular\nimages, like \"ubuntu\", \"debian\", but they will be refreshed at the time you\nattempt to use them.\n\nIf you built an image in a previous build step, it will be stored in the\nhost's Docker daemon's cache and is available to use as the name for a\nlater build step.",
+ "type": "string"
+ },
+ "entrypoint": {
+ "description": "Optional entrypoint to be used instead of the build step image's default\nIf unset, the image's default will be used.",
+ "type": "string"
+ },
+ "id": {
+ "description": "Optional unique identifier for this build step, used in wait_for to\nreference this build step as a dependency.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FileHashes": {
+ "description": "Container message for hashes of byte content of files, used in\nSourceProvenance messages to verify integrity of source input to the build.",
+ "id": "FileHashes",
+ "properties": {
+ "fileHash": {
+ "description": "Collection of file hashes.",
+ "items": {
+ "$ref": "Hash"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Status": {
+ "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
+ "id": "Status",
+ "properties": {
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ },
+ "details": {
+ "description": "A list of messages that carry the error details. There will be a\ncommon 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"
+ }
+ },
+ "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis/clouddebugger__v2.json b/discovery/googleapis/clouddebugger__v2.json
index 0546110..a62f7d2 100644
--- a/discovery/googleapis/clouddebugger__v2.json
+++ b/discovery/googleapis/clouddebugger__v2.json
@@ -2,11 +2,11 @@
"auth": {
"oauth2": {
"scopes": {
- "https://www.googleapis.com/auth/cloud_debugger": {
- "description": "Manage cloud debugger"
- },
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
+ },
+ "https://www.googleapis.com/auth/cloud_debugger": {
+ "description": "Manage cloud debugger"
}
}
}
@@ -28,61 +28,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
- "$.xgafv": {
- "description": "V1 error format.",
- "enum": [
- "1",
- "2"
- ],
- "enumDescriptions": [
- "v1 error format",
- "v2 error format"
- ],
- "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"
- },
"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",
@@ -104,13 +49,68 @@
"location": "query",
"type": "boolean"
},
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
"bearer_token": {
"description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "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"
}
@@ -151,6 +151,11 @@
"debuggeeId"
],
"parameters": {
+ "waitToken": {
+ "description": "A wait token that, if specified, blocks the method call until the list\nof active breakpoints has changed, or a server selected timeout has\nexpired. The value should be set from the last returned response.",
+ "location": "query",
+ "type": "string"
+ },
"debuggeeId": {
"description": "Identifies the debuggee.",
"location": "path",
@@ -161,11 +166,6 @@
"description": "If set to `true`, returns `google.rpc.Code.OK` status and sets the\n`wait_expired` response field to `true` when the server-selected timeout\nhas expired (recommended).\n\nIf set to `false`, returns `google.rpc.Code.ABORTED` status when the\nserver-selected timeout has expired (deprecated).",
"location": "query",
"type": "boolean"
- },
- "waitToken": {
- "description": "A wait token that, if specified, blocks the method call until the list\nof active breakpoints has changed, or a server selected timeout has\nexpired. The value should be set from the last returned response.",
- "location": "query",
- "type": "string"
}
},
"path": "v2/controller/debuggees/{debuggeeId}/breakpoints",
@@ -256,74 +256,6 @@
"resources": {
"breakpoints": {
"methods": {
- "set": {
- "description": "Sets the breakpoint to the debuggee.",
- "httpMethod": "POST",
- "id": "clouddebugger.debugger.debuggees.breakpoints.set",
- "parameterOrder": [
- "debuggeeId"
- ],
- "parameters": {
- "clientVersion": {
- "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).",
- "location": "query",
- "type": "string"
- },
- "debuggeeId": {
- "description": "ID of the debuggee where the breakpoint is to be set.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/set",
- "request": {
- "$ref": "Breakpoint"
- },
- "response": {
- "$ref": "SetBreakpointResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud_debugger"
- ]
- },
- "delete": {
- "description": "Deletes the breakpoint from the debuggee.",
- "httpMethod": "DELETE",
- "id": "clouddebugger.debugger.debuggees.breakpoints.delete",
- "parameterOrder": [
- "debuggeeId",
- "breakpointId"
- ],
- "parameters": {
- "debuggeeId": {
- "description": "ID of the debuggee whose breakpoint to delete.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "clientVersion": {
- "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).",
- "location": "query",
- "type": "string"
- },
- "breakpointId": {
- "description": "ID of the breakpoint to delete.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud_debugger"
- ]
- },
"get": {
"description": "Gets breakpoint information.",
"httpMethod": "GET",
@@ -333,11 +265,6 @@
"breakpointId"
],
"parameters": {
- "clientVersion": {
- "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).",
- "location": "query",
- "type": "string"
- },
"breakpointId": {
"description": "ID of the breakpoint to get.",
"location": "path",
@@ -349,6 +276,11 @@
"location": "path",
"required": true,
"type": "string"
+ },
+ "clientVersion": {
+ "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).",
+ "location": "query",
+ "type": "string"
}
},
"path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}",
@@ -393,13 +325,13 @@
"location": "query",
"type": "string"
},
- "includeAllUsers": {
- "description": "When set to `true`, the response includes the list of breakpoints set by\nany user. Otherwise, it includes only breakpoints set by the caller.",
+ "includeInactive": {
+ "description": "When set to `true`, the response includes active and inactive\nbreakpoints. Otherwise, it includes only active breakpoints.",
"location": "query",
"type": "boolean"
},
- "includeInactive": {
- "description": "When set to `true`, the response includes active and inactive\nbreakpoints. Otherwise, it includes only active breakpoints.",
+ "includeAllUsers": {
+ "description": "When set to `true`, the response includes the list of breakpoints set by\nany user. Otherwise, it includes only breakpoints set by the caller.",
"location": "query",
"type": "boolean"
},
@@ -417,6 +349,74 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud_debugger"
]
+ },
+ "set": {
+ "description": "Sets the breakpoint to the debuggee.",
+ "httpMethod": "POST",
+ "id": "clouddebugger.debugger.debuggees.breakpoints.set",
+ "parameterOrder": [
+ "debuggeeId"
+ ],
+ "parameters": {
+ "debuggeeId": {
+ "description": "ID of the debuggee where the breakpoint is to be set.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "clientVersion": {
+ "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/set",
+ "request": {
+ "$ref": "Breakpoint"
+ },
+ "response": {
+ "$ref": "SetBreakpointResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud_debugger"
+ ]
+ },
+ "delete": {
+ "description": "Deletes the breakpoint from the debuggee.",
+ "httpMethod": "DELETE",
+ "id": "clouddebugger.debugger.debuggees.breakpoints.delete",
+ "parameterOrder": [
+ "debuggeeId",
+ "breakpointId"
+ ],
+ "parameters": {
+ "clientVersion": {
+ "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).",
+ "location": "query",
+ "type": "string"
+ },
+ "breakpointId": {
+ "description": "ID of the breakpoint to delete.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "debuggeeId": {
+ "description": "ID of the debuggee whose breakpoint to delete.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud_debugger"
+ ]
}
}
}
@@ -425,394 +425,9 @@
}
}
},
- "revision": "20170214",
+ "revision": "20170322",
"rootUrl": "https://clouddebugger.googleapis.com/",
"schemas": {
- "Debuggee": {
- "description": "Represents the application to debug. The application may include one or more\nreplicated processes executing the same code. Each of these processes is\nattached with a debugger agent, carrying out the debugging commands.\nThe agents attached to the same debuggee are identified by using exactly the\nsame field values when registering.",
- "id": "Debuggee",
- "properties": {
- "uniquifier": {
- "description": "Debuggee uniquifier within the project.\nAny string that identifies the application within the project can be used.\nIncluding environment and version or build IDs is recommended.",
- "type": "string"
- },
- "description": {
- "description": "Human readable description of the debuggee.\nIncluding a human-readable project name, environment name and version\ninformation is recommended.",
- "type": "string"
- },
- "sourceContexts": {
- "description": "References to the locations and revisions of the source code used in the\ndeployed application.\n\nNOTE: This field is deprecated. Consumers should use\n`ext_source_contexts` if it is not empty. Debug agents should populate\nboth this field and `ext_source_contexts`.",
- "items": {
- "$ref": "SourceContext"
- },
- "type": "array"
- },
- "extSourceContexts": {
- "description": "References to the locations and revisions of the source code used in the\ndeployed application.\n\nContexts describing a remote repo related to the source code\nhave a `category` label of `remote_repo`. Source snapshot source\ncontexts have a `category` of `snapshot`.",
- "items": {
- "$ref": "ExtendedSourceContext"
- },
- "type": "array"
- },
- "labels": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "A set of custom debuggee properties, populated by the agent, to be\ndisplayed to the user.",
- "type": "object"
- },
- "isInactive": {
- "description": "If set to `true`, indicates that the debuggee is considered as inactive by\nthe Controller service.",
- "type": "boolean"
- },
- "status": {
- "$ref": "StatusMessage",
- "description": "Human readable message to be displayed to the user about this debuggee.\nAbsence of this field indicates no status. The message can be either\ninformational or an error status."
- },
- "project": {
- "description": "Project the debuggee is associated with.\nUse the project number when registering a Google Cloud Platform project.",
- "type": "string"
- },
- "isDisabled": {
- "description": "If set to `true`, indicates that the agent should disable itself and\ndetach from the debuggee.",
- "type": "boolean"
- },
- "agentVersion": {
- "description": "Version ID of the agent release. The version ID is structured as\nfollowing: `domain/type/vmajor.minor` (for example\n`google.com/gcp-java/v1.1`).",
- "type": "string"
- },
- "id": {
- "description": "Unique identifier for the debuggee generated by the controller service.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListActiveBreakpointsResponse": {
- "description": "Response for listing active breakpoints.",
- "id": "ListActiveBreakpointsResponse",
- "properties": {
- "nextWaitToken": {
- "description": "A wait token that can be used in the next method call to block until\nthe list of breakpoints changes.",
- "type": "string"
- },
- "breakpoints": {
- "description": "List of all active breakpoints.\nThe fields `id` and `location` are guaranteed to be set on each breakpoint.",
- "items": {
- "$ref": "Breakpoint"
- },
- "type": "array"
- },
- "waitExpired": {
- "description": "The `wait_expired` field is set to true by the server when the\nrequest times out and the field `success_on_timeout` is set to true.",
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "ProjectRepoId": {
- "description": "Selects a repo using a Google Cloud Platform project ID\n(e.g. winged-cargo-31) and a repo name within that project.",
- "id": "ProjectRepoId",
- "properties": {
- "projectId": {
- "description": "The ID of the project.",
- "type": "string"
- },
- "repoName": {
- "description": "The name of the repo. Leave empty for the default repo.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CloudWorkspaceSourceContext": {
- "description": "A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.",
- "id": "CloudWorkspaceSourceContext",
- "properties": {
- "workspaceId": {
- "$ref": "CloudWorkspaceId",
- "description": "The ID of the workspace."
- },
- "snapshotId": {
- "description": "The ID of the snapshot.\nAn empty snapshot_id refers to the most recent snapshot.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UpdateActiveBreakpointResponse": {
- "description": "Response for updating an active breakpoint.\nThe message is defined to allow future extensions.",
- "id": "UpdateActiveBreakpointResponse",
- "properties": {},
- "type": "object"
- },
- "GerritSourceContext": {
- "description": "A SourceContext referring to a Gerrit project.",
- "id": "GerritSourceContext",
- "properties": {
- "hostUri": {
- "description": "The URI of a running Gerrit instance.",
- "type": "string"
- },
- "revisionId": {
- "description": "A revision (commit) ID.",
- "type": "string"
- },
- "aliasName": {
- "description": "The name of an alias (branch, tag, etc.).",
- "type": "string"
- },
- "gerritProject": {
- "description": "The full project name within the host. Projects may be nested, so\n\"project/subproject\" is a valid project name.\nThe \"repo name\" is hostURI/project.",
- "type": "string"
- },
- "aliasContext": {
- "$ref": "AliasContext",
- "description": "An alias, which may be a branch or tag."
- }
- },
- "type": "object"
- },
- "CloudWorkspaceId": {
- "description": "A CloudWorkspaceId is a unique identifier for a cloud workspace.\nA cloud workspace is a place associated with a repo where modified files\ncan be stored before they are committed.",
- "id": "CloudWorkspaceId",
- "properties": {
- "repoId": {
- "$ref": "RepoId",
- "description": "The ID of the repo containing the workspace."
- },
- "name": {
- "description": "The unique name of the workspace within the repo. This is the name\nchosen by the client in the Source API's CreateWorkspace method.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListBreakpointsResponse": {
- "description": "Response for listing breakpoints.",
- "id": "ListBreakpointsResponse",
- "properties": {
- "nextWaitToken": {
- "description": "A wait token that can be used in the next call to `list` (REST) or\n`ListBreakpoints` (RPC) to block until the list of breakpoints has changes.",
- "type": "string"
- },
- "breakpoints": {
- "description": "List of breakpoints matching the request.\nThe fields `id` and `location` are guaranteed to be set on each breakpoint.\nThe fields: `stack_frames`, `evaluated_expressions` and `variable_table`\nare cleared on each breakpoint regardless of it's status.",
- "items": {
- "$ref": "Breakpoint"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Breakpoint": {
- "description": "Represents the breakpoint specification, status and results.",
- "id": "Breakpoint",
- "properties": {
- "evaluatedExpressions": {
- "description": "Values of evaluated expressions at breakpoint time.\nThe evaluated expressions appear in exactly the same order they\nare listed in the `expressions` field.\nThe `name` field holds the original expression text, the `value` or\n`members` field holds the result of the evaluated expression.\nIf the expression cannot be evaluated, the `status` inside the `Variable`\nwill indicate an error and contain the error text.",
- "items": {
- "$ref": "Variable"
- },
- "type": "array"
- },
- "isFinalState": {
- "description": "When true, indicates that this is a final result and the\nbreakpoint state will not change from here on.",
- "type": "boolean"
- },
- "stackFrames": {
- "description": "The stack at breakpoint time.",
- "items": {
- "$ref": "StackFrame"
- },
- "type": "array"
- },
- "condition": {
- "description": "Condition that triggers the breakpoint.\nThe condition is a compound boolean expression composed using expressions\nin a programming language at the source location.",
- "type": "string"
- },
- "status": {
- "$ref": "StatusMessage",
- "description": "Breakpoint status.\n\nThe status includes an error flag and a human readable message.\nThis field is usually unset. The message can be either\ninformational or an error message. Regardless, clients should always\ndisplay the text message back to the user.\n\nError status indicates complete failure of the breakpoint.\n\nExample (non-final state): `Still loading symbols...`\n\nExamples (final state):\n\n* `Invalid line number` referring to location\n* `Field f not found in class C` referring to condition"
- },
- "userEmail": {
- "description": "E-mail address of the user that created this breakpoint",
- "type": "string"
- },
- "action": {
- "description": "Action that the agent should perform when the code at the\nbreakpoint location is hit.",
- "enum": [
- "CAPTURE",
- "LOG"
- ],
- "enumDescriptions": [
- "Capture stack frame and variables and update the breakpoint.\nThe data is only captured once. After that the breakpoint is set\nin a final state.",
- "Log each breakpoint hit. The breakpoint remains active until\ndeleted or expired."
- ],
- "type": "string"
- },
- "logLevel": {
- "description": "Indicates the severity of the log. Only relevant when action is `LOG`.",
- "enum": [
- "INFO",
- "WARNING",
- "ERROR"
- ],
- "enumDescriptions": [
- "Information log message.",
- "Warning log message.",
- "Error log message."
- ],
- "type": "string"
- },
- "id": {
- "description": "Breakpoint identifier, unique in the scope of the debuggee.",
- "type": "string"
- },
- "location": {
- "$ref": "SourceLocation",
- "description": "Breakpoint source location."
- },
- "finalTime": {
- "description": "Time this breakpoint was finalized as seen by the server in seconds\nresolution.",
- "format": "google-datetime",
- "type": "string"
- },
- "variableTable": {
- "description": "The `variable_table` exists to aid with computation, memory and network\ntraffic optimization. It enables storing a variable once and reference\nit from multiple variables, including variables stored in the\n`variable_table` itself.\nFor example, the same `this` object, which may appear at many levels of\nthe stack, can have all of its data stored once in this table. The\nstack frame variables then would hold only a reference to it.\n\nThe variable `var_table_index` field is an index into this repeated field.\nThe stored objects are nameless and get their name from the referencing\nvariable. The effective variable is a merge of the referencing variable\nand the referenced variable.",
- "items": {
- "$ref": "Variable"
- },
- "type": "array"
- },
- "createTime": {
- "description": "Time this breakpoint was created by the server in seconds resolution.",
- "format": "google-datetime",
- "type": "string"
- },
- "logMessageFormat": {
- "description": "Only relevant when action is `LOG`. Defines the message to log when\nthe breakpoint hits. The message may include parameter placeholders `$0`,\n`$1`, etc. These placeholders are replaced with the evaluated value\nof the appropriate expression. Expressions not referenced in\n`log_message_format` are not logged.\n\nExample: `Message received, id = $0, count = $1` with\n`expressions` = `[ message.id, message.count ]`.",
- "type": "string"
- },
- "labels": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "A set of custom breakpoint properties, populated by the agent, to be\ndisplayed to the user.",
- "type": "object"
- },
- "expressions": {
- "description": "List of read-only expressions to evaluate at the breakpoint location.\nThe expressions are composed using expressions in the programming language\nat the source location. If the breakpoint action is `LOG`, the evaluated\nexpressions are included in log statements.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "SetBreakpointResponse": {
- "description": "Response for setting a breakpoint.",
- "id": "SetBreakpointResponse",
- "properties": {
- "breakpoint": {
- "$ref": "Breakpoint",
- "description": "Breakpoint resource.\nThe field `id` is guaranteed to be set (in addition to the echoed fileds)."
- }
- },
- "type": "object"
- },
- "UpdateActiveBreakpointRequest": {
- "description": "Request to update an active breakpoint.",
- "id": "UpdateActiveBreakpointRequest",
- "properties": {
- "breakpoint": {
- "$ref": "Breakpoint",
- "description": "Updated breakpoint information.\nThe field 'id' must be set."
- }
- },
- "type": "object"
- },
- "SourceContext": {
- "description": "A SourceContext is a reference to a tree of files. A SourceContext together\nwith a path point to a unique revision of a single file or directory.",
- "id": "SourceContext",
- "properties": {
- "gerrit": {
- "$ref": "GerritSourceContext",
- "description": "A SourceContext referring to a Gerrit project."
- },
- "cloudRepo": {
- "$ref": "CloudRepoSourceContext",
- "description": "A SourceContext referring to a revision in a cloud repo."
- },
- "cloudWorkspace": {
- "$ref": "CloudWorkspaceSourceContext",
- "description": "A SourceContext referring to a snapshot in a cloud workspace."
- },
- "git": {
- "$ref": "GitSourceContext",
- "description": "A SourceContext referring to any third party Git repo (e.g. GitHub)."
- }
- },
- "type": "object"
- },
- "CloudRepoSourceContext": {
- "description": "A CloudRepoSourceContext denotes a particular revision in a cloud\nrepo (a repo hosted by the Google Cloud Platform).",
- "id": "CloudRepoSourceContext",
- "properties": {
- "revisionId": {
- "description": "A revision ID.",
- "type": "string"
- },
- "aliasName": {
- "description": "The name of an alias (branch, tag, etc.).",
- "type": "string"
- },
- "repoId": {
- "$ref": "RepoId",
- "description": "The ID of the repo."
- },
- "aliasContext": {
- "$ref": "AliasContext",
- "description": "An alias, which may be a branch or tag."
- }
- },
- "type": "object"
- },
- "RegisterDebuggeeResponse": {
- "description": "Response for registering a debuggee.",
- "id": "RegisterDebuggeeResponse",
- "properties": {
- "debuggee": {
- "$ref": "Debuggee",
- "description": "Debuggee resource.\nThe field `id` is guranteed to be set (in addition to the echoed fields)."
- }
- },
- "type": "object"
- },
- "RegisterDebuggeeRequest": {
- "description": "Request to register a debuggee.",
- "id": "RegisterDebuggeeRequest",
- "properties": {
- "debuggee": {
- "$ref": "Debuggee",
- "description": "Debuggee information to register.\nThe fields `project`, `uniquifier`, `description` and `agent_version`\nof the debuggee must be set."
- }
- },
- "type": "object"
- },
- "GetBreakpointResponse": {
- "description": "Response for getting breakpoint information.",
- "id": "GetBreakpointResponse",
- "properties": {
- "breakpoint": {
- "$ref": "Breakpoint",
- "description": "Complete breakpoint state.\nThe fields `id` and `location` are guaranteed to be set."
- }
- },
- "type": "object"
- },
"StatusMessage": {
"description": "Represents a contextual status message.\nThe message can indicate an error or informational status, and refer to\nspecific parts of the containing object.\nFor example, the `Breakpoint.status` field can indicate an error referring\nto the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.",
"id": "StatusMessage",
@@ -888,14 +503,14 @@
"description": "Variable type (e.g. `MyClass`). If the variable is split with\n`var_table_index`, `type` goes next to `value`. The interpretation of\na type is agent specific. It is recommended to include the dynamic type\nrather than a static type of an object.",
"type": "string"
},
+ "value": {
+ "description": "Simple value of the variable.",
+ "type": "string"
+ },
"varTableIndex": {
"description": "Reference to a variable in the shared variable table. More than\none variable can reference the same variable in the table. The\n`var_table_index` field is an index into `variable_table` in Breakpoint.",
"format": "int32",
"type": "integer"
- },
- "value": {
- "description": "Simple value of the variable.",
- "type": "string"
}
},
"type": "object"
@@ -933,13 +548,13 @@
"description": "A unique identifier for a cloud repo.",
"id": "RepoId",
"properties": {
- "projectRepoId": {
- "$ref": "ProjectRepoId",
- "description": "A combination of a project ID and a repo name."
- },
"uid": {
"description": "A server-assigned, globally unique identifier.",
"type": "string"
+ },
+ "projectRepoId": {
+ "$ref": "ProjectRepoId",
+ "description": "A combination of a project ID and a repo name."
}
},
"type": "object"
@@ -948,16 +563,16 @@
"description": "Represents a message with parameters.",
"id": "FormatMessage",
"properties": {
- "format": {
- "description": "Format template for the message. The `format` uses placeholders `$0`,\n`$1`, etc. to reference parameters. `$$` can be used to denote the `$`\ncharacter.\n\nExamples:\n\n* `Failed to load '$0' which helps debug $1 the first time it\n is loaded. Again, $0 is very important.`\n* `Please pay $$10 to use $0 instead of $1.`",
- "type": "string"
- },
"parameters": {
"description": "Optional parameters to be embedded into the message.",
"items": {
"type": "string"
},
"type": "array"
+ },
+ "format": {
+ "description": "Format template for the message. The `format` uses placeholders `$0`,\n`$1`, etc. to reference parameters. `$$` can be used to denote the `$`\ncharacter.\n\nExamples:\n\n* `Failed to load '$0' which helps debug $1 the first time it\n is loaded. Again, $0 is very important.`\n* `Please pay $$10 to use $0 instead of $1.`",
+ "type": "string"
}
},
"type": "object"
@@ -966,30 +581,16 @@
"description": "An ExtendedSourceContext is a SourceContext combined with additional\ndetails describing the context.",
"id": "ExtendedSourceContext",
"properties": {
+ "context": {
+ "$ref": "SourceContext",
+ "description": "Any source context."
+ },
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels with user defined metadata.",
"type": "object"
- },
- "context": {
- "$ref": "SourceContext",
- "description": "Any source context."
- }
- },
- "type": "object"
- },
- "ListDebuggeesResponse": {
- "description": "Response for listing debuggees.",
- "id": "ListDebuggeesResponse",
- "properties": {
- "debuggees": {
- "description": "List of debuggees accessible to the calling user.\nNote that the `description` field is the only human readable field\nthat should be displayed to the user.\nThe fields `debuggee.id` and `description` fields are guaranteed to be\nset on each debuggee.",
- "items": {
- "$ref": "Debuggee"
- },
- "type": "array"
}
},
"type": "object"
@@ -1021,6 +622,20 @@
},
"type": "object"
},
+ "ListDebuggeesResponse": {
+ "description": "Response for listing debuggees.",
+ "id": "ListDebuggeesResponse",
+ "properties": {
+ "debuggees": {
+ "description": "List of debuggees accessible to the calling user.\nNote that the `description` field is the only human readable field\nthat should be displayed to the user.\nThe fields `debuggee.id` and `description` fields are guaranteed to be\nset on each debuggee.",
+ "items": {
+ "$ref": "Debuggee"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"Empty": {
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
"id": "Empty",
@@ -1042,6 +657,391 @@
}
},
"type": "object"
+ },
+ "Debuggee": {
+ "description": "Represents the application to debug. The application may include one or more\nreplicated processes executing the same code. Each of these processes is\nattached with a debugger agent, carrying out the debugging commands.\nThe agents attached to the same debuggee are identified by using exactly the\nsame field values when registering.",
+ "id": "Debuggee",
+ "properties": {
+ "uniquifier": {
+ "description": "Debuggee uniquifier within the project.\nAny string that identifies the application within the project can be used.\nIncluding environment and version or build IDs is recommended.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Human readable description of the debuggee.\nIncluding a human-readable project name, environment name and version\ninformation is recommended.",
+ "type": "string"
+ },
+ "sourceContexts": {
+ "description": "References to the locations and revisions of the source code used in the\ndeployed application.\n\nNOTE: This field is deprecated. Consumers should use\n`ext_source_contexts` if it is not empty. Debug agents should populate\nboth this field and `ext_source_contexts`.",
+ "items": {
+ "$ref": "SourceContext"
+ },
+ "type": "array"
+ },
+ "extSourceContexts": {
+ "description": "References to the locations and revisions of the source code used in the\ndeployed application.\n\nContexts describing a remote repo related to the source code\nhave a `category` label of `remote_repo`. Source snapshot source\ncontexts have a `category` of `snapshot`.",
+ "items": {
+ "$ref": "ExtendedSourceContext"
+ },
+ "type": "array"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "A set of custom debuggee properties, populated by the agent, to be\ndisplayed to the user.",
+ "type": "object"
+ },
+ "status": {
+ "$ref": "StatusMessage",
+ "description": "Human readable message to be displayed to the user about this debuggee.\nAbsence of this field indicates no status. The message can be either\ninformational or an error status."
+ },
+ "isInactive": {
+ "description": "If set to `true`, indicates that the debuggee is considered as inactive by\nthe Controller service.",
+ "type": "boolean"
+ },
+ "project": {
+ "description": "Project the debuggee is associated with.\nUse the project number when registering a Google Cloud Platform project.",
+ "type": "string"
+ },
+ "id": {
+ "description": "Unique identifier for the debuggee generated by the controller service.",
+ "type": "string"
+ },
+ "agentVersion": {
+ "description": "Version ID of the agent release. The version ID is structured as\nfollowing: `domain/type/vmajor.minor` (for example\n`google.com/gcp-java/v1.1`).",
+ "type": "string"
+ },
+ "isDisabled": {
+ "description": "If set to `true`, indicates that the agent should disable itself and\ndetach from the debuggee.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "ProjectRepoId": {
+ "description": "Selects a repo using a Google Cloud Platform project ID\n(e.g. winged-cargo-31) and a repo name within that project.",
+ "id": "ProjectRepoId",
+ "properties": {
+ "projectId": {
+ "description": "The ID of the project.",
+ "type": "string"
+ },
+ "repoName": {
+ "description": "The name of the repo. Leave empty for the default repo.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListActiveBreakpointsResponse": {
+ "description": "Response for listing active breakpoints.",
+ "id": "ListActiveBreakpointsResponse",
+ "properties": {
+ "breakpoints": {
+ "description": "List of all active breakpoints.\nThe fields `id` and `location` are guaranteed to be set on each breakpoint.",
+ "items": {
+ "$ref": "Breakpoint"
+ },
+ "type": "array"
+ },
+ "waitExpired": {
+ "description": "The `wait_expired` field is set to true by the server when the\nrequest times out and the field `success_on_timeout` is set to true.",
+ "type": "boolean"
+ },
+ "nextWaitToken": {
+ "description": "A wait token that can be used in the next method call to block until\nthe list of breakpoints changes.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CloudWorkspaceSourceContext": {
+ "description": "A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.",
+ "id": "CloudWorkspaceSourceContext",
+ "properties": {
+ "snapshotId": {
+ "description": "The ID of the snapshot.\nAn empty snapshot_id refers to the most recent snapshot.",
+ "type": "string"
+ },
+ "workspaceId": {
+ "$ref": "CloudWorkspaceId",
+ "description": "The ID of the workspace."
+ }
+ },
+ "type": "object"
+ },
+ "UpdateActiveBreakpointResponse": {
+ "description": "Response for updating an active breakpoint.\nThe message is defined to allow future extensions.",
+ "id": "UpdateActiveBreakpointResponse",
+ "properties": {},
+ "type": "object"
+ },
+ "GerritSourceContext": {
+ "description": "A SourceContext referring to a Gerrit project.",
+ "id": "GerritSourceContext",
+ "properties": {
+ "aliasName": {
+ "description": "The name of an alias (branch, tag, etc.).",
+ "type": "string"
+ },
+ "gerritProject": {
+ "description": "The full project name within the host. Projects may be nested, so\n\"project/subproject\" is a valid project name.\nThe \"repo name\" is hostURI/project.",
+ "type": "string"
+ },
+ "aliasContext": {
+ "$ref": "AliasContext",
+ "description": "An alias, which may be a branch or tag."
+ },
+ "hostUri": {
+ "description": "The URI of a running Gerrit instance.",
+ "type": "string"
+ },
+ "revisionId": {
+ "description": "A revision (commit) ID.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CloudWorkspaceId": {
+ "description": "A CloudWorkspaceId is a unique identifier for a cloud workspace.\nA cloud workspace is a place associated with a repo where modified files\ncan be stored before they are committed.",
+ "id": "CloudWorkspaceId",
+ "properties": {
+ "repoId": {
+ "$ref": "RepoId",
+ "description": "The ID of the repo containing the workspace."
+ },
+ "name": {
+ "description": "The unique name of the workspace within the repo. This is the name\nchosen by the client in the Source API's CreateWorkspace method.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListBreakpointsResponse": {
+ "description": "Response for listing breakpoints.",
+ "id": "ListBreakpointsResponse",
+ "properties": {
+ "nextWaitToken": {
+ "description": "A wait token that can be used in the next call to `list` (REST) or\n`ListBreakpoints` (RPC) to block until the list of breakpoints has changes.",
+ "type": "string"
+ },
+ "breakpoints": {
+ "description": "List of breakpoints matching the request.\nThe fields `id` and `location` are guaranteed to be set on each breakpoint.\nThe fields: `stack_frames`, `evaluated_expressions` and `variable_table`\nare cleared on each breakpoint regardless of it's status.",
+ "items": {
+ "$ref": "Breakpoint"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Breakpoint": {
+ "description": "Represents the breakpoint specification, status and results.",
+ "id": "Breakpoint",
+ "properties": {
+ "userEmail": {
+ "description": "E-mail address of the user that created this breakpoint",
+ "type": "string"
+ },
+ "action": {
+ "description": "Action that the agent should perform when the code at the\nbreakpoint location is hit.",
+ "enum": [
+ "CAPTURE",
+ "LOG"
+ ],
+ "enumDescriptions": [
+ "Capture stack frame and variables and update the breakpoint.\nThe data is only captured once. After that the breakpoint is set\nin a final state.",
+ "Log each breakpoint hit. The breakpoint remains active until\ndeleted or expired."
+ ],
+ "type": "string"
+ },
+ "logLevel": {
+ "description": "Indicates the severity of the log. Only relevant when action is `LOG`.",
+ "enum": [
+ "INFO",
+ "WARNING",
+ "ERROR"
+ ],
+ "enumDescriptions": [
+ "Information log message.",
+ "Warning log message.",
+ "Error log message."
+ ],
+ "type": "string"
+ },
+ "id": {
+ "description": "Breakpoint identifier, unique in the scope of the debuggee.",
+ "type": "string"
+ },
+ "location": {
+ "$ref": "SourceLocation",
+ "description": "Breakpoint source location."
+ },
+ "finalTime": {
+ "description": "Time this breakpoint was finalized as seen by the server in seconds\nresolution.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "variableTable": {
+ "description": "The `variable_table` exists to aid with computation, memory and network\ntraffic optimization. It enables storing a variable once and reference\nit from multiple variables, including variables stored in the\n`variable_table` itself.\nFor example, the same `this` object, which may appear at many levels of\nthe stack, can have all of its data stored once in this table. The\nstack frame variables then would hold only a reference to it.\n\nThe variable `var_table_index` field is an index into this repeated field.\nThe stored objects are nameless and get their name from the referencing\nvariable. The effective variable is a merge of the referencing variable\nand the referenced variable.",
+ "items": {
+ "$ref": "Variable"
+ },
+ "type": "array"
+ },
+ "logMessageFormat": {
+ "description": "Only relevant when action is `LOG`. Defines the message to log when\nthe breakpoint hits. The message may include parameter placeholders `$0`,\n`$1`, etc. These placeholders are replaced with the evaluated value\nof the appropriate expression. Expressions not referenced in\n`log_message_format` are not logged.\n\nExample: `Message received, id = $0, count = $1` with\n`expressions` = `[ message.id, message.count ]`.",
+ "type": "string"
+ },
+ "createTime": {
+ "description": "Time this breakpoint was created by the server in seconds resolution.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "A set of custom breakpoint properties, populated by the agent, to be\ndisplayed to the user.",
+ "type": "object"
+ },
+ "expressions": {
+ "description": "List of read-only expressions to evaluate at the breakpoint location.\nThe expressions are composed using expressions in the programming language\nat the source location. If the breakpoint action is `LOG`, the evaluated\nexpressions are included in log statements.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "evaluatedExpressions": {
+ "description": "Values of evaluated expressions at breakpoint time.\nThe evaluated expressions appear in exactly the same order they\nare listed in the `expressions` field.\nThe `name` field holds the original expression text, the `value` or\n`members` field holds the result of the evaluated expression.\nIf the expression cannot be evaluated, the `status` inside the `Variable`\nwill indicate an error and contain the error text.",
+ "items": {
+ "$ref": "Variable"
+ },
+ "type": "array"
+ },
+ "isFinalState": {
+ "description": "When true, indicates that this is a final result and the\nbreakpoint state will not change from here on.",
+ "type": "boolean"
+ },
+ "stackFrames": {
+ "description": "The stack at breakpoint time.",
+ "items": {
+ "$ref": "StackFrame"
+ },
+ "type": "array"
+ },
+ "condition": {
+ "description": "Condition that triggers the breakpoint.\nThe condition is a compound boolean expression composed using expressions\nin a programming language at the source location.",
+ "type": "string"
+ },
+ "status": {
+ "$ref": "StatusMessage",
+ "description": "Breakpoint status.\n\nThe status includes an error flag and a human readable message.\nThis field is usually unset. The message can be either\ninformational or an error message. Regardless, clients should always\ndisplay the text message back to the user.\n\nError status indicates complete failure of the breakpoint.\n\nExample (non-final state): `Still loading symbols...`\n\nExamples (final state):\n\n* `Invalid line number` referring to location\n* `Field f not found in class C` referring to condition"
+ }
+ },
+ "type": "object"
+ },
+ "UpdateActiveBreakpointRequest": {
+ "description": "Request to update an active breakpoint.",
+ "id": "UpdateActiveBreakpointRequest",
+ "properties": {
+ "breakpoint": {
+ "$ref": "Breakpoint",
+ "description": "Updated breakpoint information.\nThe field 'id' must be set."
+ }
+ },
+ "type": "object"
+ },
+ "SetBreakpointResponse": {
+ "description": "Response for setting a breakpoint.",
+ "id": "SetBreakpointResponse",
+ "properties": {
+ "breakpoint": {
+ "$ref": "Breakpoint",
+ "description": "Breakpoint resource.\nThe field `id` is guaranteed to be set (in addition to the echoed fileds)."
+ }
+ },
+ "type": "object"
+ },
+ "SourceContext": {
+ "description": "A SourceContext is a reference to a tree of files. A SourceContext together\nwith a path point to a unique revision of a single file or directory.",
+ "id": "SourceContext",
+ "properties": {
+ "gerrit": {
+ "$ref": "GerritSourceContext",
+ "description": "A SourceContext referring to a Gerrit project."
+ },
+ "cloudRepo": {
+ "$ref": "CloudRepoSourceContext",
+ "description": "A SourceContext referring to a revision in a cloud repo."
+ },
+ "cloudWorkspace": {
+ "$ref": "CloudWorkspaceSourceContext",
+ "description": "A SourceContext referring to a snapshot in a cloud workspace."
+ },
+ "git": {
+ "$ref": "GitSourceContext",
+ "description": "A SourceContext referring to any third party Git repo (e.g. GitHub)."
+ }
+ },
+ "type": "object"
+ },
+ "CloudRepoSourceContext": {
+ "description": "A CloudRepoSourceContext denotes a particular revision in a cloud\nrepo (a repo hosted by the Google Cloud Platform).",
+ "id": "CloudRepoSourceContext",
+ "properties": {
+ "revisionId": {
+ "description": "A revision ID.",
+ "type": "string"
+ },
+ "aliasName": {
+ "description": "The name of an alias (branch, tag, etc.).",
+ "type": "string"
+ },
+ "repoId": {
+ "$ref": "RepoId",
+ "description": "The ID of the repo."
+ },
+ "aliasContext": {
+ "$ref": "AliasContext",
+ "description": "An alias, which may be a branch or tag."
+ }
+ },
+ "type": "object"
+ },
+ "RegisterDebuggeeRequest": {
+ "description": "Request to register a debuggee.",
+ "id": "RegisterDebuggeeRequest",
+ "properties": {
+ "debuggee": {
+ "$ref": "Debuggee",
+ "description": "Debuggee information to register.\nThe fields `project`, `uniquifier`, `description` and `agent_version`\nof the debuggee must be set."
+ }
+ },
+ "type": "object"
+ },
+ "RegisterDebuggeeResponse": {
+ "description": "Response for registering a debuggee.",
+ "id": "RegisterDebuggeeResponse",
+ "properties": {
+ "debuggee": {
+ "$ref": "Debuggee",
+ "description": "Debuggee resource.\nThe field `id` is guranteed to be set (in addition to the echoed fields)."
+ }
+ },
+ "type": "object"
+ },
+ "GetBreakpointResponse": {
+ "description": "Response for getting breakpoint information.",
+ "id": "GetBreakpointResponse",
+ "properties": {
+ "breakpoint": {
+ "$ref": "Breakpoint",
+ "description": "Complete breakpoint state.\nThe fields `id` and `location` are guaranteed to be set."
+ }
+ },
+ "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis/cloudfunctions__v1.json b/discovery/googleapis/cloudfunctions__v1.json
new file mode 100644
index 0000000..637d1c7
--- /dev/null
+++ b/discovery/googleapis/cloudfunctions__v1.json
@@ -0,0 +1,222 @@
+{
+ "auth": {
+ "oauth2": {
+ "scopes": {
+ "https://www.googleapis.com/auth/cloud-platform": {
+ "description": "View and manage your data across Google Cloud Platform services"
+ }
+ }
+ }
+ },
+ "basePath": "",
+ "baseUrl": "https://cloudfunctions.googleapis.com/",
+ "batchPath": "batch",
+ "canonicalName": "Cloud Functions",
+ "description": "API for managing lightweight user-provided functions executed in response to events.",
+ "discoveryVersion": "v1",
+ "documentationLink": "https://cloud.google.com/functions",
+ "icons": {
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
+ },
+ "id": "cloudfunctions:v1",
+ "kind": "discovery#restDescription",
+ "name": "cloudfunctions",
+ "ownerDomain": "google.com",
+ "ownerName": "Google",
+ "parameters": {
+ "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"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "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"
+ },
+ "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"
+ },
+ "pp": {
+ "default": "true",
+ "description": "Pretty-print response.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "protocol": "rest",
+ "resources": {
+ "projects": {
+ "resources": {
+ "locations": {
+ "methods": {
+ "get": {
+ "description": "Get information about a location.",
+ "httpMethod": "GET",
+ "id": "cloudfunctions.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"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "revision": "20170321",
+ "rootUrl": "https://cloudfunctions.googleapis.com/",
+ "schemas": {
+ "Location": {
+ "description": "A resource that represents Google Cloud Platform location.",
+ "id": "Location",
+ "properties": {
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}",
+ "type": "object"
+ },
+ "name": {
+ "description": "Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`",
+ "type": "string"
+ },
+ "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\nlocation.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "OperationMetadataV1Beta2": {
+ "description": "Metadata describing an Operation",
+ "id": "OperationMetadataV1Beta2",
+ "properties": {
+ "target": {
+ "description": "Target of the operation - for example\nprojects/project-1/locations/region-1/functions/function-1",
+ "type": "string"
+ },
+ "request": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The original request that started the operation.",
+ "type": "object"
+ },
+ "type": {
+ "description": "Type of operation.",
+ "enum": [
+ "OPERATION_UNSPECIFIED",
+ "CREATE_FUNCTION",
+ "UPDATE_FUNCTION",
+ "DELETE_FUNCTION"
+ ],
+ "enumDescriptions": [
+ "Unknown operation type.",
+ "Triggered by CreateFunction call",
+ "Triggered by UpdateFunction call",
+ "Triggered by DeleteFunction call."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "",
+ "title": "Google Cloud Functions API",
+ "version": "v1"
+}
\ No newline at end of file
diff --git a/discovery/googleapis_beta/cloudkms__v1beta1.json b/discovery/googleapis/cloudkms__v1.json
similarity index 93%
rename from discovery/googleapis_beta/cloudkms__v1beta1.json
rename to discovery/googleapis/cloudkms__v1.json
index 8cf281e..235c8b8 100644
--- a/discovery/googleapis_beta/cloudkms__v1beta1.json
+++ b/discovery/googleapis/cloudkms__v1.json
@@ -19,38 +19,12 @@
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
- "id": "cloudkms:v1beta1",
+ "id": "cloudkms:v1",
"kind": "discovery#restDescription",
"name": "cloudkms",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "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"
- },
- "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"
- },
- "access_token": {
- "description": "OAuth access token.",
- "location": "query",
- "type": "string"
- },
"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",
@@ -62,13 +36,13 @@
"location": "query",
"type": "boolean"
},
- "bearer_token": {
- "description": "OAuth bearer token.",
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
+ "bearer_token": {
+ "description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
@@ -110,6 +84,32 @@
],
"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"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "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"
}
},
"protocol": "rest",
@@ -126,6 +126,11 @@
"name"
],
"parameters": {
+ "filter": {
+ "description": "The standard list filter.",
+ "location": "query",
+ "type": "string"
+ },
"name": {
"description": "The resource that owns the locations collection, if applicable.",
"location": "path",
@@ -143,14 +148,9 @@
"format": "int32",
"location": "query",
"type": "integer"
- },
- "filter": {
- "description": "The standard list filter.",
- "location": "query",
- "type": "string"
}
},
- "path": "v1beta1/{+name}/locations",
+ "path": "v1/{+name}/locations",
"response": {
"$ref": "ListLocationsResponse"
},
@@ -174,7 +174,7 @@
"type": "string"
}
},
- "path": "v1beta1/{+name}",
+ "path": "v1/{+name}",
"response": {
"$ref": "Location"
},
@@ -186,41 +186,6 @@
"resources": {
"keyRings": {
"methods": {
- "list": {
- "description": "Lists KeyRings.",
- "httpMethod": "GET",
- "id": "cloudkms.projects.locations.keyRings.list",
- "parameterOrder": [
- "parent"
- ],
- "parameters": {
- "pageToken": {
- "description": "Optional pagination token, returned earlier via\nListKeyRingsResponse.next_page_token.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Optional limit on the number of KeyRings to include in the\nresponse. Further KeyRings can subsequently be obtained by\nincluding the ListKeyRingsResponse.next_page_token in a subsequent\nrequest. If unspecified, the server will pick an appropriate default.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "parent": {
- "description": "Required. The resource name of the location associated with the\nKeyRings, in the format `projects/*/locations/*`.",
- "location": "path",
- "pattern": "^projects/[^/]+/locations/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+parent}/keyRings",
- "response": {
- "$ref": "ListKeyRingsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
"create": {
"description": "Create a new KeyRing in a given Project and Location.",
"httpMethod": "POST",
@@ -242,7 +207,7 @@
"type": "string"
}
},
- "path": "v1beta1/{+parent}/keyRings",
+ "path": "v1/{+parent}/keyRings",
"request": {
"$ref": "KeyRing"
},
@@ -262,14 +227,14 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy is being specified.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
+ "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v1beta1/{+resource}:setIamPolicy",
+ "path": "v1/{+resource}:setIamPolicy",
"request": {
"$ref": "SetIamPolicyRequest"
},
@@ -289,14 +254,14 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
+ "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v1beta1/{+resource}:getIamPolicy",
+ "path": "v1/{+resource}:getIamPolicy",
"response": {
"$ref": "Policy"
},
@@ -320,7 +285,7 @@
"type": "string"
}
},
- "path": "v1beta1/{+name}",
+ "path": "v1/{+name}",
"response": {
"$ref": "KeyRing"
},
@@ -337,14 +302,14 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy detail is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
+ "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v1beta1/{+resource}:testIamPermissions",
+ "path": "v1/{+resource}:testIamPermissions",
"request": {
"$ref": "TestIamPermissionsRequest"
},
@@ -354,86 +319,46 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
+ },
+ "list": {
+ "description": "Lists KeyRings.",
+ "httpMethod": "GET",
+ "id": "cloudkms.projects.locations.keyRings.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "Optional limit on the number of KeyRings to include in the\nresponse. Further KeyRings can subsequently be obtained by\nincluding the ListKeyRingsResponse.next_page_token in a subsequent\nrequest. If unspecified, the server will pick an appropriate default.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "parent": {
+ "description": "Required. The resource name of the location associated with the\nKeyRings, in the format `projects/*/locations/*`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "Optional pagination token, returned earlier via\nListKeyRingsResponse.next_page_token.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/keyRings",
+ "response": {
+ "$ref": "ListKeyRingsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
}
},
"resources": {
"cryptoKeys": {
"methods": {
- "updatePrimaryVersion": {
- "description": "Update the version of a CryptoKey that will be used in Encrypt",
- "httpMethod": "POST",
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The resource name of the CryptoKey to update.",
- "location": "path",
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+name}:updatePrimaryVersion",
- "request": {
- "$ref": "UpdateCryptoKeyPrimaryVersionRequest"
- },
- "response": {
- "$ref": "CryptoKey"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "getIamPolicy": {
- "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.",
- "httpMethod": "GET",
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy",
- "parameterOrder": [
- "resource"
- ],
- "parameters": {
- "resource": {
- "description": "REQUIRED: The resource for which the policy is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
- "location": "path",
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+resource}:getIamPolicy",
- "response": {
- "$ref": "Policy"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "get": {
- "description": "Returns metadata for a given CryptoKey, as well as its\nprimary CryptoKeyVersion.",
- "httpMethod": "GET",
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.get",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The name of the CryptoKey to get.",
- "location": "path",
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+name}",
- "response": {
- "$ref": "CryptoKey"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
"patch": {
"description": "Update a CryptoKey.",
"httpMethod": "PATCH",
@@ -456,7 +381,7 @@
"type": "string"
}
},
- "path": "v1beta1/{+name}",
+ "path": "v1/{+name}",
"request": {
"$ref": "CryptoKey"
},
@@ -467,6 +392,30 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
+ "get": {
+ "description": "Returns metadata for a given CryptoKey, as well as its\nprimary CryptoKeyVersion.",
+ "httpMethod": "GET",
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the CryptoKey to get.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "CryptoKey"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"testIamPermissions": {
"description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
"httpMethod": "POST",
@@ -476,14 +425,14 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy detail is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
+ "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v1beta1/{+resource}:testIamPermissions",
+ "path": "v1/{+resource}:testIamPermissions",
"request": {
"$ref": "TestIamPermissionsRequest"
},
@@ -510,7 +459,7 @@
"type": "string"
}
},
- "path": "v1beta1/{+name}:decrypt",
+ "path": "v1/{+name}:decrypt",
"request": {
"$ref": "DecryptRequest"
},
@@ -529,6 +478,12 @@
"parent"
],
"parameters": {
+ "pageSize": {
+ "description": "Optional limit on the number of CryptoKeys to include in the\nresponse. Further CryptoKeys can subsequently be obtained by\nincluding the ListCryptoKeysResponse.next_page_token in a subsequent\nrequest. If unspecified, the server will pick an appropriate default.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
"parent": {
"description": "Required. The resource name of the KeyRing to list, in the format\n`projects/*/locations/*/keyRings/*`.",
"location": "path",
@@ -540,15 +495,9 @@
"description": "Optional pagination token, returned earlier via\nListCryptoKeysResponse.next_page_token.",
"location": "query",
"type": "string"
- },
- "pageSize": {
- "description": "Optional limit on the number of CryptoKeys to include in the\nresponse. Further CryptoKeys can subsequently be obtained by\nincluding the ListCryptoKeysResponse.next_page_token in a subsequent\nrequest. If unspecified, the server will pick an appropriate default.",
- "format": "int32",
- "location": "query",
- "type": "integer"
}
},
- "path": "v1beta1/{+parent}/cryptoKeys",
+ "path": "v1/{+parent}/cryptoKeys",
"response": {
"$ref": "ListCryptoKeysResponse"
},
@@ -572,7 +521,7 @@
"type": "string"
}
},
- "path": "v1beta1/{+name}:encrypt",
+ "path": "v1/{+name}:encrypt",
"request": {
"$ref": "EncryptRequest"
},
@@ -604,7 +553,7 @@
"type": "string"
}
},
- "path": "v1beta1/{+parent}/cryptoKeys",
+ "path": "v1/{+parent}/cryptoKeys",
"request": {
"$ref": "CryptoKey"
},
@@ -624,14 +573,14 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy is being specified.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
+ "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v1beta1/{+resource}:setIamPolicy",
+ "path": "v1/{+resource}:setIamPolicy",
"request": {
"$ref": "SetIamPolicyRequest"
},
@@ -641,127 +590,62 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
+ },
+ "updatePrimaryVersion": {
+ "description": "Update the version of a CryptoKey that will be used in Encrypt",
+ "httpMethod": "POST",
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The resource name of the CryptoKey to update.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}:updatePrimaryVersion",
+ "request": {
+ "$ref": "UpdateCryptoKeyPrimaryVersionRequest"
+ },
+ "response": {
+ "$ref": "CryptoKey"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "getIamPolicy": {
+ "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.",
+ "httpMethod": "GET",
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:getIamPolicy",
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
}
},
"resources": {
"cryptoKeyVersions": {
"methods": {
- "list": {
- "description": "Lists CryptoKeyVersions.",
- "httpMethod": "GET",
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list",
- "parameterOrder": [
- "parent"
- ],
- "parameters": {
- "parent": {
- "description": "Required. The resource name of the CryptoKey to list, in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.",
- "location": "path",
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$",
- "required": true,
- "type": "string"
- },
- "pageToken": {
- "description": "Optional pagination token, returned earlier via\nListCryptoKeyVersionsResponse.next_page_token.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Optional limit on the number of CryptoKeyVersions to\ninclude in the response. Further CryptoKeyVersions can\nsubsequently be obtained by including the\nListCryptoKeyVersionsResponse.next_page_token in a subsequent request.\nIf unspecified, the server will pick an appropriate default.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- }
- },
- "path": "v1beta1/{+parent}/cryptoKeyVersions",
- "response": {
- "$ref": "ListCryptoKeyVersionsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "create": {
- "description": "Create a new CryptoKeyVersion in a CryptoKey.\n\nThe server will assign the next sequential id. If unset,\nstate will be set to\nENABLED.",
- "httpMethod": "POST",
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create",
- "parameterOrder": [
- "parent"
- ],
- "parameters": {
- "parent": {
- "description": "Required. The name of the CryptoKey associated with\nthe CryptoKeyVersions.",
- "location": "path",
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+parent}/cryptoKeyVersions",
- "request": {
- "$ref": "CryptoKeyVersion"
- },
- "response": {
- "$ref": "CryptoKeyVersion"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "destroy": {
- "description": "Schedule a CryptoKeyVersion for destruction.\n\nUpon calling this method, CryptoKeyVersion.state will be set to\nDESTROY_SCHEDULED\nand destroy_time will be set to a time 24\nhours in the future, at which point the state\nwill be changed to\nDESTROYED, and the key\nmaterial will be irrevocably destroyed.\n\nBefore the destroy_time is reached,\nRestoreCryptoKeyVersion may be called to reverse the process.",
- "httpMethod": "POST",
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The resource name of the CryptoKeyVersion to destroy.",
- "location": "path",
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+name}:destroy",
- "request": {
- "$ref": "DestroyCryptoKeyVersionRequest"
- },
- "response": {
- "$ref": "CryptoKeyVersion"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "restore": {
- "description": "Restore a CryptoKeyVersion in the\nDESTROY_SCHEDULED,\nstate.\n\nUpon restoration of the CryptoKeyVersion, state\nwill be set to DISABLED,\nand destroy_time will be cleared.",
- "httpMethod": "POST",
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The resource name of the CryptoKeyVersion to restore.",
- "location": "path",
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+name}:restore",
- "request": {
- "$ref": "RestoreCryptoKeyVersionRequest"
- },
- "response": {
- "$ref": "CryptoKeyVersion"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
"get": {
"description": "Returns metadata for a given CryptoKeyVersion.",
"httpMethod": "GET",
@@ -778,7 +662,7 @@
"type": "string"
}
},
- "path": "v1beta1/{+name}",
+ "path": "v1/{+name}",
"response": {
"$ref": "CryptoKeyVersion"
},
@@ -808,7 +692,7 @@
"type": "string"
}
},
- "path": "v1beta1/{+name}",
+ "path": "v1/{+name}",
"request": {
"$ref": "CryptoKeyVersion"
},
@@ -818,6 +702,122 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
+ },
+ "list": {
+ "description": "Lists CryptoKeyVersions.",
+ "httpMethod": "GET",
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The resource name of the CryptoKey to list, in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "Optional pagination token, returned earlier via\nListCryptoKeyVersionsResponse.next_page_token.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Optional limit on the number of CryptoKeyVersions to\ninclude in the response. Further CryptoKeyVersions can\nsubsequently be obtained by including the\nListCryptoKeyVersionsResponse.next_page_token in a subsequent request.\nIf unspecified, the server will pick an appropriate default.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ }
+ },
+ "path": "v1/{+parent}/cryptoKeyVersions",
+ "response": {
+ "$ref": "ListCryptoKeyVersionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "create": {
+ "description": "Create a new CryptoKeyVersion in a CryptoKey.\n\nThe server will assign the next sequential id. If unset,\nstate will be set to\nENABLED.",
+ "httpMethod": "POST",
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The name of the CryptoKey associated with\nthe CryptoKeyVersions.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/cryptoKeyVersions",
+ "request": {
+ "$ref": "CryptoKeyVersion"
+ },
+ "response": {
+ "$ref": "CryptoKeyVersion"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "destroy": {
+ "description": "Schedule a CryptoKeyVersion for destruction.\n\nUpon calling this method, CryptoKeyVersion.state will be set to\nDESTROY_SCHEDULED\nand destroy_time will be set to a time 24\nhours in the future, at which point the state\nwill be changed to\nDESTROYED, and the key\nmaterial will be irrevocably destroyed.\n\nBefore the destroy_time is reached,\nRestoreCryptoKeyVersion may be called to reverse the process.",
+ "httpMethod": "POST",
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The resource name of the CryptoKeyVersion to destroy.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}:destroy",
+ "request": {
+ "$ref": "DestroyCryptoKeyVersionRequest"
+ },
+ "response": {
+ "$ref": "CryptoKeyVersion"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "restore": {
+ "description": "Restore a CryptoKeyVersion in the\nDESTROY_SCHEDULED,\nstate.\n\nUpon restoration of the CryptoKeyVersion, state\nwill be set to DISABLED,\nand destroy_time will be cleared.",
+ "httpMethod": "POST",
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The resource name of the CryptoKeyVersion to restore.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}:restore",
+ "request": {
+ "$ref": "RestoreCryptoKeyVersionRequest"
+ },
+ "response": {
+ "$ref": "CryptoKeyVersion"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
}
}
}
@@ -830,125 +830,13 @@
}
}
},
- "revision": "20170222",
+ "revision": "20170320",
"rootUrl": "https://cloudkms.googleapis.com/",
"schemas": {
- "CryptoKey": {
- "description": "A CryptoKey represents a logical key that can be used for cryptographic\noperations.\n\nA CryptoKey is made up of one or more versions, which\nrepresent the actual key material used in cryptographic operations.",
- "id": "CryptoKey",
- "properties": {
- "purpose": {
- "description": "The immutable purpose of this CryptoKey. Currently, the only acceptable\npurpose is ENCRYPT_DECRYPT.",
- "enum": [
- "CRYPTO_KEY_PURPOSE_UNSPECIFIED",
- "ENCRYPT_DECRYPT"
- ],
- "enumDescriptions": [
- "Not specified.",
- "CryptoKeys with this purpose may be used with\nEncrypt and\nDecrypt."
- ],
- "type": "string"
- },
- "nextRotationTime": {
- "description": "At next_rotation_time, the Key Management Service will automatically:\n\n1. Create a new version of this CryptoKey.\n2. Mark the new version as primary.\n\nKey rotations performed manually via\nCreateCryptoKeyVersion and\nUpdateCryptoKeyPrimaryVersion\ndo not affect next_rotation_time.",
- "format": "google-datetime",
- "type": "string"
- },
- "createTime": {
- "description": "Output only. The time at which this CryptoKey was created.",
- "format": "google-datetime",
- "type": "string"
- },
- "rotationPeriod": {
- "description": "next_rotation_time will be advanced by this period when the service\nautomatically rotates a key. Must be at least one day.\n\nIf rotation_period is set, next_rotation_time must also be set.",
- "format": "google-duration",
- "type": "string"
- },
- "primary": {
- "$ref": "CryptoKeyVersion",
- "description": "Output only. A copy of the \"primary\" CryptoKeyVersion that will be used\nby Encrypt when this CryptoKey is given\nin EncryptRequest.name.\n\nThe CryptoKey's primary version can be updated via\nUpdateCryptoKeyPrimaryVersion."
- },
- "name": {
- "description": "Output only. The resource name for this CryptoKey in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Rule": {
- "description": "A rule to be applied in a Policy.",
- "id": "Rule",
- "properties": {
- "in": {
- "description": "If one or more 'in' clauses are specified, the rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "permissions": {
- "description": "A permission is a string of form '<service>.<resource type>.<verb>'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "action": {
- "description": "Required",
- "enum": [
- "NO_ACTION",
- "ALLOW",
- "ALLOW_WITH_LOG",
- "DENY",
- "DENY_WITH_LOG",
- "LOG"
- ],
- "enumDescriptions": [
- "Default no action.",
- "Matching 'Entries' grant access.",
- "Matching 'Entries' grant access and the caller promises to log\nthe request per the returned log_configs.",
- "Matching 'Entries' deny access.",
- "Matching 'Entries' deny access and the caller promises to log\nthe request per the returned log_configs.",
- "Matching 'Entries' tell IAM.Check callers to generate logs."
- ],
- "type": "string"
- },
- "notIn": {
- "description": "If one or more 'not_in' clauses are specified, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.\nThe format for in and not_in entries is the same as for members in a\nBinding (see google/iam/v1/policy.proto).",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "description": {
- "description": "Human-readable description of the rule.",
- "type": "string"
- },
- "conditions": {
- "description": "Additional restrictions that must be met",
- "items": {
- "$ref": "Condition"
- },
- "type": "array"
- },
- "logConfig": {
- "description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries\nthat match the LOG action.",
- "items": {
- "$ref": "LogConfig"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"LogConfig": {
- "description": "Specifies what kind of log the caller must write\nIncrement a streamz counter with the specified metric and field names.\n\nMetric names should start with a '/', generally be lowercase-only,\nand end in \"_count\". Field names should not contain an initial slash.\nThe actual exported metric names will have \"/iam/policy\" prepended.\n\nField names correspond to IAM request parameters and field values are\ntheir respective values.\n\nAt present the only supported field names are\n - \"iam_principal\", corresponding to IAMContext.principal;\n - \"\" (empty string), resulting in one aggretated counter with no field.\n\nExamples:\n counter { metric: \"/debug_access_count\" field: \"iam_principal\" }\n ==> increment counter /iam/policy/backend_debug_access_count\n {iam_principal=[value of IAMContext.principal]}\n\nAt this time we do not support:\n* multiple field names (though this may be supported in the future)\n* decrementing the counter\n* incrementing it by anything other than 1",
+ "description": "Specifies what kind of log the caller must write",
"id": "LogConfig",
"properties": {
- "counter": {
- "$ref": "CounterOptions",
- "description": "Counter options."
- },
"dataAccess": {
"$ref": "DataAccessOptions",
"description": "Data access options."
@@ -956,6 +844,10 @@
"cloudAudit": {
"$ref": "CloudAuditOptions",
"description": "Cloud audit options."
+ },
+ "counter": {
+ "$ref": "CounterOptions",
+ "description": "Counter options."
}
},
"type": "object"
@@ -964,14 +856,14 @@
"description": "Request message for `SetIamPolicy` method.",
"id": "SetIamPolicyRequest",
"properties": {
+ "updateMask": {
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
+ "format": "google-fieldmask",
+ "type": "string"
+ },
"policy": {
"$ref": "Policy",
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
- },
- "updateMask": {
- "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, a default\nmask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
- "format": "google-fieldmask",
- "type": "string"
}
},
"type": "object"
@@ -1050,19 +942,43 @@
"description": "A condition to be met.",
"id": "Condition",
"properties": {
+ "sys": {
+ "description": "Trusted attributes supplied by any service that owns resources and uses\nthe IAM system for access control.",
+ "enum": [
+ "NO_ATTR",
+ "REGION",
+ "SERVICE",
+ "NAME",
+ "IP"
+ ],
+ "enumDescriptions": [
+ "Default non-attribute type",
+ "Region of the resource",
+ "Service name",
+ "Resource name",
+ "IP address of the caller"
+ ],
+ "type": "string"
+ },
+ "value": {
+ "description": "DEPRECATED. Use 'values' instead.",
+ "type": "string"
+ },
"iam": {
"description": "Trusted attributes supplied by the IAM system.",
"enum": [
"NO_ATTR",
"AUTHORITY",
"ATTRIBUTION",
- "APPROVER"
+ "APPROVER",
+ "JUSTIFICATION_TYPE"
],
"enumDescriptions": [
"Default non-attribute.",
"Either principal or (if present) authority selector.",
"The principal (even if an authority selector is present), which\nmust only be used for attribution, not authorization.",
- "An approver (distinct from the requester) that has authorized this\nrequest.\nWhen used with IN, the condition indicates that one of the approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, and are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT_IN).\nSee: go/rpc-security-policy-dynamicauth."
+ "An approver (distinct from the requester) that has authorized this\nrequest.\nWhen used with IN, the condition indicates that one of the approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, and are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT_IN).\nSee: go/rpc-security-policy-dynamicauth.",
+ "What types of justifications have been supplied with this request.\nString values should match enum names from tech.iam.JustificationType,\ne.g. \"MANUAL_STRING\". It is not permitted to grant access based on\nthe *absence* of a justification, so justification conditions can only\nbe used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).\n\nMultiple justifications, e.g., a Buganizer ID and a manually-entered\nreason, are normal and supported."
],
"type": "string"
},
@@ -1087,8 +1003,8 @@
"Default no-op.",
"DEPRECATED. Use IN instead.",
"DEPRECATED. Use NOT_IN instead.",
- "Set-inclusion check.",
- "Set-exclusion check.",
+ "The condition is true if the subject (or any element of it if it is\na set) matches any of the supplied values.",
+ "The condition is true if the subject (or every element of it if it is\na set) matches none of the supplied values.",
"Subject is discharged"
],
"type": "string"
@@ -1096,28 +1012,6 @@
"svc": {
"description": "Trusted attributes discharged by the service.",
"type": "string"
- },
- "value": {
- "description": "DEPRECATED. Use 'values' instead.",
- "type": "string"
- },
- "sys": {
- "description": "Trusted attributes supplied by any service that owns resources and uses\nthe IAM system for access control.",
- "enum": [
- "NO_ATTR",
- "REGION",
- "SERVICE",
- "NAME",
- "IP"
- ],
- "enumDescriptions": [
- "Default non-attribute type",
- "Region of the resource",
- "Service name",
- "Resource name",
- "IP address of the caller"
- ],
- "type": "string"
}
},
"type": "object"
@@ -1141,6 +1035,13 @@
"description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
+ "exemptedMembers": {
+ "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"logType": {
"description": "The log type that this config enables.",
"enum": [
@@ -1156,13 +1057,6 @@
"Data reads. Example: CloudSQL Users list"
],
"type": "string"
- },
- "exemptedMembers": {
- "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.",
- "items": {
- "type": "string"
- },
- "type": "array"
}
},
"type": "object"
@@ -1197,11 +1091,6 @@
"description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).",
"id": "Policy",
"properties": {
- "version": {
- "description": "Version of the `Policy`. The default version is 0.",
- "format": "int32",
- "type": "integer"
- },
"auditConfigs": {
"description": "Specifies cloud audit logging configuration for this policy.",
"items": {
@@ -1230,6 +1119,29 @@
"$ref": "Rule"
},
"type": "array"
+ },
+ "version": {
+ "description": "Version of the `Policy`. The default version is 0.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "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"
@@ -1250,46 +1162,22 @@
},
"type": "object"
},
- "ListLocationsResponse": {
- "description": "The response message for Locations.ListLocations.",
- "id": "ListLocationsResponse",
- "properties": {
- "nextPageToken": {
- "description": "The standard List next-page token.",
- "type": "string"
- },
- "locations": {
- "description": "A list of locations that matches the specified filter in the request.",
- "items": {
- "$ref": "Location"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"KeyRing": {
"description": "A KeyRing is a toplevel logical grouping of CryptoKeys.",
"id": "KeyRing",
"properties": {
+ "name": {
+ "description": "Output only. The resource name for the KeyRing in the format\n`projects/*/locations/*/keyRings/*`.",
+ "type": "string"
+ },
"createTime": {
"description": "Output only. The time at which this KeyRing was created.",
"format": "google-datetime",
"type": "string"
- },
- "name": {
- "description": "Output only. The resource name for the KeyRing in the format\n`projects/*/locations/*/keyRings/*`.",
- "type": "string"
}
},
"type": "object"
},
- "RestoreCryptoKeyVersionRequest": {
- "description": "Request message for KeyManagementService.RestoreCryptoKeyVersion.",
- "id": "RestoreCryptoKeyVersionRequest",
- "properties": {},
- "type": "object"
- },
"UpdateCryptoKeyPrimaryVersionRequest": {
"description": "Request message for KeyManagementService.UpdateCryptoKeyPrimaryVersion.",
"id": "UpdateCryptoKeyPrimaryVersionRequest",
@@ -1301,9 +1189,9 @@
},
"type": "object"
},
- "DataAccessOptions": {
- "description": "Write a Data Access (Gin) log",
- "id": "DataAccessOptions",
+ "RestoreCryptoKeyVersionRequest": {
+ "description": "Request message for KeyManagementService.RestoreCryptoKeyVersion.",
+ "id": "RestoreCryptoKeyVersionRequest",
"properties": {},
"type": "object"
},
@@ -1330,18 +1218,18 @@
},
"type": "object"
},
+ "DataAccessOptions": {
+ "description": "Write a Data Access (Gin) log",
+ "id": "DataAccessOptions",
+ "properties": {},
+ "type": "object"
+ },
"AuditConfig": {
- "description": "Specifies the audit configuration for a service.\nIt consists of which permission types are logged, and what identities, if\nany, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
- "exemptedMembers": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
"service": {
- "description": "Specifies a service that will be enabled for audit logging.\nFor example, `resourcemanager`, `storage`, `compute`.\n`allServices` is a special value that covers all services.",
+ "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.",
"type": "string"
},
"auditLogConfigs": {
@@ -1350,6 +1238,12 @@
"$ref": "AuditLogConfig"
},
"type": "array"
+ },
+ "exemptedMembers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -1358,6 +1252,16 @@
"description": "A CryptoKeyVersion represents an individual cryptographic key, and the\nassociated key material.\n\nIt can be used for cryptographic operations either directly, or via its\nparent CryptoKey, in which case the server will choose the appropriate\nversion for the operation.",
"id": "CryptoKeyVersion",
"properties": {
+ "destroyTime": {
+ "description": "Output only. The time this CryptoKeyVersion's key material is scheduled\nfor destruction. Only present if state is\nDESTROY_SCHEDULED.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "createTime": {
+ "description": "Output only. The time at which this CryptoKeyVersion was created.",
+ "format": "google-datetime",
+ "type": "string"
+ },
"state": {
"description": "The current state of the CryptoKeyVersion.",
"enum": [
@@ -1384,16 +1288,6 @@
"description": "Output only. The time this CryptoKeyVersion's key material was\ndestroyed. Only present if state is\nDESTROYED.",
"format": "google-datetime",
"type": "string"
- },
- "destroyTime": {
- "description": "Output only. The time this CryptoKeyVersion's key material is scheduled\nfor destruction. Only present if state is\nDESTROY_SCHEDULED.",
- "format": "google-datetime",
- "type": "string"
- },
- "createTime": {
- "description": "Output only. The time at which this CryptoKeyVersion was created.",
- "format": "google-datetime",
- "type": "string"
}
},
"type": "object"
@@ -1408,16 +1302,16 @@
"description": "Associates `members` with a `role`.",
"id": "Binding",
"properties": {
- "role": {
- "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
- "type": "string"
- },
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
"items": {
"type": "string"
},
"type": "array"
+ },
+ "role": {
+ "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
+ "type": "string"
}
},
"type": "object"
@@ -1426,13 +1320,13 @@
"description": "Request message for KeyManagementService.Encrypt.",
"id": "EncryptRequest",
"properties": {
- "additionalAuthenticatedData": {
- "description": "Optional data that, if specified, must also be provided during decryption\nthrough DecryptRequest.additional_authenticated_data. Must be no\nlarger than 64KiB.",
+ "plaintext": {
+ "description": "Required. The data to encrypt. Must be no larger than 64KiB.",
"format": "byte",
"type": "string"
},
- "plaintext": {
- "description": "Required. The data to encrypt. Must be no larger than 64KiB.",
+ "additionalAuthenticatedData": {
+ "description": "Optional data that, if specified, must also be provided during decryption\nthrough DecryptRequest.additional_authenticated_data. Must be no\nlarger than 64KiB.",
"format": "byte",
"type": "string"
}
@@ -1481,9 +1375,117 @@
"id": "DestroyCryptoKeyVersionRequest",
"properties": {},
"type": "object"
+ },
+ "CryptoKey": {
+ "description": "A CryptoKey represents a logical key that can be used for cryptographic\noperations.\n\nA CryptoKey is made up of one or more versions, which\nrepresent the actual key material used in cryptographic operations.",
+ "id": "CryptoKey",
+ "properties": {
+ "purpose": {
+ "description": "The immutable purpose of this CryptoKey. Currently, the only acceptable\npurpose is ENCRYPT_DECRYPT.",
+ "enum": [
+ "CRYPTO_KEY_PURPOSE_UNSPECIFIED",
+ "ENCRYPT_DECRYPT"
+ ],
+ "enumDescriptions": [
+ "Not specified.",
+ "CryptoKeys with this purpose may be used with\nEncrypt and\nDecrypt."
+ ],
+ "type": "string"
+ },
+ "nextRotationTime": {
+ "description": "At next_rotation_time, the Key Management Service will automatically:\n\n1. Create a new version of this CryptoKey.\n2. Mark the new version as primary.\n\nKey rotations performed manually via\nCreateCryptoKeyVersion and\nUpdateCryptoKeyPrimaryVersion\ndo not affect next_rotation_time.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "createTime": {
+ "description": "Output only. The time at which this CryptoKey was created.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "rotationPeriod": {
+ "description": "next_rotation_time will be advanced by this period when the service\nautomatically rotates a key. Must be at least one day.\n\nIf rotation_period is set, next_rotation_time must also be set.",
+ "format": "google-duration",
+ "type": "string"
+ },
+ "primary": {
+ "$ref": "CryptoKeyVersion",
+ "description": "Output only. A copy of the \"primary\" CryptoKeyVersion that will be used\nby Encrypt when this CryptoKey is given\nin EncryptRequest.name.\n\nThe CryptoKey's primary version can be updated via\nUpdateCryptoKeyPrimaryVersion."
+ },
+ "name": {
+ "description": "Output only. The resource name for this CryptoKey in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Rule": {
+ "description": "A rule to be applied in a Policy.",
+ "id": "Rule",
+ "properties": {
+ "logConfig": {
+ "description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries\nthat match the LOG action.",
+ "items": {
+ "$ref": "LogConfig"
+ },
+ "type": "array"
+ },
+ "in": {
+ "description": "If one or more 'in' clauses are specified, the rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "permissions": {
+ "description": "A permission is a string of form '<service>.<resource type>.<verb>'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "action": {
+ "description": "Required",
+ "enum": [
+ "NO_ACTION",
+ "ALLOW",
+ "ALLOW_WITH_LOG",
+ "DENY",
+ "DENY_WITH_LOG",
+ "LOG"
+ ],
+ "enumDescriptions": [
+ "Default no action.",
+ "Matching 'Entries' grant access.",
+ "Matching 'Entries' grant access and the caller promises to log\nthe request per the returned log_configs.",
+ "Matching 'Entries' deny access.",
+ "Matching 'Entries' deny access and the caller promises to log\nthe request per the returned log_configs.",
+ "Matching 'Entries' tell IAM.Check callers to generate logs."
+ ],
+ "type": "string"
+ },
+ "notIn": {
+ "description": "If one or more 'not_in' clauses are specified, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.\nThe format for in and not_in entries is the same as for members in a\nBinding (see google/iam/v1/policy.proto).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "description": {
+ "description": "Human-readable description of the rule.",
+ "type": "string"
+ },
+ "conditions": {
+ "description": "Additional restrictions that must be met",
+ "items": {
+ "$ref": "Condition"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
}
},
"servicePath": "",
"title": "Google Cloud Key Management Service (KMS) API",
- "version": "v1beta1"
+ "version": "v1"
}
\ No newline at end of file
diff --git a/discovery/googleapis/cloudresourcemanager__v1.json b/discovery/googleapis/cloudresourcemanager__v1.json
index 23eda69..9d27f32 100644
--- a/discovery/googleapis/cloudresourcemanager__v1.json
+++ b/discovery/googleapis/cloudresourcemanager__v1.json
@@ -28,6 +28,16 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
@@ -39,18 +49,13 @@
"location": "query",
"type": "boolean"
},
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
@@ -67,6 +72,11 @@
"location": "query",
"type": "string"
},
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -103,22 +113,112 @@
"description": "Pretty-print response.",
"location": "query",
"type": "boolean"
- },
- "bearer_token": {
- "description": "OAuth bearer token.",
- "location": "query",
- "type": "string"
- },
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
}
},
"protocol": "rest",
"resources": {
"organizations": {
"methods": {
+ "setOrgPolicy": {
+ "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.setOrgPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Resource name of the resource to attach the `Policy`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:setOrgPolicy",
+ "request": {
+ "$ref": "SetOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "clearOrgPolicyV1": {
+ "description": "Clears a `Policy` from a resource.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.clearOrgPolicyV1",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource for the `Policy` to clear.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:clearOrgPolicyV1",
+ "request": {
+ "$ref": "ClearOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "listOrgPolicies": {
+ "description": "Lists all the `Policies` set for a particular resource.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.listOrgPolicies",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource to list Policies for.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:listOrgPolicies",
+ "request": {
+ "$ref": "ListOrgPoliciesRequest"
+ },
+ "response": {
+ "$ref": "ListOrgPoliciesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "search": {
+ "description": "Searches Organization resources that are visible to the user and satisfy\nthe specified filter. This method returns Organizations in an unspecified\norder. New Organizations do not necessarily appear at the end of the\nresults.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.search",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/organizations:search",
+ "request": {
+ "$ref": "SearchOrganizationsRequest"
+ },
+ "response": {
+ "$ref": "SearchOrganizationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
"get": {
"description": "Fetches an Organization resource identified by the specified resource name.",
"httpMethod": "GET",
@@ -144,6 +244,89 @@
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
},
+ "getEffectiveOrgPolicyV1": {
+ "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.getEffectiveOrgPolicyV1",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "The name of the resource to start computing the effective `Policy`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:getEffectiveOrgPolicyV1",
+ "request": {
+ "$ref": "GetEffectiveOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "testIamPermissions": {
+ "description": "Returns permissions that a caller has on the specified Organization.\nThe `resource` field should be the organization's resource name,\ne.g. \"organizations/123\".",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.testIamPermissions",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:testIamPermissions",
+ "request": {
+ "$ref": "TestIamPermissionsRequest"
+ },
+ "response": {
+ "$ref": "TestIamPermissionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "clearOrgPolicy": {
+ "description": "Clears a `Policy` from a resource.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.clearOrgPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource for the `Policy` to clear.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:clearOrgPolicy",
+ "request": {
+ "$ref": "ClearOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"setIamPolicy": {
"description": "Sets the access control policy on an Organization resource. Replaces any\nexisting policy. The `resource` field should be the organization's resource\nname, e.g. \"organizations/123\".",
"httpMethod": "POST",
@@ -171,28 +354,28 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
- "testIamPermissions": {
- "description": "Returns permissions that a caller has on the specified Organization.\nThe `resource` field should be the organization's resource name,\ne.g. \"organizations/123\".",
+ "listAvailableOrgPolicyConstraints": {
+ "description": "Lists `Constraints` that could be applied on the specified resource.",
"httpMethod": "POST",
- "id": "cloudresourcemanager.organizations.testIamPermissions",
+ "id": "cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints",
"parameterOrder": [
"resource"
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
+ "description": "Name of the resource to list `Constraints` for.",
"location": "path",
"pattern": "^organizations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v1/{+resource}:testIamPermissions",
+ "path": "v1/{+resource}:listAvailableOrgPolicyConstraints",
"request": {
- "$ref": "TestIamPermissionsRequest"
+ "$ref": "ListAvailableOrgPolicyConstraintsRequest"
},
"response": {
- "$ref": "TestIamPermissionsResponse"
+ "$ref": "ListAvailableOrgPolicyConstraintsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
@@ -227,28 +410,146 @@
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
},
- "search": {
- "description": "Searches Organization resources that are visible to the user and satisfy\nthe specified filter. This method returns Organizations in an unspecified\norder. New Organizations do not necessarily appear at the end of the\nresults.",
+ "getOrgPolicy": {
+ "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.",
"httpMethod": "POST",
- "id": "cloudresourcemanager.organizations.search",
- "parameterOrder": [],
- "parameters": {},
- "path": "v1/organizations:search",
+ "id": "cloudresourcemanager.organizations.getOrgPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource the `Policy` is set on.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:getOrgPolicy",
"request": {
- "$ref": "SearchOrganizationsRequest"
+ "$ref": "GetOrgPolicyRequest"
},
"response": {
- "$ref": "SearchOrganizationsResponse"
+ "$ref": "OrgPolicy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
+ },
+ "getEffectiveOrgPolicy": {
+ "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.getEffectiveOrgPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "The name of the resource to start computing the effective `Policy`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:getEffectiveOrgPolicy",
+ "request": {
+ "$ref": "GetEffectiveOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "getOrgPolicyV1": {
+ "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.getOrgPolicyV1",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource the `Policy` is set on.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:getOrgPolicyV1",
+ "request": {
+ "$ref": "GetOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "setOrgPolicyV1": {
+ "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.setOrgPolicyV1",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Resource name of the resource to attach the `Policy`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:setOrgPolicyV1",
+ "request": {
+ "$ref": "SetOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
}
}
},
"liens": {
"methods": {
+ "delete": {
+ "description": "Delete a Lien by `name`.\n\nCallers of this method will require permission on the `parent` resource.\nFor example, a Lien with a `parent` of `projects/1234` requires permission\n`resourcemanager.projects.updateLiens`.",
+ "httpMethod": "DELETE",
+ "id": "cloudresourcemanager.liens.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name/identifier of the Lien to delete.",
+ "location": "path",
+ "pattern": "^liens/.+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
"list": {
"description": "List all Liens applied to the `parent` resource.\n\nCallers of this method will require permission on the `parent` resource.\nFor example, a Lien with a `parent` of `projects/1234` requires permission\n`resourcemanager.projects.get`.",
"httpMethod": "GET",
@@ -298,31 +599,6 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
- },
- "delete": {
- "description": "Delete a Lien by `name`.\n\nCallers of this method will require permission on the `parent` resource.\nFor example, a Lien with a `parent` of `projects/1234` requires permission\n`resourcemanager.projects.updateLiens`.",
- "httpMethod": "DELETE",
- "id": "cloudresourcemanager.liens.delete",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The name/identifier of the Lien to delete.",
- "location": "path",
- "pattern": "^liens/.+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+name}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only"
- ]
}
}
},
@@ -355,128 +631,310 @@
}
}
},
+ "folders": {
+ "methods": {
+ "clearOrgPolicy": {
+ "description": "Clears a `Policy` from a resource.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.folders.clearOrgPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource for the `Policy` to clear.",
+ "location": "path",
+ "pattern": "^folders/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:clearOrgPolicy",
+ "request": {
+ "$ref": "ClearOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "setOrgPolicy": {
+ "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.folders.setOrgPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Resource name of the resource to attach the `Policy`.",
+ "location": "path",
+ "pattern": "^folders/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:setOrgPolicy",
+ "request": {
+ "$ref": "SetOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "clearOrgPolicyV1": {
+ "description": "Clears a `Policy` from a resource.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.folders.clearOrgPolicyV1",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource for the `Policy` to clear.",
+ "location": "path",
+ "pattern": "^folders/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:clearOrgPolicyV1",
+ "request": {
+ "$ref": "ClearOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "listAvailableOrgPolicyConstraints": {
+ "description": "Lists `Constraints` that could be applied on the specified resource.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.folders.listAvailableOrgPolicyConstraints",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource to list `Constraints` for.",
+ "location": "path",
+ "pattern": "^folders/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:listAvailableOrgPolicyConstraints",
+ "request": {
+ "$ref": "ListAvailableOrgPolicyConstraintsRequest"
+ },
+ "response": {
+ "$ref": "ListAvailableOrgPolicyConstraintsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "listOrgPolicies": {
+ "description": "Lists all the `Policies` set for a particular resource.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.folders.listOrgPolicies",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource to list Policies for.",
+ "location": "path",
+ "pattern": "^folders/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:listOrgPolicies",
+ "request": {
+ "$ref": "ListOrgPoliciesRequest"
+ },
+ "response": {
+ "$ref": "ListOrgPoliciesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "getOrgPolicy": {
+ "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.folders.getOrgPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource the `Policy` is set on.",
+ "location": "path",
+ "pattern": "^folders/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:getOrgPolicy",
+ "request": {
+ "$ref": "GetOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "getOrgPolicyV1": {
+ "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.folders.getOrgPolicyV1",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource the `Policy` is set on.",
+ "location": "path",
+ "pattern": "^folders/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:getOrgPolicyV1",
+ "request": {
+ "$ref": "GetOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "getEffectiveOrgPolicy": {
+ "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.folders.getEffectiveOrgPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "The name of the resource to start computing the effective `Policy`.",
+ "location": "path",
+ "pattern": "^folders/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:getEffectiveOrgPolicy",
+ "request": {
+ "$ref": "GetEffectiveOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "getEffectiveOrgPolicyV1": {
+ "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.folders.getEffectiveOrgPolicyV1",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "The name of the resource to start computing the effective `Policy`.",
+ "location": "path",
+ "pattern": "^folders/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:getEffectiveOrgPolicyV1",
+ "request": {
+ "$ref": "GetEffectiveOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "setOrgPolicyV1": {
+ "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.folders.setOrgPolicyV1",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Resource name of the resource to attach the `Policy`.",
+ "location": "path",
+ "pattern": "^folders/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:setOrgPolicyV1",
+ "request": {
+ "$ref": "SetOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
"projects": {
"methods": {
- "list": {
- "description": "Lists Projects that are visible to the user and satisfy the\nspecified filter. This method returns Projects in an unspecified order.\nNew Projects do not necessarily appear at the end of the list.",
- "httpMethod": "GET",
- "id": "cloudresourcemanager.projects.list",
- "parameterOrder": [],
- "parameters": {
- "filter": {
- "description": "An expression for filtering the results of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n+ `name`\n+ `id`\n+ <code>labels.<em>key</em></code> where *key* is the name of a label\n\nSome examples of using labels as filters:\n\n|Filter|Description|\n|------|-----------|\n|name:*|The project has a name.|\n|name:Howl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equivalent to above.|\n|NAME:howl|Equivalent to above.|\n|labels.color:*|The project has the label `color`.|\n|labels.color:red|The project's label `color` has the value `red`.|\n|labels.color:red label.size:big|The project's label `color` has the\nvalue `red` and its label `size` has the value `big`.\n\nOptional.",
- "location": "query",
- "type": "string"
- },
- "pageToken": {
- "description": "A pagination token returned from a previous call to ListProjects\nthat indicates from where listing should continue.\n\nOptional.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "The maximum number of Projects to return in the response.\nThe server can return fewer Projects than requested.\nIf unspecified, server picks an appropriate default.\n\nOptional.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- }
- },
- "path": "v1/projects",
- "response": {
- "$ref": "ListProjectsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only"
- ]
- },
- "setIamPolicy": {
- "description": "Sets the IAM access control policy for the specified Project. Replaces\nany existing policy.\n\nThe following constraints apply when using `setIamPolicy()`:\n\n+ Project does not support `allUsers` and `allAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner role can be granted only to `user` and `serviceAccount`.\n\n+ Service accounts can be made owners of a project directly\nwithout any restrictions. However, to be added as an owner, a user must be\ninvited via Cloud Platform console and must accept the invitation.\n\n+ A user cannot be granted the owner role using `setIamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform Console and must\nexplicitly accept the invitation.\n\n+ Invitations to grant the owner role cannot be sent using\n`setIamPolicy()`;\nthey must be sent only using the Cloud Platform Console.\n\n+ Membership changes that leave the project without any owners that have\naccepted the Terms of Service (ToS) will be rejected.\n\n+ There must be at least one owner who has accepted the Terms of\nService (ToS) agreement in the policy. Calling `setIamPolicy()` to\nto remove the last ToS-accepted owner from the policy will fail. This\nrestriction also applies to legacy projects that no longer have owners\nwho have accepted the ToS. Edits to IAM policies will be rejected until\nthe lack of a ToS-accepting owner is rectified.\n\n+ Calling this method requires enabling the App Engine Admin API.\n\nNote: Removing service accounts from policies or changing their roles\ncan render services completely inoperable. It is important to understand\nhow the service account is being used before removing or updating its\nroles.",
+ "getOrgPolicyV1": {
+ "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.",
"httpMethod": "POST",
- "id": "cloudresourcemanager.projects.setIamPolicy",
+ "id": "cloudresourcemanager.projects.getOrgPolicyV1",
"parameterOrder": [
"resource"
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
+ "description": "Name of the resource the `Policy` is set on.",
"location": "path",
+ "pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v1/projects/{resource}:setIamPolicy",
+ "path": "v1/{+resource}:getOrgPolicyV1",
"request": {
- "$ref": "SetIamPolicyRequest"
+ "$ref": "GetOrgPolicyRequest"
},
"response": {
- "$ref": "Policy"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "create": {
- "description": "Request that a new Project be created. The result is an Operation which\ncan be used to track the creation process. It is automatically deleted\nafter a few hours, so there is no need to call DeleteOperation.\n\nOur SLO permits Project creation to take up to 30 seconds at the 90th\npercentile. As of 2016-08-29, we are observing 6 seconds 50th percentile\nlatency. 95th percentile latency is around 11 seconds. We recommend\npolling at the 5th second with an exponential backoff.",
- "httpMethod": "POST",
- "id": "cloudresourcemanager.projects.create",
- "parameterOrder": [],
- "parameters": {},
- "path": "v1/projects",
- "request": {
- "$ref": "Project"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "getIamPolicy": {
- "description": "Returns the IAM access control policy for the specified Project.\nPermission is denied if the policy or the resource does not exist.",
- "httpMethod": "POST",
- "id": "cloudresourcemanager.projects.getIamPolicy",
- "parameterOrder": [
- "resource"
- ],
- "parameters": {
- "resource": {
- "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/projects/{resource}:getIamPolicy",
- "request": {
- "$ref": "GetIamPolicyRequest"
- },
- "response": {
- "$ref": "Policy"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only"
- ]
- },
- "get": {
- "description": "Retrieves the Project identified by the specified\n`project_id` (for example, `my-project-123`).\n\nThe caller must have read permissions for this Project.",
- "httpMethod": "GET",
- "id": "cloudresourcemanager.projects.get",
- "parameterOrder": [
- "projectId"
- ],
- "parameters": {
- "projectId": {
- "description": "The Project ID (for example, `my-project-123`).\n\nRequired.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/projects/{projectId}",
- "response": {
- "$ref": "Project"
+ "$ref": "OrgPolicy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
@@ -509,6 +967,34 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
+ "getEffectiveOrgPolicy": {
+ "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.projects.getEffectiveOrgPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "The name of the resource to start computing the effective `Policy`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:getEffectiveOrgPolicy",
+ "request": {
+ "$ref": "GetEffectiveOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
"update": {
"description": "Updates the attributes of the Project identified by the specified\n`project_id` (for example, `my-project-123`).\n\nThe caller must have modify permissions for this Project.",
"httpMethod": "PUT",
@@ -535,6 +1021,188 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
+ "setOrgPolicyV1": {
+ "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.projects.setOrgPolicyV1",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Resource name of the resource to attach the `Policy`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:setOrgPolicyV1",
+ "request": {
+ "$ref": "SetOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Lists Projects that are visible to the user and satisfy the\nspecified filter. This method returns Projects in an unspecified order.\nNew Projects do not necessarily appear at the end of the list.",
+ "httpMethod": "GET",
+ "id": "cloudresourcemanager.projects.list",
+ "parameterOrder": [],
+ "parameters": {
+ "filter": {
+ "description": "An expression for filtering the results of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n+ `name`\n+ `id`\n+ <code>labels.<em>key</em></code> where *key* is the name of a label\n\nSome examples of using labels as filters:\n\n|Filter|Description|\n|------|-----------|\n|name:*|The project has a name.|\n|name:Howl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equivalent to above.|\n|NAME:howl|Equivalent to above.|\n|labels.color:*|The project has the label `color`.|\n|labels.color:red|The project's label `color` has the value `red`.|\n|labels.color:red labels.size:big|The project's label `color` has the\nvalue `red` and its label `size` has the value `big`.\n\nOptional.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "A pagination token returned from a previous call to ListProjects\nthat indicates from where listing should continue.\n\nOptional.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The maximum number of Projects to return in the response.\nThe server can return fewer Projects than requested.\nIf unspecified, server picks an appropriate default.\n\nOptional.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ }
+ },
+ "path": "v1/projects",
+ "response": {
+ "$ref": "ListProjectsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "setOrgPolicy": {
+ "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.projects.setOrgPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Resource name of the resource to attach the `Policy`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:setOrgPolicy",
+ "request": {
+ "$ref": "SetOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "clearOrgPolicyV1": {
+ "description": "Clears a `Policy` from a resource.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.projects.clearOrgPolicyV1",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource for the `Policy` to clear.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:clearOrgPolicyV1",
+ "request": {
+ "$ref": "ClearOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "create": {
+ "description": "Request that a new Project be created. The result is an Operation which\ncan be used to track the creation process. It is automatically deleted\nafter a few hours, so there is no need to call DeleteOperation.\n\nOur SLO permits Project creation to take up to 30 seconds at the 90th\npercentile. As of 2016-08-29, we are observing 6 seconds 50th percentile\nlatency. 95th percentile latency is around 11 seconds. We recommend\npolling at the 5th second with an exponential backoff.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.projects.create",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/projects",
+ "request": {
+ "$ref": "Project"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "listOrgPolicies": {
+ "description": "Lists all the `Policies` set for a particular resource.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.projects.listOrgPolicies",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource to list Policies for.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:listOrgPolicies",
+ "request": {
+ "$ref": "ListOrgPoliciesRequest"
+ },
+ "response": {
+ "$ref": "ListOrgPoliciesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "get": {
+ "description": "Retrieves the Project identified by the specified\n`project_id` (for example, `my-project-123`).\n\nThe caller must have read permissions for this Project.",
+ "httpMethod": "GET",
+ "id": "cloudresourcemanager.projects.get",
+ "parameterOrder": [
+ "projectId"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "The Project ID (for example, `my-project-123`).\n\nRequired.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}",
+ "response": {
+ "$ref": "Project"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
"getAncestry": {
"description": "Gets a list of ancestors in the resource hierarchy for the Project\nidentified by the specified `project_id` (for example, `my-project-123`).\n\nThe caller must have read permissions for this Project.",
"httpMethod": "POST",
@@ -562,6 +1230,34 @@
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
},
+ "getEffectiveOrgPolicyV1": {
+ "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.projects.getEffectiveOrgPolicyV1",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "The name of the resource to start computing the effective `Policy`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:getEffectiveOrgPolicyV1",
+ "request": {
+ "$ref": "GetEffectiveOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
"testIamPermissions": {
"description": "Returns permissions that a caller has on the specified Project.",
"httpMethod": "POST",
@@ -611,17 +1307,640 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
+ },
+ "clearOrgPolicy": {
+ "description": "Clears a `Policy` from a resource.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.projects.clearOrgPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource for the `Policy` to clear.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:clearOrgPolicy",
+ "request": {
+ "$ref": "ClearOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "setIamPolicy": {
+ "description": "Sets the IAM access control policy for the specified Project. Replaces\nany existing policy.\n\nThe following constraints apply when using `setIamPolicy()`:\n\n+ Project does not support `allUsers` and `allAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner role can be granted only to `user` and `serviceAccount`.\n\n+ Service accounts can be made owners of a project directly\nwithout any restrictions. However, to be added as an owner, a user must be\ninvited via Cloud Platform console and must accept the invitation.\n\n+ A user cannot be granted the owner role using `setIamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform Console and must\nexplicitly accept the invitation.\n\n+ Invitations to grant the owner role cannot be sent using\n`setIamPolicy()`;\nthey must be sent only using the Cloud Platform Console.\n\n+ Membership changes that leave the project without any owners that have\naccepted the Terms of Service (ToS) will be rejected.\n\n+ There must be at least one owner who has accepted the Terms of\nService (ToS) agreement in the policy. Calling `setIamPolicy()` to\nremove the last ToS-accepted owner from the policy will fail. This\nrestriction also applies to legacy projects that no longer have owners\nwho have accepted the ToS. Edits to IAM policies will be rejected until\nthe lack of a ToS-accepting owner is rectified.\n\n+ Calling this method requires enabling the App Engine Admin API.\n\nNote: Removing service accounts from policies or changing their roles\ncan render services completely inoperable. It is important to understand\nhow the service account is being used before removing or updating its\nroles.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.projects.setIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{resource}:setIamPolicy",
+ "request": {
+ "$ref": "SetIamPolicyRequest"
+ },
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "listAvailableOrgPolicyConstraints": {
+ "description": "Lists `Constraints` that could be applied on the specified resource.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.projects.listAvailableOrgPolicyConstraints",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource to list `Constraints` for.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:listAvailableOrgPolicyConstraints",
+ "request": {
+ "$ref": "ListAvailableOrgPolicyConstraintsRequest"
+ },
+ "response": {
+ "$ref": "ListAvailableOrgPolicyConstraintsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "getIamPolicy": {
+ "description": "Returns the IAM access control policy for the specified Project.\nPermission is denied if the policy or the resource does not exist.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.projects.getIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{resource}:getIamPolicy",
+ "request": {
+ "$ref": "GetIamPolicyRequest"
+ },
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "getOrgPolicy": {
+ "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.projects.getOrgPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource the `Policy` is set on.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:getOrgPolicy",
+ "request": {
+ "$ref": "GetOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
}
}
}
},
- "revision": "20170227",
+ "revision": "20170324",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
+ "Constraint": {
+ "description": "A `Constraint` describes a way in which a resource's configuration can be\nrestricted. For example, it controls which cloud services can be activated\nacross an organization, or whether a Compute Engine instance can have\nserial port connections established. `Constraints` can be configured by the\norganization's policy adminstrator to fit the needs of the organzation by\nsetting Policies for `Constraints` at different locations in the\norganization's resource hierarchy. Policies are inherited down the resource\nhierarchy from higher levels, but can also be overridden. For details about\nthe inheritance rules please read about\nPolicies.\n\n`Constraints` have a default behavior determined by the `constraint_default`\nfield, which is the enforcement behavior that is used in the absence of a\n`Policy` being defined or inherited for the resource in question.",
+ "id": "Constraint",
+ "properties": {
+ "constraintDefault": {
+ "description": "The evaluation behavior of this constraint in the absense of 'Policy'.",
+ "enum": [
+ "CONSTRAINT_DEFAULT_UNSPECIFIED",
+ "ALLOW",
+ "DENY"
+ ],
+ "enumDescriptions": [
+ "This is only used for distinguishing unset values and should never be\nused.",
+ "Indicate that all values are allowed for list constraints.\nIndicate that enforcement is off for boolean constraints.",
+ "Indicate that all values are denied for list constraints.\nIndicate that enforcement is on for boolean constraints."
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "Immutable value, required to globally be unique. For example,\n`constraints/serviceuser.services`",
+ "type": "string"
+ },
+ "version": {
+ "description": "Version of the `Constraint`. Default version is 0;",
+ "format": "int32",
+ "type": "integer"
+ },
+ "listConstraint": {
+ "$ref": "ListConstraint",
+ "description": "Defines this constraint as being a ListConstraint."
+ },
+ "displayName": {
+ "description": "The human readable name.\n\nMutable.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Detailed description of what this `Constraint` controls as well as how and\nwhere it is enforced.\n\nMutable.",
+ "type": "string"
+ },
+ "booleanConstraint": {
+ "$ref": "BooleanConstraint",
+ "description": "Defines this constraint as being a BooleanConstraint."
+ }
+ },
+ "type": "object"
+ },
+ "ListLiensResponse": {
+ "description": "The response message for Liens.ListLiens.",
+ "id": "ListLiensResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "Token to retrieve the next page of results, or empty if there are no more\nresults in the list.",
+ "type": "string"
+ },
+ "liens": {
+ "description": "A list of Liens.",
+ "items": {
+ "$ref": "Lien"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Status": {
+ "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
+ "id": "Status",
+ "properties": {
+ "details": {
+ "description": "A list of messages that carry the error details. There will be a\ncommon 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"
+ },
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Binding": {
+ "description": "Associates `members` with a `role`.",
+ "id": "Binding",
+ "properties": {
+ "members": {
+ "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "role": {
+ "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GetOrgPolicyRequest": {
+ "description": "The request sent to the GetOrgPolicy method.",
+ "id": "GetOrgPolicyRequest",
+ "properties": {
+ "constraint": {
+ "description": "Name of the `Constraint` to get the `Policy`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RestoreDefault": {
+ "description": "Ignores policies set above this resource and restores the\n`constraint_default` enforcement behavior of the specific `Constraint` at\nthis resource.\n\nSuppose that `constraint_default` is set to `ALLOW` for the\n`Constraint` `constraints/serviceuser.services`. Suppose that organization\nfoo.com sets a `Policy` at their Organization resource node that restricts\nthe allowed service activations to deny all service activations. They\ncould then set a `Policy` with the `policy_type` `restore_default` on\nseveral experimental projects, restoring the `constraint_default`\nenforcement of the `Constraint` for only those projects, allowing those\nprojects to have all services activated.",
+ "id": "RestoreDefault",
+ "properties": {},
+ "type": "object"
+ },
+ "ClearOrgPolicyRequest": {
+ "description": "The request sent to the ClearOrgPolicy method.",
+ "id": "ClearOrgPolicyRequest",
+ "properties": {
+ "etag": {
+ "description": "The current version, for concurrency control. Not sending an `etag`\nwill cause the `Policy` to be cleared blindly.",
+ "format": "byte",
+ "type": "string"
+ },
+ "constraint": {
+ "description": "Name of the `Constraint` of the `Policy` to clear.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "UndeleteProjectRequest": {
+ "description": "The request sent to the UndeleteProject\nmethod.",
+ "id": "UndeleteProjectRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "ProjectCreationStatus": {
+ "description": "A status object which is used as the `metadata` field for the Operation\nreturned by CreateProject. It provides insight for when significant phases of\nProject creation have completed.",
+ "id": "ProjectCreationStatus",
+ "properties": {
+ "ready": {
+ "description": "True if the project creation process is complete.",
+ "type": "boolean"
+ },
+ "createTime": {
+ "description": "Creation time of the project creation workflow.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "gettable": {
+ "description": "True if the project can be retrieved using GetProject. No other operations\non the project are guaranteed to work until the project creation is\ncomplete.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "BooleanConstraint": {
+ "description": "A `Constraint` that is either enforced or not.\n\nFor example a constraint `constraints/compute.disableSerialPortAccess`.\nIf it is enforced on a VM instance, serial port connections will not be\nopened to that instance.",
+ "id": "BooleanConstraint",
+ "properties": {},
+ "type": "object"
+ },
+ "TestIamPermissionsResponse": {
+ "description": "Response message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsResponse",
+ "properties": {
+ "permissions": {
+ "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GetIamPolicyRequest": {
+ "description": "Request message for `GetIamPolicy` method.",
+ "id": "GetIamPolicyRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "OrganizationOwner": {
+ "description": "The entity that owns an Organization. The lifetime of the Organization and\nall of its descendants are bound to the `OrganizationOwner`. If the\n`OrganizationOwner` is deleted, the Organization and all its descendants will\nbe deleted.",
+ "id": "OrganizationOwner",
+ "properties": {
+ "directoryCustomerId": {
+ "description": "The Google for Work customer id used in the Directory API.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListProjectsResponse": {
+ "description": "A page of the response received from the\nListProjects\nmethod.\n\nA paginated response where more pages are available has\n`next_page_token` set. This token can be used in a subsequent request to\nretrieve the next request page.",
+ "id": "ListProjectsResponse",
+ "properties": {
+ "projects": {
+ "description": "The list of Projects that matched the list filter. This list can\nbe paginated.",
+ "items": {
+ "$ref": "Project"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Pagination token.\n\nIf the result set is too large to fit in a single response, this token\nis returned. It encodes the position of the current result cursor.\nFeeding this value into a new list request with the `page_token` parameter\ngives the next page of the results.\n\nWhen `next_page_token` is not filled in, there is no next page and\nthe list returned is the last page in the result set.\n\nPagination tokens have a limited lifetime.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Project": {
+ "description": "A Project is a high-level Google Cloud Platform entity. It is a\ncontainer for ACLs, APIs, App Engine Apps, VMs, and other\nGoogle Cloud Platform resources.",
+ "id": "Project",
+ "properties": {
+ "projectNumber": {
+ "description": "The number uniquely identifying the project.\n\nExample: <code>415104041262</code>\nRead-only.",
+ "format": "int64",
+ "type": "string"
+ },
+ "parent": {
+ "$ref": "ResourceId",
+ "description": "An optional reference to a parent Resource.\n\nThe only supported parent type is \"organization\". Once set, the parent\ncannot be modified. The `parent` can be set on creation or using the\n`UpdateProject` method; the end user must have the\n`resourcemanager.projects.create` permission on the parent.\n\nRead-write."
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The labels associated with this Project.\n\nLabel keys must be between 1 and 63 characters long and must conform\nto the following regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?.\n\nLabel values must be between 0 and 63 characters long and must conform\nto the regular expression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?.\n\nNo more than 256 labels can be associated with a given resource.\n\nClients should store labels in a representation such as JSON that does not\ndepend on specific characters being disallowed.\n\nExample: <code>\"environment\" : \"dev\"</code>\nRead-write.",
+ "type": "object"
+ },
+ "createTime": {
+ "description": "Creation time.\n\nRead-only.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "name": {
+ "description": "The user-assigned display name of the Project.\nIt must be 4 to 30 characters.\nAllowed characters are: lowercase and uppercase letters, numbers,\nhyphen, single-quote, double-quote, space, and exclamation point.\n\nExample: <code>My Project</code>\nRead-write.",
+ "type": "string"
+ },
+ "projectId": {
+ "description": "The unique, user-assigned ID of the Project.\nIt must be 6 to 30 lowercase letters, digits, or hyphens.\nIt must start with a letter.\nTrailing hyphens are prohibited.\n\nExample: <code>tokyo-rain-123</code>\nRead-only after creation.",
+ "type": "string"
+ },
+ "lifecycleState": {
+ "description": "The Project lifecycle state.\n\nRead-only.",
+ "enum": [
+ "LIFECYCLE_STATE_UNSPECIFIED",
+ "ACTIVE",
+ "DELETE_REQUESTED",
+ "DELETE_IN_PROGRESS"
+ ],
+ "enumDescriptions": [
+ "Unspecified state. This is only used/useful for distinguishing\nunset values.",
+ "The normal and active state.",
+ "The project has been marked for deletion by the user\n(by invoking\nDeleteProject)\nor by the system (Google Cloud Platform).\nThis can generally be reversed by invoking UndeleteProject.",
+ "This lifecycle state is no longer used and not returned by the API."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListOrgPoliciesResponse": {
+ "description": "The response returned from the ListOrgPolicies method. It will be empty\nif no `Policies` are set on the resource.",
+ "id": "ListOrgPoliciesResponse",
+ "properties": {
+ "policies": {
+ "description": "The `Policies` that are set on the resource. It will be empty if no\n`Policies` are set.",
+ "items": {
+ "$ref": "OrgPolicy"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Page token used to retrieve the next page. This is currently not used, but\nthe server may at any point start supplying a valid token.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SearchOrganizationsResponse": {
+ "description": "The response returned from the `SearchOrganizations` method.",
+ "id": "SearchOrganizationsResponse",
+ "properties": {
+ "organizations": {
+ "description": "The list of Organizations that matched the search query, possibly\npaginated.",
+ "items": {
+ "$ref": "Organization"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A pagination token to be used to retrieve the next page of results. If the\nresult is too large to fit within the page size specified in the request,\nthis field will be set with a token that can be used to fetch the next page\nof results. If this field is empty, it indicates that this response\ncontains the last page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FolderOperationError": {
+ "description": "A classification of the Folder Operation error.",
+ "id": "FolderOperationError",
+ "properties": {
+ "errorMessageId": {
+ "description": "The type of operation error experienced.",
+ "enum": [
+ "ERROR_TYPE_UNSPECIFIED",
+ "FOLDER_HEIGHT_VIOLATION",
+ "MAX_CHILD_FOLDERS_VIOLATION",
+ "FOLDER_NAME_UNIQUENESS_VIOLATION",
+ "RESOURCE_DELETED",
+ "PARENT_DELETED",
+ "CYCLE_INTRODUCED_ERROR",
+ "FOLDER_BEING_MOVED",
+ "FOLDER_TO_DELETE_NON_EMPTY"
+ ],
+ "enumDescriptions": [
+ "The error type was unrecognized or unspecified.",
+ "The attempted action would violate the max folder depth constraint.",
+ "The attempted action would violate the max child folders constraint.",
+ "The attempted action would violate the locally-unique folder\ndisplay_name constraint.",
+ "The resource being moved has been deleted.",
+ "The resource a folder was being added to has been deleted.",
+ "The attempted action would introduce cycle in resource path.",
+ "The attempted action would move a folder that is already being moved.",
+ "The folder the caller is trying to delete contains active resources."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OrgPolicy": {
+ "description": "Defines a Cloud Organization `Policy` which is used to specify `Constraints`\nfor configurations of Cloud Platform resources.",
+ "id": "OrgPolicy",
+ "properties": {
+ "version": {
+ "description": "Version of the `Policy`. Default version is 0;",
+ "format": "int32",
+ "type": "integer"
+ },
+ "restoreDefault": {
+ "$ref": "RestoreDefault",
+ "description": "Restores the default behavior of the constraint; independent of\n`Constraint` type."
+ },
+ "listPolicy": {
+ "$ref": "ListPolicy",
+ "description": "List of values either allowed or disallowed."
+ },
+ "etag": {
+ "description": "An opaque tag indicating the current version of the `Policy`, used for\nconcurrency control.\n\nWhen the `Policy` is returned from either a `GetPolicy` or a\n`ListOrgPolicy` request, this `etag` indicates the version of the current\n`Policy` to use when executing a read-modify-write loop.\n\nWhen the `Policy` is returned from a `GetEffectivePolicy` request, the\n`etag` will be unset.\n\nWhen the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value\nthat was returned from a `GetOrgPolicy` request as part of a\nread-modify-write loop for concurrency control. Not setting the `etag`in a\n`SetOrgPolicy` request will result in an unconditional write of the\n`Policy`.",
+ "format": "byte",
+ "type": "string"
+ },
+ "booleanPolicy": {
+ "$ref": "BooleanPolicy",
+ "description": "For boolean `Constraints`, whether to enforce the `Constraint` or not."
+ },
+ "constraint": {
+ "description": "The name of the `Constraint` the `Policy` is configuring, for example,\n`constraints/serviceuser.services`.\n\nImmutable after creation.",
+ "type": "string"
+ },
+ "updateTime": {
+ "description": "The time stamp the `Policy` was previously updated. This is set by the\nserver, not specified by the caller, and represents the last time a call to\n`SetOrgPolicy` was made for that `Policy`. Any value set by the client will\nbe ignored.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BooleanPolicy": {
+ "description": "Used in `policy_type` to specify how `boolean_policy` will behave at this\nresource.",
+ "id": "BooleanPolicy",
+ "properties": {
+ "enforced": {
+ "description": "If `true`, then the `Policy` is enforced. If `false`, then any\nconfiguration is acceptable.\n\nSuppose you have a `Constraint` `constraints/compute.disableSerialPortAccess`\nwith `constraint_default` set to `ALLOW`. A `Policy` for that\n`Constraint` exhibits the following behavior:\n - If the `Policy` at this resource has enforced set to `false`, serial\n port connection attempts will be allowed.\n - If the `Policy` at this resource has enforced set to `true`, serial\n port connection attempts will be refused.\n - If the `Policy` at this resource is `RestoreDefault`, serial port\n connection attempts will be allowed.\n - If no `Policy` is set at this resource or anywhere higher in the\n resource hierarchy, serial port connection attempts will be allowed.\n - If no `Policy` is set at this resource, but one exists higher in the\n resource hierarchy, the behavior is as if the`Policy` were set at\n this resource.\n\nThe following examples demonstrate the different possible layerings:\n\nExample 1 (nearest `Constraint` wins):\n `organizations/foo` has a `Policy` with:\n {enforced: false}\n `projects/bar` has no `Policy` set.\nThe constraint at `projects/bar` and `organizations/foo` will not be\nenforced.\n\nExample 2 (enforcement gets replaced):\n `organizations/foo` has a `Policy` with:\n {enforced: false}\n `projects/bar` has a `Policy` with:\n {enforced: true}\nThe constraint at `organizations/foo` is not enforced.\nThe constraint at `projects/bar` is enforced.\n\nExample 3 (RestoreDefault):\n `organizations/foo` has a `Policy` with:\n {enforced: true}\n `projects/bar` has a `Policy` with:\n {RestoreDefault: {}}\nThe constraint at `organizations/foo` is enforced.\nThe constraint at `projects/bar` is not enforced, because\n`constraint_default` for the `Constraint` is `ALLOW`.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "Lien": {
+ "description": "A Lien represents an encumbrance on the actions that can be performed on a\nresource.",
+ "id": "Lien",
+ "properties": {
+ "parent": {
+ "description": "A reference to the resource this Lien is attached to. The server will\nvalidate the parent against those for which Liens are supported.\n\nExample: `projects/1234`",
+ "type": "string"
+ },
+ "createTime": {
+ "description": "The creation time of this Lien.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "origin": {
+ "description": "A stable, user-visible/meaningful string identifying the origin of the\nLien, intended to be inspected programmatically. Maximum length of 200\ncharacters.\n\nExample: 'compute.googleapis.com'",
+ "type": "string"
+ },
+ "name": {
+ "description": "A system-generated unique identifier for this Lien.\n\nExample: `liens/1234abcd`",
+ "type": "string"
+ },
+ "reason": {
+ "description": "Concise user-visible strings indicating why an action cannot be performed\non a resource. Maximum lenth of 200 characters.\n\nExample: 'Holds production API key'",
+ "type": "string"
+ },
+ "restrictions": {
+ "description": "The types of operations which should be blocked as a result of this Lien.\nEach value should correspond to an IAM permission. The server will\nvalidate the permissions against those for which Liens are supported.\n\nAn empty list is meaningless and will be rejected.\n\nExample: ['resourcemanager.projects.delete']",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Ancestor": {
+ "description": "Identifying information for a single ancestor of a project.",
+ "id": "Ancestor",
+ "properties": {
+ "resourceId": {
+ "$ref": "ResourceId",
+ "description": "Resource id of the ancestor."
+ }
+ },
+ "type": "object"
+ },
+ "ListConstraint": {
+ "description": "A `Constraint` that allows or disallows a list of string values, which are\nconfigured by an Organization's policy administrator with a `Policy`.",
+ "id": "ListConstraint",
+ "properties": {
+ "suggestedValue": {
+ "description": "Optional. The Google Cloud Console will try to default to a configuration\nthat matches the value specified in this `Constraint`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SetOrgPolicyRequest": {
+ "description": "The request sent to the SetOrgPolicyRequest method.",
+ "id": "SetOrgPolicyRequest",
+ "properties": {
+ "policy": {
+ "$ref": "OrgPolicy",
+ "description": "`Policy` to set on the resource."
+ }
+ },
+ "type": "object"
+ },
+ "SetIamPolicyRequest": {
+ "description": "Request message for `SetIamPolicy` method.",
+ "id": "SetIamPolicyRequest",
+ "properties": {
+ "updateMask": {
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
+ "format": "google-fieldmask",
+ "type": "string"
+ },
+ "policy": {
+ "$ref": "Policy",
+ "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
+ }
+ },
+ "type": "object"
+ },
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
"Organization": {
"description": "The root node in the resource hierarchy to which a particular entity's\n(e.g., company) resources belong.",
"id": "Organization",
"properties": {
+ "displayName": {
+ "description": "A friendly string to be used to refer to the Organization in the UI.\nAssigned by the server, set to the primary domain of the G Suite\ncustomer that owns the organization.\n@OutputOnly",
+ "type": "string"
+ },
"creationTime": {
"description": "Timestamp when the Organization was created. Assigned by the server.\n@OutputOnly",
"format": "google-datetime",
@@ -648,10 +1967,67 @@
"name": {
"description": "Output Only. The resource name of the organization. This is the\norganization's relative path in the API. Its format is\n\"organizations/[organization_id]\". For example, \"organizations/1234\".",
"type": "string"
- },
- "displayName": {
- "description": "A friendly string to be used to refer to the Organization in the UI.\nAssigned by the server, set to the primary domain of the G Suite\ncustomer that owns the organization.\n@OutputOnly",
+ }
+ },
+ "type": "object"
+ },
+ "ListAvailableOrgPolicyConstraintsResponse": {
+ "description": "The response returned from the ListAvailableOrgPolicyConstraints method.\nReturns all `Constraints` that could be set at this level of the hierarchy\n(contrast with the response from `ListPolicies`, which returns all policies\nwhich are set).",
+ "id": "ListAvailableOrgPolicyConstraintsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "Page token used to retrieve the next page. This is currently not used.",
"type": "string"
+ },
+ "constraints": {
+ "description": "The collection of constraints that are settable on the request resource.",
+ "items": {
+ "$ref": "Constraint"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListPolicy": {
+ "description": "Used in `policy_type` to specify how `list_policy` behaves at this\nresource.\n\nA `ListPolicy` can define specific values that are allowed or denied by\nsetting either the `allowed_values` or `denied_values` fields. It can also\nbe used to allow or deny all values, by setting the `all_values` field. If\n`all_values` is `ALL_VALUES_UNSPECIFIED`, exactly one of `allowed_values`\nor `denied_values` must be set (attempting to set both or neither will\nresult in a failed request). If `all_values` is set to either `ALLOW` or\n`DENY`, `allowed_values` and `denied_values` must be unset.",
+ "id": "ListPolicy",
+ "properties": {
+ "allValues": {
+ "description": "The policy all_values state.",
+ "enum": [
+ "ALL_VALUES_UNSPECIFIED",
+ "ALLOW",
+ "DENY"
+ ],
+ "enumDescriptions": [
+ "Indicates that either allowed_values or denied_values must be set.",
+ "A policy with this set allows all values.",
+ "A policy with this set denies all values."
+ ],
+ "type": "string"
+ },
+ "allowedValues": {
+ "description": "List of values allowed at this resource. an only be set if no values are\nset for `denied_values` and `all_values` is set to\n`ALL_VALUES_UNSPECIFIED`.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "suggestedValue": {
+ "description": "Optional. The Google Cloud Console will try to default to a configuration\nthat matches the value specified in this `Policy`. If `suggested_value`\nis not set, it will inherit the value specified higher in the hierarchy,\nunless `inherit_from_parent` is `false`.",
+ "type": "string"
+ },
+ "inheritFromParent": {
+ "description": "Determines the inheritance behavior for this `Policy`.\n\nBy default, a `ListPolicy` set at a resource supercedes any `Policy` set\nanywhere up the resource hierarchy. However, if `inherit_from_parent` is\nset to `true`, then the values from the effective `Policy` of the parent\nresource are inherited, meaning the values set in this `Policy` are\nadded to the values inherited up the hierarchy.\n\nSetting `Policy` hierarchies that inherit both allowed values and denied\nvalues isn't recommended in most circumstances to keep the configuration\nsimple and understandable. However, it is possible to set a `Policy` with\n`allowed_values` set that inherits a `Policy` with `denied_values` set.\nIn this case, the values that are allowed must be in `allowed_values` and\nnot present in `denied_values`.\n\nFor example, suppose you have a `Constraint`\n`constraints/serviceuser.services`, which has a `constraint_type` of\n`list_constraint`, and with `constraint_default` set to `ALLOW`.\nSuppose that at the Organization level, a `Policy` is applied that\nrestricts the allowed API activations to {`E1`, `E2`}. Then, if a\n`Policy` is applied to a project below the Organization that has\n`inherit_from_parent` set to `false` and field all_values set to DENY,\nthen an attempt to activate any API will be denied.\n\nThe following examples demonstrate different possible layerings:\n\nExample 1 (no inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n ``projects/bar`` has `inherit_from_parent` `false` and values:\n {allowed_values: \"E3\" allowed_values: \"E4\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E3`, and `E4`.\n\nExample 2 (inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar` has a `Policy` with values:\n {value: “E3” value: ”E4” inherit_from_parent: true}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.\n\nExample 3 (inheriting both allowed and denied values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {denied_values: \"E1\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe value accepted at `projects/bar` is `E2`.\n\nExample 4 (RestoreDefault):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar` has a `Policy` with values:\n {RestoreDefault: {}}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 5 (no policy inherits parent policy):\n `organizations/foo` has no `Policy` set.\n `projects/bar` has no `Policy` set.\nThe accepted values at both levels are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 6 (ListConstraint allowing all):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:\n {all: ALLOW}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nAny value is accepted at `projects/bar`.\n\nExample 7 (ListConstraint allowing none):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:\n {all: DENY}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nNo value is accepted at `projects/bar`.",
+ "type": "boolean"
+ },
+ "deniedValues": {
+ "description": "List of values denied at this resource. Can only be set if no values are\nset for `allowed_values` and `all_values` is set to\n`ALL_VALUES_UNSPECIFIED`.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -670,14 +2046,40 @@
},
"type": "object"
},
+ "AuditLogConfig": {
+ "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.",
+ "id": "AuditLogConfig",
+ "properties": {
+ "exemptedMembers": {
+ "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "logType": {
+ "description": "The log type that this config enables.",
+ "enum": [
+ "LOG_TYPE_UNSPECIFIED",
+ "ADMIN_READ",
+ "DATA_WRITE",
+ "DATA_READ"
+ ],
+ "enumDescriptions": [
+ "Default case. Should never be this.",
+ "Admin reads. Example: CloudIAM getIamPolicy",
+ "Data writes. Example: CloudSQL Users create",
+ "Data reads. Example: CloudSQL Users list"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"SearchOrganizationsRequest": {
"description": "The request sent to the `SearchOrganizations` method.",
"id": "SearchOrganizationsRequest",
"properties": {
- "filter": {
- "description": "An optional query string used to filter the Organizations to return in\nthe response. Filter rules are case-insensitive.\n\n\nOrganizations may be filtered by `owner.directoryCustomerId` or by\n`domain`, where the domain is a Google for Work domain, for example:\n\n|Filter|Description|\n|------|-----------|\n|owner.directorycustomerid:123456789|Organizations with\n`owner.directory_customer_id` equal to `123456789`.|\n|domain:google.com|Organizations corresponding to the domain `google.com`.|\n\nThis field is optional.",
- "type": "string"
- },
"pageToken": {
"description": "A pagination token returned from a previous call to `SearchOrganizations`\nthat indicates from where listing should continue.\nThis field is optional.",
"type": "string"
@@ -686,6 +2088,10 @@
"description": "The maximum number of Organizations to return in the response.\nThis field is optional.",
"format": "int32",
"type": "integer"
+ },
+ "filter": {
+ "description": "An optional query string used to filter the Organizations to return in\nthe response. Filter rules are case-insensitive.\n\n\nOrganizations may be filtered by `owner.directoryCustomerId` or by\n`domain`, where the domain is a Google for Work domain, for example:\n\n|Filter|Description|\n|------|-----------|\n|owner.directorycustomerid:123456789|Organizations with\n`owner.directory_customer_id` equal to `123456789`.|\n|domain:google.com|Organizations corresponding to the domain `google.com`.|\n\nThis field is optional.",
+ "type": "string"
}
},
"type": "object"
@@ -710,10 +2116,33 @@
},
"type": "object"
},
+ "ListAvailableOrgPolicyConstraintsRequest": {
+ "description": "The request sent to the [ListAvailableOrgPolicyConstraints]\ngoogle.cloud.OrgPolicy.v1.ListAvailableOrgPolicyConstraints] method.",
+ "id": "ListAvailableOrgPolicyConstraintsRequest",
+ "properties": {
+ "pageToken": {
+ "description": "Page token used to retrieve the next page. This is currently unsupported\nand will be ignored. The server may at any point start using this field.",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Size of the pages to be returned. This is currently unsupported and will\nbe ignored. The server may at any point start using this field to limit\npage size.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
"Policy": {
"description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).",
"id": "Policy",
"properties": {
+ "bindings": {
+ "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.",
+ "items": {
+ "$ref": "Binding"
+ },
+ "type": "array"
+ },
"etag": {
"description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.",
"format": "byte",
@@ -724,10 +2153,10 @@
"format": "int32",
"type": "integer"
},
- "bindings": {
- "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.",
+ "auditConfigs": {
+ "description": "Specifies cloud audit logging configuration for this policy.",
"items": {
- "$ref": "Binding"
+ "$ref": "AuditConfig"
},
"type": "array"
}
@@ -771,13 +2200,40 @@
"description": "A container to reference an id for any resource type. A `resource` in Google\nCloud Platform is a generic term for something you (a developer) may want to\ninteract with through one of our API's. Some examples are an App Engine app,\na Compute Engine instance, a Cloud SQL database, and so on.",
"id": "ResourceId",
"properties": {
- "type": {
- "description": "Required field representing the resource type this id is for.\nAt present, the valid types are: \"organization\"",
- "type": "string"
- },
"id": {
"description": "Required field for the type-specific id. This should correspond to the id\nused in the type-specific API's.",
"type": "string"
+ },
+ "type": {
+ "description": "Required field representing the resource type this id is for.\nAt present, the valid types are: \"organization\"",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GetEffectiveOrgPolicyRequest": {
+ "description": "The request sent to the GetEffectiveOrgPolicy method.",
+ "id": "GetEffectiveOrgPolicyRequest",
+ "properties": {
+ "constraint": {
+ "description": "The name of the `Constraint` to compute the effective `Policy`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListOrgPoliciesRequest": {
+ "description": "The request sent to the ListOrgPolicies method.",
+ "id": "ListOrgPoliciesRequest",
+ "properties": {
+ "pageToken": {
+ "description": "Page token used to retrieve the next page. This is currently unsupported\nand will be ignored. The server may at any point start using this field.",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Size of the pages to be returned. This is currently unsupported and will\nbe ignored. The server may at any point start using this field to limit\npage size.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -786,6 +2242,10 @@
"description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
"id": "Operation",
"properties": {
+ "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.",
@@ -809,317 +2269,27 @@
"name": {
"description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.",
"type": "string"
- },
- "error": {
- "$ref": "Status",
- "description": "The error result of the operation in case of failure or cancellation."
}
},
"type": "object"
},
- "Status": {
- "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
- "id": "Status",
+ "AuditConfig": {
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.",
+ "id": "AuditConfig",
"properties": {
- "code": {
- "description": "The status code, which should be an enum value of google.rpc.Code.",
- "format": "int32",
- "type": "integer"
- },
- "message": {
- "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "service": {
+ "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.",
"type": "string"
},
- "details": {
- "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.",
+ "auditLogConfigs": {
+ "description": "The configuration for logging of each type of permission.\nNext ID: 4",
"items": {
- "additionalProperties": {
- "description": "Properties of the object. Contains field @type with type URL.",
- "type": "any"
- },
- "type": "object"
+ "$ref": "AuditLogConfig"
},
"type": "array"
}
},
"type": "object"
- },
- "ListLiensResponse": {
- "description": "The response message for Liens.ListLiens.",
- "id": "ListLiensResponse",
- "properties": {
- "nextPageToken": {
- "description": "Token to retrieve the next page of results, or empty if there are no more\nresults in the list.",
- "type": "string"
- },
- "liens": {
- "description": "A list of Liens.",
- "items": {
- "$ref": "Lien"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Binding": {
- "description": "Associates `members` with a `role`.",
- "id": "Binding",
- "properties": {
- "role": {
- "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
- "type": "string"
- },
- "members": {
- "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "UndeleteProjectRequest": {
- "description": "The request sent to the UndeleteProject\nmethod.",
- "id": "UndeleteProjectRequest",
- "properties": {},
- "type": "object"
- },
- "ProjectCreationStatus": {
- "description": "A status object which is used as the `metadata` field for the Operation\nreturned by CreateProject. It provides insight for when significant phases of\nProject creation have completed.",
- "id": "ProjectCreationStatus",
- "properties": {
- "ready": {
- "description": "True if the project creation process is complete.",
- "type": "boolean"
- },
- "createTime": {
- "description": "Creation time of the project creation workflow.",
- "format": "google-datetime",
- "type": "string"
- },
- "gettable": {
- "description": "True if the project can be retrieved using GetProject. No other operations\non the project are guaranteed to work until the project creation is\ncomplete.",
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "GetIamPolicyRequest": {
- "description": "Request message for `GetIamPolicy` method.",
- "id": "GetIamPolicyRequest",
- "properties": {},
- "type": "object"
- },
- "TestIamPermissionsResponse": {
- "description": "Response message for `TestIamPermissions` method.",
- "id": "TestIamPermissionsResponse",
- "properties": {
- "permissions": {
- "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "OrganizationOwner": {
- "description": "The entity that owns an Organization. The lifetime of the Organization and\nall of its descendants are bound to the `OrganizationOwner`. If the\n`OrganizationOwner` is deleted, the Organization and all its descendants will\nbe deleted.",
- "id": "OrganizationOwner",
- "properties": {
- "directoryCustomerId": {
- "description": "The Google for Work customer id used in the Directory API.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListProjectsResponse": {
- "description": "A page of the response received from the\nListProjects\nmethod.\n\nA paginated response where more pages are available has\n`next_page_token` set. This token can be used in a subsequent request to\nretrieve the next request page.",
- "id": "ListProjectsResponse",
- "properties": {
- "nextPageToken": {
- "description": "Pagination token.\n\nIf the result set is too large to fit in a single response, this token\nis returned. It encodes the position of the current result cursor.\nFeeding this value into a new list request with the `page_token` parameter\ngives the next page of the results.\n\nWhen `next_page_token` is not filled in, there is no next page and\nthe list returned is the last page in the result set.\n\nPagination tokens have a limited lifetime.",
- "type": "string"
- },
- "projects": {
- "description": "The list of Projects that matched the list filter. This list can\nbe paginated.",
- "items": {
- "$ref": "Project"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Project": {
- "description": "A Project is a high-level Google Cloud Platform entity. It is a\ncontainer for ACLs, APIs, App Engine Apps, VMs, and other\nGoogle Cloud Platform resources.",
- "id": "Project",
- "properties": {
- "projectId": {
- "description": "The unique, user-assigned ID of the Project.\nIt must be 6 to 30 lowercase letters, digits, or hyphens.\nIt must start with a letter.\nTrailing hyphens are prohibited.\n\nExample: <code>tokyo-rain-123</code>\nRead-only after creation.",
- "type": "string"
- },
- "lifecycleState": {
- "description": "The Project lifecycle state.\n\nRead-only.",
- "enum": [
- "LIFECYCLE_STATE_UNSPECIFIED",
- "ACTIVE",
- "DELETE_REQUESTED",
- "DELETE_IN_PROGRESS"
- ],
- "enumDescriptions": [
- "Unspecified state. This is only used/useful for distinguishing\nunset values.",
- "The normal and active state.",
- "The project has been marked for deletion by the user\n(by invoking\nDeleteProject)\nor by the system (Google Cloud Platform).\nThis can generally be reversed by invoking UndeleteProject.",
- "This lifecycle state is no longer used and not returned by the API."
- ],
- "type": "string"
- },
- "projectNumber": {
- "description": "The number uniquely identifying the project.\n\nExample: <code>415104041262</code>\nRead-only.",
- "format": "int64",
- "type": "string"
- },
- "parent": {
- "$ref": "ResourceId",
- "description": "An optional reference to a parent Resource.\n\nThe only supported parent type is \"organization\". Once set, the parent\ncannot be modified. The `parent` can be set on creation or using the\n`UpdateProject` method; the end user must have the\n`resourcemanager.projects.create` permission on the parent.\n\nRead-write."
- },
- "createTime": {
- "description": "Creation time.\n\nRead-only.",
- "format": "google-datetime",
- "type": "string"
- },
- "labels": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "The labels associated with this Project.\n\nLabel keys must be between 1 and 63 characters long and must conform\nto the following regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?.\n\nLabel values must be between 0 and 63 characters long and must conform\nto the regular expression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?.\n\nNo more than 256 labels can be associated with a given resource.\n\nClients should store labels in a representation such as JSON that does not\ndepend on specific characters being disallowed.\n\nExample: <code>\"environment\" : \"dev\"</code>\nRead-write.",
- "type": "object"
- },
- "name": {
- "description": "The user-assigned display name of the Project.\nIt must be 4 to 30 characters.\nAllowed characters are: lowercase and uppercase letters, numbers,\nhyphen, single-quote, double-quote, space, and exclamation point.\n\nExample: <code>My Project</code>\nRead-write.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SearchOrganizationsResponse": {
- "description": "The response returned from the `SearchOrganizations` method.",
- "id": "SearchOrganizationsResponse",
- "properties": {
- "nextPageToken": {
- "description": "A pagination token to be used to retrieve the next page of results. If the\nresult is too large to fit within the page size specified in the request,\nthis field will be set with a token that can be used to fetch the next page\nof results. If this field is empty, it indicates that this response\ncontains the last page of results.",
- "type": "string"
- },
- "organizations": {
- "description": "The list of Organizations that matched the search query, possibly\npaginated.",
- "items": {
- "$ref": "Organization"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "FolderOperationError": {
- "description": "A classification of the Folder Operation error.",
- "id": "FolderOperationError",
- "properties": {
- "errorMessageId": {
- "description": "The type of operation error experienced.",
- "enum": [
- "ERROR_TYPE_UNSPECIFIED",
- "FOLDER_HEIGHT_VIOLATION",
- "MAX_CHILD_FOLDERS_VIOLATION",
- "FOLDER_NAME_UNIQUENESS_VIOLATION",
- "RESOURCE_DELETED",
- "PARENT_DELETED",
- "CYCLE_INTRODUCED_ERROR",
- "FOLDER_ALREADY_BEING_MOVED",
- "FOLDER_TO_DELETE_NON_EMPTY"
- ],
- "enumDescriptions": [
- "The error type was unrecognized or unspecified.",
- "The attempted action would violate the max folder depth constraint.",
- "The attempted action would violate the max child folders constraint.",
- "The attempted action would violate the locally-unique folder\ndisplay_name constraint.",
- "The resource being moved has been deleted.",
- "The resource a folder was being added to has been deleted.",
- "The attempted action would introduce cycle in resource path.",
- "The attempted action would move a folder that is already being moved.",
- "The folder the caller is trying to delete contains active resources."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "Lien": {
- "description": "A Lien represents an encumbrance on the actions that can be performed on a\nresource.",
- "id": "Lien",
- "properties": {
- "parent": {
- "description": "A reference to the resource this Lien is attached to. The server will\nvalidate the parent against those for which Liens are supported.\n\nExample: `projects/1234`",
- "type": "string"
- },
- "createTime": {
- "description": "The creation time of this Lien.",
- "format": "google-datetime",
- "type": "string"
- },
- "name": {
- "description": "A system-generated unique identifier for this Lien.\n\nExample: `liens/1234abcd`",
- "type": "string"
- },
- "reason": {
- "description": "Concise user-visible strings indicating why an action cannot be performed\non a resource. Maximum lenth of 200 characters.\n\nExample: 'Holds production API key'",
- "type": "string"
- },
- "origin": {
- "description": "A stable, user-visible/meaningful string identifying the origin of the\nLien, intended to be inspected programmatically. Maximum length of 200\ncharacters.\n\nExample: 'compute.googleapis.com'",
- "type": "string"
- },
- "restrictions": {
- "description": "The types of operations which should be blocked as a result of this Lien.\nEach value should correspond to an IAM permission. The server will\nvalidate the permissions against those for which Liens are supported.\n\nAn empty list is meaningless and will be rejected.\n\nExample: ['resourcemanager.projects.delete']",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Ancestor": {
- "description": "Identifying information for a single ancestor of a project.",
- "id": "Ancestor",
- "properties": {
- "resourceId": {
- "$ref": "ResourceId",
- "description": "Resource id of the ancestor."
- }
- },
- "type": "object"
- },
- "SetIamPolicyRequest": {
- "description": "Request message for `SetIamPolicy` method.",
- "id": "SetIamPolicyRequest",
- "properties": {
- "policy": {
- "$ref": "Policy",
- "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
- }
- },
- "type": "object"
- },
- "Empty": {
- "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
- "id": "Empty",
- "properties": {},
- "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis/cloudtrace__v1.json b/discovery/googleapis/cloudtrace__v1.json
index ddff559..75dc976 100644
--- a/discovery/googleapis/cloudtrace__v1.json
+++ b/discovery/googleapis/cloudtrace__v1.json
@@ -2,14 +2,14 @@
"auth": {
"oauth2": {
"scopes": {
- "https://www.googleapis.com/auth/trace.readonly": {
- "description": "Read Trace data for a project or application"
- },
"https://www.googleapis.com/auth/trace.append": {
"description": "Write Trace data for a project or application"
},
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
+ },
+ "https://www.googleapis.com/auth/trace.readonly": {
+ "description": "Read Trace data for a project or application"
}
}
}
@@ -31,21 +31,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "access_token": {
- "description": "OAuth access token.",
- "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"
- },
- "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"
- },
"pp": {
"default": "true",
"description": "Pretty-print response.",
@@ -116,6 +101,21 @@
],
"location": "query",
"type": "string"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "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"
+ },
+ "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"
}
},
"protocol": "rest",
@@ -161,11 +161,6 @@
"projectId"
],
"parameters": {
- "orderBy": {
- "description": "Field used to sort the returned traces. Optional.\nCan be one of the following:\n\n* `trace_id`\n* `name` (`name` field of root span in the trace)\n* `duration` (difference between `end_time` and `start_time` fields of\n the root span)\n* `start` (`start_time` field of the root span)\n\nDescending order can be specified by appending `desc` to the sort field\n(for example, `name desc`).\n\nOnly one sort field is permitted.",
- "location": "query",
- "type": "string"
- },
"projectId": {
"description": "ID of the Cloud project where the trace data is stored.",
"location": "path",
@@ -183,17 +178,17 @@
"location": "query",
"type": "string"
},
- "pageToken": {
- "description": "Token identifying the page of results to return. If provided, use the\nvalue of the `next_page_token` field from a previous request. Optional.",
- "location": "query",
- "type": "string"
- },
"startTime": {
"description": "End of the time interval (inclusive) during which the trace data was\ncollected from the application.",
"format": "google-datetime",
"location": "query",
"type": "string"
},
+ "pageToken": {
+ "description": "Token identifying the page of results to return. If provided, use the\nvalue of the `next_page_token` field from a previous request. Optional.",
+ "location": "query",
+ "type": "string"
+ },
"pageSize": {
"description": "Maximum number of traces to return. If not specified or <= 0, the\nimplementation selects a reasonable value. The implementation may\nreturn fewer traces than the requested page size. Optional.",
"format": "int32",
@@ -210,6 +205,11 @@
],
"location": "query",
"type": "string"
+ },
+ "orderBy": {
+ "description": "Field used to sort the returned traces. Optional.\nCan be one of the following:\n\n* `trace_id`\n* `name` (`name` field of root span in the trace)\n* `duration` (difference between `end_time` and `start_time` fields of\n the root span)\n* `start` (`start_time` field of the root span)\n\nDescending order can be specified by appending `desc` to the sort field\n(for example, `name desc`).\n\nOnly one sort field is permitted.",
+ "location": "query",
+ "type": "string"
}
},
"path": "v1/projects/{projectId}/traces",
@@ -257,7 +257,7 @@
}
}
},
- "revision": "20170225",
+ "revision": "20170320",
"rootUrl": "https://cloudtrace.googleapis.com/",
"schemas": {
"ListTracesResponse": {
@@ -324,6 +324,21 @@
"description": "A span represents a single timed event within a trace. Spans can be nested\nand form a trace tree. Often, a trace contains a root span that describes the\nend-to-end latency of an operation and, optionally, one or more subspans for\nits suboperations. Spans do not need to be contiguous. There may be gaps\nbetween spans in a trace.",
"id": "TraceSpan",
"properties": {
+ "parentSpanId": {
+ "description": "ID of the parent span, if any. Optional.",
+ "format": "uint64",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "End time of the span in nanoseconds from the UNIX epoch.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "Start time of the span in nanoseconds from the UNIX epoch.",
+ "format": "google-datetime",
+ "type": "string"
+ },
"kind": {
"description": "Distinguishes between spans generated in a particular context. For example,\ntwo spans with the same name may be distinguished using `RPC_CLIENT`\nand `RPC_SERVER` to identify queueing latency associated with the span.",
"enum": [
@@ -353,21 +368,6 @@
"description": "Identifier for the span. Must be a 64-bit integer other than 0 and\nunique within a trace.",
"format": "uint64",
"type": "string"
- },
- "parentSpanId": {
- "description": "ID of the parent span, if any. Optional.",
- "format": "uint64",
- "type": "string"
- },
- "endTime": {
- "description": "End time of the span in nanoseconds from the UNIX epoch.",
- "format": "google-datetime",
- "type": "string"
- },
- "startTime": {
- "description": "Start time of the span in nanoseconds from the UNIX epoch.",
- "format": "google-datetime",
- "type": "string"
}
},
"type": "object"
diff --git a/discovery/googleapis/compute__v1.json b/discovery/googleapis/compute__v1.json
index 5d83c26..1269c5f 100644
--- a/discovery/googleapis/compute__v1.json
+++ b/discovery/googleapis/compute__v1.json
@@ -29,7 +29,7 @@
"description": "Creates and runs virtual machines on Google Cloud Platform.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/compute/docs/reference/latest/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/2r-KYylgeCVqVKbBLdmgF6oHJmk\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/-AXC-k_8CfD_YvETyckkdtLmETM\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/compute_engine-16.png",
"x32": "https://www.google.com/images/icons/product/compute_engine-32.png"
@@ -630,6 +630,226 @@
}
}
},
+ "backendBuckets": {
+ "methods": {
+ "delete": {
+ "description": "Deletes the specified BackendBucket resource.",
+ "httpMethod": "DELETE",
+ "id": "compute.backendBuckets.delete",
+ "parameterOrder": [
+ "project",
+ "backendBucket"
+ ],
+ "parameters": {
+ "backendBucket": {
+ "description": "Name of the BackendBucket resource to delete.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/backendBuckets/{backendBucket}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "get": {
+ "description": "Returns the specified BackendBucket resource. Get a list of available backend buckets by making a list() request.",
+ "httpMethod": "GET",
+ "id": "compute.backendBuckets.get",
+ "parameterOrder": [
+ "project",
+ "backendBucket"
+ ],
+ "parameters": {
+ "backendBucket": {
+ "description": "Name of the BackendBucket resource to return.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/backendBuckets/{backendBucket}",
+ "response": {
+ "$ref": "BackendBucket"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ },
+ "insert": {
+ "description": "Creates a BackendBucket resource in the specified project using the data included in the request.",
+ "httpMethod": "POST",
+ "id": "compute.backendBuckets.insert",
+ "parameterOrder": [
+ "project"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/backendBuckets",
+ "request": {
+ "$ref": "BackendBucket"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "list": {
+ "description": "Retrieves the list of BackendBucket resources available to the specified project.",
+ "httpMethod": "GET",
+ "id": "compute.backendBuckets.list",
+ "parameterOrder": [
+ "project"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: field_name comparison_string literal_string.\n\nThe field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance.\n\nYou can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.",
+ "location": "query",
+ "type": "string"
+ },
+ "maxResults": {
+ "default": "500",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
+ "format": "uint32",
+ "location": "query",
+ "minimum": "0",
+ "type": "integer"
+ },
+ "orderBy": {
+ "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "location": "query",
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/backendBuckets",
+ "response": {
+ "$ref": "BackendBucketList"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ },
+ "patch": {
+ "description": "Updates the specified BackendBucket resource with the data included in the request. This method supports patch semantics.",
+ "httpMethod": "PATCH",
+ "id": "compute.backendBuckets.patch",
+ "parameterOrder": [
+ "project",
+ "backendBucket"
+ ],
+ "parameters": {
+ "backendBucket": {
+ "description": "Name of the BackendBucket resource to update.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/backendBuckets/{backendBucket}",
+ "request": {
+ "$ref": "BackendBucket"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "update": {
+ "description": "Updates the specified BackendBucket resource with the data included in the request.",
+ "httpMethod": "PUT",
+ "id": "compute.backendBuckets.update",
+ "parameterOrder": [
+ "project",
+ "backendBucket"
+ ],
+ "parameters": {
+ "backendBucket": {
+ "description": "Name of the BackendBucket resource to update.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for this request.",
+ "location": "path",
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/backendBuckets/{backendBucket}",
+ "request": {
+ "$ref": "BackendBucket"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ }
+ }
+ },
"backendServices": {
"methods": {
"aggregatedList": {
@@ -10795,7 +11015,7 @@
}
}
},
- "revision": "20170228",
+ "revision": "20170302",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AccessConfig": {
@@ -11505,6 +11725,79 @@
},
"type": "object"
},
+ "BackendBucket": {
+ "description": "A BackendBucket resource. This resource defines a Cloud Storage bucket.",
+ "id": "BackendBucket",
+ "properties": {
+ "bucketName": {
+ "description": "Cloud Storage bucket name.",
+ "type": "string"
+ },
+ "creationTimestamp": {
+ "description": "[Output Only] Creation timestamp in RFC3339 text format.",
+ "type": "string"
+ },
+ "description": {
+ "description": "An optional textual description of the resource; provided by the client when the resource is created.",
+ "type": "string"
+ },
+ "enableCdn": {
+ "description": "If true, enable Cloud CDN for this BackendBucket.",
+ "type": "boolean"
+ },
+ "id": {
+ "description": "[Output Only] Unique identifier for the resource; defined by the server.",
+ "format": "uint64",
+ "type": "string"
+ },
+ "kind": {
+ "default": "compute#backendBucket",
+ "description": "Type of the resource.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "type": "string"
+ },
+ "selfLink": {
+ "description": "[Output Only] Server-defined URL for the resource.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BackendBucketList": {
+ "description": "Contains a list of BackendBucket resources.",
+ "id": "BackendBucketList",
+ "properties": {
+ "id": {
+ "description": "[Output Only] Unique identifier for the resource; defined by the server.",
+ "type": "string"
+ },
+ "items": {
+ "description": "A list of BackendBucket resources.",
+ "items": {
+ "$ref": "BackendBucket"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "compute#backendBucketList",
+ "description": "Type of resource.",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "description": "[Output Only] A token used to continue a truncated list request.",
+ "type": "string"
+ },
+ "selfLink": {
+ "description": "[Output Only] Server-defined URL for this resource.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"BackendService": {
"description": "A BackendService resource. This resource defines a group of backend virtual machines and their serving capacity.",
"id": "BackendService",
@@ -12768,7 +13061,7 @@
"type": "string"
},
"port": {
- "description": "The TCP port number for the health check request. The default value is 80.",
+ "description": "The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.",
"format": "int32",
"type": "integer"
},
@@ -12803,7 +13096,7 @@
"type": "string"
},
"port": {
- "description": "The TCP port number for the health check request. The default value is 443.",
+ "description": "The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.",
"format": "int32",
"type": "integer"
},
@@ -13428,7 +13721,13 @@
"description": "The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys."
},
"name": {
+ "annotations": {
+ "required": [
+ "compute.instances.insert"
+ ]
+ },
"description": "The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"type": "string"
},
"networkInterfaces": {
@@ -16581,7 +16880,7 @@
"id": "SSLHealthCheck",
"properties": {
"port": {
- "description": "The TCP port number for the health check request. The default value is 443.",
+ "description": "The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.",
"format": "int32",
"type": "integer"
},
@@ -17096,7 +17395,7 @@
"id": "TCPHealthCheck",
"properties": {
"port": {
- "description": "The TCP port number for the health check request. The default value is 80.",
+ "description": "The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.",
"format": "int32",
"type": "integer"
},
diff --git a/discovery/googleapis/content__v2.json b/discovery/googleapis/content__v2.json
index 67db8b8..2489197 100644
--- a/discovery/googleapis/content__v2.json
+++ b/discovery/googleapis/content__v2.json
@@ -15,7 +15,7 @@
"description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/shopping-content",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/IOklgKO6g9VrWVhKo7-yNnlHwZM\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/ZCZOOwDCC1weteZqQodwch31zkc\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -2137,7 +2137,7 @@
}
}
},
- "revision": "20170221",
+ "revision": "20170303",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Account": {
@@ -3282,7 +3282,7 @@
"content.datafeeds.update"
]
},
- "description": "The type of data feed.",
+ "description": "The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported.",
"type": "string"
},
"fetchSchedule": {
diff --git a/discovery/googleapis/content__v2sandbox.json b/discovery/googleapis/content__v2sandbox.json
index 8cf23c8..6c0826e 100644
--- a/discovery/googleapis/content__v2sandbox.json
+++ b/discovery/googleapis/content__v2sandbox.json
@@ -15,7 +15,7 @@
"description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/shopping-content",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/mmgJdBKOJvCmls_EwJDwk1DpAVU\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/bAt0gvJM7Cww8b8XL2Qp26UvICM\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -622,7 +622,7 @@
}
}
},
- "revision": "20170221",
+ "revision": "20170303",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Error": {
diff --git a/discovery/googleapis/dataproc__v1.json b/discovery/googleapis/dataproc__v1.json
index 5cb66b3..ba9d0c9 100644
--- a/discovery/googleapis/dataproc__v1.json
+++ b/discovery/googleapis/dataproc__v1.json
@@ -24,61 +24,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
- "$.xgafv": {
- "description": "V1 error format.",
- "enum": [
- "1",
- "2"
- ],
- "enumDescriptions": [
- "v1 error format",
- "v2 error format"
- ],
- "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"
- },
"access_token": {
"description": "OAuth access token.",
"location": "query",
@@ -100,13 +45,68 @@
"location": "query",
"type": "boolean"
},
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
"bearer_token": {
"description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "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"
}
@@ -117,8 +117,560 @@
"resources": {
"regions": {
"resources": {
+ "clusters": {
+ "methods": {
+ "create": {
+ "description": "Creates a cluster in a project.",
+ "httpMethod": "POST",
+ "id": "dataproc.projects.regions.clusters.create",
+ "parameterOrder": [
+ "projectId",
+ "region"
+ ],
+ "parameters": {
+ "region": {
+ "description": "Required The Cloud Dataproc region in which to handle the request.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "projectId": {
+ "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/regions/{region}/clusters",
+ "request": {
+ "$ref": "Cluster"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "patch": {
+ "description": "Updates a cluster in a project.",
+ "httpMethod": "PATCH",
+ "id": "dataproc.projects.regions.clusters.patch",
+ "parameterOrder": [
+ "projectId",
+ "region",
+ "clusterName"
+ ],
+ "parameters": {
+ "region": {
+ "description": "Required The Cloud Dataproc region in which to handle the request.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Required Specifies the path, relative to <code>Cluster</code>, of the field to update. For example, to change the number of workers in a cluster to 5, the <code>update_mask</code> parameter would be specified as <code>config.worker_config.num_instances</code>, and the PATCH request body would specify the new value, as follows:\n{\n \"config\":{\n \"workerConfig\":{\n \"numInstances\":\"5\"\n }\n }\n}\nSimilarly, to change the number of preemptible workers in a cluster to 5, the <code>update_mask</code> parameter would be <code>config.secondary_worker_config.num_instances</code>, and the PATCH request body would be set as follows:\n{\n \"config\":{\n \"secondaryWorkerConfig\":{\n \"numInstances\":\"5\"\n }\n }\n}\n<strong>Note:</strong> Currently, <code>config.worker_config.num_instances</code> and <code>config.secondary_worker_config.num_instances</code> are the only fields that can be updated.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ },
+ "clusterName": {
+ "description": "Required The cluster name.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "projectId": {
+ "description": "Required The ID of the Google Cloud Platform project the cluster belongs to.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}",
+ "request": {
+ "$ref": "Cluster"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets the resource representation for a cluster in a project.",
+ "httpMethod": "GET",
+ "id": "dataproc.projects.regions.clusters.get",
+ "parameterOrder": [
+ "projectId",
+ "region",
+ "clusterName"
+ ],
+ "parameters": {
+ "clusterName": {
+ "description": "Required The cluster name.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "projectId": {
+ "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "Required The Cloud Dataproc region in which to handle the request.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}",
+ "response": {
+ "$ref": "Cluster"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "diagnose": {
+ "description": "Gets cluster diagnostic information. After the operation completes, the Operation.response field contains DiagnoseClusterOutputLocation.",
+ "httpMethod": "POST",
+ "id": "dataproc.projects.regions.clusters.diagnose",
+ "parameterOrder": [
+ "projectId",
+ "region",
+ "clusterName"
+ ],
+ "parameters": {
+ "region": {
+ "description": "Required The Cloud Dataproc region in which to handle the request.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "clusterName": {
+ "description": "Required The cluster name.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "projectId": {
+ "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose",
+ "request": {
+ "$ref": "DiagnoseClusterRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a cluster in a project.",
+ "httpMethod": "DELETE",
+ "id": "dataproc.projects.regions.clusters.delete",
+ "parameterOrder": [
+ "projectId",
+ "region",
+ "clusterName"
+ ],
+ "parameters": {
+ "clusterName": {
+ "description": "Required The cluster name.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "projectId": {
+ "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "Required The Cloud Dataproc region in which to handle the request.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Lists all regions/{region}/clusters in a project.",
+ "httpMethod": "GET",
+ "id": "dataproc.projects.regions.clusters.list",
+ "parameterOrder": [
+ "projectId",
+ "region"
+ ],
+ "parameters": {
+ "pageToken": {
+ "description": "Optional The standard List page token.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Optional The standard List page size.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "projectId": {
+ "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "Required The Cloud Dataproc region in which to handle the request.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "filter": {
+ "description": "Optional A filter constraining the clusters to list. Filters are case-sensitive and have the following syntax:field = value AND field = value ...where field is one of status.state, clusterName, or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be one of the following: ACTIVE, INACTIVE, CREATING, RUNNING, ERROR, DELETING, or UPDATING. ACTIVE contains the CREATING, UPDATING, and RUNNING states. INACTIVE contains the DELETING and ERROR states. clusterName is the name of the cluster provided at creation time. Only the logical AND operator is supported; space-separated items are treated as having an implicit AND operator.Example filter:status.state = ACTIVE AND clusterName = mycluster AND labels.env = staging AND labels.starred = *",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/regions/{region}/clusters",
+ "response": {
+ "$ref": "ListClustersResponse"
+ },
+ "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.",
+ "httpMethod": "POST",
+ "id": "dataproc.projects.regions.operations.cancel",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource to be cancelled.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}:cancel",
+ "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.",
+ "httpMethod": "DELETE",
+ "id": "dataproc.projects.regions.operations.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource to be deleted.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "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.NOTE: the name binding below allows API services to override the binding to use different resource name schemes, such as users/*/operations.",
+ "httpMethod": "GET",
+ "id": "dataproc.projects.regions.operations.list",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "The standard list filter.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the operation collection.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/regions/[^/]+/operations$",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "The standard list page token.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The standard list page size.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "ListOperationsResponse"
+ },
+ "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.",
+ "httpMethod": "GET",
+ "id": "dataproc.projects.regions.operations.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
"jobs": {
"methods": {
+ "cancel": {
+ "description": "Starts a job cancellation request. To access the job resource after cancellation, call regions/{region}/jobs.list or regions/{region}/jobs.get.",
+ "httpMethod": "POST",
+ "id": "dataproc.projects.regions.jobs.cancel",
+ "parameterOrder": [
+ "projectId",
+ "region",
+ "jobId"
+ ],
+ "parameters": {
+ "region": {
+ "description": "Required The Cloud Dataproc region in which to handle the request.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "projectId": {
+ "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "jobId": {
+ "description": "Required The job ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel",
+ "request": {
+ "$ref": "CancelJobRequest"
+ },
+ "response": {
+ "$ref": "Job"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "patch": {
+ "description": "Updates a job in a project.",
+ "httpMethod": "PATCH",
+ "id": "dataproc.projects.regions.jobs.patch",
+ "parameterOrder": [
+ "projectId",
+ "region",
+ "jobId"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "jobId": {
+ "description": "Required The job ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "Required The Cloud Dataproc region in which to handle the request.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Required Specifies the path, relative to <code>Job</code>, of the field to update. For example, to update the labels of a Job the <code>update_mask</code> parameter would be specified as <code>labels</code>, and the PATCH request body would specify the new value. <strong>Note:</strong> Currently, <code>labels</code> is the only field that can be updated.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}",
+ "request": {
+ "$ref": "Job"
+ },
+ "response": {
+ "$ref": "Job"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets the resource representation for a job in a project.",
+ "httpMethod": "GET",
+ "id": "dataproc.projects.regions.jobs.get",
+ "parameterOrder": [
+ "projectId",
+ "region",
+ "jobId"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "jobId": {
+ "description": "Required The job ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "Required The Cloud Dataproc region in which to handle the request.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}",
+ "response": {
+ "$ref": "Job"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "submit": {
+ "description": "Submits a job to a cluster.",
+ "httpMethod": "POST",
+ "id": "dataproc.projects.regions.jobs.submit",
+ "parameterOrder": [
+ "projectId",
+ "region"
+ ],
+ "parameters": {
+ "region": {
+ "description": "Required The Cloud Dataproc region in which to handle the request.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "projectId": {
+ "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/regions/{region}/jobs:submit",
+ "request": {
+ "$ref": "SubmitJobRequest"
+ },
+ "response": {
+ "$ref": "Job"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION.",
+ "httpMethod": "DELETE",
+ "id": "dataproc.projects.regions.jobs.delete",
+ "parameterOrder": [
+ "projectId",
+ "region",
+ "jobId"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "jobId": {
+ "description": "Required The job ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "description": "Required The Cloud Dataproc region in which to handle the request.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"list": {
"description": "Lists regions/{region}/jobs in a project.",
"httpMethod": "GET",
@@ -179,558 +731,6 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
- },
- "cancel": {
- "description": "Starts a job cancellation request. To access the job resource after cancellation, call regions/{region}/jobs.list or regions/{region}/jobs.get.",
- "httpMethod": "POST",
- "id": "dataproc.projects.regions.jobs.cancel",
- "parameterOrder": [
- "projectId",
- "region",
- "jobId"
- ],
- "parameters": {
- "projectId": {
- "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "jobId": {
- "description": "Required The job ID.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "region": {
- "description": "Required The Cloud Dataproc region in which to handle the request.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel",
- "request": {
- "$ref": "CancelJobRequest"
- },
- "response": {
- "$ref": "Job"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "get": {
- "description": "Gets the resource representation for a job in a project.",
- "httpMethod": "GET",
- "id": "dataproc.projects.regions.jobs.get",
- "parameterOrder": [
- "projectId",
- "region",
- "jobId"
- ],
- "parameters": {
- "projectId": {
- "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "jobId": {
- "description": "Required The job ID.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "region": {
- "description": "Required The Cloud Dataproc region in which to handle the request.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}",
- "response": {
- "$ref": "Job"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "patch": {
- "description": "Updates a job in a project.",
- "httpMethod": "PATCH",
- "id": "dataproc.projects.regions.jobs.patch",
- "parameterOrder": [
- "projectId",
- "region",
- "jobId"
- ],
- "parameters": {
- "projectId": {
- "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "jobId": {
- "description": "Required The job ID.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "region": {
- "description": "Required The Cloud Dataproc region in which to handle the request.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "updateMask": {
- "description": "Required Specifies the path, relative to <code>Job</code>, of the field to update. For example, to update the labels of a Job the <code>update_mask</code> parameter would be specified as <code>labels</code>, and the PATCH request body would specify the new value. <strong>Note:</strong> Currently, <code>labels</code> is the only field that can be updated.",
- "format": "google-fieldmask",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}",
- "request": {
- "$ref": "Job"
- },
- "response": {
- "$ref": "Job"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "submit": {
- "description": "Submits a job to a cluster.",
- "httpMethod": "POST",
- "id": "dataproc.projects.regions.jobs.submit",
- "parameterOrder": [
- "projectId",
- "region"
- ],
- "parameters": {
- "projectId": {
- "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "region": {
- "description": "Required The Cloud Dataproc region in which to handle the request.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/projects/{projectId}/regions/{region}/jobs:submit",
- "request": {
- "$ref": "SubmitJobRequest"
- },
- "response": {
- "$ref": "Job"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "delete": {
- "description": "Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION.",
- "httpMethod": "DELETE",
- "id": "dataproc.projects.regions.jobs.delete",
- "parameterOrder": [
- "projectId",
- "region",
- "jobId"
- ],
- "parameters": {
- "region": {
- "description": "Required The Cloud Dataproc region in which to handle the request.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "projectId": {
- "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "jobId": {
- "description": "Required The job ID.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- }
- }
- },
- "clusters": {
- "methods": {
- "delete": {
- "description": "Deletes a cluster in a project.",
- "httpMethod": "DELETE",
- "id": "dataproc.projects.regions.clusters.delete",
- "parameterOrder": [
- "projectId",
- "region",
- "clusterName"
- ],
- "parameters": {
- "region": {
- "description": "Required The Cloud Dataproc region in which to handle the request.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "clusterName": {
- "description": "Required The cluster name.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "projectId": {
- "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}",
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "diagnose": {
- "description": "Gets cluster diagnostic information. After the operation completes, the Operation.response field contains DiagnoseClusterOutputLocation.",
- "httpMethod": "POST",
- "id": "dataproc.projects.regions.clusters.diagnose",
- "parameterOrder": [
- "projectId",
- "region",
- "clusterName"
- ],
- "parameters": {
- "projectId": {
- "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "region": {
- "description": "Required The Cloud Dataproc region in which to handle the request.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "clusterName": {
- "description": "Required The cluster name.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose",
- "request": {
- "$ref": "DiagnoseClusterRequest"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "list": {
- "description": "Lists all regions/{region}/clusters in a project.",
- "httpMethod": "GET",
- "id": "dataproc.projects.regions.clusters.list",
- "parameterOrder": [
- "projectId",
- "region"
- ],
- "parameters": {
- "region": {
- "description": "Required The Cloud Dataproc region in which to handle the request.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "filter": {
- "description": "Optional A filter constraining the clusters to list. Filters are case-sensitive and have the following syntax:field = value AND field = value ...where field is one of status.state, clusterName, or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be one of the following: ACTIVE, INACTIVE, CREATING, RUNNING, ERROR, DELETING, or UPDATING. ACTIVE contains the CREATING, UPDATING, and RUNNING states. INACTIVE contains the DELETING and ERROR states. clusterName is the name of the cluster provided at creation time. Only the logical AND operator is supported; space-separated items are treated as having an implicit AND operator.Example filter:status.state = ACTIVE AND clusterName = mycluster AND labels.env = staging AND labels.starred = *",
- "location": "query",
- "type": "string"
- },
- "pageToken": {
- "description": "Optional The standard List page token.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Optional The standard List page size.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "projectId": {
- "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/projects/{projectId}/regions/{region}/clusters",
- "response": {
- "$ref": "ListClustersResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "create": {
- "description": "Creates a cluster in a project.",
- "httpMethod": "POST",
- "id": "dataproc.projects.regions.clusters.create",
- "parameterOrder": [
- "projectId",
- "region"
- ],
- "parameters": {
- "projectId": {
- "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "region": {
- "description": "Required The Cloud Dataproc region in which to handle the request.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/projects/{projectId}/regions/{region}/clusters",
- "request": {
- "$ref": "Cluster"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "get": {
- "description": "Gets the resource representation for a cluster in a project.",
- "httpMethod": "GET",
- "id": "dataproc.projects.regions.clusters.get",
- "parameterOrder": [
- "projectId",
- "region",
- "clusterName"
- ],
- "parameters": {
- "projectId": {
- "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "region": {
- "description": "Required The Cloud Dataproc region in which to handle the request.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "clusterName": {
- "description": "Required The cluster name.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}",
- "response": {
- "$ref": "Cluster"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "patch": {
- "description": "Updates a cluster in a project.",
- "httpMethod": "PATCH",
- "id": "dataproc.projects.regions.clusters.patch",
- "parameterOrder": [
- "projectId",
- "region",
- "clusterName"
- ],
- "parameters": {
- "region": {
- "description": "Required The Cloud Dataproc region in which to handle the request.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "updateMask": {
- "description": "Required Specifies the path, relative to <code>Cluster</code>, of the field to update. For example, to change the number of workers in a cluster to 5, the <code>update_mask</code> parameter would be specified as <code>config.worker_config.num_instances</code>, and the PATCH request body would specify the new value, as follows:\n{\n \"config\":{\n \"workerConfig\":{\n \"numInstances\":\"5\"\n }\n }\n}\nSimilarly, to change the number of preemptible workers in a cluster to 5, the <code>update_mask</code> parameter would be <code>config.secondary_worker_config.num_instances</code>, and the PATCH request body would be set as follows:\n{\n \"config\":{\n \"secondaryWorkerConfig\":{\n \"numInstances\":\"5\"\n }\n }\n}\n<strong>Note:</strong> Currently, <code>config.worker_config.num_instances</code> and <code>config.secondary_worker_config.num_instances</code> are the only fields that can be updated.",
- "format": "google-fieldmask",
- "location": "query",
- "type": "string"
- },
- "clusterName": {
- "description": "Required The cluster name.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "projectId": {
- "description": "Required The ID of the Google Cloud Platform project the cluster belongs to.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}",
- "request": {
- "$ref": "Cluster"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- }
- }
- },
- "operations": {
- "methods": {
- "list": {
- "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding below allows API services to override the binding to use different resource name schemes, such as users/*/operations.",
- "httpMethod": "GET",
- "id": "dataproc.projects.regions.operations.list",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "pageSize": {
- "description": "The standard list page size.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "filter": {
- "description": "The standard list filter.",
- "location": "query",
- "type": "string"
- },
- "name": {
- "description": "The name of the operation collection.",
- "location": "path",
- "pattern": "^projects/[^/]+/regions/[^/]+/operations$",
- "required": true,
- "type": "string"
- },
- "pageToken": {
- "description": "The standard list page token.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/{+name}",
- "response": {
- "$ref": "ListOperationsResponse"
- },
- "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.",
- "httpMethod": "GET",
- "id": "dataproc.projects.regions.operations.get",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The name of the operation resource.",
- "location": "path",
- "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+name}",
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "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.",
- "httpMethod": "POST",
- "id": "dataproc.projects.regions.operations.cancel",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The name of the operation resource to be cancelled.",
- "location": "path",
- "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+name}:cancel",
- "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.",
- "httpMethod": "DELETE",
- "id": "dataproc.projects.regions.operations.delete",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The name of the operation resource to be deleted.",
- "location": "path",
- "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+name}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
}
}
}
@@ -739,20 +739,261 @@
}
}
},
- "revision": "20170228",
+ "revision": "20170321",
"rootUrl": "https://dataproc.googleapis.com/",
"schemas": {
- "NodeInitializationAction": {
- "description": "Specifies an executable to run on a fully configured node and a timeout period for executable completion.",
- "id": "NodeInitializationAction",
+ "AcceleratorConfig": {
+ "description": "Specifies the type and number of accelerator cards attached to the instances of an instance group (see GPUs on Compute Engine).",
+ "id": "AcceleratorConfig",
"properties": {
- "executionTimeout": {
- "description": "Optional Amount of time executable has to complete. Default is 10 minutes. Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period.",
- "format": "google-duration",
+ "acceleratorCount": {
+ "description": "The number of the accelerator cards of this type exposed to this instance.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "acceleratorTypeUri": {
+ "description": "Full or partial URI of the accelerator type resource to expose to this instance. See Google Compute Engine AcceleratorTypes( /compute/docs/reference/beta/acceleratorTypes)",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ClusterMetrics": {
+ "description": "Contains cluster daemon metrics, such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release.",
+ "id": "ClusterMetrics",
+ "properties": {
+ "yarnMetrics": {
+ "additionalProperties": {
+ "format": "int64",
+ "type": "string"
+ },
+ "description": "The YARN metrics.",
+ "type": "object"
+ },
+ "hdfsMetrics": {
+ "additionalProperties": {
+ "format": "int64",
+ "type": "string"
+ },
+ "description": "The HDFS metrics.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "LoggingConfig": {
+ "description": "The runtime logging config of the job.",
+ "id": "LoggingConfig",
+ "properties": {
+ "driverLogLevels": {
+ "additionalProperties": {
+ "enum": [
+ "LEVEL_UNSPECIFIED",
+ "ALL",
+ "TRACE",
+ "DEBUG",
+ "INFO",
+ "WARN",
+ "ERROR",
+ "FATAL",
+ "OFF"
+ ],
+ "type": "string"
+ },
+ "description": "The per-package log levels for the driver. This may include \"root\" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "DiagnoseClusterOutputLocation": {
+ "description": "The location where output from diagnostic command can be found.",
+ "id": "DiagnoseClusterOutputLocation",
+ "properties": {
+ "outputUri": {
+ "description": "Output-only The Google Cloud Storage URI of the diagnostic output. This will be a plain text file with summary of collected diagnostics.",
+ "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"
+ },
+ "response": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The normal response of the operation in case of success. 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"
+ },
+ "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 have the format of operations/some/unique/name.",
"type": "string"
},
- "executableFile": {
- "description": "Required Google Cloud Storage URI of executable file.",
+ "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"
+ }
+ },
+ "type": "object"
+ },
+ "OperationStatus": {
+ "description": "The status of the operation.",
+ "id": "OperationStatus",
+ "properties": {
+ "stateStartTime": {
+ "description": "The time this state was entered.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "state": {
+ "description": "A message containing the operation state.",
+ "enum": [
+ "UNKNOWN",
+ "PENDING",
+ "RUNNING",
+ "DONE"
+ ],
+ "enumDescriptions": [
+ "Unused.",
+ "The operation has been created.",
+ "The operation is running.",
+ "The operation is done; either cancelled or completed."
+ ],
+ "type": "string"
+ },
+ "details": {
+ "description": "A message containing any operation metadata details.",
+ "type": "string"
+ },
+ "innerState": {
+ "description": "A message containing the detailed operation state.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "JobReference": {
+ "description": "Encapsulates the full scoping used to reference a job.",
+ "id": "JobReference",
+ "properties": {
+ "projectId": {
+ "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
+ "type": "string"
+ },
+ "jobId": {
+ "description": "Optional The job ID, which must be unique within the project. The job ID is generated by the server upon job submission or provided by the user as a means to perform retries without creating duplicate jobs. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SubmitJobRequest": {
+ "description": "A request to submit a job.",
+ "id": "SubmitJobRequest",
+ "properties": {
+ "job": {
+ "$ref": "Job",
+ "description": "Required The job resource."
+ }
+ },
+ "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). The error model is designed to be:\nSimple to use and understand for most users\nFlexible enough to meet unexpected needsOverviewThe Status message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers understand and resolve the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package google.rpc which can be used for common error conditions.Language mappingThe Status message is the logical representation of the error model, but it is not necessarily the actual wire format. When the Status message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model include:\nPartial errors. If a service needs to return partial errors to the client, it may embed the Status in the normal response to indicate the partial errors.\nWorkflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting purpose.\nBatch operations. If a client uses batch request and batch response, the Status message should be used directly inside batch response, one for each error sub-response.\nAsynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the Status message.\nLogging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons.",
+ "id": "Status",
+ "properties": {
+ "details": {
+ "description": "A list of messages that carry the error details. There will be 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"
+ },
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "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"
+ },
+ "JobScheduling": {
+ "description": "Job scheduling options.Beta Feature: These options are available for testing purposes only. They may be changed before final release.",
+ "id": "JobScheduling",
+ "properties": {
+ "maxFailuresPerHour": {
+ "description": "Optional Maximum number of times per hour a driver may be restarted as a result of driver terminating with non-zero code before job is reported failed.A job may be reported as thrashing if driver exits with non-zero code 4 times within 10 minute window.Maximum value is 10.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "InstanceGroupConfig": {
+ "description": "Optional The config settings for Google Compute Engine resources in an instance group, such as a master or worker group.",
+ "id": "InstanceGroupConfig",
+ "properties": {
+ "instanceNames": {
+ "description": "Optional The list of instance names. Cloud Dataproc derives the names from cluster_name, num_instances, and the instance group if not set by user (recommended practice is to let Cloud Dataproc derive the name).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "accelerators": {
+ "description": "Optional The Google Compute Engine accelerator configuration for these instances.Beta Feature: This feature is still under development. It may be changed before final release.",
+ "items": {
+ "$ref": "AcceleratorConfig"
+ },
+ "type": "array"
+ },
+ "numInstances": {
+ "description": "Required The number of VM instances in the instance group. For master instance groups, must be set to 1.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "diskConfig": {
+ "$ref": "DiskConfig",
+ "description": "Optional Disk option config settings."
+ },
+ "machineTypeUri": {
+ "description": "Required The Google Compute Engine machine type used for cluster instances. Example: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2.",
+ "type": "string"
+ },
+ "managedGroupConfig": {
+ "$ref": "ManagedGroupConfig",
+ "description": "Output-only The config for Google Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups."
+ },
+ "isPreemptible": {
+ "description": "Optional Specifies that this instance group contains preemptible instances.",
+ "type": "boolean"
+ },
+ "imageUri": {
+ "description": "Output-only The Google Compute Engine image resource used for cluster instances. Inferred from SoftwareConfig.image_version.",
"type": "string"
}
},
@@ -762,16 +1003,32 @@
"description": "A list of jobs in a project.",
"id": "ListJobsResponse",
"properties": {
- "nextPageToken": {
- "description": "Optional This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent <code>ListJobsRequest</code>.",
- "type": "string"
- },
"jobs": {
"description": "Output-only Jobs list.",
"items": {
"$ref": "Job"
},
"type": "array"
+ },
+ "nextPageToken": {
+ "description": "Optional This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent <code>ListJobsRequest</code>.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "NodeInitializationAction": {
+ "description": "Specifies an executable to run on a fully configured node and a timeout period for executable completion.",
+ "id": "NodeInitializationAction",
+ "properties": {
+ "executableFile": {
+ "description": "Required Google Cloud Storage URI of executable file.",
+ "type": "string"
+ },
+ "executionTimeout": {
+ "description": "Optional Amount of time executable has to complete. Default is 10 minutes. Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period.",
+ "format": "google-duration",
+ "type": "string"
}
},
"type": "object"
@@ -786,14 +1043,6 @@
"description": "A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/) queries.",
"id": "SparkSqlJob",
"properties": {
- "queryFileUri": {
- "description": "The HCFS URI of the script that contains SQL queries.",
- "type": "string"
- },
- "queryList": {
- "$ref": "QueryList",
- "description": "A list of queries."
- },
"scriptVariables": {
"additionalProperties": {
"type": "string"
@@ -818,6 +1067,14 @@
},
"description": "Optional A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Cloud Dataproc API may be overwritten.",
"type": "object"
+ },
+ "queryFileUri": {
+ "description": "The HCFS URI of the script that contains SQL queries.",
+ "type": "string"
+ },
+ "queryList": {
+ "$ref": "QueryList",
+ "description": "A list of queries."
}
},
"type": "object"
@@ -833,14 +1090,14 @@
"description": "Optional The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.",
"type": "object"
},
- "metrics": {
- "$ref": "ClusterMetrics",
- "description": "Contains cluster daemon metrics such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release."
- },
"status": {
"$ref": "ClusterStatus",
"description": "Output-only Cluster status."
},
+ "metrics": {
+ "$ref": "ClusterMetrics",
+ "description": "Contains cluster daemon metrics such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release."
+ },
"statusHistory": {
"description": "Output-only The previous cluster status.",
"items": {
@@ -852,14 +1109,14 @@
"$ref": "ClusterConfig",
"description": "Required The cluster config. Note that Cloud Dataproc may set default values, and values may change when clusters are updated."
},
- "clusterName": {
- "description": "Required The cluster name. Cluster names within a project must be unique. Names of deleted clusters can be reused.",
- "type": "string"
- },
"clusterUuid": {
"description": "Output-only A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster.",
"type": "string"
},
+ "clusterName": {
+ "description": "Required The cluster name. Cluster names within a project must be unique. Names of deleted clusters can be reused.",
+ "type": "string"
+ },
"projectId": {
"description": "Required The Google Cloud Platform project ID that the cluster belongs to.",
"type": "string"
@@ -889,6 +1146,14 @@
"description": "Metadata describing the operation.",
"id": "OperationMetadata",
"properties": {
+ "operationType": {
+ "description": "Output-only The operation type.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Output-only Short description of operation.",
+ "type": "string"
+ },
"status": {
"$ref": "OperationStatus",
"description": "Output-only Current operation status."
@@ -953,29 +1218,6 @@
"$ref": "OperationStatus"
},
"type": "array"
- },
- "operationType": {
- "description": "Output-only The operation type.",
- "type": "string"
- },
- "description": {
- "description": "Output-only Short description of operation.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "JobPlacement": {
- "description": "Cloud Dataproc job config.",
- "id": "JobPlacement",
- "properties": {
- "clusterName": {
- "description": "Required The name of the cluster where the job will be submitted.",
- "type": "string"
- },
- "clusterUuid": {
- "description": "Output-only A cluster UUID generated by the Cloud Dataproc service when the job is submitted.",
- "type": "string"
}
},
"type": "object"
@@ -998,10 +1240,44 @@
},
"type": "object"
},
+ "JobPlacement": {
+ "description": "Cloud Dataproc job config.",
+ "id": "JobPlacement",
+ "properties": {
+ "clusterName": {
+ "description": "Required The name of the cluster where the job will be submitted.",
+ "type": "string"
+ },
+ "clusterUuid": {
+ "description": "Output-only A cluster UUID generated by the Cloud Dataproc service when the job is submitted.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"ClusterStatus": {
"description": "The status of a cluster and its instances.",
"id": "ClusterStatus",
"properties": {
+ "stateStartTime": {
+ "description": "Output-only Time when this state was entered.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "substate": {
+ "description": "Output-only Additional state information that includes status reported by the agent.",
+ "enum": [
+ "UNSPECIFIED",
+ "UNHEALTHY",
+ "STALE_STATUS"
+ ],
+ "enumDescriptions": [
+ "",
+ "The cluster is known to be in an unhealthy state (for example, critical daemons are not running or HDFS capacity is exhausted).Applies to RUNNING state.",
+ "The agent-reported status is out of date (may occur if Cloud Dataproc loses communication with Agent).Applies to RUNNING state."
+ ],
+ "type": "string"
+ },
"detail": {
"description": "Output-only Optional details of cluster's state.",
"type": "string"
@@ -1025,11 +1301,6 @@
"The cluster is being updated. It continues to accept and process jobs."
],
"type": "string"
- },
- "stateStartTime": {
- "description": "Output-only Time when this state was entered.",
- "format": "google-datetime",
- "type": "string"
}
},
"type": "object"
@@ -1038,24 +1309,6 @@
"description": "A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries on YARN.",
"id": "PigJob",
"properties": {
- "scriptVariables": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Optional Mapping of query variable names to values (equivalent to the Pig command: name=[value]).",
- "type": "object"
- },
- "jarFileUris": {
- "description": "Optional HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "loggingConfig": {
- "$ref": "LoggingConfig",
- "description": "Optional The runtime log config for job execution."
- },
"properties": {
"additionalProperties": {
"type": "string"
@@ -1074,6 +1327,24 @@
"queryList": {
"$ref": "QueryList",
"description": "A list of queries."
+ },
+ "jarFileUris": {
+ "description": "Optional HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "scriptVariables": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Optional Mapping of query variable names to values (equivalent to the Pig command: name=[value]).",
+ "type": "object"
+ },
+ "loggingConfig": {
+ "$ref": "LoggingConfig",
+ "description": "Optional The runtime log config for job execution."
}
},
"type": "object"
@@ -1096,10 +1367,72 @@
},
"type": "object"
},
+ "SparkJob": {
+ "description": "A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/) applications on YARN.",
+ "id": "SparkJob",
+ "properties": {
+ "mainClass": {
+ "description": "The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris.",
+ "type": "string"
+ },
+ "archiveUris": {
+ "description": "Optional HCFS URIs of archives to be extracted in the working directory of Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "mainJarFileUri": {
+ "description": "The HCFS URI of the jar file that contains the main class.",
+ "type": "string"
+ },
+ "jarFileUris": {
+ "description": "Optional HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "loggingConfig": {
+ "$ref": "LoggingConfig",
+ "description": "Optional The runtime log config for job execution."
+ },
+ "properties": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Optional A mapping of property names to values, used to configure Spark. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.",
+ "type": "object"
+ },
+ "args": {
+ "description": "Optional The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "fileUris": {
+ "description": "Optional HCFS URIs of files to be copied to the working directory of Spark drivers and distributed tasks. Useful for naively parallel tasks.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"Job": {
"description": "A Cloud Dataproc job resource.",
"id": "Job",
"properties": {
+ "reference": {
+ "$ref": "JobReference",
+ "description": "Optional The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a <code>job_id</code>."
+ },
+ "hadoopJob": {
+ "$ref": "HadoopJob",
+ "description": "Job is a Hadoop job."
+ },
"placement": {
"$ref": "JobPlacement",
"description": "Required Job information, including how, when, and where to run the job."
@@ -1135,6 +1468,10 @@
"description": "Output-only A URI pointing to the location of the stdout of the job's driver program.",
"type": "string"
},
+ "sparkSqlJob": {
+ "$ref": "SparkSqlJob",
+ "description": "Job is a SparkSql job."
+ },
"statusHistory": {
"description": "Output-only The previous job status.",
"items": {
@@ -1146,10 +1483,6 @@
"$ref": "SparkJob",
"description": "Job is a Spark job."
},
- "sparkSqlJob": {
- "$ref": "SparkSqlJob",
- "description": "Job is a SparkSql job."
- },
"yarnApplications": {
"description": "Output-only The collection of YARN applications spun up by this job.Beta Feature: This report is available for testing purposes only. It may be changed before final release.",
"items": {
@@ -1160,68 +1493,6 @@
"pysparkJob": {
"$ref": "PySparkJob",
"description": "Job is a Pyspark job."
- },
- "reference": {
- "$ref": "JobReference",
- "description": "Optional The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a <code>job_id</code>."
- },
- "hadoopJob": {
- "$ref": "HadoopJob",
- "description": "Job is a Hadoop job."
- }
- },
- "type": "object"
- },
- "SparkJob": {
- "description": "A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/) applications on YARN.",
- "id": "SparkJob",
- "properties": {
- "jarFileUris": {
- "description": "Optional HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "loggingConfig": {
- "$ref": "LoggingConfig",
- "description": "Optional The runtime log config for job execution."
- },
- "properties": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Optional A mapping of property names to values, used to configure Spark. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.",
- "type": "object"
- },
- "args": {
- "description": "Optional The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "fileUris": {
- "description": "Optional HCFS URIs of files to be copied to the working directory of Spark drivers and distributed tasks. Useful for naively parallel tasks.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "mainClass": {
- "description": "The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris.",
- "type": "string"
- },
- "archiveUris": {
- "description": "Optional HCFS URIs of archives to be extracted in the working directory of Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "mainJarFileUri": {
- "description": "The HCFS URI of the jar file that contains the main class.",
- "type": "string"
}
},
"type": "object"
@@ -1235,6 +1506,22 @@
"format": "google-datetime",
"type": "string"
},
+ "substate": {
+ "description": "Output-only Additional state information, which includes status reported by the agent.",
+ "enum": [
+ "UNSPECIFIED",
+ "SUBMITTED",
+ "QUEUED",
+ "STALE_STATUS"
+ ],
+ "enumDescriptions": [
+ "",
+ "The Job is submitted to the agent.Applies to RUNNING state.",
+ "The Job has been received and is awaiting execution (it may be waiting for a condition to be met). See the \"details\" field for the reason for the delay.Applies to RUNNING state.",
+ "The agent-reported status is out of date, which may be caused by a loss of communication between the agent and Cloud Dataproc. If the agent does not send a timely update, the job will fail.Applies to RUNNING state."
+ ],
+ "type": "string"
+ },
"state": {
"description": "Output-only A state message specifying the overall job state.",
"enum": [
@@ -1385,6 +1672,17 @@
"description": "A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).",
"id": "HadoopJob",
"properties": {
+ "mainClass": {
+ "description": "The name of the driver's main class. The jar file containing the class must be in the default CLASSPATH or specified in jar_file_uris.",
+ "type": "string"
+ },
+ "archiveUris": {
+ "description": "Optional HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"mainJarFileUri": {
"description": "The HCFS URI of the jar file containing the main class. Examples: 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test-samples/custom-wordcount.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'",
"type": "string"
@@ -1420,17 +1718,6 @@
"type": "string"
},
"type": "array"
- },
- "mainClass": {
- "description": "The name of the driver's main class. The jar file containing the class must be in the default CLASSPATH or specified in jar_file_uris.",
- "type": "string"
- },
- "archiveUris": {
- "description": "Optional HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip.",
- "items": {
- "type": "string"
- },
- "type": "array"
}
},
"type": "object"
@@ -1445,13 +1732,13 @@
"description": "Specifies the config of disk options for a group of VM instances.",
"id": "DiskConfig",
"properties": {
- "numLocalSsds": {
- "description": "Optional Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.",
+ "bootDiskSizeGb": {
+ "description": "Optional Size in GB of the boot disk (default is 500GB).",
"format": "int32",
"type": "integer"
},
- "bootDiskSizeGb": {
- "description": "Optional Size in GB of the boot disk (default is 500GB).",
+ "numLocalSsds": {
+ "description": "Optional Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.",
"format": "int32",
"type": "integer"
}
@@ -1462,6 +1749,21 @@
"description": "Metadata describing the operation.",
"id": "ClusterOperationMetadata",
"properties": {
+ "statusHistory": {
+ "description": "Output-only The previous operation status.",
+ "items": {
+ "$ref": "ClusterOperationStatus"
+ },
+ "type": "array"
+ },
+ "clusterUuid": {
+ "description": "Output-only Cluster UUID for the operation.",
+ "type": "string"
+ },
+ "clusterName": {
+ "description": "Output-only Name of the cluster for the operation.",
+ "type": "string"
+ },
"operationType": {
"description": "Output-only The operation type.",
"type": "string"
@@ -1487,31 +1789,10 @@
"status": {
"$ref": "ClusterOperationStatus",
"description": "Output-only Current operation status."
- },
- "statusHistory": {
- "description": "Output-only The previous operation status.",
- "items": {
- "$ref": "ClusterOperationStatus"
- },
- "type": "array"
- },
- "clusterName": {
- "description": "Output-only Name of the cluster for the operation.",
- "type": "string"
- },
- "clusterUuid": {
- "description": "Output-only Cluster UUID for the operation.",
- "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:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}.",
- "id": "Empty",
- "properties": {},
- "type": "object"
- },
"HiveJob": {
"description": "A Cloud Dataproc job for running Apache Hive (https://hive.apache.org/) queries on YARN.",
"id": "HiveJob",
@@ -1552,6 +1833,12 @@
},
"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:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
"DiagnoseClusterResults": {
"description": "The location of diagnostic output.",
"id": "DiagnoseClusterResults",
@@ -1567,6 +1854,10 @@
"description": "The cluster config.",
"id": "ClusterConfig",
"properties": {
+ "workerConfig": {
+ "$ref": "InstanceGroupConfig",
+ "description": "Optional The Google Compute Engine config settings for worker instances in a cluster."
+ },
"gceClusterConfig": {
"$ref": "GceClusterConfig",
"description": "Required The shared Google Compute Engine config settings for all instances in a cluster."
@@ -1593,10 +1884,6 @@
"configBucket": {
"description": "Optional A Google Cloud Storage staging bucket used for sharing generated SSH keys and config. If you do not specify a staging bucket, Cloud Dataproc will determine an appropriate Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Google Compute Engine zone where your cluster is deployed, and then it will create and manage this project-level, per-location bucket for you.",
"type": "string"
- },
- "workerConfig": {
- "$ref": "InstanceGroupConfig",
- "description": "Optional The Google Compute Engine config settings for worker instances in a cluster."
}
},
"type": "object"
@@ -1605,13 +1892,6 @@
"description": "A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/0.9.0/python-programming-guide.html) applications on YARN.",
"id": "PySparkJob",
"properties": {
- "archiveUris": {
- "description": "Optional HCFS URIs of archives to be extracted in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
"jarFileUris": {
"description": "Optional HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks.",
"items": {
@@ -1654,6 +1934,13 @@
"mainPythonFileUri": {
"description": "Required The HCFS URI of the main Python file to use as the driver. Must be a .py file.",
"type": "string"
+ },
+ "archiveUris": {
+ "description": "Optional HCFS URIs of archives to be extracted in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -1662,9 +1949,13 @@
"description": "Common config settings for resources of Google Compute Engine cluster instances, applicable to all instances in the cluster.",
"id": "GceClusterConfig",
"properties": {
- "internalIpOnly": {
- "description": "Optional If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This internal_ip_only restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses.",
- "type": "boolean"
+ "networkUri": {
+ "description": "Optional The Google Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the \"default\" network of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see Using Subnetworks for more information). Example: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default.",
+ "type": "string"
+ },
+ "zoneUri": {
+ "description": "Required The zone where the Google Compute Engine cluster will be located. Example: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone].",
+ "type": "string"
},
"metadata": {
"additionalProperties": {
@@ -1673,6 +1964,10 @@
"description": "The Google Compute Engine metadata entries to add to all instances (see Project and instance metadata (https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).",
"type": "object"
},
+ "internalIpOnly": {
+ "description": "Optional If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This internal_ip_only restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses.",
+ "type": "boolean"
+ },
"serviceAccountScopes": {
"description": "Optional The URIs of service account scopes to be included in Google Compute Engine instances. The following base set of scopes is always included:\nhttps://www.googleapis.com/auth/cloud.useraccounts.readonly\nhttps://www.googleapis.com/auth/devstorage.read_write\nhttps://www.googleapis.com/auth/logging.writeIf no scopes are specified, the following defaults are also provided:\nhttps://www.googleapis.com/auth/bigquery\nhttps://www.googleapis.com/auth/bigtable.admin.table\nhttps://www.googleapis.com/auth/bigtable.data\nhttps://www.googleapis.com/auth/devstorage.full_control",
"items": {
@@ -1694,271 +1989,6 @@
"subnetworkUri": {
"description": "Optional The Google Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. Example: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0.",
"type": "string"
- },
- "networkUri": {
- "description": "Optional The Google Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the \"default\" network of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see Using Subnetworks for more information). Example: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default.",
- "type": "string"
- },
- "zoneUri": {
- "description": "Required The zone where the Google Compute Engine cluster will be located. Example: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone].",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AcceleratorConfig": {
- "description": "Specifies the type and number of accelerator cards attached to the instances of an instance group (see GPUs on Compute Engine).",
- "id": "AcceleratorConfig",
- "properties": {
- "acceleratorTypeUri": {
- "description": "Full or partial URI of the accelerator type resource to expose to this instance. See Google Compute Engine AcceleratorTypes( /compute/docs/reference/beta/acceleratorTypes)",
- "type": "string"
- },
- "acceleratorCount": {
- "description": "The number of the accelerator cards of this type exposed to this instance.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "ClusterMetrics": {
- "description": "Contains cluster daemon metrics, such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release.",
- "id": "ClusterMetrics",
- "properties": {
- "hdfsMetrics": {
- "additionalProperties": {
- "format": "int64",
- "type": "string"
- },
- "description": "The HDFS metrics.",
- "type": "object"
- },
- "yarnMetrics": {
- "additionalProperties": {
- "format": "int64",
- "type": "string"
- },
- "description": "The YARN metrics.",
- "type": "object"
- }
- },
- "type": "object"
- },
- "LoggingConfig": {
- "description": "The runtime logging config of the job.",
- "id": "LoggingConfig",
- "properties": {
- "driverLogLevels": {
- "additionalProperties": {
- "enum": [
- "LEVEL_UNSPECIFIED",
- "ALL",
- "TRACE",
- "DEBUG",
- "INFO",
- "WARN",
- "ERROR",
- "FATAL",
- "OFF"
- ],
- "type": "string"
- },
- "description": "The per-package log levels for the driver. This may include \"root\" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'",
- "type": "object"
- }
- },
- "type": "object"
- },
- "DiagnoseClusterOutputLocation": {
- "description": "The location where output from diagnostic command can be found.",
- "id": "DiagnoseClusterOutputLocation",
- "properties": {
- "outputUri": {
- "description": "Output-only The Google Cloud Storage URI of the diagnostic output. This will be a plain text file with summary of collected diagnostics.",
- "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": {
- "response": {
- "additionalProperties": {
- "description": "Properties of the object. Contains field @type with type URL.",
- "type": "any"
- },
- "description": "The normal response of the operation in case of success. 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"
- },
- "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 have the format of operations/some/unique/name.",
- "type": "string"
- },
- "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"
- },
- "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"
- }
- },
- "type": "object"
- },
- "OperationStatus": {
- "description": "The status of the operation.",
- "id": "OperationStatus",
- "properties": {
- "innerState": {
- "description": "A message containing the detailed operation state.",
- "type": "string"
- },
- "stateStartTime": {
- "description": "The time this state was entered.",
- "format": "google-datetime",
- "type": "string"
- },
- "state": {
- "description": "A message containing the operation state.",
- "enum": [
- "UNKNOWN",
- "PENDING",
- "RUNNING",
- "DONE"
- ],
- "enumDescriptions": [
- "Unused.",
- "The operation has been created.",
- "The operation is running.",
- "The operation is done; either cancelled or completed."
- ],
- "type": "string"
- },
- "details": {
- "description": "A message containing any operation metadata details.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "JobReference": {
- "description": "Encapsulates the full scoping used to reference a job.",
- "id": "JobReference",
- "properties": {
- "projectId": {
- "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
- "type": "string"
- },
- "jobId": {
- "description": "Optional The job ID, which must be unique within the project. The job ID is generated by the server upon job submission or provided by the user as a means to perform retries without creating duplicate jobs. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SubmitJobRequest": {
- "description": "A request to submit a job.",
- "id": "SubmitJobRequest",
- "properties": {
- "job": {
- "$ref": "Job",
- "description": "Required The job resource."
- }
- },
- "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). The error model is designed to be:\nSimple to use and understand for most users\nFlexible enough to meet unexpected needsOverviewThe Status message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers understand and resolve the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package google.rpc which can be used for common error conditions.Language mappingThe Status message is the logical representation of the error model, but it is not necessarily the actual wire format. When the Status message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model include:\nPartial errors. If a service needs to return partial errors to the client, it may embed the Status in the normal response to indicate the partial errors.\nWorkflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting purpose.\nBatch operations. If a client uses batch request and batch response, the Status message should be used directly inside batch response, one for each error sub-response.\nAsynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the Status message.\nLogging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons.",
- "id": "Status",
- "properties": {
- "details": {
- "description": "A list of messages that carry the error details. There will be 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"
- },
- "code": {
- "description": "The status code, which should be an enum value of google.rpc.Code.",
- "format": "int32",
- "type": "integer"
- },
- "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"
- },
- "JobScheduling": {
- "description": "Job scheduling options.Beta Feature: These options are available for testing purposes only. They may be changed before final release.",
- "id": "JobScheduling",
- "properties": {
- "maxFailuresPerHour": {
- "description": "Optional Maximum number of times per hour a driver may be restarted as a result of driver terminating with non-zero code before job is reported failed.A job may be reported as thrashing if driver exits with non-zero code 4 times within 10 minute window.Maximum value is 10.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "InstanceGroupConfig": {
- "description": "Optional The config settings for Google Compute Engine resources in an instance group, such as a master or worker group.",
- "id": "InstanceGroupConfig",
- "properties": {
- "numInstances": {
- "description": "Required The number of VM instances in the instance group. For master instance groups, must be set to 1.",
- "format": "int32",
- "type": "integer"
- },
- "diskConfig": {
- "$ref": "DiskConfig",
- "description": "Optional Disk option config settings."
- },
- "managedGroupConfig": {
- "$ref": "ManagedGroupConfig",
- "description": "Output-only The config for Google Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups."
- },
- "isPreemptible": {
- "description": "Optional Specifies that this instance group contains preemptible instances.",
- "type": "boolean"
- },
- "imageUri": {
- "description": "Output-only The Google Compute Engine image resource used for cluster instances. Inferred from SoftwareConfig.image_version.",
- "type": "string"
- },
- "machineTypeUri": {
- "description": "Required The Google Compute Engine machine type used for cluster instances. Example: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2.",
- "type": "string"
- },
- "instanceNames": {
- "description": "Optional The list of instance names. Cloud Dataproc derives the names from cluster_name, num_instances, and the instance group if not set by user (recommended practice is to let Cloud Dataproc derive the name).",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "accelerators": {
- "description": "Optional The Google Compute Engine accelerator configuration for these instances.Beta Feature: This feature is still under development. It may be changed before final release.",
- "items": {
- "$ref": "AcceleratorConfig"
- },
- "type": "array"
}
},
"type": "object"
diff --git a/discovery/googleapis/deploymentmanager__v2.json b/discovery/googleapis/deploymentmanager__v2.json
index a0e1810..d38f196 100644
--- a/discovery/googleapis/deploymentmanager__v2.json
+++ b/discovery/googleapis/deploymentmanager__v2.json
@@ -24,7 +24,7 @@
"description": "Declares, configures, and deploys complex solutions on Google Cloud Platform.",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/deployment-manager/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/236c0P79pEssBCHgt4e65pJeS8I\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/IHE7RRqwAjvUDuB9q_yaFj_YTY0\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -919,11 +919,11 @@
}
}
},
- "revision": "20170302",
+ "revision": "20170315",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AuditConfig": {
- "description": "Specifies the audit configuration for a service. It consists of which permission types are logged, and what identities, if any, are exempted from logging. An AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:foo@gmail.com\" ] }, { \"log_type\": \"DATA_WRITE\", }, { \"log_type\": \"ADMIN_READ\", } ] }, { \"service\": \"fooservice@googleapis.com\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:bar@gmail.com\" ] } ] } ] } For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:foo@gmail.com\" ] }, { \"log_type\": \"DATA_WRITE\", }, { \"log_type\": \"ADMIN_READ\", } ] }, { \"service\": \"fooservice@googleapis.com\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:bar@gmail.com\" ] } ] } ] } For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
@@ -941,7 +941,7 @@
"type": "array"
},
"service": {
- "description": "Specifies a service that will be enabled for audit logging. For example, `resourcemanager`, `storage`, `compute`. `allServices` is a special value that covers all services.",
+ "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.",
"type": "string"
}
},
diff --git a/discovery/googleapis/doubleclicksearch__v2.json b/discovery/googleapis/doubleclicksearch__v2.json
index 27ec3c8..b4d51c7 100644
--- a/discovery/googleapis/doubleclicksearch__v2.json
+++ b/discovery/googleapis/doubleclicksearch__v2.json
@@ -14,7 +14,7 @@
"description": "Reports and modifies your advertising data in DoubleClick Search (for example, campaigns, ad groups, keywords, and conversions).",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/doubleclick-search/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/AVenbFthE-utnbpOtqW5MEYrMwk\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/eH1bAQJ8CHaH_Tw3U0Z9gs73p7g\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -430,7 +430,7 @@
}
}
},
- "revision": "20170228",
+ "revision": "20170314",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Availability": {
diff --git a/discovery/googleapis/drive__v2.json b/discovery/googleapis/drive__v2.json
index e7ec927..17a27e3 100644
--- a/discovery/googleapis/drive__v2.json
+++ b/discovery/googleapis/drive__v2.json
@@ -38,7 +38,7 @@
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/drive/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/yOLelwNe1_ffRHSPwl2spgscA0Q\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/k95lUH_zhTckcacGeDVZVmgaiTM\"",
"icons": {
"x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png",
"x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png"
@@ -3019,7 +3019,7 @@
}
}
},
- "revision": "20170228",
+ "revision": "20170320",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"About": {
@@ -4304,7 +4304,7 @@
"type": "string"
},
"title": {
- "description": "The title of this file.",
+ "description": "The title of this file. Note that for immutable items such as the top level folders of Team Drives, My Drive root folder, and Application Data folder the title is constant.",
"type": "string"
},
"trashedDate": {
diff --git a/discovery/googleapis/drive__v3.json b/discovery/googleapis/drive__v3.json
index 78874ad..6268205 100644
--- a/discovery/googleapis/drive__v3.json
+++ b/discovery/googleapis/drive__v3.json
@@ -35,7 +35,7 @@
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/drive/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/_OPinYCRtT0LlK4YpUqsg4iEUmE\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Awu7J7NA3oyXK1BDXFMkCtzkJ-A\"",
"icons": {
"x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png",
"x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png"
@@ -1714,7 +1714,7 @@
}
}
},
- "revision": "20170228",
+ "revision": "20170320",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"About": {
@@ -2328,7 +2328,7 @@
"type": "string"
},
"name": {
- "description": "The name of the file. This is not necessarily unique within a folder.",
+ "description": "The name of the file. This is not necessarily unique within a folder. Note that for immutable items such as the top level folders of Team Drives, My Drive root folder, and Application Data folder the name is constant.",
"type": "string"
},
"originalFilename": {
diff --git a/discovery/googleapis/firebasedynamiclinks__v1.json b/discovery/googleapis/firebasedynamiclinks__v1.json
index 9addc3d..9700fed 100644
--- a/discovery/googleapis/firebasedynamiclinks__v1.json
+++ b/discovery/googleapis/firebasedynamiclinks__v1.json
@@ -25,6 +25,37 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
+ "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"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "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"
+ },
+ "pp": {
+ "default": "true",
+ "description": "Pretty-print response.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
@@ -36,18 +67,13 @@
"location": "query",
"type": "boolean"
},
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
@@ -64,6 +90,11 @@
"location": "query",
"type": "string"
},
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -79,37 +110,6 @@
],
"location": "query",
"type": "string"
- },
- "access_token": {
- "description": "OAuth access token.",
- "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"
- },
- "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"
- },
- "pp": {
- "default": "true",
- "description": "Pretty-print response.",
- "location": "query",
- "type": "boolean"
- },
- "bearer_token": {
- "description": "OAuth bearer token.",
- "location": "query",
- "type": "string"
- },
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
}
},
"protocol": "rest",
@@ -136,9 +136,141 @@
}
}
},
- "revision": "20170228",
+ "revision": "20170323",
"rootUrl": "https://firebasedynamiclinks.googleapis.com/",
"schemas": {
+ "CreateShortDynamicLinkResponse": {
+ "description": "Response to create a short Dynamic Link.",
+ "id": "CreateShortDynamicLinkResponse",
+ "properties": {
+ "shortLink": {
+ "description": "Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz",
+ "type": "string"
+ },
+ "previewLink": {
+ "description": "Preivew link to show the link flow chart.",
+ "type": "string"
+ },
+ "warning": {
+ "description": "Information about potential warnings on link creation.",
+ "items": {
+ "$ref": "DynamicLinkWarning"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Suffix": {
+ "description": "Short Dynamic Link suffix.",
+ "id": "Suffix",
+ "properties": {
+ "option": {
+ "description": "Suffix option.",
+ "enum": [
+ "OPTION_UNSPECIFIED",
+ "UNGUESSABLE",
+ "SHORT"
+ ],
+ "enumDescriptions": [
+ "The suffix option is not specified, performs as NOT_GUESSABLE .",
+ "Short Dynamic Link suffix is a base62 [0-9A-Za-z] encoded string of\na random generated 96 bit random number, which has a length of 17 chars.\nFor example, \"nlAR8U4SlKRZw1cb2\".\nIt prevents other people from guessing and crawling short Dynamic Links\nthat contain personal identifiable information.",
+ "Short Dynamic Link suffix is a base62 [0-9A-Za-z] string starting with a\nlength of 4 chars. the length will increase when all the space is\noccupied."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GooglePlayAnalytics": {
+ "description": "Parameters for Google Play Campaign Measurements.\n[Learn more](https://developers.google.com/analytics/devguides/collection/android/v4/campaigns#campaign-params)",
+ "id": "GooglePlayAnalytics",
+ "properties": {
+ "utmMedium": {
+ "description": "Campaign medium; used to identify a medium such as email or cost-per-click.",
+ "type": "string"
+ },
+ "utmTerm": {
+ "description": "Campaign term; used with paid search to supply the keywords for ads.",
+ "type": "string"
+ },
+ "utmSource": {
+ "description": "Campaign source; used to identify a search engine, newsletter, or other\nsource.",
+ "type": "string"
+ },
+ "utmCampaign": {
+ "description": "Campaign name; used for keyword analysis to identify a specific product\npromotion or strategic campaign.",
+ "type": "string"
+ },
+ "gclid": {
+ "description": "[AdWords autotagging parameter](https://support.google.com/analytics/answer/1033981?hl=en);\nused to measure Google AdWords ads. This value is generated dynamically\nand should never be modified.",
+ "type": "string"
+ },
+ "utmContent": {
+ "description": "Campaign content; used for A/B testing and content-targeted ads to\ndifferentiate ads or links that point to the same URL.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DynamicLinkInfo": {
+ "description": "Information about a Dynamic Link.",
+ "id": "DynamicLinkInfo",
+ "properties": {
+ "analyticsInfo": {
+ "$ref": "AnalyticsInfo",
+ "description": "Parameters used for tracking. See all tracking parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically)."
+ },
+ "dynamicLinkDomain": {
+ "description": "Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#set-up-firebase-and-the-dynamic-links-sdk)\non how to set up Dynamic Link domain associated with your Firebase project.\n\nRequired.",
+ "type": "string"
+ },
+ "link": {
+ "description": "The link your app will open, You can specify any URL your app can handle.\nThis link must be a well-formatted URL, be properly URL-encoded, and use\nthe HTTP or HTTPS scheme. See 'link' parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically).\n\nRequired.",
+ "type": "string"
+ },
+ "iosInfo": {
+ "$ref": "IosInfo",
+ "description": "iOS related information. See iOS related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/ios#create-a-dynamic-link-programmatically)."
+ },
+ "socialMetaTagInfo": {
+ "$ref": "SocialMetaTagInfo",
+ "description": "Parameters for social meta tag params.\nUsed to set meta tag data for link previews on social sites."
+ },
+ "androidInfo": {
+ "$ref": "AndroidInfo",
+ "description": "Android related information. See Android related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically)."
+ },
+ "navigationInfo": {
+ "$ref": "NavigationInfo",
+ "description": "Information of navigation behavior of a Firebase Dynamic Links."
+ }
+ },
+ "type": "object"
+ },
+ "ITunesConnectAnalytics": {
+ "description": "Parameters for iTunes Connect App Analytics.",
+ "id": "ITunesConnectAnalytics",
+ "properties": {
+ "at": {
+ "description": "Affiliate token used to create affiliate-coded links.",
+ "type": "string"
+ },
+ "ct": {
+ "description": "Campaign text that developers can optionally add to any link in order to\ntrack sales from a specific marketing campaign.",
+ "type": "string"
+ },
+ "mt": {
+ "description": "iTune media types, including music, podcasts, audiobooks and so on.",
+ "type": "string"
+ },
+ "pt": {
+ "description": "Provider token that enables analytics for Dynamic Links from within iTunes\nConnect.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"SocialMetaTagInfo": {
"description": "Parameters for social meta tag params.\nUsed to set meta tag data for link previews on social sites.",
"id": "SocialMetaTagInfo",
@@ -158,14 +290,33 @@
},
"type": "object"
},
+ "AndroidInfo": {
+ "description": "Android related attributes to the Dynamic Link.",
+ "id": "AndroidInfo",
+ "properties": {
+ "androidFallbackLink": {
+ "description": "Link to open on Android if the app is not installed.",
+ "type": "string"
+ },
+ "androidPackageName": {
+ "description": "Android package name of the app.",
+ "type": "string"
+ },
+ "androidMinPackageVersionCode": {
+ "description": "Minimum version code for the Android app. If the installed app’s version\ncode is lower, then the user is taken to the Play Store.",
+ "type": "string"
+ },
+ "androidLink": {
+ "description": "If specified, this overrides the ‘link’ parameter on Android.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"DynamicLinkWarning": {
"description": "Dynamic Links warning messages.",
"id": "DynamicLinkWarning",
"properties": {
- "warningMessage": {
- "description": "The warning message to help developers improve their requests.",
- "type": "string"
- },
"warningCode": {
"description": "The warning code.",
"enum": [
@@ -231,29 +382,21 @@
"The iOS bundle ID does not match with the given iOS store ID."
],
"type": "string"
+ },
+ "warningMessage": {
+ "description": "The warning message to help developers improve their requests.",
+ "type": "string"
}
},
"type": "object"
},
- "AndroidInfo": {
- "description": "Android related attributes to the Dynamic Link.",
- "id": "AndroidInfo",
+ "NavigationInfo": {
+ "description": "Information of navigation behavior.",
+ "id": "NavigationInfo",
"properties": {
- "androidPackageName": {
- "description": "Android package name of the app.",
- "type": "string"
- },
- "androidMinPackageVersionCode": {
- "description": "Minimum version code for the Android app. If the installed app’s version\ncode is lower, then the user is taken to the Play Store.",
- "type": "string"
- },
- "androidLink": {
- "description": "If specified, this overrides the ‘link’ parameter on Android.",
- "type": "string"
- },
- "androidFallbackLink": {
- "description": "Link to open on Android if the app is not installed.",
- "type": "string"
+ "enableForcedRedirect": {
+ "description": "If this option is on, FDL click will be forced to redirect rather than\nshow an interstitial page.",
+ "type": "boolean"
}
},
"type": "object"
@@ -289,28 +432,6 @@
},
"type": "object"
},
- "CreateShortDynamicLinkResponse": {
- "description": "Response to create a short Dynamic Link.",
- "id": "CreateShortDynamicLinkResponse",
- "properties": {
- "warning": {
- "description": "Information about potential warnings on link creation.",
- "items": {
- "$ref": "DynamicLinkWarning"
- },
- "type": "array"
- },
- "shortLink": {
- "description": "Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz",
- "type": "string"
- },
- "previewLink": {
- "description": "Preivew link to show the link flow chart.",
- "type": "string"
- }
- },
- "type": "object"
- },
"AnalyticsInfo": {
"description": "Tracking parameters supported by Dynamic Link.",
"id": "AnalyticsInfo",
@@ -330,10 +451,6 @@
"description": "Request to create a short Dynamic Link.",
"id": "CreateShortDynamicLinkRequest",
"properties": {
- "longDynamicLink": {
- "description": "Full long Dynamic Link URL with desired query parameters specified.\nFor example,\n\"https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample\",\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically).",
- "type": "string"
- },
"suffix": {
"$ref": "Suffix",
"description": "Short Dynamic Link suffix. Optional."
@@ -341,111 +458,9 @@
"dynamicLinkInfo": {
"$ref": "DynamicLinkInfo",
"description": "Information about the Dynamic Link to be shortened.\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically)."
- }
- },
- "type": "object"
- },
- "Suffix": {
- "description": "Short Dynamic Link suffix.",
- "id": "Suffix",
- "properties": {
- "option": {
- "description": "Suffix option.",
- "enum": [
- "OPTION_UNSPECIFIED",
- "UNGUESSABLE",
- "SHORT"
- ],
- "enumDescriptions": [
- "The suffix option is not specified, performs as NOT_GUESSABLE .",
- "Short Dynamic Link suffix is a base62 [0-9A-Za-z] encoded string of\na random generated 96 bit random number, which has a length of 17 chars.\nFor example, \"nlAR8U4SlKRZw1cb2\".\nIt prevents other people from guessing and crawling short Dynamic Links\nthat contain personal identifiable information.",
- "Short Dynamic Link suffix is a base62 [0-9A-Za-z] string starting with a\nlength of 4 chars. the length will increase when all the space is\noccupied."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "GooglePlayAnalytics": {
- "description": "Parameters for Google Play Campaign Measurements.\n[Learn more](https://developers.google.com/analytics/devguides/collection/android/v4/campaigns#campaign-params)",
- "id": "GooglePlayAnalytics",
- "properties": {
- "utmMedium": {
- "description": "Campaign medium; used to identify a medium such as email or cost-per-click.",
- "type": "string"
},
- "utmTerm": {
- "description": "Campaign term; used with paid search to supply the keywords for ads.",
- "type": "string"
- },
- "utmSource": {
- "description": "Campaign source; used to identify a search engine, newsletter, or other\nsource.",
- "type": "string"
- },
- "utmCampaign": {
- "description": "Campaign name; used for keyword analysis to identify a specific product\npromotion or strategic campaign.",
- "type": "string"
- },
- "gclid": {
- "description": "[AdWords autotagging parameter](https://support.google.com/analytics/answer/1033981?hl=en);\nused to measure Google AdWords ads. This value is generated dynamically\nand should never be modified.",
- "type": "string"
- },
- "utmContent": {
- "description": "Campaign content; used for A/B testing and content-targeted ads to\ndifferentiate ads or links that point to the same URL.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DynamicLinkInfo": {
- "description": "Information about a Dynamic Link.",
- "id": "DynamicLinkInfo",
- "properties": {
- "dynamicLinkDomain": {
- "description": "Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#set-up-firebase-and-the-dynamic-links-sdk)\non how to set up Dynamic Link domain associated with your Firebase project.\n\nRequired.",
- "type": "string"
- },
- "link": {
- "description": "The link your app will open, You can specify any URL your app can handle.\nThis link must be a well-formatted URL, be properly URL-encoded, and use\nthe HTTP or HTTPS scheme. See 'link' parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically).\n\nRequired.",
- "type": "string"
- },
- "iosInfo": {
- "$ref": "IosInfo",
- "description": "iOS related information. See iOS related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/ios#create-a-dynamic-link-programmatically)."
- },
- "socialMetaTagInfo": {
- "$ref": "SocialMetaTagInfo",
- "description": "Parameters for social meta tag params.\nUsed to set meta tag data for link previews on social sites."
- },
- "androidInfo": {
- "$ref": "AndroidInfo",
- "description": "Android related information. See Android related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically)."
- },
- "analyticsInfo": {
- "$ref": "AnalyticsInfo",
- "description": "Parameters used for tracking. See all tracking parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically)."
- }
- },
- "type": "object"
- },
- "ITunesConnectAnalytics": {
- "description": "Parameters for iTunes Connect App Analytics.",
- "id": "ITunesConnectAnalytics",
- "properties": {
- "at": {
- "description": "Affiliate token used to create affiliate-coded links.",
- "type": "string"
- },
- "ct": {
- "description": "Campaign text that developers can optionally add to any link in order to\ntrack sales from a specific marketing campaign.",
- "type": "string"
- },
- "mt": {
- "description": "iTune media types, including music, podcasts, audiobooks and so on.",
- "type": "string"
- },
- "pt": {
- "description": "Provider token that enables analytics for Dynamic Links from within iTunes\nConnect.",
+ "longDynamicLink": {
+ "description": "Full long Dynamic Link URL with desired query parameters specified.\nFor example,\n\"https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample\",\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically).",
"type": "string"
}
},
diff --git a/discovery/googleapis/firebaserules__v1.json b/discovery/googleapis/firebaserules__v1.json
index 27f3572..73e2e60 100644
--- a/discovery/googleapis/firebaserules__v1.json
+++ b/discovery/googleapis/firebaserules__v1.json
@@ -17,7 +17,7 @@
"basePath": "",
"baseUrl": "https://firebaserules.googleapis.com/",
"batchPath": "batch",
- "canonicalName": "Firebase Rules API",
+ "canonicalName": "Firebase Rules",
"description": "Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request.\n",
"discoveryVersion": "v1",
"documentationLink": "https://firebase.google.com/docs/storage/security",
@@ -42,18 +42,13 @@
"location": "query",
"type": "boolean"
},
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
@@ -70,6 +65,11 @@
"location": "query",
"type": "string"
},
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -86,13 +86,13 @@
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
+ "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"
},
- "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.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
},
@@ -107,13 +107,13 @@
"location": "query",
"type": "boolean"
},
- "bearer_token": {
- "description": "OAuth bearer token.",
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
+ "bearer_token": {
+ "description": "OAuth bearer token.",
"location": "query",
"type": "string"
}
@@ -123,7 +123,7 @@
"projects": {
"methods": {
"test": {
- "description": "Test `Source` for syntactic and semantic correctness. Issues present in the\nrules, if any, will be returned to the caller with a description, severity,\nand source location.\n\nThe test method will typically be executed with a developer provided\n`Source`, but if regression testing is desired, this method may be\nexecuted against a `Ruleset` resource name and the `Source` will be\nretrieved from the persisted `Ruleset`.\n\nThe following is an example of `Source` that permits users to upload images\nto a bucket bearing their user id and matching the correct metadata:\n\n_*Example*_\n\n // Users are allowed to subscribe and unsubscribe to the blog.\n service firebase.storage {\n match /users/{userId}/images/{imageName} {\n allow write: if userId == request.userId\n && (imageName.endsWith('.png') || imageName.endsWith('.jpg'))\n && resource.mimeType.startsWith('image/')\n }\n }",
+ "description": "Test `Source` for syntactic and semantic correctness. Issues present, if\nany, will be returned to the caller with a description, severity, and\nsource location.\n\nThe test method may be executed with `Source` or a `Ruleset` name.\nPassing `Source` is useful for unit testing new rules. Passing a `Ruleset`\nname is useful for regression testing an existing rule.\n\nThe following is an example of `Source` that permits users to upload images\nto a bucket bearing their user id and matching the correct metadata:\n\n_*Example*_\n\n // Users are allowed to subscribe and unsubscribe to the blog.\n service firebase.storage {\n match /users/{userId}/images/{imageName} {\n allow write: if userId == request.auth.uid\n && (imageName.matches('*.png$')\n || imageName.matches('*.jpg$'))\n && resource.mimeType.matches('^image/')\n }\n }",
"httpMethod": "POST",
"id": "firebaserules.projects.test",
"parameterOrder": [
@@ -131,7 +131,7 @@
],
"parameters": {
"name": {
- "description": "Name of the project.\n\nFormat: `projects/{project_id}`",
+ "description": "Tests may either provide `source` or a `Ruleset` resource name.\n\nFor tests against `source`, the resource name must refer to the project:\nFormat: `projects/{project_id}`\n\nFor tests against a `Ruleset`, this must be the `Ruleset` resource name:\nFormat: `projects/{project_id}/rulesets/{ruleset_id}`",
"location": "path",
"pattern": "^projects/.+$",
"required": true,
@@ -155,34 +155,6 @@
"resources": {
"rulesets": {
"methods": {
- "create": {
- "description": "Create a `Ruleset` from `Source`.\n\nThe `Ruleset` is given a unique generated name which is returned to the\ncaller. `Source` containing syntactic or semantics errors will result in an\nerror response indicating the first error encountered. For a detailed view\nof `Source` issues, use TestRuleset.",
- "httpMethod": "POST",
- "id": "firebaserules.projects.rulesets.create",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "Resource name for Project which owns this `Ruleset`.\n\nFormat: `projects/{project_id}`",
- "location": "path",
- "pattern": "^projects/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+name}/rulesets",
- "request": {
- "$ref": "Ruleset"
- },
- "response": {
- "$ref": "Ruleset"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/firebase"
- ]
- },
"delete": {
"description": "Delete a `Ruleset` by resource name.\n\nIf the `Ruleset` is referenced by a `Release` the operation will fail.",
"httpMethod": "DELETE",
@@ -235,13 +207,18 @@
]
},
"list": {
- "description": "List `Ruleset` metadata only and optionally filter the results by Ruleset\nname.\n\nThe full `Source` contents of a `Ruleset` may be retrieved with\nGetRuleset.",
+ "description": "List `Ruleset` metadata only and optionally filter the results by `Ruleset`\nname.\n\nThe full `Source` contents of a `Ruleset` may be retrieved with\nGetRuleset.",
"httpMethod": "GET",
"id": "firebaserules.projects.rulesets.list",
"parameterOrder": [
"name"
],
"parameters": {
+ "filter": {
+ "description": "`Ruleset` filter. The list method supports filters with restrictions on\n`Ruleset.name`.\n\nFilters on `Ruleset.create_time` should use the `date` function which\nparses strings that conform to the RFC 3339 date/time specifications.\n\nExample: `create_time > date(\"2017-01-01\") AND name=UUID-*`",
+ "location": "query",
+ "type": "string"
+ },
"name": {
"description": "Resource name for the project.\n\nFormat: `projects/{project_id}`",
"location": "path",
@@ -270,13 +247,109 @@
"https://www.googleapis.com/auth/firebase",
"https://www.googleapis.com/auth/firebase.readonly"
]
+ },
+ "create": {
+ "description": "Create a `Ruleset` from `Source`.\n\nThe `Ruleset` is given a unique generated name which is returned to the\ncaller. `Source` containing syntactic or semantics errors will result in an\nerror response indicating the first error encountered. For a detailed view\nof `Source` issues, use TestRuleset.",
+ "httpMethod": "POST",
+ "id": "firebaserules.projects.rulesets.create",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Resource name for Project which owns this `Ruleset`.\n\nFormat: `projects/{project_id}`",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}/rulesets",
+ "request": {
+ "$ref": "Ruleset"
+ },
+ "response": {
+ "$ref": "Ruleset"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/firebase"
+ ]
}
}
},
"releases": {
"methods": {
+ "get": {
+ "description": "Get a `Release` by name.",
+ "httpMethod": "GET",
+ "id": "firebaserules.projects.releases.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Resource name of the `Release`.\n\nFormat: `projects/{project_id}/releases/{release_id}`",
+ "location": "path",
+ "pattern": "^projects/[^/]+/releases/.+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "Release"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/firebase",
+ "https://www.googleapis.com/auth/firebase.readonly"
+ ]
+ },
+ "list": {
+ "description": "List the `Release` values for a project. This list may optionally be\nfiltered by `Release` name, `Ruleset` name, `TestSuite` name, or any\ncombination thereof.",
+ "httpMethod": "GET",
+ "id": "firebaserules.projects.releases.list",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "`Release` filter. The list method supports filters with restrictions on the\n`Release.name`, `Release.ruleset_name`, and `Release.test_suite_name`.\n\nExample 1: A filter of 'name=prod*' might return `Release`s with names\nwithin 'projects/foo' prefixed with 'prod':\n\nName | Ruleset Name\n------------------------------|-------------\nprojects/foo/releases/prod | projects/foo/rulesets/uuid1234\nprojects/foo/releases/prod/v1 | projects/foo/rulesets/uuid1234\nprojects/foo/releases/prod/v2 | projects/foo/rulesets/uuid8888\n\nExample 2: A filter of `name=prod* ruleset_name=uuid1234` would return only\n`Release` instances for 'projects/foo' with names prefixed with 'prod'\nreferring to the same `Ruleset` name of 'uuid1234':\n\nName | Ruleset Name\n------------------------------|-------------\nprojects/foo/releases/prod | projects/foo/rulesets/1234\nprojects/foo/releases/prod/v1 | projects/foo/rulesets/1234\n\nIn the examples, the filter parameters refer to the search filters are\nrelative to the project. Fully qualified prefixed may also be used. e.g.\n`test_suite_name=projects/foo/testsuites/uuid1`",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "Resource name for the project.\n\nFormat: `projects/{project_id}`",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "Next page token for the next batch of `Release` instances.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Page size to load. Maximum of 100. Defaults to 10.\nNote: `page_size` is just a hint and the service may choose to load fewer\nthan `page_size` results due to the size of the output. To traverse all of\nthe releases, the caller should iterate until the `page_token` on the\nresponse is empty.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ }
+ },
+ "path": "v1/{+name}/releases",
+ "response": {
+ "$ref": "ListReleasesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/firebase",
+ "https://www.googleapis.com/auth/firebase.readonly"
+ ]
+ },
"update": {
- "description": "Update a `Release`.\n\nOnly updates to the `ruleset_name` field will be honored. `Release` rename\nis not supported. To create a `Release` use the CreateRelease method\ninstead.",
+ "description": "Update a `Release`.\n\nOnly updates to the `ruleset_name` and `test_suite_name` fields will be\nhonored. `Release` rename is not supported. To create a `Release` use the\nCreateRelease method.",
"httpMethod": "PUT",
"id": "firebaserules.projects.releases.update",
"parameterOrder": [
@@ -304,7 +377,7 @@
]
},
"create": {
- "description": "Create a `Release`.\n\nRelease names should reflect the developer's deployment practices. For\nexample, the release name may include the environment name, application\nname, application version, or any other name meaningful to the developer.\nOnce a `Release` refers to a `Ruleset`, the rules can be enforced by\nFirebase Rules-enabled services.\n\nMore than one `Release` may be 'live' concurrently. Consider the following\nthree `Release` names for `projects/foo` and the `Ruleset` to which they\nrefer.\n\nRelease Name | Ruleset Name\n--------------------------------|-------------\nprojects/foo/releases/prod | projects/foo/rulesets/uuid123\nprojects/foo/releases/prod/beta | projects/foo/rulesets/uuid123\nprojects/foo/releases/prod/v23 | projects/foo/rulesets/uuid456\n\nThe table reflects the `Ruleset` rollout in progress. The `prod` and\n`prod/beta` releases refer to the same `Ruleset`. However, `prod/v23`\nrefers to a new `Ruleset`. The `Ruleset` reference for a `Release` may be\nupdated using the UpdateRelease method, and the custom `Release` name\nmay be referenced by specifying the `X-Firebase-Rules-Release-Name` header.",
+ "description": "Create a `Release`.\n\nRelease names should reflect the developer's deployment practices. For\nexample, the release name may include the environment name, application\nname, application version, or any other name meaningful to the developer.\nOnce a `Release` refers to a `Ruleset`, the rules can be enforced by\nFirebase Rules-enabled services.\n\nMore than one `Release` may be 'live' concurrently. Consider the following\nthree `Release` names for `projects/foo` and the `Ruleset` to which they\nrefer.\n\nRelease Name | Ruleset Name\n--------------------------------|-------------\nprojects/foo/releases/prod | projects/foo/rulesets/uuid123\nprojects/foo/releases/prod/beta | projects/foo/rulesets/uuid123\nprojects/foo/releases/prod/v23 | projects/foo/rulesets/uuid456\n\nThe table reflects the `Ruleset` rollout in progress. The `prod` and\n`prod/beta` releases refer to the same `Ruleset`. However, `prod/v23`\nrefers to a new `Ruleset`. The `Ruleset` reference for a `Release` may be\nupdated using the UpdateRelease method.",
"httpMethod": "POST",
"id": "firebaserules.projects.releases.create",
"parameterOrder": [
@@ -355,115 +428,15 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/firebase"
]
- },
- "get": {
- "description": "Get a `Release` by name.",
- "httpMethod": "GET",
- "id": "firebaserules.projects.releases.get",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "Resource name of the `Release`.\n\n\nFormat: `projects/{project_id}/releases/{release_id}`",
- "location": "path",
- "pattern": "^projects/[^/]+/releases/.+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+name}",
- "response": {
- "$ref": "Release"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/firebase",
- "https://www.googleapis.com/auth/firebase.readonly"
- ]
- },
- "list": {
- "description": "List the `Release` values for a project. This list may optionally be\nfiltered by `Release` name or `Ruleset` id or both.",
- "httpMethod": "GET",
- "id": "firebaserules.projects.releases.list",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "filter": {
- "description": "`Release` filter. The list method supports filters with restrictions on the\n`Release` `name` and also on the `Ruleset` `ruleset_name`.\n\nExample 1) A filter of 'name=prod*' might return `Release`s with names\nwithin 'projects/foo' prefixed with 'prod':\n\nName | Ruleset Name\n------------------------------|-------------\nprojects/foo/releases/prod | projects/foo/rulesets/uuid1234\nprojects/foo/releases/prod/v1 | projects/foo/rulesets/uuid1234\nprojects/foo/releases/prod/v2 | projects/foo/rulesets/uuid8888\n\nExample 2) A filter of `name=prod* ruleset_name=uuid1234` would return only\n`Release` instances for 'projects/foo' with names prefixed with 'prod'\nreferring to the same `Ruleset` name of 'uuid1234':\n\nName | Ruleset Name\n------------------------------|-------------\nprojects/foo/releases/prod | projects/foo/rulesets/1234\nprojects/foo/releases/prod/v1 | projects/foo/rulesets/1234\n\nIn the examples, the filter parameters refer to the search filters for\nrelease and ruleset names are relative to the project releases and rulesets\ncollections. Fully qualified prefixed may also be used. e.g.\n`name=projects/foo/releases/prod* ruleset_name=projects/foo/rulesets/uuid1`",
- "location": "query",
- "type": "string"
- },
- "name": {
- "description": "Resource name for the project.\n\nFormat: `projects/{project_id}`",
- "location": "path",
- "pattern": "^projects/[^/]+$",
- "required": true,
- "type": "string"
- },
- "pageToken": {
- "description": "Next page token for the next batch of `Release` instances.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Page size to load. Maximum of 100. Defaults to 10.\nNote: `page_size` is just a hint and the service may choose to load less\nthan `page_size` due to the size of the output. To traverse all of the\nreleases, caller should iterate until the `page_token` is empty.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- }
- },
- "path": "v1/{+name}/releases",
- "response": {
- "$ref": "ListReleasesResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/firebase",
- "https://www.googleapis.com/auth/firebase.readonly"
- ]
}
}
}
}
}
},
- "revision": "20170210",
+ "revision": "20170314",
"rootUrl": "https://firebaserules.googleapis.com/",
"schemas": {
- "TestRulesetResponse": {
- "description": "The response for FirebaseRulesService.TestRuleset.",
- "id": "TestRulesetResponse",
- "properties": {
- "issues": {
- "description": "Syntactic and semantic `Source` issues of varying severity. Issues of\n`ERROR` severity will prevent tests from executing.",
- "items": {
- "$ref": "Issue"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "ListRulesetsResponse": {
- "description": "The response for FirebaseRulesService.ListRulesets",
- "id": "ListRulesetsResponse",
- "properties": {
- "rulesets": {
- "description": "List of `Ruleset` instances.",
- "items": {
- "$ref": "Ruleset"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "The pagination token to retrieve the next page of results. If the value is\nempty, no further results remain.",
- "type": "string"
- }
- },
- "type": "object"
- },
"Source": {
"description": "`Source` is one or more `File` messages comprising a logical set of rules.",
"id": "Source",
@@ -482,6 +455,11 @@
"description": "Position in the `Source` content including its line, column number, and an\nindex of the `File` in the `Source` message. Used for debug purposes.",
"id": "SourcePosition",
"properties": {
+ "line": {
+ "description": "Line number of the source fragment. 1-based.",
+ "format": "int32",
+ "type": "integer"
+ },
"column": {
"description": "First column on the source line associated with the source fragment.",
"format": "int32",
@@ -490,11 +468,17 @@
"fileName": {
"description": "Name of the `File`.",
"type": "string"
- },
- "line": {
- "description": "Line number of the source fragment. 1-based.",
- "format": "int32",
- "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "TestRulesetRequest": {
+ "description": "The request for FirebaseRulesService.TestRuleset.",
+ "id": "TestRulesetRequest",
+ "properties": {
+ "source": {
+ "$ref": "Source",
+ "description": "Optional `Source` to be checked for correctness.\n\nThis field must not be set when the resource name refers to a `Ruleset`."
}
},
"type": "object"
@@ -530,23 +514,12 @@
},
"type": "object"
},
- "TestRulesetRequest": {
- "description": "The request for FirebaseRulesService.TestRuleset.",
- "id": "TestRulesetRequest",
- "properties": {
- "source": {
- "$ref": "Source",
- "description": "`Source` to be checked for correctness."
- }
- },
- "type": "object"
- },
"Ruleset": {
"description": "`Ruleset` is an immutable copy of `Source` with a globally unique identifier\nand a creation time.",
"id": "Ruleset",
"properties": {
"name": {
- "description": "Name of the `Ruleset`. The ruleset_id is auto generated by the service.\nFormat: `projects/{project_id}/rulesets/{ruleset_id}`\n@OutputOnly",
+ "description": "Name of the `Ruleset`. The ruleset_id is auto generated by the service.\nFormat: `projects/{project_id}/rulesets/{ruleset_id}`\nOutput only.",
"type": "string"
},
"source": {
@@ -554,19 +527,13 @@
"description": "`Source` for the `Ruleset`."
},
"createTime": {
- "description": "Time the `Ruleset` was created.\n@OutputOnly",
+ "description": "Time the `Ruleset` was created.\nOutput only.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
- "Empty": {
- "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
- "id": "Empty",
- "properties": {},
- "type": "object"
- },
"ListReleasesResponse": {
"description": "The response for FirebaseRulesService.ListReleases.",
"id": "ListReleasesResponse",
@@ -605,17 +572,35 @@
},
"type": "object"
},
+ "FunctionCall": {
+ "description": "Represents a service-defined function call that was invoked during test\nexecution.",
+ "id": "FunctionCall",
+ "properties": {
+ "args": {
+ "description": "The arguments that were provided to the function.",
+ "items": {
+ "type": "any"
+ },
+ "type": "array"
+ },
+ "function": {
+ "description": "Name of the function invoked.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Release": {
"description": "`Release` is a named reference to a `Ruleset`. Once a `Release` refers to a\n`Ruleset`, rules-enabled services will be able to enforce the `Ruleset`.",
"id": "Release",
"properties": {
"createTime": {
- "description": "Time the release was created.\n@OutputOnly",
+ "description": "Time the release was created.\nOutput only.",
"format": "google-datetime",
"type": "string"
},
"updateTime": {
- "description": "Time the release was updated.\n@OutputOnly",
+ "description": "Time the release was updated.\nOutput only.",
"format": "google-datetime",
"type": "string"
},
@@ -629,6 +614,90 @@
}
},
"type": "object"
+ },
+ "TestRulesetResponse": {
+ "description": "The response for FirebaseRulesService.TestRuleset.",
+ "id": "TestRulesetResponse",
+ "properties": {
+ "testResults": {
+ "description": "The set of test results given the test cases in the `TestSuite`.\nThe results will appear in the same order as the test cases appear in the\n`TestSuite`.",
+ "items": {
+ "$ref": "TestResult"
+ },
+ "type": "array"
+ },
+ "issues": {
+ "description": "Syntactic and semantic `Source` issues of varying severity. Issues of\n`ERROR` severity will prevent tests from executing.",
+ "items": {
+ "$ref": "Issue"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListRulesetsResponse": {
+ "description": "The response for FirebaseRulesService.ListRulesets.",
+ "id": "ListRulesetsResponse",
+ "properties": {
+ "rulesets": {
+ "description": "List of `Ruleset` instances.",
+ "items": {
+ "$ref": "Ruleset"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "The pagination token to retrieve the next page of results. If the value is\nempty, no further results remain.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "TestResult": {
+ "description": "Test result message containing the state of the test as well as a\ndescription and source position for test failures.",
+ "id": "TestResult",
+ "properties": {
+ "errorPosition": {
+ "$ref": "SourcePosition",
+ "description": "Position in the `Source` or `Ruleset` where the principle runtime error\noccurs.\n\nEvaluation of an expression may result in an error. Rules are deny by\ndefault, so a `DENY` expectation when an error is generated is valid.\nWhen there is a `DENY` with an error, the `SourcePosition` is returned.\n\nE.g. `error_position { line: 19 column: 37 }`"
+ },
+ "functionCalls": {
+ "description": "The set of function calls made to service-defined methods.\n\nFunction calls are included in the order in which they are encountered\nduring evaluation, are provided for both mocked and unmocked functions,\nand included on the response regardless of the test `state`.",
+ "items": {
+ "$ref": "FunctionCall"
+ },
+ "type": "array"
+ },
+ "state": {
+ "description": "State of the test.",
+ "enum": [
+ "STATE_UNSPECIFIED",
+ "SUCCESS",
+ "FAILURE"
+ ],
+ "enumDescriptions": [
+ "Test state is not set.",
+ "Test is a success.",
+ "Test is a failure."
+ ],
+ "type": "string"
+ },
+ "debugMessages": {
+ "description": "Debug messages related to test execution issues encountered during\nevaluation.\n\nDebug messages may be related to too many or too few invocations of\nfunction mocks or to runtime errors that occur during evaluation.\n\nFor example: ```Unable to read variable [name: \"resource\"]```",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis/fusiontables__v1.json b/discovery/googleapis/fusiontables__v1.json
index edac4fc..59cc1d2 100644
--- a/discovery/googleapis/fusiontables__v1.json
+++ b/discovery/googleapis/fusiontables__v1.json
@@ -17,7 +17,7 @@
"description": "API for working with Fusion Tables data.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/fusiontables",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/0FCdL0BWEx8yMtZQU6marCZhfgI\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/-zIhs3FY9L1B7uZzwfB9zEUqdGQ\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -1127,7 +1127,7 @@
}
}
},
- "revision": "20160526",
+ "revision": "20170321",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Bucket": {
diff --git a/discovery/googleapis/fusiontables__v2.json b/discovery/googleapis/fusiontables__v2.json
index 380b9f5..06509ca 100644
--- a/discovery/googleapis/fusiontables__v2.json
+++ b/discovery/googleapis/fusiontables__v2.json
@@ -17,7 +17,7 @@
"description": "API for working with Fusion Tables data.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/fusiontables",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/QkjGIRroDT5nHgu1Wy3bp0C7GqA\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/py3IHyv-Ff_JTV8wHR2pI3pA_Uk\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -1198,7 +1198,7 @@
}
}
},
- "revision": "20160526",
+ "revision": "20170321",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Bucket": {
diff --git a/discovery/googleapis/gamesConfiguration__v1configuration.json b/discovery/googleapis/gamesConfiguration__v1configuration.json
index 5ebbf9a..7d86470 100644
--- a/discovery/googleapis/gamesConfiguration__v1configuration.json
+++ b/discovery/googleapis/gamesConfiguration__v1configuration.json
@@ -15,7 +15,7 @@
"description": "The Publishing API for Google Play Game Services.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/games/services",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/qTXKupiqgBnGsAbcMGlQPHJvMoA\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/y613HDJfsDKOu1Oj3OYiJc1i27c\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -454,7 +454,7 @@
}
}
},
- "revision": "20170223",
+ "revision": "20170316",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AchievementConfiguration": {
diff --git a/discovery/googleapis/gamesManagement__v1management.json b/discovery/googleapis/gamesManagement__v1management.json
index 0cff53d..1bc1d56 100644
--- a/discovery/googleapis/gamesManagement__v1management.json
+++ b/discovery/googleapis/gamesManagement__v1management.json
@@ -18,7 +18,7 @@
"description": "The Management API for Google Play Game Services.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/games/services",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/zjGohORH7k2ehMS8LtDI2GDvH5k\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/NC9UvQYmugwO_ZfzqmubMMOCrko\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -553,7 +553,7 @@
}
}
},
- "revision": "20170223",
+ "revision": "20170316",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AchievementResetAllResponse": {
diff --git a/discovery/googleapis/games__v1.json b/discovery/googleapis/games__v1.json
index 7a72b3e..d0e4dc9 100644
--- a/discovery/googleapis/games__v1.json
+++ b/discovery/googleapis/games__v1.json
@@ -21,7 +21,7 @@
"description": "The API for Google Play Game Services.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/games/services/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/oWu1E1_ZK99oFWzqzKiQ9CH3JCk\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/aYtnP9ioP8YqoQA6HdzssePo1OM\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -2267,7 +2267,7 @@
}
}
},
- "revision": "20170223",
+ "revision": "20170316",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AchievementDefinition": {
diff --git a/discovery/googleapis/genomics__v1.json b/discovery/googleapis/genomics__v1.json
index 83b77a4..be62bbc 100644
--- a/discovery/googleapis/genomics__v1.json
+++ b/discovery/googleapis/genomics__v1.json
@@ -2,6 +2,12 @@
"auth": {
"oauth2": {
"scopes": {
+ "https://www.googleapis.com/auth/bigquery": {
+ "description": "View and manage your data in Google BigQuery"
+ },
+ "https://www.googleapis.com/auth/devstorage.read_write": {
+ "description": "Manage your data in Google Cloud Storage"
+ },
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
@@ -10,12 +16,6 @@
},
"https://www.googleapis.com/auth/genomics": {
"description": "View and manage Genomics data"
- },
- "https://www.googleapis.com/auth/bigquery": {
- "description": "View and manage your data in Google BigQuery"
- },
- "https://www.googleapis.com/auth/devstorage.read_write": {
- "description": "Manage your data in Google Cloud Storage"
}
}
}
@@ -36,27 +36,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "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"
- },
- "pp": {
- "default": "true",
- "description": "Pretty-print response.",
- "location": "query",
- "type": "boolean"
- },
- "bearer_token": {
- "description": "OAuth bearer token.",
- "location": "query",
- "type": "string"
- },
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
- },
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
@@ -68,13 +47,13 @@
"location": "query",
"type": "boolean"
},
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
@@ -112,13 +91,34 @@
"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"
+ },
"access_token": {
"description": "OAuth access token.",
"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.",
+ "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"
+ },
+ "pp": {
+ "default": "true",
+ "description": "Pretty-print response.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
}
@@ -127,6 +127,34 @@
"resources": {
"operations": {
"methods": {
+ "cancel": {
+ "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite cancellation.",
+ "httpMethod": "POST",
+ "id": "genomics.operations.cancel",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource to be cancelled.",
+ "location": "path",
+ "pattern": "^operations/.+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}:cancel",
+ "request": {
+ "$ref": "CancelOperationRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics"
+ ]
+ },
"list": {
"description": "Lists operations that match the specified filter in the request.",
"httpMethod": "GET",
@@ -135,6 +163,11 @@
"name"
],
"parameters": {
+ "filter": {
+ "description": "A string for filtering Operations.\nThe following filter fields are supported:\n\n* projectId: Required. Corresponds to\n OperationMetadata.projectId.\n* createTime: The time this job was created, in seconds from the\n [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=`\n operators.\n* status: Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only\n one status may be specified.\n* labels.key where key is a label key.\n\nExamples:\n\n* `projectId = my-project AND createTime >= 1432140000`\n* `projectId = my-project AND createTime >= 1432140000 AND createTime <= 1432150000 AND status = RUNNING`\n* `projectId = my-project AND labels.color = *`\n* `projectId = my-project AND labels.color = red`",
+ "location": "query",
+ "type": "string"
+ },
"name": {
"description": "The name of the operation collection.",
"location": "path",
@@ -152,11 +185,6 @@
"format": "int32",
"location": "query",
"type": "integer"
- },
- "filter": {
- "description": "A string for filtering Operations.\nThe following filter fields are supported:\n\n* projectId: Required. Corresponds to\n OperationMetadata.projectId.\n* createTime: The time this job was created, in seconds from the\n [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=`\n operators.\n* status: Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only\n one status may be specified.\n* labels.key where key is a label key.\n\nExamples:\n\n* `projectId = my-project AND createTime >= 1432140000`\n* `projectId = my-project AND createTime >= 1432140000 AND createTime <= 1432150000 AND status = RUNNING`\n* `projectId = my-project AND labels.color = *`\n* `projectId = my-project AND labels.color = red`",
- "location": "query",
- "type": "string"
}
},
"path": "v1/{+name}",
@@ -192,34 +220,6 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics"
]
- },
- "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. Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite cancellation.",
- "httpMethod": "POST",
- "id": "genomics.operations.cancel",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The name of the operation resource to be cancelled.",
- "location": "path",
- "pattern": "^operations/.+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+name}:cancel",
- "request": {
- "$ref": "CancelOperationRequest"
- },
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
- ]
}
}
},
@@ -271,6 +271,152 @@
}
}
},
+ "callsets": {
+ "methods": {
+ "delete": {
+ "description": "Deletes a call set.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
+ "httpMethod": "DELETE",
+ "id": "genomics.callsets.delete",
+ "parameterOrder": [
+ "callSetId"
+ ],
+ "parameters": {
+ "callSetId": {
+ "description": "The ID of the call set to be deleted.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/callsets/{callSetId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics"
+ ]
+ },
+ "search": {
+ "description": "Gets a list of call sets matching the criteria.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L178).",
+ "httpMethod": "POST",
+ "id": "genomics.callsets.search",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/callsets/search",
+ "request": {
+ "$ref": "SearchCallSetsRequest"
+ },
+ "response": {
+ "$ref": "SearchCallSetsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
+ ]
+ },
+ "patch": {
+ "description": "Updates a call set.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis method supports patch semantics.",
+ "httpMethod": "PATCH",
+ "id": "genomics.callsets.patch",
+ "parameterOrder": [
+ "callSetId"
+ ],
+ "parameters": {
+ "callSetId": {
+ "description": "The ID of the call set to be updated.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "An optional mask specifying which fields to update. At this time, the only\nmutable field is name. The only\nacceptable value is \"name\". If unspecified, all mutable fields will be\nupdated.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/callsets/{callSetId}",
+ "request": {
+ "$ref": "CallSet"
+ },
+ "response": {
+ "$ref": "CallSet"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics"
+ ]
+ },
+ "get": {
+ "description": "Gets a call set by ID.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
+ "httpMethod": "GET",
+ "id": "genomics.callsets.get",
+ "parameterOrder": [
+ "callSetId"
+ ],
+ "parameters": {
+ "callSetId": {
+ "description": "The ID of the call set.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/callsets/{callSetId}",
+ "response": {
+ "$ref": "CallSet"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
+ ]
+ },
+ "create": {
+ "description": "Creates a new call set.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
+ "httpMethod": "POST",
+ "id": "genomics.callsets.create",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/callsets",
+ "request": {
+ "$ref": "CallSet"
+ },
+ "response": {
+ "$ref": "CallSet"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics"
+ ]
+ }
+ }
+ },
+ "reads": {
+ "methods": {
+ "search": {
+ "description": "Gets a list of reads for one or more read group sets.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nReads search operates over a genomic coordinate space of reference sequence\n& position defined over the reference sequences to which the requested\nread group sets are aligned.\n\nIf a target positional range is specified, search returns all reads whose\nalignment to the reference genome overlap the range. A query which\nspecifies only read group set IDs yields all reads in those read group\nsets, including unmapped reads.\n\nAll reads returned (including reads on subsequent pages) are ordered by\ngenomic coordinate (by reference sequence, then position). Reads with\nequivalent genomic coordinates are returned in an unspecified order. This\norder is consistent, such that two queries for the same content (regardless\nof page size) yield reads in the same order across their respective streams\nof paginated responses.\n\nImplements\n[GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85).",
+ "httpMethod": "POST",
+ "id": "genomics.reads.search",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/reads/search",
+ "request": {
+ "$ref": "SearchReadsRequest"
+ },
+ "response": {
+ "$ref": "SearchReadsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
+ ]
+ }
+ }
+ },
"readgroupsets": {
"methods": {
"import": {
@@ -363,6 +509,31 @@
"https://www.googleapis.com/auth/genomics.readonly"
]
},
+ "get": {
+ "description": "Gets a read group set by ID.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
+ "httpMethod": "GET",
+ "id": "genomics.readgroupsets.get",
+ "parameterOrder": [
+ "readGroupSetId"
+ ],
+ "parameters": {
+ "readGroupSetId": {
+ "description": "The ID of the read group set.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/readgroupsets/{readGroupSetId}",
+ "response": {
+ "$ref": "ReadGroupSet"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
+ ]
+ },
"patch": {
"description": "Updates a read group set.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis method supports patch semantics.",
"httpMethod": "PATCH",
@@ -395,31 +566,6 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics"
]
- },
- "get": {
- "description": "Gets a read group set by ID.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
- "httpMethod": "GET",
- "id": "genomics.readgroupsets.get",
- "parameterOrder": [
- "readGroupSetId"
- ],
- "parameters": {
- "readGroupSetId": {
- "description": "The ID of the read group set.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/readgroupsets/{readGroupSetId}",
- "response": {
- "$ref": "ReadGroupSet"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
- ]
}
},
"resources": {
@@ -433,24 +579,6 @@
"readGroupSetId"
],
"parameters": {
- "start": {
- "description": "The start position of the range on the reference, 0-based inclusive. If\nspecified, `referenceName` must also be specified. Defaults to 0.",
- "format": "int64",
- "location": "query",
- "type": "string"
- },
- "targetBucketWidth": {
- "description": "The desired width of each reported coverage bucket in base pairs. This\nwill be rounded down to the nearest precomputed bucket width; the value\nof which is returned as `bucketWidth` in the response. Defaults\nto infinity (each bucket spans an entire reference sequence) or the length\nof the target range, if specified. The smallest precomputed\n`bucketWidth` is currently 2048 base pairs; this is subject to\nchange.",
- "format": "int64",
- "location": "query",
- "type": "string"
- },
- "readGroupSetId": {
- "description": "Required. The ID of the read group set over which coverage is requested.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"referenceName": {
"description": "The name of the reference to query, within the reference set associated\nwith this query. Optional.",
"location": "query",
@@ -472,6 +600,24 @@
"format": "int32",
"location": "query",
"type": "integer"
+ },
+ "start": {
+ "description": "The start position of the range on the reference, 0-based inclusive. If\nspecified, `referenceName` must also be specified. Defaults to 0.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "targetBucketWidth": {
+ "description": "The desired width of each reported coverage bucket in base pairs. This\nwill be rounded down to the nearest precomputed bucket width; the value\nof which is returned as `bucketWidth` in the response. Defaults\nto infinity (each bucket spans an entire reference sequence) or the length\nof the target range, if specified. The smallest precomputed\n`bucketWidth` is currently 2048 base pairs; this is subject to\nchange.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "readGroupSetId": {
+ "description": "Required. The ID of the read group set over which coverage is requested.",
+ "location": "path",
+ "required": true,
+ "type": "string"
}
},
"path": "v1/readgroupsets/{readGroupSetId}/coveragebuckets",
@@ -488,124 +634,19 @@
}
}
},
- "reads": {
+ "variants": {
"methods": {
- "search": {
- "description": "Gets a list of reads for one or more read group sets.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nReads search operates over a genomic coordinate space of reference sequence\n& position defined over the reference sequences to which the requested\nread group sets are aligned.\n\nIf a target positional range is specified, search returns all reads whose\nalignment to the reference genome overlap the range. A query which\nspecifies only read group set IDs yields all reads in those read group\nsets, including unmapped reads.\n\nAll reads returned (including reads on subsequent pages) are ordered by\ngenomic coordinate (by reference sequence, then position). Reads with\nequivalent genomic coordinates are returned in an unspecified order. This\norder is consistent, such that two queries for the same content (regardless\nof page size) yield reads in the same order across their respective streams\nof paginated responses.\n\nImplements\n[GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85).",
+ "merge": {
+ "description": "Merges the given variants with existing variants.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nEach variant will be\nmerged with an existing variant that matches its reference sequence,\nstart, end, reference bases, and alternative bases. If no such variant\nexists, a new one will be created.\n\nWhen variants are merged, the call information from the new variant\nis added to the existing variant. Variant info fields are merged as\nspecified in the\ninfoMergeConfig\nfield of the MergeVariantsRequest.\n\nPlease exercise caution when using this method! It is easy to introduce\nmistakes in existing variants and difficult to back out of them. For\nexample,\nsuppose you were trying to merge a new variant with an existing one and\nboth\nvariants contain calls that belong to callsets with the same callset ID.\n\n // Existing variant - irrelevant fields trimmed for clarity\n {\n \"variantSetId\": \"10473108253681171589\",\n \"referenceName\": \"1\",\n \"start\": \"10582\",\n \"referenceBases\": \"G\",\n \"alternateBases\": [\n \"A\"\n ],\n \"calls\": [\n {\n \"callSetId\": \"10473108253681171589-0\",\n \"callSetName\": \"CALLSET0\",\n \"genotype\": [\n 0,\n 1\n ],\n }\n ]\n }\n\n // New variant with conflicting call information\n {\n \"variantSetId\": \"10473108253681171589\",\n \"referenceName\": \"1\",\n \"start\": \"10582\",\n \"referenceBases\": \"G\",\n \"alternateBases\": [\n \"A\"\n ],\n \"calls\": [\n {\n \"callSetId\": \"10473108253681171589-0\",\n \"callSetName\": \"CALLSET0\",\n \"genotype\": [\n 1,\n 1\n ],\n }\n ]\n }\n\nThe resulting merged variant would overwrite the existing calls with those\nfrom the new variant:\n\n {\n \"variantSetId\": \"10473108253681171589\",\n \"referenceName\": \"1\",\n \"start\": \"10582\",\n \"referenceBases\": \"G\",\n \"alternateBases\": [\n \"A\"\n ],\n \"calls\": [\n {\n \"callSetId\": \"10473108253681171589-0\",\n \"callSetName\": \"CALLSET0\",\n \"genotype\": [\n 1,\n 1\n ],\n }\n ]\n }\n\nThis may be the desired outcome, but it is up to the user to determine if\nif that is indeed the case.",
"httpMethod": "POST",
- "id": "genomics.reads.search",
+ "id": "genomics.variants.merge",
"parameterOrder": [],
"parameters": {},
- "path": "v1/reads/search",
+ "path": "v1/variants:merge",
"request": {
- "$ref": "SearchReadsRequest"
+ "$ref": "MergeVariantsRequest"
},
"response": {
- "$ref": "SearchReadsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
- ]
- }
- }
- },
- "callsets": {
- "methods": {
- "patch": {
- "description": "Updates a call set.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis method supports patch semantics.",
- "httpMethod": "PATCH",
- "id": "genomics.callsets.patch",
- "parameterOrder": [
- "callSetId"
- ],
- "parameters": {
- "callSetId": {
- "description": "The ID of the call set to be updated.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "updateMask": {
- "description": "An optional mask specifying which fields to update. At this time, the only\nmutable field is name. The only\nacceptable value is \"name\". If unspecified, all mutable fields will be\nupdated.",
- "format": "google-fieldmask",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/callsets/{callSetId}",
- "request": {
- "$ref": "CallSet"
- },
- "response": {
- "$ref": "CallSet"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
- ]
- },
- "get": {
- "description": "Gets a call set by ID.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
- "httpMethod": "GET",
- "id": "genomics.callsets.get",
- "parameterOrder": [
- "callSetId"
- ],
- "parameters": {
- "callSetId": {
- "description": "The ID of the call set.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/callsets/{callSetId}",
- "response": {
- "$ref": "CallSet"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
- ]
- },
- "create": {
- "description": "Creates a new call set.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
- "httpMethod": "POST",
- "id": "genomics.callsets.create",
- "parameterOrder": [],
- "parameters": {},
- "path": "v1/callsets",
- "request": {
- "$ref": "CallSet"
- },
- "response": {
- "$ref": "CallSet"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
- ]
- },
- "delete": {
- "description": "Deletes a call set.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
- "httpMethod": "DELETE",
- "id": "genomics.callsets.delete",
- "parameterOrder": [
- "callSetId"
- ],
- "parameters": {
- "callSetId": {
- "description": "The ID of the call set to be deleted.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/callsets/{callSetId}",
- "response": {
"$ref": "Empty"
},
"scopes": [
@@ -613,106 +654,6 @@
"https://www.googleapis.com/auth/genomics"
]
},
- "search": {
- "description": "Gets a list of call sets matching the criteria.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L178).",
- "httpMethod": "POST",
- "id": "genomics.callsets.search",
- "parameterOrder": [],
- "parameters": {},
- "path": "v1/callsets/search",
- "request": {
- "$ref": "SearchCallSetsRequest"
- },
- "response": {
- "$ref": "SearchCallSetsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
- ]
- }
- }
- },
- "variants": {
- "methods": {
- "patch": {
- "description": "Updates a variant.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis method supports patch semantics. Returns the modified variant without\nits calls.",
- "httpMethod": "PATCH",
- "id": "genomics.variants.patch",
- "parameterOrder": [
- "variantId"
- ],
- "parameters": {
- "variantId": {
- "description": "The ID of the variant to be updated.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "updateMask": {
- "description": "An optional mask specifying which fields to update. At this time, mutable\nfields are names and\ninfo. Acceptable values are \"names\" and\n\"info\". If unspecified, all mutable fields will be updated.",
- "format": "google-fieldmask",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/variants/{variantId}",
- "request": {
- "$ref": "Variant"
- },
- "response": {
- "$ref": "Variant"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
- ]
- },
- "get": {
- "description": "Gets a variant by ID.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
- "httpMethod": "GET",
- "id": "genomics.variants.get",
- "parameterOrder": [
- "variantId"
- ],
- "parameters": {
- "variantId": {
- "description": "The ID of the variant.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/variants/{variantId}",
- "response": {
- "$ref": "Variant"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
- ]
- },
- "import": {
- "description": "Creates variant data by asynchronously importing the provided information.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThe variants for import will be merged with any existing variant that\nmatches its reference sequence, start, end, reference bases, and\nalternative bases. If no such variant exists, a new one will be created.\n\nWhen variants are merged, the call information from the new variant\nis added to the existing variant, and Variant info fields are merged\nas specified in\ninfoMergeConfig.\nAs a special case, for single-sample VCF files, QUAL and FILTER fields will\nbe moved to the call level; these are sometimes interpreted in a\ncall-specific context.\nImported VCF headers are appended to the metadata already in a variant set.",
- "httpMethod": "POST",
- "id": "genomics.variants.import",
- "parameterOrder": [],
- "parameters": {},
- "path": "v1/variants:import",
- "request": {
- "$ref": "ImportVariantsRequest"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/devstorage.read_write",
- "https://www.googleapis.com/auth/genomics"
- ]
- },
"delete": {
"description": "Deletes a variant.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
"httpMethod": "DELETE",
@@ -737,21 +678,22 @@
"https://www.googleapis.com/auth/genomics"
]
},
- "merge": {
- "description": "Merges the given variants with existing variants.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nEach variant will be\nmerged with an existing variant that matches its reference sequence,\nstart, end, reference bases, and alternative bases. If no such variant\nexists, a new one will be created.\n\nWhen variants are merged, the call information from the new variant\nis added to the existing variant. Variant info fields are merged as\nspecified in the\ninfoMergeConfig\nfield of the MergeVariantsRequest.\n\nPlease exercise caution when using this method! It is easy to introduce\nmistakes in existing variants and difficult to back out of them. For\nexample,\nsuppose you were trying to merge a new variant with an existing one and\nboth\nvariants contain calls that belong to callsets with the same callset ID.\n\n // Existing variant - irrelevant fields trimmed for clarity\n {\n \"variantSetId\": \"10473108253681171589\",\n \"referenceName\": \"1\",\n \"start\": \"10582\",\n \"referenceBases\": \"G\",\n \"alternateBases\": [\n \"A\"\n ],\n \"calls\": [\n {\n \"callSetId\": \"10473108253681171589-0\",\n \"callSetName\": \"CALLSET0\",\n \"genotype\": [\n 0,\n 1\n ],\n }\n ]\n }\n\n // New variant with conflicting call information\n {\n \"variantSetId\": \"10473108253681171589\",\n \"referenceName\": \"1\",\n \"start\": \"10582\",\n \"referenceBases\": \"G\",\n \"alternateBases\": [\n \"A\"\n ],\n \"calls\": [\n {\n \"callSetId\": \"10473108253681171589-0\",\n \"callSetName\": \"CALLSET0\",\n \"genotype\": [\n 1,\n 1\n ],\n }\n ]\n }\n\nThe resulting merged variant would overwrite the existing calls with those\nfrom the new variant:\n\n {\n \"variantSetId\": \"10473108253681171589\",\n \"referenceName\": \"1\",\n \"start\": \"10582\",\n \"referenceBases\": \"G\",\n \"alternateBases\": [\n \"A\"\n ],\n \"calls\": [\n {\n \"callSetId\": \"10473108253681171589-0\",\n \"callSetName\": \"CALLSET0\",\n \"genotype\": [\n 1,\n 1\n ],\n }\n ]\n }\n\nThis may be the desired outcome, but it is up to the user to determine if\nif that is indeed the case.",
+ "import": {
+ "description": "Creates variant data by asynchronously importing the provided information.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThe variants for import will be merged with any existing variant that\nmatches its reference sequence, start, end, reference bases, and\nalternative bases. If no such variant exists, a new one will be created.\n\nWhen variants are merged, the call information from the new variant\nis added to the existing variant, and Variant info fields are merged\nas specified in\ninfoMergeConfig.\nAs a special case, for single-sample VCF files, QUAL and FILTER fields will\nbe moved to the call level; these are sometimes interpreted in a\ncall-specific context.\nImported VCF headers are appended to the metadata already in a variant set.",
"httpMethod": "POST",
- "id": "genomics.variants.merge",
+ "id": "genomics.variants.import",
"parameterOrder": [],
"parameters": {},
- "path": "v1/variants:merge",
+ "path": "v1/variants:import",
"request": {
- "$ref": "MergeVariantsRequest"
+ "$ref": "ImportVariantsRequest"
},
"response": {
- "$ref": "Empty"
+ "$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/devstorage.read_write",
"https://www.googleapis.com/auth/genomics"
]
},
@@ -791,6 +733,64 @@
"https://www.googleapis.com/auth/genomics",
"https://www.googleapis.com/auth/genomics.readonly"
]
+ },
+ "get": {
+ "description": "Gets a variant by ID.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
+ "httpMethod": "GET",
+ "id": "genomics.variants.get",
+ "parameterOrder": [
+ "variantId"
+ ],
+ "parameters": {
+ "variantId": {
+ "description": "The ID of the variant.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/variants/{variantId}",
+ "response": {
+ "$ref": "Variant"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
+ ]
+ },
+ "patch": {
+ "description": "Updates a variant.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis method supports patch semantics. Returns the modified variant without\nits calls.",
+ "httpMethod": "PATCH",
+ "id": "genomics.variants.patch",
+ "parameterOrder": [
+ "variantId"
+ ],
+ "parameters": {
+ "variantId": {
+ "description": "The ID of the variant to be updated.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "An optional mask specifying which fields to update. At this time, mutable\nfields are names and\ninfo. Acceptable values are \"names\" and\n\"info\". If unspecified, all mutable fields will be updated.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/variants/{variantId}",
+ "request": {
+ "$ref": "Variant"
+ },
+ "response": {
+ "$ref": "Variant"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics"
+ ]
}
}
},
@@ -872,17 +872,17 @@
"annotationSetId"
],
"parameters": {
- "annotationSetId": {
- "description": "The ID of the annotation set to be updated.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"updateMask": {
"description": "An optional mask specifying which fields to update. Mutable fields are\nname,\nsource_uri, and\ninfo. If unspecified, all\nmutable fields will be updated.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
+ },
+ "annotationSetId": {
+ "description": "The ID of the annotation set to be updated.",
+ "location": "path",
+ "required": true,
+ "type": "string"
}
},
"path": "v1/annotationsets/{annotationSetId}",
@@ -919,25 +919,6 @@
},
"references": {
"methods": {
- "search": {
- "description": "Searches for references which match the given criteria.\n\nFor the definitions of references and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146).",
- "httpMethod": "POST",
- "id": "genomics.references.search",
- "parameterOrder": [],
- "parameters": {},
- "path": "v1/references/search",
- "request": {
- "$ref": "SearchReferencesRequest"
- },
- "response": {
- "$ref": "SearchReferencesResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
- ]
- },
"get": {
"description": "Gets a reference.\n\nFor the definitions of references and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158).",
"httpMethod": "GET",
@@ -962,6 +943,25 @@
"https://www.googleapis.com/auth/genomics",
"https://www.googleapis.com/auth/genomics.readonly"
]
+ },
+ "search": {
+ "description": "Searches for references which match the given criteria.\n\nFor the definitions of references and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146).",
+ "httpMethod": "POST",
+ "id": "genomics.references.search",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/references/search",
+ "request": {
+ "$ref": "SearchReferencesRequest"
+ },
+ "response": {
+ "$ref": "SearchReferencesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
+ ]
}
},
"resources": {
@@ -975,17 +975,6 @@
"referenceId"
],
"parameters": {
- "pageToken": {
- "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "The maximum number of bases to return in a single page. If unspecified,\ndefaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base\npairs).",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
"start": {
"description": "The start position (0-based) of this query. Defaults to 0.",
"format": "int64",
@@ -1003,6 +992,17 @@
"format": "int64",
"location": "query",
"type": "string"
+ },
+ "pageToken": {
+ "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The maximum number of bases to return in a single page. If unspecified,\ndefaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base\npairs).",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
}
},
"path": "v1/references/{referenceId}/bases",
@@ -1021,58 +1021,24 @@
},
"datasets": {
"methods": {
- "getIamPolicy": {
- "description": "Gets the access control policy for the dataset. This is empty if the\npolicy or resource does not exist.\n\nSee <a href=\"/iam/docs/managing-policies#getting_a_policy\">Getting a\nPolicy</a> for more information.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
+ "undelete": {
+ "description": "Undeletes a dataset by restoring a dataset which was deleted via this API.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis operation is only possible for a week after the deletion occurred.",
"httpMethod": "POST",
- "id": "genomics.datasets.getIamPolicy",
- "parameterOrder": [
- "resource"
- ],
- "parameters": {
- "resource": {
- "description": "REQUIRED: The resource for which policy is being specified. Format is\n`datasets/<dataset ID>`.",
- "location": "path",
- "pattern": "^datasets/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+resource}:getIamPolicy",
- "request": {
- "$ref": "GetIamPolicyRequest"
- },
- "response": {
- "$ref": "Policy"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
- ]
- },
- "patch": {
- "description": "Updates a dataset.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis method supports patch semantics.",
- "httpMethod": "PATCH",
- "id": "genomics.datasets.patch",
+ "id": "genomics.datasets.undelete",
"parameterOrder": [
"datasetId"
],
"parameters": {
"datasetId": {
- "description": "The ID of the dataset to be updated.",
+ "description": "The ID of the dataset to be undeleted.",
"location": "path",
"required": true,
"type": "string"
- },
- "updateMask": {
- "description": "An optional mask specifying which fields to update. At this time, the only\nmutable field is name. The only\nacceptable value is \"name\". If unspecified, all mutable fields will be\nupdated.",
- "format": "google-fieldmask",
- "location": "query",
- "type": "string"
}
},
- "path": "v1/datasets/{datasetId}",
+ "path": "v1/datasets/{datasetId}:undelete",
"request": {
- "$ref": "Dataset"
+ "$ref": "UndeleteDatasetRequest"
},
"response": {
"$ref": "Dataset"
@@ -1107,24 +1073,30 @@
"https://www.googleapis.com/auth/genomics.readonly"
]
},
- "undelete": {
- "description": "Undeletes a dataset by restoring a dataset which was deleted via this API.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis operation is only possible for a week after the deletion occurred.",
- "httpMethod": "POST",
- "id": "genomics.datasets.undelete",
+ "patch": {
+ "description": "Updates a dataset.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis method supports patch semantics.",
+ "httpMethod": "PATCH",
+ "id": "genomics.datasets.patch",
"parameterOrder": [
"datasetId"
],
"parameters": {
"datasetId": {
- "description": "The ID of the dataset to be undeleted.",
+ "description": "The ID of the dataset to be updated.",
"location": "path",
"required": true,
"type": "string"
+ },
+ "updateMask": {
+ "description": "An optional mask specifying which fields to update. At this time, the only\nmutable field is name. The only\nacceptable value is \"name\". If unspecified, all mutable fields will be\nupdated.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
}
},
- "path": "v1/datasets/{datasetId}:undelete",
+ "path": "v1/datasets/{datasetId}",
"request": {
- "$ref": "UndeleteDatasetRequest"
+ "$ref": "Dataset"
},
"response": {
"$ref": "Dataset"
@@ -1192,6 +1164,11 @@
"id": "genomics.datasets.list",
"parameterOrder": [],
"parameters": {
+ "projectId": {
+ "description": "Required. The Google Cloud project ID to list datasets for.",
+ "location": "query",
+ "type": "string"
+ },
"pageToken": {
"description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
"location": "query",
@@ -1202,11 +1179,6 @@
"format": "int32",
"location": "query",
"type": "integer"
- },
- "projectId": {
- "description": "Required. The Google Cloud project ID to list datasets for.",
- "location": "query",
- "type": "string"
}
},
"path": "v1/datasets",
@@ -1219,6 +1191,24 @@
"https://www.googleapis.com/auth/genomics.readonly"
]
},
+ "create": {
+ "description": "Creates a new dataset.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
+ "httpMethod": "POST",
+ "id": "genomics.datasets.create",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/datasets",
+ "request": {
+ "$ref": "Dataset"
+ },
+ "response": {
+ "$ref": "Dataset"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics"
+ ]
+ },
"setIamPolicy": {
"description": "Sets the access control policy on the specified dataset. Replaces any\nexisting policy.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nSee <a href=\"/iam/docs/managing-policies#setting_a_policy\">Setting a\nPolicy</a> for more information.",
"httpMethod": "POST",
@@ -1247,169 +1237,28 @@
"https://www.googleapis.com/auth/genomics"
]
},
- "create": {
- "description": "Creates a new dataset.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
+ "getIamPolicy": {
+ "description": "Gets the access control policy for the dataset. This is empty if the\npolicy or resource does not exist.\n\nSee <a href=\"/iam/docs/managing-policies#getting_a_policy\">Getting a\nPolicy</a> for more information.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
"httpMethod": "POST",
- "id": "genomics.datasets.create",
- "parameterOrder": [],
- "parameters": {},
- "path": "v1/datasets",
- "request": {
- "$ref": "Dataset"
- },
- "response": {
- "$ref": "Dataset"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
- ]
- }
- }
- },
- "variantsets": {
- "methods": {
- "create": {
- "description": "Creates a new variant set.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThe provided variant set must have a valid `datasetId` set - all other\nfields are optional. Note that the `id` field will be ignored, as this is\nassigned by the server.",
- "httpMethod": "POST",
- "id": "genomics.variantsets.create",
- "parameterOrder": [],
- "parameters": {},
- "path": "v1/variantsets",
- "request": {
- "$ref": "VariantSet"
- },
- "response": {
- "$ref": "VariantSet"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
- ]
- },
- "export": {
- "description": "Exports variant set data to an external destination.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
- "httpMethod": "POST",
- "id": "genomics.variantsets.export",
+ "id": "genomics.datasets.getIamPolicy",
"parameterOrder": [
- "variantSetId"
+ "resource"
],
"parameters": {
- "variantSetId": {
- "description": "Required. The ID of the variant set that contains variant data which\nshould be exported. The caller must have READ access to this variant set.",
+ "resource": {
+ "description": "REQUIRED: The resource for which policy is being specified. Format is\n`datasets/<dataset ID>`.",
"location": "path",
+ "pattern": "^datasets/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v1/variantsets/{variantSetId}:export",
+ "path": "v1/{+resource}:getIamPolicy",
"request": {
- "$ref": "ExportVariantSetRequest"
+ "$ref": "GetIamPolicyRequest"
},
"response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/bigquery",
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
- ]
- },
- "search": {
- "description": "Returns a list of all variant sets matching search criteria.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49).",
- "httpMethod": "POST",
- "id": "genomics.variantsets.search",
- "parameterOrder": [],
- "parameters": {},
- "path": "v1/variantsets/search",
- "request": {
- "$ref": "SearchVariantSetsRequest"
- },
- "response": {
- "$ref": "SearchVariantSetsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
- ]
- },
- "patch": {
- "description": "Updates a variant set using patch semantics.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
- "httpMethod": "PATCH",
- "id": "genomics.variantsets.patch",
- "parameterOrder": [
- "variantSetId"
- ],
- "parameters": {
- "variantSetId": {
- "description": "The ID of the variant to be updated (must already exist).",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "updateMask": {
- "description": "An optional mask specifying which fields to update. Supported fields:\n\n* metadata.\n* name.\n* description.\n\nLeaving `updateMask` unset is equivalent to specifying all mutable\nfields.",
- "format": "google-fieldmask",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/variantsets/{variantSetId}",
- "request": {
- "$ref": "VariantSet"
- },
- "response": {
- "$ref": "VariantSet"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
- ]
- },
- "get": {
- "description": "Gets a variant set by ID.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
- "httpMethod": "GET",
- "id": "genomics.variantsets.get",
- "parameterOrder": [
- "variantSetId"
- ],
- "parameters": {
- "variantSetId": {
- "description": "Required. The ID of the variant set.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/variantsets/{variantSetId}",
- "response": {
- "$ref": "VariantSet"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
- ]
- },
- "delete": {
- "description": "Deletes a variant set including all variants, call sets, and calls within.\nThis is not reversible.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
- "httpMethod": "DELETE",
- "id": "genomics.variantsets.delete",
- "parameterOrder": [
- "variantSetId"
- ],
- "parameters": {
- "variantSetId": {
- "description": "The ID of the variant set to be deleted.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/variantsets/{variantSetId}",
- "response": {
- "$ref": "Empty"
+ "$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
@@ -1558,23 +1407,226 @@
]
}
}
+ },
+ "variantsets": {
+ "methods": {
+ "export": {
+ "description": "Exports variant set data to an external destination.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
+ "httpMethod": "POST",
+ "id": "genomics.variantsets.export",
+ "parameterOrder": [
+ "variantSetId"
+ ],
+ "parameters": {
+ "variantSetId": {
+ "description": "Required. The ID of the variant set that contains variant data which\nshould be exported. The caller must have READ access to this variant set.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/variantsets/{variantSetId}:export",
+ "request": {
+ "$ref": "ExportVariantSetRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/bigquery",
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics"
+ ]
+ },
+ "search": {
+ "description": "Returns a list of all variant sets matching search criteria.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49).",
+ "httpMethod": "POST",
+ "id": "genomics.variantsets.search",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/variantsets/search",
+ "request": {
+ "$ref": "SearchVariantSetsRequest"
+ },
+ "response": {
+ "$ref": "SearchVariantSetsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
+ ]
+ },
+ "patch": {
+ "description": "Updates a variant set using patch semantics.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
+ "httpMethod": "PATCH",
+ "id": "genomics.variantsets.patch",
+ "parameterOrder": [
+ "variantSetId"
+ ],
+ "parameters": {
+ "variantSetId": {
+ "description": "The ID of the variant to be updated (must already exist).",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "An optional mask specifying which fields to update. Supported fields:\n\n* metadata.\n* name.\n* description.\n\nLeaving `updateMask` unset is equivalent to specifying all mutable\nfields.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/variantsets/{variantSetId}",
+ "request": {
+ "$ref": "VariantSet"
+ },
+ "response": {
+ "$ref": "VariantSet"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics"
+ ]
+ },
+ "get": {
+ "description": "Gets a variant set by ID.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
+ "httpMethod": "GET",
+ "id": "genomics.variantsets.get",
+ "parameterOrder": [
+ "variantSetId"
+ ],
+ "parameters": {
+ "variantSetId": {
+ "description": "Required. The ID of the variant set.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/variantsets/{variantSetId}",
+ "response": {
+ "$ref": "VariantSet"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a variant set including all variants, call sets, and calls within.\nThis is not reversible.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
+ "httpMethod": "DELETE",
+ "id": "genomics.variantsets.delete",
+ "parameterOrder": [
+ "variantSetId"
+ ],
+ "parameters": {
+ "variantSetId": {
+ "description": "The ID of the variant set to be deleted.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/variantsets/{variantSetId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics"
+ ]
+ },
+ "create": {
+ "description": "Creates a new variant set.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThe provided variant set must have a valid `datasetId` set - all other\nfields are optional. Note that the `id` field will be ignored, as this is\nassigned by the server.",
+ "httpMethod": "POST",
+ "id": "genomics.variantsets.create",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/variantsets",
+ "request": {
+ "$ref": "VariantSet"
+ },
+ "response": {
+ "$ref": "VariantSet"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics"
+ ]
+ }
+ }
}
},
- "revision": "20170302",
+ "revision": "20170322",
"rootUrl": "https://genomics.googleapis.com/",
"schemas": {
+ "ImportReadGroupSetsRequest": {
+ "description": "The read group set import request.",
+ "id": "ImportReadGroupSetsRequest",
+ "properties": {
+ "sourceUris": {
+ "description": "A list of URIs pointing at [BAM\nfiles](https://samtools.github.io/hts-specs/SAMv1.pdf)\nin Google Cloud Storage.\nThose URIs can include wildcards (*), but do not add or remove\nmatching files before import has completed.\n\nNote that Google Cloud Storage object listing is only eventually\nconsistent: files added may be not be immediately visible to\neveryone. Thus, if using a wildcard it is preferable not to start\nthe import immediately after the files are created.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "referenceSetId": {
+ "description": "The reference set to which the imported read group sets are aligned to, if\nany. The reference names of this reference set must be a superset of those\nfound in the imported file headers. If no reference set id is provided, a\nbest effort is made to associate with a matching reference set.",
+ "type": "string"
+ },
+ "partitionStrategy": {
+ "description": "The partition strategy describes how read groups are partitioned into read\ngroup sets.",
+ "enum": [
+ "PARTITION_STRATEGY_UNSPECIFIED",
+ "PER_FILE_PER_SAMPLE",
+ "MERGE_ALL"
+ ],
+ "enumDescriptions": [
+ "",
+ "In most cases, this strategy yields one read group set per file. This is\nthe default behavior.\n\nAllocate one read group set per file per sample. For BAM files, read\ngroups are considered to share a sample if they have identical sample\nnames. Furthermore, all reads for each file which do not belong to a read\ngroup, if any, will be grouped into a single read group set per-file.",
+ "Includes all read groups in all imported files into a single read group\nset. Requires that the headers for all imported files are equivalent. All\nreads which do not belong to a read group, if any, will be grouped into a\nseparate read group set."
+ ],
+ "type": "string"
+ },
+ "datasetId": {
+ "description": "Required. The ID of the dataset these read group sets will belong to. The\ncaller must have WRITE permissions to this dataset.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Policy": {
+ "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).",
+ "id": "Policy",
+ "properties": {
+ "bindings": {
+ "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.",
+ "items": {
+ "$ref": "Binding"
+ },
+ "type": "array"
+ },
+ "etag": {
+ "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.",
+ "format": "byte",
+ "type": "string"
+ },
+ "version": {
+ "description": "Version of the `Policy`. The default version is 0.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
"Annotation": {
"description": "An annotation describes a region of reference genome. The value of an\nannotation may be one of several canonical types, supplemented by arbitrary\ninfo tags. An annotation is not inherently associated with a specific\nsample or individual (though a client could choose to use annotations in\nthis way). Example canonical annotation types are `GENE` and\n`VARIANT`.",
"id": "Annotation",
"properties": {
- "id": {
- "description": "The server-generated annotation ID, unique across all annotations.",
- "type": "string"
- },
- "referenceId": {
- "description": "The ID of the Google Genomics reference associated with this range.",
- "type": "string"
- },
"reverseStrand": {
"description": "Whether this range refers to the reverse strand, as opposed to the forward\nstrand. Note that regardless of this field, the start/end position of the\nrange always refer to the forward strand.",
"type": "boolean"
@@ -1636,6 +1688,14 @@
"variant": {
"$ref": "VariantAnnotation",
"description": "A variant annotation, which describes the effect of a variant on the\ngenome, the coding sequence, and/or higher level consequences at the\norganism level e.g. pathogenicity. This field is only set for annotations\nof type `VARIANT`."
+ },
+ "id": {
+ "description": "The server-generated annotation ID, unique across all annotations.",
+ "type": "string"
+ },
+ "referenceId": {
+ "description": "The ID of the Google Genomics reference associated with this range.",
+ "type": "string"
}
},
"type": "object"
@@ -1650,18 +1710,6 @@
"description": "The read search request.",
"id": "SearchReadsRequest",
"properties": {
- "readGroupIds": {
- "description": "The IDs of the read groups within which to search for reads. All specified\nread groups must belong to the same read group sets. Must specify one of\n`readGroupSetIds` or `readGroupIds`.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "end": {
- "description": "The end position of the range on the reference, 0-based exclusive. If\nspecified, `referenceName` must also be specified.",
- "format": "int64",
- "type": "string"
- },
"pageToken": {
"description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
"type": "string"
@@ -1686,17 +1734,18 @@
"type": "string"
},
"type": "array"
- }
- },
- "type": "object"
- },
- "RuntimeMetadata": {
- "description": "Runtime metadata that will be populated in the\nruntimeMetadata\nfield of the Operation associated with a RunPipeline execution.",
- "id": "RuntimeMetadata",
- "properties": {
- "computeEngine": {
- "$ref": "ComputeEngine",
- "description": "Execution information specific to Google Compute Engine."
+ },
+ "readGroupIds": {
+ "description": "The IDs of the read groups within which to search for reads. All specified\nread groups must belong to the same read group sets. Must specify one of\n`readGroupSetIds` or `readGroupIds`.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "end": {
+ "description": "The end position of the range on the reference, 0-based exclusive. If\nspecified, `referenceName` must also be specified.",
+ "format": "int64",
+ "type": "string"
}
},
"type": "object"
@@ -1705,6 +1754,18 @@
"description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
"id": "Operation",
"properties": {
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "An OperationMetadata object. This will always be returned with the Operation.",
+ "type": "object"
+ },
+ "done": {
+ "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.",
+ "type": "boolean"
+ },
"response": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
@@ -1720,18 +1781,17 @@
"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": "An OperationMetadata object. This will always be returned with the Operation.",
- "type": "object"
- },
- "done": {
- "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.",
- "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "RuntimeMetadata": {
+ "description": "Runtime metadata that will be populated in the\nruntimeMetadata\nfield of the Operation associated with a RunPipeline execution.",
+ "id": "RuntimeMetadata",
+ "properties": {
+ "computeEngine": {
+ "$ref": "ComputeEngine",
+ "description": "Execution information specific to Google Compute Engine."
}
},
"type": "object"
@@ -1754,6 +1814,24 @@
"description": "A call represents the determination of genotype with respect to a particular\nvariant. It may include associated information such as quality and phasing.\nFor example, a call might assign a probability of 0.32 to the occurrence of\na SNP named rs1234 in a call set with the name NA12345.",
"id": "VariantCall",
"properties": {
+ "phaseset": {
+ "description": "If this field is present, this variant call's genotype ordering implies\nthe phase of the bases and is consistent with any other variant calls in\nthe same reference sequence which have the same phaseset value.\nWhen importing data from VCF, if the genotype data was phased but no\nphase set was specified this field will be set to `*`.",
+ "type": "string"
+ },
+ "info": {
+ "additionalProperties": {
+ "items": {
+ "type": "any"
+ },
+ "type": "array"
+ },
+ "description": "A map of additional variant call information. This must be of the form\nmap<string, string[]> (string key mapping to a list of string values).",
+ "type": "object"
+ },
+ "callSetName": {
+ "description": "The name of the call set this variant call belongs to.",
+ "type": "string"
+ },
"genotypeLikelihood": {
"description": "The genotype likelihoods for this variant call. Each array entry\nrepresents how likely a specific genotype is for this call. The value\nordering is defined by the GL tag in the VCF spec.\nIf Phred-scaled genotype likelihood scores (PL) are available and\nlog10(P) genotype likelihood scores (GL) are not, PL scores are converted\nto GL scores. If both are available, PL scores are stored in `info`.",
"items": {
@@ -1773,24 +1851,6 @@
"type": "integer"
},
"type": "array"
- },
- "phaseset": {
- "description": "If this field is present, this variant call's genotype ordering implies\nthe phase of the bases and is consistent with any other variant calls in\nthe same reference sequence which have the same phaseset value.\nWhen importing data from VCF, if the genotype data was phased but no\nphase set was specified this field will be set to `*`.",
- "type": "string"
- },
- "info": {
- "additionalProperties": {
- "items": {
- "type": "any"
- },
- "type": "array"
- },
- "description": "A map of additional variant call information. This must be of the form\nmap<string, string[]> (string key mapping to a list of string values).",
- "type": "object"
- },
- "callSetName": {
- "description": "The name of the call set this variant call belongs to.",
- "type": "string"
}
},
"type": "object"
@@ -1859,6 +1919,11 @@
},
"type": "object"
},
+ "UndeleteDatasetRequest": {
+ "id": "UndeleteDatasetRequest",
+ "properties": {},
+ "type": "object"
+ },
"Binding": {
"description": "Associates `members` with a `role`.",
"id": "Binding",
@@ -1877,19 +1942,10 @@
},
"type": "object"
},
- "UndeleteDatasetRequest": {
- "id": "UndeleteDatasetRequest",
- "properties": {},
- "type": "object"
- },
"Range": {
"description": "A 0-based half-open genomic coordinate range for search requests.",
"id": "Range",
"properties": {
- "referenceName": {
- "description": "The reference sequence name, for example `chr1`,\n`1`, or `chrX`.",
- "type": "string"
- },
"start": {
"description": "The start position of the range on the reference, 0-based inclusive.",
"format": "int64",
@@ -1899,6 +1955,10 @@
"description": "The end position of the range on the reference, 0-based exclusive.",
"format": "int64",
"type": "string"
+ },
+ "referenceName": {
+ "description": "The reference sequence name, for example `chr1`,\n`1`, or `chrX`.",
+ "type": "string"
}
},
"type": "object"
@@ -1907,10 +1967,6 @@
"description": "A variant set is a collection of call sets and variants. It contains summary\nstatistics of those contents. A variant set belongs to a dataset.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
"id": "VariantSet",
"properties": {
- "datasetId": {
- "description": "The dataset to which this variant set belongs.",
- "type": "string"
- },
"name": {
"description": "User-specified, mutable name.",
"type": "string"
@@ -1940,21 +1996,9 @@
"description": {
"description": "A textual description of this variant set.",
"type": "string"
- }
- },
- "type": "object"
- },
- "ReferenceBound": {
- "description": "ReferenceBound records an upper bound for the starting coordinate of\nvariants in a particular reference.",
- "id": "ReferenceBound",
- "properties": {
- "upperBound": {
- "description": "An upper bound (inclusive) on the starting coordinate of any\nvariant in the reference sequence.",
- "format": "int64",
- "type": "string"
},
- "referenceName": {
- "description": "The name of the reference associated with this reference bound.",
+ "datasetId": {
+ "description": "The dataset to which this variant set belongs.",
"type": "string"
}
},
@@ -1973,18 +2017,34 @@
},
"type": "object"
},
- "ListOperationsResponse": {
- "description": "The response message for Operations.ListOperations.",
- "id": "ListOperationsResponse",
+ "ReferenceBound": {
+ "description": "ReferenceBound records an upper bound for the starting coordinate of\nvariants in a particular reference.",
+ "id": "ReferenceBound",
"properties": {
- "nextPageToken": {
- "description": "The standard List next-page token.",
+ "referenceName": {
+ "description": "The name of the reference associated with this reference bound.",
"type": "string"
},
- "operations": {
- "description": "A list of operations that matches the specified filter in the request.",
+ "upperBound": {
+ "description": "An upper bound (inclusive) on the starting coordinate of any\nvariant in the reference sequence.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SearchCallSetsResponse": {
+ "description": "The call set search response.",
+ "id": "SearchCallSetsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.",
+ "type": "string"
+ },
+ "callSets": {
+ "description": "The list of matching call sets.",
"items": {
- "$ref": "Operation"
+ "$ref": "CallSet"
},
"type": "array"
}
@@ -1995,11 +2055,6 @@
"description": "A variant represents a change in DNA sequence relative to a reference\nsequence. For example, a variant could represent a SNP or an insertion.\nVariants belong to a variant set.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nEach of the calls on a variant represent a determination of genotype with\nrespect to that variant. For example, a call might assign probability of 0.32\nto the occurrence of a SNP named rs1234 in a sample named NA12345. A call\nbelongs to a call set, which contains related calls typically from one\nsample.",
"id": "Variant",
"properties": {
- "start": {
- "description": "The position at which this variant occurs (0-based).\nThis corresponds to the first base of the string of reference bases.",
- "format": "int64",
- "type": "string"
- },
"quality": {
"description": "A measure of how likely this variant is to be real.\nA higher value is better.",
"format": "double",
@@ -2045,11 +2100,6 @@
},
"type": "array"
},
- "end": {
- "description": "The end position (0-based) of this variant. This corresponds to the first\nbase after the last base in the reference allele. So, the length of\nthe reference allele is (end - start). This is useful for variants\nthat don't explicitly give alternate bases, for example large deletions.",
- "format": "int64",
- "type": "string"
- },
"filter": {
"description": "A list of filters (normally quality filters) this variant has failed.\n`PASS` indicates this variant has passed all filters.",
"items": {
@@ -2057,6 +2107,11 @@
},
"type": "array"
},
+ "end": {
+ "description": "The end position (0-based) of this variant. This corresponds to the first\nbase after the last base in the reference allele. So, the length of\nthe reference allele is (end - start). This is useful for variants\nthat don't explicitly give alternate bases, for example large deletions.",
+ "format": "int64",
+ "type": "string"
+ },
"calls": {
"description": "The variant calls for this particular variant. Each one represents the\ndetermination of genotype with respect to this variant.",
"items": {
@@ -2068,77 +2123,29 @@
"description": "The date this variant was created, in milliseconds from the epoch.",
"format": "int64",
"type": "string"
- }
- },
- "type": "object"
- },
- "SearchCallSetsResponse": {
- "description": "The call set search response.",
- "id": "SearchCallSetsResponse",
- "properties": {
- "nextPageToken": {
- "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.",
- "type": "string"
- },
- "callSets": {
- "description": "The list of matching call sets.",
- "items": {
- "$ref": "CallSet"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "SearchVariantsRequest": {
- "description": "The variant search request.",
- "id": "SearchVariantsRequest",
- "properties": {
- "referenceName": {
- "description": "Required. Only return variants in this reference sequence.",
- "type": "string"
- },
- "variantSetIds": {
- "description": "At most one variant set ID must be provided. Only variants from this\nvariant set will be returned. If omitted, a call set id must be included in\nthe request.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "end": {
- "description": "The end of the window, 0-based exclusive. If unspecified or 0, defaults to\nthe length of the reference.",
- "format": "int64",
- "type": "string"
- },
- "maxCalls": {
- "description": "The maximum number of calls to return in a single page. Note that this\nlimit may be exceeded in the event that a matching variant contains more\ncalls than the requested maximum. If unspecified, defaults to 5000. The\nmaximum value is 10000.",
- "format": "int32",
- "type": "integer"
- },
- "pageToken": {
- "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
- "type": "string"
- },
- "pageSize": {
- "description": "The maximum number of variants to return in a single page. If unspecified,\ndefaults to 5000. The maximum value is 10000.",
- "format": "int32",
- "type": "integer"
- },
- "callSetIds": {
- "description": "Only return variant calls which belong to call sets with these ids.\nLeaving this blank returns all variant calls. If a variant has no\ncalls belonging to any of these call sets, it won't be returned at all.",
- "items": {
- "type": "string"
- },
- "type": "array"
},
"start": {
- "description": "The beginning of the window (0-based, inclusive) for which\noverlapping variants should be returned. If unspecified, defaults to 0.",
+ "description": "The position at which this variant occurs (0-based).\nThis corresponds to the first base of the string of reference bases.",
"format": "int64",
"type": "string"
- },
- "variantName": {
- "description": "Only return variants which have exactly this name.",
+ }
+ },
+ "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"
@@ -2147,14 +2154,6 @@
"description": "Metadata describing an Operation.",
"id": "OperationMetadata",
"properties": {
- "projectId": {
- "description": "The Google Cloud Project in which the job is scoped.",
- "type": "string"
- },
- "clientId": {
- "description": "This field is deprecated. Use `labels` instead. Optionally provided by the\ncaller when submitting the request that creates the operation.",
- "type": "string"
- },
"events": {
"description": "Optional event messages that were generated during the job's execution.\nThis also contains any warnings that were generated during import\nor export.",
"items": {
@@ -2199,6 +2198,67 @@
},
"description": "Optionally provided by the caller when submitting the request that creates\nthe operation.",
"type": "object"
+ },
+ "projectId": {
+ "description": "The Google Cloud Project in which the job is scoped.",
+ "type": "string"
+ },
+ "clientId": {
+ "description": "This field is deprecated. Use `labels` instead. Optionally provided by the\ncaller when submitting the request that creates the operation.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SearchVariantsRequest": {
+ "description": "The variant search request.",
+ "id": "SearchVariantsRequest",
+ "properties": {
+ "pageToken": {
+ "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
+ "type": "string"
+ },
+ "maxCalls": {
+ "description": "The maximum number of calls to return in a single page. Note that this\nlimit may be exceeded in the event that a matching variant contains more\ncalls than the requested maximum. If unspecified, defaults to 5000. The\nmaximum value is 10000.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "The maximum number of variants to return in a single page. If unspecified,\ndefaults to 5000. The maximum value is 10000.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "callSetIds": {
+ "description": "Only return variant calls which belong to call sets with these ids.\nLeaving this blank returns all variant calls. If a variant has no\ncalls belonging to any of these call sets, it won't be returned at all.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "variantName": {
+ "description": "Only return variants which have exactly this name.",
+ "type": "string"
+ },
+ "start": {
+ "description": "The beginning of the window (0-based, inclusive) for which\noverlapping variants should be returned. If unspecified, defaults to 0.",
+ "format": "int64",
+ "type": "string"
+ },
+ "referenceName": {
+ "description": "Required. Only return variants in this reference sequence.",
+ "type": "string"
+ },
+ "variantSetIds": {
+ "description": "At most one variant set ID must be provided. Only variants from this\nvariant set will be returned. If omitted, a call set id must be included in\nthe request.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "end": {
+ "description": "The end of the window, 0-based exclusive. If unspecified or 0, defaults to\nthe length of the reference.",
+ "format": "int64",
+ "type": "string"
}
},
"type": "object"
@@ -2207,13 +2267,6 @@
"description": "The read group set search request.",
"id": "SearchReadGroupSetsRequest",
"properties": {
- "datasetIds": {
- "description": "Restricts this query to read group sets within the given datasets. At least\none ID must be provided.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
"name": {
"description": "Only return read group sets for which a substring of the name matches this\nstring.",
"type": "string"
@@ -2226,6 +2279,13 @@
"description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 256. The maximum value is 1024.",
"format": "int32",
"type": "integer"
+ },
+ "datasetIds": {
+ "description": "Restricts this query to read group sets within the given datasets. At least\none ID must be provided.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -2250,17 +2310,6 @@
"ClinicalCondition": {
"id": "ClinicalCondition",
"properties": {
- "omimId": {
- "description": "The OMIM id for this condition.\nSearch for these IDs at http://omim.org/",
- "type": "string"
- },
- "externalIds": {
- "description": "The set of external IDs for this condition.",
- "items": {
- "$ref": "ExternalId"
- },
- "type": "array"
- },
"conceptId": {
"description": "The MedGen concept id associated with this gene.\nSearch for these IDs at http://www.ncbi.nlm.nih.gov/medgen/",
"type": "string"
@@ -2271,6 +2320,17 @@
"type": "string"
},
"type": "array"
+ },
+ "omimId": {
+ "description": "The OMIM id for this condition.\nSearch for these IDs at http://omim.org/",
+ "type": "string"
+ },
+ "externalIds": {
+ "description": "The set of external IDs for this condition.",
+ "items": {
+ "$ref": "ExternalId"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -2375,25 +2435,42 @@
},
"type": "object"
},
- "SearchVariantSetsRequest": {
- "description": "The search variant sets request.",
- "id": "SearchVariantSetsRequest",
+ "Reference": {
+ "description": "A reference is a canonical assembled DNA sequence, intended to act as a\nreference coordinate space for other genomic annotations. A single reference\nmight represent the human chromosome 1 or mitochandrial DNA, for instance. A\nreference belongs to one or more reference sets.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
+ "id": "Reference",
"properties": {
- "datasetIds": {
- "description": "Exactly one dataset ID must be provided here. Only variant sets which\nbelong to this dataset will be returned.",
+ "name": {
+ "description": "The name of this reference, for example `22`.",
+ "type": "string"
+ },
+ "md5checksum": {
+ "description": "MD5 of the upper-case sequence excluding all whitespace characters (this\nis equivalent to SQ:M5 in SAM). This value is represented in lower case\nhexadecimal format.",
+ "type": "string"
+ },
+ "id": {
+ "description": "The server-generated reference ID, unique across all references.",
+ "type": "string"
+ },
+ "length": {
+ "description": "The length of this reference's sequence.",
+ "format": "int64",
+ "type": "string"
+ },
+ "sourceAccessions": {
+ "description": "All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally\nwith a version number, for example `GCF_000001405.26`.",
"items": {
"type": "string"
},
"type": "array"
},
- "pageToken": {
- "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
- "type": "string"
- },
- "pageSize": {
- "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024.",
+ "ncbiTaxonId": {
+ "description": "ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human.",
"format": "int32",
"type": "integer"
+ },
+ "sourceUri": {
+ "description": "The URI from which the sequence was obtained. Typically specifies a FASTA\nformat file.",
+ "type": "string"
}
},
"type": "object"
@@ -2432,14 +2509,14 @@
],
"type": "string"
},
- "value": {
- "description": "The value field for simple metadata",
- "type": "string"
- },
"id": {
"description": "User-provided ID field, not enforced by this API.\nTwo or more pieces of structured metadata with identical\nid and key fields are considered equivalent.",
"type": "string"
},
+ "value": {
+ "description": "The value field for simple metadata",
+ "type": "string"
+ },
"number": {
"description": "The number of values that can be included in a field described by this\nmetadata.",
"type": "string"
@@ -2455,42 +2532,25 @@
},
"type": "object"
},
- "Reference": {
- "description": "A reference is a canonical assembled DNA sequence, intended to act as a\nreference coordinate space for other genomic annotations. A single reference\nmight represent the human chromosome 1 or mitochandrial DNA, for instance. A\nreference belongs to one or more reference sets.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
- "id": "Reference",
+ "SearchVariantSetsRequest": {
+ "description": "The search variant sets request.",
+ "id": "SearchVariantSetsRequest",
"properties": {
- "ncbiTaxonId": {
- "description": "ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human.",
- "format": "int32",
- "type": "integer"
- },
- "sourceUri": {
- "description": "The URI from which the sequence was obtained. Typically specifies a FASTA\nformat file.",
- "type": "string"
- },
- "name": {
- "description": "The name of this reference, for example `22`.",
- "type": "string"
- },
- "md5checksum": {
- "description": "MD5 of the upper-case sequence excluding all whitespace characters (this\nis equivalent to SQ:M5 in SAM). This value is represented in lower case\nhexadecimal format.",
- "type": "string"
- },
- "id": {
- "description": "The server-generated reference ID, unique across all references.",
- "type": "string"
- },
- "length": {
- "description": "The length of this reference's sequence.",
- "format": "int64",
- "type": "string"
- },
- "sourceAccessions": {
- "description": "All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally\nwith a version number, for example `GCF_000001405.26`.",
+ "datasetIds": {
+ "description": "Exactly one dataset ID must be provided here. Only variant sets which\nbelong to this dataset will be returned.",
"items": {
"type": "string"
},
"type": "array"
+ },
+ "pageToken": {
+ "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -2542,10 +2602,6 @@
"MergeVariantsRequest": {
"id": "MergeVariantsRequest",
"properties": {
- "variantSetId": {
- "description": "The destination variant set.",
- "type": "string"
- },
"variants": {
"description": "The variants to be merged with existing variants.",
"items": {
@@ -2564,6 +2620,10 @@
},
"description": "A mapping between info field keys and the InfoMergeOperations to\nbe performed on them.",
"type": "object"
+ },
+ "variantSetId": {
+ "description": "The destination variant set.",
+ "type": "string"
}
},
"type": "object"
@@ -2572,6 +2632,14 @@
"description": "A read alignment describes a linear alignment of a string of DNA to a\nreference sequence, in addition to metadata\nabout the fragment (the molecule of DNA sequenced) and the read (the bases\nwhich were read by the sequencer). A read is equivalent to a line in a SAM\nfile. A read belongs to exactly one read group and exactly one\nread group set.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\n### Reverse-stranded reads\n\nMapped reads (reads having a non-null `alignment`) can be aligned to either\nthe forward or the reverse strand of their associated reference. Strandedness\nof a mapped read is encoded by `alignment.position.reverseStrand`.\n\nIf we consider the reference to be a forward-stranded coordinate space of\n`[0, reference.length)` with `0` as the left-most position and\n`reference.length` as the right-most position, reads are always aligned left\nto right. That is, `alignment.position.position` always refers to the\nleft-most reference coordinate and `alignment.cigar` describes the alignment\nof this read to the reference from left to right. All per-base fields such as\n`alignedSequence` and `alignedQuality` share this same left-to-right\norientation; this is true of reads which are aligned to either strand. For\nreverse-stranded reads, this means that `alignedSequence` is the reverse\ncomplement of the bases that were originally reported by the sequencing\nmachine.\n\n### Generating a reference-aligned sequence string\n\nWhen interacting with mapped reads, it's often useful to produce a string\nrepresenting the local alignment of the read to reference. The following\npseudocode demonstrates one way of doing this:\n\n out = \"\"\n offset = 0\n for c in read.alignment.cigar {\n switch c.operation {\n case \"ALIGNMENT_MATCH\", \"SEQUENCE_MATCH\", \"SEQUENCE_MISMATCH\":\n out += read.alignedSequence[offset:offset+c.operationLength]\n offset += c.operationLength\n break\n case \"CLIP_SOFT\", \"INSERT\":\n offset += c.operationLength\n break\n case \"PAD\":\n out += repeat(\"*\", c.operationLength)\n break\n case \"DELETE\":\n out += repeat(\"-\", c.operationLength)\n break\n case \"SKIP\":\n out += repeat(\" \", c.operationLength)\n break\n case \"CLIP_HARD\":\n break\n }\n }\n return out\n\n### Converting to SAM's CIGAR string\n\nThe following pseudocode generates a SAM CIGAR string from the\n`cigar` field. Note that this is a lossy conversion\n(`cigar.referenceSequence` is lost).\n\n cigarMap = {\n \"ALIGNMENT_MATCH\": \"M\",\n \"INSERT\": \"I\",\n \"DELETE\": \"D\",\n \"SKIP\": \"N\",\n \"CLIP_SOFT\": \"S\",\n \"CLIP_HARD\": \"H\",\n \"PAD\": \"P\",\n \"SEQUENCE_MATCH\": \"=\",\n \"SEQUENCE_MISMATCH\": \"X\",\n }\n cigarStr = \"\"\n for c in read.alignment.cigar {\n cigarStr += c.operationLength + cigarMap[c.operation]\n }\n return cigarStr",
"id": "Read",
"properties": {
+ "fragmentName": {
+ "description": "The fragment name. Equivalent to QNAME (query template name) in SAM.",
+ "type": "string"
+ },
+ "readGroupSetId": {
+ "description": "The ID of the read group set this read belongs to. A read belongs to\nexactly one read group set.",
+ "type": "string"
+ },
"duplicateFragment": {
"description": "The fragment is a PCR or optical duplicate (SAM flag 0x400).",
"type": "boolean"
@@ -2644,14 +2712,6 @@
"secondaryAlignment": {
"description": "Whether this alignment is secondary. Equivalent to SAM flag 0x100.\nA secondary alignment represents an alternative to the primary alignment\nfor this read. Aligners may return secondary alignments if a read can map\nambiguously to multiple coordinates in the genome. By convention, each read\nhas one and only one alignment where both `secondaryAlignment`\nand `supplementaryAlignment` are false.",
"type": "boolean"
- },
- "fragmentName": {
- "description": "The fragment name. Equivalent to QNAME (query template name) in SAM.",
- "type": "string"
- },
- "readGroupSetId": {
- "description": "The ID of the read group set this read belongs to. A read belongs to\nexactly one read group set.",
- "type": "string"
}
},
"type": "object"
@@ -2720,22 +2780,6 @@
"description": "A reference set is a set of references which typically comprise a reference\nassembly for a species, such as `GRCh38` which is representative\nof the human genome. A reference set defines a common coordinate space for\ncomparing reference-aligned experimental data. A reference set contains 1 or\nmore references.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
"id": "ReferenceSet",
"properties": {
- "md5checksum": {
- "description": "Order-independent MD5 checksum which identifies this reference set. The\nchecksum is computed by sorting all lower case hexidecimal string\n`reference.md5checksum` (for all reference in this set) in\nascending lexicographic order, concatenating, and taking the MD5 of that\nvalue. The resulting value is represented in lower case hexadecimal format.",
- "type": "string"
- },
- "assemblyId": {
- "description": "Public id of this reference set, such as `GRCh37`.",
- "type": "string"
- },
- "id": {
- "description": "The server-generated reference set ID, unique across all reference sets.",
- "type": "string"
- },
- "description": {
- "description": "Free text description of this reference set.",
- "type": "string"
- },
"sourceAccessions": {
"description": "All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally\nwith a version number, for example `NC_000001.11`.",
"items": {
@@ -2743,6 +2787,10 @@
},
"type": "array"
},
+ "description": {
+ "description": "Free text description of this reference set.",
+ "type": "string"
+ },
"sourceUri": {
"description": "The URI from which the references were obtained.",
"type": "string"
@@ -2758,6 +2806,18 @@
"type": "string"
},
"type": "array"
+ },
+ "assemblyId": {
+ "description": "Public id of this reference set, such as `GRCh37`.",
+ "type": "string"
+ },
+ "md5checksum": {
+ "description": "Order-independent MD5 checksum which identifies this reference set. The\nchecksum is computed by sorting all lower case hexidecimal string\n`reference.md5checksum` (for all reference in this set) in\nascending lexicographic order, concatenating, and taking the MD5 of that\nvalue. The resulting value is represented in lower case hexadecimal format.",
+ "type": "string"
+ },
+ "id": {
+ "description": "The server-generated reference set ID, unique across all reference sets.",
+ "type": "string"
}
},
"type": "object"
@@ -2788,22 +2848,6 @@
"description": "An annotation set is a logical grouping of annotations that share consistent\ntype information and provenance. Examples of annotation sets include 'all\ngenes from refseq', and 'all variant annotations from ClinVar'.",
"id": "AnnotationSet",
"properties": {
- "sourceUri": {
- "description": "The source URI describing the file from which this annotation set was\ngenerated, if any.",
- "type": "string"
- },
- "datasetId": {
- "description": "The dataset to which this annotation set belongs.",
- "type": "string"
- },
- "name": {
- "description": "The display name for this annotation set.",
- "type": "string"
- },
- "referenceSetId": {
- "description": "The ID of the reference set that defines the coordinate space for this\nset's annotations.",
- "type": "string"
- },
"info": {
"additionalProperties": {
"items": {
@@ -2835,6 +2879,22 @@
"id": {
"description": "The server-generated annotation set ID, unique across all annotation sets.",
"type": "string"
+ },
+ "datasetId": {
+ "description": "The dataset to which this annotation set belongs.",
+ "type": "string"
+ },
+ "sourceUri": {
+ "description": "The source URI describing the file from which this annotation set was\ngenerated, if any.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The display name for this annotation set.",
+ "type": "string"
+ },
+ "referenceSetId": {
+ "description": "The ID of the reference set that defines the coordinate space for this\nset's annotations.",
+ "type": "string"
}
},
"type": "object"
@@ -2842,6 +2902,10 @@
"Experiment": {
"id": "Experiment",
"properties": {
+ "sequencingCenter": {
+ "description": "The sequencing center used as part of this experiment.",
+ "type": "string"
+ },
"platformUnit": {
"description": "The platform unit used as part of this experiment, for example\nflowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the\n@RG PU field in the SAM spec.",
"type": "string"
@@ -2853,10 +2917,6 @@
"instrumentModel": {
"description": "The instrument model used as part of this experiment. This maps to\nsequencing technology in the SAM spec.",
"type": "string"
- },
- "sequencingCenter": {
- "description": "The sequencing center used as part of this experiment.",
- "type": "string"
}
},
"type": "object"
@@ -2893,27 +2953,6 @@
},
"type": "object"
},
- "Exon": {
- "id": "Exon",
- "properties": {
- "start": {
- "description": "The start position of the exon on this annotation's reference sequence,\n0-based inclusive. Note that this is relative to the reference start, and\n**not** the containing annotation start.",
- "format": "int64",
- "type": "string"
- },
- "end": {
- "description": "The end position of the exon on this annotation's reference sequence,\n0-based exclusive. Note that this is relative to the reference start, and\n*not* the containing annotation start.",
- "format": "int64",
- "type": "string"
- },
- "frame": {
- "description": "The frame of this exon. Contains a value of 0, 1, or 2, which indicates\nthe offset of the first coding base of the exon within the reading frame\nof the coding DNA sequence, if any. This field is dependent on the\nstrandedness of this annotation (see\nAnnotation.reverse_strand).\nFor forward stranded annotations, this offset is relative to the\nexon.start. For reverse\nstrand annotations, this offset is relative to the\nexon.end `- 1`.\n\nUnset if this exon does not intersect the coding sequence. Upon creation\nof a transcript, the frame must be populated for all or none of the\ncoding exons.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
"ExportReadGroupSetRequest": {
"description": "The read group set export request.",
"id": "ExportReadGroupSetRequest",
@@ -2936,10 +2975,35 @@
},
"type": "object"
},
+ "Exon": {
+ "id": "Exon",
+ "properties": {
+ "start": {
+ "description": "The start position of the exon on this annotation's reference sequence,\n0-based inclusive. Note that this is relative to the reference start, and\n**not** the containing annotation start.",
+ "format": "int64",
+ "type": "string"
+ },
+ "end": {
+ "description": "The end position of the exon on this annotation's reference sequence,\n0-based exclusive. Note that this is relative to the reference start, and\n*not* the containing annotation start.",
+ "format": "int64",
+ "type": "string"
+ },
+ "frame": {
+ "description": "The frame of this exon. Contains a value of 0, 1, or 2, which indicates\nthe offset of the first coding base of the exon within the reading frame\nof the coding DNA sequence, if any. This field is dependent on the\nstrandedness of this annotation (see\nAnnotation.reverse_strand).\nFor forward stranded annotations, this offset is relative to the\nexon.start. For reverse\nstrand annotations, this offset is relative to the\nexon.end `- 1`.\n\nUnset if this exon does not intersect the coding sequence. Upon creation\nof a transcript, the frame must be populated for all or none of the\ncoding exons.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
"CallSet": {
"description": "A call set is a collection of variant calls, typically for one sample. It\nbelongs to a variant set.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
"id": "CallSet",
"properties": {
+ "sampleId": {
+ "description": "The sample ID this call set corresponds to.",
+ "type": "string"
+ },
"name": {
"description": "The call set name.",
"type": "string"
@@ -2969,10 +3033,6 @@
"description": "The date this call set was created in milliseconds from the epoch.",
"format": "int64",
"type": "string"
- },
- "sampleId": {
- "description": "The sample ID this call set corresponds to.",
- "type": "string"
}
},
"type": "object"
@@ -2998,18 +3058,6 @@
"description": "The variant data import request.",
"id": "ImportVariantsRequest",
"properties": {
- "infoMergeConfig": {
- "additionalProperties": {
- "enum": [
- "INFO_MERGE_OPERATION_UNSPECIFIED",
- "IGNORE_NEW",
- "MOVE_TO_CALLS"
- ],
- "type": "string"
- },
- "description": "A mapping between info field keys and the InfoMergeOperations to\nbe performed on them. This is plumbed down to the MergeVariantRequests\ngenerated by the resulting import job.",
- "type": "object"
- },
"variantSetId": {
"description": "Required. The variant set to which variant data should be imported.",
"type": "string"
@@ -3038,28 +3086,18 @@
"Complete Genomics masterVarBeta format. The masterVarBeta files may\nbe bzip2 compressed."
],
"type": "string"
- }
- },
- "type": "object"
- },
- "ListCoverageBucketsResponse": {
- "id": "ListCoverageBucketsResponse",
- "properties": {
- "nextPageToken": {
- "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.",
- "type": "string"
},
- "bucketWidth": {
- "description": "The length of each coverage bucket in base pairs. Note that buckets at the\nend of a reference sequence may be shorter. This value is omitted if the\nbucket width is infinity (the default behaviour, with no range or\n`targetBucketWidth`).",
- "format": "int64",
- "type": "string"
- },
- "coverageBuckets": {
- "description": "The coverage buckets. The list of buckets is sparse; a bucket with 0\noverlapping reads is not returned. A bucket never crosses more than one\nreference sequence. Each bucket has width `bucketWidth`, unless\nits end is the end of the reference sequence.",
- "items": {
- "$ref": "CoverageBucket"
+ "infoMergeConfig": {
+ "additionalProperties": {
+ "enum": [
+ "INFO_MERGE_OPERATION_UNSPECIFIED",
+ "IGNORE_NEW",
+ "MOVE_TO_CALLS"
+ ],
+ "type": "string"
},
- "type": "array"
+ "description": "A mapping between info field keys and the InfoMergeOperations to\nbe performed on them. This is plumbed down to the MergeVariantRequests\ngenerated by the resulting import job.",
+ "type": "object"
}
},
"type": "object"
@@ -3067,46 +3105,6 @@
"VariantAnnotation": {
"id": "VariantAnnotation",
"properties": {
- "conditions": {
- "description": "The set of conditions associated with this variant.\nA condition describes the way a variant influences human health.",
- "items": {
- "$ref": "ClinicalCondition"
- },
- "type": "array"
- },
- "effect": {
- "description": "Effect of the variant on the coding sequence.",
- "enum": [
- "EFFECT_UNSPECIFIED",
- "EFFECT_OTHER",
- "FRAMESHIFT",
- "FRAME_PRESERVING_INDEL",
- "SYNONYMOUS_SNP",
- "NONSYNONYMOUS_SNP",
- "STOP_GAIN",
- "STOP_LOSS",
- "SPLICE_SITE_DISRUPTION"
- ],
- "enumDescriptions": [
- "",
- "`EFFECT_OTHER` should be used when no other Effect\nwill suffice.",
- "`FRAMESHIFT` indicates a mutation in which the insertion or\ndeletion of nucleotides resulted in a frameshift change.",
- "`FRAME_PRESERVING_INDEL` indicates a mutation in which a\nmultiple of three nucleotides has been inserted or deleted, resulting\nin no change to the reading frame of the coding sequence.",
- "`SYNONYMOUS_SNP` indicates a single nucleotide polymorphism\nmutation that results in no amino acid change.",
- "`NONSYNONYMOUS_SNP` indicates a single nucleotide\npolymorphism mutation that results in an amino acid change.",
- "`STOP_GAIN` indicates a mutation that leads to the creation\nof a stop codon at the variant site. Frameshift mutations creating\ndownstream stop codons do not count as `STOP_GAIN`.",
- "`STOP_LOSS` indicates a mutation that eliminates a\nstop codon at the variant site.",
- "`SPLICE_SITE_DISRUPTION` indicates that this variant is\nfound in a splice site for the associated transcript, and alters the\nnormal splicing pattern."
- ],
- "type": "string"
- },
- "transcriptIds": {
- "description": "Google annotation IDs of the transcripts affected by this variant. These\nshould be provided when the variant is created.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
"type": {
"description": "Type has been adapted from ClinVar's list of variant types.",
"enum": [
@@ -3174,6 +3172,68 @@
"`MULTIPLE_REPORTED` should be used when multiple clinical\nsignficances are reported for a variant. The original clinical\nsignificance values may be provided in the `info` field."
],
"type": "string"
+ },
+ "conditions": {
+ "description": "The set of conditions associated with this variant.\nA condition describes the way a variant influences human health.",
+ "items": {
+ "$ref": "ClinicalCondition"
+ },
+ "type": "array"
+ },
+ "effect": {
+ "description": "Effect of the variant on the coding sequence.",
+ "enum": [
+ "EFFECT_UNSPECIFIED",
+ "EFFECT_OTHER",
+ "FRAMESHIFT",
+ "FRAME_PRESERVING_INDEL",
+ "SYNONYMOUS_SNP",
+ "NONSYNONYMOUS_SNP",
+ "STOP_GAIN",
+ "STOP_LOSS",
+ "SPLICE_SITE_DISRUPTION"
+ ],
+ "enumDescriptions": [
+ "",
+ "`EFFECT_OTHER` should be used when no other Effect\nwill suffice.",
+ "`FRAMESHIFT` indicates a mutation in which the insertion or\ndeletion of nucleotides resulted in a frameshift change.",
+ "`FRAME_PRESERVING_INDEL` indicates a mutation in which a\nmultiple of three nucleotides has been inserted or deleted, resulting\nin no change to the reading frame of the coding sequence.",
+ "`SYNONYMOUS_SNP` indicates a single nucleotide polymorphism\nmutation that results in no amino acid change.",
+ "`NONSYNONYMOUS_SNP` indicates a single nucleotide\npolymorphism mutation that results in an amino acid change.",
+ "`STOP_GAIN` indicates a mutation that leads to the creation\nof a stop codon at the variant site. Frameshift mutations creating\ndownstream stop codons do not count as `STOP_GAIN`.",
+ "`STOP_LOSS` indicates a mutation that eliminates a\nstop codon at the variant site.",
+ "`SPLICE_SITE_DISRUPTION` indicates that this variant is\nfound in a splice site for the associated transcript, and alters the\nnormal splicing pattern."
+ ],
+ "type": "string"
+ },
+ "transcriptIds": {
+ "description": "Google annotation IDs of the transcripts affected by this variant. These\nshould be provided when the variant is created.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListCoverageBucketsResponse": {
+ "id": "ListCoverageBucketsResponse",
+ "properties": {
+ "coverageBuckets": {
+ "description": "The coverage buckets. The list of buckets is sparse; a bucket with 0\noverlapping reads is not returned. A bucket never crosses more than one\nreference sequence. Each bucket has width `bucketWidth`, unless\nits end is the end of the reference sequence.",
+ "items": {
+ "$ref": "CoverageBucket"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.",
+ "type": "string"
+ },
+ "bucketWidth": {
+ "description": "The length of each coverage bucket in base pairs. Note that buckets at the\nend of a reference sequence may be shorter. This value is omitted if the\nbucket width is infinity (the default behaviour, with no range or\n`targetBucketWidth`).",
+ "format": "int64",
+ "type": "string"
}
},
"type": "object"
@@ -3219,6 +3279,15 @@
"SearchAnnotationsRequest": {
"id": "SearchAnnotationsRequest",
"properties": {
+ "referenceId": {
+ "description": "The ID of the reference to query.",
+ "type": "string"
+ },
+ "end": {
+ "description": "The end position of the range on the reference, 0-based exclusive. If\nreferenceId or\nreferenceName\nmust be specified, Defaults to the length of the reference.",
+ "format": "int64",
+ "type": "string"
+ },
"pageToken": {
"description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
"type": "string"
@@ -3243,15 +3312,6 @@
"referenceName": {
"description": "The name of the reference to query, within the reference set associated\nwith this query.",
"type": "string"
- },
- "referenceId": {
- "description": "The ID of the reference to query.",
- "type": "string"
- },
- "end": {
- "description": "The end position of the range on the reference, 0-based exclusive. If\nreferenceId or\nreferenceName\nmust be specified, Defaults to the length of the reference.",
- "format": "int64",
- "type": "string"
}
},
"type": "object"
@@ -3333,6 +3393,15 @@
"SearchAnnotationSetsRequest": {
"id": "SearchAnnotationSetsRequest",
"properties": {
+ "pageToken": {
+ "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 128. The maximum value is 1024.",
+ "format": "int32",
+ "type": "integer"
+ },
"datasetIds": {
"description": "Required. The dataset IDs to search within. Caller must have `READ` access\nto these datasets.",
"items": {
@@ -3368,15 +3437,6 @@
"referenceSetId": {
"description": "If specified, only annotation sets associated with the given reference set\nare returned.",
"type": "string"
- },
- "pageToken": {
- "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
- "type": "string"
- },
- "pageSize": {
- "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 128. The maximum value is 1024.",
- "format": "int32",
- "type": "integer"
}
},
"type": "object"
@@ -3403,11 +3463,6 @@
"description": "A linear alignment can be represented by one CIGAR string. Describes the\nmapped position and local alignment of the read to the reference.",
"id": "LinearAlignment",
"properties": {
- "mappingQuality": {
- "description": "The mapping quality of this alignment. Represents how likely\nthe read maps to this position as opposed to other locations.\n\nSpecifically, this is -10 log10 Pr(mapping position is wrong), rounded to\nthe nearest integer.",
- "format": "int32",
- "type": "integer"
- },
"position": {
"$ref": "Position",
"description": "The position of this alignment."
@@ -3418,6 +3473,11 @@
"$ref": "CigarUnit"
},
"type": "array"
+ },
+ "mappingQuality": {
+ "description": "The mapping quality of this alignment. Represents how likely\nthe read maps to this position as opposed to other locations.\n\nSpecifically, this is -10 log10 Pr(mapping position is wrong), rounded to\nthe nearest integer.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -3497,30 +3557,6 @@
"description": "A read group is all the data that's processed the same way by the sequencer.",
"id": "ReadGroup",
"properties": {
- "predictedInsertSize": {
- "description": "The predicted insert size of this read group. The insert size is the length\nthe sequenced DNA fragment from end-to-end, not including the adapters.",
- "format": "int32",
- "type": "integer"
- },
- "programs": {
- "description": "The programs used to generate this read group. Programs are always\nidentical for all read groups within a read group set. For this reason,\nonly the first read group in a returned set will have this field\npopulated.",
- "items": {
- "$ref": "Program"
- },
- "type": "array"
- },
- "description": {
- "description": "A free-form text description of this read group.",
- "type": "string"
- },
- "sampleId": {
- "description": "A client-supplied sample identifier for the reads in this read group.",
- "type": "string"
- },
- "datasetId": {
- "description": "The dataset to which this read group belongs.",
- "type": "string"
- },
"experiment": {
"$ref": "Experiment",
"description": "The experiment used to generate this read group."
@@ -3546,6 +3582,30 @@
"id": {
"description": "The server-generated read group ID, unique for all read groups.\nNote: This is different than the @RG ID field in the SAM spec. For that\nvalue, see name.",
"type": "string"
+ },
+ "programs": {
+ "description": "The programs used to generate this read group. Programs are always\nidentical for all read groups within a read group set. For this reason,\nonly the first read group in a returned set will have this field\npopulated.",
+ "items": {
+ "$ref": "Program"
+ },
+ "type": "array"
+ },
+ "predictedInsertSize": {
+ "description": "The predicted insert size of this read group. The insert size is the length\nthe sequenced DNA fragment from end-to-end, not including the adapters.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "description": {
+ "description": "A free-form text description of this read group.",
+ "type": "string"
+ },
+ "sampleId": {
+ "description": "A client-supplied sample identifier for the reads in this read group.",
+ "type": "string"
+ },
+ "datasetId": {
+ "description": "The dataset to which this read group belongs.",
+ "type": "string"
}
},
"type": "object"
@@ -3554,6 +3614,24 @@
"description": "A read group set is a logical collection of read groups, which are\ncollections of reads produced by a sequencer. A read group set typically\nmodels reads corresponding to one sample, sequenced one way, and aligned one\nway.\n\n* A read group set belongs to one dataset.\n* A read group belongs to one read group set.\n* A read belongs to one read group.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
"id": "ReadGroupSet",
"properties": {
+ "info": {
+ "additionalProperties": {
+ "items": {
+ "type": "any"
+ },
+ "type": "array"
+ },
+ "description": "A map of additional read group set information.",
+ "type": "object"
+ },
+ "id": {
+ "description": "The server-generated read group set ID, unique for all read group sets.",
+ "type": "string"
+ },
+ "datasetId": {
+ "description": "The dataset to which this read group set belongs.",
+ "type": "string"
+ },
"readGroups": {
"description": "The read groups in this set. There are typically 1-10 read groups in a read\ngroup set.",
"items": {
@@ -3572,24 +3650,6 @@
"referenceSetId": {
"description": "The reference set to which the reads in this read group set are aligned.",
"type": "string"
- },
- "info": {
- "additionalProperties": {
- "items": {
- "type": "any"
- },
- "type": "array"
- },
- "description": "A map of additional read group set information.",
- "type": "object"
- },
- "id": {
- "description": "The server-generated read group set ID, unique for all read group sets.",
- "type": "string"
- },
- "datasetId": {
- "description": "The dataset to which this read group set belongs.",
- "type": "string"
}
},
"type": "object"
@@ -3598,16 +3658,16 @@
"description": "The search variant sets response.",
"id": "SearchVariantSetsResponse",
"properties": {
- "nextPageToken": {
- "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.",
- "type": "string"
- },
"variantSets": {
"description": "The variant sets belonging to the requested dataset.",
"items": {
"$ref": "VariantSet"
},
"type": "array"
+ },
+ "nextPageToken": {
+ "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.",
+ "type": "string"
}
},
"type": "object"
@@ -3673,6 +3733,13 @@
"description": "The call set search request.",
"id": "SearchCallSetsRequest",
"properties": {
+ "variantSetIds": {
+ "description": "Restrict the query to call sets within the given variant sets. At least one\nID must be provided.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"name": {
"description": "Only return call sets for which a substring of the name matches this\nstring.",
"type": "string"
@@ -3685,73 +3752,6 @@
"description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024.",
"format": "int32",
"type": "integer"
- },
- "variantSetIds": {
- "description": "Restrict the query to call sets within the given variant sets. At least one\nID must be provided.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "ImportReadGroupSetsRequest": {
- "description": "The read group set import request.",
- "id": "ImportReadGroupSetsRequest",
- "properties": {
- "sourceUris": {
- "description": "A list of URIs pointing at [BAM\nfiles](https://samtools.github.io/hts-specs/SAMv1.pdf)\nin Google Cloud Storage.\nThose URIs can include wildcards (*), but do not add or remove\nmatching files before import has completed.\n\nNote that Google Cloud Storage object listing is only eventually\nconsistent: files added may be not be immediately visible to\neveryone. Thus, if using a wildcard it is preferable not to start\nthe import immediately after the files are created.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "referenceSetId": {
- "description": "The reference set to which the imported read group sets are aligned to, if\nany. The reference names of this reference set must be a superset of those\nfound in the imported file headers. If no reference set id is provided, a\nbest effort is made to associate with a matching reference set.",
- "type": "string"
- },
- "partitionStrategy": {
- "description": "The partition strategy describes how read groups are partitioned into read\ngroup sets.",
- "enum": [
- "PARTITION_STRATEGY_UNSPECIFIED",
- "PER_FILE_PER_SAMPLE",
- "MERGE_ALL"
- ],
- "enumDescriptions": [
- "",
- "In most cases, this strategy yields one read group set per file. This is\nthe default behavior.\n\nAllocate one read group set per file per sample. For BAM files, read\ngroups are considered to share a sample if they have identical sample\nnames. Furthermore, all reads for each file which do not belong to a read\ngroup, if any, will be grouped into a single read group set per-file.",
- "Includes all read groups in all imported files into a single read group\nset. Requires that the headers for all imported files are equivalent. All\nreads which do not belong to a read group, if any, will be grouped into a\nseparate read group set."
- ],
- "type": "string"
- },
- "datasetId": {
- "description": "Required. The ID of the dataset these read group sets will belong to. The\ncaller must have WRITE permissions to this dataset.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Policy": {
- "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).",
- "id": "Policy",
- "properties": {
- "bindings": {
- "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.",
- "items": {
- "$ref": "Binding"
- },
- "type": "array"
- },
- "etag": {
- "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.",
- "format": "byte",
- "type": "string"
- },
- "version": {
- "description": "Version of the `Policy`. The default version is 0.",
- "format": "int32",
- "type": "integer"
}
},
"type": "object"
diff --git a/discovery/googleapis/iam__v1.json b/discovery/googleapis/iam__v1.json
index a29d0a7..df88d47 100644
--- a/discovery/googleapis/iam__v1.json
+++ b/discovery/googleapis/iam__v1.json
@@ -25,16 +25,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "access_token": {
- "description": "OAuth access token.",
- "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"
- },
"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",
@@ -46,13 +36,13 @@
"location": "query",
"type": "boolean"
},
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
+ "bearer_token": {
+ "description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
- "bearer_token": {
- "description": "OAuth bearer token.",
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
@@ -67,13 +57,18 @@
"location": "query",
"type": "boolean"
},
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "callback": {
+ "description": "JSONP",
"location": "query",
"type": "string"
},
@@ -90,11 +85,6 @@
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -110,6 +100,16 @@
],
"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"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
}
},
"protocol": "rest",
@@ -118,33 +118,6 @@
"resources": {
"serviceAccounts": {
"methods": {
- "create": {
- "description": "Creates a ServiceAccount\nand returns it.",
- "httpMethod": "POST",
- "id": "iam.projects.serviceAccounts.create",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "Required. The resource name of the project associated with the service\naccounts, such as `projects/my-project-123`.",
- "location": "path",
- "pattern": "^projects/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+name}/serviceAccounts",
- "request": {
- "$ref": "CreateServiceAccountRequest"
- },
- "response": {
- "$ref": "ServiceAccount"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
"setIamPolicy": {
"description": "Sets the IAM access control policy for a\nServiceAccount.",
"httpMethod": "POST",
@@ -154,7 +127,7 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy is being specified.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
+ "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/serviceAccounts/[^/]+$",
"required": true,
@@ -199,6 +172,33 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
+ "create": {
+ "description": "Creates a ServiceAccount\nand returns it.",
+ "httpMethod": "POST",
+ "id": "iam.projects.serviceAccounts.create",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The resource name of the project associated with the service\naccounts, such as `projects/my-project-123`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}/serviceAccounts",
+ "request": {
+ "$ref": "CreateServiceAccountRequest"
+ },
+ "response": {
+ "$ref": "ServiceAccount"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"getIamPolicy": {
"description": "Returns the IAM access control policy for a\nServiceAccount.",
"httpMethod": "POST",
@@ -208,7 +208,7 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
+ "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/serviceAccounts/[^/]+$",
"required": true,
@@ -283,7 +283,7 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy detail is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
+ "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/serviceAccounts/[^/]+$",
"required": true,
@@ -423,6 +423,13 @@
"name"
],
"parameters": {
+ "name": {
+ "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\n\nUsing `-` as a wildcard for the project, will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
"keyTypes": {
"description": "Filters the types of keys the user wants to include in the list\nresponse. Duplicate key types are not allowed. If no key type\nis provided, all keys are returned.",
"enum": [
@@ -433,13 +440,6 @@
"location": "query",
"repeated": true,
"type": "string"
- },
- "name": {
- "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\n\nUsing `-` as a wildcard for the project, will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.",
- "location": "path",
- "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$",
- "required": true,
- "type": "string"
}
},
"path": "v1/{+name}/keys",
@@ -458,6 +458,13 @@
"name"
],
"parameters": {
+ "name": {
+ "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\n\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
"publicKeyType": {
"description": "The output format of the public key requested.\nX509_PEM is the default output format.",
"enum": [
@@ -467,13 +474,6 @@
],
"location": "query",
"type": "string"
- },
- "name": {
- "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\n\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.",
- "location": "path",
- "pattern": "^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$",
- "required": true,
- "type": "string"
}
},
"path": "v1/{+name}",
@@ -539,13 +539,215 @@
}
}
},
- "revision": "20170217",
+ "revision": "20170317",
"rootUrl": "https://iam.googleapis.com/",
"schemas": {
+ "CreateServiceAccountRequest": {
+ "description": "The service account create request.",
+ "id": "CreateServiceAccountRequest",
+ "properties": {
+ "accountId": {
+ "description": "Required. The account id that is used to generate the service account\nemail address and a stable unique id. It is unique within a project,\nmust be 6-30 characters long, and match the regular expression\n`[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.",
+ "type": "string"
+ },
+ "serviceAccount": {
+ "$ref": "ServiceAccount",
+ "description": "The ServiceAccount resource to create.\nCurrently, only the following values are user assignable:\n`display_name` ."
+ }
+ },
+ "type": "object"
+ },
+ "ListServiceAccountsResponse": {
+ "description": "The service account list response.",
+ "id": "ListServiceAccountsResponse",
+ "properties": {
+ "accounts": {
+ "description": "The list of matching service accounts.",
+ "items": {
+ "$ref": "ServiceAccount"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "To retrieve the next page of results, set\nListServiceAccountsRequest.page_token\nto this value.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "QueryGrantableRolesResponse": {
+ "description": "The grantable role query response.",
+ "id": "QueryGrantableRolesResponse",
+ "properties": {
+ "roles": {
+ "description": "The list of matching roles.",
+ "items": {
+ "$ref": "Role"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SignBlobRequest": {
+ "description": "The service account sign blob request.",
+ "id": "SignBlobRequest",
+ "properties": {
+ "bytesToSign": {
+ "description": "The bytes to sign.",
+ "format": "byte",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Role": {
+ "description": "A role in the Identity and Access Management API.",
+ "id": "Role",
+ "properties": {
+ "title": {
+ "description": "Optional. A human-readable title for the role. Typically this\nis limited to 100 UTF-8 bytes.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the role.\n\nWhen Role is used in CreateRole, the role name must not be set.\n\nWhen Role is used in output and other input such as UpdateRole, the role\nname is the complete path, e.g., roles/logging.viewer for curated roles\nand organizations/{ORGANIZATION_ID}/roles/logging.viewer for custom roles.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Optional. A human-readable description for the role.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SetIamPolicyRequest": {
+ "description": "Request message for `SetIamPolicy` method.",
+ "id": "SetIamPolicyRequest",
+ "properties": {
+ "policy": {
+ "$ref": "Policy",
+ "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
+ }
+ },
+ "type": "object"
+ },
+ "Binding": {
+ "description": "Associates `members` with a `role`.",
+ "id": "Binding",
+ "properties": {
+ "members": {
+ "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "role": {
+ "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "QueryGrantableRolesRequest": {
+ "description": "The grantable role query request.",
+ "id": "QueryGrantableRolesRequest",
+ "properties": {
+ "fullResourceName": {
+ "description": "Required. The full resource name to query from the list of grantable roles.\n\nThe name follows the Google Cloud Platform resource format.\nFor example, a Cloud Platform project with id `my-project` will be named\n`//cloudresourcemanager.googleapis.com/projects/my-project`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
+ "ServiceAccount": {
+ "description": "A service account in the Identity and Access Management API.\n\nTo create a service account, specify the `project_id` and the `account_id`\nfor the account. The `account_id` is unique within the project, and is used\nto generate the service account email address and a stable\n`unique_id`.\n\nIf the account already exists, the account's resource name is returned\nin util::Status's ResourceInfo.resource_name in the format of\nprojects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}. The caller can\nuse the name in other methods to access the account.\n\nAll other methods can identify the service account using the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.",
+ "id": "ServiceAccount",
+ "properties": {
+ "email": {
+ "description": "@OutputOnly The email address of the service account.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\n\nRequests using `-` as a wildcard for the project will infer the project\nfrom the `account` and the `account` value can be the `email` address or\nthe `unique_id` of the service account.\n\nIn responses the resource name will always be in the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.",
+ "type": "string"
+ },
+ "projectId": {
+ "description": "@OutputOnly The id of the project that owns the service account.",
+ "type": "string"
+ },
+ "uniqueId": {
+ "description": "@OutputOnly The unique and stable id of the service account.",
+ "type": "string"
+ },
+ "oauth2ClientId": {
+ "description": "@OutputOnly. The OAuth2 client id for the service account.\nThis is used in conjunction with the OAuth2 clientconfig API to make\nthree legged OAuth2 (3LO) flows to access the data of Google users.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Optional. A user-specified description of the service account. Must be\nfewer than 100 UTF-8 bytes.",
+ "type": "string"
+ },
+ "etag": {
+ "description": "Used to perform a consistent read-modify-write.",
+ "format": "byte",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListServiceAccountKeysResponse": {
+ "description": "The service account keys list response.",
+ "id": "ListServiceAccountKeysResponse",
+ "properties": {
+ "keys": {
+ "description": "The public keys for the service account.",
+ "items": {
+ "$ref": "ServiceAccountKey"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "TestIamPermissionsResponse": {
+ "description": "Response message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsResponse",
+ "properties": {
+ "permissions": {
+ "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"ServiceAccountKey": {
"description": "Represents a service account key.\n\nA service account has two sets of key-pairs: user-managed, and\nsystem-managed.\n\nUser-managed key-pairs can be created and deleted by users. Users are\nresponsible for rotating these keys periodically to ensure security of\ntheir service accounts. Users retain the private key of these key-pairs,\nand Google retains ONLY the public key.\n\nSystem-managed key-pairs are managed automatically by Google, and rotated\ndaily without user intervention. The private key never leaves Google's\nservers to maximize security.\n\nPublic keys for all service accounts are also published at the OAuth2\nService Account API.",
"id": "ServiceAccountKey",
"properties": {
+ "privateKeyData": {
+ "description": "The private key data. Only provided in `CreateServiceAccountKey`\nresponses.",
+ "format": "byte",
+ "type": "string"
+ },
+ "publicKeyData": {
+ "description": "The public key data. Only provided in `GetServiceAccountKey` responses.",
+ "format": "byte",
+ "type": "string"
+ },
+ "name": {
+ "description": "The resource name of the service account key in the following format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.",
+ "type": "string"
+ },
"validBeforeTime": {
"description": "The key can be used before this timestamp.",
"format": "google-datetime",
@@ -583,20 +785,6 @@
"description": "The key can be used after this timestamp.",
"format": "google-datetime",
"type": "string"
- },
- "privateKeyData": {
- "description": "The private key data. Only provided in `CreateServiceAccountKey`\nresponses.",
- "format": "byte",
- "type": "string"
- },
- "publicKeyData": {
- "description": "The public key data. Only provided in `GetServiceAccountKey` responses.",
- "format": "byte",
- "type": "string"
- },
- "name": {
- "description": "The resource name of the service account key in the following format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.",
- "type": "string"
}
},
"type": "object"
@@ -681,17 +869,6 @@
},
"type": "object"
},
- "SignJwtRequest": {
- "description": "The service account sign JWT request.",
- "id": "SignJwtRequest",
- "properties": {
- "payload": {
- "description": "The JWT payload to sign, a JSON JWT Claim set.",
- "type": "string"
- }
- },
- "type": "object"
- },
"Policy": {
"description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).",
"id": "Policy",
@@ -716,6 +893,17 @@
},
"type": "object"
},
+ "SignJwtRequest": {
+ "description": "The service account sign JWT request.",
+ "id": "SignJwtRequest",
+ "properties": {
+ "payload": {
+ "description": "The JWT payload to sign, a JSON JWT Claim set.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"AuditData": {
"description": "Audit log information specific to Cloud IAM. This message is serialized\nas an `Any` type in the `ServiceData` message of an\n`AuditLog` message.",
"id": "AuditData",
@@ -769,194 +957,6 @@
}
},
"type": "object"
- },
- "CreateServiceAccountRequest": {
- "description": "The service account create request.",
- "id": "CreateServiceAccountRequest",
- "properties": {
- "serviceAccount": {
- "$ref": "ServiceAccount",
- "description": "The ServiceAccount resource to create.\nCurrently, only the following values are user assignable:\n`display_name` ."
- },
- "accountId": {
- "description": "Required. The account id that is used to generate the service account\nemail address and a stable unique id. It is unique within a project,\nmust be 6-30 characters long, and match the regular expression\n`[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListServiceAccountsResponse": {
- "description": "The service account list response.",
- "id": "ListServiceAccountsResponse",
- "properties": {
- "nextPageToken": {
- "description": "To retrieve the next page of results, set\nListServiceAccountsRequest.page_token\nto this value.",
- "type": "string"
- },
- "accounts": {
- "description": "The list of matching service accounts.",
- "items": {
- "$ref": "ServiceAccount"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "QueryGrantableRolesResponse": {
- "description": "The grantable role query response.",
- "id": "QueryGrantableRolesResponse",
- "properties": {
- "roles": {
- "description": "The list of matching roles.",
- "items": {
- "$ref": "Role"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Role": {
- "description": "A role in the Identity and Access Management API.",
- "id": "Role",
- "properties": {
- "title": {
- "description": "Optional. A human-readable title for the role. Typically this\nis limited to 100 UTF-8 bytes.",
- "type": "string"
- },
- "name": {
- "description": "The name of the role.\n\nWhen Role is used in CreateRole, the role name must not be set.\n\nWhen Role is used in output and other input such as UpdateRole, the role\nname is the complete path, e.g., roles/logging.viewer for curated roles\nand organizations/{ORGANIZATION_ID}/roles/logging.viewer for custom roles.",
- "type": "string"
- },
- "description": {
- "description": "Optional. A human-readable description for the role.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SignBlobRequest": {
- "description": "The service account sign blob request.",
- "id": "SignBlobRequest",
- "properties": {
- "bytesToSign": {
- "description": "The bytes to sign.",
- "format": "byte",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SetIamPolicyRequest": {
- "description": "Request message for `SetIamPolicy` method.",
- "id": "SetIamPolicyRequest",
- "properties": {
- "policy": {
- "$ref": "Policy",
- "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
- }
- },
- "type": "object"
- },
- "Binding": {
- "description": "Associates `members` with a `role`.",
- "id": "Binding",
- "properties": {
- "members": {
- "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "role": {
- "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ServiceAccount": {
- "description": "A service account in the Identity and Access Management API.\n\nTo create a service account, specify the `project_id` and the `account_id`\nfor the account. The `account_id` is unique within the project, and is used\nto generate the service account email address and a stable\n`unique_id`.\n\nIf the account already exists, the account's resource name is returned\nin util::Status's ResourceInfo.resource_name in the format of\nprojects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}. The caller can\nuse the name in other methods to access the account.\n\nAll other methods can identify the service account using the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.",
- "id": "ServiceAccount",
- "properties": {
- "name": {
- "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\n\nRequests using `-` as a wildcard for the project will infer the project\nfrom the `account` and the `account` value can be the `email` address or\nthe `unique_id` of the service account.\n\nIn responses the resource name will always be in the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.",
- "type": "string"
- },
- "email": {
- "description": "@OutputOnly The email address of the service account.",
- "type": "string"
- },
- "projectId": {
- "description": "@OutputOnly The id of the project that owns the service account.",
- "type": "string"
- },
- "oauth2ClientId": {
- "description": "@OutputOnly. The OAuth2 client id for the service account.\nThis is used in conjunction with the OAuth2 clientconfig API to make\nthree legged OAuth2 (3LO) flows to access the data of Google users.",
- "type": "string"
- },
- "uniqueId": {
- "description": "@OutputOnly The unique and stable id of the service account.",
- "type": "string"
- },
- "displayName": {
- "description": "Optional. A user-specified description of the service account. Must be\nfewer than 100 UTF-8 bytes.",
- "type": "string"
- },
- "etag": {
- "description": "Used to perform a consistent read-modify-write.",
- "format": "byte",
- "type": "string"
- }
- },
- "type": "object"
- },
- "QueryGrantableRolesRequest": {
- "description": "The grantable role query request.",
- "id": "QueryGrantableRolesRequest",
- "properties": {
- "fullResourceName": {
- "description": "Required. The full resource name to query from the list of grantable roles.\n\nThe name follows the Google Cloud Platform resource format.\nFor example, a Cloud Platform project with id `my-project` will be named\n`//cloudresourcemanager.googleapis.com/projects/my-project`.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Empty": {
- "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
- "id": "Empty",
- "properties": {},
- "type": "object"
- },
- "ListServiceAccountKeysResponse": {
- "description": "The service account keys list response.",
- "id": "ListServiceAccountKeysResponse",
- "properties": {
- "keys": {
- "description": "The public keys for the service account.",
- "items": {
- "$ref": "ServiceAccountKey"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "TestIamPermissionsResponse": {
- "description": "Response message for `TestIamPermissions` method.",
- "id": "TestIamPermissionsResponse",
- "properties": {
- "permissions": {
- "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis/identitytoolkit__v3.json b/discovery/googleapis/identitytoolkit__v3.json
index 81b6ff7..242a4fa 100644
--- a/discovery/googleapis/identitytoolkit__v3.json
+++ b/discovery/googleapis/identitytoolkit__v3.json
@@ -18,7 +18,7 @@
"description": "Help the third party sites to implement federated login.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/identity-toolkit/v3/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Eza5dkILxsH0BZXGL1UuGyoKbqY\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/e7L4gGXJzl8PkSEyyAcfyGJlqQA\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -340,7 +340,7 @@
}
}
},
- "revision": "20170203",
+ "revision": "20170308",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"CreateAuthUriResponse": {
@@ -1053,6 +1053,10 @@
"description": "Request to verify the IDP assertion.",
"id": "IdentitytoolkitRelyingpartyVerifyAssertionRequest",
"properties": {
+ "autoCreate": {
+ "description": "When it's true, automatically creates a new account if the user doesn't exist. When it's false, allows existing user to sign in normally and throws exception if the user doesn't exist.",
+ "type": "boolean"
+ },
"delegatedProjectNumber": {
"description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.",
"format": "int64",
@@ -1204,6 +1208,22 @@
"description": "Request of getting a code for user confirmation (reset password, change email etc.)",
"id": "Relyingparty",
"properties": {
+ "androidInstallApp": {
+ "description": "whether or not to install the android app on the device where the link is opened",
+ "type": "boolean"
+ },
+ "androidMinimumVersion": {
+ "description": "minimum version of the app. if the version on the device is lower than this version then the user is taken to the play store to upgrade the app",
+ "type": "string"
+ },
+ "androidPackageName": {
+ "description": "android package name of the android app to handle the action code",
+ "type": "string"
+ },
+ "canHandleCodeInApp": {
+ "description": "whether or not the app can handle the oob code without first going to web",
+ "type": "boolean"
+ },
"captchaResp": {
"description": "The recaptcha response from the user.",
"type": "string"
@@ -1212,10 +1232,22 @@
"description": "The recaptcha challenge presented to the user.",
"type": "string"
},
+ "continueUrl": {
+ "description": "The url to continue to the Gitkit app",
+ "type": "string"
+ },
"email": {
"description": "The email of the user.",
"type": "string"
},
+ "iOSAppStoreId": {
+ "description": "iOS app store id to download the app if it's not already installed",
+ "type": "string"
+ },
+ "iOSBundleId": {
+ "description": "the iOS bundle id of iOS app to handle the action code",
+ "type": "string"
+ },
"idToken": {
"description": "The user's Gitkit login token for email change.",
"type": "string"
diff --git a/discovery/googleapis/kgsearch__v1.json b/discovery/googleapis/kgsearch__v1.json
index 1d8066a..9231b91 100644
--- a/discovery/googleapis/kgsearch__v1.json
+++ b/discovery/googleapis/kgsearch__v1.json
@@ -15,22 +15,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "pp": {
- "default": "true",
- "description": "Pretty-print response.",
- "location": "query",
- "type": "boolean"
- },
- "bearer_token": {
- "description": "OAuth bearer token.",
- "location": "query",
- "type": "string"
- },
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
- },
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
@@ -42,18 +26,13 @@
"location": "query",
"type": "boolean"
},
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
@@ -70,6 +49,11 @@
"location": "query",
"type": "string"
},
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -86,20 +70,36 @@
"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"
- },
"access_token": {
"description": "OAuth access token.",
"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"
+ },
"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"
+ },
+ "pp": {
+ "default": "true",
+ "description": "Pretty-print response.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
}
},
"protocol": "rest",
@@ -112,6 +112,18 @@
"id": "kgsearch.entities.search",
"parameterOrder": [],
"parameters": {
+ "ids": {
+ "description": "The list of entity id to be used for search instead of query string.\nTo specify multiple ids in the HTTP request, repeat the parameter in the\nURL as in ...?ids=A&ids=B",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "limit": {
+ "description": "Limits the number of entities to be returned.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
"prefix": {
"description": "Enables prefix match against names and aliases of entities",
"location": "query",
@@ -138,18 +150,6 @@
"location": "query",
"repeated": true,
"type": "string"
- },
- "ids": {
- "description": "The list of entity id to be used for search instead of query string.\nTo specify multiple ids in the HTTP request, repeat the parameter in the\nURL as in ...?ids=A&ids=B",
- "location": "query",
- "repeated": true,
- "type": "string"
- },
- "limit": {
- "description": "Limits the number of entities to be returned.",
- "format": "int32",
- "location": "query",
- "type": "integer"
}
},
"path": "v1/entities:search",
diff --git a/discovery/googleapis/language__v1.json b/discovery/googleapis/language__v1.json
index fbc3568..0065b75 100644
--- a/discovery/googleapis/language__v1.json
+++ b/discovery/googleapis/language__v1.json
@@ -25,6 +25,16 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
@@ -80,13 +90,13 @@
"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.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
+ "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"
},
@@ -100,24 +110,31 @@
"description": "Pretty-print response.",
"location": "query",
"type": "boolean"
- },
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
- },
- "bearer_token": {
- "description": "OAuth bearer token.",
- "location": "query",
- "type": "string"
}
},
"protocol": "rest",
"resources": {
"documents": {
"methods": {
+ "annotateText": {
+ "description": "A convenience method that provides all the features that analyzeSentiment,\nanalyzeEntities, and analyzeSyntax provide in one call.",
+ "httpMethod": "POST",
+ "id": "language.documents.annotateText",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/documents:annotateText",
+ "request": {
+ "$ref": "AnnotateTextRequest"
+ },
+ "response": {
+ "$ref": "AnnotateTextResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"analyzeEntities": {
- "description": "Finds named entities (currently finds proper names) in the text,\nentity types, salience, mentions for each entity, and other properties.",
+ "description": "Finds named entities (currently proper names and common nouns) in the text\nalong with entity types, salience, mentions for each entity, and\nother properties.",
"httpMethod": "POST",
"id": "language.documents.analyzeEntities",
"parameterOrder": [],
@@ -166,250 +183,17 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
- },
- "annotateText": {
- "description": "A convenience method that provides all the features that analyzeSentiment,\nanalyzeEntities, and analyzeSyntax provide in one call.",
- "httpMethod": "POST",
- "id": "language.documents.annotateText",
- "parameterOrder": [],
- "parameters": {},
- "path": "v1/documents:annotateText",
- "request": {
- "$ref": "AnnotateTextRequest"
- },
- "response": {
- "$ref": "AnnotateTextResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
}
}
}
},
- "revision": "20170301",
+ "revision": "20170320",
"rootUrl": "https://language.googleapis.com/",
"schemas": {
- "EntityMention": {
- "description": "Represents a mention for an entity in the text. Currently, proper noun\nmentions are supported.",
- "id": "EntityMention",
- "properties": {
- "text": {
- "$ref": "TextSpan",
- "description": "The mention text."
- },
- "type": {
- "description": "The type of the entity mention.",
- "enum": [
- "TYPE_UNKNOWN",
- "PROPER",
- "COMMON"
- ],
- "enumDescriptions": [
- "Unknown",
- "Proper name",
- "Common noun (or noun compound)"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "Features": {
- "description": "All available features for sentiment, syntax, and semantic analysis.\nSetting each one to true will enable that specific analysis for the input.",
- "id": "Features",
- "properties": {
- "extractEntities": {
- "description": "Extract entities.",
- "type": "boolean"
- },
- "extractSyntax": {
- "description": "Extract syntax information.",
- "type": "boolean"
- },
- "extractDocumentSentiment": {
- "description": "Extract document-level sentiment.",
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "Document": {
- "description": "################################################################ #\n\nRepresents the input to API methods.",
- "id": "Document",
- "properties": {
- "language": {
- "description": "The language of the document (if not specified, the language is\nautomatically detected). Both ISO and BCP-47 language codes are\naccepted.<br>\n**Current Language Restrictions:**\n\n * Only English, Spanish, and Japanese textual content are supported.\nIf the language (either specified by the caller or automatically detected)\nis not supported by the called API method, an `INVALID_ARGUMENT` error\nis returned.",
- "type": "string"
- },
- "type": {
- "description": "Required. If the type is not set or is `TYPE_UNSPECIFIED`,\nreturns an `INVALID_ARGUMENT` error.",
- "enum": [
- "TYPE_UNSPECIFIED",
- "PLAIN_TEXT",
- "HTML"
- ],
- "enumDescriptions": [
- "The content type is not specified.",
- "Plain text",
- "HTML"
- ],
- "type": "string"
- },
- "content": {
- "description": "The content of the input in string format.",
- "type": "string"
- },
- "gcsContentUri": {
- "description": "The Google Cloud Storage URI where the file content is located.\nThis URI must be of the form: gs://bucket_name/object_name. For more\ndetails, see https://cloud.google.com/storage/docs/reference-uris.\nNOTE: Cloud Storage object versioning is not supported.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Sentence": {
- "description": "Represents a sentence in the input document.",
- "id": "Sentence",
- "properties": {
- "text": {
- "$ref": "TextSpan",
- "description": "The sentence text."
- },
- "sentiment": {
- "$ref": "Sentiment",
- "description": "For calls to AnalyzeSentiment or if\nAnnotateTextRequest.Features.extract_document_sentiment is set to\ntrue, this field will contain the sentiment for the sentence."
- }
- },
- "type": "object"
- },
- "AnalyzeEntitiesRequest": {
- "description": "The entity analysis request message.",
- "id": "AnalyzeEntitiesRequest",
- "properties": {
- "encodingType": {
- "description": "The encoding type used by the API to calculate offsets.",
- "enum": [
- "NONE",
- "UTF8",
- "UTF16",
- "UTF32"
- ],
- "enumDescriptions": [
- "If `EncodingType` is not specified, encoding-dependent information (such as\n`begin_offset`) will be set at `-1`.",
- "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-8 encoding of the input. C++ and Go are examples of languages\nthat use this encoding natively.",
- "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-16 encoding of the input. Java and Javascript are examples of\nlanguages that use this encoding natively.",
- "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-32 encoding of the input. Python is an example of a language\nthat uses this encoding natively."
- ],
- "type": "string"
- },
- "document": {
- "$ref": "Document",
- "description": "Input document."
- }
- },
- "type": "object"
- },
- "Sentiment": {
- "description": "Represents the feeling associated with the entire text or entities in\nthe text.",
- "id": "Sentiment",
- "properties": {
- "score": {
- "description": "Sentiment score between -1.0 (negative sentiment) and 1.0\n(positive sentiment).",
- "format": "float",
- "type": "number"
- },
- "magnitude": {
- "description": "A non-negative number in the [0, +inf) range, which represents\nthe absolute magnitude of sentiment regardless of score (positive or\nnegative).",
- "format": "float",
- "type": "number"
- }
- },
- "type": "object"
- },
"PartOfSpeech": {
"description": "Represents part of speech information for a token. Parts of speech\nare as defined in\nhttp://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf",
"id": "PartOfSpeech",
"properties": {
- "form": {
- "description": "The grammatical form.",
- "enum": [
- "FORM_UNKNOWN",
- "ADNOMIAL",
- "AUXILIARY",
- "COMPLEMENTIZER",
- "FINAL_ENDING",
- "GERUND",
- "REALIS",
- "IRREALIS",
- "SHORT",
- "LONG",
- "ORDER",
- "SPECIFIC"
- ],
- "enumDescriptions": [
- "Form is not applicable in the analyzed language or is not predicted.",
- "Adnomial",
- "Auxiliary",
- "Complementizer",
- "Final ending",
- "Gerund",
- "Realis",
- "Irrealis",
- "Short form",
- "Long form",
- "Order form",
- "Specific form"
- ],
- "type": "string"
- },
- "number": {
- "description": "The grammatical number.",
- "enum": [
- "NUMBER_UNKNOWN",
- "SINGULAR",
- "PLURAL",
- "DUAL"
- ],
- "enumDescriptions": [
- "Number is not applicable in the analyzed language or is not predicted.",
- "Singular",
- "Plural",
- "Dual"
- ],
- "type": "string"
- },
- "voice": {
- "description": "The grammatical voice.",
- "enum": [
- "VOICE_UNKNOWN",
- "ACTIVE",
- "CAUSATIVE",
- "PASSIVE"
- ],
- "enumDescriptions": [
- "Voice is not applicable in the analyzed language or is not predicted.",
- "Active",
- "Causative",
- "Passive"
- ],
- "type": "string"
- },
- "aspect": {
- "description": "The grammatical aspect.",
- "enum": [
- "ASPECT_UNKNOWN",
- "PERFECTIVE",
- "IMPERFECTIVE",
- "PROGRESSIVE"
- ],
- "enumDescriptions": [
- "Aspect is not applicable in the analyzed language or is not predicted.",
- "Perfective",
- "Imperfective",
- "Progressive"
- ],
- "type": "string"
- },
"mood": {
"description": "The grammatical mood.",
"enum": [
@@ -589,6 +373,86 @@
"Non-reciprocal"
],
"type": "string"
+ },
+ "form": {
+ "description": "The grammatical form.",
+ "enum": [
+ "FORM_UNKNOWN",
+ "ADNOMIAL",
+ "AUXILIARY",
+ "COMPLEMENTIZER",
+ "FINAL_ENDING",
+ "GERUND",
+ "REALIS",
+ "IRREALIS",
+ "SHORT",
+ "LONG",
+ "ORDER",
+ "SPECIFIC"
+ ],
+ "enumDescriptions": [
+ "Form is not applicable in the analyzed language or is not predicted.",
+ "Adnomial",
+ "Auxiliary",
+ "Complementizer",
+ "Final ending",
+ "Gerund",
+ "Realis",
+ "Irrealis",
+ "Short form",
+ "Long form",
+ "Order form",
+ "Specific form"
+ ],
+ "type": "string"
+ },
+ "number": {
+ "description": "The grammatical number.",
+ "enum": [
+ "NUMBER_UNKNOWN",
+ "SINGULAR",
+ "PLURAL",
+ "DUAL"
+ ],
+ "enumDescriptions": [
+ "Number is not applicable in the analyzed language or is not predicted.",
+ "Singular",
+ "Plural",
+ "Dual"
+ ],
+ "type": "string"
+ },
+ "voice": {
+ "description": "The grammatical voice.",
+ "enum": [
+ "VOICE_UNKNOWN",
+ "ACTIVE",
+ "CAUSATIVE",
+ "PASSIVE"
+ ],
+ "enumDescriptions": [
+ "Voice is not applicable in the analyzed language or is not predicted.",
+ "Active",
+ "Causative",
+ "Passive"
+ ],
+ "type": "string"
+ },
+ "aspect": {
+ "description": "The grammatical aspect.",
+ "enum": [
+ "ASPECT_UNKNOWN",
+ "PERFECTIVE",
+ "IMPERFECTIVE",
+ "PROGRESSIVE"
+ ],
+ "enumDescriptions": [
+ "Aspect is not applicable in the analyzed language or is not predicted.",
+ "Perfective",
+ "Imperfective",
+ "Progressive"
+ ],
+ "type": "string"
}
},
"type": "object"
@@ -646,16 +510,16 @@
"description": "The entity analysis response message.",
"id": "AnalyzeEntitiesResponse",
"properties": {
- "language": {
- "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.\nSee `Document.language` field for more details.",
- "type": "string"
- },
"entities": {
"description": "The recognized entities in the input document.",
"items": {
"$ref": "Entity"
},
"type": "array"
+ },
+ "language": {
+ "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.\nSee `Document.language` field for more details.",
+ "type": "string"
}
},
"type": "object"
@@ -689,10 +553,6 @@
"description": "Represents a phrase in the text that is a known entity, such as\na person, an organization, or location. The API associates information, such\nas salience and mentions, with entities.",
"id": "Entity",
"properties": {
- "name": {
- "description": "The representative name for the entity.",
- "type": "string"
- },
"type": {
"description": "The entity type.",
"enum": [
@@ -735,6 +595,10 @@
"$ref": "EntityMention"
},
"type": "array"
+ },
+ "name": {
+ "description": "The representative name for the entity.",
+ "type": "string"
}
},
"type": "object"
@@ -1007,6 +871,29 @@
},
"type": "object"
},
+ "Token": {
+ "description": "Represents the smallest syntactic building block of the text.",
+ "id": "Token",
+ "properties": {
+ "partOfSpeech": {
+ "$ref": "PartOfSpeech",
+ "description": "Parts of speech tag for this token."
+ },
+ "text": {
+ "$ref": "TextSpan",
+ "description": "The token text."
+ },
+ "dependencyEdge": {
+ "$ref": "DependencyEdge",
+ "description": "Dependency tree parse for this token."
+ },
+ "lemma": {
+ "description": "[Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"TextSpan": {
"description": "Represents an output piece of text.",
"id": "TextSpan",
@@ -1023,29 +910,6 @@
},
"type": "object"
},
- "Token": {
- "description": "Represents the smallest syntactic building block of the text.",
- "id": "Token",
- "properties": {
- "text": {
- "$ref": "TextSpan",
- "description": "The token text."
- },
- "dependencyEdge": {
- "$ref": "DependencyEdge",
- "description": "Dependency tree parse for this token."
- },
- "lemma": {
- "description": "[Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.",
- "type": "string"
- },
- "partOfSpeech": {
- "$ref": "PartOfSpeech",
- "description": "Parts of speech tag for this token."
- }
- },
- "type": "object"
- },
"Status": {
"description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
"id": "Status",
@@ -1072,6 +936,142 @@
}
},
"type": "object"
+ },
+ "EntityMention": {
+ "description": "Represents a mention for an entity in the text. Currently, proper noun\nmentions are supported.",
+ "id": "EntityMention",
+ "properties": {
+ "text": {
+ "$ref": "TextSpan",
+ "description": "The mention text."
+ },
+ "type": {
+ "description": "The type of the entity mention.",
+ "enum": [
+ "TYPE_UNKNOWN",
+ "PROPER",
+ "COMMON"
+ ],
+ "enumDescriptions": [
+ "Unknown",
+ "Proper name",
+ "Common noun (or noun compound)"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Features": {
+ "description": "All available features for sentiment, syntax, and semantic analysis.\nSetting each one to true will enable that specific analysis for the input.",
+ "id": "Features",
+ "properties": {
+ "extractSyntax": {
+ "description": "Extract syntax information.",
+ "type": "boolean"
+ },
+ "extractDocumentSentiment": {
+ "description": "Extract document-level sentiment.",
+ "type": "boolean"
+ },
+ "extractEntities": {
+ "description": "Extract entities.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "Document": {
+ "description": "################################################################ #\n\nRepresents the input to API methods.",
+ "id": "Document",
+ "properties": {
+ "type": {
+ "description": "Required. If the type is not set or is `TYPE_UNSPECIFIED`,\nreturns an `INVALID_ARGUMENT` error.",
+ "enum": [
+ "TYPE_UNSPECIFIED",
+ "PLAIN_TEXT",
+ "HTML"
+ ],
+ "enumDescriptions": [
+ "The content type is not specified.",
+ "Plain text",
+ "HTML"
+ ],
+ "type": "string"
+ },
+ "content": {
+ "description": "The content of the input in string format.",
+ "type": "string"
+ },
+ "gcsContentUri": {
+ "description": "The Google Cloud Storage URI where the file content is located.\nThis URI must be of the form: gs://bucket_name/object_name. For more\ndetails, see https://cloud.google.com/storage/docs/reference-uris.\nNOTE: Cloud Storage object versioning is not supported.",
+ "type": "string"
+ },
+ "language": {
+ "description": "The language of the document (if not specified, the language is\nautomatically detected). Both ISO and BCP-47 language codes are\naccepted.<br>\n**Current Language Restrictions:**\n\n * Only English, Spanish, and Japanese textual content are supported.\nIf the language (either specified by the caller or automatically detected)\nis not supported by the called API method, an `INVALID_ARGUMENT` error\nis returned.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Sentence": {
+ "description": "Represents a sentence in the input document.",
+ "id": "Sentence",
+ "properties": {
+ "text": {
+ "$ref": "TextSpan",
+ "description": "The sentence text."
+ },
+ "sentiment": {
+ "$ref": "Sentiment",
+ "description": "For calls to AnalyzeSentiment or if\nAnnotateTextRequest.Features.extract_document_sentiment is set to\ntrue, this field will contain the sentiment for the sentence."
+ }
+ },
+ "type": "object"
+ },
+ "Sentiment": {
+ "description": "Represents the feeling associated with the entire text or entities in\nthe text.",
+ "id": "Sentiment",
+ "properties": {
+ "score": {
+ "description": "Sentiment score between -1.0 (negative sentiment) and 1.0\n(positive sentiment).",
+ "format": "float",
+ "type": "number"
+ },
+ "magnitude": {
+ "description": "A non-negative number in the [0, +inf) range, which represents\nthe absolute magnitude of sentiment regardless of score (positive or\nnegative).",
+ "format": "float",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "AnalyzeEntitiesRequest": {
+ "description": "The entity analysis request message.",
+ "id": "AnalyzeEntitiesRequest",
+ "properties": {
+ "encodingType": {
+ "description": "The encoding type used by the API to calculate offsets.",
+ "enum": [
+ "NONE",
+ "UTF8",
+ "UTF16",
+ "UTF32"
+ ],
+ "enumDescriptions": [
+ "If `EncodingType` is not specified, encoding-dependent information (such as\n`begin_offset`) will be set at `-1`.",
+ "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-8 encoding of the input. C++ and Go are examples of languages\nthat use this encoding natively.",
+ "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-16 encoding of the input. Java and Javascript are examples of\nlanguages that use this encoding natively.",
+ "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-32 encoding of the input. Python is an example of a language\nthat uses this encoding natively."
+ ],
+ "type": "string"
+ },
+ "document": {
+ "$ref": "Document",
+ "description": "Input document."
+ }
+ },
+ "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis/licensing__v1.json b/discovery/googleapis/licensing__v1.json
index a2df7e6..431c175 100644
--- a/discovery/googleapis/licensing__v1.json
+++ b/discovery/googleapis/licensing__v1.json
@@ -11,10 +11,10 @@
"basePath": "/apps/licensing/v1/product/",
"baseUrl": "https://www.googleapis.com/apps/licensing/v1/product/",
"batchPath": "batch",
- "description": "Licensing API to view and manage license for your domain.",
+ "description": "Views and manages licenses for your domain.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/google-apps/licensing/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/QQRbdYm0j-JrEGkOGWqDQAEBikU\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/WD_dCFRiB71YKGuRij6Gw1Sn7dI\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -357,7 +357,7 @@
}
}
},
- "revision": "20150901",
+ "revision": "20170213",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"LicenseAssignment": {
@@ -379,7 +379,11 @@
"licensing.licenseAssignments.update"
]
},
- "description": "Name of the product.",
+ "description": "Id of the product.",
+ "type": "string"
+ },
+ "productName": {
+ "description": "Display Name of the product.",
"type": "string"
},
"selfLink": {
@@ -392,7 +396,11 @@
"licensing.licenseAssignments.update"
]
},
- "description": "Name of the sku of the product.",
+ "description": "Id of the sku of the product.",
+ "type": "string"
+ },
+ "skuName": {
+ "description": "Display Name of the sku of the product.",
"type": "string"
},
"userId": {
diff --git a/discovery/googleapis/logging__v2.json b/discovery/googleapis/logging__v2.json
index 2c65d59..6a3bd20 100644
--- a/discovery/googleapis/logging__v2.json
+++ b/discovery/googleapis/logging__v2.json
@@ -47,11 +47,6 @@
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
"$.xgafv": {
"description": "V1 error format.",
"enum": [
@@ -65,6 +60,11 @@
"location": "query",
"type": "string"
},
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -81,13 +81,13 @@
"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.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
+ "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"
},
@@ -102,13 +102,13 @@
"location": "query",
"type": "boolean"
},
- "bearer_token": {
- "description": "OAuth bearer token.",
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
+ "bearer_token": {
+ "description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
@@ -163,11 +163,6 @@
"parent"
],
"parameters": {
- "pageToken": {
- "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
- "location": "query",
- "type": "string"
- },
"pageSize": {
"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
"format": "int32",
@@ -180,6 +175,11 @@
"pattern": "^organizations/[^/]+$",
"required": true,
"type": "string"
+ },
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query",
+ "type": "string"
}
},
"path": "v2/{+parent}/logs",
@@ -230,11 +230,6 @@
"parent"
],
"parameters": {
- "pageToken": {
- "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
- "location": "query",
- "type": "string"
- },
"pageSize": {
"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
"format": "int32",
@@ -247,6 +242,11 @@
"pattern": "^organizations/[^/]+$",
"required": true,
"type": "string"
+ },
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query",
+ "type": "string"
}
},
"path": "v2/{+parent}/sinks",
@@ -380,7 +380,7 @@
]
},
"write": {
- "description": "Writes log entries to Stackdriver Logging. All log entries are written by this method.",
+ "description": "Writes log entries to Stackdriver Logging.",
"httpMethod": "POST",
"id": "logging.entries.write",
"parameterOrder": [],
@@ -471,6 +471,71 @@
},
"sinks": {
"methods": {
+ "list": {
+ "description": "Lists sinks.",
+ "httpMethod": "GET",
+ "id": "logging.projects.sinks.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "parent": {
+ "description": "Required. The parent resource whose sinks are to be listed:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2/{+parent}/sinks",
+ "response": {
+ "$ref": "ListSinksResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ]
+ },
+ "get": {
+ "description": "Gets a sink.",
+ "httpMethod": "GET",
+ "id": "logging.projects.sinks.get",
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "parameters": {
+ "sinkName": {
+ "description": "Required. The resource name of the sink:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".",
+ "location": "path",
+ "pattern": "^projects/[^/]+/sinks/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2/{+sinkName}",
+ "response": {
+ "$ref": "LogSink"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ]
+ },
"update": {
"description": "Updates a sink. If the named sink doesn't exist, then this method is identical to sinks.create. If the named sink does exist, then this method replaces the following fields in the existing sink with values from the new sink: destination, filter, output_version_format, start_time, and end_time. The updated filter might also have a new writer_identity; see the unique_writer_identity field.",
"httpMethod": "PUT",
@@ -561,102 +626,11 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/logging.admin"
]
- },
- "list": {
- "description": "Lists sinks.",
- "httpMethod": "GET",
- "id": "logging.projects.sinks.list",
- "parameterOrder": [
- "parent"
- ],
- "parameters": {
- "pageToken": {
- "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "parent": {
- "description": "Required. The parent resource whose sinks are to be listed:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n",
- "location": "path",
- "pattern": "^projects/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v2/{+parent}/sinks",
- "response": {
- "$ref": "ListSinksResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only",
- "https://www.googleapis.com/auth/logging.admin",
- "https://www.googleapis.com/auth/logging.read"
- ]
- },
- "get": {
- "description": "Gets a sink.",
- "httpMethod": "GET",
- "id": "logging.projects.sinks.get",
- "parameterOrder": [
- "sinkName"
- ],
- "parameters": {
- "sinkName": {
- "description": "Required. The resource name of the sink:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".",
- "location": "path",
- "pattern": "^projects/[^/]+/sinks/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v2/{+sinkName}",
- "response": {
- "$ref": "LogSink"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only",
- "https://www.googleapis.com/auth/logging.admin",
- "https://www.googleapis.com/auth/logging.read"
- ]
}
}
},
"metrics": {
"methods": {
- "delete": {
- "description": "Deletes a logs-based metric.",
- "httpMethod": "DELETE",
- "id": "logging.projects.metrics.delete",
- "parameterOrder": [
- "metricName"
- ],
- "parameters": {
- "metricName": {
- "description": "The resource name of the metric to delete:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n",
- "location": "path",
- "pattern": "^projects/[^/]+/metrics/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v2/{+metricName}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/logging.admin",
- "https://www.googleapis.com/auth/logging.write"
- ]
- },
"list": {
"description": "Lists logs-based metrics.",
"httpMethod": "GET",
@@ -779,6 +753,32 @@
"https://www.googleapis.com/auth/logging.admin",
"https://www.googleapis.com/auth/logging.write"
]
+ },
+ "delete": {
+ "description": "Deletes a logs-based metric.",
+ "httpMethod": "DELETE",
+ "id": "logging.projects.metrics.delete",
+ "parameterOrder": [
+ "metricName"
+ ],
+ "parameters": {
+ "metricName": {
+ "description": "The resource name of the metric to delete:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n",
+ "location": "path",
+ "pattern": "^projects/[^/]+/metrics/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2/{+metricName}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.write"
+ ]
}
}
}
@@ -821,6 +821,12 @@
"parent"
],
"parameters": {
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
"parent": {
"description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n",
"location": "path",
@@ -832,12 +838,6 @@
"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
"location": "query",
"type": "string"
- },
- "pageSize": {
- "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
- "format": "int32",
- "location": "query",
- "type": "integer"
}
},
"path": "v2/{+parent}/logs",
@@ -855,31 +855,6 @@
},
"sinks": {
"methods": {
- "delete": {
- "description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.",
- "httpMethod": "DELETE",
- "id": "logging.billingAccounts.sinks.delete",
- "parameterOrder": [
- "sinkName"
- ],
- "parameters": {
- "sinkName": {
- "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".",
- "location": "path",
- "pattern": "^billingAccounts/[^/]+/sinks/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v2/{+sinkName}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/logging.admin"
- ]
- },
"list": {
"description": "Lists sinks.",
"httpMethod": "GET",
@@ -1010,6 +985,31 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/logging.admin"
]
+ },
+ "delete": {
+ "description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.",
+ "httpMethod": "DELETE",
+ "id": "logging.billingAccounts.sinks.delete",
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "parameters": {
+ "sinkName": {
+ "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".",
+ "location": "path",
+ "pattern": "^billingAccounts/[^/]+/sinks/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2/{+sinkName}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ]
}
}
}
@@ -1086,31 +1086,6 @@
},
"sinks": {
"methods": {
- "delete": {
- "description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.",
- "httpMethod": "DELETE",
- "id": "logging.folders.sinks.delete",
- "parameterOrder": [
- "sinkName"
- ],
- "parameters": {
- "sinkName": {
- "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".",
- "location": "path",
- "pattern": "^folders/[^/]+/sinks/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v2/{+sinkName}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/logging.admin"
- ]
- },
"list": {
"description": "Lists sinks.",
"httpMethod": "GET",
@@ -1119,11 +1094,6 @@
"parent"
],
"parameters": {
- "pageToken": {
- "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
- "location": "query",
- "type": "string"
- },
"pageSize": {
"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
"format": "int32",
@@ -1136,6 +1106,11 @@
"pattern": "^folders/[^/]+$",
"required": true,
"type": "string"
+ },
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query",
+ "type": "string"
}
},
"path": "v2/{+parent}/sinks",
@@ -1217,17 +1192,17 @@
"parent"
],
"parameters": {
+ "uniqueWriterIdentity": {
+ "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Stackdriver Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.",
+ "location": "query",
+ "type": "boolean"
+ },
"parent": {
"description": "Required. The resource in which to create the sink:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\nExamples: \"projects/my-logging-project\", \"organizations/123456789\".",
"location": "path",
"pattern": "^folders/[^/]+$",
"required": true,
"type": "string"
- },
- "uniqueWriterIdentity": {
- "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Stackdriver Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.",
- "location": "query",
- "type": "boolean"
}
},
"path": "v2/{+parent}/sinks",
@@ -1241,6 +1216,31 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/logging.admin"
]
+ },
+ "delete": {
+ "description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.",
+ "httpMethod": "DELETE",
+ "id": "logging.folders.sinks.delete",
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "parameters": {
+ "sinkName": {
+ "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".",
+ "location": "path",
+ "pattern": "^folders/[^/]+/sinks/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2/{+sinkName}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ]
}
}
}
@@ -1280,20 +1280,241 @@
}
}
},
- "revision": "20170228",
+ "revision": "20170320",
"rootUrl": "https://logging.googleapis.com/",
"schemas": {
+ "LogEntrySourceLocation": {
+ "description": "Additional information about the source code location that produced the log entry.",
+ "id": "LogEntrySourceLocation",
+ "properties": {
+ "file": {
+ "description": "Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.",
+ "type": "string"
+ },
+ "function": {
+ "description": "Optional. Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information may be used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python).",
+ "type": "string"
+ },
+ "line": {
+ "description": "Optional. Line within the source file. 1-based; 0 indicates no line number available.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListLogEntriesResponse": {
+ "description": "Result returned from ListLogEntries.",
+ "id": "ListLogEntriesResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.If a value for next_page_token appears and the entries field is empty, it means that the search found no log entries so far but it did not have time to search all the possible log entries. Retry the method with this value for page_token to continue the search. Alternatively, consider speeding up the search by changing your filter to specify a single log name or resource type, or to narrow the time range of the search.",
+ "type": "string"
+ },
+ "entries": {
+ "description": "A list of log entries.",
+ "items": {
+ "$ref": "LogEntry"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "LogLine": {
+ "description": "Application log line emitted while processing a request.",
+ "id": "LogLine",
+ "properties": {
+ "severity": {
+ "description": "Severity of this log entry.",
+ "enum": [
+ "DEFAULT",
+ "DEBUG",
+ "INFO",
+ "NOTICE",
+ "WARNING",
+ "ERROR",
+ "CRITICAL",
+ "ALERT",
+ "EMERGENCY"
+ ],
+ "enumDescriptions": [
+ "(0) The log entry has no assigned severity level.",
+ "(100) Debug or trace information.",
+ "(200) Routine information, such as ongoing status or performance.",
+ "(300) Normal but significant events, such as start up, shut down, or a configuration change.",
+ "(400) Warning events might cause problems.",
+ "(500) Error events are likely to cause problems.",
+ "(600) Critical events cause more severe problems or outages.",
+ "(700) A person must take an action immediately.",
+ "(800) One or more systems are unusable."
+ ],
+ "type": "string"
+ },
+ "logMessage": {
+ "description": "App-provided log message.",
+ "type": "string"
+ },
+ "sourceLocation": {
+ "$ref": "SourceLocation",
+ "description": "Where in the source code this log message was written."
+ },
+ "time": {
+ "description": "Approximate time when this log entry was made.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListLogMetricsResponse": {
+ "description": "Result returned from ListLogMetrics.",
+ "id": "ListLogMetricsResponse",
+ "properties": {
+ "metrics": {
+ "description": "A list of logs-based metrics.",
+ "items": {
+ "$ref": "LogMetric"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "LogEntry": {
+ "description": "An individual entry in a log.",
+ "id": "LogEntry",
+ "properties": {
+ "logName": {
+ "description": "Required. The resource name of the log to which this log entry belongs:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded within log_name. Example: \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". [LOG_ID] must be less than 512 characters long and can only include the following characters: upper and lower case alphanumeric characters, forward-slash, underscore, hyphen, and period.For backward compatibility, if log_name begins with a forward-slash, such as /projects/..., then the log entry is ingested as usual but the forward-slash is removed. Listing the log entry will not show the leading slash and filtering for a log name with a leading slash will never return any results.",
+ "type": "string"
+ },
+ "httpRequest": {
+ "$ref": "HttpRequest",
+ "description": "Optional. Information about the HTTP request associated with this log entry, if applicable."
+ },
+ "resource": {
+ "$ref": "MonitoredResource",
+ "description": "Required. The monitored resource associated with this log entry. Example: a log entry that reports a database error would be associated with the monitored resource designating the particular database that reported the error."
+ },
+ "jsonPayload": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "The log entry payload, represented as a structure that is expressed as a JSON object.",
+ "type": "object"
+ },
+ "insertId": {
+ "description": "Optional. A unique identifier for the log entry. If you provide a value, then Stackdriver Logging considers other log entries in the same project, with the same timestamp, and with the same insert_id to be duplicates which can be removed. If omitted in new log entries, then Stackdriver Logging will insert its own unique identifier. The insert_id is used to order log entries that have the same timestamp value.",
+ "type": "string"
+ },
+ "operation": {
+ "$ref": "LogEntryOperation",
+ "description": "Optional. Information about an operation associated with the log entry, if applicable."
+ },
+ "textPayload": {
+ "description": "The log entry payload, represented as a Unicode string (UTF-8).",
+ "type": "string"
+ },
+ "protoPayload": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The log entry payload, represented as a protocol buffer. Some Google Cloud Platform services use this field for their log entry payloads.",
+ "type": "object"
+ },
+ "trace": {
+ "description": "Optional. Resource name of the trace associated with the log entry, if any. If it contains a relative resource name, the name is assumed to be relative to //tracing.googleapis.com. Example: projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824",
+ "type": "string"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Optional. A set of user-defined (key, value) data that provides additional information about the log entry.",
+ "type": "object"
+ },
+ "severity": {
+ "description": "Optional. The severity of the log entry. The default value is LogSeverity.DEFAULT.",
+ "enum": [
+ "DEFAULT",
+ "DEBUG",
+ "INFO",
+ "NOTICE",
+ "WARNING",
+ "ERROR",
+ "CRITICAL",
+ "ALERT",
+ "EMERGENCY"
+ ],
+ "enumDescriptions": [
+ "(0) The log entry has no assigned severity level.",
+ "(100) Debug or trace information.",
+ "(200) Routine information, such as ongoing status or performance.",
+ "(300) Normal but significant events, such as start up, shut down, or a configuration change.",
+ "(400) Warning events might cause problems.",
+ "(500) Error events are likely to cause problems.",
+ "(600) Critical events cause more severe problems or outages.",
+ "(700) A person must take an action immediately.",
+ "(800) One or more systems are unusable."
+ ],
+ "type": "string"
+ },
+ "sourceLocation": {
+ "$ref": "LogEntrySourceLocation",
+ "description": "Optional. Source code location information associated with the log entry, if any."
+ },
+ "timestamp": {
+ "description": "Optional. The time the event described by the log entry occurred. If omitted in a new log entry, Stackdriver Logging will insert the time the log entry is received. Stackdriver Logging might reject log entries whose time stamps are more than a couple of hours in the future. Log entries with time stamps in the past are accepted.",
+ "format": "google-datetime",
+ "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:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
+ "SourceLocation": {
+ "description": "Specifies a location in a source code file.",
+ "id": "SourceLocation",
+ "properties": {
+ "file": {
+ "description": "Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.",
+ "type": "string"
+ },
+ "functionName": {
+ "description": "Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information is used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python).",
+ "type": "string"
+ },
+ "line": {
+ "description": "Line within the source file.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"ListLogEntriesRequest": {
"description": "The parameters to ListLogEntries.",
"id": "ListLogEntriesRequest",
"properties": {
"pageSize": {
- "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of next_page_token in the response indicates that more results might be available.",
"format": "int32",
"type": "integer"
},
"orderBy": {
- "description": "Optional. How the results should be sorted. Presently, the only permitted values are \"timestamp asc\" (default) and \"timestamp desc\". The first option returns entries in order of increasing values of LogEntry.timestamp (oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are returned in order of LogEntry.insertId.",
+ "description": "Optional. How the results should be sorted. Presently, the only permitted values are \"timestamp asc\" (default) and \"timestamp desc\". The first option returns entries in order of increasing values of LogEntry.timestamp (oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are returned in order of their insert_id values.",
"type": "string"
},
"resourceNames": {
@@ -1315,7 +1536,7 @@
"type": "string"
},
"pageToken": {
- "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. page_token must be the value of next_page_token from the previous response. The values of other method parameters should be identical to those in the previous call.",
"type": "string"
}
},
@@ -1325,11 +1546,6 @@
"description": "Complete log information about a single HTTP request to an App Engine application.",
"id": "RequestLog",
"properties": {
- "megaCycles": {
- "description": "Number of CPU megacycles used to process request.",
- "format": "int64",
- "type": "string"
- },
"first": {
"description": "Whether this is the first RequestLog entry for this request. If an active request has several RequestLog entries written to Stackdriver Logging, then this field will be set for one of them.",
"type": "boolean"
@@ -1421,14 +1637,14 @@
"format": "int32",
"type": "integer"
},
- "finished": {
- "description": "Whether this request is finished or active.",
- "type": "boolean"
- },
"host": {
"description": "Internet host and port number of the resource being requested.",
"type": "string"
},
+ "finished": {
+ "description": "Whether this request is finished or active.",
+ "type": "boolean"
+ },
"httpVersion": {
"description": "HTTP version of request. Example: \"HTTP/1.1\".",
"type": "string"
@@ -1467,6 +1683,11 @@
"instanceId": {
"description": "An identifier for the instance that handled the request.",
"type": "string"
+ },
+ "megaCycles": {
+ "description": "Number of CPU megacycles used to process request.",
+ "format": "int64",
+ "type": "string"
}
},
"type": "object"
@@ -1493,42 +1714,13 @@
"description": "A reference to a particular snapshot of the source tree used to build and deploy an application.",
"id": "SourceReference",
"properties": {
- "revisionId": {
- "description": "The canonical and persistent identifier of the deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\"",
- "type": "string"
- },
"repository": {
"description": "Optional. A URI string identifying the repository. Example: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"",
"type": "string"
- }
- },
- "type": "object"
- },
- "WriteLogEntriesResponse": {
- "description": "Result returned from WriteLogEntries. empty",
- "id": "WriteLogEntriesResponse",
- "properties": {},
- "type": "object"
- },
- "LogEntryOperation": {
- "description": "Additional information about a potentially long-running operation with which a log entry is associated.",
- "id": "LogEntryOperation",
- "properties": {
- "id": {
- "description": "Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.",
+ },
+ "revisionId": {
+ "description": "The canonical and persistent identifier of the deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\"",
"type": "string"
- },
- "producer": {
- "description": "Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: \"MyDivision.MyBigCompany.com\", \"github.com/MyProject/MyApplication\".",
- "type": "string"
- },
- "first": {
- "description": "Optional. Set this to True if this is the first log entry in the operation.",
- "type": "boolean"
- },
- "last": {
- "description": "Optional. Set this to True if this is the last log entry in the operation.",
- "type": "boolean"
}
},
"type": "object"
@@ -1537,6 +1729,10 @@
"description": "Describes a logs-based metric. The value of the metric is the number of log entries that match a logs filter in a given time interval.",
"id": "LogMetric",
"properties": {
+ "description": {
+ "description": "Optional. A description of this metric, which is used in documentation.",
+ "type": "string"
+ },
"version": {
"description": "Output only. The API version that created or updated this metric. The version also dictates the syntax of the filter expression. When a value for this field is missing, the default value of V2 should be assumed.",
"enum": [
@@ -1556,27 +1752,99 @@
"name": {
"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.The metric identifier in this field must not be URL-encoded (https://en.wikipedia.org/wiki/Percent-encoding). However, when the metric identifier appears as the [METRIC_ID] part of a metric_name API parameter, then the metric identifier must be URL-encoded. Example: \"projects/my-project/metrics/nginx%2Frequests\".",
"type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "LogEntryOperation": {
+ "description": "Additional information about a potentially long-running operation with which a log entry is associated.",
+ "id": "LogEntryOperation",
+ "properties": {
+ "producer": {
+ "description": "Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: \"MyDivision.MyBigCompany.com\", \"github.com/MyProject/MyApplication\".",
+ "type": "string"
},
- "description": {
- "description": "Optional. A description of this metric, which is used in documentation.",
+ "first": {
+ "description": "Optional. Set this to True if this is the first log entry in the operation.",
+ "type": "boolean"
+ },
+ "last": {
+ "description": "Optional. Set this to True if this is the last log entry in the operation.",
+ "type": "boolean"
+ },
+ "id": {
+ "description": "Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.",
"type": "string"
}
},
"type": "object"
},
+ "WriteLogEntriesResponse": {
+ "description": "Result returned from WriteLogEntries. empty",
+ "id": "WriteLogEntriesResponse",
+ "properties": {},
+ "type": "object"
+ },
"MonitoredResource": {
"description": "An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for \"gce_instance\" has labels \"instance_id\" and \"zone\":\n{ \"type\": \"gce_instance\",\n \"labels\": { \"instance_id\": \"12345678901234\",\n \"zone\": \"us-central1-a\" }}\n",
"id": "MonitoredResource",
"properties": {
+ "type": {
+ "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL database is \"cloudsql_database\".",
+ "type": "string"
+ },
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Cloud SQL databases use the labels \"database_id\" and \"zone\".",
"type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "LogSink": {
+ "description": "Describes a sink used to export log entries to one of the following destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a Cloud Pub/Sub topic. A logs filter controls which log entries are exported. The sink must be created within a project, organization, billing account, or folder.",
+ "id": "LogSink",
+ "properties": {
+ "name": {
+ "description": "Required. The client-assigned sink identifier, unique within the project. Example: \"my-syslog-errors-to-pubsub\". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.",
+ "type": "string"
},
- "type": {
- "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL database is \"cloudsql_database\".",
+ "destination": {
+ "description": "Required. The export destination:\n\"storage.googleapis.com/[GCS_BUCKET]\"\n\"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]\"\n\"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]\"\nThe sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs With Sinks.",
+ "type": "string"
+ },
+ "filter": {
+ "description": "Optional. An advanced logs filter. The only exported log entries are those that are in the resource owning the sink and that match the filter. The filter must use the log entry format specified by the output_version_format parameter. For example, in the v2 format:\nlogName=\"projects/[PROJECT_ID]/logs/[LOG_ID]\" AND severity>=ERROR\n",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Optional. The time at which this sink will stop exporting log entries. Log entries are exported only if their timestamp is earlier than the end time. If this field is not supplied, there is no end time. If both a start time and an end time are provided, then the end time must be later than the start time.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "Optional. The time at which this sink will begin exporting log entries. Log entries are exported only if their timestamp is not earlier than the start time. The default value of this field is the time the sink is created or updated.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "writerIdentity": {
+ "description": "Output only. An IAM identity—a service account or group—under which Stackdriver Logging writes the exported log entries to the sink's destination. This field is set by sinks.create and sinks.update, based on the setting of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting access for a resource. Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.",
+ "type": "string"
+ },
+ "outputVersionFormat": {
+ "description": "Optional. The log entry format to use for this sink's exported log entries. The v2 format is used by default. The v1 format is deprecated and should be used only as part of a migration effort to v2. See Migration to the v2 API.",
+ "enum": [
+ "VERSION_FORMAT_UNSPECIFIED",
+ "V2",
+ "V1"
+ ],
+ "enumDescriptions": [
+ "An unspecified format version that will default to V2.",
+ "LogEntry version 2 format.",
+ "LogEntry version 1 format."
+ ],
"type": "string"
}
},
@@ -1602,80 +1870,33 @@
"type": "string"
},
"entries": {
- "description": "Required. The log entries to write. Values supplied for the fields log_name, resource, and labels in this entries.write request are added to those log entries that do not provide their own values for the fields.To improve throughput and to avoid exceeding the quota limit for calls to entries.write, you should write multiple log entries at once rather than calling this method for each individual log entry.",
+ "description": "Required. The log entries to write. Values supplied for the fields log_name, resource, and labels in this entries.write request are inserted into those log entries in this list that do not provide their own values.Stackdriver Logging also creates and inserts values for timestamp and insert_id if the entries do not provide them. The created insert_id for the N'th entry in this list will be greater than earlier entries and less than later entries. Otherwise, the order of log entries in this list does not matter.To improve throughput and to avoid exceeding the quota limit for calls to entries.write, you should write multiple log entries at once rather than calling this method for each individual log entry.",
"items": {
"$ref": "LogEntry"
},
"type": "array"
},
"partialSuccess": {
- "description": "Optional. Whether valid entries should be written even if some other entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not written, the response status will be the error associated with one of the failed entries and include error details in the form of WriteLogEntriesPartialErrors.",
+ "description": "Optional. Whether valid entries should be written even if some other entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not written, then the response status is the error associated with one of the failed entries and the response includes error details keyed by the entries' zero-based index in the entries.write method.",
"type": "boolean"
}
},
"type": "object"
},
- "LogSink": {
- "description": "Describes a sink used to export log entries to one of the following destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a Cloud Pub/Sub topic. A logs filter controls which log entries are exported. The sink must be created within a project, organization, billing account, or folder.",
- "id": "LogSink",
- "properties": {
- "destination": {
- "description": "Required. The export destination:\n\"storage.googleapis.com/[GCS_BUCKET]\"\n\"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]\"\n\"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]\"\nThe sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs With Sinks.",
- "type": "string"
- },
- "filter": {
- "description": "Optional. An advanced logs filter. The only exported log entries are those that are in the resource owning the sink and that match the filter. The filter must use the log entry format specified by the output_version_format parameter. For example, in the v2 format:\nlogName=\"projects/[PROJECT_ID]/logs/[LOG_ID]\" AND severity>=ERROR\n",
- "type": "string"
- },
- "endTime": {
- "description": "Optional. The time at which this sink will stop exporting log entries. Log entries are exported only if their timestamp is earlier than the end time. If this field is not supplied, there is no end time. If both a start time and an end time are provided, then the end time must be later than the start time.",
- "format": "google-datetime",
- "type": "string"
- },
- "writerIdentity": {
- "description": "Output only. An IAM identity—a service account or group—under which Stackdriver Logging writes the exported log entries to the sink's destination. This field is set by sinks.create and sinks.update, based on the setting of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting access for a resource. Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.",
- "type": "string"
- },
- "startTime": {
- "description": "Optional. The time at which this sink will begin exporting log entries. Log entries are exported only if their timestamp is not earlier than the start time. The default value of this field is the time the sink is created or updated.",
- "format": "google-datetime",
- "type": "string"
- },
- "outputVersionFormat": {
- "description": "Optional. The log entry format to use for this sink's exported log entries. The v2 format is used by default. The v1 format is deprecated and should be used only as part of a migration effort to v2. See Migration to the v2 API.",
- "enum": [
- "VERSION_FORMAT_UNSPECIFIED",
- "V2",
- "V1"
- ],
- "enumDescriptions": [
- "An unspecified format version that will default to V2.",
- "LogEntry version 2 format.",
- "LogEntry version 1 format."
- ],
- "type": "string"
- },
- "name": {
- "description": "Required. The client-assigned sink identifier, unique within the project. Example: \"my-syslog-errors-to-pubsub\". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.",
- "type": "string"
- }
- },
- "type": "object"
- },
"ListLogsResponse": {
"description": "Result returned from ListLogs.",
"id": "ListLogsResponse",
"properties": {
+ "nextPageToken": {
+ "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.",
+ "type": "string"
+ },
"logNames": {
"description": "A list of log names. For example, \"projects/my-project/syslog\" or \"organizations/123/cloudresourcemanager.googleapis.com%2Factivity\".",
"items": {
"type": "string"
},
"type": "array"
- },
- "nextPageToken": {
- "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.",
- "type": "string"
}
},
"type": "object"
@@ -1684,16 +1905,16 @@
"description": "Result returned from ListSinks.",
"id": "ListSinksResponse",
"properties": {
+ "nextPageToken": {
+ "description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.",
+ "type": "string"
+ },
"sinks": {
"description": "A list of sinks.",
"items": {
"$ref": "LogSink"
},
"type": "array"
- },
- "nextPageToken": {
- "description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.",
- "type": "string"
}
},
"type": "object"
@@ -1702,26 +1923,6 @@
"description": "A common proto for logging HTTP requests. Only contains semantics defined by the HTTP specification. Product-specific logging information MUST be defined in a separate message.",
"id": "HttpRequest",
"properties": {
- "requestUrl": {
- "description": "The scheme (http, https), the host name, the path and the query portion of the URL that was requested. Example: \"http://example.com/some/info?color=red\".",
- "type": "string"
- },
- "serverIp": {
- "description": "The IP address (IPv4 or IPv6) of the origin server that the request was sent to.",
- "type": "string"
- },
- "remoteIp": {
- "description": "The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: \"192.168.1.1\", \"FE80::0202:B3FF:FE1E:8329\".",
- "type": "string"
- },
- "cacheLookup": {
- "description": "Whether or not a cache lookup was attempted.",
- "type": "boolean"
- },
- "cacheHit": {
- "description": "Whether or not an entity was served from cache (with or without validation).",
- "type": "boolean"
- },
"cacheValidatedWithOriginServer": {
"description": "Whether or not the response was validated with the origin server before being served from cache. This field is only meaningful if cache_hit is True.",
"type": "boolean"
@@ -1762,6 +1963,26 @@
"description": "The size of the HTTP request message in bytes, including the request headers and the request body.",
"format": "int64",
"type": "string"
+ },
+ "requestUrl": {
+ "description": "The scheme (http, https), the host name, the path and the query portion of the URL that was requested. Example: \"http://example.com/some/info?color=red\".",
+ "type": "string"
+ },
+ "serverIp": {
+ "description": "The IP address (IPv4 or IPv6) of the origin server that the request was sent to.",
+ "type": "string"
+ },
+ "remoteIp": {
+ "description": "The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: \"192.168.1.1\", \"FE80::0202:B3FF:FE1E:8329\".",
+ "type": "string"
+ },
+ "cacheLookup": {
+ "description": "Whether or not a cache lookup was attempted.",
+ "type": "boolean"
+ },
+ "cacheHit": {
+ "description": "Whether or not an entity was served from cache (with or without validation).",
+ "type": "boolean"
}
},
"type": "object"
@@ -1770,10 +1991,6 @@
"description": "A description of a label.",
"id": "LabelDescriptor",
"properties": {
- "key": {
- "description": "The label key.",
- "type": "string"
- },
"description": {
"description": "A human-readable description for the label.",
"type": "string"
@@ -1791,6 +2008,10 @@
"A 64-bit signed integer."
],
"type": "string"
+ },
+ "key": {
+ "description": "The label key.",
+ "type": "string"
}
},
"type": "object"
@@ -1799,6 +2020,13 @@
"description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of \"gce_instance\" and specifies the use of the labels \"instance_id\" and \"zone\" to identify particular VM instances.Different APIs can support different monitored resource types. APIs generally provide a list method that returns the monitored resource descriptors used by the API.",
"id": "MonitoredResourceDescriptor",
"properties": {
+ "labels": {
+ "description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels \"database_id\" and \"zone\".",
+ "items": {
+ "$ref": "LabelDescriptor"
+ },
+ "type": "array"
+ },
"name": {
"description": "Optional. The resource name of the monitored resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type}\" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format \"monitoredResourceDescriptors/{type}\".",
"type": "string"
@@ -1814,234 +2042,6 @@
"type": {
"description": "Required. The monitored resource type. For example, the type \"cloudsql_database\" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.",
"type": "string"
- },
- "labels": {
- "description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels \"database_id\" and \"zone\".",
- "items": {
- "$ref": "LabelDescriptor"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "LogEntrySourceLocation": {
- "description": "Additional information about the source code location that produced the log entry.",
- "id": "LogEntrySourceLocation",
- "properties": {
- "line": {
- "description": "Optional. Line within the source file. 1-based; 0 indicates no line number available.",
- "format": "int64",
- "type": "string"
- },
- "file": {
- "description": "Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.",
- "type": "string"
- },
- "function": {
- "description": "Optional. Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information may be used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListLogEntriesResponse": {
- "description": "Result returned from ListLogEntries.",
- "id": "ListLogEntriesResponse",
- "properties": {
- "entries": {
- "description": "A list of log entries.",
- "items": {
- "$ref": "LogEntry"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.If a value for next_page_token appears and the entries field is empty, it means that the search found no log entries so far but it did not have time to search all the possible log entries. Retry the method with this value for page_token to continue the search. Alternatively, consider speeding up the search by changing your filter to specify a single log name or resource type, or to narrow the time range of the search.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "LogLine": {
- "description": "Application log line emitted while processing a request.",
- "id": "LogLine",
- "properties": {
- "sourceLocation": {
- "$ref": "SourceLocation",
- "description": "Where in the source code this log message was written."
- },
- "time": {
- "description": "Approximate time when this log entry was made.",
- "format": "google-datetime",
- "type": "string"
- },
- "severity": {
- "description": "Severity of this log entry.",
- "enum": [
- "DEFAULT",
- "DEBUG",
- "INFO",
- "NOTICE",
- "WARNING",
- "ERROR",
- "CRITICAL",
- "ALERT",
- "EMERGENCY"
- ],
- "enumDescriptions": [
- "(0) The log entry has no assigned severity level.",
- "(100) Debug or trace information.",
- "(200) Routine information, such as ongoing status or performance.",
- "(300) Normal but significant events, such as start up, shut down, or a configuration change.",
- "(400) Warning events might cause problems.",
- "(500) Error events are likely to cause problems.",
- "(600) Critical events cause more severe problems or outages.",
- "(700) A person must take an action immediately.",
- "(800) One or more systems are unusable."
- ],
- "type": "string"
- },
- "logMessage": {
- "description": "App-provided log message.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListLogMetricsResponse": {
- "description": "Result returned from ListLogMetrics.",
- "id": "ListLogMetricsResponse",
- "properties": {
- "metrics": {
- "description": "A list of logs-based metrics.",
- "items": {
- "$ref": "LogMetric"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.",
- "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:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}.",
- "id": "Empty",
- "properties": {},
- "type": "object"
- },
- "LogEntry": {
- "description": "An individual entry in a log.",
- "id": "LogEntry",
- "properties": {
- "httpRequest": {
- "$ref": "HttpRequest",
- "description": "Optional. Information about the HTTP request associated with this log entry, if applicable."
- },
- "resource": {
- "$ref": "MonitoredResource",
- "description": "Required. The monitored resource associated with this log entry. Example: a log entry that reports a database error would be associated with the monitored resource designating the particular database that reported the error."
- },
- "jsonPayload": {
- "additionalProperties": {
- "description": "Properties of the object.",
- "type": "any"
- },
- "description": "The log entry payload, represented as a structure that is expressed as a JSON object.",
- "type": "object"
- },
- "operation": {
- "$ref": "LogEntryOperation",
- "description": "Optional. Information about an operation associated with the log entry, if applicable."
- },
- "insertId": {
- "description": "Optional. A unique ID for the log entry. If you provide this field, the logging service considers other log entries in the same project with the same ID as duplicates which can be removed. If omitted, Stackdriver Logging will generate a unique ID for this log entry.",
- "type": "string"
- },
- "textPayload": {
- "description": "The log entry payload, represented as a Unicode string (UTF-8).",
- "type": "string"
- },
- "protoPayload": {
- "additionalProperties": {
- "description": "Properties of the object. Contains field @type with type URL.",
- "type": "any"
- },
- "description": "The log entry payload, represented as a protocol buffer. Some Google Cloud Platform services use this field for their log entry payloads.",
- "type": "object"
- },
- "trace": {
- "description": "Optional. Resource name of the trace associated with the log entry, if any. If it contains a relative resource name, the name is assumed to be relative to //tracing.googleapis.com. Example: projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824",
- "type": "string"
- },
- "labels": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Optional. A set of user-defined (key, value) data that provides additional information about the log entry.",
- "type": "object"
- },
- "severity": {
- "description": "Optional. The severity of the log entry. The default value is LogSeverity.DEFAULT.",
- "enum": [
- "DEFAULT",
- "DEBUG",
- "INFO",
- "NOTICE",
- "WARNING",
- "ERROR",
- "CRITICAL",
- "ALERT",
- "EMERGENCY"
- ],
- "enumDescriptions": [
- "(0) The log entry has no assigned severity level.",
- "(100) Debug or trace information.",
- "(200) Routine information, such as ongoing status or performance.",
- "(300) Normal but significant events, such as start up, shut down, or a configuration change.",
- "(400) Warning events might cause problems.",
- "(500) Error events are likely to cause problems.",
- "(600) Critical events cause more severe problems or outages.",
- "(700) A person must take an action immediately.",
- "(800) One or more systems are unusable."
- ],
- "type": "string"
- },
- "sourceLocation": {
- "$ref": "LogEntrySourceLocation",
- "description": "Optional. Source code location information associated with the log entry, if any."
- },
- "timestamp": {
- "description": "Optional. The time the event described by the log entry occurred. If omitted, Stackdriver Logging will use the time the log entry is received.",
- "format": "google-datetime",
- "type": "string"
- },
- "logName": {
- "description": "Required. The resource name of the log to which this log entry belongs:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded within log_name. Example: \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". [LOG_ID] must be less than 512 characters long and can only include the following characters: upper and lower case alphanumeric characters, forward-slash, underscore, hyphen, and period.For backward compatibility, if log_name begins with a forward-slash, such as /projects/..., then the log entry is ingested as usual but the forward-slash is removed. Listing the log entry will not show the leading slash and filtering for a log name with a leading slash will never return any results.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SourceLocation": {
- "description": "Specifies a location in a source code file.",
- "id": "SourceLocation",
- "properties": {
- "file": {
- "description": "Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.",
- "type": "string"
- },
- "functionName": {
- "description": "Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information is used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python).",
- "type": "string"
- },
- "line": {
- "description": "Line within the source file.",
- "format": "int64",
- "type": "string"
}
},
"type": "object"
diff --git a/discovery/googleapis/manufacturers__v1.json b/discovery/googleapis/manufacturers__v1.json
index 4753104..67d0cab 100644
--- a/discovery/googleapis/manufacturers__v1.json
+++ b/discovery/googleapis/manufacturers__v1.json
@@ -25,27 +25,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "access_token": {
- "description": "OAuth access token.",
- "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"
- },
- "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"
- },
- "pp": {
- "default": "true",
- "description": "Pretty-print response.",
- "location": "query",
- "type": "boolean"
- },
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"location": "query",
@@ -67,13 +46,13 @@
"location": "query",
"type": "boolean"
},
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
@@ -110,6 +89,27 @@
],
"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"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "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"
+ },
+ "pp": {
+ "default": "true",
+ "description": "Pretty-print response.",
+ "location": "query",
+ "type": "boolean"
}
},
"protocol": "rest",
@@ -126,6 +126,13 @@
"parent"
],
"parameters": {
+ "parent": {
+ "description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
+ "location": "path",
+ "pattern": "^accounts/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
"pageToken": {
"description": "The token returned by the previous request.",
"location": "query",
@@ -136,13 +143,6 @@
"format": "int32",
"location": "query",
"type": "integer"
- },
- "parent": {
- "description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
- "location": "path",
- "pattern": "^accounts/[^/]+$",
- "required": true,
- "type": "string"
}
},
"path": "v1/{+parent}/products",
@@ -162,19 +162,19 @@
"name"
],
"parameters": {
- "name": {
- "description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country of the product as a CLDR territory\n code (for example, US).\n\n`content_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.",
- "location": "path",
- "pattern": "^[^/]+$",
- "required": true,
- "type": "string"
- },
"parent": {
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
"location": "path",
"pattern": "^accounts/[^/]+$",
"required": true,
"type": "string"
+ },
+ "name": {
+ "description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country of the product as a CLDR territory\n code (for example, US).\n\n`content_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
}
},
"path": "v1/{+parent}/products/{+name}",
@@ -190,17 +190,66 @@
}
}
},
- "revision": "20161028",
+ "revision": "20170322",
"rootUrl": "https://manufacturers.googleapis.com/",
"schemas": {
+ "ListProductsResponse": {
+ "id": "ListProductsResponse",
+ "properties": {
+ "products": {
+ "description": "List of the products.",
+ "items": {
+ "$ref": "Product"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "The token for the retrieval of the next page of product statuses.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ProductDetail": {
+ "description": "A product detail of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.",
+ "id": "ProductDetail",
+ "properties": {
+ "attributeValue": {
+ "description": "The value of the attribute.",
+ "type": "string"
+ },
+ "sectionName": {
+ "description": "A short section name that can be reused between multiple product details.",
+ "type": "string"
+ },
+ "attributeName": {
+ "description": "The name of the attribute.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Issue": {
"description": "Product issue.",
"id": "Issue",
"properties": {
+ "description": {
+ "description": "Description of the issue.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The server-generated type of the issue, for example,\n“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.",
+ "type": "string"
+ },
"attribute": {
"description": "If present, the attribute that triggered the issue. For more information\nabout attributes, see\nhttps://support.google.com/manufacturers/answer/6124116.",
"type": "string"
},
+ "timestamp": {
+ "description": "The timestamp when this issue appeared.",
+ "format": "google-datetime",
+ "type": "string"
+ },
"severity": {
"description": "The severity of the issue.",
"enum": [
@@ -216,13 +265,263 @@
"Info severity. The issue is one that doesn't require immediate attention.\nIt is, for example, used to communicate which attributes are still\npending review."
],
"type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FeatureDescription": {
+ "description": "A feature description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc.",
+ "id": "FeatureDescription",
+ "properties": {
+ "text": {
+ "description": "A detailed description of the feature.",
+ "type": "string"
},
- "description": {
- "description": "Description of the issue.",
+ "image": {
+ "$ref": "Image",
+ "description": "An optional image describing the feature."
+ },
+ "headline": {
+ "description": "A short description of the feature.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Price": {
+ "description": "A price.",
+ "id": "Price",
+ "properties": {
+ "currency": {
+ "description": "The currency in which the price is denoted.",
+ "type": "string"
+ },
+ "amount": {
+ "description": "The numeric value of the price.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Image": {
+ "description": "An image.",
+ "id": "Image",
+ "properties": {
+ "status": {
+ "description": "The status of the image.\n@OutputOnly",
+ "enum": [
+ "STATUS_UNSPECIFIED",
+ "PENDING_PROCESSING",
+ "PENDING_CRAWL",
+ "OK",
+ "ROBOTED",
+ "XROBOTED",
+ "CRAWL_ERROR",
+ "PROCESSING_ERROR",
+ "DECODING_ERROR",
+ "TOO_BIG",
+ "CRAWL_SKIPPED"
+ ],
+ "enumDescriptions": [
+ "Status is unspecified. Should not be used.",
+ "Image was uploaded and is being processed.",
+ "The image crawl is still pending.",
+ "The image was processed and it meets the requirements.",
+ "The image URL is protected by robots.txt file and cannot be crawled.",
+ "The image URL is protected by X-Robots-Tag and cannot be crawled.",
+ "There was an error while crawling the image.",
+ "The image cannot be processed.",
+ "The image cannot be decoded.",
+ "The image is too big.",
+ "The image was manually overridden and will not be crawled."
+ ],
"type": "string"
},
"type": {
- "description": "The server-generated type of the issue, for example,\n“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.",
+ "description": "The type of the image, i.e., crawled or uploaded.\n@OutputOnly",
+ "enum": [
+ "TYPE_UNSPECIFIED",
+ "CRAWLED",
+ "UPLOADED"
+ ],
+ "enumDescriptions": [
+ "Type is unspecified. Should not be used.",
+ "The image was crawled from a provided URL.",
+ "The image was uploaded."
+ ],
+ "type": "string"
+ },
+ "imageUrl": {
+ "description": "The URL of the image. For crawled images, this is the provided URL. For\nuploaded images, this is a serving URL from Google if the image has been\nprocessed successfully.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Attributes": {
+ "description": "Attributes of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116.",
+ "id": "Attributes",
+ "properties": {
+ "productName": {
+ "description": "The canonical name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productname.",
+ "type": "string"
+ },
+ "sizeType": {
+ "description": "The size type of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#sizetype.",
+ "type": "string"
+ },
+ "suggestedRetailPrice": {
+ "$ref": "Price",
+ "description": "The suggested retail price (MSRP) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#price."
+ },
+ "featureDescription": {
+ "description": "The rich format description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc.",
+ "items": {
+ "$ref": "FeatureDescription"
+ },
+ "type": "array"
+ },
+ "size": {
+ "description": "The size of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#size.",
+ "type": "string"
+ },
+ "title": {
+ "description": "The title of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#title.",
+ "type": "string"
+ },
+ "count": {
+ "$ref": "Count",
+ "description": "The count of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count."
+ },
+ "brand": {
+ "description": "The brand name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#brand.",
+ "type": "string"
+ },
+ "disclosureDate": {
+ "description": "The disclosure date of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#disclosure.",
+ "type": "string"
+ },
+ "material": {
+ "description": "The material of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#material.",
+ "type": "string"
+ },
+ "scent": {
+ "description": "The scent of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#scent.",
+ "type": "string"
+ },
+ "ageGroup": {
+ "description": "The target age group of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#agegroup.",
+ "type": "string"
+ },
+ "productDetail": {
+ "description": "The details of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.",
+ "items": {
+ "$ref": "ProductDetail"
+ },
+ "type": "array"
+ },
+ "flavor": {
+ "description": "The flavor of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.",
+ "type": "string"
+ },
+ "productPageUrl": {
+ "description": "The URL of the detail page of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productpage.",
+ "type": "string"
+ },
+ "mpn": {
+ "description": "The Manufacturer Part Number (MPN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#mpn.",
+ "type": "string"
+ },
+ "releaseDate": {
+ "description": "The release date of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#release.",
+ "type": "string"
+ },
+ "gtin": {
+ "description": "The Global Trade Item Number (GTIN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#gtin.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "itemGroupId": {
+ "description": "The item group id of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#itemgroupid.",
+ "type": "string"
+ },
+ "productLine": {
+ "description": "The name of the group of products related to the product. For more\ninformation, see\nhttps://support.google.com/manufacturers/answer/6124116#productline.",
+ "type": "string"
+ },
+ "capacity": {
+ "$ref": "Capacity",
+ "description": "The capacity of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity."
+ },
+ "description": {
+ "description": "The description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#description.",
+ "type": "string"
+ },
+ "gender": {
+ "description": "The target gender of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#gender.",
+ "type": "string"
+ },
+ "sizeSystem": {
+ "description": "The size system of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#sizesystem.",
+ "type": "string"
+ },
+ "theme": {
+ "description": "The theme of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#theme.",
+ "type": "string"
+ },
+ "pattern": {
+ "description": "The pattern of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#pattern.",
+ "type": "string"
+ },
+ "imageLink": {
+ "$ref": "Image",
+ "description": "The image of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#image."
+ },
+ "productType": {
+ "description": "The category of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#producttype.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "format": {
+ "description": "The format of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#format.",
+ "type": "string"
+ },
+ "additionalImageLink": {
+ "description": "The additional images of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#addlimage.",
+ "items": {
+ "$ref": "Image"
+ },
+ "type": "array"
+ },
+ "videoLink": {
+ "description": "The videos of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#video.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "color": {
+ "description": "The color of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#color.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Count": {
+ "description": "The number of products in a single package. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count.",
+ "id": "Count",
+ "properties": {
+ "value": {
+ "description": "The numeric value of the number of products in a package.",
+ "format": "int64",
+ "type": "string"
+ },
+ "unit": {
+ "description": "The unit in which these products are counted.",
"type": "string"
}
},
@@ -232,28 +531,6 @@
"description": "Product data.",
"id": "Product",
"properties": {
- "issues": {
- "description": "A server-generated list of issues associated with the product.\n@OutputOnly",
- "items": {
- "$ref": "Issue"
- },
- "type": "array"
- },
- "manuallyDeletedAttributes": {
- "description": "Names of the attributes of the product deleted manually via the\nManufacturer Center UI.\n@OutputOnly",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "finalAttributes": {
- "$ref": "Attributes",
- "description": "Final attributes of the product. The final attributes are obtained by\noverriding the uploaded attributes with the manually provided and deleted\nattributes. Google systems only process, evaluate, review, and/or use final\nattributes.\n@OutputOnly"
- },
- "productId": {
- "description": "The ID of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
- "type": "string"
- },
"uploadedAttributes": {
"$ref": "Attributes",
"description": "Attributes of the product uploaded via the Manufacturer Center API or via\nfeeds."
@@ -277,67 +554,43 @@
"name": {
"description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country of the product as a CLDR territory\n code (for example, US).\n\n`content_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
"type": "string"
- }
- },
- "type": "object"
- },
- "Attributes": {
- "description": "Attributes of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116.",
- "id": "Attributes",
- "properties": {
- "gtin": {
- "description": "The Global Trade Item Number (GTIN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#gtin.",
+ },
+ "issues": {
+ "description": "A server-generated list of issues associated with the product.\n@OutputOnly",
+ "items": {
+ "$ref": "Issue"
+ },
+ "type": "array"
+ },
+ "manuallyDeletedAttributes": {
+ "description": "Names of the attributes of the product deleted manually via the\nManufacturer Center UI.\n@OutputOnly",
"items": {
"type": "string"
},
"type": "array"
},
- "title": {
- "description": "The title of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#title.",
- "type": "string"
+ "finalAttributes": {
+ "$ref": "Attributes",
+ "description": "Final attributes of the product. The final attributes are obtained by\noverriding the uploaded attributes with the manually provided and deleted\nattributes. Google systems only process, evaluate, review, and/or use final\nattributes.\n@OutputOnly"
},
- "productLine": {
- "description": "The name of the group of products related to the product. For more\ninformation, see\nhttps://support.google.com/manufacturers/answer/6124116#productline.",
- "type": "string"
- },
- "brand": {
- "description": "The brand name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#brand.",
- "type": "string"
- },
- "productName": {
- "description": "The canonical name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productname.",
- "type": "string"
- },
- "productType": {
- "description": "The manufacturer's category of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#producttype.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "mpn": {
- "description": "The Manufacturer Part Number (MPN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#mpn.",
- "type": "string"
- },
- "productPageUrl": {
- "description": "The URL of the manufacturer's detail page of the product. For more\ninformation, see\nhttps://support.google.com/manufacturers/answer/6124116#productpage.",
+ "productId": {
+ "description": "The ID of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
"type": "string"
}
},
"type": "object"
},
- "ListProductsResponse": {
- "id": "ListProductsResponse",
+ "Capacity": {
+ "description": "The capacity of a product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity.",
+ "id": "Capacity",
"properties": {
- "products": {
- "description": "List of the products.",
- "items": {
- "$ref": "Product"
- },
- "type": "array"
+ "value": {
+ "description": "The numeric value of the capacity.",
+ "format": "int64",
+ "type": "string"
},
- "nextPageToken": {
- "description": "The token for the retrieval of the next page of product statuses.",
+ "unit": {
+ "description": "The unit of the capacity, i.e., MB, GB, or TB.",
"type": "string"
}
},
diff --git a/discovery/googleapis/mirror__v1.json b/discovery/googleapis/mirror__v1.json
index f57c924..b9371ca 100644
--- a/discovery/googleapis/mirror__v1.json
+++ b/discovery/googleapis/mirror__v1.json
@@ -17,7 +17,7 @@
"description": "Interacts with Glass users via the timeline.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/glass",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/nxDdKsGKU-CGQ0rCYbUZuIhDXnY\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/ByQfozwRvb0RCKvC-TI-WjVIzjc\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -735,7 +735,7 @@
}
}
},
- "revision": "20160616",
+ "revision": "20170314",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Account": {
diff --git a/discovery/googleapis_beta/ml__v1beta1.json b/discovery/googleapis/ml__v1.json
similarity index 91%
rename from discovery/googleapis_beta/ml__v1beta1.json
rename to discovery/googleapis/ml__v1.json
index c5e4cd6..7e8f8d2 100644
--- a/discovery/googleapis_beta/ml__v1beta1.json
+++ b/discovery/googleapis/ml__v1.json
@@ -19,12 +19,33 @@
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
- "id": "ml:v1beta1",
+ "id": "ml:v1",
"kind": "discovery#restDescription",
"name": "ml",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
+ "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"
+ },
+ "pp": {
+ "default": "true",
+ "description": "Pretty-print response.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
@@ -36,13 +57,18 @@
"location": "query",
"type": "boolean"
},
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "callback": {
+ "description": "JSONP",
"location": "query",
"type": "string"
},
@@ -59,11 +85,6 @@
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -80,34 +101,13 @@
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
- "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"
},
- "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"
- },
- "pp": {
- "default": "true",
- "description": "Pretty-print response.",
- "location": "query",
- "type": "boolean"
- },
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
- },
- "bearer_token": {
- "description": "OAuth bearer token.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
}
@@ -116,30 +116,6 @@
"resources": {
"projects": {
"methods": {
- "getConfig": {
- "description": "Get the service account information associated with your project. You need\nthis information in order to grant the service account persmissions for\nthe Google Cloud Storage location where you put your model training code\nfor training the model with Google Cloud Machine Learning.",
- "httpMethod": "GET",
- "id": "ml.projects.getConfig",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "Required. The project name.\n\nAuthorization: requires `Viewer` role on the specified project.",
- "location": "path",
- "pattern": "^projects/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+name}:getConfig",
- "response": {
- "$ref": "GoogleCloudMlV1beta1__GetConfigResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
"predict": {
"description": "Performs prediction on the data in the request.\n\n**** REMOVE FROM GENERATED DOCUMENTATION",
"httpMethod": "POST",
@@ -156,9 +132,9 @@
"type": "string"
}
},
- "path": "v1beta1/{+name}:predict",
+ "path": "v1/{+name}:predict",
"request": {
- "$ref": "GoogleCloudMlV1beta1__PredictRequest"
+ "$ref": "GoogleCloudMlV1__PredictRequest"
},
"response": {
"$ref": "GoogleApi__HttpBody"
@@ -166,6 +142,30 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
+ },
+ "getConfig": {
+ "description": "Get the service account information associated with your project. You need\nthis information in order to grant the service account persmissions for\nthe Google Cloud Storage location where you put your model training code\nfor training the model with Google Cloud Machine Learning.",
+ "httpMethod": "GET",
+ "id": "ml.projects.getConfig",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The project name.\n\nAuthorization: requires `Viewer` role on the specified project.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}:getConfig",
+ "response": {
+ "$ref": "GoogleCloudMlV1__GetConfigResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
}
},
"resources": {
@@ -187,7 +187,7 @@
"type": "string"
}
},
- "path": "v1beta1/{+name}:cancel",
+ "path": "v1/{+name}:cancel",
"response": {
"$ref": "GoogleProtobuf__Empty"
},
@@ -211,7 +211,7 @@
"type": "string"
}
},
- "path": "v1beta1/{+name}",
+ "path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobuf__Empty"
},
@@ -227,6 +227,11 @@
"name"
],
"parameters": {
+ "filter": {
+ "description": "The standard list filter.",
+ "location": "query",
+ "type": "string"
+ },
"name": {
"description": "The name of the operation collection.",
"location": "path",
@@ -244,14 +249,9 @@
"format": "int32",
"location": "query",
"type": "integer"
- },
- "filter": {
- "description": "The standard list filter.",
- "location": "query",
- "type": "string"
}
},
- "path": "v1beta1/{+name}/operations",
+ "path": "v1/{+name}/operations",
"response": {
"$ref": "GoogleLongrunning__ListOperationsResponse"
},
@@ -275,7 +275,7 @@
"type": "string"
}
},
- "path": "v1beta1/{+name}",
+ "path": "v1/{+name}",
"response": {
"$ref": "GoogleLongrunning__Operation"
},
@@ -287,35 +287,8 @@
},
"models": {
"methods": {
- "create": {
- "description": "Creates a model which will later contain one or more versions.\n\nYou must add at least one version before you can request predictions from\nthe model. Add versions by calling\n[projects.models.versions.create](/ml/reference/rest/v1beta1/projects.models.versions/create).",
- "httpMethod": "POST",
- "id": "ml.projects.models.create",
- "parameterOrder": [
- "parent"
- ],
- "parameters": {
- "parent": {
- "description": "Required. The project name.\n\nAuthorization: requires `Editor` role on the specified project.",
- "location": "path",
- "pattern": "^projects/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+parent}/models",
- "request": {
- "$ref": "GoogleCloudMlV1beta1__Model"
- },
- "response": {
- "$ref": "GoogleCloudMlV1beta1__Model"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
"delete": {
- "description": "Deletes a model.\n\nYou can only delete a model if there are no versions in it. You can delete\nversions by calling\n[projects.models.versions.delete](/ml/reference/rest/v1beta1/projects.models.versions/delete).",
+ "description": "Deletes a model.\n\nYou can only delete a model if there are no versions in it. You can delete\nversions by calling\n[projects.models.versions.delete](/ml-engine/reference/rest/v1/projects.models.versions/delete).",
"httpMethod": "DELETE",
"id": "ml.projects.models.delete",
"parameterOrder": [
@@ -330,7 +303,7 @@
"type": "string"
}
},
- "path": "v1beta1/{+name}",
+ "path": "v1/{+name}",
"response": {
"$ref": "GoogleLongrunning__Operation"
},
@@ -346,13 +319,6 @@
"parent"
],
"parameters": {
- "parent": {
- "description": "Required. The name of the project whose models are to be listed.\n\nAuthorization: requires `Viewer` role on the specified project.",
- "location": "path",
- "pattern": "^projects/[^/]+$",
- "required": true,
- "type": "string"
- },
"pageToken": {
"description": "Optional. A page token to request the next page of results.\n\nYou get the token from the `next_page_token` field of the response from\nthe previous call.",
"location": "query",
@@ -363,11 +329,18 @@
"format": "int32",
"location": "query",
"type": "integer"
+ },
+ "parent": {
+ "description": "Required. The name of the project whose models are to be listed.\n\nAuthorization: requires `Viewer` role on the specified project.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
}
},
- "path": "v1beta1/{+parent}/models",
+ "path": "v1/{+parent}/models",
"response": {
- "$ref": "GoogleCloudMlV1beta1__ListModelsResponse"
+ "$ref": "GoogleCloudMlV1__ListModelsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
@@ -389,9 +362,36 @@
"type": "string"
}
},
- "path": "v1beta1/{+name}",
+ "path": "v1/{+name}",
"response": {
- "$ref": "GoogleCloudMlV1beta1__Model"
+ "$ref": "GoogleCloudMlV1__Model"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "create": {
+ "description": "Creates a model which will later contain one or more versions.\n\nYou must add at least one version before you can request predictions from\nthe model. Add versions by calling\n[projects.models.versions.create](/ml-engine/reference/rest/v1/projects.models.versions/create).",
+ "httpMethod": "POST",
+ "id": "ml.projects.models.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The project name.\n\nAuthorization: requires `Editor` role on the specified project.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/models",
+ "request": {
+ "$ref": "GoogleCloudMlV1__Model"
+ },
+ "response": {
+ "$ref": "GoogleCloudMlV1__Model"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
@@ -401,33 +401,6 @@
"resources": {
"versions": {
"methods": {
- "create": {
- "description": "Creates a new version of a model from a trained TensorFlow model.\n\nIf the version created in the cloud by this call is the first deployed\nversion of the specified model, it will be made the default version of the\nmodel. When you add a version to a model that already has one or more\nversions, the default version does not automatically change. If you want a\nnew version to be the default, you must call\n[projects.models.versions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefault).",
- "httpMethod": "POST",
- "id": "ml.projects.models.versions.create",
- "parameterOrder": [
- "parent"
- ],
- "parameters": {
- "parent": {
- "description": "Required. The name of the model.\n\nAuthorization: requires `Editor` role on the parent project.",
- "location": "path",
- "pattern": "^projects/[^/]+/models/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+parent}/versions",
- "request": {
- "$ref": "GoogleCloudMlV1beta1__Version"
- },
- "response": {
- "$ref": "GoogleLongrunning__Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
"setDefault": {
"description": "Designates a version to be the default for the model.\n\nThe default version is used for prediction requests made against the model\nthat don't specify a version.\n\nThe first version to be created for a model is automatically set as the\ndefault. You must make any subsequent changes to the default version\nsetting manually using this method.",
"httpMethod": "POST",
@@ -437,19 +410,19 @@
],
"parameters": {
"name": {
- "description": "Required. The name of the version to make the default for the model. You\ncan get the names of all the versions of a model by calling\n[projects.models.versions.list](/ml/reference/rest/v1beta1/projects.models.versions/list).\n\nAuthorization: requires `Editor` role on the parent project.",
+ "description": "Required. The name of the version to make the default for the model. You\ncan get the names of all the versions of a model by calling\n[projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list).\n\nAuthorization: requires `Editor` role on the parent project.",
"location": "path",
"pattern": "^projects/[^/]+/models/[^/]+/versions/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v1beta1/{+name}:setDefault",
+ "path": "v1/{+name}:setDefault",
"request": {
- "$ref": "GoogleCloudMlV1beta1__SetDefaultVersionRequest"
+ "$ref": "GoogleCloudMlV1__SetDefaultVersionRequest"
},
"response": {
- "$ref": "GoogleCloudMlV1beta1__Version"
+ "$ref": "GoogleCloudMlV1__Version"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
@@ -464,14 +437,14 @@
],
"parameters": {
"name": {
- "description": "Required. The name of the version. You can get the names of all the\nversions of a model by calling\n[projects.models.versions.list](/ml/reference/rest/v1beta1/projects.models.versions/list).\n\nAuthorization: requires `Editor` role on the parent project.",
+ "description": "Required. The name of the version. You can get the names of all the\nversions of a model by calling\n[projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list).\n\nAuthorization: requires `Editor` role on the parent project.",
"location": "path",
"pattern": "^projects/[^/]+/models/[^/]+/versions/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v1beta1/{+name}",
+ "path": "v1/{+name}",
"response": {
"$ref": "GoogleLongrunning__Operation"
},
@@ -487,6 +460,13 @@
"parent"
],
"parameters": {
+ "parent": {
+ "description": "Required. The name of the model for which to list the version.\n\nAuthorization: requires `Viewer` role on the parent project.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/models/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
"pageToken": {
"description": "Optional. A page token to request the next page of results.\n\nYou get the token from the `next_page_token` field of the response from\nthe previous call.",
"location": "query",
@@ -497,25 +477,18 @@
"format": "int32",
"location": "query",
"type": "integer"
- },
- "parent": {
- "description": "Required. The name of the model for which to list the version.\n\nAuthorization: requires `Viewer` role on the parent project.",
- "location": "path",
- "pattern": "^projects/[^/]+/models/[^/]+$",
- "required": true,
- "type": "string"
}
},
- "path": "v1beta1/{+parent}/versions",
+ "path": "v1/{+parent}/versions",
"response": {
- "$ref": "GoogleCloudMlV1beta1__ListVersionsResponse"
+ "$ref": "GoogleCloudMlV1__ListVersionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
- "description": "Gets information about a model version.\n\nModels can have multiple versions. You can call\n[projects.models.versions.list](/ml/reference/rest/v1beta1/projects.models.versions/list)\nto get the same information that this method returns for all of the\nversions of a model.",
+ "description": "Gets information about a model version.\n\nModels can have multiple versions. You can call\n[projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list)\nto get the same information that this method returns for all of the\nversions of a model.",
"httpMethod": "GET",
"id": "ml.projects.models.versions.get",
"parameterOrder": [
@@ -530,9 +503,36 @@
"type": "string"
}
},
- "path": "v1beta1/{+name}",
+ "path": "v1/{+name}",
"response": {
- "$ref": "GoogleCloudMlV1beta1__Version"
+ "$ref": "GoogleCloudMlV1__Version"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "create": {
+ "description": "Creates a new version of a model from a trained TensorFlow model.\n\nIf the version created in the cloud by this call is the first deployed\nversion of the specified model, it will be made the default version of the\nmodel. When you add a version to a model that already has one or more\nversions, the default version does not automatically change. If you want a\nnew version to be the default, you must call\n[projects.models.versions.setDefault](/ml-engine/reference/rest/v1/projects.models.versions/setDefault).",
+ "httpMethod": "POST",
+ "id": "ml.projects.models.versions.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The name of the model.\n\nAuthorization: requires `Editor` role on the parent project.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/models/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/versions",
+ "request": {
+ "$ref": "GoogleCloudMlV1__Version"
+ },
+ "response": {
+ "$ref": "GoogleLongrunning__Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
@@ -544,33 +544,6 @@
},
"jobs": {
"methods": {
- "cancel": {
- "description": "Cancels a running job.",
- "httpMethod": "POST",
- "id": "ml.projects.jobs.cancel",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "Required. The name of the job to cancel.\n\nAuthorization: requires `Editor` role on the parent project.",
- "location": "path",
- "pattern": "^projects/[^/]+/jobs/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+name}:cancel",
- "request": {
- "$ref": "GoogleCloudMlV1beta1__CancelJobRequest"
- },
- "response": {
- "$ref": "GoogleProtobuf__Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
"list": {
"description": "Lists the jobs in the project.",
"httpMethod": "GET",
@@ -579,17 +552,6 @@
"parent"
],
"parameters": {
- "pageToken": {
- "description": "Optional. A page token to request the next page of results.\n\nYou get the token from the `next_page_token` field of the response from\nthe previous call.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Optional. The number of jobs to retrieve per \"page\" of results. If there\nare more remaining results than this number, the response message will\ncontain a valid value in the `next_page_token` field.\n\nThe default value is 20, and the maximum page size is 100.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
"parent": {
"description": "Required. The name of the project for which to list jobs.\n\nAuthorization: requires `Viewer` role on the specified project.",
"location": "path",
@@ -601,11 +563,22 @@
"description": "Optional. Specifies the subset of jobs to retrieve.",
"location": "query",
"type": "string"
+ },
+ "pageToken": {
+ "description": "Optional. A page token to request the next page of results.\n\nYou get the token from the `next_page_token` field of the response from\nthe previous call.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Optional. The number of jobs to retrieve per \"page\" of results. If there\nare more remaining results than this number, the response message will\ncontain a valid value in the `next_page_token` field.\n\nThe default value is 20, and the maximum page size is 100.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
}
},
- "path": "v1beta1/{+parent}/jobs",
+ "path": "v1/{+parent}/jobs",
"response": {
- "$ref": "GoogleCloudMlV1beta1__ListJobsResponse"
+ "$ref": "GoogleCloudMlV1__ListJobsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
@@ -627,9 +600,9 @@
"type": "string"
}
},
- "path": "v1beta1/{+name}",
+ "path": "v1/{+name}",
"response": {
- "$ref": "GoogleCloudMlV1beta1__Job"
+ "$ref": "GoogleCloudMlV1__Job"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
@@ -651,12 +624,39 @@
"type": "string"
}
},
- "path": "v1beta1/{+parent}/jobs",
+ "path": "v1/{+parent}/jobs",
"request": {
- "$ref": "GoogleCloudMlV1beta1__Job"
+ "$ref": "GoogleCloudMlV1__Job"
},
"response": {
- "$ref": "GoogleCloudMlV1beta1__Job"
+ "$ref": "GoogleCloudMlV1__Job"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "cancel": {
+ "description": "Cancels a running job.",
+ "httpMethod": "POST",
+ "id": "ml.projects.jobs.cancel",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the job to cancel.\n\nAuthorization: requires `Editor` role on the parent project.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/jobs/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}:cancel",
+ "request": {
+ "$ref": "GoogleCloudMlV1__CancelJobRequest"
+ },
+ "response": {
+ "$ref": "GoogleProtobuf__Empty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
@@ -667,18 +667,99 @@
}
}
},
- "revision": "20170304",
+ "revision": "20170320",
"rootUrl": "https://ml.googleapis.com/",
"schemas": {
- "GoogleCloudMlV1beta1__PredictionOutput": {
- "description": "Represents results of a prediction job.",
- "id": "GoogleCloudMlV1beta1__PredictionOutput",
+ "GoogleCloudMlV1beta1__Version": {
+ "description": "Represents a version of the model.\n\nEach version is a trained model deployed in the cloud, ready to handle\nprediction requests. A model can have multiple versions. You can get\ninformation about all of the versions of a given model by calling\n[projects.models.versions.list](/ml-engine/reference/rest/v1beta1/projects.models.versions/list).",
+ "id": "GoogleCloudMlV1beta1__Version",
"properties": {
- "errorCount": {
- "description": "The number of data instances which resulted in errors.",
+ "runtimeVersion": {
+ "description": "Optional. The Google Cloud ML runtime version to use for this deployment.\nIf not set, Google Cloud ML will choose a version.",
+ "type": "string"
+ },
+ "lastUseTime": {
+ "description": "Output only. The time the version was last used for prediction.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "description": {
+ "description": "Optional. The description specified for the version when it was created.",
+ "type": "string"
+ },
+ "deploymentUri": {
+ "description": "Required. The Google Cloud Storage location of the trained model used to\ncreate the version. See the\n[overview of model deployment](/ml-engine/docs/concepts/deployment-overview) for\nmore informaiton.\n\nWhen passing Version to\n[projects.models.versions.create](/ml-engine/reference/rest/v1beta1/projects.models.versions/create)\nthe model service uses the specified location as the source of the model.\nOnce deployed, the model version is hosted by the prediction service, so\nthis location is useful only as a historical record.",
+ "type": "string"
+ },
+ "isDefault": {
+ "description": "Output only. If true, this version will be used to handle prediction\nrequests that do not specify a version.\n\nYou can change the default version by calling\n[projects.methods.versions.setDefault](/ml-engine/reference/rest/v1beta1/projects.models.versions/setDefault).",
+ "type": "boolean"
+ },
+ "createTime": {
+ "description": "Output only. The time the version was created.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "manualScaling": {
+ "$ref": "GoogleCloudMlV1beta1__ManualScaling",
+ "description": "Optional. Manually select the number of nodes to use for serving the\nmodel. If unset (i.e., by default), the number of nodes used to serve\nthe model automatically scales with traffic. However, care should be\ntaken to ramp up traffic according to the model's ability to scale. If\nyour model needs to handle bursts of traffic beyond it's ability to\nscale, it is recommended you set this field appropriately."
+ },
+ "name": {
+ "description": "Required.The name specified for the version when it was created.\n\nThe version name must be unique within the model it is created in.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudMlV1__GetConfigResponse": {
+ "description": "Returns service account information associated with a project.",
+ "id": "GoogleCloudMlV1__GetConfigResponse",
+ "properties": {
+ "serviceAccountProject": {
+ "description": "The project number for `service_account`.",
"format": "int64",
"type": "string"
},
+ "serviceAccount": {
+ "description": "The service account Cloud ML uses to access resources in the project.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudMlV1__HyperparameterOutput": {
+ "description": "Represents the result of a single hyperparameter tuning trial from a\ntraining job. The TrainingOutput object that is returned on successful\ncompletion of a training job with hyperparameter tuning includes a list\nof HyperparameterOutput objects, one for each successful trial.",
+ "id": "GoogleCloudMlV1__HyperparameterOutput",
+ "properties": {
+ "hyperparameters": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The hyperparameters given to this trial.",
+ "type": "object"
+ },
+ "trialId": {
+ "description": "The trial id for these results.",
+ "type": "string"
+ },
+ "allMetrics": {
+ "description": "All recorded object metrics for this trial.",
+ "items": {
+ "$ref": "GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric"
+ },
+ "type": "array"
+ },
+ "finalMetric": {
+ "$ref": "GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric",
+ "description": "The final objective metric seen for this trial."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudMlV1__PredictionOutput": {
+ "description": "Represents results of a prediction job.",
+ "id": "GoogleCloudMlV1__PredictionOutput",
+ "properties": {
"outputPath": {
"description": "The output Google Cloud Storage location provided at the job creation time.",
"type": "string"
@@ -692,13 +773,48 @@
"description": "The number of generated predictions.",
"format": "int64",
"type": "string"
+ },
+ "errorCount": {
+ "description": "The number of data instances which resulted in errors.",
+ "format": "int64",
+ "type": "string"
}
},
"type": "object"
},
- "GoogleCloudMlV1beta1__TrainingOutput": {
+ "GoogleLongrunning__ListOperationsResponse": {
+ "description": "The response message for Operations.ListOperations.",
+ "id": "GoogleLongrunning__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": "GoogleLongrunning__Operation"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudMlV1__ManualScaling": {
+ "description": "Options for manually scaling a model.",
+ "id": "GoogleCloudMlV1__ManualScaling",
+ "properties": {
+ "nodes": {
+ "description": "The number of nodes to allocate for this model. These nodes are always up,\nstarting from the time the model is deployed, so the cost of operating\nthis model will be proportional to nodes * number of hours since\ndeployment.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudMlV1__TrainingOutput": {
"description": "Represents results of a training job. Output only.",
- "id": "GoogleCloudMlV1beta1__TrainingOutput",
+ "id": "GoogleCloudMlV1__TrainingOutput",
"properties": {
"completedTrialCount": {
"description": "The number of hyperparameter tuning trials that completed successfully.\nOnly set for hyperparameter tuning jobs.",
@@ -717,15 +833,43 @@
"trials": {
"description": "Results for individual Hyperparameter trials.\nOnly set for hyperparameter tuning jobs.",
"items": {
- "$ref": "GoogleCloudMlV1beta1__HyperparameterOutput"
+ "$ref": "GoogleCloudMlV1__HyperparameterOutput"
},
"type": "array"
}
},
"type": "object"
},
+ "GoogleCloudMlV1__PredictRequest": {
+ "description": "Request for predictions to be issued against a trained model.\n\nThe body of the request is a single JSON object with a single top-level\nfield:\n\n<dl>\n <dt>instances</dt>\n <dd>A JSON array containing values representing the instances to use for\n prediction.</dd>\n</dl>\n\nThe structure of each element of the instances list is determined by your\nmodel's input definition. Instances can include named inputs or can contain\nonly unlabeled values.\n\nNot all data includes named inputs. Some instances will be simple\nJSON values (boolean, number, or string). However, instances are often lists\nof simple values, or complex nested lists. Here are some examples of request\nbodies:\n\nCSV data with each row encoded as a string value:\n<pre>\n{\"instances\": [\"1.0,true,\\\\\"x\\\\\"\", \"-2.0,false,\\\\\"y\\\\\"\"]}\n</pre>\nPlain text:\n<pre>\n{\"instances\": [\"the quick brown fox\", \"la bruja le dio\"]}\n</pre>\nSentences encoded as lists of words (vectors of strings):\n<pre>\n{\n \"instances\": [\n [\"the\",\"quick\",\"brown\"],\n [\"la\",\"bruja\",\"le\"],\n ...\n ]\n}\n</pre>\nFloating point scalar values:\n<pre>\n{\"instances\": [0.0, 1.1, 2.2]}\n</pre>\nVectors of integers:\n<pre>\n{\n \"instances\": [\n [0, 1, 2],\n [3, 4, 5],\n ...\n ]\n}\n</pre>\nTensors (in this case, two-dimensional tensors):\n<pre>\n{\n \"instances\": [\n [\n [0, 1, 2],\n [3, 4, 5]\n ],\n ...\n ]\n}\n</pre>\nImages can be represented different ways. In this encoding scheme the first\ntwo dimensions represent the rows and columns of the image, and the third\ncontains lists (vectors) of the R, G, and B values for each pixel.\n<pre>\n{\n \"instances\": [\n [\n [\n [138, 30, 66],\n [130, 20, 56],\n ...\n ],\n [\n [126, 38, 61],\n [122, 24, 57],\n ...\n ],\n ...\n ],\n ...\n ]\n}\n</pre>\nJSON strings must be encoded as UTF-8. To send binary data, you must\nbase64-encode the data and mark it as binary. To mark a JSON string\nas binary, replace it with a JSON object with a single attribute named `b64`:\n<pre>{\"b64\": \"...\"} </pre>\nFor example:\n\nTwo Serialized tf.Examples (fake data, for illustrative purposes only):\n<pre>\n{\"instances\": [{\"b64\": \"X5ad6u\"}, {\"b64\": \"IA9j4nx\"}]}\n</pre>\nTwo JPEG image byte strings (fake data, for illustrative purposes only):\n<pre>\n{\"instances\": [{\"b64\": \"ASa8asdf\"}, {\"b64\": \"JLK7ljk3\"}]}\n</pre>\nIf your data includes named references, format each instance as a JSON object\nwith the named references as the keys:\n\nJSON input data to be preprocessed:\n<pre>\n{\n \"instances\": [\n {\n \"a\": 1.0,\n \"b\": true,\n \"c\": \"x\"\n },\n {\n \"a\": -2.0,\n \"b\": false,\n \"c\": \"y\"\n }\n ]\n}\n</pre>\nSome models have an underlying TensorFlow graph that accepts multiple input\ntensors. In this case, you should use the names of JSON name/value pairs to\nidentify the input tensors, as shown in the following exmaples:\n\nFor a graph with input tensor aliases \"tag\" (string) and \"image\"\n(base64-encoded string):\n<pre>\n{\n \"instances\": [\n {\n \"tag\": \"beach\",\n \"image\": {\"b64\": \"ASa8asdf\"}\n },\n {\n \"tag\": \"car\",\n \"image\": {\"b64\": \"JLK7ljk3\"}\n }\n ]\n}\n</pre>\nFor a graph with input tensor aliases \"tag\" (string) and \"image\"\n(3-dimensional array of 8-bit ints):\n<pre>\n{\n \"instances\": [\n {\n \"tag\": \"beach\",\n \"image\": [\n [\n [138, 30, 66],\n [130, 20, 56],\n ...\n ],\n [\n [126, 38, 61],\n [122, 24, 57],\n ...\n ],\n ...\n ]\n },\n {\n \"tag\": \"car\",\n \"image\": [\n [\n [255, 0, 102],\n [255, 0, 97],\n ...\n ],\n [\n [254, 1, 101],\n [254, 2, 93],\n ...\n ],\n ...\n ]\n },\n ...\n ]\n}\n</pre>\nIf the call is successful, the response body will contain one prediction\nentry per instance in the request body. If prediction fails for any\ninstance, the response body will contain no predictions and will contian\na single error entry instead.",
+ "id": "GoogleCloudMlV1__PredictRequest",
+ "properties": {
+ "httpBody": {
+ "$ref": "GoogleApi__HttpBody",
+ "description": "\nRequired. The prediction request body."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric": {
+ "description": "An observed value of a metric.",
+ "id": "GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric",
+ "properties": {
+ "trainingStep": {
+ "description": "The global training step for this metric.",
+ "format": "int64",
+ "type": "string"
+ },
+ "objectiveValue": {
+ "description": "The objective value at this training step.",
+ "format": "double",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudMlV1__Version": {
- "description": "Represents a version of the model.\n\nEach version is a trained model deployed in the cloud, ready to handle\nprediction requests. A model can have multiple versions. You can get\ninformation about all of the versions of a given model by calling\n[projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list).",
+ "description": "Represents a version of the model.\n\nEach version is a trained model deployed in the cloud, ready to handle\nprediction requests. A model can have multiple versions. You can get\ninformation about all of the versions of a given model by calling\n[projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list).",
"id": "GoogleCloudMlV1__Version",
"properties": {
"runtimeVersion": {
@@ -742,11 +886,11 @@
"type": "string"
},
"deploymentUri": {
- "description": "Required. The Google Cloud Storage location of the trained model used to\ncreate the version. See the\n[overview of model deployment](/ml/docs/concepts/deployment-overview) for\nmore informaiton.\n\nWhen passing Version to\n[projects.models.versions.create](/ml/reference/rest/v1/projects.models.versions/create)\nthe model service uses the specified location as the source of the model.\nOnce deployed, the model version is hosted by the prediction service, so\nthis location is useful only as a historical record.",
+ "description": "Required. The Google Cloud Storage location of the trained model used to\ncreate the version. See the\n[overview of model deployment](/ml-engine/docs/concepts/deployment-overview) for\nmore informaiton.\n\nWhen passing Version to\n[projects.models.versions.create](/ml-engine/reference/rest/v1/projects.models.versions/create)\nthe model service uses the specified location as the source of the model.\nOnce deployed, the model version is hosted by the prediction service, so\nthis location is useful only as a historical record.",
"type": "string"
},
"isDefault": {
- "description": "Output only. If true, this version will be used to handle prediction\nrequests that do not specify a version.\n\nYou can change the default version by calling\n[projects.methods.versions.setDefault](/ml/reference/rest/v1/projects.models.versions/setDefault).",
+ "description": "Output only. If true, this version will be used to handle prediction\nrequests that do not specify a version.\n\nYou can change the default version by calling\n[projects.methods.versions.setDefault](/ml-engine/reference/rest/v1/projects.models.versions/setDefault).",
"type": "boolean"
},
"createTime": {
@@ -765,44 +909,131 @@
},
"type": "object"
},
- "GoogleCloudMlV1beta1__HyperparameterSpec": {
- "description": "Represents a set of hyperparameters to optimize.",
- "id": "GoogleCloudMlV1beta1__HyperparameterSpec",
+ "GoogleCloudMlV1__ParameterSpec": {
+ "description": "Represents a single hyperparameter to optimize.",
+ "id": "GoogleCloudMlV1__ParameterSpec",
"properties": {
- "maxParallelTrials": {
- "description": "Optional. The number of training trials to run concurrently.\nYou can reduce the time it takes to perform hyperparameter tuning by adding\ntrials in parallel. However, each trail only benefits from the information\ngained in completed trials. That means that a trial does not get access to\nthe results of trials running at the same time, which could reduce the\nquality of the overall optimization.\n\nEach trial will use the same scale tier and machine types.\n\nDefaults to one.",
- "format": "int32",
- "type": "integer"
+ "minValue": {
+ "description": "Required if type is `DOUBLE` or `INTEGER`. This field\nshould be unset if type is `CATEGORICAL`. This value should be integers if\ntype is INTEGER.",
+ "format": "double",
+ "type": "number"
},
- "goal": {
- "description": "Required. The type of goal to use for tuning. Available types are\n`MAXIMIZE` and `MINIMIZE`.\n\nDefaults to `MAXIMIZE`.",
- "enum": [
- "GOAL_TYPE_UNSPECIFIED",
- "MAXIMIZE",
- "MINIMIZE"
- ],
- "enumDescriptions": [
- "Goal Type will default to maximize.",
- "Maximize the goal metric.",
- "Minimize the goal metric."
- ],
- "type": "string"
- },
- "hyperparameterMetricTag": {
- "description": "Optional. The Tensorflow summary tag name to use for optimizing trials. For\ncurrent versions of Tensorflow, this tag name should exactly match what is\nshown in Tensorboard, including all scopes. For versions of Tensorflow\nprior to 0.12, this should be only the tag passed to tf.Summary.\nBy default, \"training/hptuning/metric\" will be used.",
- "type": "string"
- },
- "params": {
- "description": "Required. The set of parameters to tune.",
+ "discreteValues": {
+ "description": "Required if type is `DISCRETE`.\nA list of feasible points.\nThe list should be in strictly increasing order. For instance, this\nparameter might have possible settings of 1.5, 2.5, and 4.0. This list\nshould not contain more than 1,000 values.",
"items": {
- "$ref": "GoogleCloudMlV1beta1__ParameterSpec"
+ "format": "double",
+ "type": "number"
},
"type": "array"
},
- "maxTrials": {
- "description": "Optional. How many training trials should be attempted to optimize\nthe specified hyperparameters.\n\nDefaults to one.",
- "format": "int32",
- "type": "integer"
+ "maxValue": {
+ "description": "Required if typeis `DOUBLE` or `INTEGER`. This field\nshould be unset if type is `CATEGORICAL`. This value should be integers if\ntype is `INTEGER`.",
+ "format": "double",
+ "type": "number"
+ },
+ "scaleType": {
+ "description": "Optional. How the parameter should be scaled to the hypercube.\nLeave unset for categorical parameters.\nSome kind of scaling is strongly recommended for real or integral\nparameters (e.g., `UNIT_LINEAR_SCALE`).",
+ "enum": [
+ "NONE",
+ "UNIT_LINEAR_SCALE",
+ "UNIT_LOG_SCALE",
+ "UNIT_REVERSE_LOG_SCALE"
+ ],
+ "enumDescriptions": [
+ "By default, no scaling is applied.",
+ "Scales the feasible space to (0, 1) linearly.",
+ "Scales the feasible space logarithmically to (0, 1). The entire feasible\nspace must be strictly positive.",
+ "Scales the feasible space \"reverse\" logarithmically to (0, 1). The result\nis that values close to the top of the feasible space are spread out more\nthan points near the bottom. The entire feasible space must be strictly\npositive."
+ ],
+ "type": "string"
+ },
+ "type": {
+ "description": "Required. The type of the parameter.",
+ "enum": [
+ "PARAMETER_TYPE_UNSPECIFIED",
+ "DOUBLE",
+ "INTEGER",
+ "CATEGORICAL",
+ "DISCRETE"
+ ],
+ "enumDescriptions": [
+ "You must specify a valid type. Using this unspecified type will result in\nan error.",
+ "Type for real-valued parameters.",
+ "Type for integral parameters.",
+ "The parameter is categorical, with a value chosen from the categories\nfield.",
+ "The parameter is real valued, with a fixed set of feasible points. If\n`type==DISCRETE`, feasible_points must be provided, and\n{`min_value`, `max_value`} will be ignored."
+ ],
+ "type": "string"
+ },
+ "parameterName": {
+ "description": "Required. The parameter name must be unique amongst all ParameterConfigs in\na HyperparameterSpec message. E.g., \"learning_rate\".",
+ "type": "string"
+ },
+ "categoricalValues": {
+ "description": "Required if type is `CATEGORICAL`. The list of possible categories.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudMlV1__PredictionInput": {
+ "description": "Represents input parameters for a prediction job.",
+ "id": "GoogleCloudMlV1__PredictionInput",
+ "properties": {
+ "modelName": {
+ "description": "Use this field if you want to use the default version for the specified\nmodel. The string must use the following format:\n\n`\"projects/<var>[YOUR_PROJECT]</var>/models/<var>[YOUR_MODEL]</var>\"`",
+ "type": "string"
+ },
+ "outputPath": {
+ "description": "Required. The output Google Cloud Storage location.",
+ "type": "string"
+ },
+ "uri": {
+ "description": "Use this field if you want to specify a Google Cloud Storage path for\nthe model to use.",
+ "type": "string"
+ },
+ "maxWorkerCount": {
+ "description": "Optional. The maximum number of workers to be used for parallel processing.\nDefaults to 10 if not specified.",
+ "format": "int64",
+ "type": "string"
+ },
+ "dataFormat": {
+ "description": "Required. The format of the input data files.",
+ "enum": [
+ "DATA_FORMAT_UNSPECIFIED",
+ "TEXT",
+ "TF_RECORD",
+ "TF_RECORD_GZIP"
+ ],
+ "enumDescriptions": [
+ "Unspecified format.",
+ "The source file is a text file with instances separated by the\nnew-line character.",
+ "The source file is a TFRecord file.",
+ "The source file is a GZIP-compressed TFRecord file."
+ ],
+ "type": "string"
+ },
+ "runtimeVersion": {
+ "description": "Optional. The Google Cloud ML runtime version to use for this batch\nprediction. If not set, Google Cloud ML will pick the runtime version used\nduring the CreateVersion request for this model version, or choose the\nlatest stable version when model version information is not available\nsuch as when the model is specified by uri.",
+ "type": "string"
+ },
+ "inputPaths": {
+ "description": "Required. The Google Cloud Storage location of the input data files.\nMay contain wildcards.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "region": {
+ "description": "Required. The Google Compute Engine region to run the prediction job in.",
+ "type": "string"
+ },
+ "versionName": {
+ "description": "Use this field if you want to specify a version of the model to use. The\nstring is formatted the same way as `model_version`, with the addition\nof the version information:\n\n`\"projects/<var>[YOUR_PROJECT]</var>/models/<var>YOUR_MODEL/versions/<var>[YOUR_VERSION]</var>\"`",
+ "type": "string"
}
},
"type": "object"
@@ -811,6 +1042,15 @@
"description": "Represents the metadata of the long-running operation.",
"id": "GoogleCloudMlV1__OperationMetadata",
"properties": {
+ "isCancellationRequested": {
+ "description": "Indicates whether a request to cancel this operation has been made.",
+ "type": "boolean"
+ },
+ "createTime": {
+ "description": "The time the operation was submitted.",
+ "format": "google-datetime",
+ "type": "string"
+ },
"modelName": {
"description": "Contains the name of the model associated with the operation.",
"type": "string"
@@ -844,15 +1084,6 @@
"description": "The time operation processing started.",
"format": "google-datetime",
"type": "string"
- },
- "isCancellationRequested": {
- "description": "Indicates whether a request to cancel this operation has been made.",
- "type": "boolean"
- },
- "createTime": {
- "description": "The time the operation was submitted.",
- "format": "google-datetime",
- "type": "string"
}
},
"type": "object"
@@ -861,10 +1092,6 @@
"description": "Represents the metadata of the long-running operation.",
"id": "GoogleCloudMlV1beta1__OperationMetadata",
"properties": {
- "isCancellationRequested": {
- "description": "Indicates whether a request to cancel this operation has been made.",
- "type": "boolean"
- },
"createTime": {
"description": "The time the operation was submitted.",
"format": "google-datetime",
@@ -903,36 +1130,84 @@
"description": "The time operation processing started.",
"format": "google-datetime",
"type": "string"
+ },
+ "isCancellationRequested": {
+ "description": "Indicates whether a request to cancel this operation has been made.",
+ "type": "boolean"
}
},
"type": "object"
},
- "GoogleCloudMlV1beta1__ListModelsResponse": {
- "description": "Response message for the ListModels method.",
- "id": "GoogleCloudMlV1beta1__ListModelsResponse",
+ "GoogleCloudMlV1__HyperparameterSpec": {
+ "description": "Represents a set of hyperparameters to optimize.",
+ "id": "GoogleCloudMlV1__HyperparameterSpec",
+ "properties": {
+ "params": {
+ "description": "Required. The set of parameters to tune.",
+ "items": {
+ "$ref": "GoogleCloudMlV1__ParameterSpec"
+ },
+ "type": "array"
+ },
+ "maxTrials": {
+ "description": "Optional. How many training trials should be attempted to optimize\nthe specified hyperparameters.\n\nDefaults to one.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "maxParallelTrials": {
+ "description": "Optional. The number of training trials to run concurrently.\nYou can reduce the time it takes to perform hyperparameter tuning by adding\ntrials in parallel. However, each trail only benefits from the information\ngained in completed trials. That means that a trial does not get access to\nthe results of trials running at the same time, which could reduce the\nquality of the overall optimization.\n\nEach trial will use the same scale tier and machine types.\n\nDefaults to one.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "goal": {
+ "description": "Required. The type of goal to use for tuning. Available types are\n`MAXIMIZE` and `MINIMIZE`.\n\nDefaults to `MAXIMIZE`.",
+ "enum": [
+ "GOAL_TYPE_UNSPECIFIED",
+ "MAXIMIZE",
+ "MINIMIZE"
+ ],
+ "enumDescriptions": [
+ "Goal Type will default to maximize.",
+ "Maximize the goal metric.",
+ "Minimize the goal metric."
+ ],
+ "type": "string"
+ },
+ "hyperparameterMetricTag": {
+ "description": "Optional. The Tensorflow summary tag name to use for optimizing trials. For\ncurrent versions of Tensorflow, this tag name should exactly match what is\nshown in Tensorboard, including all scopes. For versions of Tensorflow\nprior to 0.12, this should be only the tag passed to tf.Summary.\nBy default, \"training/hptuning/metric\" will be used.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudMlV1__ListJobsResponse": {
+ "description": "Response message for the ListJobs method.",
+ "id": "GoogleCloudMlV1__ListJobsResponse",
"properties": {
"nextPageToken": {
"description": "Optional. Pass this token as the `page_token` field of the request for a\nsubsequent call.",
"type": "string"
},
- "models": {
- "description": "The list of models.",
+ "jobs": {
+ "description": "The list of jobs.",
"items": {
- "$ref": "GoogleCloudMlV1beta1__Model"
+ "$ref": "GoogleCloudMlV1__Job"
},
"type": "array"
}
},
"type": "object"
},
+ "GoogleCloudMlV1__SetDefaultVersionRequest": {
+ "description": "Request message for the SetDefaultVersion request.",
+ "id": "GoogleCloudMlV1__SetDefaultVersionRequest",
+ "properties": {},
+ "type": "object"
+ },
"GoogleLongrunning__Operation": {
"description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
"id": "GoogleLongrunning__Operation",
"properties": {
- "done": {
- "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.",
- "type": "boolean"
- },
"response": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
@@ -956,35 +1231,40 @@
},
"description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
"type": "object"
+ },
+ "done": {
+ "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.",
+ "type": "boolean"
}
},
"type": "object"
},
- "GoogleCloudMlV1beta1__HyperparameterOutput": {
- "description": "Represents the result of a single hyperparameter tuning trial from a\ntraining job. The TrainingOutput object that is returned on successful\ncompletion of a training job with hyperparameter tuning includes a list\nof HyperparameterOutput objects, one for each successful trial.",
- "id": "GoogleCloudMlV1beta1__HyperparameterOutput",
+ "GoogleCloudMlV1__Model": {
+ "description": "Represents a machine learning solution.\n\nA model can have multiple versions, each of which is a deployed, trained\nmodel ready to receive prediction requests. The model itself is just a\ncontainer.",
+ "id": "GoogleCloudMlV1__Model",
"properties": {
- "finalMetric": {
- "$ref": "GoogleCloudMlV1beta1_HyperparameterOutput_HyperparameterMetric",
- "description": "The final objective metric seen for this trial."
- },
- "hyperparameters": {
- "additionalProperties": {
+ "regions": {
+ "description": "Optional. The list of regions where the model is going to be deployed.\nCurrently only one region per model is supported.\nDefaults to 'us-central1' if nothing is set.\nNote:\n* No matter where a model is deployed, it can always be accessed by\n users from anywhere, both for online and batch prediction.\n* The region for a batch prediction job is set by the region field when\n submitting the batch prediction job and does not take its value from\n this field.",
+ "items": {
"type": "string"
},
- "description": "The hyperparameters given to this trial.",
- "type": "object"
+ "type": "array"
},
- "trialId": {
- "description": "The trial id for these results.",
+ "name": {
+ "description": "Required. The name specified for the model when it was created.\n\nThe model name must be unique within the project it is created in.",
"type": "string"
},
- "allMetrics": {
- "description": "All recorded object metrics for this trial.",
- "items": {
- "$ref": "GoogleCloudMlV1beta1_HyperparameterOutput_HyperparameterMetric"
- },
- "type": "array"
+ "description": {
+ "description": "Optional. The description specified for the model when it was created.",
+ "type": "string"
+ },
+ "onlinePredictionLogging": {
+ "description": "Optional. If true, enables StackDriver Logging for online prediction.\nDefault is false.",
+ "type": "boolean"
+ },
+ "defaultVersion": {
+ "$ref": "GoogleCloudMlV1__Version",
+ "description": "Output only. The default version of the model. This version will be used to\nhandle prediction requests that do not specify a version.\n\nYou can change the default version by calling\n[projects.methods.versions.setDefault](/ml-engine/reference/rest/v1/projects.models.versions/setDefault)."
}
},
"type": "object"
@@ -995,6 +1275,30 @@
"properties": {},
"type": "object"
},
+ "GoogleCloudMlV1__ListVersionsResponse": {
+ "description": "Response message for the ListVersions method.",
+ "id": "GoogleCloudMlV1__ListVersionsResponse",
+ "properties": {
+ "versions": {
+ "description": "The list of versions.",
+ "items": {
+ "$ref": "GoogleCloudMlV1__Version"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Optional. Pass this token as the `page_token` field of the request for a\nsubsequent call.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudMlV1__CancelJobRequest": {
+ "description": "Request message for the CancelJob method.",
+ "id": "GoogleCloudMlV1__CancelJobRequest",
+ "properties": {},
+ "type": "object"
+ },
"GoogleCloudMlV1beta1__ManualScaling": {
"description": "Options for manually scaling a model.",
"id": "GoogleCloudMlV1beta1__ManualScaling",
@@ -1034,209 +1338,117 @@
},
"type": "object"
},
- "GoogleCloudMlV1beta1__PredictRequest": {
- "description": "Request for predictions to be issued against a trained model.\n\nThe body of the request is a single JSON object with a single top-level\nfield:\n\n<dl>\n <dt>instances</dt>\n <dd>A JSON array containing values representing the instances to use for\n prediction.</dd>\n</dl>\n\nThe structure of each element of the instances list is determined by your\nmodel's input definition. Instances can include named inputs or can contain\nonly unlabeled values.\n\nNot all data includes named inputs. Some instances will be simple\nJSON values (boolean, number, or string). However, instances are often lists\nof simple values, or complex nested lists. Here are some examples of request\nbodies:\n\nCSV data with each row encoded as a string value:\n<pre>\n{\"instances\": [\"1.0,true,\\\\\"x\\\\\"\", \"-2.0,false,\\\\\"y\\\\\"\"]}\n</pre>\nPlain text:\n<pre>\n{\"instances\": [\"the quick brown fox\", \"la bruja le dio\"]}\n</pre>\nSentences encoded as lists of words (vectors of strings):\n<pre>\n{\n \"instances\": [\n [\"the\",\"quick\",\"brown\"],\n [\"la\",\"bruja\",\"le\"],\n ...\n ]\n}\n</pre>\nFloating point scalar values:\n<pre>\n{\"instances\": [0.0, 1.1, 2.2]}\n</pre>\nVectors of integers:\n<pre>\n{\n \"instances\": [\n [0, 1, 2],\n [3, 4, 5],\n ...\n ]\n}\n</pre>\nTensors (in this case, two-dimensional tensors):\n<pre>\n{\n \"instances\": [\n [\n [0, 1, 2],\n [3, 4, 5]\n ],\n ...\n ]\n}\n</pre>\nImages can be represented different ways. In this encoding scheme the first\ntwo dimensions represent the rows and columns of the image, and the third\ncontains lists (vectors) of the R, G, and B values for each pixel.\n<pre>\n{\n \"instances\": [\n [\n [\n [138, 30, 66],\n [130, 20, 56],\n ...\n ],\n [\n [126, 38, 61],\n [122, 24, 57],\n ...\n ],\n ...\n ],\n ...\n ]\n}\n</pre>\nJSON strings must be encoded as UTF-8. To send binary data, you must\nbase64-encode the data and mark it as binary. To mark a JSON string\nas binary, replace it with a JSON object with a single attribute named `b64`:\n<pre>{\"b64\": \"...\"} </pre>\nFor example:\n\nTwo Serialized tf.Examples (fake data, for illustrative purposes only):\n<pre>\n{\"instances\": [{\"b64\": \"X5ad6u\"}, {\"b64\": \"IA9j4nx\"}]}\n</pre>\nTwo JPEG image byte strings (fake data, for illustrative purposes only):\n<pre>\n{\"instances\": [{\"b64\": \"ASa8asdf\"}, {\"b64\": \"JLK7ljk3\"}]}\n</pre>\nIf your data includes named references, format each instance as a JSON object\nwith the named references as the keys:\n\nJSON input data to be preprocessed:\n<pre>\n{\n \"instances\": [\n {\n \"a\": 1.0,\n \"b\": true,\n \"c\": \"x\"\n },\n {\n \"a\": -2.0,\n \"b\": false,\n \"c\": \"y\"\n }\n ]\n}\n</pre>\nSome models have an underlying TensorFlow graph that accepts multiple input\ntensors. In this case, you should use the names of JSON name/value pairs to\nidentify the input tensors, as shown in the following exmaples:\n\nFor a graph with input tensor aliases \"tag\" (string) and \"image\"\n(base64-encoded string):\n<pre>\n{\n \"instances\": [\n {\n \"tag\": \"beach\",\n \"image\": {\"b64\": \"ASa8asdf\"}\n },\n {\n \"tag\": \"car\",\n \"image\": {\"b64\": \"JLK7ljk3\"}\n }\n ]\n}\n</pre>\nFor a graph with input tensor aliases \"tag\" (string) and \"image\"\n(3-dimensional array of 8-bit ints):\n<pre>\n{\n \"instances\": [\n {\n \"tag\": \"beach\",\n \"image\": [\n [\n [138, 30, 66],\n [130, 20, 56],\n ...\n ],\n [\n [126, 38, 61],\n [122, 24, 57],\n ...\n ],\n ...\n ]\n },\n {\n \"tag\": \"car\",\n \"image\": [\n [\n [255, 0, 102],\n [255, 0, 97],\n ...\n ],\n [\n [254, 1, 101],\n [254, 2, 93],\n ...\n ],\n ...\n ]\n },\n ...\n ]\n}\n</pre>\nIf the call is successful, the response body will contain one prediction\nentry per instance in the request body. If prediction fails for any\ninstance, the response body will contain no predictions and will contian\na single error entry instead.",
- "id": "GoogleCloudMlV1beta1__PredictRequest",
+ "GoogleCloudMlV1__ListModelsResponse": {
+ "description": "Response message for the ListModels method.",
+ "id": "GoogleCloudMlV1__ListModelsResponse",
"properties": {
- "httpBody": {
- "$ref": "GoogleApi__HttpBody",
- "description": "\nRequired. The prediction request body."
+ "nextPageToken": {
+ "description": "Optional. Pass this token as the `page_token` field of the request for a\nsubsequent call.",
+ "type": "string"
+ },
+ "models": {
+ "description": "The list of models.",
+ "items": {
+ "$ref": "GoogleCloudMlV1__Model"
+ },
+ "type": "array"
}
},
"type": "object"
},
- "GoogleCloudMlV1beta1__PredictionInput": {
- "description": "Represents input parameters for a prediction job.",
- "id": "GoogleCloudMlV1beta1__PredictionInput",
+ "GoogleCloudMlV1__TrainingInput": {
+ "description": "Represents input parameters for a training job.",
+ "id": "GoogleCloudMlV1__TrainingInput",
"properties": {
- "runtimeVersion": {
- "description": "Optional. The Google Cloud ML runtime version to use for this batch\nprediction. If not set, Google Cloud ML will pick the runtime version used\nduring the CreateVersion request for this model version, or choose the\nlatest stable version when model version information is not available\nsuch as when the model is specified by uri.",
+ "workerType": {
+ "description": "Optional. Specifies the type of virtual machine to use for your training\njob's worker nodes.\n\nThe supported values are the same as those described in the entry for\n`masterType`.\n\nThis value must be present when `scaleTier` is set to `CUSTOM` and\n`workerCount` is greater than zero.",
"type": "string"
},
- "inputPaths": {
- "description": "Required. The Google Cloud Storage location of the input data files.\nMay contain wildcards.",
+ "args": {
+ "description": "Optional. Command line arguments to pass to the program.",
"items": {
"type": "string"
},
"type": "array"
},
"region": {
- "description": "Required. The Google Compute Engine region to run the prediction job in.",
+ "description": "Required. The Google Compute Engine region to run the training job in.",
"type": "string"
},
- "versionName": {
- "description": "Use this field if you want to specify a version of the model to use. The\nstring is formatted the same way as `model_version`, with the addition\nof the version information:\n\n`\"projects/<var>[YOUR_PROJECT]</var>/models/<var>YOUR_MODEL/versions/<var>[YOUR_VERSION]</var>\"`",
+ "parameterServerType": {
+ "description": "Optional. Specifies the type of virtual machine to use for your training\njob's parameter server.\n\nThe supported values are the same as those described in the entry for\n`master_type`.\n\nThis value must be present when `scaleTier` is set to `CUSTOM` and\n`parameter_server_count` is greater than zero.",
"type": "string"
},
- "modelName": {
- "description": "Use this field if you want to use the default version for the specified\nmodel. The string must use the following format:\n\n`\"projects/<var>[YOUR_PROJECT]</var>/models/<var>[YOUR_MODEL]</var>\"`",
+ "scaleTier": {
+ "description": "Required. Specifies the machine types, the number of replicas for workers\nand parameter servers.",
+ "enum": [
+ "BASIC",
+ "STANDARD_1",
+ "PREMIUM_1",
+ "BASIC_GPU",
+ "CUSTOM"
+ ],
+ "enumDescriptions": [
+ "A single worker instance. This tier is suitable for learning how to use\nCloud ML, and for experimenting with new models using small datasets.",
+ "Many workers and a few parameter servers.",
+ "A large number of workers with many parameter servers.",
+ "A single worker instance [with a GPU](/ml-engine/docs/how-tos/using-gpus).",
+ "The CUSTOM tier is not a set tier, but rather enables you to use your\nown cluster specification. When you use this tier, set values to\nconfigure your processing cluster according to these guidelines:\n\n* You _must_ set `TrainingInput.masterType` to specify the type\n of machine to use for your master node. This is the only required\n setting.\n\n* You _may_ set `TrainingInput.workerCount` to specify the number of\n workers to use. If you specify one or more workers, you _must_ also\n set `TrainingInput.workerType` to specify the type of machine to use\n for your worker nodes.\n\n* You _may_ set `TrainingInput.parameterServerCount` to specify the\n number of parameter servers to use. If you specify one or more\n parameter servers, you _must_ also set\n `TrainingInput.parameterServerType` to specify the type of machine to\n use for your parameter servers.\n\nNote that all of your workers must use the same machine type, which can\nbe different from your parameter server type and master type. Your\nparameter servers must likewise use the same machine type, which can be\ndifferent from your worker type and master type."
+ ],
"type": "string"
},
- "outputPath": {
- "description": "Required. The output Google Cloud Storage location.",
+ "jobDir": {
+ "description": "Optional. A Google Cloud Storage path in which to store training outputs\nand other data needed for training. This path is passed to your TensorFlow\nprogram as the 'job_dir' command-line argument. The benefit of specifying\nthis field is that Cloud ML validates the path for use in training.",
"type": "string"
},
- "maxWorkerCount": {
- "description": "Optional. The maximum number of workers to be used for parallel processing.\nDefaults to 10 if not specified.",
+ "hyperparameters": {
+ "$ref": "GoogleCloudMlV1__HyperparameterSpec",
+ "description": "Optional. The set of Hyperparameters to tune."
+ },
+ "parameterServerCount": {
+ "description": "Optional. The number of parameter server replicas to use for the training\njob. Each replica in the cluster will be of the type specified in\n`parameter_server_type`.\n\nThis value can only be used when `scale_tier` is set to `CUSTOM`.If you\nset this value, you must also set `parameter_server_type`.",
"format": "int64",
"type": "string"
},
- "uri": {
- "description": "Use this field if you want to specify a Google Cloud Storage path for\nthe model to use.",
- "type": "string"
- },
- "dataFormat": {
- "description": "Required. The format of the input data files.",
- "enum": [
- "DATA_FORMAT_UNSPECIFIED",
- "TEXT",
- "TF_RECORD",
- "TF_RECORD_GZIP"
- ],
- "enumDescriptions": [
- "Unspecified format.",
- "The source file is a text file with instances separated by the\nnew-line character.",
- "The source file is a TFRecord file.",
- "The source file is a GZIP-compressed TFRecord file."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "GoogleApi__HttpBody": {
- "description": "Message that represents an arbitrary HTTP body. It should only be used for\npayload formats that can't be represented as JSON, such as raw binary or\nan HTML page.\n\n\nThis message can be used both in streaming and non-streaming API methods in\nthe request as well as the response.\n\nIt can be used as a top-level request field, which is convenient if one\nwants to extract parameters from either the URL or HTTP template into the\nrequest fields and also want access to the raw HTTP body.\n\nExample:\n\n message GetResourceRequest {\n // A unique request id.\n string request_id = 1;\n\n // The raw HTTP body is bound to this field.\n google.api.HttpBody http_body = 2;\n }\n\n service ResourceService {\n rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);\n rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty);\n }\n\nExample with streaming methods:\n\n service CaldavService {\n rpc GetCalendar(stream google.api.HttpBody)\n returns (stream google.api.HttpBody);\n rpc UpdateCalendar(stream google.api.HttpBody)\n returns (stream google.api.HttpBody);\n }\n\nUse of this type only changes how the request and response bodies are\nhandled, all other features will continue to work unchanged.",
- "id": "GoogleApi__HttpBody",
- "properties": {
- "data": {
- "description": "HTTP body binary data.",
- "format": "byte",
- "type": "string"
- },
- "contentType": {
- "description": "The HTTP Content-Type string representing the content type of the body.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GoogleCloudMlV1beta1__ListJobsResponse": {
- "description": "Response message for the ListJobs method.",
- "id": "GoogleCloudMlV1beta1__ListJobsResponse",
- "properties": {
- "jobs": {
- "description": "The list of jobs.",
- "items": {
- "$ref": "GoogleCloudMlV1beta1__Job"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "Optional. Pass this token as the `page_token` field of the request for a\nsubsequent call.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GoogleCloudMlV1beta1__Version": {
- "description": "Represents a version of the model.\n\nEach version is a trained model deployed in the cloud, ready to handle\nprediction requests. A model can have multiple versions. You can get\ninformation about all of the versions of a given model by calling\n[projects.models.versions.list](/ml/reference/rest/v1beta1/projects.models.versions/list).",
- "id": "GoogleCloudMlV1beta1__Version",
- "properties": {
- "lastUseTime": {
- "description": "Output only. The time the version was last used for prediction.",
- "format": "google-datetime",
- "type": "string"
- },
- "runtimeVersion": {
- "description": "Optional. The Google Cloud ML runtime version to use for this deployment.\nIf not set, Google Cloud ML will choose a version.",
- "type": "string"
- },
- "description": {
- "description": "Optional. The description specified for the version when it was created.",
- "type": "string"
- },
- "deploymentUri": {
- "description": "Required. The Google Cloud Storage location of the trained model used to\ncreate the version. See the\n[overview of model deployment](/ml/docs/concepts/deployment-overview) for\nmore informaiton.\n\nWhen passing Version to\n[projects.models.versions.create](/ml/reference/rest/v1beta1/projects.models.versions/create)\nthe model service uses the specified location as the source of the model.\nOnce deployed, the model version is hosted by the prediction service, so\nthis location is useful only as a historical record.",
- "type": "string"
- },
- "isDefault": {
- "description": "Output only. If true, this version will be used to handle prediction\nrequests that do not specify a version.\n\nYou can change the default version by calling\n[projects.methods.versions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefault).",
- "type": "boolean"
- },
- "createTime": {
- "description": "Output only. The time the version was created.",
- "format": "google-datetime",
- "type": "string"
- },
- "manualScaling": {
- "$ref": "GoogleCloudMlV1beta1__ManualScaling",
- "description": "Optional. Manually select the number of nodes to use for serving the\nmodel. If unset (i.e., by default), the number of nodes used to serve\nthe model automatically scales with traffic. However, care should be\ntaken to ramp up traffic according to the model's ability to scale. If\nyour model needs to handle bursts of traffic beyond it's ability to\nscale, it is recommended you set this field appropriately."
- },
- "name": {
- "description": "Required.The name specified for the version when it was created.\n\nThe version name must be unique within the model it is created in.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GoogleCloudMlV1beta1__ListVersionsResponse": {
- "description": "Response message for the ListVersions method.",
- "id": "GoogleCloudMlV1beta1__ListVersionsResponse",
- "properties": {
- "versions": {
- "description": "The list of versions.",
- "items": {
- "$ref": "GoogleCloudMlV1beta1__Version"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "Optional. Pass this token as the `page_token` field of the request for a\nsubsequent call.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GoogleCloudMlV1beta1__CancelJobRequest": {
- "description": "Request message for the CancelJob method.",
- "id": "GoogleCloudMlV1beta1__CancelJobRequest",
- "properties": {},
- "type": "object"
- },
- "GoogleCloudMlV1beta1__Model": {
- "description": "Represents a machine learning solution.\n\nA model can have multiple versions, each of which is a deployed, trained\nmodel ready to receive prediction requests. The model itself is just a\ncontainer.",
- "id": "GoogleCloudMlV1beta1__Model",
- "properties": {
- "regions": {
- "description": "Optional. The list of regions where the model is going to be deployed.\nCurrently only one region per model is supported.\nDefaults to 'us-central1' if nothing is set.",
+ "packageUris": {
+ "description": "Required. The Google Cloud Storage location of the packages with\nthe training program and any additional dependencies.",
"items": {
"type": "string"
},
"type": "array"
},
- "name": {
- "description": "Required. The name specified for the model when it was created.\n\nThe model name must be unique within the project it is created in.",
+ "workerCount": {
+ "description": "Optional. The number of worker replicas to use for the training job. Each\nreplica in the cluster will be of the type specified in `worker_type`.\n\nThis value can only be used when `scale_tier` is set to `CUSTOM`. If you\nset this value, you must also set `worker_type`.",
+ "format": "int64",
"type": "string"
},
- "description": {
- "description": "Optional. The description specified for the model when it was created.",
+ "masterType": {
+ "description": "Optional. Specifies the type of virtual machine to use for your training\njob's master worker.\n\nThe following types are supported:\n\n<dl>\n <dt>standard</dt>\n <dd>\n A basic machine configuration suitable for training simple models with\n small to moderate datasets.\n </dd>\n <dt>large_model</dt>\n <dd>\n A machine with a lot of memory, specially suited for parameter servers\n when your model is large (having many hidden layers or layers with very\n large numbers of nodes).\n </dd>\n <dt>complex_model_s</dt>\n <dd>\n A machine suitable for the master and workers of the cluster when your\n model requires more computation than the standard machine can handle\n satisfactorily.\n </dd>\n <dt>complex_model_m</dt>\n <dd>\n A machine with roughly twice the number of cores and roughly double the\n memory of <code suppresswarning=\"true\">complex_model_s</code>.\n </dd>\n <dt>complex_model_l</dt>\n <dd>\n A machine with roughly twice the number of cores and roughly double the\n memory of <code suppresswarning=\"true\">complex_model_m</code>.\n </dd>\n <dt>standard_gpu</dt>\n <dd>\n A machine equivalent to <code suppresswarning=\"true\">standard</code> that\n also includes a\n <a href=\"/ml-engine/docs/how-tos/using-gpus\">\n GPU that you can use in your trainer</a>.\n </dd>\n <dt>complex_model_m_gpu</dt>\n <dd>\n A machine equivalent to\n <code suppresswarning=\"true\">coplex_model_m</code> that also includes\n four GPUs.\n </dd>\n</dl>\n\nYou must set this value when `scaleTier` is set to `CUSTOM`.",
"type": "string"
},
- "onlinePredictionLogging": {
- "description": "Optional. If true, enables StackDriver Logging for online prediction.\nDefault is false.",
- "type": "boolean"
+ "runtimeVersion": {
+ "description": "Optional. The Google Cloud ML runtime version to use for training. If not\nset, Google Cloud ML will choose the latest stable version.",
+ "type": "string"
},
- "defaultVersion": {
- "$ref": "GoogleCloudMlV1beta1__Version",
- "description": "Output only. The default version of the model. This version will be used to\nhandle prediction requests that do not specify a version.\n\nYou can change the default version by calling\n[projects.methods.versions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefault)."
+ "pythonModule": {
+ "description": "Required. The Python module name to run after installing the packages.",
+ "type": "string"
}
},
"type": "object"
},
- "GoogleCloudMlV1beta1__Job": {
+ "GoogleCloudMlV1__Job": {
"description": "Represents a training or prediction job.",
- "id": "GoogleCloudMlV1beta1__Job",
+ "id": "GoogleCloudMlV1__Job",
"properties": {
+ "jobId": {
+ "description": "Required. The user-specified id of the job.",
+ "type": "string"
+ },
+ "errorMessage": {
+ "description": "Output only. The details of a failure or a cancellation.",
+ "type": "string"
+ },
"endTime": {
"description": "Output only. When the job processing was completed.",
"format": "google-datetime",
@@ -1248,15 +1460,15 @@
"type": "string"
},
"predictionOutput": {
- "$ref": "GoogleCloudMlV1beta1__PredictionOutput",
+ "$ref": "GoogleCloudMlV1__PredictionOutput",
"description": "The current prediction job result."
},
"trainingOutput": {
- "$ref": "GoogleCloudMlV1beta1__TrainingOutput",
+ "$ref": "GoogleCloudMlV1__TrainingOutput",
"description": "The current training job result."
},
"trainingInput": {
- "$ref": "GoogleCloudMlV1beta1__TrainingInput",
+ "$ref": "GoogleCloudMlV1__TrainingInput",
"description": "Input parameters to create a training job."
},
"createTime": {
@@ -1265,7 +1477,7 @@
"type": "string"
},
"predictionInput": {
- "$ref": "GoogleCloudMlV1beta1__PredictionInput",
+ "$ref": "GoogleCloudMlV1__PredictionInput",
"description": "Input parameters to create a prediction job."
},
"state": {
@@ -1291,233 +1503,21 @@
"The job has been cancelled.\n`error_message` should describe the reason for the cancellation."
],
"type": "string"
- },
- "errorMessage": {
- "description": "Output only. The details of a failure or a cancellation.",
- "type": "string"
- },
- "jobId": {
- "description": "Required. The user-specified id of the job.",
- "type": "string"
}
},
"type": "object"
},
- "GoogleCloudMlV1beta1__TrainingInput": {
- "description": "Represents input parameters for a training job.",
- "id": "GoogleCloudMlV1beta1__TrainingInput",
+ "GoogleApi__HttpBody": {
+ "description": "Message that represents an arbitrary HTTP body. It should only be used for\npayload formats that can't be represented as JSON, such as raw binary or\nan HTML page.\n\n\nThis message can be used both in streaming and non-streaming API methods in\nthe request as well as the response.\n\nIt can be used as a top-level request field, which is convenient if one\nwants to extract parameters from either the URL or HTTP template into the\nrequest fields and also want access to the raw HTTP body.\n\nExample:\n\n message GetResourceRequest {\n // A unique request id.\n string request_id = 1;\n\n // The raw HTTP body is bound to this field.\n google.api.HttpBody http_body = 2;\n }\n\n service ResourceService {\n rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);\n rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty);\n }\n\nExample with streaming methods:\n\n service CaldavService {\n rpc GetCalendar(stream google.api.HttpBody)\n returns (stream google.api.HttpBody);\n rpc UpdateCalendar(stream google.api.HttpBody)\n returns (stream google.api.HttpBody);\n }\n\nUse of this type only changes how the request and response bodies are\nhandled, all other features will continue to work unchanged.",
+ "id": "GoogleApi__HttpBody",
"properties": {
- "masterType": {
- "description": "Optional. Specifies the type of virtual machine to use for your training\njob's master worker.\n\nThe following types are supported:\n\n<dl>\n <dt>standard</dt>\n <dd>\n A basic machine configuration suitable for training simple models with\n small to moderate datasets.\n </dd>\n <dt>large_model</dt>\n <dd>\n A machine with a lot of memory, specially suited for parameter servers\n when your model is large (having many hidden layers or layers with very\n large numbers of nodes).\n </dd>\n <dt>complex_model_s</dt>\n <dd>\n A machine suitable for the master and workers of the cluster when your\n model requires more computation than the standard machine can handle\n satisfactorily.\n </dd>\n <dt>complex_model_m</dt>\n <dd>\n A machine with roughly twice the number of cores and roughly double the\n memory of <code suppresswarning=\"true\">complex_model_s</code>.\n </dd>\n <dt>complex_model_l</dt>\n <dd>\n A machine with roughly twice the number of cores and roughly double the\n memory of <code suppresswarning=\"true\">complex_model_m</code>.\n </dd>\n <dt>standard_gpu</dt>\n <dd>\n A machine equivalent to <code suppresswarning=\"true\">standard</code> that\n also includes a\n <a href=\"ml/docs/how-tos/using-gpus\">\n GPU that you can use in your trainer</a>.\n </dd>\n <dt>complex_model_m_gpu</dt>\n <dd>\n A machine equivalent to\n <code suppresswarning=\"true\">coplex_model_m</code> that also includes\n four GPUs.\n </dd>\n</dl>\n\nYou must set this value when `scaleTier` is set to `CUSTOM`.",
+ "data": {
+ "description": "HTTP body binary data.",
+ "format": "byte",
"type": "string"
},
- "runtimeVersion": {
- "description": "Optional. The Google Cloud ML runtime version to use for training. If not\nset, Google Cloud ML will choose the latest stable version.",
- "type": "string"
- },
- "pythonModule": {
- "description": "Required. The Python module name to run after installing the packages.",
- "type": "string"
- },
- "workerType": {
- "description": "Optional. Specifies the type of virtual machine to use for your training\njob's worker nodes.\n\nThe supported values are the same as those described in the entry for\n`masterType`.\n\nThis value must be present when `scaleTier` is set to `CUSTOM` and\n`workerCount` is greater than zero.",
- "type": "string"
- },
- "region": {
- "description": "Required. The Google Compute Engine region to run the training job in.",
- "type": "string"
- },
- "args": {
- "description": "Optional. Command line arguments to pass to the program.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "parameterServerType": {
- "description": "Optional. Specifies the type of virtual machine to use for your training\njob's parameter server.\n\nThe supported values are the same as those described in the entry for\n`master_type`.\n\nThis value must be present when `scaleTier` is set to `CUSTOM` and\n`parameter_server_count` is greater than zero.",
- "type": "string"
- },
- "scaleTier": {
- "description": "Required. Specifies the machine types, the number of replicas for workers\nand parameter servers.",
- "enum": [
- "BASIC",
- "STANDARD_1",
- "PREMIUM_1",
- "BASIC_GPU",
- "CUSTOM"
- ],
- "enumDescriptions": [
- "A single worker instance. This tier is suitable for learning how to use\nCloud ML, and for experimenting with new models using small datasets.",
- "Many workers and a few parameter servers.",
- "A large number of workers with many parameter servers.",
- "A single worker instance [with a GPU](ml/docs/how-tos/using-gpus).",
- "The CUSTOM tier is not a set tier, but rather enables you to use your\nown cluster specification. When you use this tier, set values to\nconfigure your processing cluster according to these guidelines:\n\n* You _must_ set `TrainingInput.masterType` to specify the type\n of machine to use for your master node. This is the only required\n setting.\n\n* You _may_ set `TrainingInput.workerCount` to specify the number of\n workers to use. If you specify one or more workers, you _must_ also\n set `TrainingInput.workerType` to specify the type of machine to use\n for your worker nodes.\n\n* You _may_ set `TrainingInput.parameterServerCount` to specify the\n number of parameter servers to use. If you specify one or more\n parameter servers, you _must_ also set\n `TrainingInput.parameterServerType` to specify the type of machine to\n use for your parameter servers.\n\nNote that all of your workers must use the same machine type, which can\nbe different from your parameter server type and master type. Your\nparameter servers must likewise use the same machine type, which can be\ndifferent from your worker type and master type."
- ],
- "type": "string"
- },
- "jobDir": {
- "description": "Optional. A Google Cloud Storage path in which to store training outputs\nand other data needed for training. This path is passed to your TensorFlow\nprogram as the 'job_dir' command-line argument. The benefit of specifying\nthis field is that Cloud ML validates the path for use in training.",
- "type": "string"
- },
- "hyperparameters": {
- "$ref": "GoogleCloudMlV1beta1__HyperparameterSpec",
- "description": "Optional. The set of Hyperparameters to tune."
- },
- "parameterServerCount": {
- "description": "Optional. The number of parameter server replicas to use for the training\njob. Each replica in the cluster will be of the type specified in\n`parameter_server_type`.\n\nThis value can only be used when `scale_tier` is set to `CUSTOM`.If you\nset this value, you must also set `parameter_server_type`.",
- "format": "int64",
- "type": "string"
- },
- "packageUris": {
- "description": "Required. The Google Cloud Storage location of the packages with\nthe training program and any additional dependencies.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "workerCount": {
- "description": "Optional. The number of worker replicas to use for the training job. Each\nreplica in the cluster will be of the type specified in `worker_type`.\n\nThis value can only be used when `scale_tier` is set to `CUSTOM`. If you\nset this value, you must also set `worker_type`.",
- "format": "int64",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GoogleLongrunning__ListOperationsResponse": {
- "description": "The response message for Operations.ListOperations.",
- "id": "GoogleLongrunning__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": "GoogleLongrunning__Operation"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "GoogleCloudMlV1beta1__GetConfigResponse": {
- "description": "Returns service account information associated with a project.",
- "id": "GoogleCloudMlV1beta1__GetConfigResponse",
- "properties": {
- "serviceAccountProject": {
- "description": "The project number for `service_account`.",
- "format": "int64",
- "type": "string"
- },
- "serviceAccount": {
- "description": "The service account Cloud ML uses to access resources in the project.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GoogleCloudMlV1beta1__SetDefaultVersionRequest": {
- "description": "Request message for the SetDefaultVersion request.",
- "id": "GoogleCloudMlV1beta1__SetDefaultVersionRequest",
- "properties": {},
- "type": "object"
- },
- "GoogleCloudMlV1__ManualScaling": {
- "description": "Options for manually scaling a model.",
- "id": "GoogleCloudMlV1__ManualScaling",
- "properties": {
- "nodes": {
- "description": "The number of nodes to allocate for this model. These nodes are always up,\nstarting from the time the model is deployed, so the cost of operating\nthis model will be proportional to nodes * number of hours since\ndeployment.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "GoogleCloudMlV1beta1__ParameterSpec": {
- "description": "Represents a single hyperparameter to optimize.",
- "id": "GoogleCloudMlV1beta1__ParameterSpec",
- "properties": {
- "categoricalValues": {
- "description": "Required if type is `CATEGORICAL`. The list of possible categories.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "parameterName": {
- "description": "Required. The parameter name must be unique amongst all ParameterConfigs in\na HyperparameterSpec message. E.g., \"learning_rate\".",
- "type": "string"
- },
- "minValue": {
- "description": "Required if type is `DOUBLE` or `INTEGER`. This field\nshould be unset if type is `CATEGORICAL`. This value should be integers if\ntype is INTEGER.",
- "format": "double",
- "type": "number"
- },
- "discreteValues": {
- "description": "Required if type is `DISCRETE`.\nA list of feasible points.\nThe list should be in strictly increasing order. For instance, this\nparameter might have possible settings of 1.5, 2.5, and 4.0. This list\nshould not contain more than 1,000 values.",
- "items": {
- "format": "double",
- "type": "number"
- },
- "type": "array"
- },
- "scaleType": {
- "description": "Optional. How the parameter should be scaled to the hypercube.\nLeave unset for categorical parameters.\nSome kind of scaling is strongly recommended for real or integral\nparameters (e.g., `UNIT_LINEAR_SCALE`).",
- "enum": [
- "NONE",
- "UNIT_LINEAR_SCALE",
- "UNIT_LOG_SCALE",
- "UNIT_REVERSE_LOG_SCALE"
- ],
- "enumDescriptions": [
- "By default, no scaling is applied.",
- "Scales the feasible space to (0, 1) linearly.",
- "Scales the feasible space logarithmically to (0, 1). The entire feasible\nspace must be strictly positive.",
- "Scales the feasible space \"reverse\" logarithmically to (0, 1). The result\nis that values close to the top of the feasible space are spread out more\nthan points near the bottom. The entire feasible space must be strictly\npositive."
- ],
- "type": "string"
- },
- "maxValue": {
- "description": "Required if typeis `DOUBLE` or `INTEGER`. This field\nshould be unset if type is `CATEGORICAL`. This value should be integers if\ntype is `INTEGER`.",
- "format": "double",
- "type": "number"
- },
- "type": {
- "description": "Required. The type of the parameter.",
- "enum": [
- "PARAMETER_TYPE_UNSPECIFIED",
- "DOUBLE",
- "INTEGER",
- "CATEGORICAL",
- "DISCRETE"
- ],
- "enumDescriptions": [
- "You must specify a valid type. Using this unspecified type will result in\nan error.",
- "Type for real-valued parameters.",
- "Type for integral parameters.",
- "The parameter is categorical, with a value chosen from the categories\nfield.",
- "The parameter is real valued, with a fixed set of feasible points. If\n`type==DISCRETE`, feasible_points must be provided, and\n{`min_value`, `max_value`} will be ignored."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "GoogleCloudMlV1beta1_HyperparameterOutput_HyperparameterMetric": {
- "description": "An observed value of a metric.",
- "id": "GoogleCloudMlV1beta1_HyperparameterOutput_HyperparameterMetric",
- "properties": {
- "objectiveValue": {
- "description": "The objective value at this training step.",
- "format": "double",
- "type": "number"
- },
- "trainingStep": {
- "description": "The global training step for this metric.",
- "format": "int64",
+ "contentType": {
+ "description": "The HTTP Content-Type string representing the content type of the body.",
"type": "string"
}
},
@@ -1526,5 +1526,5 @@
},
"servicePath": "",
"title": "Google Cloud Machine Learning Engine",
- "version": "v1beta1"
+ "version": "v1"
}
\ No newline at end of file
diff --git a/discovery/googleapis/monitoring__v3.json b/discovery/googleapis/monitoring__v3.json
index 02a9b8b..e4a9aa7 100644
--- a/discovery/googleapis/monitoring__v3.json
+++ b/discovery/googleapis/monitoring__v3.json
@@ -34,19 +34,24 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
+ "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"
+ },
"pp": {
"default": "true",
"description": "Pretty-print response.",
"location": "query",
"type": "boolean"
},
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
+ "bearer_token": {
+ "description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
- "bearer_token": {
- "description": "OAuth bearer token.",
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
@@ -61,13 +66,13 @@
"location": "query",
"type": "boolean"
},
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
@@ -105,18 +110,13 @@
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
- "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"
},
- "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.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
}
@@ -125,6 +125,134 @@
"resources": {
"projects": {
"resources": {
+ "metricDescriptors": {
+ "methods": {
+ "list": {
+ "description": "Lists metric descriptors that match a filter. This method does not require a Stackdriver account.",
+ "httpMethod": "GET",
+ "id": "monitoring.projects.metricDescriptors.list",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "A positive number that is the maximum number of results to return.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "filter": {
+ "description": "If this field is empty, all custom and system-defined metric descriptors are returned. Otherwise, the filter specifies which metric descriptors are to be returned. For example, the following filter matches all custom metrics:\nmetric.type = starts_with(\"custom.googleapis.com/\")\n",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v3/{+name}/metricDescriptors",
+ "response": {
+ "$ref": "ListMetricDescriptorsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/monitoring",
+ "https://www.googleapis.com/auth/monitoring.read",
+ "https://www.googleapis.com/auth/monitoring.write"
+ ]
+ },
+ "get": {
+ "description": "Gets a single metric descriptor. This method does not require a Stackdriver account.",
+ "httpMethod": "GET",
+ "id": "monitoring.projects.metricDescriptors.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The metric descriptor on which to execute the request. The format is \"projects/{project_id_or_number}/metricDescriptors/{metric_id}\". An example value of {metric_id} is \"compute.googleapis.com/instance/disk/read_bytes_count\".",
+ "location": "path",
+ "pattern": "^projects/[^/]+/metricDescriptors/.+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v3/{+name}",
+ "response": {
+ "$ref": "MetricDescriptor"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/monitoring",
+ "https://www.googleapis.com/auth/monitoring.read",
+ "https://www.googleapis.com/auth/monitoring.write"
+ ]
+ },
+ "create": {
+ "description": "Creates a new metric descriptor. User-created metric descriptors define custom metrics.",
+ "httpMethod": "POST",
+ "id": "monitoring.projects.metricDescriptors.create",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v3/{+name}/metricDescriptors",
+ "request": {
+ "$ref": "MetricDescriptor"
+ },
+ "response": {
+ "$ref": "MetricDescriptor"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/monitoring",
+ "https://www.googleapis.com/auth/monitoring.write"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a metric descriptor. Only user-created custom metrics can be deleted.",
+ "httpMethod": "DELETE",
+ "id": "monitoring.projects.metricDescriptors.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The metric descriptor on which to execute the request. The format is \"projects/{project_id_or_number}/metricDescriptors/{metric_id}\". An example of {metric_id} is: \"custom.googleapis.com/my_test_metric\".",
+ "location": "path",
+ "pattern": "^projects/[^/]+/metricDescriptors/.+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v3/{+name}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/monitoring"
+ ]
+ }
+ }
+ },
"monitoredResourceDescriptors": {
"methods": {
"list": {
@@ -201,72 +329,6 @@
},
"groups": {
"methods": {
- "update": {
- "description": "Updates an existing group. You can change any group attributes except name.",
- "httpMethod": "PUT",
- "id": "monitoring.projects.groups.update",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "Output only. The name of this group. The format is \"projects/{project_id_or_number}/groups/{group_id}\". When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique {group_id} that is generated automatically.",
- "location": "path",
- "pattern": "^projects/[^/]+/groups/[^/]+$",
- "required": true,
- "type": "string"
- },
- "validateOnly": {
- "description": "If true, validate this request but do not update the existing group.",
- "location": "query",
- "type": "boolean"
- }
- },
- "path": "v3/{+name}",
- "request": {
- "$ref": "Group"
- },
- "response": {
- "$ref": "Group"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/monitoring"
- ]
- },
- "create": {
- "description": "Creates a new group.",
- "httpMethod": "POST",
- "id": "monitoring.projects.groups.create",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The project in which to create the group. The format is \"projects/{project_id_or_number}\".",
- "location": "path",
- "pattern": "^projects/[^/]+$",
- "required": true,
- "type": "string"
- },
- "validateOnly": {
- "description": "If true, validate this request but do not create the group.",
- "location": "query",
- "type": "boolean"
- }
- },
- "path": "v3/{+name}/groups",
- "request": {
- "$ref": "Group"
- },
- "response": {
- "$ref": "Group"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/monitoring"
- ]
- },
"delete": {
"description": "Deletes an existing group.",
"httpMethod": "DELETE",
@@ -369,6 +431,72 @@
"https://www.googleapis.com/auth/monitoring",
"https://www.googleapis.com/auth/monitoring.read"
]
+ },
+ "update": {
+ "description": "Updates an existing group. You can change any group attributes except name.",
+ "httpMethod": "PUT",
+ "id": "monitoring.projects.groups.update",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Output only. The name of this group. The format is \"projects/{project_id_or_number}/groups/{group_id}\". When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique {group_id} that is generated automatically.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/groups/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "validateOnly": {
+ "description": "If true, validate this request but do not update the existing group.",
+ "location": "query",
+ "type": "boolean"
+ }
+ },
+ "path": "v3/{+name}",
+ "request": {
+ "$ref": "Group"
+ },
+ "response": {
+ "$ref": "Group"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/monitoring"
+ ]
+ },
+ "create": {
+ "description": "Creates a new group.",
+ "httpMethod": "POST",
+ "id": "monitoring.projects.groups.create",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The project in which to create the group. The format is \"projects/{project_id_or_number}\".",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "validateOnly": {
+ "description": "If true, validate this request but do not create the group.",
+ "location": "query",
+ "type": "boolean"
+ }
+ },
+ "path": "v3/{+name}/groups",
+ "request": {
+ "$ref": "Group"
+ },
+ "response": {
+ "$ref": "Group"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/monitoring"
+ ]
}
},
"resources": {
@@ -475,55 +603,6 @@
"name"
],
"parameters": {
- "filter": {
- "description": "A monitoring filter that specifies which time series should be returned. The filter must specify a single metric type, and can additionally specify metric labels and other information. For example:\nmetric.type = \"compute.googleapis.com/instance/cpu/usage_time\" AND\n metric.label.instance_name = \"my-instance-name\"\n",
- "location": "query",
- "type": "string"
- },
- "pageToken": {
- "description": "If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.",
- "location": "query",
- "type": "string"
- },
- "aggregation.perSeriesAligner": {
- "description": "The approach to be used to align individual time series. Not all alignment functions may be applied to all time series, depending on the metric type and value type of the original time series. Alignment may change the metric type or the value type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned.",
- "enum": [
- "ALIGN_NONE",
- "ALIGN_DELTA",
- "ALIGN_RATE",
- "ALIGN_INTERPOLATE",
- "ALIGN_NEXT_OLDER",
- "ALIGN_MIN",
- "ALIGN_MAX",
- "ALIGN_MEAN",
- "ALIGN_COUNT",
- "ALIGN_SUM",
- "ALIGN_STDDEV",
- "ALIGN_COUNT_TRUE",
- "ALIGN_FRACTION_TRUE",
- "ALIGN_PERCENTILE_99",
- "ALIGN_PERCENTILE_95",
- "ALIGN_PERCENTILE_50",
- "ALIGN_PERCENTILE_05"
- ],
- "location": "query",
- "type": "string"
- },
- "interval.startTime": {
- "description": "Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.",
- "format": "google-datetime",
- "location": "query",
- "type": "string"
- },
- "view": {
- "description": "Specifies which information is returned about the time series.",
- "enum": [
- "FULL",
- "HEADERS"
- ],
- "location": "query",
- "type": "string"
- },
"name": {
"description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".",
"location": "path",
@@ -579,6 +658,55 @@
],
"location": "query",
"type": "string"
+ },
+ "filter": {
+ "description": "A monitoring filter that specifies which time series should be returned. The filter must specify a single metric type, and can additionally specify metric labels and other information. For example:\nmetric.type = \"compute.googleapis.com/instance/cpu/usage_time\" AND\n metric.label.instance_name = \"my-instance-name\"\n",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.",
+ "location": "query",
+ "type": "string"
+ },
+ "aggregation.perSeriesAligner": {
+ "description": "The approach to be used to align individual time series. Not all alignment functions may be applied to all time series, depending on the metric type and value type of the original time series. Alignment may change the metric type or the value type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned.",
+ "enum": [
+ "ALIGN_NONE",
+ "ALIGN_DELTA",
+ "ALIGN_RATE",
+ "ALIGN_INTERPOLATE",
+ "ALIGN_NEXT_OLDER",
+ "ALIGN_MIN",
+ "ALIGN_MAX",
+ "ALIGN_MEAN",
+ "ALIGN_COUNT",
+ "ALIGN_SUM",
+ "ALIGN_STDDEV",
+ "ALIGN_COUNT_TRUE",
+ "ALIGN_FRACTION_TRUE",
+ "ALIGN_PERCENTILE_99",
+ "ALIGN_PERCENTILE_95",
+ "ALIGN_PERCENTILE_50",
+ "ALIGN_PERCENTILE_05"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "interval.startTime": {
+ "description": "Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.",
+ "format": "google-datetime",
+ "location": "query",
+ "type": "string"
+ },
+ "view": {
+ "description": "Specifies which information is returned about the time series.",
+ "enum": [
+ "FULL",
+ "HEADERS"
+ ],
+ "location": "query",
+ "type": "string"
}
},
"path": "v3/{+name}/timeSeries",
@@ -621,667 +749,24 @@
]
}
}
- },
- "metricDescriptors": {
- "methods": {
- "delete": {
- "description": "Deletes a metric descriptor. Only user-created custom metrics can be deleted.",
- "httpMethod": "DELETE",
- "id": "monitoring.projects.metricDescriptors.delete",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The metric descriptor on which to execute the request. The format is \"projects/{project_id_or_number}/metricDescriptors/{metric_id}\". An example of {metric_id} is: \"custom.googleapis.com/my_test_metric\".",
- "location": "path",
- "pattern": "^projects/[^/]+/metricDescriptors/.+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v3/{+name}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/monitoring"
- ]
- },
- "list": {
- "description": "Lists metric descriptors that match a filter. This method does not require a Stackdriver account.",
- "httpMethod": "GET",
- "id": "monitoring.projects.metricDescriptors.list",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "filter": {
- "description": "If this field is empty, all custom and system-defined metric descriptors are returned. Otherwise, the filter specifies which metric descriptors are to be returned. For example, the following filter matches all custom metrics:\nmetric.type = starts_with(\"custom.googleapis.com/\")\n",
- "location": "query",
- "type": "string"
- },
- "name": {
- "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".",
- "location": "path",
- "pattern": "^projects/[^/]+$",
- "required": true,
- "type": "string"
- },
- "pageToken": {
- "description": "If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "A positive number that is the maximum number of results to return.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- }
- },
- "path": "v3/{+name}/metricDescriptors",
- "response": {
- "$ref": "ListMetricDescriptorsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/monitoring",
- "https://www.googleapis.com/auth/monitoring.read",
- "https://www.googleapis.com/auth/monitoring.write"
- ]
- },
- "get": {
- "description": "Gets a single metric descriptor. This method does not require a Stackdriver account.",
- "httpMethod": "GET",
- "id": "monitoring.projects.metricDescriptors.get",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The metric descriptor on which to execute the request. The format is \"projects/{project_id_or_number}/metricDescriptors/{metric_id}\". An example value of {metric_id} is \"compute.googleapis.com/instance/disk/read_bytes_count\".",
- "location": "path",
- "pattern": "^projects/[^/]+/metricDescriptors/.+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v3/{+name}",
- "response": {
- "$ref": "MetricDescriptor"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/monitoring",
- "https://www.googleapis.com/auth/monitoring.read",
- "https://www.googleapis.com/auth/monitoring.write"
- ]
- },
- "create": {
- "description": "Creates a new metric descriptor. User-created metric descriptors define custom metrics.",
- "httpMethod": "POST",
- "id": "monitoring.projects.metricDescriptors.create",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".",
- "location": "path",
- "pattern": "^projects/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v3/{+name}/metricDescriptors",
- "request": {
- "$ref": "MetricDescriptor"
- },
- "response": {
- "$ref": "MetricDescriptor"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/monitoring",
- "https://www.googleapis.com/auth/monitoring.write"
- ]
- }
- }
}
}
}
},
- "revision": "20170302",
+ "revision": "20170320",
"rootUrl": "https://monitoring.googleapis.com/",
"schemas": {
- "CollectdValue": {
- "description": "A single data point from a collectd-based plugin.",
- "id": "CollectdValue",
- "properties": {
- "dataSourceName": {
- "description": "The data source for the collectd value. For example there are two data sources for network measurements: \"rx\" and \"tx\".",
- "type": "string"
- },
- "value": {
- "$ref": "TypedValue",
- "description": "The measurement value."
- },
- "dataSourceType": {
- "description": "The type of measurement.",
- "enum": [
- "UNSPECIFIED_DATA_SOURCE_TYPE",
- "GAUGE",
- "COUNTER",
- "DERIVE",
- "ABSOLUTE"
- ],
- "enumDescriptions": [
- "An unspecified data source type. This corresponds to google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.",
- "An instantaneous measurement of a varying quantity. This corresponds to google.api.MetricDescriptor.MetricKind.GAUGE.",
- "A cumulative value over time. This corresponds to google.api.MetricDescriptor.MetricKind.CUMULATIVE.",
- "A rate of change of the measurement.",
- "An amount of change since the last measurement interval. This corresponds to google.api.MetricDescriptor.MetricKind.DELTA."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "MetricDescriptor": {
- "description": "Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.",
- "id": "MetricDescriptor",
- "properties": {
- "description": {
- "description": "A detailed description of the metric, which can be used in documentation.",
- "type": "string"
- },
- "displayName": {
- "description": "A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example \"Request count\".",
- "type": "string"
- },
- "unit": {
- "description": "The unit in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The supported units are a subset of The Unified Code for Units of Measure (http://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT)\nbit bit\nBy byte\ns second\nmin minute\nh hour\nd dayPrefixes (PREFIX)\nk kilo (10**3)\nM mega (10**6)\nG giga (10**9)\nT tera (10**12)\nP peta (10**15)\nE exa (10**18)\nZ zetta (10**21)\nY yotta (10**24)\nm milli (10**-3)\nu micro (10**-6)\nn nano (10**-9)\np pico (10**-12)\nf femto (10**-15)\na atto (10**-18)\nz zepto (10**-21)\ny yocto (10**-24)\nKi kibi (2**10)\nMi mebi (2**20)\nGi gibi (2**30)\nTi tebi (2**40)GrammarThe grammar includes the dimensionless unit 1, such as 1/s.The grammar also includes these connectors:\n/ division (as an infix operator, e.g. 1/s).\n. multiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is as follows:\nExpression = Component { \".\" Component } { \"/\" Component } ;\n\nComponent = [ PREFIX ] UNIT [ Annotation ]\n | Annotation\n | \"1\"\n ;\n\nAnnotation = \"{\" NAME \"}\" ;\nNotes:\nAnnotation is just a comment if it follows a UNIT and is equivalent to 1 if it is used alone. For examples, {requests}/s == 1/s, By{transmitted}/s == By/s.\nNAME is a sequence of non-blank printable ASCII characters not containing '{' or '}'.",
- "type": "string"
- },
- "labels": {
- "description": "The set of labels that can be used to describe a specific instance of this metric type. For example, the appengine.googleapis.com/http/server/response_latencies metric type has a label for the HTTP response code, response_code, so you can look at latencies for successful responses or just for responses that failed.",
- "items": {
- "$ref": "LabelDescriptor"
- },
- "type": "array"
- },
- "name": {
- "description": "The resource name of the metric descriptor. Depending on the implementation, the name typically includes: (1) the parent resource name that defines the scope of the metric type or of its data; and (2) the metric's URL-encoded type, which also appears in the type field of this descriptor. For example, following is the resource name of a custom metric within the GCP project my-project-id:\n\"projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount\"\n",
- "type": "string"
- },
- "type": {
- "description": "The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined custom metric types have the DNS name custom.googleapis.com. Metric types should use a natural hierarchical grouping. For example:\n\"custom.googleapis.com/invoice/paid/amount\"\n\"appengine.googleapis.com/http/server/response_latencies\"\n",
- "type": "string"
- },
- "valueType": {
- "description": "Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported.",
- "enum": [
- "VALUE_TYPE_UNSPECIFIED",
- "BOOL",
- "INT64",
- "DOUBLE",
- "STRING",
- "DISTRIBUTION",
- "MONEY"
- ],
- "enumDescriptions": [
- "Do not use this default value.",
- "The value is a boolean. This value type can be used only if the metric kind is GAUGE.",
- "The value is a signed 64-bit integer.",
- "The value is a double precision floating point number.",
- "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
- "The value is a Distribution.",
- "The value is money."
- ],
- "type": "string"
- },
- "metricKind": {
- "description": "Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.",
- "enum": [
- "METRIC_KIND_UNSPECIFIED",
- "GAUGE",
- "DELTA",
- "CUMULATIVE"
- ],
- "enumDescriptions": [
- "Do not use this default value.",
- "An instantaneous measurement of a value.",
- "The change in a value during a time interval.",
- "A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "SourceContext": {
- "description": "SourceContext represents information about the source of a protobuf element, like the file in which it is defined.",
- "id": "SourceContext",
- "properties": {
- "fileName": {
- "description": "The path-qualified name of the .proto file that contained the associated protobuf element. For example: \"google/protobuf/source_context.proto\".",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Range": {
- "description": "The range of the population values.",
- "id": "Range",
- "properties": {
- "min": {
- "description": "The minimum of the population values.",
- "format": "double",
- "type": "number"
- },
- "max": {
- "description": "The maximum of the population values.",
- "format": "double",
- "type": "number"
- }
- },
- "type": "object"
- },
- "ListGroupsResponse": {
- "description": "The ListGroups response.",
- "id": "ListGroupsResponse",
- "properties": {
- "group": {
- "description": "The groups that match the specified filters.",
- "items": {
- "$ref": "Group"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListGroupMembersResponse": {
- "description": "The ListGroupMembers response.",
- "id": "ListGroupMembersResponse",
- "properties": {
- "nextPageToken": {
- "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.",
- "type": "string"
- },
- "totalSize": {
- "description": "The total number of elements matching this request.",
- "format": "int32",
- "type": "integer"
- },
- "members": {
- "description": "A set of monitored resources in the group.",
- "items": {
- "$ref": "MonitoredResource"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "CreateCollectdTimeSeriesRequest": {
- "description": "The CreateCollectdTimeSeries request.",
- "id": "CreateCollectdTimeSeriesRequest",
- "properties": {
- "resource": {
- "$ref": "MonitoredResource",
- "description": "The monitored resource associated with the time series."
- },
- "collectdPayloads": {
- "description": "The collectd payloads representing the time series data. You must not include more than a single point for each time series, so no two payloads can have the same values for all of the fields plugin, plugin_instance, type, and type_instance.",
- "items": {
- "$ref": "CollectdPayload"
- },
- "type": "array"
- },
- "collectdVersion": {
- "description": "The version of collectd that collected the data. Example: \"5.3.0-192.el6\".",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListMonitoredResourceDescriptorsResponse": {
- "description": "The ListMonitoredResourcDescriptors response.",
- "id": "ListMonitoredResourceDescriptorsResponse",
- "properties": {
- "nextPageToken": {
- "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.",
- "type": "string"
- },
- "resourceDescriptors": {
- "description": "The monitored resource descriptors that are available to this project and that match filter, if present.",
- "items": {
- "$ref": "MonitoredResourceDescriptor"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "TimeSeries": {
- "description": "A collection of data points that describes the time-varying values of a metric. A time series is identified by a combination of a fully-specified monitored resource and a fully-specified metric. This type is used for both listing and creating time series.",
- "id": "TimeSeries",
- "properties": {
- "resource": {
- "$ref": "MonitoredResource",
- "description": "The associated resource. A fully-specified monitored resource used to identify the time series."
- },
- "metricKind": {
- "description": "The metric kind of the time series. When listing time series, this metric kind might be different from the metric kind of the associated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either GAUGE (the default) or CUMULATIVE.",
- "enum": [
- "METRIC_KIND_UNSPECIFIED",
- "GAUGE",
- "DELTA",
- "CUMULATIVE"
- ],
- "enumDescriptions": [
- "Do not use this default value.",
- "An instantaneous measurement of a value.",
- "The change in a value during a time interval.",
- "A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points."
- ],
- "type": "string"
- },
- "metric": {
- "$ref": "Metric",
- "description": "The associated metric. A fully-specified metric used to identify the time series."
- },
- "points": {
- "description": "The data points of this time series. When listing time series, the order of the points is specified by the list method.When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be BOOL, INT64, DOUBLE, or DISTRIBUTION.",
- "items": {
- "$ref": "Point"
- },
- "type": "array"
- },
- "valueType": {
- "description": "The value type of the time series. When listing time series, this value type might be different from the value type of the associated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the type of the data in the points field.",
- "enum": [
- "VALUE_TYPE_UNSPECIFIED",
- "BOOL",
- "INT64",
- "DOUBLE",
- "STRING",
- "DISTRIBUTION",
- "MONEY"
- ],
- "enumDescriptions": [
- "Do not use this default value.",
- "The value is a boolean. This value type can be used only if the metric kind is GAUGE.",
- "The value is a signed 64-bit integer.",
- "The value is a double precision floating point number.",
- "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
- "The value is a Distribution.",
- "The value is money."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "CreateTimeSeriesRequest": {
- "description": "The CreateTimeSeries request.",
- "id": "CreateTimeSeriesRequest",
- "properties": {
- "timeSeries": {
- "description": "The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each TimeSeries value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.",
- "items": {
- "$ref": "TimeSeries"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Distribution": {
- "description": "Distribution contains summary statistics for a population of values and, optionally, a histogram representing the distribution of those values across a specified set of histogram buckets.The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values.The histogram is based on a sequence of buckets and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by specifying parameters for a method of computing them (buckets of fixed width or buckets of exponentially increasing width).Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of values, as this will render the mean and sum_of_squared_deviation fields meaningless.",
- "id": "Distribution",
- "properties": {
- "mean": {
- "description": "The arithmetic mean of the values in the population. If count is zero then this field must be zero.",
- "format": "double",
- "type": "number"
- },
- "count": {
- "description": "The number of values in the population. Must be non-negative.",
- "format": "int64",
- "type": "string"
- },
- "bucketCounts": {
- "description": "If bucket_options is given, then the sum of the values in bucket_counts must equal the value in count. If bucket_options is not given, no bucket_counts fields may be given.Bucket counts are given in order under the numbering scheme described above (the underflow bucket has number 0; the finite buckets, if any, have numbers 1 through N-2; the overflow bucket has number N-1).The size of bucket_counts must be no greater than N as defined in bucket_options.Any suffix of trailing zero bucket_count fields may be omitted.",
- "items": {
- "format": "int64",
- "type": "string"
- },
- "type": "array"
- },
- "bucketOptions": {
- "$ref": "BucketOptions",
- "description": "Defines the histogram bucket boundaries."
- },
- "sumOfSquaredDeviation": {
- "description": "The sum of squared deviations from the mean of the values in the population. For values x_i this is:\nSum[i=1..n]((x_i - mean)^2)\nKnuth, \"The Art of Computer Programming\", Vol. 2, page 323, 3rd edition describes Welford's method for accumulating this sum in one pass.If count is zero then this field must be zero.",
- "format": "double",
- "type": "number"
- },
- "range": {
- "$ref": "Range",
- "description": "If specified, contains the range of the population values. The field must not be present if the count is zero. This field is presently ignored by the Stackdriver Monitoring API v3."
- }
- },
- "type": "object"
- },
- "MonitoredResource": {
- "description": "An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for \"gce_instance\" has labels \"instance_id\" and \"zone\":\n{ \"type\": \"gce_instance\",\n \"labels\": { \"instance_id\": \"12345678901234\",\n \"zone\": \"us-central1-a\" }}\n",
- "id": "MonitoredResource",
- "properties": {
- "type": {
- "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL database is \"cloudsql_database\".",
- "type": "string"
- },
- "labels": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Cloud SQL databases use the labels \"database_id\" and \"zone\".",
- "type": "object"
- }
- },
- "type": "object"
- },
- "ListMetricDescriptorsResponse": {
- "description": "The ListMetricDescriptors response.",
- "id": "ListMetricDescriptorsResponse",
- "properties": {
- "metricDescriptors": {
- "description": "The metric descriptors that are available to the project and that match the value of filter, if present.",
- "items": {
- "$ref": "MetricDescriptor"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "MonitoredResourceDescriptor": {
- "description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of \"gce_instance\" and specifies the use of the labels \"instance_id\" and \"zone\" to identify particular VM instances.Different APIs can support different monitored resource types. APIs generally provide a list method that returns the monitored resource descriptors used by the API.",
- "id": "MonitoredResourceDescriptor",
- "properties": {
- "name": {
- "description": "Optional. The resource name of the monitored resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type}\" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format \"monitoredResourceDescriptors/{type}\".",
- "type": "string"
- },
- "displayName": {
- "description": "Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, \"Google Cloud SQL Database\".",
- "type": "string"
- },
- "description": {
- "description": "Optional. A detailed description of the monitored resource type that might be used in documentation.",
- "type": "string"
- },
- "type": {
- "description": "Required. The monitored resource type. For example, the type \"cloudsql_database\" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.",
- "type": "string"
- },
- "labels": {
- "description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels \"database_id\" and \"zone\".",
- "items": {
- "$ref": "LabelDescriptor"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "TypedValue": {
- "description": "A single strongly-typed value.",
- "id": "TypedValue",
- "properties": {
- "doubleValue": {
- "description": "A 64-bit double-precision floating-point number. Its magnitude is approximately ±10<sup>±300</sup> and it has 16 significant digits of precision.",
- "format": "double",
- "type": "number"
- },
- "int64Value": {
- "description": "A 64-bit integer. Its range is approximately ±9.2x10<sup>18</sup>.",
- "format": "int64",
- "type": "string"
- },
- "distributionValue": {
- "$ref": "Distribution",
- "description": "A distribution value."
- },
- "boolValue": {
- "description": "A Boolean value: true or false.",
- "type": "boolean"
- },
- "stringValue": {
- "description": "A variable-length string value.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CollectdPayload": {
- "description": "A collection of data points sent from a collectd-based plugin. See the collectd documentation for more information.",
- "id": "CollectdPayload",
- "properties": {
- "values": {
- "description": "The measured values during this time interval. Each value must have a different dataSourceName.",
- "items": {
- "$ref": "CollectdValue"
- },
- "type": "array"
- },
- "typeInstance": {
- "description": "The measurement type instance. Example: \"used\".",
- "type": "string"
- },
- "metadata": {
- "additionalProperties": {
- "$ref": "TypedValue"
- },
- "description": "The measurement metadata. Example: \"process_id\" -> 12345",
- "type": "object"
- },
- "type": {
- "description": "The measurement type. Example: \"memory\".",
- "type": "string"
- },
- "plugin": {
- "description": "The name of the plugin. Example: \"disk\".",
- "type": "string"
- },
- "pluginInstance": {
- "description": "The instance name of the plugin Example: \"hdcl\".",
- "type": "string"
- },
- "endTime": {
- "description": "The end time of the interval.",
- "format": "google-datetime",
- "type": "string"
- },
- "startTime": {
- "description": "The start time of the interval.",
- "format": "google-datetime",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Linear": {
- "description": "Specify a sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.Defines num_finite_buckets + 2 (= N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)).",
- "id": "Linear",
- "properties": {
- "offset": {
- "description": "Lower bound of the first bucket.",
- "format": "double",
- "type": "number"
- },
- "numFiniteBuckets": {
- "description": "Must be greater than 0.",
- "format": "int32",
- "type": "integer"
- },
- "width": {
- "description": "Must be greater than 0.",
- "format": "double",
- "type": "number"
- }
- },
- "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:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}.",
- "id": "Empty",
- "properties": {},
- "type": "object"
- },
- "Option": {
- "description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc.",
- "id": "Option",
- "properties": {
- "name": {
- "description": "The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, \"map_entry\". For custom options, it should be the fully-qualified name. For example, \"google.api.http\".",
- "type": "string"
- },
- "value": {
- "additionalProperties": {
- "description": "Properties of the object. Contains field @type with type URL.",
- "type": "any"
- },
- "description": "The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.",
- "type": "object"
- }
- },
- "type": "object"
- },
"TimeInterval": {
"description": "A time interval extending just after a start time through an end time. If the start time is the same as the end time, then the interval represents a single point in time.",
"id": "TimeInterval",
"properties": {
- "startTime": {
- "description": "Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.",
+ "endTime": {
+ "description": "Required. The end of the time interval.",
"format": "google-datetime",
"type": "string"
},
- "endTime": {
- "description": "Required. The end of the time interval.",
+ "startTime": {
+ "description": "Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.",
"format": "google-datetime",
"type": "string"
}
@@ -1289,7 +774,7 @@
"type": "object"
},
"Explicit": {
- "description": "A set of buckets with arbitrary widths.Defines size(bounds) + 1 (= N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1There must be at least one element in bounds. If bounds has only one element, there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.",
+ "description": "Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.",
"id": "Explicit",
"properties": {
"bounds": {
@@ -1304,7 +789,7 @@
"type": "object"
},
"Exponential": {
- "description": "Specify a sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.Defines num_finite_buckets + 2 (= N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).",
+ "description": "Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).",
"id": "Exponential",
"properties": {
"growthFactor": {
@@ -1344,39 +829,6 @@
"description": "A single field of a message type.",
"id": "Field",
"properties": {
- "oneofIndex": {
- "description": "The index of the field type in Type.oneofs, for message or enumeration types. The first type has index 1; zero means the type is not in the list.",
- "format": "int32",
- "type": "integer"
- },
- "packed": {
- "description": "Whether to use alternative packed wire representation.",
- "type": "boolean"
- },
- "cardinality": {
- "description": "The field cardinality.",
- "enum": [
- "CARDINALITY_UNKNOWN",
- "CARDINALITY_OPTIONAL",
- "CARDINALITY_REQUIRED",
- "CARDINALITY_REPEATED"
- ],
- "enumDescriptions": [
- "For fields with unknown cardinality.",
- "For optional fields.",
- "For required fields. Proto2 syntax only.",
- "For repeated fields."
- ],
- "type": "string"
- },
- "defaultValue": {
- "description": "The string value of the default value of this field. Proto2 syntax only.",
- "type": "string"
- },
- "name": {
- "description": "The field name.",
- "type": "string"
- },
"typeUrl": {
"description": "The field type URL, without the scheme, for message or enumeration types. Example: \"type.googleapis.com/google.protobuf.Timestamp\".",
"type": "string"
@@ -1386,6 +838,10 @@
"format": "int32",
"type": "integer"
},
+ "jsonName": {
+ "description": "The field JSON name.",
+ "type": "string"
+ },
"kind": {
"description": "The field type.",
"enum": [
@@ -1432,16 +888,45 @@
],
"type": "string"
},
- "jsonName": {
- "description": "The field JSON name.",
- "type": "string"
- },
"options": {
"description": "The protocol buffer options.",
"items": {
"$ref": "Option"
},
"type": "array"
+ },
+ "oneofIndex": {
+ "description": "The index of the field type in Type.oneofs, for message or enumeration types. The first type has index 1; zero means the type is not in the list.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "cardinality": {
+ "description": "The field cardinality.",
+ "enum": [
+ "CARDINALITY_UNKNOWN",
+ "CARDINALITY_OPTIONAL",
+ "CARDINALITY_REQUIRED",
+ "CARDINALITY_REPEATED"
+ ],
+ "enumDescriptions": [
+ "For fields with unknown cardinality.",
+ "For optional fields.",
+ "For required fields. Proto2 syntax only.",
+ "For repeated fields."
+ ],
+ "type": "string"
+ },
+ "packed": {
+ "description": "Whether to use alternative packed wire representation.",
+ "type": "boolean"
+ },
+ "defaultValue": {
+ "description": "The string value of the default value of this field. Proto2 syntax only.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The field name.",
+ "type": "string"
}
},
"type": "object"
@@ -1515,6 +1000,13 @@
"description": "A protocol buffer message type.",
"id": "Type",
"properties": {
+ "fields": {
+ "description": "The list of fields.",
+ "items": {
+ "$ref": "Field"
+ },
+ "type": "array"
+ },
"name": {
"description": "The fully qualified message name.",
"type": "string"
@@ -1548,13 +1040,6 @@
"$ref": "Option"
},
"type": "array"
- },
- "fields": {
- "description": "The list of fields.",
- "items": {
- "$ref": "Field"
- },
- "type": "array"
}
},
"type": "object"
@@ -1563,6 +1048,10 @@
"description": "The description of a dynamic collection of monitored resources. Each group has a filter that is matched against monitored resources and their associated metadata. If a group's filter matches an available monitored resource, then that resource is a member of that group. Groups can contain any number of monitored resources, and each monitored resource can be a member of any number of groups.Groups can be nested in parent-child hierarchies. The parentName field identifies an optional parent for each group. If a group has a parent, then the only monitored resources available to be matched by the group's filter are the resources contained in the parent group. In other words, a group contains the monitored resources that match its filter and the filters of all the group's ancestors. A group without a parent can contain any monitored resource.For example, consider an infrastructure running a set of instances with two user-defined tags: \"environment\" and \"role\". A parent group has a filter, environment=\"production\". A child of that parent group has a filter, role=\"transcoder\". The parent group contains all instances in the production environment, regardless of their roles. The child group contains instances that have the transcoder role and are in the production environment.The monitored resources contained in a group can change at any moment, depending on what resources exist and what filters are associated with the group and its ancestors.",
"id": "Group",
"properties": {
+ "isCluster": {
+ "description": "If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters.",
+ "type": "boolean"
+ },
"filter": {
"description": "The filter used to determine which monitored resources belong to this group.",
"type": "string"
@@ -1578,16 +1067,12 @@
"displayName": {
"description": "A user-assigned name for this group, used only for display purposes.",
"type": "string"
- },
- "isCluster": {
- "description": "If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters.",
- "type": "boolean"
}
},
"type": "object"
},
"BucketOptions": {
- "description": "A Distribution may optionally contain a histogram of the values in the population. The histogram is given in bucket_counts as counts of values that fall into one of a sequence of non-overlapping buckets. The sequence of buckets is described by bucket_options.A bucket specifies an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket is strictly greater than the lower bound.The sequence of N buckets for a Distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.BucketOptions describes bucket boundaries in one of three ways. Two describe the boundaries by giving parameters for a formula to generate boundaries and one gives the bucket boundaries explicitly.If bucket_options is not given, then no bucket_counts may be given.",
+ "description": "BucketOptions describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. BucketOptions does not include the number of values in each bucket.A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.",
"id": "BucketOptions",
"properties": {
"exponentialBuckets": {
@@ -1604,6 +1089,521 @@
}
},
"type": "object"
+ },
+ "CollectdValue": {
+ "description": "A single data point from a collectd-based plugin.",
+ "id": "CollectdValue",
+ "properties": {
+ "dataSourceName": {
+ "description": "The data source for the collectd value. For example there are two data sources for network measurements: \"rx\" and \"tx\".",
+ "type": "string"
+ },
+ "value": {
+ "$ref": "TypedValue",
+ "description": "The measurement value."
+ },
+ "dataSourceType": {
+ "description": "The type of measurement.",
+ "enum": [
+ "UNSPECIFIED_DATA_SOURCE_TYPE",
+ "GAUGE",
+ "COUNTER",
+ "DERIVE",
+ "ABSOLUTE"
+ ],
+ "enumDescriptions": [
+ "An unspecified data source type. This corresponds to google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.",
+ "An instantaneous measurement of a varying quantity. This corresponds to google.api.MetricDescriptor.MetricKind.GAUGE.",
+ "A cumulative value over time. This corresponds to google.api.MetricDescriptor.MetricKind.CUMULATIVE.",
+ "A rate of change of the measurement.",
+ "An amount of change since the last measurement interval. This corresponds to google.api.MetricDescriptor.MetricKind.DELTA."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SourceContext": {
+ "description": "SourceContext represents information about the source of a protobuf element, like the file in which it is defined.",
+ "id": "SourceContext",
+ "properties": {
+ "fileName": {
+ "description": "The path-qualified name of the .proto file that contained the associated protobuf element. For example: \"google/protobuf/source_context.proto\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "MetricDescriptor": {
+ "description": "Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.",
+ "id": "MetricDescriptor",
+ "properties": {
+ "name": {
+ "description": "The resource name of the metric descriptor. Depending on the implementation, the name typically includes: (1) the parent resource name that defines the scope of the metric type or of its data; and (2) the metric's URL-encoded type, which also appears in the type field of this descriptor. For example, following is the resource name of a custom metric within the GCP project my-project-id:\n\"projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount\"\n",
+ "type": "string"
+ },
+ "type": {
+ "description": "The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined custom metric types have the DNS name custom.googleapis.com. Metric types should use a natural hierarchical grouping. For example:\n\"custom.googleapis.com/invoice/paid/amount\"\n\"appengine.googleapis.com/http/server/response_latencies\"\n",
+ "type": "string"
+ },
+ "valueType": {
+ "description": "Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported.",
+ "enum": [
+ "VALUE_TYPE_UNSPECIFIED",
+ "BOOL",
+ "INT64",
+ "DOUBLE",
+ "STRING",
+ "DISTRIBUTION",
+ "MONEY"
+ ],
+ "enumDescriptions": [
+ "Do not use this default value.",
+ "The value is a boolean. This value type can be used only if the metric kind is GAUGE.",
+ "The value is a signed 64-bit integer.",
+ "The value is a double precision floating point number.",
+ "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
+ "The value is a Distribution.",
+ "The value is money."
+ ],
+ "type": "string"
+ },
+ "metricKind": {
+ "description": "Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.",
+ "enum": [
+ "METRIC_KIND_UNSPECIFIED",
+ "GAUGE",
+ "DELTA",
+ "CUMULATIVE"
+ ],
+ "enumDescriptions": [
+ "Do not use this default value.",
+ "An instantaneous measurement of a value.",
+ "The change in a value during a time interval.",
+ "A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points."
+ ],
+ "type": "string"
+ },
+ "displayName": {
+ "description": "A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example \"Request count\".",
+ "type": "string"
+ },
+ "description": {
+ "description": "A detailed description of the metric, which can be used in documentation.",
+ "type": "string"
+ },
+ "unit": {
+ "description": "The unit in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The supported units are a subset of The Unified Code for Units of Measure (http://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT)\nbit bit\nBy byte\ns second\nmin minute\nh hour\nd dayPrefixes (PREFIX)\nk kilo (10**3)\nM mega (10**6)\nG giga (10**9)\nT tera (10**12)\nP peta (10**15)\nE exa (10**18)\nZ zetta (10**21)\nY yotta (10**24)\nm milli (10**-3)\nu micro (10**-6)\nn nano (10**-9)\np pico (10**-12)\nf femto (10**-15)\na atto (10**-18)\nz zepto (10**-21)\ny yocto (10**-24)\nKi kibi (2**10)\nMi mebi (2**20)\nGi gibi (2**30)\nTi tebi (2**40)GrammarThe grammar includes the dimensionless unit 1, such as 1/s.The grammar also includes these connectors:\n/ division (as an infix operator, e.g. 1/s).\n. multiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is as follows:\nExpression = Component { \".\" Component } { \"/\" Component } ;\n\nComponent = [ PREFIX ] UNIT [ Annotation ]\n | Annotation\n | \"1\"\n ;\n\nAnnotation = \"{\" NAME \"}\" ;\nNotes:\nAnnotation is just a comment if it follows a UNIT and is equivalent to 1 if it is used alone. For examples, {requests}/s == 1/s, By{transmitted}/s == By/s.\nNAME is a sequence of non-blank printable ASCII characters not containing '{' or '}'.",
+ "type": "string"
+ },
+ "labels": {
+ "description": "The set of labels that can be used to describe a specific instance of this metric type. For example, the appengine.googleapis.com/http/server/response_latencies metric type has a label for the HTTP response code, response_code, so you can look at latencies for successful responses or just for responses that failed.",
+ "items": {
+ "$ref": "LabelDescriptor"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Range": {
+ "description": "The range of the population values.",
+ "id": "Range",
+ "properties": {
+ "min": {
+ "description": "The minimum of the population values.",
+ "format": "double",
+ "type": "number"
+ },
+ "max": {
+ "description": "The maximum of the population values.",
+ "format": "double",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "ListGroupsResponse": {
+ "description": "The ListGroups response.",
+ "id": "ListGroupsResponse",
+ "properties": {
+ "group": {
+ "description": "The groups that match the specified filters.",
+ "items": {
+ "$ref": "Group"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListGroupMembersResponse": {
+ "description": "The ListGroupMembers response.",
+ "id": "ListGroupMembersResponse",
+ "properties": {
+ "members": {
+ "description": "A set of monitored resources in the group.",
+ "items": {
+ "$ref": "MonitoredResource"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.",
+ "type": "string"
+ },
+ "totalSize": {
+ "description": "The total number of elements matching this request.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "CreateCollectdTimeSeriesRequest": {
+ "description": "The CreateCollectdTimeSeries request.",
+ "id": "CreateCollectdTimeSeriesRequest",
+ "properties": {
+ "resource": {
+ "$ref": "MonitoredResource",
+ "description": "The monitored resource associated with the time series."
+ },
+ "collectdPayloads": {
+ "description": "The collectd payloads representing the time series data. You must not include more than a single point for each time series, so no two payloads can have the same values for all of the fields plugin, plugin_instance, type, and type_instance.",
+ "items": {
+ "$ref": "CollectdPayload"
+ },
+ "type": "array"
+ },
+ "collectdVersion": {
+ "description": "The version of collectd that collected the data. Example: \"5.3.0-192.el6\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListMonitoredResourceDescriptorsResponse": {
+ "description": "The ListMonitoredResourcDescriptors response.",
+ "id": "ListMonitoredResourceDescriptorsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.",
+ "type": "string"
+ },
+ "resourceDescriptors": {
+ "description": "The monitored resource descriptors that are available to this project and that match filter, if present.",
+ "items": {
+ "$ref": "MonitoredResourceDescriptor"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "TimeSeries": {
+ "description": "A collection of data points that describes the time-varying values of a metric. A time series is identified by a combination of a fully-specified monitored resource and a fully-specified metric. This type is used for both listing and creating time series.",
+ "id": "TimeSeries",
+ "properties": {
+ "valueType": {
+ "description": "The value type of the time series. When listing time series, this value type might be different from the value type of the associated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the type of the data in the points field.",
+ "enum": [
+ "VALUE_TYPE_UNSPECIFIED",
+ "BOOL",
+ "INT64",
+ "DOUBLE",
+ "STRING",
+ "DISTRIBUTION",
+ "MONEY"
+ ],
+ "enumDescriptions": [
+ "Do not use this default value.",
+ "The value is a boolean. This value type can be used only if the metric kind is GAUGE.",
+ "The value is a signed 64-bit integer.",
+ "The value is a double precision floating point number.",
+ "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
+ "The value is a Distribution.",
+ "The value is money."
+ ],
+ "type": "string"
+ },
+ "resource": {
+ "$ref": "MonitoredResource",
+ "description": "The associated resource. A fully-specified monitored resource used to identify the time series."
+ },
+ "metricKind": {
+ "description": "The metric kind of the time series. When listing time series, this metric kind might be different from the metric kind of the associated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either GAUGE (the default) or CUMULATIVE.",
+ "enum": [
+ "METRIC_KIND_UNSPECIFIED",
+ "GAUGE",
+ "DELTA",
+ "CUMULATIVE"
+ ],
+ "enumDescriptions": [
+ "Do not use this default value.",
+ "An instantaneous measurement of a value.",
+ "The change in a value during a time interval.",
+ "A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points."
+ ],
+ "type": "string"
+ },
+ "metric": {
+ "$ref": "Metric",
+ "description": "The associated metric. A fully-specified metric used to identify the time series."
+ },
+ "points": {
+ "description": "The data points of this time series. When listing time series, the order of the points is specified by the list method.When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be BOOL, INT64, DOUBLE, or DISTRIBUTION.",
+ "items": {
+ "$ref": "Point"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "CreateTimeSeriesRequest": {
+ "description": "The CreateTimeSeries request.",
+ "id": "CreateTimeSeriesRequest",
+ "properties": {
+ "timeSeries": {
+ "description": "The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each TimeSeries value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.",
+ "items": {
+ "$ref": "TimeSeries"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Distribution": {
+ "description": "Distribution contains summary statistics for a population of values. It optionally contains a histogram representing the distribution of those values across a set of buckets.The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values. The histogram is based on a sequence of buckets and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by formulas for buckets of fixed or exponentially increasing widths.Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of values, as this will render the mean and sum_of_squared_deviation fields meaningless.",
+ "id": "Distribution",
+ "properties": {
+ "sumOfSquaredDeviation": {
+ "description": "The sum of squared deviations from the mean of the values in the population. For values x_i this is:\nSum[i=1..n]((x_i - mean)^2)\nKnuth, \"The Art of Computer Programming\", Vol. 2, page 323, 3rd edition describes Welford's method for accumulating this sum in one pass.If count is zero then this field must be zero.",
+ "format": "double",
+ "type": "number"
+ },
+ "range": {
+ "$ref": "Range",
+ "description": "If specified, contains the range of the population values. The field must not be present if the count is zero. This field is presently ignored by the Stackdriver Monitoring API v3."
+ },
+ "mean": {
+ "description": "The arithmetic mean of the values in the population. If count is zero then this field must be zero.",
+ "format": "double",
+ "type": "number"
+ },
+ "count": {
+ "description": "The number of values in the population. Must be non-negative. This value must equal the sum of the values in bucket_counts if a histogram is provided.",
+ "format": "int64",
+ "type": "string"
+ },
+ "bucketCounts": {
+ "description": "Required in the Stackdriver Monitoring API v3. The values for each bucket specified in bucket_options. The sum of the values in bucketCounts must equal the value in the count field of the Distribution object. The order of the bucket counts follows the numbering schemes described for the three bucket types. The underflow bucket has number 0; the finite buckets, if any, have numbers 1 through N-2; and the overflow bucket has number N-1. The size of bucket_counts must not be greater than N. If the size is less than N, then the remaining buckets are assigned values of zero.",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "bucketOptions": {
+ "$ref": "BucketOptions",
+ "description": "Required in the Stackdriver Monitoring API v3. Defines the histogram bucket boundaries."
+ }
+ },
+ "type": "object"
+ },
+ "MonitoredResource": {
+ "description": "An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for \"gce_instance\" has labels \"instance_id\" and \"zone\":\n{ \"type\": \"gce_instance\",\n \"labels\": { \"instance_id\": \"12345678901234\",\n \"zone\": \"us-central1-a\" }}\n",
+ "id": "MonitoredResource",
+ "properties": {
+ "type": {
+ "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL database is \"cloudsql_database\".",
+ "type": "string"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Cloud SQL databases use the labels \"database_id\" and \"zone\".",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "ListMetricDescriptorsResponse": {
+ "description": "The ListMetricDescriptors response.",
+ "id": "ListMetricDescriptorsResponse",
+ "properties": {
+ "metricDescriptors": {
+ "description": "The metric descriptors that are available to the project and that match the value of filter, if present.",
+ "items": {
+ "$ref": "MetricDescriptor"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "MonitoredResourceDescriptor": {
+ "description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of \"gce_instance\" and specifies the use of the labels \"instance_id\" and \"zone\" to identify particular VM instances.Different APIs can support different monitored resource types. APIs generally provide a list method that returns the monitored resource descriptors used by the API.",
+ "id": "MonitoredResourceDescriptor",
+ "properties": {
+ "type": {
+ "description": "Required. The monitored resource type. For example, the type \"cloudsql_database\" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.",
+ "type": "string"
+ },
+ "labels": {
+ "description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels \"database_id\" and \"zone\".",
+ "items": {
+ "$ref": "LabelDescriptor"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "Optional. The resource name of the monitored resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type}\" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format \"monitoredResourceDescriptors/{type}\".",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, \"Google Cloud SQL Database\".",
+ "type": "string"
+ },
+ "description": {
+ "description": "Optional. A detailed description of the monitored resource type that might be used in documentation.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "TypedValue": {
+ "description": "A single strongly-typed value.",
+ "id": "TypedValue",
+ "properties": {
+ "doubleValue": {
+ "description": "A 64-bit double-precision floating-point number. Its magnitude is approximately ±10<sup>±300</sup> and it has 16 significant digits of precision.",
+ "format": "double",
+ "type": "number"
+ },
+ "int64Value": {
+ "description": "A 64-bit integer. Its range is approximately ±9.2x10<sup>18</sup>.",
+ "format": "int64",
+ "type": "string"
+ },
+ "distributionValue": {
+ "$ref": "Distribution",
+ "description": "A distribution value."
+ },
+ "boolValue": {
+ "description": "A Boolean value: true or false.",
+ "type": "boolean"
+ },
+ "stringValue": {
+ "description": "A variable-length string value.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CollectdPayload": {
+ "description": "A collection of data points sent from a collectd-based plugin. See the collectd documentation for more information.",
+ "id": "CollectdPayload",
+ "properties": {
+ "typeInstance": {
+ "description": "The measurement type instance. Example: \"used\".",
+ "type": "string"
+ },
+ "metadata": {
+ "additionalProperties": {
+ "$ref": "TypedValue"
+ },
+ "description": "The measurement metadata. Example: \"process_id\" -> 12345",
+ "type": "object"
+ },
+ "type": {
+ "description": "The measurement type. Example: \"memory\".",
+ "type": "string"
+ },
+ "plugin": {
+ "description": "The name of the plugin. Example: \"disk\".",
+ "type": "string"
+ },
+ "pluginInstance": {
+ "description": "The instance name of the plugin Example: \"hdcl\".",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "The end time of the interval.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "The start time of the interval.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "values": {
+ "description": "The measured values during this time interval. Each value must have a different dataSourceName.",
+ "items": {
+ "$ref": "CollectdValue"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Linear": {
+ "description": "Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)).",
+ "id": "Linear",
+ "properties": {
+ "width": {
+ "description": "Must be greater than 0.",
+ "format": "double",
+ "type": "number"
+ },
+ "offset": {
+ "description": "Lower bound of the first bucket.",
+ "format": "double",
+ "type": "number"
+ },
+ "numFiniteBuckets": {
+ "description": "Must be greater than 0.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
+ "Option": {
+ "description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc.",
+ "id": "Option",
+ "properties": {
+ "name": {
+ "description": "The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, \"map_entry\". For custom options, it should be the fully-qualified name. For example, \"google.api.http\".",
+ "type": "string"
+ },
+ "value": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.",
+ "type": "object"
+ }
+ },
+ "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis/partners__v2.json b/discovery/googleapis/partners__v2.json
index 785bb16..2ac462e 100644
--- a/discovery/googleapis/partners__v2.json
+++ b/discovery/googleapis/partners__v2.json
@@ -2,10 +2,10 @@
"basePath": "",
"baseUrl": "https://partners.googleapis.com/",
"batchPath": "batch",
- "description": "Lets advertisers search certified companies and create contact leads with them, and also audits the usage of clients.",
+ "canonicalName": "Partners",
+ "description": "Searches certified companies and creates contact leads with them, and also audits the usage of clients.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/partners/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/IsLtDjyeCcVcrLheR4Lh75k5EO4\"",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
@@ -16,44 +16,18 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "access_token": {
- "description": "OAuth access token.",
- "location": "query",
- "type": "string"
- },
- "alt": {
- "default": "json",
- "description": "Data format for response.",
- "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"
- },
- "bearer_token": {
- "description": "OAuth bearer token.",
- "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.",
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "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"
},
@@ -63,14 +37,13 @@
"location": "query",
"type": "boolean"
},
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
"location": "query",
- "type": "boolean"
+ "type": "string"
},
- "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.",
+ "bearer_token": {
+ "description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
@@ -79,51 +52,250 @@
"location": "query",
"type": "string"
},
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
"$.xgafv": {
"description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "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"
}
},
"protocol": "rest",
"resources": {
- "userEvents": {
+ "leads": {
"methods": {
- "log": {
- "description": "Logs a user event.",
- "httpMethod": "POST",
- "id": "partners.userEvents.log",
- "path": "v2/userEvents:log",
- "request": {
- "$ref": "LogUserEventRequest"
+ "list": {
+ "description": "Lists advertiser leads for a user's associated company.\nShould only be called within the context of an authorized logged in user.",
+ "httpMethod": "GET",
+ "id": "partners.leads.list",
+ "parameterOrder": [],
+ "parameters": {
+ "requestMetadata.experimentIds": {
+ "description": "Experiment IDs the current request belongs to.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSubId": {
+ "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "How to order Leads. Currently, only `create_time`\nand `create_time desc` are supported",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.userId": {
+ "description": "Logged-in user ID to impersonate instead of the user's ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.partnersSessionId": {
+ "description": "Google Partners session ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results that the server returns.\nTypically, this is the value of `ListLeadsResponse.next_page_token`\nreturned from the previous call to\nListLeads.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Server may return fewer leads than requested.\nIf unspecified, server picks an appropriate default.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "requestMetadata.trafficSource.trafficSourceId": {
+ "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.locale": {
+ "description": "Locale to use for the current request.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.ipAddress": {
+ "description": "IP address to use instead of the user's geo-located IP address.",
+ "location": "query",
+ "type": "string"
+ }
},
+ "path": "v2/leads",
"response": {
- "$ref": "LogUserEventResponse"
+ "$ref": "ListLeadsResponse"
}
}
}
},
- "clientMessages": {
+ "offers": {
"methods": {
- "log": {
- "description": "Logs a generic message from the client, such as `Failed to render component`, `Profile page is running slow`, `More than 500 users have accessed this result.`, etc.",
- "httpMethod": "POST",
- "id": "partners.clientMessages.log",
- "path": "v2/clientMessages:log",
- "request": {
- "$ref": "LogMessageRequest"
+ "list": {
+ "description": "Lists the Offers available for the current user",
+ "httpMethod": "GET",
+ "id": "partners.offers.list",
+ "parameterOrder": [],
+ "parameters": {
+ "requestMetadata.userOverrides.userId": {
+ "description": "Logged-in user ID to impersonate instead of the user's ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.partnersSessionId": {
+ "description": "Google Partners session ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSourceId": {
+ "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.locale": {
+ "description": "Locale to use for the current request.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.ipAddress": {
+ "description": "IP address to use instead of the user's geo-located IP address.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.experimentIds": {
+ "description": "Experiment IDs the current request belongs to.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSubId": {
+ "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ }
},
+ "path": "v2/offers",
"response": {
- "$ref": "LogMessageResponse"
+ "$ref": "ListOffersResponse"
+ }
+ }
+ },
+ "resources": {
+ "history": {
+ "methods": {
+ "list": {
+ "description": "Lists the Historical Offers for the current user (or user's entire company)",
+ "httpMethod": "GET",
+ "id": "partners.offers.history.list",
+ "parameterOrder": [],
+ "parameters": {
+ "requestMetadata.experimentIds": {
+ "description": "Experiment IDs the current request belongs to.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "entireCompany": {
+ "description": "if true, show history for the entire company. Requires user to be admin.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "orderBy": {
+ "description": "Comma-separated list of fields to order by, e.g.: \"foo,bar,baz\".\nUse \"foo desc\" to sort descending.\nList of valid field names is: name, offer_code, expiration_time, status,\n last_modified_time, sender_name, creation_time, country_code,\n offer_type.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSubId": {
+ "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.userId": {
+ "description": "Logged-in user ID to impersonate instead of the user's ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.partnersSessionId": {
+ "description": "Google Partners session ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "Token to retrieve a specific page.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Maximum number of rows to return per page.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "requestMetadata.trafficSource.trafficSourceId": {
+ "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.locale": {
+ "description": "Locale to use for the current request.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.ipAddress": {
+ "description": "IP address to use instead of the user's geo-located IP address.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v2/offers/history",
+ "response": {
+ "$ref": "ListOffersHistoryResponse"
+ }
+ }
}
}
}
@@ -134,9 +306,16 @@
"description": "Lists states for current user.",
"httpMethod": "GET",
"id": "partners.userStates.list",
+ "parameterOrder": [],
"parameters": {
- "requestMetadata.userOverrides.ipAddress": {
- "description": "IP address to use instead of the user's geo-located IP address.",
+ "requestMetadata.experimentIds": {
+ "description": "Experiment IDs the current request belongs to.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSubId": {
+ "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
"location": "query",
"type": "string"
},
@@ -145,13 +324,54 @@
"location": "query",
"type": "string"
},
+ "requestMetadata.partnersSessionId": {
+ "description": "Google Partners session ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSourceId": {
+ "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
"requestMetadata.locale": {
"description": "Locale to use for the current request.",
"location": "query",
"type": "string"
},
- "requestMetadata.partnersSessionId": {
- "description": "Google Partners session ID.",
+ "requestMetadata.userOverrides.ipAddress": {
+ "description": "IP address to use instead of the user's geo-located IP address.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v2/userStates",
+ "response": {
+ "$ref": "ListUserStatesResponse"
+ }
+ }
+ }
+ },
+ "analytics": {
+ "methods": {
+ "list": {
+ "description": "Lists analytics data for a user's associated company.\nShould only be called within the context of an authorized logged in user.",
+ "httpMethod": "GET",
+ "id": "partners.analytics.list",
+ "parameterOrder": [],
+ "parameters": {
+ "requestMetadata.trafficSource.trafficSourceId": {
+ "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.locale": {
+ "description": "Locale to use for the current request.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.ipAddress": {
+ "description": "IP address to use instead of the user's geo-located IP address.",
"location": "query",
"type": "string"
},
@@ -161,20 +381,438 @@
"repeated": true,
"type": "string"
},
- "requestMetadata.trafficSource.trafficSourceId": {
- "description": "Identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.",
+ "requestMetadata.trafficSource.trafficSubId": {
+ "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
"location": "query",
"type": "string"
},
+ "requestMetadata.userOverrides.userId": {
+ "description": "Logged-in user ID to impersonate instead of the user's ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.partnersSessionId": {
+ "description": "Google Partners session ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results that the server returns.\nTypically, this is the value of `ListAnalyticsResponse.next_page_token`\nreturned from the previous call to\nListAnalytics.\nWill be a date string in `YYYY-MM-DD` format representing the end date\nof the date range of results to return.\nIf unspecified or set to \"\", default value is the current date.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Server may return fewer analytics than requested.\nIf unspecified or set to 0, default value is 30.\nSpecifies the number of days in the date range when querying analytics.\nThe `page_token` represents the end date of the date range\nand the start date is calculated using the `page_size` as the number\nof days BEFORE the end date.\nMust be a non-negative integer.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ }
+ },
+ "path": "v2/analytics",
+ "response": {
+ "$ref": "ListAnalyticsResponse"
+ }
+ }
+ }
+ },
+ "v2": {
+ "methods": {
+ "getPartnersstatus": {
+ "description": "Gets Partners Status of the logged in user's agency.\nShould only be called if the logged in user is the admin of the agency.",
+ "httpMethod": "GET",
+ "id": "partners.getPartnersstatus",
+ "parameterOrder": [],
+ "parameters": {
+ "requestMetadata.trafficSource.trafficSourceId": {
+ "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.locale": {
+ "description": "Locale to use for the current request.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.ipAddress": {
+ "description": "IP address to use instead of the user's geo-located IP address.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.experimentIds": {
+ "description": "Experiment IDs the current request belongs to.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
"requestMetadata.trafficSource.trafficSubId": {
- "description": "Second level identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.",
+ "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.userId": {
+ "description": "Logged-in user ID to impersonate instead of the user's ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.partnersSessionId": {
+ "description": "Google Partners session ID.",
"location": "query",
"type": "string"
}
},
- "path": "v2/userStates",
+ "path": "v2/partnersstatus",
"response": {
- "$ref": "ListUserStatesResponse"
+ "$ref": "GetPartnersStatusResponse"
+ }
+ },
+ "updateLeads": {
+ "description": "Updates the specified lead.",
+ "httpMethod": "PATCH",
+ "id": "partners.updateLeads",
+ "parameterOrder": [],
+ "parameters": {
+ "requestMetadata.partnersSessionId": {
+ "description": "Google Partners session ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.userId": {
+ "description": "Logged-in user ID to impersonate instead of the user's ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSourceId": {
+ "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.locale": {
+ "description": "Locale to use for the current request.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.ipAddress": {
+ "description": "IP address to use instead of the user's geo-located IP address.",
+ "location": "query",
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Standard field mask for the set of fields to be updated.\nRequired with at least 1 value in FieldMask's paths.\nOnly `state` and `adwords_customer_id` are currently supported.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.experimentIds": {
+ "description": "Experiment IDs the current request belongs to.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSubId": {
+ "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v2/leads",
+ "request": {
+ "$ref": "Lead"
+ },
+ "response": {
+ "$ref": "Lead"
+ }
+ },
+ "updateCompanies": {
+ "description": "Update company.\nShould only be called within the context of an authorized logged in user.",
+ "httpMethod": "PATCH",
+ "id": "partners.updateCompanies",
+ "parameterOrder": [],
+ "parameters": {
+ "requestMetadata.userOverrides.userId": {
+ "description": "Logged-in user ID to impersonate instead of the user's ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.partnersSessionId": {
+ "description": "Google Partners session ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSourceId": {
+ "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.locale": {
+ "description": "Locale to use for the current request.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.ipAddress": {
+ "description": "IP address to use instead of the user's geo-located IP address.",
+ "location": "query",
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Standard field mask for the set of fields to be updated.\nRequired with at least 1 value in FieldMask's paths.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.experimentIds": {
+ "description": "Experiment IDs the current request belongs to.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSubId": {
+ "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v2/companies",
+ "request": {
+ "$ref": "Company"
+ },
+ "response": {
+ "$ref": "Company"
+ }
+ }
+ }
+ },
+ "users": {
+ "methods": {
+ "get": {
+ "description": "Gets a user.",
+ "httpMethod": "GET",
+ "id": "partners.users.get",
+ "parameterOrder": [
+ "userId"
+ ],
+ "parameters": {
+ "requestMetadata.partnersSessionId": {
+ "description": "Google Partners session ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.userId": {
+ "description": "Logged-in user ID to impersonate instead of the user's ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "userView": {
+ "description": "Specifies what parts of the user information to return.",
+ "enum": [
+ "BASIC",
+ "PROFILE",
+ "PUBLIC_PROFILE"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSourceId": {
+ "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.locale": {
+ "description": "Locale to use for the current request.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.ipAddress": {
+ "description": "IP address to use instead of the user's geo-located IP address.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.experimentIds": {
+ "description": "Experiment IDs the current request belongs to.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSubId": {
+ "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "userId": {
+ "description": "Identifier of the user. Can be set to <code>me</code> to mean the currently\nauthenticated user.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2/users/{userId}",
+ "response": {
+ "$ref": "User"
+ }
+ },
+ "updateProfile": {
+ "description": "Updates a user's profile. A user can only update their own profile and\nshould only be called within the context of a logged in user.",
+ "httpMethod": "PATCH",
+ "id": "partners.users.updateProfile",
+ "parameterOrder": [],
+ "parameters": {
+ "requestMetadata.userOverrides.userId": {
+ "description": "Logged-in user ID to impersonate instead of the user's ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.partnersSessionId": {
+ "description": "Google Partners session ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSourceId": {
+ "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.locale": {
+ "description": "Locale to use for the current request.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.ipAddress": {
+ "description": "IP address to use instead of the user's geo-located IP address.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.experimentIds": {
+ "description": "Experiment IDs the current request belongs to.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSubId": {
+ "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v2/users/profile",
+ "request": {
+ "$ref": "UserProfile"
+ },
+ "response": {
+ "$ref": "UserProfile"
+ }
+ },
+ "createCompanyRelation": {
+ "description": "Creates a user's company relation. Affiliates the user to a company.",
+ "httpMethod": "PUT",
+ "id": "partners.users.createCompanyRelation",
+ "parameterOrder": [
+ "userId"
+ ],
+ "parameters": {
+ "requestMetadata.experimentIds": {
+ "description": "Experiment IDs the current request belongs to.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "userId": {
+ "description": "The ID of the user. Can be set to <code>me</code> to mean\nthe currently authenticated user.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSubId": {
+ "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.userId": {
+ "description": "Logged-in user ID to impersonate instead of the user's ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.partnersSessionId": {
+ "description": "Google Partners session ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSourceId": {
+ "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.locale": {
+ "description": "Locale to use for the current request.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.ipAddress": {
+ "description": "IP address to use instead of the user's geo-located IP address.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v2/users/{userId}/companyRelation",
+ "request": {
+ "$ref": "CompanyRelation"
+ },
+ "response": {
+ "$ref": "CompanyRelation"
+ }
+ },
+ "deleteCompanyRelation": {
+ "description": "Deletes a user's company relation. Unaffiliaites the user from a company.",
+ "httpMethod": "DELETE",
+ "id": "partners.users.deleteCompanyRelation",
+ "parameterOrder": [
+ "userId"
+ ],
+ "parameters": {
+ "requestMetadata.userOverrides.userId": {
+ "description": "Logged-in user ID to impersonate instead of the user's ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.partnersSessionId": {
+ "description": "Google Partners session ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSourceId": {
+ "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.locale": {
+ "description": "Locale to use for the current request.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.ipAddress": {
+ "description": "IP address to use instead of the user's geo-located IP address.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.experimentIds": {
+ "description": "Experiment IDs the current request belongs to.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSubId": {
+ "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "userId": {
+ "description": "The ID of the user. Can be set to <code>me</code> to mean\nthe currently authenticated user.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2/users/{userId}/companyRelation",
+ "response": {
+ "$ref": "Empty"
}
}
}
@@ -189,14 +827,8 @@
"companyId"
],
"parameters": {
- "companyId": {
- "description": "The ID of the company to retrieve.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "requestMetadata.userOverrides.ipAddress": {
- "description": "IP address to use instead of the user's geo-located IP address.",
+ "requestMetadata.partnersSessionId": {
+ "description": "Google Partners session ID.",
"location": "query",
"type": "string"
},
@@ -205,13 +837,43 @@
"location": "query",
"type": "string"
},
+ "view": {
+ "description": "The view of `Company` resource to be returned. This must not be\n`COMPANY_VIEW_UNSPECIFIED`.",
+ "enum": [
+ "COMPANY_VIEW_UNSPECIFIED",
+ "CV_GOOGLE_PARTNER_SEARCH"
+ ],
+ "location": "query",
+ "type": "string"
+ },
"requestMetadata.locale": {
"description": "Locale to use for the current request.",
"location": "query",
"type": "string"
},
- "requestMetadata.partnersSessionId": {
- "description": "Google Partners session ID.",
+ "address": {
+ "description": "The address to use for sorting the company's addresses by proximity.\nIf not given, the geo-located address of the request is used.\nUsed when order_by is set.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSourceId": {
+ "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.ipAddress": {
+ "description": "IP address to use instead of the user's geo-located IP address.",
+ "location": "query",
+ "type": "string"
+ },
+ "companyId": {
+ "description": "The ID of the company to retrieve.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "currencyCode": {
+ "description": "If the company's budget is in a different currency code than this one, then\nthe converted budget is converted to this currency code.",
"location": "query",
"type": "string"
},
@@ -221,37 +883,13 @@
"repeated": true,
"type": "string"
},
- "requestMetadata.trafficSource.trafficSourceId": {
- "description": "Identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.",
- "location": "query",
- "type": "string"
- },
"requestMetadata.trafficSource.trafficSubId": {
- "description": "Second level identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.",
- "location": "query",
- "type": "string"
- },
- "view": {
- "description": "The view of `Company` resource to be returned. This must not be `COMPANY_VIEW_UNSPECIFIED`.",
- "enum": [
- "COMPANY_VIEW_UNSPECIFIED",
- "CV_GOOGLE_PARTNER_SEARCH"
- ],
+ "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
"location": "query",
"type": "string"
},
"orderBy": {
- "description": "How to order addresses within the returned company. Currently, only `address` and `address desc` is supported which will sorted by closest to farthest in distance from given address and farthest to closest distance from given address respectively.",
- "location": "query",
- "type": "string"
- },
- "currencyCode": {
- "description": "If the company's budget is in a different currency code than this one, then the converted budget is converted to this currency code.",
- "location": "query",
- "type": "string"
- },
- "address": {
- "description": "The address to use for sorting the company's addresses by proximity. If not given, the geo-located address of the request is used. Used when order_by is set.",
+ "description": "How to order addresses within the returned company. Currently, only\n`address` and `address desc` is supported which will sorted by closest to\nfarthest in distance from given address and farthest to closest distance\nfrom given address respectively.",
"location": "query",
"type": "string"
}
@@ -265,66 +903,53 @@
"description": "Lists companies.",
"httpMethod": "GET",
"id": "partners.companies.list",
+ "parameterOrder": [],
"parameters": {
+ "languageCodes": {
+ "description": "List of language codes that company can support. Only primary language\nsubtags are accepted as defined by\n<a href=\"https://tools.ietf.org/html/bcp47\">BCP 47</a>\n(IETF BCP 47, \"Tags for Identifying Languages\").",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Server may return fewer companies than requested.\nIf unspecified, server picks an appropriate default.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
"requestMetadata.userOverrides.ipAddress": {
"description": "IP address to use instead of the user's geo-located IP address.",
"location": "query",
"type": "string"
},
- "requestMetadata.userOverrides.userId": {
- "description": "Logged-in user ID to impersonate instead of the user's ID.",
- "location": "query",
- "type": "string"
- },
- "requestMetadata.locale": {
- "description": "Locale to use for the current request.",
- "location": "query",
- "type": "string"
- },
- "requestMetadata.partnersSessionId": {
- "description": "Google Partners session ID.",
- "location": "query",
- "type": "string"
- },
"requestMetadata.experimentIds": {
"description": "Experiment IDs the current request belongs to.",
"location": "query",
"repeated": true,
"type": "string"
},
- "requestMetadata.trafficSource.trafficSourceId": {
- "description": "Identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.",
+ "orderBy": {
+ "description": "How to order addresses within the returned companies. Currently, only\n`address` and `address desc` is supported which will sorted by closest to\nfarthest in distance from given address and farthest to closest distance\nfrom given address respectively.",
"location": "query",
"type": "string"
},
- "requestMetadata.trafficSource.trafficSubId": {
- "description": "Second level identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Requested page size. Server may return fewer companies than requested. If unspecified, server picks an appropriate default.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "pageToken": {
- "description": "A token identifying a page of results that the server returns. Typically, this is the value of `ListCompaniesResponse.next_page_token` returned from the previous call to ListCompanies.",
- "location": "query",
- "type": "string"
- },
- "companyName": {
- "description": "Company name to search for.",
- "location": "query",
- "type": "string"
- },
- "view": {
- "description": "The view of the `Company` resource to be returned. This must not be `COMPANY_VIEW_UNSPECIFIED`.",
+ "specializations": {
+ "description": "List of specializations that the returned agencies should provide. If this\nis not empty, any returned agency must have at least one of these\nspecializations, or one of the services in the \"services\" field.",
"enum": [
- "COMPANY_VIEW_UNSPECIFIED",
- "CV_GOOGLE_PARTNER_SEARCH"
+ "BADGE_SPECIALIZATION_UNKNOWN",
+ "BADGE_SPECIALIZATION_ADWORDS_SEARCH",
+ "BADGE_SPECIALIZATION_ADWORDS_DISPLAY",
+ "BADGE_SPECIALIZATION_ADWORDS_MOBILE",
+ "BADGE_SPECIALIZATION_ADWORDS_VIDEO",
+ "BADGE_SPECIALIZATION_ADWORDS_SHOPPING"
],
"location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "maxMonthlyBudget.currencyCode": {
+ "description": "The 3-letter currency code defined in ISO 4217.",
+ "location": "query",
"type": "string"
},
"minMonthlyBudget.currencyCode": {
@@ -332,35 +957,94 @@
"location": "query",
"type": "string"
},
+ "requestMetadata.userOverrides.userId": {
+ "description": "Logged-in user ID to impersonate instead of the user's ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "view": {
+ "description": "The view of the `Company` resource to be returned. This must not be\n`COMPANY_VIEW_UNSPECIFIED`.",
+ "enum": [
+ "COMPANY_VIEW_UNSPECIFIED",
+ "CV_GOOGLE_PARTNER_SEARCH"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "address": {
+ "description": "The address to use when searching for companies.\nIf not given, the geo-located address of the request is used.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.locale": {
+ "description": "Locale to use for the current request.",
+ "location": "query",
+ "type": "string"
+ },
"minMonthlyBudget.units": {
- "description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
- "format": "int64",
- "location": "query",
- "type": "string"
- },
- "minMonthlyBudget.nanos": {
- "description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "maxMonthlyBudget.currencyCode": {
- "description": "The 3-letter currency code defined in ISO 4217.",
- "location": "query",
- "type": "string"
- },
- "maxMonthlyBudget.units": {
- "description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
+ "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
"format": "int64",
"location": "query",
"type": "string"
},
"maxMonthlyBudget.nanos": {
- "description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.",
+ "description": "Number of nano (10^-9) units of the amount.\nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negative or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.",
"format": "int32",
"location": "query",
"type": "integer"
},
+ "services": {
+ "description": "List of services that the returned agencies should provide. If this is\nnot empty, any returned agency must have at least one of these services,\nor one of the specializations in the \"specializations\" field.",
+ "enum": [
+ "SERVICE_UNSPECIFIED",
+ "S_ADVANCED_ADWORDS_SUPPORT",
+ "S_ADVERTISING_ON_GOOGLE",
+ "S_AN_ENHANCED_WEBSITE",
+ "S_AN_ONLINE_MARKETING_PLAN",
+ "S_MOBILE_AND_VIDEO_ADS",
+ "S_MOBILE_WEBSITE_SERVICES"
+ ],
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "maxMonthlyBudget.units": {
+ "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSourceId": {
+ "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSubId": {
+ "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "minMonthlyBudget.nanos": {
+ "description": "Number of nano (10^-9) units of the amount.\nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negative or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "requestMetadata.partnersSessionId": {
+ "description": "Google Partners session ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results that the server returns.\nTypically, this is the value of `ListCompaniesResponse.next_page_token`\nreturned from the previous call to\nListCompanies.",
+ "location": "query",
+ "type": "string"
+ },
+ "companyName": {
+ "description": "Company name to search for.",
+ "location": "query",
+ "type": "string"
+ },
"industries": {
"description": "List of industries the company can help with.",
"enum": [
@@ -380,33 +1064,8 @@
"repeated": true,
"type": "string"
},
- "services": {
- "description": "List of services the company can help with.",
- "enum": [
- "SERVICE_UNSPECIFIED",
- "S_ADVANCED_ADWORDS_SUPPORT",
- "S_ADVERTISING_ON_GOOGLE",
- "S_AN_ENHANCED_WEBSITE",
- "S_AN_ONLINE_MARKETING_PLAN",
- "S_MOBILE_AND_VIDEO_ADS"
- ],
- "location": "query",
- "repeated": true,
- "type": "string"
- },
- "languageCodes": {
- "description": "List of language codes that company can support. Only primary language subtags are accepted as defined by BCP 47 (IETF BCP 47, \"Tags for Identifying Languages\").",
- "location": "query",
- "repeated": true,
- "type": "string"
- },
- "address": {
- "description": "The address to use when searching for companies. If not given, the geo-located address of the request is used.",
- "location": "query",
- "type": "string"
- },
- "orderBy": {
- "description": "How to order addresses within the returned companies. Currently, only `address` and `address desc` is supported which will sorted by closest to farthest in distance from given address and farthest to closest distance from given address respectively.",
+ "websiteUrl": {
+ "description": "Website URL that will help to find a better matched company.\n.",
"location": "query",
"type": "string"
},
@@ -421,11 +1080,6 @@
"location": "query",
"repeated": true,
"type": "string"
- },
- "websiteUrl": {
- "description": "Website URL that will help to find a better matched company. .",
- "location": "query",
- "type": "string"
}
},
"path": "v2/companies",
@@ -463,18 +1117,2090 @@
}
}
}
+ },
+ "userEvents": {
+ "methods": {
+ "log": {
+ "description": "Logs a user event.",
+ "httpMethod": "POST",
+ "id": "partners.userEvents.log",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v2/userEvents:log",
+ "request": {
+ "$ref": "LogUserEventRequest"
+ },
+ "response": {
+ "$ref": "LogUserEventResponse"
+ }
+ }
+ }
+ },
+ "clientMessages": {
+ "methods": {
+ "log": {
+ "description": "Logs a generic message from the client, such as\n`Failed to render component`, `Profile page is running slow`,\n`More than 500 users have accessed this result.`, etc.",
+ "httpMethod": "POST",
+ "id": "partners.clientMessages.log",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v2/clientMessages:log",
+ "request": {
+ "$ref": "LogMessageRequest"
+ },
+ "response": {
+ "$ref": "LogMessageResponse"
+ }
+ }
+ }
+ },
+ "exams": {
+ "methods": {
+ "getToken": {
+ "description": "Gets an Exam Token for a Partner's user to take an exam in the Exams System",
+ "httpMethod": "GET",
+ "id": "partners.exams.getToken",
+ "parameterOrder": [
+ "examType"
+ ],
+ "parameters": {
+ "examType": {
+ "description": "The exam type we are requesting a token for.",
+ "enum": [
+ "CERTIFICATION_EXAM_TYPE_UNSPECIFIED",
+ "CET_ADWORDS_FUNDAMENTALS",
+ "CET_ADWORDS_ADVANCED_SEARCH",
+ "CET_ADWORDS_ADVANCED_DISPLAY",
+ "CET_VIDEO_ADS",
+ "CET_DOUBLECLICK",
+ "CET_ANALYTICS",
+ "CET_SHOPPING",
+ "CET_MOBILE",
+ "CET_DIGITAL_SALES",
+ "CET_MOBILE_SITES"
+ ],
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "requestMetadata.partnersSessionId": {
+ "description": "Google Partners session ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.userId": {
+ "description": "Logged-in user ID to impersonate instead of the user's ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSourceId": {
+ "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.locale": {
+ "description": "Locale to use for the current request.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.userOverrides.ipAddress": {
+ "description": "IP address to use instead of the user's geo-located IP address.",
+ "location": "query",
+ "type": "string"
+ },
+ "requestMetadata.experimentIds": {
+ "description": "Experiment IDs the current request belongs to.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "requestMetadata.trafficSource.trafficSubId": {
+ "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v2/exams/{examType}/token",
+ "response": {
+ "$ref": "ExamToken"
+ }
+ }
+ }
}
},
- "revision": "20151009",
+ "revision": "20170316",
"rootUrl": "https://partners.googleapis.com/",
"schemas": {
- "LogUserEventRequest": {
- "description": "Request message for LogUserEvent.",
- "id": "LogUserEventRequest",
+ "Analytics": {
+ "description": "Analytics data for a `Company` within a single day.",
+ "id": "Analytics",
"properties": {
+ "contacts": {
+ "$ref": "AnalyticsDataPoint",
+ "description": "Instances of users contacting the `Company`\non the specified date."
+ },
+ "eventDate": {
+ "$ref": "Date",
+ "description": "Date on which these events occurred."
+ },
+ "profileViews": {
+ "$ref": "AnalyticsDataPoint",
+ "description": "Instances of users viewing the `Company` profile\non the specified date."
+ },
+ "searchViews": {
+ "$ref": "AnalyticsDataPoint",
+ "description": "Instances of users seeing the `Company` in Google Partners Search results\non the specified date."
+ }
+ },
+ "type": "object"
+ },
+ "PublicProfile": {
+ "description": "Basic information from a public profile.",
+ "id": "PublicProfile",
+ "properties": {
+ "id": {
+ "description": "The ID which can be used to retrieve more details about the public profile.",
+ "type": "string"
+ },
+ "url": {
+ "description": "The URL of the public profile.",
+ "type": "string"
+ },
+ "profileImage": {
+ "description": "The URL to the main profile image of the public profile.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "The display name of the public profile.",
+ "type": "string"
+ },
+ "displayImageUrl": {
+ "description": "The URL to the main display image of the public profile. Being deprecated.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AdWordsManagerAccountInfo": {
+ "description": "Information about a particular AdWords Manager Account.\nRead more at https://support.google.com/adwords/answer/6139186",
+ "id": "AdWordsManagerAccountInfo",
+ "properties": {
+ "customerName": {
+ "description": "Name of the customer this account represents.",
+ "type": "string"
+ },
+ "id": {
+ "description": "The AdWords Manager Account id.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ResponseMetadata": {
+ "description": "Common data that is in each API response.",
+ "id": "ResponseMetadata",
+ "properties": {
+ "debugInfo": {
+ "$ref": "DebugInfo",
+ "description": "Debug information about this request."
+ }
+ },
+ "type": "object"
+ },
+ "RecaptchaChallenge": {
+ "description": "<a href=\"https://www.google.com/recaptcha/\">reCaptcha</a> challenge info.",
+ "id": "RecaptchaChallenge",
+ "properties": {
+ "id": {
+ "description": "The ID of the reCaptcha challenge.",
+ "type": "string"
+ },
+ "response": {
+ "description": "The response to the reCaptcha challenge.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AvailableOffer": {
+ "description": "Available Offers to be distributed.",
+ "id": "AvailableOffer",
+ "properties": {
+ "countryOfferInfos": {
+ "description": "Offer info by country.",
+ "items": {
+ "$ref": "CountryOfferInfo"
+ },
+ "type": "array"
+ },
+ "offerType": {
+ "description": "Type of offer.",
+ "enum": [
+ "OFFER_TYPE_UNSPECIFIED",
+ "OFFER_TYPE_SPEND_X_GET_Y",
+ "OFFER_TYPE_VIDEO",
+ "OFFER_TYPE_SPEND_MATCH"
+ ],
+ "enumDescriptions": [
+ "Unset.",
+ "AdWords spend X get Y.",
+ "Youtube video.",
+ "Spend Match up to Y."
+ ],
+ "type": "string"
+ },
+ "maxAccountAge": {
+ "description": "The maximum age of an account [in days] to be eligible.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "qualifiedCustomer": {
+ "description": "Customers who qualify for this offer.",
+ "items": {
+ "$ref": "OfferCustomer"
+ },
+ "type": "array"
+ },
+ "terms": {
+ "description": "Terms of the offer.",
+ "type": "string"
+ },
+ "showSpecialOfferCopy": {
+ "description": "Should special text be shown on the offers page.",
+ "type": "boolean"
+ },
+ "available": {
+ "description": "The number of codes for this offer that are available for distribution.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "description": {
+ "description": "Description of the offer.",
+ "type": "string"
+ },
+ "offerLevel": {
+ "description": "Level of this offer.",
+ "enum": [
+ "OFFER_LEVEL_UNSPECIFIED",
+ "OFFER_LEVEL_DENY_PROBLEM",
+ "OFFER_LEVEL_DENY_CONTRACT",
+ "OFFER_LEVEL_MANUAL",
+ "OFFER_LEVEL_LIMIT_0",
+ "OFFER_LEVEL_LIMIT_5",
+ "OFFER_LEVEL_LIMIT_15",
+ "OFFER_LEVEL_LIMIT_50"
+ ],
+ "enumDescriptions": [
+ "Unset.",
+ "Users/Agencies that have no offers because of a problem.",
+ "Users/Agencies that have no offers due to contractural agreements.",
+ "Users/Agencies that have a manually-configured limit.",
+ "Some Agencies don't get any offers.",
+ "Basic level gets 5 per month.",
+ "Agencies with adequate AHI and spend get 15/month.",
+ "Badged partners (even in grace) get 50 per month."
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the offer.",
+ "type": "string"
+ },
+ "id": {
+ "description": "ID of this offer.",
+ "format": "int64",
+ "type": "string"
+ },
+ "qualifiedCustomersComplete": {
+ "description": "Whether or not the list of qualified customers is definitely complete.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "LatLng": {
+ "description": "An object representing a latitude/longitude pair. This is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n<a href=\"http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\">WGS84\nstandard</a>. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n\n def NormalizeLongitude(longitude):\n \"\"\"Wraps decimal degrees longitude to [-180.0, 180.0].\"\"\"\n q, r = divmod(longitude, 360.0)\n if r > 180.0 or (r == 180.0 and q <= -1.0):\n return r - 360.0\n return r\n\n def NormalizeLatLng(latitude, longitude):\n \"\"\"Wraps decimal degrees latitude and longitude to\n [-90.0, 90.0] and [-180.0, 180.0], respectively.\"\"\"\n r = latitude % 360.0\n if r <= 90.0:\n return r, NormalizeLongitude(longitude)\n elif r >= 270.0:\n return r - 360, NormalizeLongitude(longitude)\n else:\n return 180 - r, NormalizeLongitude(longitude + 180.0)\n\n assert 180.0 == NormalizeLongitude(180.0)\n assert -180.0 == NormalizeLongitude(-180.0)\n assert -179.0 == NormalizeLongitude(181.0)\n assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)\n assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)\n assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)\n assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)\n\nThe code in logs/storage/validator/logs_validator_traits.cc treats this type\nas if it were annotated as ST_LOCATION.",
+ "id": "LatLng",
+ "properties": {
+ "latitude": {
+ "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].",
+ "format": "double",
+ "type": "number"
+ },
+ "longitude": {
+ "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].",
+ "format": "double",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "Money": {
+ "description": "Represents an amount of money with its currency type.",
+ "id": "Money",
+ "properties": {
+ "units": {
+ "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
+ "format": "int64",
+ "type": "string"
+ },
+ "currencyCode": {
+ "description": "The 3-letter currency code defined in ISO 4217.",
+ "type": "string"
+ },
+ "nanos": {
+ "description": "Number of nano (10^-9) units of the amount.\nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negative or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "AnalyticsSummary": {
+ "description": "Analytics aggregated data for a `Company` for a given date range.",
+ "id": "AnalyticsSummary",
+ "properties": {
+ "profileViewsCount": {
+ "description": "Aggregated number of profile views for the `Company` for given date range.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "searchViewsCount": {
+ "description": "Aggregated number of times users saw the `Company`\nin Google Partners Search results for given date range.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "contactsCount": {
+ "description": "Aggregated number of times users contacted the `Company`\nfor given date range.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "LogMessageRequest": {
+ "description": "Request message for\nLogClientMessage.",
+ "id": "LogMessageRequest",
+ "properties": {
+ "level": {
+ "description": "Message level of client message.",
+ "enum": [
+ "MESSAGE_LEVEL_UNSPECIFIED",
+ "ML_FINE",
+ "ML_INFO",
+ "ML_WARNING",
+ "ML_SEVERE"
+ ],
+ "enumDescriptions": [
+ "Unchosen.",
+ "Message level for tracing information.",
+ "Message level for informational messages.",
+ "Message level for potential problems.",
+ "Message level for serious failures."
+ ],
+ "type": "string"
+ },
+ "details": {
+ "description": "Details about the client message.",
+ "type": "string"
+ },
+ "clientInfo": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Map of client info, such as URL, browser navigator, browser platform, etc.",
+ "type": "object"
+ },
"requestMetadata": {
"$ref": "RequestMetadata",
"description": "Current request metadata."
+ }
+ },
+ "type": "object"
+ },
+ "DebugInfo": {
+ "description": "Debug information about this request.",
+ "id": "DebugInfo",
+ "properties": {
+ "serverInfo": {
+ "description": "Info about the server that serviced this request.",
+ "type": "string"
+ },
+ "serverTraceInfo": {
+ "description": "Server-side debug stack trace.",
+ "type": "string"
+ },
+ "serviceUrl": {
+ "description": "URL of the service that handled this request.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Lead": {
+ "description": "A lead resource that represents an advertiser contact for a `Company`. These\nare usually generated via Google Partner Search (the advertiser portal).",
+ "id": "Lead",
+ "properties": {
+ "phoneNumber": {
+ "description": "Phone number of lead source.",
+ "type": "string"
+ },
+ "adwordsCustomerId": {
+ "description": "The AdWords Customer ID of the lead.",
+ "format": "int64",
+ "type": "string"
+ },
+ "createTime": {
+ "description": "Timestamp of when this lead was created.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "marketingOptIn": {
+ "description": "Whether or not the lead signed up for marketing emails",
+ "type": "boolean"
+ },
+ "type": {
+ "description": "Type of lead.",
+ "enum": [
+ "LEAD_TYPE_UNSPECIFIED",
+ "LT_GPS"
+ ],
+ "enumDescriptions": [
+ "Unchosen.",
+ "Google Partner Search."
+ ],
+ "type": "string"
+ },
+ "minMonthlyBudget": {
+ "$ref": "Money",
+ "description": "The minimum monthly budget lead source is willing to spend."
+ },
+ "givenName": {
+ "description": "First name of lead source.",
+ "type": "string"
+ },
+ "websiteUrl": {
+ "description": "Website URL of lead source.",
+ "type": "string"
+ },
+ "languageCode": {
+ "description": "Language code of the lead's language preference, as defined by\n<a href=\"https://tools.ietf.org/html/bcp47\">BCP 47</a>\n(IETF BCP 47, \"Tags for Identifying Languages\").",
+ "type": "string"
+ },
+ "state": {
+ "description": "The lead's state in relation to the company.",
+ "enum": [
+ "LEAD_STATE_UNSPECIFIED",
+ "LEAD",
+ "CONTACTED",
+ "CLIENT",
+ "OTHER"
+ ],
+ "enumDescriptions": [
+ "Unchosen.",
+ "Lead not yet contacted.",
+ "Lead has been contacted.",
+ "Lead has become a client.",
+ "Lead in a state not covered by other options."
+ ],
+ "type": "string"
+ },
+ "gpsMotivations": {
+ "description": "List of reasons for using Google Partner Search and creating a lead.",
+ "enumDescriptions": [
+ "Unchosen.",
+ "Advertiser needs help with their advertising.",
+ "Advertiser needs help with their website.",
+ "Advertiser does not have a website."
+ ],
+ "items": {
+ "enum": [
+ "GPS_MOTIVATION_UNSPECIFIED",
+ "GPSM_HELP_WITH_ADVERTISING",
+ "GPSM_HELP_WITH_WEBSITE",
+ "GPSM_NO_WEBSITE"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "email": {
+ "description": "Email address of lead source.",
+ "type": "string"
+ },
+ "familyName": {
+ "description": "Last name of lead source.",
+ "type": "string"
+ },
+ "id": {
+ "description": "ID of the lead.",
+ "type": "string"
+ },
+ "comments": {
+ "description": "Comments lead source gave.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListUserStatesResponse": {
+ "description": "Response message for\nListUserStates.",
+ "id": "ListUserStatesResponse",
+ "properties": {
+ "responseMetadata": {
+ "$ref": "ResponseMetadata",
+ "description": "Current response metadata."
+ },
+ "userStates": {
+ "description": "User's states.",
+ "enumDescriptions": [
+ "Unchosen.",
+ "User must pass <a href=\"https://www.google.com/recaptcha/\">reCaptcha</a> to\ncontact a Partner via Google Partner Search."
+ ],
+ "items": {
+ "enum": [
+ "USER_STATE_UNSPECIFIED",
+ "US_REQUIRES_RECAPTCHA_FOR_GPS_CONTACT"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "CompanyRelation": {
+ "description": "A CompanyRelation resource representing information about a user's\naffiliation and standing with a company in Partners.",
+ "id": "CompanyRelation",
+ "properties": {
+ "badgeTier": {
+ "description": "Whether the company is a Partner.",
+ "enum": [
+ "BADGE_TIER_NONE",
+ "BADGE_TIER_REGULAR",
+ "BADGE_TIER_PREMIER"
+ ],
+ "enumDescriptions": [
+ "Tier badge is not set.",
+ "Agency has regular partner badge.",
+ "Agency has premier badge."
+ ],
+ "type": "string"
+ },
+ "specializationStatus": {
+ "description": "The list of Google Partners specialization statuses for the company.",
+ "items": {
+ "$ref": "SpecializationStatus"
+ },
+ "type": "array"
+ },
+ "website": {
+ "description": "The website URL for this company.",
+ "type": "string"
+ },
+ "phoneNumber": {
+ "description": "The phone number for the company's primary address.",
+ "type": "string"
+ },
+ "companyId": {
+ "description": "The ID of the company. There may be no id if this is a\npending company.5",
+ "type": "string"
+ },
+ "logoUrl": {
+ "description": "A URL to a profile photo, e.g. a G+ profile photo.",
+ "type": "string"
+ },
+ "resolvedTimestamp": {
+ "description": "The timestamp when the user was approved.\n@OutputOnly",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "companyAdmin": {
+ "description": "Indicates if the user is an admin for this company.",
+ "type": "boolean"
+ },
+ "isPending": {
+ "description": "The flag that indicates if the company is pending verification.",
+ "type": "boolean"
+ },
+ "address": {
+ "description": "The primary address for this company.",
+ "type": "string"
+ },
+ "creationTime": {
+ "description": "The timestamp of when affiliation was requested.\n@OutputOnly",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "state": {
+ "description": "The state of relationship, in terms of approvals.",
+ "enum": [
+ "USER_COMPANY_REATION_STATE_NONE_SPECIFIED",
+ "USER_COMPANY_RELATION_STATE_AWAIT_EMAIL",
+ "USER_COMPANY_RELATION_STATE_AWAIT_ADMIN",
+ "USER_COMPANY_RELATION_STATE_APPROVED"
+ ],
+ "enumDescriptions": [
+ "Default unspecified value.",
+ "User has filled in a request to be associated with an company.\nNow waiting email confirmation.",
+ "Pending approval from company.\nEmail confirmation will not approve this one.",
+ "Approved by company."
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "The name (in the company's primary language) for the company.",
+ "type": "string"
+ },
+ "managerAccount": {
+ "description": "The AdWords manager account # associated this company.",
+ "format": "int64",
+ "type": "string"
+ },
+ "segment": {
+ "description": "The segment the company is classified as.",
+ "enumDescriptions": [
+ "Default segment indicates an unknown.",
+ "Segment representing a selected group of Partners",
+ "Segment representing Premier SMB Partners, an AdWords partnership program.",
+ "A segment of Premier SMB Partners that have relationship with Google."
+ ],
+ "items": {
+ "enum": [
+ "COMPANY_SEGMENT_UNKNOWN",
+ "COMPANY_SEGMENT_NAL",
+ "COMPANY_SEGMENT_PSP",
+ "COMPANY_SEGMENT_PPSP"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Date": {
+ "description": "Represents a whole calendar date, e.g. date of birth. The time of day and\ntime zone are either specified elsewhere or are not significant. The date\nis relative to the Proleptic Gregorian Calendar. The day may be 0 to\nrepresent a year and month where the day is not significant, e.g. credit card\nexpiration date. The year may be 0 to represent a month and day independent\nof year, e.g. anniversary date. Related types are google.type.TimeOfDay\nand `google.protobuf.Timestamp`.",
+ "id": "Date",
+ "properties": {
+ "year": {
+ "description": "Year of date. Must be from 1 to 9999, or 0 if specifying a date without\na year.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "day": {
+ "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0\nif specifying a year/month where the day is not significant.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "month": {
+ "description": "Month of year. Must be from 1 to 12.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
+ "TrafficSource": {
+ "description": "Source of traffic for the current request.",
+ "id": "TrafficSource",
+ "properties": {
+ "trafficSourceId": {
+ "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "type": "string"
+ },
+ "trafficSubId": {
+ "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CreateLeadRequest": {
+ "description": "Request message for CreateLead.",
+ "id": "CreateLeadRequest",
+ "properties": {
+ "lead": {
+ "$ref": "Lead",
+ "description": "The lead resource. The `LeadType` must not be `LEAD_TYPE_UNSPECIFIED`\nand either `email` or `phone_number` must be provided."
+ },
+ "recaptchaChallenge": {
+ "$ref": "RecaptchaChallenge",
+ "description": "<a href=\"https://www.google.com/recaptcha/\">reCaptcha</a> challenge info."
+ },
+ "requestMetadata": {
+ "$ref": "RequestMetadata",
+ "description": "Current request metadata."
+ }
+ },
+ "type": "object"
+ },
+ "RequestMetadata": {
+ "description": "Common data that is in each API request.",
+ "id": "RequestMetadata",
+ "properties": {
+ "experimentIds": {
+ "description": "Experiment IDs the current request belongs to.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "trafficSource": {
+ "$ref": "TrafficSource",
+ "description": "Source of traffic for the current request."
+ },
+ "locale": {
+ "description": "Locale to use for the current request.",
+ "type": "string"
+ },
+ "userOverrides": {
+ "$ref": "UserOverrides",
+ "description": "Values to use instead of the user's respective defaults for the current\nrequest. These are only honored by whitelisted products."
+ },
+ "partnersSessionId": {
+ "description": "Google Partners session ID.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "EventData": {
+ "description": "Key value data pair for an event.",
+ "id": "EventData",
+ "properties": {
+ "key": {
+ "description": "Data type.",
+ "enum": [
+ "EVENT_DATA_TYPE_UNSPECIFIED",
+ "ACTION",
+ "AGENCY_ID",
+ "AGENCY_NAME",
+ "AGENCY_PHONE_NUMBER",
+ "AGENCY_WEBSITE",
+ "BUDGET",
+ "CENTER_POINT",
+ "CERTIFICATION",
+ "COMMENT",
+ "COUNTRY",
+ "CURRENCY",
+ "CURRENTLY_VIEWED_AGENCY_ID",
+ "DISTANCE",
+ "DISTANCE_TYPE",
+ "EXAM",
+ "HISTORY_TOKEN",
+ "ID",
+ "INDUSTRY",
+ "INSIGHT_TAG",
+ "LANGUAGE",
+ "LOCATION",
+ "MARKETING_OPT_IN",
+ "QUERY",
+ "SEARCH_START_INDEX",
+ "SERVICE",
+ "SHOW_VOW",
+ "SOLUTION",
+ "TRAFFIC_SOURCE_ID",
+ "TRAFFIC_SUB_ID",
+ "VIEW_PORT",
+ "WEBSITE",
+ "DETAILS",
+ "EXPERIMENT_ID",
+ "GPS_MOTIVATION",
+ "URL",
+ "ELEMENT_FOCUS",
+ "PROGRESS"
+ ],
+ "enumDescriptions": [
+ "Unchosen.",
+ "Action data.",
+ "Agency ID data.",
+ "Agency name data.",
+ "Agency phone number data.",
+ "Agency website data.",
+ "Budget data.",
+ "Center-point data.",
+ "Certification data.",
+ "Comment data.",
+ "Country data.",
+ "Currency data.",
+ "Currently viewed agency ID data.",
+ "Distance data.",
+ "Distance type data.",
+ "Exam data.",
+ "History token data.",
+ "Identifier data.",
+ "Industry data.",
+ "Insight tag data.",
+ "Language data.",
+ "Location data.",
+ "Marketing opt-in data.",
+ "Query data.",
+ "Search start index data.",
+ "Service data.",
+ "Show vow data.",
+ "Solution data.",
+ "Traffic source ID data.",
+ "Traffic sub ID data.",
+ "Viewport data.",
+ "Website data.",
+ "Details data.",
+ "Experiment ID data.",
+ "Google Partner Search motivation data.",
+ "URL data.",
+ "Element we wanted user to focus on.",
+ "Progress when viewing an item \\[0-100\\]."
+ ],
+ "type": "string"
+ },
+ "values": {
+ "description": "Data values.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ExamStatus": {
+ "description": "A user's information on a specific exam.",
+ "id": "ExamStatus",
+ "properties": {
+ "examType": {
+ "description": "The type of the exam.",
+ "enum": [
+ "CERTIFICATION_EXAM_TYPE_UNSPECIFIED",
+ "CET_ADWORDS_FUNDAMENTALS",
+ "CET_ADWORDS_ADVANCED_SEARCH",
+ "CET_ADWORDS_ADVANCED_DISPLAY",
+ "CET_VIDEO_ADS",
+ "CET_DOUBLECLICK",
+ "CET_ANALYTICS",
+ "CET_SHOPPING",
+ "CET_MOBILE",
+ "CET_DIGITAL_SALES",
+ "CET_MOBILE_SITES"
+ ],
+ "enumDescriptions": [
+ "Unchosen.",
+ "Adwords Fundamentals exam.",
+ "AdWords advanced search exam.",
+ "AdWords advanced display exam.",
+ "VideoAds exam.",
+ "DoubleClick exam.",
+ "Analytics exam.",
+ "Shopping exam.",
+ "Mobile exam.",
+ "Digital Sales exam.",
+ "Mobile Sites exam."
+ ],
+ "type": "string"
+ },
+ "passed": {
+ "description": "Whether this exam has been passed and not expired.",
+ "type": "boolean"
+ },
+ "taken": {
+ "description": "The date the user last taken this exam.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "warning": {
+ "description": "Whether this exam is in the state of warning.",
+ "type": "boolean"
+ },
+ "expiration": {
+ "description": "Date this exam is due to expire.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "lastPassed": {
+ "description": "The date the user last passed this exam.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListOffersResponse": {
+ "description": "Response for ListOffer.",
+ "id": "ListOffersResponse",
+ "properties": {
+ "noOfferReason": {
+ "description": "Reason why no Offers are available.",
+ "enum": [
+ "NO_OFFER_REASON_UNSPECIFIED",
+ "NO_OFFER_REASON_NO_MCC",
+ "NO_OFFER_REASON_LIMIT_REACHED",
+ "NO_OFFER_REASON_INELIGIBLE"
+ ],
+ "enumDescriptions": [
+ "Unset.",
+ "Not an MCC.",
+ "Offer limit has been reached.",
+ "Ineligible for offers."
+ ],
+ "type": "string"
+ },
+ "availableOffers": {
+ "description": "Available Offers to be distributed.",
+ "items": {
+ "$ref": "AvailableOffer"
+ },
+ "type": "array"
+ },
+ "responseMetadata": {
+ "$ref": "ResponseMetadata",
+ "description": "Current response metadata."
+ }
+ },
+ "type": "object"
+ },
+ "CountryOfferInfo": {
+ "description": "Offer info by country.",
+ "id": "CountryOfferInfo",
+ "properties": {
+ "getYAmount": {
+ "description": "(localized) Get Y amount for that country's offer.",
+ "type": "string"
+ },
+ "offerCountryCode": {
+ "description": "Country code for which offer codes may be requested.",
+ "type": "string"
+ },
+ "spendXAmount": {
+ "description": "(localized) Spend X amount for that country's offer.",
+ "type": "string"
+ },
+ "offerType": {
+ "description": "Type of offer country is eligible for.",
+ "enum": [
+ "OFFER_TYPE_UNSPECIFIED",
+ "OFFER_TYPE_SPEND_X_GET_Y",
+ "OFFER_TYPE_VIDEO",
+ "OFFER_TYPE_SPEND_MATCH"
+ ],
+ "enumDescriptions": [
+ "Unset.",
+ "AdWords spend X get Y.",
+ "Youtube video.",
+ "Spend Match up to Y."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListCompaniesResponse": {
+ "description": "Response message for\nListCompanies.",
+ "id": "ListCompaniesResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "A token to retrieve next page of results.\nPass this value in the `ListCompaniesRequest.page_token` field in the\nsubsequent call to\nListCompanies to retrieve the\nnext page of results.",
+ "type": "string"
+ },
+ "responseMetadata": {
+ "$ref": "ResponseMetadata",
+ "description": "Current response metadata."
+ },
+ "companies": {
+ "description": "The list of companies.",
+ "items": {
+ "$ref": "Company"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "OfferCustomer": {
+ "description": "Customers qualified for an offer.",
+ "id": "OfferCustomer",
+ "properties": {
+ "adwordsUrl": {
+ "description": "URL to the customer's AdWords page.",
+ "type": "string"
+ },
+ "externalCid": {
+ "description": "External CID for the customer.",
+ "format": "int64",
+ "type": "string"
+ },
+ "offerType": {
+ "description": "Type of the offer",
+ "enum": [
+ "OFFER_TYPE_UNSPECIFIED",
+ "OFFER_TYPE_SPEND_X_GET_Y",
+ "OFFER_TYPE_VIDEO",
+ "OFFER_TYPE_SPEND_MATCH"
+ ],
+ "enumDescriptions": [
+ "Unset.",
+ "AdWords spend X get Y.",
+ "Youtube video.",
+ "Spend Match up to Y."
+ ],
+ "type": "string"
+ },
+ "countryCode": {
+ "description": "Country code of the customer.",
+ "type": "string"
+ },
+ "eligibilityDaysLeft": {
+ "description": "Days the customer is still eligible.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "creationTime": {
+ "description": "Time the customer was created.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "getYAmount": {
+ "description": "Formatted Get Y amount with currency code.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the customer.",
+ "type": "string"
+ },
+ "spendXAmount": {
+ "description": "Formatted Spend X amount with currency code.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CertificationStatus": {
+ "description": "Google Partners certification status.",
+ "id": "CertificationStatus",
+ "properties": {
+ "type": {
+ "description": "The type of the certification.",
+ "enum": [
+ "CERTIFICATION_TYPE_UNSPECIFIED",
+ "CT_ADWORDS",
+ "CT_YOUTUBE",
+ "CT_VIDEOADS",
+ "CT_ANALYTICS",
+ "CT_DOUBLECLICK",
+ "CT_SHOPPING",
+ "CT_MOBILE",
+ "CT_DIGITAL_SALES",
+ "CT_ADWORDS_SEARCH",
+ "CT_ADWORDS_DISPLAY",
+ "CT_MOBILE_SITES"
+ ],
+ "enumDescriptions": [
+ "Unchosen.",
+ "AdWords certified.",
+ "YouTube certified.",
+ "VideoAds certified.",
+ "Analytics certified.",
+ "DoubleClick certified.",
+ "Shopping certified.",
+ "Mobile certified.",
+ "Digital sales certified.",
+ "AdWords Search certified.",
+ "AdWords Display certified.",
+ "Mobile Sites certified."
+ ],
+ "type": "string"
+ },
+ "userCount": {
+ "description": "Number of people who are certified,",
+ "format": "int32",
+ "type": "integer"
+ },
+ "isCertified": {
+ "description": "Whether certification is passing.",
+ "type": "boolean"
+ },
+ "examStatuses": {
+ "description": "List of certification exam statuses.",
+ "items": {
+ "$ref": "CertificationExamStatus"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "LocalizedCompanyInfo": {
+ "description": "The localized company information.",
+ "id": "LocalizedCompanyInfo",
+ "properties": {
+ "languageCode": {
+ "description": "Language code of the localized company info, as defined by\n<a href=\"https://tools.ietf.org/html/bcp47\">BCP 47</a>\n(IETF BCP 47, \"Tags for Identifying Languages\").",
+ "type": "string"
+ },
+ "countryCodes": {
+ "description": "List of country codes for the localized company info.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "overview": {
+ "description": "Localized brief description that the company uses to advertise themselves.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Localized display name.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "LogUserEventResponse": {
+ "description": "Response message for\nLogUserEvent.",
+ "id": "LogUserEventResponse",
+ "properties": {
+ "responseMetadata": {
+ "$ref": "ResponseMetadata",
+ "description": "Current response metadata."
+ }
+ },
+ "type": "object"
+ },
+ "ListOffersHistoryResponse": {
+ "description": "Response for ListOfferHistory.",
+ "id": "ListOffersHistoryResponse",
+ "properties": {
+ "canShowEntireCompany": {
+ "description": "True if the user has the option to show entire company history.",
+ "type": "boolean"
+ },
+ "totalResults": {
+ "description": "Number of results across all pages.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "showingEntireCompany": {
+ "description": "True if this response is showing entire company history.",
+ "type": "boolean"
+ },
+ "offers": {
+ "description": "Historical offers meeting request.",
+ "items": {
+ "$ref": "HistoricalOffer"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Supply this token in a ListOffersHistoryRequest to retrieve the next page.",
+ "type": "string"
+ },
+ "responseMetadata": {
+ "$ref": "ResponseMetadata",
+ "description": "Current response metadata."
+ }
+ },
+ "type": "object"
+ },
+ "LogMessageResponse": {
+ "description": "Response message for\nLogClientMessage.",
+ "id": "LogMessageResponse",
+ "properties": {
+ "responseMetadata": {
+ "$ref": "ResponseMetadata",
+ "description": "Current response metadata."
+ }
+ },
+ "type": "object"
+ },
+ "SpecializationStatus": {
+ "description": "Agency specialization status",
+ "id": "SpecializationStatus",
+ "properties": {
+ "badgeSpecialization": {
+ "description": "The specialization this status is for.",
+ "enum": [
+ "BADGE_SPECIALIZATION_UNKNOWN",
+ "BADGE_SPECIALIZATION_ADWORDS_SEARCH",
+ "BADGE_SPECIALIZATION_ADWORDS_DISPLAY",
+ "BADGE_SPECIALIZATION_ADWORDS_MOBILE",
+ "BADGE_SPECIALIZATION_ADWORDS_VIDEO",
+ "BADGE_SPECIALIZATION_ADWORDS_SHOPPING"
+ ],
+ "enumDescriptions": [
+ "Unknown specialization",
+ "AdWords Search specialization",
+ "AdWords Display specialization",
+ "AdWords Mobile specialization",
+ "AdWords Video specialization",
+ "AdWords Shopping specialization"
+ ],
+ "type": "string"
+ },
+ "badgeSpecializationState": {
+ "description": "State of agency specialization.",
+ "enum": [
+ "BADGE_SPECIALIZATION_STATE_UNKNOWN",
+ "BADGE_SPECIALIZATION_STATE_PASSED",
+ "BADGE_SPECIALIZATION_STATE_NOT_PASSED",
+ "BADGE_SPECIALIZATION_STATE_IN_GRACE"
+ ],
+ "enumDescriptions": [
+ "Unknown state",
+ "Specialization passed",
+ "Specialization not passed",
+ "Specialization in grace"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Certification": {
+ "description": "A user's information on a specific certification.",
+ "id": "Certification",
+ "properties": {
+ "certificationType": {
+ "description": "The type of certification, the area of expertise.",
+ "enum": [
+ "CERTIFICATION_TYPE_UNSPECIFIED",
+ "CT_ADWORDS",
+ "CT_YOUTUBE",
+ "CT_VIDEOADS",
+ "CT_ANALYTICS",
+ "CT_DOUBLECLICK",
+ "CT_SHOPPING",
+ "CT_MOBILE",
+ "CT_DIGITAL_SALES",
+ "CT_ADWORDS_SEARCH",
+ "CT_ADWORDS_DISPLAY",
+ "CT_MOBILE_SITES"
+ ],
+ "enumDescriptions": [
+ "Unchosen.",
+ "AdWords certified.",
+ "YouTube certified.",
+ "VideoAds certified.",
+ "Analytics certified.",
+ "DoubleClick certified.",
+ "Shopping certified.",
+ "Mobile certified.",
+ "Digital sales certified.",
+ "AdWords Search certified.",
+ "AdWords Display certified.",
+ "Mobile Sites certified."
+ ],
+ "type": "string"
+ },
+ "lastAchieved": {
+ "description": "The date the user last achieved certification.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "achieved": {
+ "description": "Whether this certification has been achieved.",
+ "type": "boolean"
+ },
+ "expiration": {
+ "description": "Date this certification is due to expire.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "warning": {
+ "description": "Whether this certification is in the state of warning.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "User": {
+ "description": "A resource representing a user of the Partners platform.",
+ "id": "User",
+ "properties": {
+ "publicProfile": {
+ "$ref": "PublicProfile",
+ "description": "Information about a user's external public profile outside Google Partners."
+ },
+ "companyVerificationEmail": {
+ "description": "The email address used by the user used for company verification.\n@OutputOnly",
+ "type": "string"
+ },
+ "certificationStatus": {
+ "description": "The list of achieved certifications. These are calculated based on exam\nresults and other requirements.\n@OutputOnly",
+ "items": {
+ "$ref": "Certification"
+ },
+ "type": "array"
+ },
+ "company": {
+ "$ref": "CompanyRelation",
+ "description": "The company that the user is associated with.\nIf not present, the user is not associated with any company."
+ },
+ "profile": {
+ "$ref": "UserProfile",
+ "description": "The profile information of a Partners user, contains all the directly\neditable user information."
+ },
+ "lastAccessTime": {
+ "description": "The most recent time the user interacted with the Partners site.\n@OutputOnly",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "availableAdwordsManagerAccounts": {
+ "description": "This is the list of AdWords Manager Accounts the user has edit access to.\nIf the user has edit access to multiple accounts, the user can choose the\npreferred account and we use this when a personal account is needed. Can\nbe empty meaning the user has access to no accounts.\n@OutputOnly",
+ "items": {
+ "$ref": "AdWordsManagerAccountInfo"
+ },
+ "type": "array"
+ },
+ "primaryEmails": {
+ "description": "The list of emails the user has access to/can select as primary.\n@OutputOnly",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "examStatus": {
+ "description": "The list of exams the user ever taken. For each type of exam, only one\nentry is listed.",
+ "items": {
+ "$ref": "ExamStatus"
+ },
+ "type": "array"
+ },
+ "id": {
+ "description": "The ID of the user.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListAnalyticsResponse": {
+ "description": "Response message for\nListAnalytics.",
+ "id": "ListAnalyticsResponse",
+ "properties": {
+ "analytics": {
+ "description": "The list of analytics.\nSorted in ascending order of\nAnalytics.event_date.",
+ "items": {
+ "$ref": "Analytics"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve next page of results.\nPass this value in the `ListAnalyticsRequest.page_token` field in the\nsubsequent call to\nListAnalytics to retrieve the\nnext page of results.",
+ "type": "string"
+ },
+ "responseMetadata": {
+ "$ref": "ResponseMetadata",
+ "description": "Current response metadata."
+ },
+ "analyticsSummary": {
+ "$ref": "AnalyticsSummary",
+ "description": "Aggregated information across the response's\nanalytics."
+ }
+ },
+ "type": "object"
+ },
+ "Company": {
+ "description": "A company resource in the Google Partners API. Once certified, it qualifies\nfor being searched by advertisers.",
+ "id": "Company",
+ "properties": {
+ "convertedMinMonthlyBudget": {
+ "$ref": "Money",
+ "description": "The minimum monthly budget that the company accepts for partner business,\nconverted to the requested currency code."
+ },
+ "industries": {
+ "description": "Industries the company can help with.",
+ "enumDescriptions": [
+ "Unchosen.",
+ "The automotive industry.",
+ "The business-to-business industry.",
+ "The consumer packaged goods industry.",
+ "The education industry.",
+ "The finance industry.",
+ "The healthcare industry.",
+ "The media and entertainment industry.",
+ "The retail industry.",
+ "The technology industry.",
+ "The travel industry."
+ ],
+ "items": {
+ "enum": [
+ "INDUSTRY_UNSPECIFIED",
+ "I_AUTOMOTIVE",
+ "I_BUSINESS_TO_BUSINESS",
+ "I_CONSUMER_PACKAGED_GOODS",
+ "I_EDUCATION",
+ "I_FINANCE",
+ "I_HEALTHCARE",
+ "I_MEDIA_AND_ENTERTAINMENT",
+ "I_RETAIL",
+ "I_TECHNOLOGY",
+ "I_TRAVEL"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "websiteUrl": {
+ "description": "URL of the company's website.",
+ "type": "string"
+ },
+ "additionalWebsites": {
+ "description": "URL of the company's additional websites used to verify the dynamic badges.\nThese are stored as full URLs as entered by the user, but only the TLD will\nbe used for the actual verification.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "primaryAdwordsManagerAccountId": {
+ "description": "The Primary AdWords Manager Account id.",
+ "format": "int64",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the company.",
+ "type": "string"
+ },
+ "localizedInfos": {
+ "description": "The list of localized info for the company.",
+ "items": {
+ "$ref": "LocalizedCompanyInfo"
+ },
+ "type": "array"
+ },
+ "certificationStatuses": {
+ "description": "The list of Google Partners certification statuses for the company.",
+ "items": {
+ "$ref": "CertificationStatus"
+ },
+ "type": "array"
+ },
+ "id": {
+ "description": "The ID of the company.",
+ "type": "string"
+ },
+ "services": {
+ "description": "Services the company can help with.",
+ "enumDescriptions": [
+ "Unchosen.",
+ "Help with advanced AdWords support.",
+ "Help with advertising on Google.",
+ "Help with an enhanced website.",
+ "Help with an online marketing plan.",
+ "Help with mobile and video ads.",
+ "Help with mobile websites."
+ ],
+ "items": {
+ "enum": [
+ "SERVICE_UNSPECIFIED",
+ "S_ADVANCED_ADWORDS_SUPPORT",
+ "S_ADVERTISING_ON_GOOGLE",
+ "S_AN_ENHANCED_WEBSITE",
+ "S_AN_ONLINE_MARKETING_PLAN",
+ "S_MOBILE_AND_VIDEO_ADS",
+ "S_MOBILE_WEBSITE_SERVICES"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "originalMinMonthlyBudget": {
+ "$ref": "Money",
+ "description": "The unconverted minimum monthly budget that the company accepts for partner\nbusiness."
+ },
+ "primaryLocation": {
+ "$ref": "Location",
+ "description": "The primary location of the company."
+ },
+ "publicProfile": {
+ "$ref": "PublicProfile",
+ "description": "Basic information from the company's public profile."
+ },
+ "ranks": {
+ "description": "Information related to the ranking of the company within the list of\ncompanies.",
+ "items": {
+ "$ref": "Rank"
+ },
+ "type": "array"
+ },
+ "badgeTier": {
+ "description": "Partner badge tier",
+ "enum": [
+ "BADGE_TIER_NONE",
+ "BADGE_TIER_REGULAR",
+ "BADGE_TIER_PREMIER"
+ ],
+ "enumDescriptions": [
+ "Tier badge is not set.",
+ "Agency has regular partner badge.",
+ "Agency has premier badge."
+ ],
+ "type": "string"
+ },
+ "specializationStatus": {
+ "description": "The list of Google Partners specialization statuses for the company.",
+ "items": {
+ "$ref": "SpecializationStatus"
+ },
+ "type": "array"
+ },
+ "autoApprovalEmailDomains": {
+ "description": "Email domains that allow users with a matching email address to get\nauto-approved for associating with this company.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "companyTypes": {
+ "description": "Company type labels listed on the company's profile.",
+ "enumDescriptions": [
+ "Unchosen.",
+ "Handles all aspects of the advertising process.",
+ "Focuses solely on an advertiser's media placement.",
+ "Plans/executes advertising campaigns.",
+ "Like a\nFULL_SERVICE_AGENCY,\nbut specializing in digital.",
+ "Increases visibility in search engine result pages.",
+ "Drives promotional efforts for immediate impact.",
+ "Focuses on bid management, conversion, reporting.",
+ "Establishes favorable relationship with public through low/no-cost\ncommunications.",
+ "Does not manage other company's accounts, manages own marketing programs.",
+ "Full-service AdWords account management for local businesses."
+ ],
+ "items": {
+ "enum": [
+ "COMPANY_TYPE_UNSPECIFIED",
+ "FULL_SERVICE_AGENCY",
+ "MEDIA_AGENCY",
+ "CREATIVE_AGENCY",
+ "CDIGITAL_AGENCY",
+ "SEM_SEO",
+ "PERFORMANCE_MARKETING",
+ "ADVERTISING_TOOL_DEVELOPMENT",
+ "PR",
+ "SELF_MANAGED",
+ "RESELLER"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "primaryLanguageCode": {
+ "description": "The primary language code of the company, as defined by\n<a href=\"https://tools.ietf.org/html/bcp47\">BCP 47</a>\n(IETF BCP 47, \"Tags for Identifying Languages\").",
+ "type": "string"
+ },
+ "profileStatus": {
+ "description": "The public viewability status of the company's profile.",
+ "enum": [
+ "COMPANY_PROFILE_STATUS_UNSPECIFIED",
+ "HIDDEN",
+ "PUBLISHED",
+ "SEARCHABLE"
+ ],
+ "enumDescriptions": [
+ "Unchosen.",
+ "Company profile does not show up publicly.",
+ "Company profile can only be viewed by the profile's URL\nand not by Google Partner Search.",
+ "Company profile can be viewed by the profile's URL\nand by Google Partner Search."
+ ],
+ "type": "string"
+ },
+ "locations": {
+ "description": "The list of all company locations.\nIf set, must include the\nprimary_location\nin the list.",
+ "items": {
+ "$ref": "Location"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListLeadsResponse": {
+ "description": "Response message for ListLeads.",
+ "id": "ListLeadsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "A token to retrieve next page of results.\nPass this value in the `ListLeadsRequest.page_token` field in the\nsubsequent call to\nListLeads to retrieve the\nnext page of results.",
+ "type": "string"
+ },
+ "responseMetadata": {
+ "$ref": "ResponseMetadata",
+ "description": "Current response metadata."
+ },
+ "totalSize": {
+ "description": "The total count of leads for the given company.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "leads": {
+ "description": "The list of leads.",
+ "items": {
+ "$ref": "Lead"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "CreateLeadResponse": {
+ "description": "Response message for CreateLead.",
+ "id": "CreateLeadResponse",
+ "properties": {
+ "lead": {
+ "$ref": "Lead",
+ "description": "Lead that was created depending on the outcome of\n<a href=\"https://www.google.com/recaptcha/\">reCaptcha</a> validation."
+ },
+ "recaptchaStatus": {
+ "description": "The outcome of <a href=\"https://www.google.com/recaptcha/\">reCaptcha</a>\nvalidation.",
+ "enum": [
+ "RECAPTCHA_STATUS_UNSPECIFIED",
+ "RS_NOT_NEEDED",
+ "RS_PASSED",
+ "RS_FAILED"
+ ],
+ "enumDescriptions": [
+ "Unchosen.",
+ "No reCaptcha validation needed.",
+ "reCaptcha challenge passed.",
+ "reCaptcha challenge failed."
+ ],
+ "type": "string"
+ },
+ "responseMetadata": {
+ "$ref": "ResponseMetadata",
+ "description": "Current response metadata."
+ }
+ },
+ "type": "object"
+ },
+ "GetCompanyResponse": {
+ "description": "Response message for GetCompany.",
+ "id": "GetCompanyResponse",
+ "properties": {
+ "company": {
+ "$ref": "Company",
+ "description": "The company."
+ },
+ "responseMetadata": {
+ "$ref": "ResponseMetadata",
+ "description": "Current response metadata."
+ }
+ },
+ "type": "object"
+ },
+ "Location": {
+ "description": "A location with address and geographic coordinates. May optionally contain a\ndetailed (multi-field) version of the address.",
+ "id": "Location",
+ "properties": {
+ "administrativeArea": {
+ "description": "Top-level administrative subdivision of this country.",
+ "type": "string"
+ },
+ "locality": {
+ "description": "Generally refers to the city/town portion of an address.",
+ "type": "string"
+ },
+ "latLng": {
+ "$ref": "LatLng",
+ "description": "The latitude and longitude of the location, in degrees."
+ },
+ "address": {
+ "description": "The single string version of the address.",
+ "type": "string"
+ },
+ "dependentLocality": {
+ "description": "Dependent locality or sublocality. Used for UK dependent localities, or\nneighborhoods or boroughs in other locations.",
+ "type": "string"
+ },
+ "regionCode": {
+ "description": "CLDR (Common Locale Data Repository) region code .",
+ "type": "string"
+ },
+ "postalCode": {
+ "description": "Values are frequently alphanumeric.",
+ "type": "string"
+ },
+ "sortingCode": {
+ "description": "Use of this code is very country-specific, but will refer to a secondary\nclassification code for sorting mail.",
+ "type": "string"
+ },
+ "languageCode": {
+ "description": "Language code of the address. Should be in BCP 47 format.",
+ "type": "string"
+ },
+ "addressLine": {
+ "description": "The following address lines represent the most specific part of any\naddress.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "CertificationExamStatus": {
+ "description": "Status for a Google Partners certification exam.",
+ "id": "CertificationExamStatus",
+ "properties": {
+ "numberUsersPass": {
+ "description": "The number of people who have passed the certification exam.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "type": {
+ "description": "The type of certification exam.",
+ "enum": [
+ "CERTIFICATION_EXAM_TYPE_UNSPECIFIED",
+ "CET_ADWORDS_FUNDAMENTALS",
+ "CET_ADWORDS_ADVANCED_SEARCH",
+ "CET_ADWORDS_ADVANCED_DISPLAY",
+ "CET_VIDEO_ADS",
+ "CET_DOUBLECLICK",
+ "CET_ANALYTICS",
+ "CET_SHOPPING",
+ "CET_MOBILE",
+ "CET_DIGITAL_SALES",
+ "CET_MOBILE_SITES"
+ ],
+ "enumDescriptions": [
+ "Unchosen.",
+ "Adwords Fundamentals exam.",
+ "AdWords advanced search exam.",
+ "AdWords advanced display exam.",
+ "VideoAds exam.",
+ "DoubleClick exam.",
+ "Analytics exam.",
+ "Shopping exam.",
+ "Mobile exam.",
+ "Digital Sales exam.",
+ "Mobile Sites exam."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ExamToken": {
+ "description": "A token that allows a user to take an exam.",
+ "id": "ExamToken",
+ "properties": {
+ "examType": {
+ "description": "The type of the exam the token belongs to.",
+ "enum": [
+ "CERTIFICATION_EXAM_TYPE_UNSPECIFIED",
+ "CET_ADWORDS_FUNDAMENTALS",
+ "CET_ADWORDS_ADVANCED_SEARCH",
+ "CET_ADWORDS_ADVANCED_DISPLAY",
+ "CET_VIDEO_ADS",
+ "CET_DOUBLECLICK",
+ "CET_ANALYTICS",
+ "CET_SHOPPING",
+ "CET_MOBILE",
+ "CET_DIGITAL_SALES",
+ "CET_MOBILE_SITES"
+ ],
+ "enumDescriptions": [
+ "Unchosen.",
+ "Adwords Fundamentals exam.",
+ "AdWords advanced search exam.",
+ "AdWords advanced display exam.",
+ "VideoAds exam.",
+ "DoubleClick exam.",
+ "Analytics exam.",
+ "Shopping exam.",
+ "Mobile exam.",
+ "Digital Sales exam.",
+ "Mobile Sites exam."
+ ],
+ "type": "string"
+ },
+ "examId": {
+ "description": "The id of the exam the token is for.",
+ "format": "int64",
+ "type": "string"
+ },
+ "token": {
+ "description": "The token, only present if the user has access to the exam.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OptIns": {
+ "description": "A set of opt-ins for a user.",
+ "id": "OptIns",
+ "properties": {
+ "specialOffers": {
+ "description": "An opt-in about receiving email regarding new features and products.",
+ "type": "boolean"
+ },
+ "performanceSuggestions": {
+ "description": "An opt-in about receiving email with customized AdWords campaign management\ntips.",
+ "type": "boolean"
+ },
+ "physicalMail": {
+ "description": "An opt-in to receive special promotional gifts and material in the mail.",
+ "type": "boolean"
+ },
+ "phoneContact": {
+ "description": "An opt-in to allow recieivng phone calls about their Partners account.",
+ "type": "boolean"
+ },
+ "marketComm": {
+ "description": "An opt-in about receiving email from Partners marketing teams. Includes\nmember-only events and special promotional offers for Google products.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "Rank": {
+ "description": "Information related to ranking of results.",
+ "id": "Rank",
+ "properties": {
+ "type": {
+ "description": "The type of rank.",
+ "enum": [
+ "RANK_TYPE_UNSPECIFIED",
+ "RT_FINAL_SCORE"
+ ],
+ "enumDescriptions": [
+ "Unchosen.",
+ "Total final score."
+ ],
+ "type": "string"
+ },
+ "value": {
+ "description": "The numerical value of the rank.",
+ "format": "double",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "GetPartnersStatusResponse": {
+ "description": "Response message for\nGetPartnersStatus.",
+ "id": "GetPartnersStatusResponse",
+ "properties": {
+ "responseMetadata": {
+ "$ref": "ResponseMetadata",
+ "description": "Current response metadata."
+ }
+ },
+ "type": "object"
+ },
+ "UserProfile": {
+ "description": "The profile information of a Partners user.",
+ "id": "UserProfile",
+ "properties": {
+ "jobFunctions": {
+ "description": "A list of ids represnting which job categories the user selected.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "givenName": {
+ "description": "The user's given name.",
+ "type": "string"
+ },
+ "address": {
+ "$ref": "Location",
+ "description": "The user's mailing address, contains multiple fields."
+ },
+ "industries": {
+ "description": "A list of ids representing which industries the user selected.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "familyName": {
+ "description": "The user's family name.",
+ "type": "string"
+ },
+ "languages": {
+ "description": "The list of languages this user understands.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "emailOptIns": {
+ "$ref": "OptIns",
+ "description": "The list of opt-ins for the user, related to communication preferences."
+ },
+ "markets": {
+ "description": "A list of ids representing which markets the user was interested in.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "adwordsManagerAccount": {
+ "description": "If the user has edit access to multiple accounts, the user can choose the\npreferred account and it is used when a personal account is needed. Can\nbe empty.",
+ "format": "int64",
+ "type": "string"
+ },
+ "phoneNumber": {
+ "description": "The user's phone number.",
+ "type": "string"
+ },
+ "primaryCountryCode": {
+ "description": "The user's primary country, an ISO 2-character code.",
+ "type": "string"
+ },
+ "emailAddress": {
+ "description": "The email address the user has selected on the Partners site as primary.",
+ "type": "string"
+ },
+ "channels": {
+ "description": "A list of ids representing which channels the user selected they were in.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "profilePublic": {
+ "description": "Whether the user's public profile is visible to anyone with the URL.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "HistoricalOffer": {
+ "description": "Historical information about a Google Partners Offer.",
+ "id": "HistoricalOffer",
+ "properties": {
+ "clientId": {
+ "description": "ID of client.",
+ "format": "int64",
+ "type": "string"
+ },
+ "clientName": {
+ "description": "Name of the client.",
+ "type": "string"
+ },
+ "lastModifiedTime": {
+ "description": "Time last action was taken.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "adwordsUrl": {
+ "description": "Client's AdWords page URL.",
+ "type": "string"
+ },
+ "offerType": {
+ "description": "Type of offer.",
+ "enum": [
+ "OFFER_TYPE_UNSPECIFIED",
+ "OFFER_TYPE_SPEND_X_GET_Y",
+ "OFFER_TYPE_VIDEO",
+ "OFFER_TYPE_SPEND_MATCH"
+ ],
+ "enumDescriptions": [
+ "Unset.",
+ "AdWords spend X get Y.",
+ "Youtube video.",
+ "Spend Match up to Y."
+ ],
+ "type": "string"
+ },
+ "senderName": {
+ "description": "Name (First + Last) of the partners user to whom the incentive is allocated.",
+ "type": "string"
+ },
+ "offerCountryCode": {
+ "description": "Country Code for the offer country.",
+ "type": "string"
+ },
+ "expirationTime": {
+ "description": "Time this offer expires.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "offerCode": {
+ "description": "Offer code.",
+ "type": "string"
+ },
+ "creationTime": {
+ "description": "Time offer was first created.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "status": {
+ "description": "Status of the offer.",
+ "enum": [
+ "OFFER_STATUS_UNSPECIFIED",
+ "OFFER_STATUS_DISTRIBUTED",
+ "OFFER_STATUS_REDEEMED",
+ "OFFER_STATUS_AWARDED",
+ "OFFER_STATUS_EXPIRED"
+ ],
+ "enumDescriptions": [
+ "Unset.",
+ "Offer distributed.",
+ "Offer redeemed.",
+ "Offer awarded.",
+ "Offer expired."
+ ],
+ "type": "string"
+ },
+ "clientEmail": {
+ "description": "Email address for client.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "LogUserEventRequest": {
+ "description": "Request message for\nLogUserEvent.",
+ "id": "LogUserEventRequest",
+ "properties": {
+ "eventCategory": {
+ "description": "The category the action belongs to.",
+ "enum": [
+ "EVENT_CATEGORY_UNSPECIFIED",
+ "GOOGLE_PARTNER_SEARCH",
+ "GOOGLE_PARTNER_SIGNUP_FLOW",
+ "GOOGLE_PARTNER_PORTAL",
+ "GOOGLE_PARTNER_PORTAL_MY_PROFILE",
+ "GOOGLE_PARTNER_PORTAL_CERTIFICATIONS",
+ "GOOGLE_PARTNER_PORTAL_COMMUNITY",
+ "GOOGLE_PARTNER_PORTAL_INSIGHTS",
+ "GOOGLE_PARTNER_PORTAL_CLIENTS",
+ "GOOGLE_PARTNER_PUBLIC_USER_PROFILE",
+ "GOOGLE_PARTNER_PANEL",
+ "GOOGLE_PARTNER_PORTAL_LAST_ADMIN_DIALOG",
+ "GOOGLE_PARTNER_CLIENT",
+ "GOOGLE_PARTNER_PORTAL_COMPANY_PROFILE",
+ "EXTERNAL_LINKS",
+ "GOOGLE_PARTNER_LANDING"
+ ],
+ "enumDescriptions": [
+ "Unchosen.",
+ "Google Partner Search category.",
+ "Google Partner sign-up flow category.",
+ "Google Partner portal category.",
+ "Google Partner portal my-profile category.",
+ "Google Partner portal certifications category.",
+ "Google Partner portal community category.",
+ "Google Partner portal insights category.",
+ "Google Partner portal clients category.",
+ "Google Partner portal public user profile category.",
+ "Google Partner panel category.",
+ "Google Partner portal last admin dialog category.",
+ "Google Partner client category.",
+ "Google Partner portal company profile category.",
+ "External links category.",
+ "Google Partner landing category."
+ ],
+ "type": "string"
+ },
+ "lead": {
+ "$ref": "Lead",
+ "description": "Advertiser lead information."
},
"eventAction": {
"description": "The action that occurred.",
@@ -597,9 +3323,12 @@
"AGENCY_CHANGED_ROLES",
"SMB_CLICKED_COMPANY_NAME_LINK_TO_PROFILE",
"SMB_VIEWED_ADWORDS_CERTIFICATE",
+ "SMB_VIEWED_ADWORDS_SEARCH_CERTIFICATE",
+ "SMB_VIEWED_ADWORDS_DISPLAY_CERTIFICATE",
"SMB_CLICKED_ADWORDS_CERTIFICATE_HELP_ICON",
"SMB_VIEWED_ANALYTICS_CERTIFICATE",
"SMB_VIEWED_DOUBLECLICK_CERTIFICATE",
+ "SMB_VIEWED_MOBILE_SITES_CERTIFICATE",
"SMB_VIEWED_VIDEO_ADS_CERTIFICATE",
"SMB_VIEWED_SHOPPING_CERTIFICATE",
"SMB_CLICKED_VIDEO_ADS_CERTIFICATE_HELP_ICON",
@@ -633,30 +3362,181 @@
"AGENCY_CLICKED_CANCEL_ACCEPT_TOS_BUTTON",
"SMB_ENTERED_WEBSITE_IN_CONTACT_PARTNER_FORM"
],
- "type": "string"
- },
- "eventCategory": {
- "description": "The category the action belongs to.",
- "enum": [
- "EVENT_CATEGORY_UNSPECIFIED",
- "GOOGLE_PARTNER_SEARCH",
- "GOOGLE_PARTNER_SIGNUP_FLOW",
- "GOOGLE_PARTNER_PORTAL",
- "GOOGLE_PARTNER_PORTAL_MY_PROFILE",
- "GOOGLE_PARTNER_PORTAL_CERTIFICATIONS",
- "GOOGLE_PARTNER_PORTAL_COMMUNITY",
- "GOOGLE_PARTNER_PORTAL_INSIGHTS",
- "GOOGLE_PARTNER_PORTAL_CLIENTS",
- "GOOGLE_PARTNER_PUBLIC_USER_PROFILE",
- "GOOGLE_PARTNER_PANEL",
- "GOOGLE_PARTNER_PORTAL_LAST_ADMIN_DIALOG",
- "GOOGLE_PARTNER_CLIENT",
- "GOOGLE_PARTNER_PORTAL_COMPANY_PROFILE",
- "EXTERNAL_LINKS",
- "GOOGLE_PARTNER_LANDING"
+ "enumDescriptions": [
+ "Unchosen.",
+ "Advertiser clicked `Find a partner` bottom button.",
+ "Advertiser clicked `Find a partner` top button.",
+ "Agency clicked `Join now` bottom button.",
+ "Agency clicked `Join now` top button.",
+ "Advertiser canceled partner contact form.",
+ "Advertiser started partner contact form.",
+ "Advertiser completed partner contact form.",
+ "Advertiser entered email in contact form.",
+ "Advertiser entered name in contact form.",
+ "Advertiser entered phone in contact form.",
+ "Advertiser failed <a href=\"https://www.google.com/recaptcha/\">reCaptcha</a>\nin contact form.",
+ "Company viewed by advertiser.",
+ "Advertiser canceled partner contact form on Google Partner Search.",
+ "Advertiser changed a top search parameter.",
+ "Advertiser started partner contact form on Google Partner Search.",
+ "Advertiser clicked `Show more partners` bottom button.",
+ "Advertiser completed partner contact form on Google Partner Search.",
+ "Advertiser saw no partners available with search criteria.",
+ "Advertiser performed search on Google Partner Search.",
+ "Advertiser viewed a partner on Google Partner Search.",
+ "Advertiser canceled partner contact form on profile page.",
+ "Advertiser started partner contact form on profile page.",
+ "Advertiser clicked partner website.",
+ "Advertiser completed contact form on profile page.",
+ "Advertiser viewed a partner profile.",
+ "Agency clicked `accept Terms Of Service` button.",
+ "Agency changed Terms Of Service country.",
+ "Agency added address in profile portal.",
+ "Agency added phone number in profile portal.",
+ "Agency changed primary account association.",
+ "Agency changed primary country association.",
+ "Agency clicked `affiliate` button in profile portal.",
+ "Agency clicked `give edit access` in profile portal.",
+ "Agency clicked `log out` in profile portal.",
+ "Agency clicked profile portal left nav.",
+ "Agency clicked `save and continue` at bottom of complete profile.",
+ "Agency clicked `unaffiliate` in profile portal.",
+ "Agency filled out company affiliation in profile portal.",
+ "Agency successfully connected with company in profile portal.",
+ "Agency clicked create MCC in profile portal.",
+ "Agency did not have an MCC associated on profile portal.",
+ "Agency had an MCC associated on profile portal.",
+ "Agency added job function in profile portal.",
+ "Agency looked at job function drop-down.",
+ "Agency selected `account manage` as job function.",
+ "Agency selected `account planner` as job function.",
+ "Agency selected `Analytics` as job function.",
+ "Agency selected `creative` as job function.",
+ "Agency selected `media buyer` as job function.",
+ "Agency selected `media planner` as job function.",
+ "Agency selected `other` as job function.",
+ "Agency selected `production` as job function.",
+ "Agency selected `SEO` as job function.",
+ "Agency selected `sales rep` as job function.",
+ "Agency selected `search specialist` as job function.",
+ "Agency added channels in profile portal.",
+ "Agency looked at `add channel` drop-down.",
+ "Agency selected `cross channel` from add channel drop-down.",
+ "Agency selected `display` from add channel drop-down.",
+ "Agency selected `mobile` from add channel drop-down.",
+ "Agency selected `search` from add channel drop-down.",
+ "Agency selected `social` from add channel drop-down.",
+ "Agency selected `tools` from add channel drop-down.",
+ "Agency selected `YouTube` from add channel drop-down.",
+ "Agency added industries in profile portal.",
+ "Agency changed `add industries` drop-down.",
+ "Agency added markets in profile portal.",
+ "Agency changed `add markets` drop-down.",
+ "Agency checked `recieve mail promotions` in profile portal.",
+ "Agency checked `recieve mail promotions` in sign-up.",
+ "Agency selected `opt-in beta tests and market research`.",
+ "Agency selected `opt-in beta tests` in profile portal.",
+ "Agency selected `opt-in news` in profile portal.",
+ "Agency selected `opt-in news invitations and promotions`.",
+ "Agency selected `opt-in performance SUG` in profile portal.",
+ "Agency selected `opt-in performance suggestions`.",
+ "Agency selected `opt-in select all email notifications`.",
+ "Agency selected `select all opt-ins` in profile portal.",
+ "Agency clicked back button on `connect with company`.",
+ "Agency clicked continue to overview on `connect with company`.",
+ "Agency clicked `create MCC connect with company not found`.",
+ "Agency clicked `give edit access connect with company not found`.",
+ "Agency clicked `log out connect with company not found`.",
+ "Agency clicked `skip for now on connect with company page`.",
+ "Agency closed connection to company.",
+ "Agency completed field connect with company.",
+ "Agency found company to connect with.",
+ "Agency successfully created company.",
+ "Agency added new company location.",
+ "Agency clicked community `join now link` in portal notifications.",
+ "Agency clicked `connect to company` link in portal notifications.",
+ "Agency cliecked `get certified` link in portal notifications.",
+ "Agency clicked `get VideoAds certified` link in portal notifications.",
+ "Agency clicked `link to MCC` link in portal notifications.",
+ "Agency clicked `insight content` in portal.",
+ "Agency clicked `insights view now pitch decks` in portal.",
+ "Agency clicked `insights` left nav in portal.",
+ "Agency clicked `insights upload content`.",
+ "Agency clicked `insights viewed deprecated`.",
+ "Agency clicked `community` left nav in portal.",
+ "Agency clicked `join community` button in community portal.",
+ "Agency clicked `certifications` left nav in portal.",
+ "Agency clicked `certifications product` left nav in portal.",
+ "Agency clicked `partner status` left nav in portal.",
+ "Agency clicked `partner status product` left nav in portal.",
+ "Agency clicked `offers` left nav in portal.",
+ "Agency clicked `send` button on offers page.",
+ "Agency clicked `exam details` on certifications AdWords page.",
+ "Agency clicked `see exams` certifications main page.",
+ "Agency clicked `take exam` on certifications exam page.",
+ "Agency opened `last admin` dialog.",
+ "Agency opened dialog with no users.",
+ "Agency promoted user to admin.",
+ "Agency unaffiliated.",
+ "Agency changed roles.",
+ "Advertiser clicked `company name` link to profile.",
+ "Advertiser viewed AdWords certificate.",
+ "Advertiser viewed AdWords Search certificate.",
+ "Advertiser viewed AdWords Display certificate.",
+ "Advertiser clicked AdWords certificate help icon.",
+ "Advertiser viewed Analytics certificate.",
+ "Advertiser viewed DoubleClick certificate.",
+ "Advertiser viewed Mobile Sites certificate.",
+ "Advertiser viewed VideoAds certificate.",
+ "Advertiser clicked Shopping certificate help icon.",
+ "Advertiser clicked VideoAds certificate help icon.",
+ "Clicked `help` at bottom.",
+ "Clicked `help` at top.",
+ "Client error occurred.",
+ "Agency clicked left nav `stories`.",
+ "Click occured.",
+ "Advertiser clicked Mobile certificate help icon.",
+ "Agency failed the company verification.",
+ "User visited the landing portion of Google Partners.",
+ "User visited the Google Partner Search portion of Google Partners.",
+ "User visited the agency portal portion of Google Partners.",
+ "User cancelled signing up.",
+ "User cancelled signing up their company.",
+ "Agency clicked `Sign in` top button.",
+ "Agency clicked `save and continue` at bottom of incomplete profile.",
+ "Agency unselected `opt-in news invitations and promotions`.",
+ "Agency unselected `opt-in beta tests and market research`.",
+ "Agency unselected `opt-in performance suggestions`.",
+ "Agency selected `opt-out unselect all email notifications`.",
+ "Agency linked their individual MCC.",
+ "Agency was suggested to user for affiliation.",
+ "Agency ignored suggested agencies and begin searching.",
+ "Agency picked a suggested agency.",
+ "Agency searched for agencies.",
+ "Agency picked a searched agency.",
+ "Agency dismissed affiliation widget.",
+ "Agency clicked on the download link for downloading content.",
+ "Agency user is maklingg progress viewing a content item.",
+ "Agency clicked `cancel Terms Of Service` button.",
+ "Advertiser entered website in contact form."
],
"type": "string"
},
+ "url": {
+ "description": "The URL where the event occurred.",
+ "type": "string"
+ },
+ "requestMetadata": {
+ "$ref": "RequestMetadata",
+ "description": "Current request metadata."
+ },
+ "eventDatas": {
+ "description": "List of event data for the event.",
+ "items": {
+ "$ref": "EventData"
+ },
+ "type": "array"
+ },
"eventScope": {
"description": "The scope of the event.",
"enum": [
@@ -665,58 +3545,19 @@
"SESSION",
"PAGE"
],
+ "enumDescriptions": [
+ "Unchosen.",
+ "Based on visitor.",
+ "Based on session.",
+ "Based on page visit."
+ ],
"type": "string"
- },
- "eventDatas": {
- "description": "List of event data for the event.",
- "items": {
- "$ref": "EventData"
- },
- "type": "array"
- },
- "url": {
- "description": "The URL where the event occurred.",
- "type": "string"
- },
- "lead": {
- "$ref": "Lead",
- "description": "Advertiser lead information."
- }
- },
- "type": "object"
- },
- "RequestMetadata": {
- "description": "Common data that is in each API request.",
- "id": "RequestMetadata",
- "properties": {
- "userOverrides": {
- "$ref": "UserOverrides",
- "description": "Values to use instead of the user's respective defaults for the current request. These are only honored by whitelisted products."
- },
- "locale": {
- "description": "Locale to use for the current request.",
- "type": "string"
- },
- "partnersSessionId": {
- "description": "Google Partners session ID.",
- "type": "string"
- },
- "experimentIds": {
- "description": "Experiment IDs the current request belongs to.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "trafficSource": {
- "$ref": "TrafficSource",
- "description": "Source of traffic for the current request."
}
},
"type": "object"
},
"UserOverrides": {
- "description": "Values to use instead of the user's respective defaults. These are only honored by whitelisted products.",
+ "description": "Values to use instead of the user's respective defaults. These are only\nhonored by whitelisted products.",
"id": "UserOverrides",
"properties": {
"ipAddress": {
@@ -730,646 +3571,24 @@
},
"type": "object"
},
- "TrafficSource": {
- "description": "Source of traffic for the current request.",
- "id": "TrafficSource",
+ "AnalyticsDataPoint": {
+ "description": "Details of the analytics events for a `Company` within a single day.",
+ "id": "AnalyticsDataPoint",
"properties": {
- "trafficSourceId": {
- "description": "Identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.",
- "type": "string"
- },
- "trafficSubId": {
- "description": "Second level identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "EventData": {
- "description": "Key value data pair for an event.",
- "id": "EventData",
- "properties": {
- "key": {
- "description": "Data type.",
- "enum": [
- "EVENT_DATA_TYPE_UNSPECIFIED",
- "ACTION",
- "AGENCY_ID",
- "AGENCY_NAME",
- "AGENCY_PHONE_NUMBER",
- "AGENCY_WEBSITE",
- "BUDGET",
- "CENTER_POINT",
- "CERTIFICATION",
- "COMMENT",
- "COUNTRY",
- "CURRENCY",
- "CURRENTLY_VIEWED_AGENCY_ID",
- "DISTANCE",
- "DISTANCE_TYPE",
- "EXAM",
- "HISTORY_TOKEN",
- "IDENTIFIER",
- "INDUSTRY",
- "INSIGHT_TAG",
- "LANGUAGE",
- "LOCATION",
- "MARKETING_OPT_IN",
- "QUERY",
- "SEARCH_START_INDEX",
- "SERVICE",
- "SHOW_VOW",
- "SOLUTION",
- "TRAFFIC_SOURCE_ID",
- "TRAFFIC_SUB_ID",
- "VIEW_PORT",
- "WEBSITE",
- "DETAILS",
- "EXPERIMENT_ID",
- "GPS_MOTIVATION",
- "URL",
- "ELEMENT_FOCUS",
- "PROGRESS"
- ],
- "type": "string"
- },
- "values": {
- "description": "Data values.",
+ "eventLocations": {
+ "description": "Location information of where these events occurred.",
"items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Lead": {
- "description": "A lead resource that represents an advertiser contact for a `Company`. These are usually generated via Google Partner Search (the advertiser portal).",
- "id": "Lead",
- "properties": {
- "id": {
- "description": "ID of the lead.",
- "type": "string"
- },
- "type": {
- "description": "Type of lead.",
- "enum": [
- "LEAD_TYPE_UNSPECIFIED",
- "LT_GPS"
- ],
- "type": "string"
- },
- "email": {
- "description": "Email address of lead source.",
- "type": "string"
- },
- "givenName": {
- "description": "First name of lead source.",
- "type": "string"
- },
- "familyName": {
- "description": "Last name of lead source.",
- "type": "string"
- },
- "websiteUrl": {
- "description": "Website URL of lead source.",
- "type": "string"
- },
- "phoneNumber": {
- "description": "Phone number of lead source.",
- "type": "string"
- },
- "comments": {
- "description": "Comments lead source gave.",
- "type": "string"
- },
- "gpsMotivations": {
- "description": "List of reasons for using Google Partner Search and creating a lead.",
- "enumDescriptions": [
- "Unchosen.",
- "Advertiser needs help with their advertising.",
- "Advertiser needs help with their website.",
- "Advertiser does not have a website."
- ],
- "items": {
- "enum": [
- "GPS_MOTIVATION_UNSPECIFIED",
- "GPSM_HELP_WITH_ADVERTISING",
- "GPSM_HELP_WITH_WEBSITE",
- "GPSM_NO_WEBSITE"
- ],
- "type": "string"
+ "$ref": "LatLng"
},
"type": "array"
},
- "minMonthlyBudget": {
- "$ref": "Money",
- "description": "The minimum monthly budget lead source is willing to spend."
- }
- },
- "type": "object"
- },
- "Money": {
- "description": "Represents an amount of money with its currency type.",
- "id": "Money",
- "properties": {
- "currencyCode": {
- "description": "The 3-letter currency code defined in ISO 4217.",
- "type": "string"
- },
- "units": {
- "description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
- "format": "int64",
- "type": "string"
- },
- "nanos": {
- "description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.",
+ "eventCount": {
+ "description": "Number of times the type of event occurred.\nMeaning depends on context (e.g. profile views, contacts, etc.).",
"format": "int32",
"type": "integer"
}
},
"type": "object"
- },
- "LogUserEventResponse": {
- "description": "Response message for LogUserEvent.",
- "id": "LogUserEventResponse",
- "properties": {
- "responseMetadata": {
- "$ref": "ResponseMetadata",
- "description": "Current response metadata."
- }
- },
- "type": "object"
- },
- "ResponseMetadata": {
- "description": "Common data that is in each API response.",
- "id": "ResponseMetadata",
- "properties": {
- "debugInfo": {
- "$ref": "DebugInfo",
- "description": "Debug information about this request."
- }
- },
- "type": "object"
- },
- "DebugInfo": {
- "description": "Debug information about this request.",
- "id": "DebugInfo",
- "properties": {
- "serverInfo": {
- "description": "Info about the server that serviced this request.",
- "type": "string"
- },
- "serviceUrl": {
- "description": "URL of the service that handled this request.",
- "type": "string"
- },
- "serverTraceInfo": {
- "description": "Server-side debug stack trace.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "LogMessageRequest": {
- "description": "Request message for LogClientMessage.",
- "id": "LogMessageRequest",
- "properties": {
- "requestMetadata": {
- "$ref": "RequestMetadata",
- "description": "Current request metadata."
- },
- "level": {
- "description": "Message level of client message.",
- "enum": [
- "MESSAGE_LEVEL_UNSPECIFIED",
- "ML_FINE",
- "ML_INFO",
- "ML_WARNING",
- "ML_SEVERE"
- ],
- "type": "string"
- },
- "details": {
- "description": "Details about the client message.",
- "type": "string"
- },
- "clientInfo": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Map of client info, such as URL, browser navigator, browser platform, etc.",
- "type": "object"
- }
- },
- "type": "object"
- },
- "LogMessageResponse": {
- "description": "Response message for LogClientMessage.",
- "id": "LogMessageResponse",
- "properties": {
- "responseMetadata": {
- "$ref": "ResponseMetadata",
- "description": "Current response metadata."
- }
- },
- "type": "object"
- },
- "ListUserStatesResponse": {
- "description": "Response message for ListUserStates.",
- "id": "ListUserStatesResponse",
- "properties": {
- "responseMetadata": {
- "$ref": "ResponseMetadata",
- "description": "Current response metadata."
- },
- "userStates": {
- "description": "User's states.",
- "enumDescriptions": [
- "Unchosen.",
- "User must pass reCaptcha to contact a Partner via Google Partner Search."
- ],
- "items": {
- "enum": [
- "USER_STATE_UNSPECIFIED",
- "US_REQUIRES_RECAPTCHA_FOR_GPS_CONTACT"
- ],
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "GetCompanyResponse": {
- "description": "Response message for GetCompany.",
- "id": "GetCompanyResponse",
- "properties": {
- "responseMetadata": {
- "$ref": "ResponseMetadata",
- "description": "Current response metadata."
- },
- "company": {
- "$ref": "Company",
- "description": "The company."
- }
- },
- "type": "object"
- },
- "Company": {
- "description": "A company resource in the Google Partners API. Once certified, it qualifies for being searched by advertisers.",
- "id": "Company",
- "properties": {
- "id": {
- "description": "The ID of the company.",
- "type": "string"
- },
- "name": {
- "description": "The name of the company.",
- "type": "string"
- },
- "localizedInfos": {
- "description": "The list of localized info for the company.",
- "items": {
- "$ref": "LocalizedCompanyInfo"
- },
- "type": "array"
- },
- "locations": {
- "description": "The list of company locations.",
- "items": {
- "$ref": "Location"
- },
- "type": "array"
- },
- "convertedMinMonthlyBudget": {
- "$ref": "Money",
- "description": "The minimum monthly budget that the company accepts for partner business, converted to the requested currency code."
- },
- "originalMinMonthlyBudget": {
- "$ref": "Money",
- "description": "The unconverted minimum monthly budget that the company accepts for partner business."
- },
- "publicProfile": {
- "$ref": "PublicProfile",
- "description": "Basic information from the company's public profile."
- },
- "certificationStatuses": {
- "description": "The list of Google Partners certification statuses for the company.",
- "items": {
- "$ref": "CertificationStatus"
- },
- "type": "array"
- },
- "ranks": {
- "description": "Information related to the ranking of the company within the list of companies.",
- "items": {
- "$ref": "Rank"
- },
- "type": "array"
- },
- "websiteUrl": {
- "description": "URL of the company's website.",
- "type": "string"
- },
- "industries": {
- "description": "Industries the company can help with.",
- "enumDescriptions": [
- "Unchosen.",
- "The automotive industry.",
- "The business-to-business industry.",
- "The consumer packaged goods industry.",
- "The education industry.",
- "The finance industry.",
- "The healthcare industry.",
- "The media and entertainment industry.",
- "The retail industry.",
- "The technology industry.",
- "The travel industry."
- ],
- "items": {
- "enum": [
- "INDUSTRY_UNSPECIFIED",
- "I_AUTOMOTIVE",
- "I_BUSINESS_TO_BUSINESS",
- "I_CONSUMER_PACKAGED_GOODS",
- "I_EDUCATION",
- "I_FINANCE",
- "I_HEALTHCARE",
- "I_MEDIA_AND_ENTERTAINMENT",
- "I_RETAIL",
- "I_TECHNOLOGY",
- "I_TRAVEL"
- ],
- "type": "string"
- },
- "type": "array"
- },
- "services": {
- "description": "Services the company can help with.",
- "enumDescriptions": [
- "Unchosen.",
- "Help with advanced AdWords support.",
- "Help with advertising on Google.",
- "Help with an enhanced website.",
- "Help with an online marketing plan.",
- "Help with mobile and video ads."
- ],
- "items": {
- "enum": [
- "SERVICE_UNSPECIFIED",
- "S_ADVANCED_ADWORDS_SUPPORT",
- "S_ADVERTISING_ON_GOOGLE",
- "S_AN_ENHANCED_WEBSITE",
- "S_AN_ONLINE_MARKETING_PLAN",
- "S_MOBILE_AND_VIDEO_ADS"
- ],
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "LocalizedCompanyInfo": {
- "description": "The localized company information.",
- "id": "LocalizedCompanyInfo",
- "properties": {
- "languageCode": {
- "description": "Language code of the localized company info, as defined by BCP 47 (IETF BCP 47, \"Tags for Identifying Languages\").",
- "type": "string"
- },
- "displayName": {
- "description": "Localized display name.",
- "type": "string"
- },
- "overview": {
- "description": "Localized brief description that the company uses to advertise themselves.",
- "type": "string"
- },
- "countryCodes": {
- "description": "List of country codes for the localized company info.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Location": {
- "description": "A location with address and geographic coordinates.",
- "id": "Location",
- "properties": {
- "address": {
- "description": "The complete address of the location.",
- "type": "string"
- },
- "latLng": {
- "$ref": "LatLng",
- "description": "The latitude and longitude of the location, in degrees."
- }
- },
- "type": "object"
- },
- "LatLng": {
- "description": "An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges. Example of normalization code in Python: def NormalizeLongitude(longitude): \"\"\"Wrapsdecimal degrees longitude to [-180.0, 180.0].\"\"\" q, r = divmod(longitude, 360.0) if r > 180.0 or (r == 180.0 and q <= -1.0): return r - 360.0 return r def NormalizeLatLng(latitude, longitude): \"\"\"Wraps decimal degrees latitude and longitude to [-180.0, 180.0] and [-90.0, 90.0], respectively.\"\"\" r = latitude % 360.0 if r = 270.0: return r - 360, NormalizeLongitude(longitude) else: return 180 - r, NormalizeLongitude(longitude + 180.0) assert 180.0 == NormalizeLongitude(180.0) assert -180.0 == NormalizeLongitude(-180.0) assert -179.0 == NormalizeLongitude(181.0) assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0) assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0) assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0) assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0) assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0) assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)",
- "id": "LatLng",
- "properties": {
- "latitude": {
- "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].",
- "format": "double",
- "type": "number"
- },
- "longitude": {
- "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].",
- "format": "double",
- "type": "number"
- }
- },
- "type": "object"
- },
- "PublicProfile": {
- "description": "Basic information from a public profile.",
- "id": "PublicProfile",
- "properties": {
- "id": {
- "description": "The ID which can be used to retrieve more details about the public profile.",
- "type": "string"
- },
- "displayName": {
- "description": "The display name of the public profile.",
- "type": "string"
- },
- "url": {
- "description": "The URL of the public profile.",
- "type": "string"
- },
- "displayImageUrl": {
- "description": "The URL to the main display image of the public profile.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CertificationStatus": {
- "description": "Google Partners certification status.",
- "id": "CertificationStatus",
- "properties": {
- "type": {
- "description": "The type of the certification.",
- "enum": [
- "CERTIFICATION_TYPE_UNSPECIFIED",
- "CT_ADWORDS",
- "CT_YOUTUBE",
- "CT_VIDEOADS",
- "CT_ANALYTICS",
- "CT_DOUBLECLICK",
- "CT_SHOPPING",
- "CT_MOBILE"
- ],
- "type": "string"
- },
- "examStatuses": {
- "description": "List of certification exam statuses.",
- "items": {
- "$ref": "CertificationExamStatus"
- },
- "type": "array"
- },
- "isCertified": {
- "description": "Whether certification is passing.",
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "CertificationExamStatus": {
- "description": "Status for a Google Partners certification exam.",
- "id": "CertificationExamStatus",
- "properties": {
- "type": {
- "description": "The type of certification exam.",
- "enum": [
- "CERTIFICATION_EXAM_TYPE_UNSPECIFIED",
- "CET_ADWORDS_ADVANCED_SEARCH",
- "CET_ADWORDS_ADVANCED_DISPLAY",
- "CET_VIDEO_ADS",
- "CET_ANALYTICS",
- "CET_DOUBLECLICK",
- "CET_SHOPPING",
- "CET_MOBILE"
- ],
- "type": "string"
- },
- "numberUsersPass": {
- "description": "The number of people who have passed the certification exam.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "Rank": {
- "description": "Information related to ranking of results.",
- "id": "Rank",
- "properties": {
- "type": {
- "description": "The type of rank.",
- "enum": [
- "RANK_TYPE_UNSPECIFIED",
- "RT_FINAL_SCORE"
- ],
- "type": "string"
- },
- "value": {
- "description": "The numerical value of the rank.",
- "format": "double",
- "type": "number"
- }
- },
- "type": "object"
- },
- "ListCompaniesResponse": {
- "description": "Response message for ListCompanies.",
- "id": "ListCompaniesResponse",
- "properties": {
- "responseMetadata": {
- "$ref": "ResponseMetadata",
- "description": "Current response metadata."
- },
- "companies": {
- "description": "The list of companies.",
- "items": {
- "$ref": "Company"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "A token to retrieve next page of results. Pass this value in the `ListCompaniesRequest.page_token` field in the subsequent call to ListCompanies to retrieve the next page of results.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CreateLeadRequest": {
- "description": "Request message for CreateLead.",
- "id": "CreateLeadRequest",
- "properties": {
- "requestMetadata": {
- "$ref": "RequestMetadata",
- "description": "Current request metadata."
- },
- "lead": {
- "$ref": "Lead",
- "description": "The lead resource. The `LeadType` must not be `LEAD_TYPE_UNSPECIFIED` and either `email` or `phone_number` must be provided."
- },
- "recaptchaChallenge": {
- "$ref": "RecaptchaChallenge",
- "description": "reCaptcha challenge info."
- }
- },
- "type": "object"
- },
- "RecaptchaChallenge": {
- "description": "reCaptcha challenge info.",
- "id": "RecaptchaChallenge",
- "properties": {
- "id": {
- "description": "The ID of the reCaptcha challenge.",
- "type": "string"
- },
- "response": {
- "description": "The response to the reCaptcha challenge.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CreateLeadResponse": {
- "description": "Response message for CreateLead. Debug information about this request.",
- "id": "CreateLeadResponse",
- "properties": {
- "responseMetadata": {
- "$ref": "ResponseMetadata",
- "description": "Current response metadata."
- },
- "lead": {
- "$ref": "Lead",
- "description": "Lead that was created depending on the outcome of reCaptcha validation."
- },
- "recaptchaStatus": {
- "description": "The outcome of reCaptcha validation.",
- "enum": [
- "RECAPTCHA_STATUS_UNSPECIFIED",
- "RS_NOT_NEEDED",
- "RS_PASSED",
- "RS_FAILED"
- ],
- "type": "string"
- }
- },
- "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis/people__v1.json b/discovery/googleapis/people__v1.json
index b7ab28a..dcdb347 100644
--- a/discovery/googleapis/people__v1.json
+++ b/discovery/googleapis/people__v1.json
@@ -8,14 +8,14 @@
"https://www.googleapis.com/auth/userinfo.profile": {
"description": "View your basic profile info"
},
- "https://www.googleapis.com/auth/user.emails.read": {
- "description": "View your email addresses"
+ "https://www.googleapis.com/auth/user.addresses.read": {
+ "description": "View your street addresses"
},
"https://www.googleapis.com/auth/contacts": {
"description": "Manage your contacts"
},
- "https://www.googleapis.com/auth/user.addresses.read": {
- "description": "View your street addresses"
+ "https://www.googleapis.com/auth/user.emails.read": {
+ "description": "View your email addresses"
},
"https://www.googleapis.com/auth/userinfo.email": {
"description": "View your email address"
@@ -23,11 +23,11 @@
"https://www.googleapis.com/auth/user.phonenumbers.read": {
"description": "View your phone numbers"
},
- "https://www.googleapis.com/auth/user.birthday.read": {
- "description": "View your complete date of birth"
- },
"https://www.googleapis.com/auth/contacts.readonly": {
"description": "View your contacts"
+ },
+ "https://www.googleapis.com/auth/user.birthday.read": {
+ "description": "View your complete date of birth"
}
}
}
@@ -48,6 +48,27 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
+ "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"
+ },
+ "pp": {
+ "default": "true",
+ "description": "Pretty-print response.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
@@ -69,11 +90,6 @@
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
"$.xgafv": {
"description": "V1 error format.",
"enum": [
@@ -87,6 +103,11 @@
"location": "query",
"type": "string"
},
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -112,68 +133,12 @@
"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"
- },
- "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"
- },
- "pp": {
- "default": "true",
- "description": "Pretty-print response.",
- "location": "query",
- "type": "boolean"
- },
- "bearer_token": {
- "description": "OAuth bearer token.",
- "location": "query",
- "type": "string"
- },
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
}
},
"protocol": "rest",
"resources": {
"people": {
"methods": {
- "getBatchGet": {
- "description": "Provides information about a list of specific people by specifying a list\nof requested resource names. Use `people/me` to indicate the authenticated\nuser.",
- "httpMethod": "GET",
- "id": "people.people.getBatchGet",
- "parameterOrder": [],
- "parameters": {
- "requestMask.includeField": {
- "description": "Comma-separated list of fields to be included in the response. Omitting\nthis field will include all fields except for connections.list requests,\nwhich have a default mask that includes common fields like metadata, name,\nphoto, and profile url.\nEach path should start with `person.`: for example, `person.names` or\n`person.photos`.",
- "format": "google-fieldmask",
- "location": "query",
- "type": "string"
- },
- "resourceNames": {
- "description": "The resource name, such as one returned by\n[`people.connections.list`](/people/api/rest/v1/people.connections/list),\nof one of the people to provide information about. You can include this\nparameter up to 50 times in one request.",
- "location": "query",
- "repeated": true,
- "type": "string"
- }
- },
- "path": "v1/people:batchGet",
- "response": {
- "$ref": "GetPeopleResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/contacts",
- "https://www.googleapis.com/auth/contacts.readonly",
- "https://www.googleapis.com/auth/plus.login",
- "https://www.googleapis.com/auth/user.addresses.read",
- "https://www.googleapis.com/auth/user.birthday.read",
- "https://www.googleapis.com/auth/user.emails.read",
- "https://www.googleapis.com/auth/user.phonenumbers.read",
- "https://www.googleapis.com/auth/userinfo.email",
- "https://www.googleapis.com/auth/userinfo.profile"
- ]
- },
"get": {
"description": "Provides information about a person resource for a resource name. Use\n`people/me` to indicate the authenticated user.",
"httpMethod": "GET",
@@ -211,6 +176,41 @@
"https://www.googleapis.com/auth/userinfo.email",
"https://www.googleapis.com/auth/userinfo.profile"
]
+ },
+ "getBatchGet": {
+ "description": "Provides information about a list of specific people by specifying a list\nof requested resource names. Use `people/me` to indicate the authenticated\nuser.",
+ "httpMethod": "GET",
+ "id": "people.people.getBatchGet",
+ "parameterOrder": [],
+ "parameters": {
+ "requestMask.includeField": {
+ "description": "Comma-separated list of fields to be included in the response. Omitting\nthis field will include all fields except for connections.list requests,\nwhich have a default mask that includes common fields like metadata, name,\nphoto, and profile url.\nEach path should start with `person.`: for example, `person.names` or\n`person.photos`.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ },
+ "resourceNames": {
+ "description": "The resource name, such as one returned by\n[`people.connections.list`](/people/api/rest/v1/people.connections/list),\nof one of the people to provide information about. You can include this\nparameter up to 50 times in one request.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/people:batchGet",
+ "response": {
+ "$ref": "GetPeopleResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/contacts",
+ "https://www.googleapis.com/auth/contacts.readonly",
+ "https://www.googleapis.com/auth/plus.login",
+ "https://www.googleapis.com/auth/user.addresses.read",
+ "https://www.googleapis.com/auth/user.birthday.read",
+ "https://www.googleapis.com/auth/user.emails.read",
+ "https://www.googleapis.com/auth/user.phonenumbers.read",
+ "https://www.googleapis.com/auth/userinfo.email",
+ "https://www.googleapis.com/auth/userinfo.profile"
+ ]
}
},
"resources": {
@@ -224,11 +224,6 @@
"resourceName"
],
"parameters": {
- "requestSyncToken": {
- "description": "Whether the response should include a sync token, which can be used to get\nall changes since the last request.",
- "location": "query",
- "type": "boolean"
- },
"resourceName": {
"description": "The resource name to return connections for. Only `people/me` is valid.",
"location": "path",
@@ -267,6 +262,11 @@
],
"location": "query",
"type": "string"
+ },
+ "requestSyncToken": {
+ "description": "Whether the response should include a sync token, which can be used to get\nall changes since the last request.",
+ "location": "query",
+ "type": "boolean"
}
},
"path": "v1/{+resourceName}/connections",
@@ -283,9 +283,391 @@
}
}
},
- "revision": "20170302",
+ "revision": "20170323",
"rootUrl": "https://people.googleapis.com/",
"schemas": {
+ "Membership": {
+ "description": "A person's read-only membership in a group.",
+ "id": "Membership",
+ "properties": {
+ "contactGroupMembership": {
+ "$ref": "ContactGroupMembership",
+ "description": "The contact group membership."
+ },
+ "domainMembership": {
+ "$ref": "DomainMembership",
+ "description": "The domain membership."
+ },
+ "metadata": {
+ "$ref": "FieldMetadata",
+ "description": "Metadata about the membership."
+ }
+ },
+ "type": "object"
+ },
+ "RelationshipStatus": {
+ "description": "A person's read-only relationship status.",
+ "id": "RelationshipStatus",
+ "properties": {
+ "formattedValue": {
+ "description": "The read-only value of the relationship status translated and formatted in\nthe viewer's account locale or the `Accept-Language` HTTP header locale.",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "FieldMetadata",
+ "description": "Metadata about the relationship status."
+ },
+ "value": {
+ "description": "The relationship status. The value can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `single`\n* `inARelationship`\n* `engaged`\n* `married`\n* `itsComplicated`\n* `openRelationship`\n* `widowed`\n* `inDomesticPartnership`\n* `inCivilUnion`",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Date": {
+ "description": "Represents a whole calendar date, for example a date of birth. The time\nof day and time zone are either specified elsewhere or are not\nsignificant. The date is relative to the\n[Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar).\nThe day may be 0 to represent a year and month where the day is not\nsignificant. The year may be 0 to represent a month and day independent\nof year; for example, anniversary date.",
+ "id": "Date",
+ "properties": {
+ "year": {
+ "description": "Year of date. Must be from 1 to 9999, or 0 if specifying a date without\na year.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "day": {
+ "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0\nif specifying a year/month where the day is not significant.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "month": {
+ "description": "Month of year. Must be from 1 to 12.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "Tagline": {
+ "description": "A read-only brief one-line description of the person.",
+ "id": "Tagline",
+ "properties": {
+ "value": {
+ "description": "The tagline.",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "FieldMetadata",
+ "description": "Metadata about the tagline."
+ }
+ },
+ "type": "object"
+ },
+ "Name": {
+ "description": "A person's name. If the name is a mononym, the family name is empty.",
+ "id": "Name",
+ "properties": {
+ "honorificPrefix": {
+ "description": "The honorific prefixes, such as `Mrs.` or `Dr.`",
+ "type": "string"
+ },
+ "phoneticHonorificSuffix": {
+ "description": "The honorific suffixes spelled as they sound.",
+ "type": "string"
+ },
+ "givenName": {
+ "description": "The given name.",
+ "type": "string"
+ },
+ "middleName": {
+ "description": "The middle name(s).",
+ "type": "string"
+ },
+ "phoneticHonorificPrefix": {
+ "description": "The honorific prefixes spelled as they sound.",
+ "type": "string"
+ },
+ "phoneticGivenName": {
+ "description": "The given name spelled as it sounds.",
+ "type": "string"
+ },
+ "phoneticFamilyName": {
+ "description": "The family name spelled as it sounds.",
+ "type": "string"
+ },
+ "familyName": {
+ "description": "The family name.",
+ "type": "string"
+ },
+ "phoneticMiddleName": {
+ "description": "The middle name(s) spelled as they sound.",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "FieldMetadata",
+ "description": "Metadata about the name."
+ },
+ "phoneticFullName": {
+ "description": "The full name spelled as it sounds.",
+ "type": "string"
+ },
+ "displayNameLastFirst": {
+ "description": "The read-only display name with the last name first formatted according to\nthe locale specified by the viewer's account or the\n<code>Accept-Language</code> HTTP header.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "The read-only display name formatted according to the locale specified by\nthe viewer's account or the <code>Accept-Language</code> HTTP header.",
+ "type": "string"
+ },
+ "honorificSuffix": {
+ "description": "The honorific suffixes, such as `Jr.`",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BraggingRights": {
+ "description": "A person's bragging rights.",
+ "id": "BraggingRights",
+ "properties": {
+ "metadata": {
+ "$ref": "FieldMetadata",
+ "description": "Metadata about the bragging rights."
+ },
+ "value": {
+ "description": "The bragging rights; for example, `climbed mount everest`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Locale": {
+ "description": "A person's locale preference.",
+ "id": "Locale",
+ "properties": {
+ "metadata": {
+ "$ref": "FieldMetadata",
+ "description": "Metadata about the locale."
+ },
+ "value": {
+ "description": "The well-formed [IETF BCP 47](https://tools.ietf.org/html/bcp47)\nlanguage tag representing the locale.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Organization": {
+ "description": "A person's past or current organization. Overlapping date ranges are\npermitted.",
+ "id": "Organization",
+ "properties": {
+ "type": {
+ "description": "The type of the organization. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `work`\n* `school`",
+ "type": "string"
+ },
+ "phoneticName": {
+ "description": "The phonetic name of the organization.",
+ "type": "string"
+ },
+ "jobDescription": {
+ "description": "The person's job description at the organization.",
+ "type": "string"
+ },
+ "endDate": {
+ "$ref": "Date",
+ "description": "The end date when the person left the organization."
+ },
+ "symbol": {
+ "description": "The symbol associated with the organization; for example, a stock ticker\nsymbol, abbreviation, or acronym.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the organization.",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "FieldMetadata",
+ "description": "Metadata about the organization."
+ },
+ "location": {
+ "description": "The location of the organization office the person works at.",
+ "type": "string"
+ },
+ "title": {
+ "description": "The person's job title at the organization.",
+ "type": "string"
+ },
+ "current": {
+ "description": "True if the organization is the person's current organization;\nfalse if the organization is a past organization.",
+ "type": "boolean"
+ },
+ "formattedType": {
+ "description": "The read-only type of the organization translated and formatted in the\nviewer's account locale or the `Accept-Language` HTTP header locale.",
+ "type": "string"
+ },
+ "startDate": {
+ "$ref": "Date",
+ "description": "The start date when the person joined the organization."
+ },
+ "domain": {
+ "description": "The domain name associated with the organization; for example, `google.com`.",
+ "type": "string"
+ },
+ "department": {
+ "description": "The person's department at the organization.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Biography": {
+ "description": "A person's short biography.",
+ "id": "Biography",
+ "properties": {
+ "contentType": {
+ "description": "The content type of the biography.",
+ "enum": [
+ "CONTENT_TYPE_UNSPECIFIED",
+ "TEXT_PLAIN",
+ "TEXT_HTML"
+ ],
+ "enumDescriptions": [
+ "Unspecified.",
+ "Plain text.",
+ "HTML text."
+ ],
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "FieldMetadata",
+ "description": "Metadata about the biography."
+ },
+ "value": {
+ "description": "The short biography.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AgeRangeType": {
+ "description": "A person's age range.",
+ "id": "AgeRangeType",
+ "properties": {
+ "ageRange": {
+ "description": "The age range.",
+ "enum": [
+ "AGE_RANGE_UNSPECIFIED",
+ "LESS_THAN_EIGHTEEN",
+ "EIGHTEEN_TO_TWENTY",
+ "TWENTY_ONE_OR_OLDER"
+ ],
+ "enumDescriptions": [
+ "Unspecified.",
+ "Younger than eighteen.",
+ "Between eighteen and twenty.",
+ "Twenty-one and older."
+ ],
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "FieldMetadata",
+ "description": "Metadata about the age range."
+ }
+ },
+ "type": "object"
+ },
+ "FieldMetadata": {
+ "description": "Metadata about a field.",
+ "id": "FieldMetadata",
+ "properties": {
+ "verified": {
+ "description": "True if the field is verified; false if the field is unverified. A\nverified field is typically a name, email address, phone number, or\nwebsite that has been confirmed to be owned by the person.",
+ "type": "boolean"
+ },
+ "primary": {
+ "description": "True if the field is the primary field; false if the field is a secondary\nfield.",
+ "type": "boolean"
+ },
+ "source": {
+ "$ref": "Source",
+ "description": "The source of the field."
+ }
+ },
+ "type": "object"
+ },
+ "PersonResponse": {
+ "description": "The response for a single person",
+ "id": "PersonResponse",
+ "properties": {
+ "person": {
+ "$ref": "Person",
+ "description": "The person."
+ },
+ "httpStatusCode": {
+ "description": "[HTTP 1.1 status code](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).",
+ "format": "int32",
+ "type": "integer"
+ },
+ "requestedResourceName": {
+ "description": "The original requested resource name. May be different than the resource\nname on the returned person.\n\nThe resource name can change when adding or removing fields that link a\ncontact and profile such as a verified email, verified phone number, or a\nprofile URL.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RelationshipInterest": {
+ "description": "A person's read-only relationship interest .",
+ "id": "RelationshipInterest",
+ "properties": {
+ "value": {
+ "description": "The kind of relationship the person is looking for. The value can be custom\nor predefined. Possible values include, but are not limited to, the\nfollowing values:\n\n* `friend`\n* `date`\n* `relationship`\n* `networking`",
+ "type": "string"
+ },
+ "formattedValue": {
+ "description": "The value of the relationship interest translated and formatted in the\nviewer's account locale or the locale specified in the Accept-Language\nHTTP header.",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "FieldMetadata",
+ "description": "Metadata about the relationship interest."
+ }
+ },
+ "type": "object"
+ },
+ "Source": {
+ "description": "The source of a field.",
+ "id": "Source",
+ "properties": {
+ "profileMetadata": {
+ "$ref": "ProfileMetadata",
+ "description": "Metadata about a source of type PROFILE."
+ },
+ "type": {
+ "description": "The source type.",
+ "enum": [
+ "SOURCE_TYPE_UNSPECIFIED",
+ "ACCOUNT",
+ "PROFILE",
+ "DOMAIN_PROFILE",
+ "CONTACT"
+ ],
+ "enumDescriptions": [
+ "Unspecified.",
+ "[Google Account](https://accounts.google.com).",
+ "[Google profile](https://profiles.google.com). You can view the\nprofile at https://profiles.google.com/<id> where <id> is the source\nid.",
+ "[Google Apps domain profile](https://admin.google.com).",
+ "[Google contact](https://contacts.google.com). You can view the\ncontact at https://contact.google.com/<id> where <id> is the source\nid."
+ ],
+ "type": "string"
+ },
+ "etag": {
+ "description": "The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the\nsource. Used for web cache validation. Only populated in\nperson.metadata.sources.",
+ "type": "string"
+ },
+ "id": {
+ "description": "The unique identifier within the source type generated by the server.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Relation": {
"description": "A person's relation to another person.",
"id": "Relation",
@@ -313,13 +695,13 @@
"description": "A person's occupation.",
"id": "Occupation",
"properties": {
- "value": {
- "description": "The occupation; for example, `carpenter`.",
- "type": "string"
- },
"metadata": {
"$ref": "FieldMetadata",
"description": "Metadata about the occupation."
+ },
+ "value": {
+ "description": "The occupation; for example, `carpenter`.",
+ "type": "string"
}
},
"type": "object"
@@ -328,59 +710,6 @@
"description": "Information about a person merged from various data sources such as the\nauthenticated user's contacts and profile data. Fields other than IDs,\nmetadata, and group memberships are user-edited.\n\nMost fields can have multiple items. The items in a field have no guaranteed\norder, but each non-empty field is guaranteed to have exactly one field with\n`metadata.primary` set to true.\nNEXT_ID: 31",
"id": "Person",
"properties": {
- "nicknames": {
- "description": "The person's nicknames.",
- "items": {
- "$ref": "Nickname"
- },
- "type": "array"
- },
- "names": {
- "description": "The person's names.",
- "items": {
- "$ref": "Name"
- },
- "type": "array"
- },
- "relations": {
- "description": "The person's relations.",
- "items": {
- "$ref": "Relation"
- },
- "type": "array"
- },
- "occupations": {
- "description": "The person's occupations.",
- "items": {
- "$ref": "Occupation"
- },
- "type": "array"
- },
- "emailAddresses": {
- "description": "The person's email addresses.",
- "items": {
- "$ref": "EmailAddress"
- },
- "type": "array"
- },
- "organizations": {
- "description": "The person's past or current organizations.",
- "items": {
- "$ref": "Organization"
- },
- "type": "array"
- },
- "etag": {
- "description": "The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the\nresource. Used for web cache validation.",
- "type": "string"
- },
- "braggingRights": {
- "description": "The person's bragging rights.",
- "items": {
- "$ref": "BraggingRights"
- },
- "type": "array"
- },
"metadata": {
"$ref": "PersonMetadata",
"description": "Metadata about the person."
@@ -399,6 +728,10 @@
},
"type": "array"
},
+ "resourceName": {
+ "description": "The resource name for the person, assigned by the server. An ASCII string\nwith a max length of 27 characters. Always starts with `people/`.",
+ "type": "string"
+ },
"interests": {
"description": "The person's interests.",
"items": {
@@ -406,10 +739,6 @@
},
"type": "array"
},
- "resourceName": {
- "description": "The resource name for the person, assigned by the server. An ASCII string\nwith a max length of 27 characters. Always starts with `people/`.",
- "type": "string"
- },
"biographies": {
"description": "The person's biographies.",
"items": {
@@ -537,6 +866,59 @@
"$ref": "Url"
},
"type": "array"
+ },
+ "nicknames": {
+ "description": "The person's nicknames.",
+ "items": {
+ "$ref": "Nickname"
+ },
+ "type": "array"
+ },
+ "relations": {
+ "description": "The person's relations.",
+ "items": {
+ "$ref": "Relation"
+ },
+ "type": "array"
+ },
+ "names": {
+ "description": "The person's names.",
+ "items": {
+ "$ref": "Name"
+ },
+ "type": "array"
+ },
+ "occupations": {
+ "description": "The person's occupations.",
+ "items": {
+ "$ref": "Occupation"
+ },
+ "type": "array"
+ },
+ "emailAddresses": {
+ "description": "The person's email addresses.",
+ "items": {
+ "$ref": "EmailAddress"
+ },
+ "type": "array"
+ },
+ "organizations": {
+ "description": "The person's past or current organizations.",
+ "items": {
+ "$ref": "Organization"
+ },
+ "type": "array"
+ },
+ "etag": {
+ "description": "The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the\nresource. Used for web cache validation.",
+ "type": "string"
+ },
+ "braggingRights": {
+ "description": "The person's bragging rights.",
+ "items": {
+ "$ref": "BraggingRights"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -554,33 +936,6 @@
},
"type": "object"
},
- "PhoneNumber": {
- "description": "A person's phone number.",
- "id": "PhoneNumber",
- "properties": {
- "metadata": {
- "$ref": "FieldMetadata",
- "description": "Metadata about the phone number."
- },
- "type": {
- "description": "The type of the phone number. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `home`\n* `work`\n* `mobile`\n* `homeFax`\n* `workFax`\n* `otherFax`\n* `pager`\n* `workMobile`\n* `workPager`\n* `main`\n* `googleVoice`\n* `other`",
- "type": "string"
- },
- "value": {
- "description": "The phone number.",
- "type": "string"
- },
- "formattedType": {
- "description": "The read-only type of the phone number translated and formatted in the\nviewer's account locale or the the `Accept-Language` HTTP header locale.",
- "type": "string"
- },
- "canonicalForm": {
- "description": "The read-only canonicalized [ITU-T E.164](https://law.resource.org/pub/us/cfr/ibr/004/itu-t.E.164.1.2008.pdf)\nform of the phone number.",
- "type": "string"
- }
- },
- "type": "object"
- },
"Photo": {
"description": "A person's read-only photo. A picture shown next to the person's name to\nhelp others recognize the person.",
"id": "Photo",
@@ -596,6 +951,33 @@
},
"type": "object"
},
+ "PhoneNumber": {
+ "description": "A person's phone number.",
+ "id": "PhoneNumber",
+ "properties": {
+ "formattedType": {
+ "description": "The read-only type of the phone number translated and formatted in the\nviewer's account locale or the the `Accept-Language` HTTP header locale.",
+ "type": "string"
+ },
+ "canonicalForm": {
+ "description": "The read-only canonicalized [ITU-T E.164](https://law.resource.org/pub/us/cfr/ibr/004/itu-t.E.164.1.2008.pdf)\nform of the phone number.",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "FieldMetadata",
+ "description": "Metadata about the phone number."
+ },
+ "type": {
+ "description": "The type of the phone number. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `home`\n* `work`\n* `mobile`\n* `homeFax`\n* `workFax`\n* `otherFax`\n* `pager`\n* `workMobile`\n* `workPager`\n* `main`\n* `googleVoice`\n* `other`",
+ "type": "string"
+ },
+ "value": {
+ "description": "The phone number.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"ListConnectionsResponse": {
"id": "ListConnectionsResponse",
"properties": {
@@ -613,6 +995,11 @@
"nextSyncToken": {
"description": "The token that can be used to retrieve changes since the last request.",
"type": "string"
+ },
+ "totalPeople": {
+ "description": "The total number of people in the list without pagination.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -636,29 +1023,22 @@
},
"type": "object"
},
- "Residence": {
- "description": "A person's past or current residence.",
- "id": "Residence",
- "properties": {
- "metadata": {
- "$ref": "FieldMetadata",
- "description": "Metadata about the residence."
- },
- "current": {
- "description": "True if the residence is the person's current residence;\nfalse if the residence is a past residence.",
- "type": "boolean"
- },
- "value": {
- "description": "The address of the residence.",
- "type": "string"
- }
- },
- "type": "object"
- },
"Address": {
"description": "A person's physical address. May be a P.O. box or street address. All fields\nare optional.",
"id": "Address",
"properties": {
+ "extendedAddress": {
+ "description": "The extended address of the address; for example, the apartment number.",
+ "type": "string"
+ },
+ "poBox": {
+ "description": "The P.O. box of the address.",
+ "type": "string"
+ },
+ "postalCode": {
+ "description": "The postal code of the address.",
+ "type": "string"
+ },
"region": {
"description": "The region of the address; for example, the state or province.",
"type": "string"
@@ -694,17 +1074,24 @@
"type": {
"description": "The type of the address. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `home`\n* `work`\n* `other`",
"type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Residence": {
+ "description": "A person's past or current residence.",
+ "id": "Residence",
+ "properties": {
+ "metadata": {
+ "$ref": "FieldMetadata",
+ "description": "Metadata about the residence."
},
- "extendedAddress": {
- "description": "The extended address of the address; for example, the apartment number.",
- "type": "string"
+ "current": {
+ "description": "True if the residence is the person's current residence;\nfalse if the residence is a past residence.",
+ "type": "boolean"
},
- "poBox": {
- "description": "The P.O. box of the address.",
- "type": "string"
- },
- "postalCode": {
- "description": "The postal code of the address.",
+ "value": {
+ "description": "The address of the residence.",
"type": "string"
}
},
@@ -721,33 +1108,24 @@
},
"type": "object"
},
- "Event": {
- "description": "An event related to the person.",
- "id": "Event",
- "properties": {
- "formattedType": {
- "description": "The read-only type of the event translated and formatted in the\nviewer's account locale or the `Accept-Language` HTTP header locale.",
- "type": "string"
- },
- "metadata": {
- "$ref": "FieldMetadata",
- "description": "Metadata about the event."
- },
- "type": {
- "description": "The type of the event. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `anniversary`\n* `other`",
- "type": "string"
- },
- "date": {
- "$ref": "Date",
- "description": "The date of the event."
- }
- },
- "type": "object"
- },
"PersonMetadata": {
"description": "The read-only metadata about a person.",
"id": "PersonMetadata",
"properties": {
+ "sources": {
+ "description": "The sources of data for the person.",
+ "items": {
+ "$ref": "Source"
+ },
+ "type": "array"
+ },
+ "previousResourceNames": {
+ "description": "Any former resource names this person has had. Populated only for\n[`connections.list`](/people/api/rest/v1/people.connections/list) requests\nthat include a sync token.\n\nThe resource name may change when adding or removing fields that link a\ncontact and profile such as a verified email, verified phone number, or\nprofile URL.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"deleted": {
"description": "True if the person resource has been deleted. Populated only for\n[`connections.list`](/people/api/rest/v1/people.connections/list) requests\nthat include a sync token.",
"type": "boolean"
@@ -772,20 +1150,29 @@
"type": "string"
},
"type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Event": {
+ "description": "An event related to the person.",
+ "id": "Event",
+ "properties": {
+ "metadata": {
+ "$ref": "FieldMetadata",
+ "description": "Metadata about the event."
},
- "sources": {
- "description": "The sources of data for the person.",
- "items": {
- "$ref": "Source"
- },
- "type": "array"
+ "type": {
+ "description": "The type of the event. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `anniversary`\n* `other`",
+ "type": "string"
},
- "previousResourceNames": {
- "description": "Any former resource names this person has had. Populated only for\n[`connections.list`](/people/api/rest/v1/people.connections/list) requests\nthat include a sync token.\n\nThe resource name may change when adding or removing fields that link a\ncontact and profile such as a verified email, verified phone number, or\nprofile URL.",
- "items": {
- "type": "string"
- },
- "type": "array"
+ "date": {
+ "$ref": "Date",
+ "description": "The date of the event."
+ },
+ "formattedType": {
+ "description": "The read-only type of the event translated and formatted in the\nviewer's account locale or the `Accept-Language` HTTP header locale.",
+ "type": "string"
}
},
"type": "object"
@@ -811,29 +1198,6 @@
},
"type": "object"
},
- "Url": {
- "description": "A person's associated URLs.",
- "id": "Url",
- "properties": {
- "metadata": {
- "$ref": "FieldMetadata",
- "description": "Metadata about the URL."
- },
- "type": {
- "description": "The type of the URL. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `home`\n* `work`\n* `blog`\n* `profile`\n* `homePage`\n* `ftp`\n* `reservations`\n* `appInstallPage`: website for a Google+ application.\n* `other`",
- "type": "string"
- },
- "value": {
- "description": "The URL.",
- "type": "string"
- },
- "formattedType": {
- "description": "The read-only type of the URL translated and formatted in the viewer's\naccount locale or the `Accept-Language` HTTP header locale.",
- "type": "string"
- }
- },
- "type": "object"
- },
"Gender": {
"description": "A person's gender.",
"id": "Gender",
@@ -853,6 +1217,29 @@
},
"type": "object"
},
+ "Url": {
+ "description": "A person's associated URLs.",
+ "id": "Url",
+ "properties": {
+ "value": {
+ "description": "The URL.",
+ "type": "string"
+ },
+ "formattedType": {
+ "description": "The read-only type of the URL translated and formatted in the viewer's\naccount locale or the `Accept-Language` HTTP header locale.",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "FieldMetadata",
+ "description": "Metadata about the URL."
+ },
+ "type": {
+ "description": "The type of the URL. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `home`\n* `work`\n* `blog`\n* `profile`\n* `homePage`\n* `ftp`\n* `reservations`\n* `appInstallPage`: website for a Google+ application.\n* `other`",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"CoverPhoto": {
"description": "A person's read-only cover photo. A large image shown on the person's\nprofile page that represents who they are or what they care about.",
"id": "CoverPhoto",
@@ -872,21 +1259,6 @@
},
"type": "object"
},
- "Interest": {
- "description": "One of the person's interests.",
- "id": "Interest",
- "properties": {
- "metadata": {
- "$ref": "FieldMetadata",
- "description": "Metadata about the interest."
- },
- "value": {
- "description": "The interest; for example, `stargazing`.",
- "type": "string"
- }
- },
- "type": "object"
- },
"ImClient": {
"description": "A person's instant messaging client.",
"id": "ImClient",
@@ -899,6 +1271,10 @@
"description": "The read-only type of the IM client translated and formatted in the\nviewer's account locale or the `Accept-Language` HTTP header locale.",
"type": "string"
},
+ "protocol": {
+ "description": "The protocol of the IM client. The protocol can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `aim`\n* `msn`\n* `yahoo`\n* `skype`\n* `qq`\n* `googleTalk`\n* `icq`\n* `jabber`\n* `netMeeting`",
+ "type": "string"
+ },
"metadata": {
"$ref": "FieldMetadata",
"description": "Metadata about the IM client."
@@ -907,10 +1283,6 @@
"description": "The type of the IM client. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `home`\n* `work`\n* `other`",
"type": "string"
},
- "protocol": {
- "description": "The protocol of the IM client. The protocol can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `aim`\n* `msn`\n* `yahoo`\n* `skype`\n* `qq`\n* `googleTalk`\n* `icq`\n* `jabber`\n* `netMeeting`",
- "type": "string"
- },
"username": {
"description": "The user name used in the IM client.",
"type": "string"
@@ -918,6 +1290,21 @@
},
"type": "object"
},
+ "Interest": {
+ "description": "One of the person's interests.",
+ "id": "Interest",
+ "properties": {
+ "metadata": {
+ "$ref": "FieldMetadata",
+ "description": "Metadata about the interest."
+ },
+ "value": {
+ "description": "The interest; for example, `stargazing`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Nickname": {
"description": "A person's nickname.",
"id": "Nickname",
@@ -955,14 +1342,6 @@
"description": "A person's email address.",
"id": "EmailAddress",
"properties": {
- "value": {
- "description": "The email address.",
- "type": "string"
- },
- "formattedType": {
- "description": "The read-only type of the email address translated and formatted in the\nviewer's account locale or the `Accept-Language` HTTP header locale.",
- "type": "string"
- },
"displayName": {
"description": "The display name of the email.",
"type": "string"
@@ -974,6 +1353,14 @@
"type": {
"description": "The type of the email address. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `home`\n* `work`\n* `other`",
"type": "string"
+ },
+ "value": {
+ "description": "The email address.",
+ "type": "string"
+ },
+ "formattedType": {
+ "description": "The read-only type of the email address translated and formatted in the\nviewer's account locale or the `Accept-Language` HTTP header locale.",
+ "type": "string"
}
},
"type": "object"
@@ -1003,388 +1390,6 @@
}
},
"type": "object"
- },
- "Membership": {
- "description": "A person's read-only membership in a group.",
- "id": "Membership",
- "properties": {
- "metadata": {
- "$ref": "FieldMetadata",
- "description": "Metadata about the membership."
- },
- "contactGroupMembership": {
- "$ref": "ContactGroupMembership",
- "description": "The contact group membership."
- },
- "domainMembership": {
- "$ref": "DomainMembership",
- "description": "The domain membership."
- }
- },
- "type": "object"
- },
- "RelationshipStatus": {
- "description": "A person's read-only relationship status.",
- "id": "RelationshipStatus",
- "properties": {
- "formattedValue": {
- "description": "The read-only value of the relationship status translated and formatted in\nthe viewer's account locale or the `Accept-Language` HTTP header locale.",
- "type": "string"
- },
- "metadata": {
- "$ref": "FieldMetadata",
- "description": "Metadata about the relationship status."
- },
- "value": {
- "description": "The relationship status. The value can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `single`\n* `inARelationship`\n* `engaged`\n* `married`\n* `itsComplicated`\n* `openRelationship`\n* `widowed`\n* `inDomesticPartnership`\n* `inCivilUnion`",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Tagline": {
- "description": "A read-only brief one-line description of the person.",
- "id": "Tagline",
- "properties": {
- "value": {
- "description": "The tagline.",
- "type": "string"
- },
- "metadata": {
- "$ref": "FieldMetadata",
- "description": "Metadata about the tagline."
- }
- },
- "type": "object"
- },
- "Date": {
- "description": "Represents a whole calendar date, for example a date of birth. The time\nof day and time zone are either specified elsewhere or are not\nsignificant. The date is relative to the\n[Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar).\nThe day may be 0 to represent a year and month where the day is not\nsignificant. The year may be 0 to represent a month and day independent\nof year; for example, anniversary date.",
- "id": "Date",
- "properties": {
- "year": {
- "description": "Year of date. Must be from 1 to 9999, or 0 if specifying a date without\na year.",
- "format": "int32",
- "type": "integer"
- },
- "day": {
- "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0\nif specifying a year/month where the day is not significant.",
- "format": "int32",
- "type": "integer"
- },
- "month": {
- "description": "Month of year. Must be from 1 to 12.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "Name": {
- "description": "A person's name. If the name is a mononym, the family name is empty.",
- "id": "Name",
- "properties": {
- "honorificPrefix": {
- "description": "The honorific prefixes, such as `Mrs.` or `Dr.`",
- "type": "string"
- },
- "phoneticHonorificSuffix": {
- "description": "The honorific suffixes spelled as they sound.",
- "type": "string"
- },
- "middleName": {
- "description": "The middle name(s).",
- "type": "string"
- },
- "givenName": {
- "description": "The given name.",
- "type": "string"
- },
- "phoneticHonorificPrefix": {
- "description": "The honorific prefixes spelled as they sound.",
- "type": "string"
- },
- "phoneticGivenName": {
- "description": "The given name spelled as it sounds.",
- "type": "string"
- },
- "phoneticFamilyName": {
- "description": "The family name spelled as it sounds.",
- "type": "string"
- },
- "familyName": {
- "description": "The family name.",
- "type": "string"
- },
- "phoneticMiddleName": {
- "description": "The middle name(s) spelled as they sound.",
- "type": "string"
- },
- "metadata": {
- "$ref": "FieldMetadata",
- "description": "Metadata about the name."
- },
- "phoneticFullName": {
- "description": "The full name spelled as it sounds.",
- "type": "string"
- },
- "displayNameLastFirst": {
- "description": "The read-only display name with the last name first formatted according to\nthe locale specified by the viewer's account or the\n<code>Accept-Language</code> HTTP header.",
- "type": "string"
- },
- "displayName": {
- "description": "The read-only display name formatted according to the locale specified by\nthe viewer's account or the <code>Accept-Language</code> HTTP header.",
- "type": "string"
- },
- "honorificSuffix": {
- "description": "The honorific suffixes, such as `Jr.`",
- "type": "string"
- }
- },
- "type": "object"
- },
- "BraggingRights": {
- "description": "A person's bragging rights.",
- "id": "BraggingRights",
- "properties": {
- "metadata": {
- "$ref": "FieldMetadata",
- "description": "Metadata about the bragging rights."
- },
- "value": {
- "description": "The bragging rights; for example, `climbed mount everest`.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Locale": {
- "description": "A person's locale preference.",
- "id": "Locale",
- "properties": {
- "metadata": {
- "$ref": "FieldMetadata",
- "description": "Metadata about the locale."
- },
- "value": {
- "description": "The well-formed [IETF BCP 47](https://tools.ietf.org/html/bcp47)\nlanguage tag representing the locale.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Organization": {
- "description": "A person's past or current organization. Overlapping date ranges are\npermitted.",
- "id": "Organization",
- "properties": {
- "title": {
- "description": "The person's job title at the organization.",
- "type": "string"
- },
- "location": {
- "description": "The location of the organization office the person works at.",
- "type": "string"
- },
- "current": {
- "description": "True if the organization is the person's current organization;\nfalse if the organization is a past organization.",
- "type": "boolean"
- },
- "startDate": {
- "$ref": "Date",
- "description": "The start date when the person joined the organization."
- },
- "formattedType": {
- "description": "The read-only type of the organization translated and formatted in the\nviewer's account locale or the `Accept-Language` HTTP header locale.",
- "type": "string"
- },
- "domain": {
- "description": "The domain name associated with the organization; for example, `google.com`.",
- "type": "string"
- },
- "department": {
- "description": "The person's department at the organization.",
- "type": "string"
- },
- "type": {
- "description": "The type of the organization. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `work`\n* `school`",
- "type": "string"
- },
- "phoneticName": {
- "description": "The phonetic name of the organization.",
- "type": "string"
- },
- "jobDescription": {
- "description": "The person's job description at the organization.",
- "type": "string"
- },
- "endDate": {
- "$ref": "Date",
- "description": "The end date when the person left the organization."
- },
- "symbol": {
- "description": "The symbol associated with the organization; for example, a stock ticker\nsymbol, abbreviation, or acronym.",
- "type": "string"
- },
- "name": {
- "description": "The name of the organization.",
- "type": "string"
- },
- "metadata": {
- "$ref": "FieldMetadata",
- "description": "Metadata about the organization."
- }
- },
- "type": "object"
- },
- "Biography": {
- "description": "A person's short biography.",
- "id": "Biography",
- "properties": {
- "contentType": {
- "description": "The content type of the biography.",
- "enum": [
- "CONTENT_TYPE_UNSPECIFIED",
- "TEXT_PLAIN",
- "TEXT_HTML"
- ],
- "enumDescriptions": [
- "Unspecified.",
- "Plain text.",
- "HTML text."
- ],
- "type": "string"
- },
- "metadata": {
- "$ref": "FieldMetadata",
- "description": "Metadata about the biography."
- },
- "value": {
- "description": "The short biography.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AgeRangeType": {
- "description": "A person's age range.",
- "id": "AgeRangeType",
- "properties": {
- "metadata": {
- "$ref": "FieldMetadata",
- "description": "Metadata about the age range."
- },
- "ageRange": {
- "description": "The age range.",
- "enum": [
- "AGE_RANGE_UNSPECIFIED",
- "LESS_THAN_EIGHTEEN",
- "EIGHTEEN_TO_TWENTY",
- "TWENTY_ONE_OR_OLDER"
- ],
- "enumDescriptions": [
- "Unspecified.",
- "Younger than eighteen.",
- "Between eighteen and twenty.",
- "Twenty-one and older."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "FieldMetadata": {
- "description": "Metadata about a field.",
- "id": "FieldMetadata",
- "properties": {
- "source": {
- "$ref": "Source",
- "description": "The source of the field."
- },
- "verified": {
- "description": "True if the field is verified; false if the field is unverified. A\nverified field is typically a name, email address, phone number, or\nwebsite that has been confirmed to be owned by the person.",
- "type": "boolean"
- },
- "primary": {
- "description": "True if the field is the primary field; false if the field is a secondary\nfield.",
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "PersonResponse": {
- "description": "The response for a single person",
- "id": "PersonResponse",
- "properties": {
- "person": {
- "$ref": "Person",
- "description": "The person."
- },
- "httpStatusCode": {
- "description": "[HTTP 1.1 status code](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).",
- "format": "int32",
- "type": "integer"
- },
- "requestedResourceName": {
- "description": "The original requested resource name. May be different than the resource\nname on the returned person.\n\nThe resource name can change when adding or removing fields that link a\ncontact and profile such as a verified email, verified phone number, or a\nprofile URL.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Source": {
- "description": "The source of a field.",
- "id": "Source",
- "properties": {
- "type": {
- "description": "The source type.",
- "enum": [
- "SOURCE_TYPE_UNSPECIFIED",
- "ACCOUNT",
- "PROFILE",
- "DOMAIN_PROFILE",
- "CONTACT"
- ],
- "enumDescriptions": [
- "Unspecified.",
- "[Google Account](https://accounts.google.com).",
- "[Google profile](https://profiles.google.com). You can view the\nprofile at https://profiles.google.com/<id> where <id> is the source\nid.",
- "[Google Apps domain profile](https://admin.google.com).",
- "[Google contact](https://contacts.google.com). You can view the\ncontact at https://contact.google.com/<id> where <id> is the source\nid."
- ],
- "type": "string"
- },
- "etag": {
- "description": "The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the\nsource. Used for web cache validation. Only populated in\nperson.metadata.sources.",
- "type": "string"
- },
- "id": {
- "description": "The unique identifier within the source type generated by the server.",
- "type": "string"
- },
- "profileMetadata": {
- "$ref": "ProfileMetadata",
- "description": "Metadata about a source of type PROFILE."
- }
- },
- "type": "object"
- },
- "RelationshipInterest": {
- "description": "A person's read-only relationship interest .",
- "id": "RelationshipInterest",
- "properties": {
- "metadata": {
- "$ref": "FieldMetadata",
- "description": "Metadata about the relationship interest."
- },
- "value": {
- "description": "The kind of relationship the person is looking for. The value can be custom\nor predefined. Possible values include, but are not limited to, the\nfollowing values:\n\n* `friend`\n* `date`\n* `relationship`\n* `networking`",
- "type": "string"
- },
- "formattedValue": {
- "description": "The value of the relationship interest translated and formatted in the\nviewer's account locale or the locale specified in the Accept-Language\nHTTP header.",
- "type": "string"
- }
- },
- "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis/playmoviespartner__v1.json b/discovery/googleapis/playmoviespartner__v1.json
index 83ec270..e51fc24 100644
--- a/discovery/googleapis/playmoviespartner__v1.json
+++ b/discovery/googleapis/playmoviespartner__v1.json
@@ -15,7 +15,6 @@
"description": "Gets the delivery status of titles for Google Play Movies Partners.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/playmoviespartner/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/uupf4ETIkmsQTW6dv4YK-4z-ZSI\"",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
@@ -26,14 +25,14 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "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",
@@ -42,18 +41,8 @@
"location": "query",
"type": "string"
},
- "bearer_token": {
- "description": "OAuth bearer token.",
- "location": "query",
- "type": "string"
- },
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
},
@@ -62,8 +51,8 @@
"location": "query",
"type": "string"
},
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
+ "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"
},
@@ -73,14 +62,13 @@
"location": "query",
"type": "boolean"
},
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
"location": "query",
- "type": "boolean"
+ "type": "string"
},
- "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.",
+ "bearer_token": {
+ "description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
@@ -89,25 +77,172 @@
"location": "query",
"type": "string"
},
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
"$.xgafv": {
"description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
}
},
"protocol": "rest",
"resources": {
"accounts": {
"resources": {
+ "storeInfos": {
+ "methods": {
+ "list": {
+ "description": "List StoreInfos owned or managed by the partner.\n\nSee _Authentication and Authorization rules_ and\n_List methods rules_ for more information about this method.",
+ "httpMethod": "GET",
+ "id": "playmoviespartner.accounts.storeInfos.list",
+ "parameterOrder": [
+ "accountId"
+ ],
+ "parameters": {
+ "studioNames": {
+ "description": "See _List methods rules_ for info about this field.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "name": {
+ "description": "Filter that matches StoreInfos with a `name` or `show_name`\nthat contains the given case-insensitive name.",
+ "location": "query",
+ "type": "string"
+ },
+ "accountId": {
+ "description": "REQUIRED. See _General rules_ for more information about this field.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "seasonIds": {
+ "description": "Filter StoreInfos that match any of the given `season_id`s.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "videoIds": {
+ "description": "Filter StoreInfos that match any of the given `video_id`s.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "videoId": {
+ "description": "Filter StoreInfos that match a given `video_id`.\nNOTE: this field is deprecated and will be removed on V2; `video_ids`\nshould be used instead.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "See _List methods rules_ for info about this field.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "See _List methods rules_ for info about this field.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "mids": {
+ "description": "Filter StoreInfos that match any of the given `mid`s.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "pphNames": {
+ "description": "See _List methods rules_ for info about this field.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "countries": {
+ "description": "Filter StoreInfos that match (case-insensitive) any of the given country\ncodes, using the \"ISO 3166-1 alpha-2\" format (examples: \"US\", \"us\", \"Us\").",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/accounts/{accountId}/storeInfos",
+ "response": {
+ "$ref": "ListStoreInfosResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/playmovies_partner.readonly"
+ ]
+ }
+ },
+ "resources": {
+ "country": {
+ "methods": {
+ "get": {
+ "description": "Get a StoreInfo given its video id and country.\n\nSee _Authentication and Authorization rules_ and\n_Get methods rules_ for more information about this method.",
+ "httpMethod": "GET",
+ "id": "playmoviespartner.accounts.storeInfos.country.get",
+ "parameterOrder": [
+ "accountId",
+ "videoId",
+ "country"
+ ],
+ "parameters": {
+ "videoId": {
+ "description": "REQUIRED. Video ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "country": {
+ "description": "REQUIRED. Edit country.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "accountId": {
+ "description": "REQUIRED. See _General rules_ for more information about this field.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/accounts/{accountId}/storeInfos/{videoId}/country/{country}",
+ "response": {
+ "$ref": "StoreInfo"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/playmovies_partner.readonly"
+ ]
+ }
+ }
+ }
+ }
+ },
"avails": {
"methods": {
"get": {
@@ -119,14 +254,14 @@
"availId"
],
"parameters": {
- "accountId": {
- "description": "REQUIRED. See _General rules_ for more information about this field.",
+ "availId": {
+ "description": "REQUIRED. Avail ID.",
"location": "path",
"required": true,
"type": "string"
},
- "availId": {
- "description": "REQUIRED. Avail ID.",
+ "accountId": {
+ "description": "REQUIRED. See _General rules_ for more information about this field.",
"location": "path",
"required": true,
"type": "string"
@@ -141,69 +276,69 @@
]
},
"list": {
- "description": "List Avails owned or managed by the partner. See _Authentication and Authorization rules_ and _List methods rules_ for more information about this method.",
+ "description": "List Avails owned or managed by the partner.\n\nSee _Authentication and Authorization rules_ and\n_List methods rules_ for more information about this method.",
"httpMethod": "GET",
"id": "playmoviespartner.accounts.avails.list",
"parameterOrder": [
"accountId"
],
"parameters": {
- "accountId": {
- "description": "REQUIRED. See _General rules_ for more information about this field.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "pageSize": {
- "description": "See _List methods rules_ for info about this field.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
"pageToken": {
"description": "See _List methods rules_ for info about this field.",
"location": "query",
"type": "string"
},
- "pphNames": {
- "description": "See _List methods rules_ for info about this field.",
- "location": "query",
- "repeated": true,
- "type": "string"
- },
- "studioNames": {
- "description": "See _List methods rules_ for info about this field.",
- "location": "query",
- "repeated": true,
- "type": "string"
- },
- "title": {
- "description": "Filter that matches Avails with a `title_internal_alias`, `series_title_internal_alias`, `season_title_internal_alias`, or `episode_title_internal_alias` that contains the given case-insensitive title.",
- "location": "query",
- "type": "string"
- },
- "territories": {
- "description": "Filter Avails that match (case-insensitive) any of the given country codes, using the \"ISO 3166-1 alpha-2\" format (examples: \"US\", \"us\", \"Us\").",
- "location": "query",
- "repeated": true,
- "type": "string"
- },
- "altId": {
- "description": "Filter Avails that match a case-insensitive, partner-specific custom id. NOTE: this field is deprecated and will be removed on V2; `alt_ids` should be used instead.",
- "location": "query",
- "type": "string"
- },
"videoIds": {
"description": "Filter Avails that match any of the given `video_id`s.",
"location": "query",
"repeated": true,
"type": "string"
},
+ "pageSize": {
+ "description": "See _List methods rules_ for info about this field.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
"altIds": {
"description": "Filter Avails that match (case-insensitive) any of the given partner-specific custom ids.",
"location": "query",
"repeated": true,
"type": "string"
+ },
+ "pphNames": {
+ "description": "See _List methods rules_ for info about this field.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "altId": {
+ "description": "Filter Avails that match a case-insensitive, partner-specific custom id.\nNOTE: this field is deprecated and will be removed on V2; `alt_ids`\nshould be used instead.",
+ "location": "query",
+ "type": "string"
+ },
+ "studioNames": {
+ "description": "See _List methods rules_ for info about this field.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "accountId": {
+ "description": "REQUIRED. See _General rules_ for more information about this field.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "territories": {
+ "description": "Filter Avails that match (case-insensitive) any of the given country codes,\nusing the \"ISO 3166-1 alpha-2\" format (examples: \"US\", \"us\", \"Us\").",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "title": {
+ "description": "Filter that matches Avails with a `title_internal_alias`,\n`series_title_internal_alias`, `season_title_internal_alias`,\nor `episode_title_internal_alias` that contains the given\ncase-insensitive title.",
+ "location": "query",
+ "type": "string"
}
},
"path": "v1/accounts/{accountId}/avails",
@@ -219,7 +354,7 @@
"orders": {
"methods": {
"get": {
- "description": "Get an Order given its id. See _Authentication and Authorization rules_ and _Get methods rules_ for more information about this method.",
+ "description": "Get an Order given its id.\n\nSee _Authentication and Authorization rules_ and\n_Get methods rules_ for more information about this method.",
"httpMethod": "GET",
"id": "playmoviespartner.accounts.orders.get",
"parameterOrder": [
@@ -249,17 +384,27 @@
]
},
"list": {
- "description": "List Orders owned or managed by the partner. See _Authentication and Authorization rules_ and _List methods rules_ for more information about this method.",
+ "description": "List Orders owned or managed by the partner.\n\nSee _Authentication and Authorization rules_ and\n_List methods rules_ for more information about this method.",
"httpMethod": "GET",
"id": "playmoviespartner.accounts.orders.list",
"parameterOrder": [
"accountId"
],
"parameters": {
- "accountId": {
- "description": "REQUIRED. See _General rules_ for more information about this field.",
- "location": "path",
- "required": true,
+ "videoIds": {
+ "description": "Filter Orders that match any of the given `video_id`s.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "customId": {
+ "description": "Filter Orders that match a case-insensitive, partner-specific custom id.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "See _List methods rules_ for info about this field.",
+ "location": "query",
"type": "string"
},
"pageSize": {
@@ -268,28 +413,12 @@
"location": "query",
"type": "integer"
},
- "pageToken": {
- "description": "See _List methods rules_ for info about this field.",
- "location": "query",
- "type": "string"
- },
"pphNames": {
"description": "See _List methods rules_ for info about this field.",
"location": "query",
"repeated": true,
"type": "string"
},
- "studioNames": {
- "description": "See _List methods rules_ for info about this field.",
- "location": "query",
- "repeated": true,
- "type": "string"
- },
- "name": {
- "description": "Filter that matches Orders with a `name`, `show`, `season` or `episode` that contains the given case-insensitive name.",
- "location": "query",
- "type": "string"
- },
"status": {
"description": "Filter Orders that match one of the given status.",
"enum": [
@@ -304,15 +433,21 @@
"repeated": true,
"type": "string"
},
- "customId": {
- "description": "Filter Orders that match a case-insensitive, partner-specific custom id.",
+ "studioNames": {
+ "description": "See _List methods rules_ for info about this field.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "name": {
+ "description": "Filter that matches Orders with a `name`, `show`, `season` or `episode`\nthat contains the given case-insensitive name.",
"location": "query",
"type": "string"
},
- "videoIds": {
- "description": "Filter Orders that match any of the given `video_id`s.",
- "location": "query",
- "repeated": true,
+ "accountId": {
+ "description": "REQUIRED. See _General rules_ for more information about this field.",
+ "location": "path",
+ "required": true,
"type": "string"
}
},
@@ -325,162 +460,41 @@
]
}
}
- },
- "storeInfos": {
- "methods": {
- "list": {
- "description": "List StoreInfos owned or managed by the partner. See _Authentication and Authorization rules_ and _List methods rules_ for more information about this method.",
- "httpMethod": "GET",
- "id": "playmoviespartner.accounts.storeInfos.list",
- "parameterOrder": [
- "accountId"
- ],
- "parameters": {
- "accountId": {
- "description": "REQUIRED. See _General rules_ for more information about this field.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "pageSize": {
- "description": "See _List methods rules_ for info about this field.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "pageToken": {
- "description": "See _List methods rules_ for info about this field.",
- "location": "query",
- "type": "string"
- },
- "pphNames": {
- "description": "See _List methods rules_ for info about this field.",
- "location": "query",
- "repeated": true,
- "type": "string"
- },
- "studioNames": {
- "description": "See _List methods rules_ for info about this field.",
- "location": "query",
- "repeated": true,
- "type": "string"
- },
- "videoId": {
- "description": "Filter StoreInfos that match a given `video_id`. NOTE: this field is deprecated and will be removed on V2; `video_ids` should be used instead.",
- "location": "query",
- "type": "string"
- },
- "countries": {
- "description": "Filter StoreInfos that match (case-insensitive) any of the given country codes, using the \"ISO 3166-1 alpha-2\" format (examples: \"US\", \"us\", \"Us\").",
- "location": "query",
- "repeated": true,
- "type": "string"
- },
- "name": {
- "description": "Filter that matches StoreInfos with a `name` or `show_name` that contains the given case-insensitive name.",
- "location": "query",
- "type": "string"
- },
- "videoIds": {
- "description": "Filter StoreInfos that match any of the given `video_id`s.",
- "location": "query",
- "repeated": true,
- "type": "string"
- },
- "mids": {
- "description": "Filter StoreInfos that match any of the given `mid`s.",
- "location": "query",
- "repeated": true,
- "type": "string"
- },
- "seasonIds": {
- "description": "Filter StoreInfos that match any of the given `season_id`s.",
- "location": "query",
- "repeated": true,
- "type": "string"
- }
- },
- "path": "v1/accounts/{accountId}/storeInfos",
- "response": {
- "$ref": "ListStoreInfosResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/playmovies_partner.readonly"
- ]
- }
- },
- "resources": {
- "country": {
- "methods": {
- "get": {
- "description": "Get a StoreInfo given its video id and country. See _Authentication and Authorization rules_ and _Get methods rules_ for more information about this method.",
- "httpMethod": "GET",
- "id": "playmoviespartner.accounts.storeInfos.country.get",
- "parameterOrder": [
- "accountId",
- "videoId",
- "country"
- ],
- "parameters": {
- "accountId": {
- "description": "REQUIRED. See _General rules_ for more information about this field.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "videoId": {
- "description": "REQUIRED. Video ID.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "country": {
- "description": "REQUIRED. Edit country.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/accounts/{accountId}/storeInfos/{videoId}/country/{country}",
- "response": {
- "$ref": "StoreInfo"
- },
- "scopes": [
- "https://www.googleapis.com/auth/playmovies_partner.readonly"
- ]
- }
- }
- }
- }
}
}
}
},
- "revision": "20170119",
+ "revision": "20170321",
"rootUrl": "https://playmoviespartner.googleapis.com/",
"schemas": {
- "Avail": {
- "description": "An Avail describes the Availability Window of a specific Edit in a given country, which means the period Google is allowed to sell or rent the Edit. Avails are exposed in EMA format Version 1.6b (available at http://www.movielabs.com/md/avails/) Studios can see the Avails for the Titles they own. Post-production houses cannot see any Avails.",
- "id": "Avail",
+ "Order": {
+ "description": "An Order tracks the fulfillment of an Edit when delivered using the\nlegacy, non-component-based delivery.\n\nEach Order is uniquely identified by an `order_id`, which is generated\nby Google.\n\nExternally, Orders can also be identified by partners using its `custom_id`\n(when provided).",
+ "id": "Order",
"properties": {
- "availId": {
- "description": "ID internally generated by Google to uniquely identify an Avail. Not part of EMA Specs.",
+ "showName": {
+ "description": "Default Show name,\nusually in the language of the country of origin.\nOnly available for TV Edits\nExample: \"Googlers, The\".",
"type": "string"
},
- "displayName": {
- "description": "The name of the studio that owns the Edit referred in the Avail. This is the equivalent of `studio_name` in other resources, but it follows the EMA nomenclature. Example: \"Google Films\".",
+ "orderId": {
+ "description": "ID internally generated by Google to uniquely identify an Order.\nExample: 'abcde12_x'",
"type": "string"
},
- "storeLanguage": {
- "description": "Spoken language of the intended audience. Language shall be encoded in accordance with RFC 5646. Example: \"fr\".",
+ "normalizedPriority": {
+ "description": "A simpler representation of the priority.",
+ "enum": [
+ "NORMALIZED_PRIORITY_UNSPECIFIED",
+ "LOW_PRIORITY",
+ "HIGH_PRIORITY"
+ ],
+ "enumDescriptions": [
+ "Value could not be determined, please contact technical support if\nit should.",
+ "A low-priority asset, typically from a library movie.",
+ "A high-priority asset, typically from a new release or box office hit."
+ ],
"type": "string"
},
- "territory": {
- "description": "ISO 3166-1 alpha-2 country code for the country or territory of this Avail. For Avails, we use Territory in lieu of Country to comply with EMA specifications. But please note that Territory and Country identify the same thing. Example: \"US\".",
- "type": "string"
- },
- "workType": {
- "description": "Work type as enumerated in EMA.",
+ "type": {
+ "description": "Type of the Edit linked to the Order.",
"enum": [
"TITLE_TYPE_UNSPECIFIED",
"MOVIE",
@@ -488,135 +502,159 @@
"EPISODE",
"BUNDLE"
],
- "type": "string"
- },
- "seriesTitleInternalAlias": {
- "description": "Title used by involved parties to refer to this series. Only available on TV Avails. Example: \"Googlers, The\".",
- "type": "string"
- },
- "seasonNumber": {
- "description": "The number assigned to the season within a series. Only available on TV Avails. Example: \"1\".",
- "type": "string"
- },
- "episodeNumber": {
- "description": "The number assigned to the episode within a season. Only available on TV Avails. Example: \"3\".",
- "type": "string"
- },
- "seasonTitleInternalAlias": {
- "description": "Title used by involved parties to refer to this season. Only available on TV Avails. Example: \"Googlers, The\".",
- "type": "string"
- },
- "episodeTitleInternalAlias": {
- "description": "OPTIONAL.TV Only. Title used by involved parties to refer to this episode. Only available on TV Avails. Example: \"Coding at Google\".",
- "type": "string"
- },
- "titleInternalAlias": {
- "description": "Title used by involved parties to refer to this content. Example: \"Googlers, The\". Only available on Movie Avails.",
- "type": "string"
- },
- "licenseType": {
- "description": "Type of transaction.",
- "enum": [
- "LICENSE_TYPE_UNSPECIFIED",
- "EST",
- "VOD",
- "SVOD",
- "POEST"
+ "enumDescriptions": [
+ "Value could not be determined, please contact technical support if\nit should.",
+ "A movie picture.",
+ "A season of a TV show.",
+ "An episode of a TV show.",
+ "A collection of movies, i.e. \"Googlers 1 and Googlers, the return\""
],
"type": "string"
},
- "formatProfile": {
- "description": "Indicates the format profile covered by the transaction.",
- "enum": [
- "FORMAT_PROFILE_UNSPECIFIED",
- "SD",
- "HD",
- "UHD"
- ],
+ "rejectionNote": {
+ "description": "Field explaining why an Order has been rejected.\nExample: \"Trailer audio is 2ch mono, please re-deliver in stereo\".",
"type": "string"
},
- "start": {
- "description": "Start of term in YYYY-MM-DD format in the timezone of the country of the Avail. Example: \"2013-05-14\".",
+ "channelId": {
+ "description": "YouTube Channel ID that should be used to fulfill the Order.\nExample: \"UCRG64darCZhb\".",
"type": "string"
},
- "end": {
- "description": "End of term in YYYY-MM-DD format in the timezone of the country of the Avail. \"Open\" if no end date is available. Example: \"2019-02-17\"",
+ "pphName": {
+ "description": "Name of the post-production house that manages the Edit ordered.",
"type": "string"
},
- "priceType": {
- "description": "Type of pricing that should be applied to this Avail based on how the partner classify them. Example: \"Tier\", \"WSP\", \"SRP\", or \"Category\".",
+ "legacyPriority": {
+ "description": "Legacy Order priority, as defined by Google.\nExample: 'P0'",
"type": "string"
},
- "priceValue": {
- "description": "Value to be applied to the pricing type. Example: \"4\" or \"2.99\"",
- "type": "string"
+ "priority": {
+ "description": "Order priority, as defined by Google.\nThe higher the value, the higher the priority.\nExample: 90",
+ "format": "double",
+ "type": "number"
},
- "contentId": {
- "description": "Title Identifier. This should be the Title Level EIDR. Example: \"10.5240/1489-49A2-3956-4B2D-FE16-5\".",
- "type": "string"
- },
- "productId": {
- "description": "Edit Identifier. This should be the Edit Level EIDR. Example: \"10.2340/1489-49A2-3956-4B2D-FE16-6\"",
- "type": "string"
- },
- "encodeId": {
- "description": "Manifestation Identifier. This should be the Manifestation Level EIDR. Example: \"10.2340/1489-49A2-3956-4B2D-FE16-7\"",
- "type": "string"
- },
- "seriesAltId": {
- "description": "Other identifier referring to the series, as defined by partner. Only available on TV avails. Example: \"rs_googlers\".",
- "type": "string"
- },
- "seasonAltId": {
- "description": "Other identifier referring to the season, as defined by partner. Only available on TV avails. Example: \"rs_googlers_s1\".",
- "type": "string"
- },
- "episodeAltId": {
- "description": "Other identifier referring to the episode, as defined by partner. Only available on TV avails. Example: \"rs_googlers_s1_3\".",
- "type": "string"
- },
- "altId": {
- "description": "Other identifier referring to the Edit, as defined by partner. Example: \"GOOGLER_2006\"",
- "type": "string"
- },
- "suppressionLiftDate": {
- "description": "First date an Edit could be publically announced as becoming available at a specific future date in territory of Avail. *Not* the Avail start date or pre-order start date. Format is YYYY-MM-DD. Only available for pre-orders. Example: \"2012-12-10\"",
- "type": "string"
- },
- "releaseDate": {
- "description": "Release date of the Title in earliest released territory. Typically it is just the year, but it is free-form as per EMA spec. Examples: \"1979\", \"Oct 2014\"",
- "type": "string"
- },
- "ratingSystem": {
- "description": "Rating system applied to the version of title within territory of Avail. Rating systems should be formatted as per [EMA ratings spec](http://www.movielabs.com/md/ratings/) Example: \"MPAA\"",
- "type": "string"
- },
- "ratingValue": {
- "description": "Value representing the rating. Ratings should be formatted as per http://www.movielabs.com/md/ratings/ Example: \"PG\"",
- "type": "string"
- },
- "ratingReason": {
- "description": "Value representing the rating reason. Rating reasons should be formatted as per [EMA ratings spec](http://www.movielabs.com/md/ratings/) and comma-separated for inclusion of multiple reasons. Example: \"L, S, V\"",
- "type": "string"
- },
- "captionIncluded": {
- "description": "Communicating if caption file will be delivered.",
- "type": "boolean"
- },
- "captionExemption": {
- "description": "Communicating an exempt category as defined by FCC regulations. It is not required for non-US Avails. Example: \"1\"",
+ "orderedTime": {
+ "description": "Timestamp when the Order was created.",
+ "format": "google-datetime",
"type": "string"
},
"videoId": {
- "description": "Google-generated ID identifying the video linked to this Avail, once delivered. Not part of EMA Specs. Example: 'gtry456_xc'",
+ "description": "Google-generated ID identifying the video linked to this Order, once\ndelivered.\nExample: 'gtry456_xc'.",
"type": "string"
},
- "pphNames": {
- "description": "Name of the post-production houses that manage the Avail. Not part of EMA Specs.",
+ "episodeName": {
+ "description": "Default Episode name,\nusually in the language of the country of origin.\nOnly available for TV Edits\nExample: \"Googlers, The - Pilot\".",
+ "type": "string"
+ },
+ "countries": {
+ "description": "Countries where the Order is available,\nusing the \"ISO 3166-1 alpha-2\" format (example: \"US\").",
"items": {
"type": "string"
},
"type": "array"
+ },
+ "statusDetail": {
+ "description": "Detailed status of the order",
+ "enum": [
+ "ORDER_STATUS_UNSPECIFIED",
+ "ORDER_STATUS_QC_APPROVED",
+ "ORDER_STATUS_QC_REJECTION",
+ "ORDER_STATUS_INTERNAL_FIX",
+ "ORDER_STATUS_OPEN_ORDER",
+ "ORDER_STATUS_NOT_AVAILABLE",
+ "ORDER_STATUS_AWAITING_REDELIVERY",
+ "ORDER_STATUS_READY_FOR_QC",
+ "ORDER_STATUS_FILE_PROCESSING"
+ ],
+ "enumDescriptions": [
+ "Value could not be determined, please contact technical support if\nit should.",
+ "Approved by Google's Quality Control team.",
+ "Rejected by Google's Quality Control team, pending partner redelivery.",
+ "Internal error while processing the Order.",
+ "Waiting for initial delivery from partner.",
+ "Used on Orders that do not have Status, like TV Seasons.",
+ "Waiting for re-delivery from partner.",
+ "Asset was delivered by partner, but is being reviewed by Google's\nQuality Control team.",
+ "Waiting for Google to process the asset."
+ ],
+ "type": "string"
+ },
+ "status": {
+ "description": "High-level status of the order.",
+ "enum": [
+ "STATUS_UNSPECIFIED",
+ "STATUS_APPROVED",
+ "STATUS_FAILED",
+ "STATUS_PROCESSING",
+ "STATUS_UNFULFILLED",
+ "STATUS_NOT_AVAILABLE"
+ ],
+ "enumDescriptions": [
+ "Value could not be determined, please contact technical support if\nit should.",
+ "Approved by Google.",
+ "Waiting for partner to re-deliver the asset after a rejection by Google.",
+ "Waiting for Google to process the asset.",
+ "Waiting for partner to deliver the asset.",
+ "Used when Status is not available (i.e: Orders for TV Seasons)."
+ ],
+ "type": "string"
+ },
+ "earliestAvailStartTime": {
+ "description": "Timestamp of the earliest start date of the Avails\nlinked to this Order.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "name": {
+ "description": "Default Edit name,\nusually in the language of the country of origin.\nExample: \"Googlers, The\".",
+ "type": "string"
+ },
+ "studioName": {
+ "description": "Name of the studio that owns the Edit ordered.",
+ "type": "string"
+ },
+ "receivedTime": {
+ "description": "Timestamp when the Order was fulfilled.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "seasonName": {
+ "description": "Default Season name,\nusually in the language of the country of origin.\nOnly available for TV Edits\nExample: \"Googlers, The - A Brave New World\".",
+ "type": "string"
+ },
+ "customId": {
+ "description": "ID that can be used to externally identify an Order.\nThis ID is provided by partners when submitting the Avails.\nExample: 'GOOGLER_2006'",
+ "type": "string"
+ },
+ "approvedTime": {
+ "description": "Timestamp when the Order was approved.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "channelName": {
+ "description": "YouTube Channel Name that should be used to fulfill the Order.\nExample: \"Google_channel\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListStoreInfosResponse": {
+ "description": "Response to the 'ListStoreInfos' method.",
+ "id": "ListStoreInfosResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "See 'List methods rules' for info about this field.",
+ "type": "string"
+ },
+ "storeInfos": {
+ "description": "List of StoreInfos that match the request criteria.",
+ "items": {
+ "$ref": "StoreInfo"
+ },
+ "type": "array"
+ },
+ "totalSize": {
+ "description": "See _List methods rules_ for more information about this field.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -644,151 +682,10 @@
},
"type": "object"
},
- "Order": {
- "description": "An Order tracks the fulfillment of an Edit when delivered using the legacy, non-component-based delivery. Each Order is uniquely identified by an `order_id`, which is generated by Google. Externally, Orders can also be identified by partners using its `custom_id` (when provided).",
- "id": "Order",
- "properties": {
- "orderId": {
- "description": "ID internally generated by Google to uniquely identify an Order. Example: 'abcde12_x'",
- "type": "string"
- },
- "customId": {
- "description": "ID that can be used to externally identify an Order. This ID is provided by partners when submitting the Avails. Example: 'GOOGLER_2006'",
- "type": "string"
- },
- "videoId": {
- "description": "Google-generated ID identifying the video linked to this Order, once delivered. Example: 'gtry456_xc'.",
- "type": "string"
- },
- "countries": {
- "description": "Countries where the Order is available, using the \"ISO 3166-1 alpha-2\" format (example: \"US\").",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "type": {
- "description": "Type of the Edit linked to the Order.",
- "enum": [
- "TITLE_TYPE_UNSPECIFIED",
- "MOVIE",
- "SEASON",
- "EPISODE",
- "BUNDLE"
- ],
- "type": "string"
- },
- "name": {
- "description": "Default Edit name, usually in the language of the country of origin. Example: \"Googlers, The\".",
- "type": "string"
- },
- "episodeName": {
- "description": "Default Episode name, usually in the language of the country of origin. Only available for TV Edits Example: \"Googlers, The - Pilot\".",
- "type": "string"
- },
- "seasonName": {
- "description": "Default Season name, usually in the language of the country of origin. Only available for TV Edits Example: \"Googlers, The - A Brave New World\".",
- "type": "string"
- },
- "showName": {
- "description": "Default Show name, usually in the language of the country of origin. Only available for TV Edits Example: \"Googlers, The\".",
- "type": "string"
- },
- "status": {
- "description": "High-level status of the order.",
- "enum": [
- "STATUS_UNSPECIFIED",
- "STATUS_APPROVED",
- "STATUS_FAILED",
- "STATUS_PROCESSING",
- "STATUS_UNFULFILLED",
- "STATUS_NOT_AVAILABLE"
- ],
- "type": "string"
- },
- "statusDetail": {
- "description": "Detailed status of the order",
- "enum": [
- "ORDER_STATUS_UNSPECIFIED",
- "ORDER_STATUS_QC_APPROVED",
- "ORDER_STATUS_QC_REJECTION",
- "ORDER_STATUS_INTERNAL_FIX",
- "ORDER_STATUS_OPEN_ORDER",
- "ORDER_STATUS_NOT_AVAILABLE",
- "ORDER_STATUS_AWAITING_REDELIVERY",
- "ORDER_STATUS_READY_FOR_QC",
- "ORDER_STATUS_FILE_PROCESSING"
- ],
- "type": "string"
- },
- "rejectionNote": {
- "description": "Field explaining why an Order has been rejected. Example: \"Trailer audio is 2ch mono, please re-deliver in stereo\".",
- "type": "string"
- },
- "orderedTime": {
- "description": "Timestamp when the Order was created.",
- "type": "string"
- },
- "approvedTime": {
- "description": "Timestamp when the Order was approved.",
- "type": "string"
- },
- "receivedTime": {
- "description": "Timestamp when the Order was fulfilled.",
- "type": "string"
- },
- "earliestAvailStartTime": {
- "description": "Timestamp of the earliest start date of the Avails linked to this Order.",
- "type": "string"
- },
- "priority": {
- "description": "Order priority, as defined by Google. The higher the value, the higher the priority. Example: 90",
- "format": "double",
- "type": "number"
- },
- "legacyPriority": {
- "description": "Legacy Order priority, as defined by Google. Example: 'P0'",
- "type": "string"
- },
- "channelId": {
- "description": "YouTube Channel ID that should be used to fulfill the Order. Example: \"UCRG64darCZhb\".",
- "type": "string"
- },
- "channelName": {
- "description": "YouTube Channel Name that should be used to fulfill the Order. Example: \"Google_channel\".",
- "type": "string"
- },
- "studioName": {
- "description": "Name of the studio that owns the Edit ordered.",
- "type": "string"
- },
- "pphName": {
- "description": "Name of the post-production house that manages the Edit ordered.",
- "type": "string"
- },
- "normalizedPriority": {
- "description": "A simpler representation of the priority.",
- "enum": [
- "NORMALIZED_PRIORITY_UNSPECIFIED",
- "LOW_PRIORITY",
- "HIGH_PRIORITY"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
"ListOrdersResponse": {
"description": "Response to the 'ListOrders' method.",
"id": "ListOrdersResponse",
"properties": {
- "orders": {
- "description": "List of Orders that match the request criteria.",
- "items": {
- "$ref": "Order"
- },
- "type": "array"
- },
"nextPageToken": {
"description": "See _List methods rules_ for info about this field.",
"type": "string"
@@ -797,32 +694,64 @@
"description": "See _List methods rules_ for more information about this field.",
"format": "int32",
"type": "integer"
+ },
+ "orders": {
+ "description": "List of Orders that match the request criteria.",
+ "items": {
+ "$ref": "Order"
+ },
+ "type": "array"
}
},
"type": "object"
},
"StoreInfo": {
- "description": "Information about a playable sequence (video) associated with an Edit and available at the Google Play Store. Internally, each StoreInfo is uniquely identified by a `video_id` and `country`. Externally, Title-level EIDR or Edit-level EIDR, if provided, can also be used to identify a specific title or edit in a country.",
+ "description": "Information about a playable sequence (video) associated with an Edit\nand available at the Google Play Store.\n\nInternally, each StoreInfo is uniquely identified by a `video_id`\nand `country`.\n\nExternally, Title-level EIDR or Edit-level EIDR, if provided,\ncan also be used to identify a specific title or edit in a country.",
"id": "StoreInfo",
"properties": {
- "videoId": {
- "description": "Google-generated ID identifying the video linked to the Edit. Example: 'gtry456_xc'",
+ "hasVodOffer": {
+ "description": "Whether the Edit has a VOD offer.",
+ "type": "boolean"
+ },
+ "pphNames": {
+ "description": "Name of the post-production houses that manage the Edit.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "episodeNumber": {
+ "description": "The number assigned to the episode within a season.\nOnly available on TV Edits.\nExample: \"1\".",
"type": "string"
},
- "seasonId": {
- "description": "Google-generated ID identifying the season linked to the Edit. Only available for TV Edits. Example: 'ster23ex'",
+ "studioName": {
+ "description": "Name of the studio that owns the Edit ordered.",
"type": "string"
},
- "showId": {
- "description": "Google-generated ID identifying the show linked to the Edit. Only available for TV Edits. Example: 'et2hsue_x'",
+ "subtitles": {
+ "description": "Subtitles available for this Edit.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "audioTracks": {
+ "description": "Audio tracks available for this Edit.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "showName": {
+ "description": "Default Show name, usually in the language of the country of\norigin.\nOnly available for TV Edits\nExample: \"Googlers, The\".",
"type": "string"
},
"country": {
- "description": "Country where Edit is available in ISO 3166-1 alpha-2 country code. Example: \"US\".",
+ "description": "Country where Edit is available in ISO 3166-1 alpha-2 country\ncode.\nExample: \"US\".",
"type": "string"
},
- "liveTime": {
- "description": "Timestamp when the Edit went live on the Store.",
+ "showId": {
+ "description": "Google-generated ID identifying the show linked to the Edit.\nOnly available for TV Edits.\nExample: 'et2hsue_x'",
"type": "string"
},
"type": {
@@ -834,115 +763,257 @@
"EPISODE",
"BUNDLE"
],
+ "enumDescriptions": [
+ "Value could not be determined, please contact technical support if\nit should.",
+ "A movie picture.",
+ "A season of a TV show.",
+ "An episode of a TV show.",
+ "A collection of movies, i.e. \"Googlers 1 and Googlers, the return\""
+ ],
"type": "string"
},
+ "trailerId": {
+ "description": "Google-generated ID identifying the trailer linked to the Edit.\nExample: 'bhd_4e_cx'",
+ "type": "string"
+ },
+ "hasHdOffer": {
+ "description": "Whether the Edit has a HD offer.",
+ "type": "boolean"
+ },
+ "mid": {
+ "description": "Knowledge Graph ID associated to this Edit, if available.\nThis ID links the Edit to its knowledge entity, externally accessible\nat http://freebase.com.\nIn the absense of Title EIDR or Edit EIDR, this ID helps link together\nmultiple Edits across countries.\nExample: '/m/0ffx29'",
+ "type": "string"
+ },
+ "hasAudio51": {
+ "description": "Whether the Edit has a 5.1 channel audio track.",
+ "type": "boolean"
+ },
"name": {
- "description": "Default Edit name, usually in the language of the country of origin. Example: \"Googlers, The\".",
+ "description": "Default Edit name, usually in the language of the country of\norigin.\nExample: \"Googlers, The\".",
+ "type": "string"
+ },
+ "seasonId": {
+ "description": "Google-generated ID identifying the season linked to the Edit.\nOnly available for TV Edits.\nExample: 'ster23ex'",
"type": "string"
},
"titleLevelEidr": {
- "description": "Title-level EIDR ID. Example: \"10.5240/1489-49A2-3956-4B2D-FE16-5\".",
- "type": "string"
- },
- "editLevelEidr": {
- "description": "Edit-level EIDR ID. Example: \"10.5240/1489-49A2-3956-4B2D-FE16-6\".",
+ "description": "Title-level EIDR ID.\nExample: \"10.5240/1489-49A2-3956-4B2D-FE16-5\".",
"type": "string"
},
"seasonName": {
- "description": "Default Season name, usually in the language of the country of origin. Only available for TV Edits Example: \"Googlers, The - A Brave New World\".",
- "type": "string"
- },
- "showName": {
- "description": "Default Show name, usually in the language of the country of origin. Only available for TV Edits Example: \"Googlers, The\".",
+ "description": "Default Season name, usually in the language of the country of\norigin.\nOnly available for TV Edits\nExample: \"Googlers, The - A Brave New World\".",
"type": "string"
},
"seasonNumber": {
- "description": "The number assigned to the season within a show. Only available on TV Edits. Example: \"1\".",
+ "description": "The number assigned to the season within a show.\nOnly available on TV Edits.\nExample: \"1\".",
"type": "string"
},
- "episodeNumber": {
- "description": "The number assigned to the episode within a season. Only available on TV Edits. Example: \"1\".",
+ "hasEstOffer": {
+ "description": "Whether the Edit has a EST offer.",
+ "type": "boolean"
+ },
+ "editLevelEidr": {
+ "description": "Edit-level EIDR ID.\nExample: \"10.5240/1489-49A2-3956-4B2D-FE16-6\".",
"type": "string"
},
"hasSdOffer": {
"description": "Whether the Edit has a SD offer.",
"type": "boolean"
},
- "hasHdOffer": {
- "description": "Whether the Edit has a HD offer.",
- "type": "boolean"
+ "liveTime": {
+ "description": "Timestamp when the Edit went live on the Store.",
+ "format": "google-datetime",
+ "type": "string"
},
- "hasVodOffer": {
- "description": "Whether the Edit has a VOD offer.",
- "type": "boolean"
- },
- "hasEstOffer": {
- "description": "Whether the Edit has a EST offer.",
- "type": "boolean"
- },
- "hasAudio51": {
- "description": "Whether the Edit has a 5.1 channel audio track.",
- "type": "boolean"
- },
- "audioTracks": {
- "description": "Audio tracks available for this Edit.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "subtitles": {
- "description": "Subtitles available for this Edit.",
- "items": {
- "type": "string"
- },
- "type": "array"
+ "videoId": {
+ "description": "Google-generated ID identifying the video linked to the Edit.\nExample: 'gtry456_xc'",
+ "type": "string"
},
"hasInfoCards": {
"description": "Whether the Edit has info cards.",
"type": "boolean"
- },
- "mid": {
- "description": "Knowledge Graph ID associated to this Edit, if available. This ID links the Edit to its knowledge entity, externally accessible at http://freebase.com. In the absense of Title EIDR or Edit EIDR, this ID helps link together multiple Edits across countries. Example: '/m/0ffx29'",
- "type": "string"
- },
- "trailerId": {
- "description": "Google-generated ID identifying the trailer linked to the Edit. Example: 'bhd_4e_cx'",
- "type": "string"
- },
- "studioName": {
- "description": "Name of the studio that owns the Edit ordered.",
- "type": "string"
- },
- "pphNames": {
- "description": "Name of the post-production houses that manage the Edit.",
- "items": {
- "type": "string"
- },
- "type": "array"
}
},
"type": "object"
},
- "ListStoreInfosResponse": {
- "description": "Response to the 'ListStoreInfos' method.",
- "id": "ListStoreInfosResponse",
+ "Avail": {
+ "description": "An Avail describes the Availability Window of a specific Edit in a given\ncountry, which means the period Google is allowed to sell or rent the Edit.\n\nAvails are exposed in EMA format Version 1.6b (available at\nhttp://www.movielabs.com/md/avails/)\n\nStudios can see the Avails for the Titles they own.\nPost-production houses cannot see any Avails.",
+ "id": "Avail",
"properties": {
- "storeInfos": {
- "description": "List of StoreInfos that match the request criteria.",
+ "seriesTitleInternalAlias": {
+ "description": "Title used by involved parties to refer to this series.\nOnly available on TV Avails.\nExample: \"Googlers, The\".",
+ "type": "string"
+ },
+ "formatProfile": {
+ "description": "Indicates the format profile covered by the transaction.",
+ "enum": [
+ "FORMAT_PROFILE_UNSPECIFIED",
+ "SD",
+ "HD",
+ "UHD"
+ ],
+ "enumDescriptions": [
+ "Value could not be determined, please contact technical support if\nit should.",
+ "Standard-definition format.",
+ "High-definition format.",
+ "4K UHD."
+ ],
+ "type": "string"
+ },
+ "ratingValue": {
+ "description": "Value representing the rating.\nRatings should be formatted as per http://www.movielabs.com/md/ratings/\nExample: \"PG\"",
+ "type": "string"
+ },
+ "titleInternalAlias": {
+ "description": "Title used by involved parties to refer to this content.\nExample: \"Googlers, The\".\nOnly available on Movie Avails.",
+ "type": "string"
+ },
+ "contentId": {
+ "description": "Title Identifier. This should be the Title Level EIDR.\nExample: \"10.5240/1489-49A2-3956-4B2D-FE16-5\".",
+ "type": "string"
+ },
+ "storeLanguage": {
+ "description": "Spoken language of the intended audience.\nLanguage shall be encoded in accordance with RFC 5646.\nExample: \"fr\".",
+ "type": "string"
+ },
+ "productId": {
+ "description": "Edit Identifier. This should be the Edit Level EIDR.\nExample: \"10.2340/1489-49A2-3956-4B2D-FE16-6\"",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "The name of the studio that owns the Edit referred in the Avail.\nThis is the equivalent of `studio_name` in other resources, but it follows\nthe EMA nomenclature.\nExample: \"Google Films\".",
+ "type": "string"
+ },
+ "captionExemption": {
+ "description": "Communicating an exempt category as defined by FCC regulations.\nIt is not required for non-US Avails.\nExample: \"1\"",
+ "type": "string"
+ },
+ "seasonTitleInternalAlias": {
+ "description": "Title used by involved parties to refer to this season.\nOnly available on TV Avails.\nExample: \"Googlers, The\".",
+ "type": "string"
+ },
+ "episodeAltId": {
+ "description": "Other identifier referring to the episode, as defined by partner.\nOnly available on TV avails.\nExample: \"rs_googlers_s1_3\".",
+ "type": "string"
+ },
+ "priceValue": {
+ "description": "Value to be applied to the pricing type.\nExample: \"4\" or \"2.99\"",
+ "type": "string"
+ },
+ "territory": {
+ "description": "ISO 3166-1 alpha-2 country code for the country or territory\nof this Avail.\nFor Avails, we use Territory in lieu of Country to comply with\nEMA specifications.\nBut please note that Territory and Country identify the same thing.\nExample: \"US\".",
+ "type": "string"
+ },
+ "ratingReason": {
+ "description": "Value representing the rating reason.\nRating reasons should be formatted as per\n[EMA ratings spec](http://www.movielabs.com/md/ratings/)\nand comma-separated for inclusion of multiple reasons.\nExample: \"L, S, V\"",
+ "type": "string"
+ },
+ "availId": {
+ "description": "ID internally generated by Google to uniquely identify an Avail.\nNot part of EMA Specs.",
+ "type": "string"
+ },
+ "workType": {
+ "description": "Work type as enumerated in EMA.",
+ "enum": [
+ "TITLE_TYPE_UNSPECIFIED",
+ "MOVIE",
+ "SEASON",
+ "EPISODE",
+ "BUNDLE"
+ ],
+ "enumDescriptions": [
+ "Value could not be determined, please contact technical support if\nit should.",
+ "A movie picture.",
+ "A season of a TV show.",
+ "An episode of a TV show.",
+ "A collection of movies, i.e. \"Googlers 1 and Googlers, the return\""
+ ],
+ "type": "string"
+ },
+ "episodeTitleInternalAlias": {
+ "description": "OPTIONAL.TV Only. Title used by involved parties to refer to this episode.\nOnly available on TV Avails.\nExample: \"Coding at Google\".",
+ "type": "string"
+ },
+ "suppressionLiftDate": {
+ "description": "First date an Edit could be publically announced as becoming\navailable at a specific future date in territory of Avail.\n*Not* the Avail start date or pre-order start date.\nFormat is YYYY-MM-DD.\nOnly available for pre-orders.\nExample: \"2012-12-10\"",
+ "type": "string"
+ },
+ "seasonAltId": {
+ "description": "Other identifier referring to the season, as defined by partner.\nOnly available on TV avails.\nExample: \"rs_googlers_s1\".",
+ "type": "string"
+ },
+ "encodeId": {
+ "description": "Manifestation Identifier. This should be the Manifestation\nLevel EIDR.\nExample: \"10.2340/1489-49A2-3956-4B2D-FE16-7\"",
+ "type": "string"
+ },
+ "priceType": {
+ "description": "Type of pricing that should be applied to this Avail\nbased on how the partner classify them.\nExample: \"Tier\", \"WSP\", \"SRP\", or \"Category\".",
+ "type": "string"
+ },
+ "captionIncluded": {
+ "description": "Communicating if caption file will be delivered.",
+ "type": "boolean"
+ },
+ "licenseType": {
+ "description": "Type of transaction.",
+ "enum": [
+ "LICENSE_TYPE_UNSPECIFIED",
+ "EST",
+ "VOD",
+ "SVOD",
+ "POEST"
+ ],
+ "enumDescriptions": [
+ "Value could not be determined, please contact technical support if\nit should.",
+ "Electronic Sell Through - purchase policy for unlimited viewing.",
+ "Video On Demand - rental policy for temporary viewing.",
+ "Subscription Video On Demand - used for subscription platforms.\nNot supported on Google Play.",
+ "Pre-order Electronic Sell Through - pre-order purchase only window."
+ ],
+ "type": "string"
+ },
+ "seasonNumber": {
+ "description": "The number assigned to the season within a series.\nOnly available on TV Avails.\nExample: \"1\".",
+ "type": "string"
+ },
+ "releaseDate": {
+ "description": "Release date of the Title in earliest released territory.\nTypically it is just the year, but it is free-form as per EMA spec.\nExamples: \"1979\", \"Oct 2014\"",
+ "type": "string"
+ },
+ "end": {
+ "description": "End of term in YYYY-MM-DD format in the timezone of the country\nof the Avail.\n\"Open\" if no end date is available.\nExample: \"2019-02-17\"",
+ "type": "string"
+ },
+ "videoId": {
+ "description": "Google-generated ID identifying the video linked to this Avail, once\ndelivered.\nNot part of EMA Specs.\nExample: 'gtry456_xc'",
+ "type": "string"
+ },
+ "start": {
+ "description": "Start of term in YYYY-MM-DD format in the timezone of the\ncountry of the Avail.\nExample: \"2013-05-14\".",
+ "type": "string"
+ },
+ "ratingSystem": {
+ "description": "Rating system applied to the version of title within territory\nof Avail.\nRating systems should be formatted as per\n[EMA ratings spec](http://www.movielabs.com/md/ratings/)\nExample: \"MPAA\"",
+ "type": "string"
+ },
+ "pphNames": {
+ "description": "Name of the post-production houses that manage the Avail.\nNot part of EMA Specs.",
"items": {
- "$ref": "StoreInfo"
+ "type": "string"
},
"type": "array"
},
- "nextPageToken": {
- "description": "See 'List methods rules' for info about this field.",
+ "seriesAltId": {
+ "description": "Other identifier referring to the series, as defined by partner.\nOnly available on TV avails.\nExample: \"rs_googlers\".",
"type": "string"
},
- "totalSize": {
- "description": "See _List methods rules_ for more information about this field.",
- "format": "int32",
- "type": "integer"
+ "altId": {
+ "description": "Other identifier referring to the Edit, as defined by partner.\nExample: \"GOOGLER_2006\"",
+ "type": "string"
+ },
+ "episodeNumber": {
+ "description": "The number assigned to the episode within a season.\nOnly available on TV Avails.\nExample: \"3\".",
+ "type": "string"
}
},
"type": "object"
diff --git a/discovery/googleapis/plusDomains__v1.json b/discovery/googleapis/plusDomains__v1.json
index f40bd30..8642d7a 100644
--- a/discovery/googleapis/plusDomains__v1.json
+++ b/discovery/googleapis/plusDomains__v1.json
@@ -41,7 +41,7 @@
"description": "Builds on top of the Google+ platform for Google Apps Domains.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/+/domains/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/CA4SbXr_tU_foB3z-o5llBJXd3E\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/t9jkawUyu2edV_NnkYo04rSVP4U\"",
"icons": {
"x16": "http://www.google.com/images/icons/product/gplus-16.png",
"x32": "http://www.google.com/images/icons/product/gplus-32.png"
@@ -852,7 +852,7 @@
}
}
},
- "revision": "20170301",
+ "revision": "20170322",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Acl": {
diff --git a/discovery/googleapis/plus__v1.json b/discovery/googleapis/plus__v1.json
index 5223516..1bcf2fd 100644
--- a/discovery/googleapis/plus__v1.json
+++ b/discovery/googleapis/plus__v1.json
@@ -23,7 +23,7 @@
"description": "Builds on top of the Google+ platform.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/+/api/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/YN03yNghWOizwdibl--2r18KQjc\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/4yuXl8tCsTdnArP4UCiTXQpS3Hs\"",
"icons": {
"x16": "http://www.google.com/images/icons/product/gplus-16.png",
"x32": "http://www.google.com/images/icons/product/gplus-32.png"
@@ -491,7 +491,7 @@
}
}
},
- "revision": "20170301",
+ "revision": "20170322",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Acl": {
diff --git a/discovery/googleapis/pubsub__v1.json b/discovery/googleapis/pubsub__v1.json
index 6d1f574..bf979df 100644
--- a/discovery/googleapis/pubsub__v1.json
+++ b/discovery/googleapis/pubsub__v1.json
@@ -28,37 +28,8 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "$.xgafv": {
- "description": "V1 error format.",
- "enum": [
- "1",
- "2"
- ],
- "enumDescriptions": [
- "v1 error format",
- "v2 error format"
- ],
- "location": "query",
- "type": "string"
- },
- "callback": {
- "description": "JSONP",
- "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"
- ],
+ "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"
},
@@ -67,11 +38,6 @@
"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"
- },
"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",
@@ -113,6 +79,40 @@
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
+ },
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "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"
}
},
"protocol": "rest",
@@ -121,6 +121,123 @@
"resources": {
"subscriptions": {
"methods": {
+ "modifyPushConfig": {
+ "description": "Modifies the `PushConfig` for a specified subscription.\n\nThis may be used to change a push subscription to a pull one (signified by\nan empty `PushConfig`) or vice versa, or change the endpoint URL and other\nattributes of a push subscription. Messages will accumulate for delivery\ncontinuously through the call regardless of changes to the `PushConfig`.",
+ "httpMethod": "POST",
+ "id": "pubsub.projects.subscriptions.modifyPushConfig",
+ "parameterOrder": [
+ "subscription"
+ ],
+ "parameters": {
+ "subscription": {
+ "description": "The name of the subscription.\nFormat is `projects/{project}/subscriptions/{sub}`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+subscription}:modifyPushConfig",
+ "request": {
+ "$ref": "ModifyPushConfigRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/pubsub"
+ ]
+ },
+ "pull": {
+ "description": "Pulls messages from the server. Returns an empty list if there are no\nmessages available in the backlog. The server may return `UNAVAILABLE` if\nthere are too many concurrent pull requests pending for the given\nsubscription.",
+ "httpMethod": "POST",
+ "id": "pubsub.projects.subscriptions.pull",
+ "parameterOrder": [
+ "subscription"
+ ],
+ "parameters": {
+ "subscription": {
+ "description": "The subscription from which messages should be pulled.\nFormat is `projects/{project}/subscriptions/{sub}`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+subscription}:pull",
+ "request": {
+ "$ref": "PullRequest"
+ },
+ "response": {
+ "$ref": "PullResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/pubsub"
+ ]
+ },
+ "delete": {
+ "description": "Deletes an existing subscription. All messages retained in the subscription\nare immediately dropped. Calls to `Pull` after deletion will return\n`NOT_FOUND`. After a subscription is deleted, a new one may be created with\nthe same name, but the new one has no association with the old\nsubscription or its topic unless the same topic is specified.",
+ "httpMethod": "DELETE",
+ "id": "pubsub.projects.subscriptions.delete",
+ "parameterOrder": [
+ "subscription"
+ ],
+ "parameters": {
+ "subscription": {
+ "description": "The subscription to delete.\nFormat is `projects/{project}/subscriptions/{sub}`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+subscription}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/pubsub"
+ ]
+ },
+ "list": {
+ "description": "Lists matching subscriptions.",
+ "httpMethod": "GET",
+ "id": "pubsub.projects.subscriptions.list",
+ "parameterOrder": [
+ "project"
+ ],
+ "parameters": {
+ "pageToken": {
+ "description": "The value returned by the last `ListSubscriptionsResponse`; indicates that\nthis is a continuation of a prior `ListSubscriptions` call, and that the\nsystem should return the next page of data.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Maximum number of subscriptions to return.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "project": {
+ "description": "The name of the cloud project that subscriptions belong to.\nFormat is `projects/{project}`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+project}/subscriptions",
+ "response": {
+ "$ref": "ListSubscriptionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/pubsub"
+ ]
+ },
"create": {
"description": "Creates a subscription to a given topic.\nIf the subscription already exists, returns `ALREADY_EXISTS`.\nIf the corresponding topic doesn't exist, returns `NOT_FOUND`.\n\nIf the name is not provided in the request, the server will assign a random\nname for this subscription on the same project as the topic, conforming\nto the\n[resource name format](https://cloud.google.com/pubsub/docs/overview#names).\nThe generated name is populated in the returned Subscription object.\nNote that for REST API requests, you must specify a name in the request.",
"httpMethod": "PUT",
@@ -158,7 +275,7 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy is being specified.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
+ "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/subscriptions/[^/]+$",
"required": true,
@@ -186,7 +303,7 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
+ "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/subscriptions/[^/]+$",
"required": true,
@@ -292,7 +409,7 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy detail is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
+ "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/subscriptions/[^/]+$",
"required": true,
@@ -310,123 +427,6 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/pubsub"
]
- },
- "modifyPushConfig": {
- "description": "Modifies the `PushConfig` for a specified subscription.\n\nThis may be used to change a push subscription to a pull one (signified by\nan empty `PushConfig`) or vice versa, or change the endpoint URL and other\nattributes of a push subscription. Messages will accumulate for delivery\ncontinuously through the call regardless of changes to the `PushConfig`.",
- "httpMethod": "POST",
- "id": "pubsub.projects.subscriptions.modifyPushConfig",
- "parameterOrder": [
- "subscription"
- ],
- "parameters": {
- "subscription": {
- "description": "The name of the subscription.\nFormat is `projects/{project}/subscriptions/{sub}`.",
- "location": "path",
- "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+subscription}:modifyPushConfig",
- "request": {
- "$ref": "ModifyPushConfigRequest"
- },
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/pubsub"
- ]
- },
- "pull": {
- "description": "Pulls messages from the server. Returns an empty list if there are no\nmessages available in the backlog. The server may return `UNAVAILABLE` if\nthere are too many concurrent pull requests pending for the given\nsubscription.",
- "httpMethod": "POST",
- "id": "pubsub.projects.subscriptions.pull",
- "parameterOrder": [
- "subscription"
- ],
- "parameters": {
- "subscription": {
- "description": "The subscription from which messages should be pulled.\nFormat is `projects/{project}/subscriptions/{sub}`.",
- "location": "path",
- "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+subscription}:pull",
- "request": {
- "$ref": "PullRequest"
- },
- "response": {
- "$ref": "PullResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/pubsub"
- ]
- },
- "delete": {
- "description": "Deletes an existing subscription. All messages retained in the subscription\nare immediately dropped. Calls to `Pull` after deletion will return\n`NOT_FOUND`. After a subscription is deleted, a new one may be created with\nthe same name, but the new one has no association with the old\nsubscription or its topic unless the same topic is specified.",
- "httpMethod": "DELETE",
- "id": "pubsub.projects.subscriptions.delete",
- "parameterOrder": [
- "subscription"
- ],
- "parameters": {
- "subscription": {
- "description": "The subscription to delete.\nFormat is `projects/{project}/subscriptions/{sub}`.",
- "location": "path",
- "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+subscription}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/pubsub"
- ]
- },
- "list": {
- "description": "Lists matching subscriptions.",
- "httpMethod": "GET",
- "id": "pubsub.projects.subscriptions.list",
- "parameterOrder": [
- "project"
- ],
- "parameters": {
- "project": {
- "description": "The name of the cloud project that subscriptions belong to.\nFormat is `projects/{project}`.",
- "location": "path",
- "pattern": "^projects/[^/]+$",
- "required": true,
- "type": "string"
- },
- "pageToken": {
- "description": "The value returned by the last `ListSubscriptionsResponse`; indicates that\nthis is a continuation of a prior `ListSubscriptions` call, and that the\nsystem should return the next page of data.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Maximum number of subscriptions to return.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- }
- },
- "path": "v1/{+project}/subscriptions",
- "response": {
- "$ref": "ListSubscriptionsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/pubsub"
- ]
}
}
},
@@ -441,7 +441,7 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
+ "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/snapshots/[^/]+$",
"required": true,
@@ -466,7 +466,7 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy is being specified.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
+ "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/snapshots/[^/]+$",
"required": true,
@@ -494,7 +494,7 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy detail is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
+ "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/snapshots/[^/]+$",
"required": true,
@@ -517,6 +517,34 @@
},
"topics": {
"methods": {
+ "publish": {
+ "description": "Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic\ndoes not exist. The message payload must not be empty; it must contain\n either a non-empty data field, or at least one attribute.",
+ "httpMethod": "POST",
+ "id": "pubsub.projects.topics.publish",
+ "parameterOrder": [
+ "topic"
+ ],
+ "parameters": {
+ "topic": {
+ "description": "The messages in the request will be published on this topic.\nFormat is `projects/{project}/topics/{topic}`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/topics/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+topic}:publish",
+ "request": {
+ "$ref": "PublishRequest"
+ },
+ "response": {
+ "$ref": "PublishResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/pubsub"
+ ]
+ },
"testIamPermissions": {
"description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
"httpMethod": "POST",
@@ -526,7 +554,7 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy detail is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
+ "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/topics/[^/]+$",
"required": true,
@@ -578,6 +606,11 @@
"project"
],
"parameters": {
+ "pageToken": {
+ "description": "The value returned by the last `ListTopicsResponse`; indicates that this is\na continuation of a prior `ListTopics` call, and that the system should\nreturn the next page of data.",
+ "location": "query",
+ "type": "string"
+ },
"pageSize": {
"description": "Maximum number of topics to return.",
"format": "int32",
@@ -590,11 +623,6 @@
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
- },
- "pageToken": {
- "description": "The value returned by the last `ListTopicsResponse`; indicates that this is\na continuation of a prior `ListTopics` call, and that the system should\nreturn the next page of data.",
- "location": "query",
- "type": "string"
}
},
"path": "v1/{+project}/topics",
@@ -643,7 +671,7 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy is being specified.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
+ "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/topics/[^/]+$",
"required": true,
@@ -671,7 +699,7 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
+ "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/topics/[^/]+$",
"required": true,
@@ -711,34 +739,6 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/pubsub"
]
- },
- "publish": {
- "description": "Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic\ndoes not exist. The message payload must not be empty; it must contain\n either a non-empty data field, or at least one attribute.",
- "httpMethod": "POST",
- "id": "pubsub.projects.topics.publish",
- "parameterOrder": [
- "topic"
- ],
- "parameters": {
- "topic": {
- "description": "The messages in the request will be published on this topic.\nFormat is `projects/{project}/topics/{topic}`.",
- "location": "path",
- "pattern": "^projects/[^/]+/topics/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+topic}:publish",
- "request": {
- "$ref": "PublishRequest"
- },
- "response": {
- "$ref": "PublishResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/pubsub"
- ]
}
},
"resources": {
@@ -787,9 +787,254 @@
}
}
},
- "revision": "20170214",
+ "revision": "20170308",
"rootUrl": "https://pubsub.googleapis.com/",
"schemas": {
+ "Subscription": {
+ "description": "A subscription resource.",
+ "id": "Subscription",
+ "properties": {
+ "pushConfig": {
+ "$ref": "PushConfig",
+ "description": "If push delivery is used with this subscription, this field is\nused to configure it. An empty `pushConfig` signifies that the subscriber\nwill pull and ack messages using API methods."
+ },
+ "ackDeadlineSeconds": {
+ "description": "This value is the maximum time after a subscriber receives a message\nbefore the subscriber should acknowledge the message. After message\ndelivery but before the ack deadline expires and before the message is\nacknowledged, it is an outstanding message and will not be delivered\nagain during that time (on a best-effort basis).\n\nFor pull subscriptions, this value is used as the initial value for the ack\ndeadline. To override this value for a given message, call\n`ModifyAckDeadline` with the corresponding `ack_id` if using\npull.\nThe minimum custom deadline you can specify is 10 seconds.\nThe maximum custom deadline you can specify is 600 seconds (10 minutes).\nIf this parameter is 0, a default value of 10 seconds is used.\n\nFor push delivery, this value is also used to set the request timeout for\nthe call to the push endpoint.\n\nIf the subscriber never acknowledges the message, the Pub/Sub\nsystem will eventually redeliver the message.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "name": {
+ "description": "The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`.",
+ "type": "string"
+ },
+ "topic": {
+ "description": "The name of the topic from which this subscription is receiving messages.\nFormat is `projects/{project}/topics/{topic}`.\nThe value of this field will be `_deleted-topic_` if the topic has been\ndeleted.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "TestIamPermissionsRequest": {
+ "description": "Request message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsRequest",
+ "properties": {
+ "permissions": {
+ "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Policy": {
+ "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).",
+ "id": "Policy",
+ "properties": {
+ "etag": {
+ "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.",
+ "format": "byte",
+ "type": "string"
+ },
+ "version": {
+ "description": "Version of the `Policy`. The default version is 0.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "bindings": {
+ "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.",
+ "items": {
+ "$ref": "Binding"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Topic": {
+ "description": "A topic resource.",
+ "id": "Topic",
+ "properties": {
+ "name": {
+ "description": "The name of the topic. It must have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust not start with `\"goog\"`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ModifyAckDeadlineRequest": {
+ "description": "Request for the ModifyAckDeadline method.",
+ "id": "ModifyAckDeadlineRequest",
+ "properties": {
+ "ackDeadlineSeconds": {
+ "description": "The new ack deadline with respect to the time this request was sent to\nthe Pub/Sub system. For example, if the value is 10, the new\nack deadline will expire 10 seconds after the `ModifyAckDeadline` call\nwas made. Specifying zero may immediately make the message available for\nanother pull request.\nThe minimum deadline you can specify is 0 seconds.\nThe maximum deadline you can specify is 600 seconds (10 minutes).",
+ "format": "int32",
+ "type": "integer"
+ },
+ "ackIds": {
+ "description": "List of acknowledgment IDs.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SetIamPolicyRequest": {
+ "description": "Request message for `SetIamPolicy` method.",
+ "id": "SetIamPolicyRequest",
+ "properties": {
+ "policy": {
+ "$ref": "Policy",
+ "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
+ }
+ },
+ "type": "object"
+ },
+ "PubsubMessage": {
+ "description": "A message data and its attributes. The message payload must not be empty;\nit must contain either a non-empty data field, or at least one attribute.",
+ "id": "PubsubMessage",
+ "properties": {
+ "data": {
+ "description": "The message payload.",
+ "format": "byte",
+ "type": "string"
+ },
+ "attributes": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Optional attributes for this message.",
+ "type": "object"
+ },
+ "messageId": {
+ "description": "ID of this message, assigned by the server when the message is published.\nGuaranteed to be unique within the topic. This value may be read by a\nsubscriber that receives a `PubsubMessage` via a `Pull` call or a push\ndelivery. It must not be populated by the publisher in a `Publish` call.",
+ "type": "string"
+ },
+ "publishTime": {
+ "description": "The time at which the message was published, populated by the server when\nit receives the `Publish` call. It must not be populated by the\npublisher in a `Publish` call.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ModifyPushConfigRequest": {
+ "description": "Request for the ModifyPushConfig method.",
+ "id": "ModifyPushConfigRequest",
+ "properties": {
+ "pushConfig": {
+ "$ref": "PushConfig",
+ "description": "The push configuration for future deliveries.\n\nAn empty `pushConfig` indicates that the Pub/Sub system should\nstop pushing messages from the given subscription and allow\nmessages to be pulled and acknowledged - effectively pausing\nthe subscription if `Pull` is not called."
+ }
+ },
+ "type": "object"
+ },
+ "Binding": {
+ "description": "Associates `members` with a `role`.",
+ "id": "Binding",
+ "properties": {
+ "members": {
+ "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "role": {
+ "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListTopicsResponse": {
+ "description": "Response for the `ListTopics` method.",
+ "id": "ListTopicsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "If not empty, indicates that there may be more topics that match the\nrequest; this value should be passed in a new `ListTopicsRequest`.",
+ "type": "string"
+ },
+ "topics": {
+ "description": "The resulting topics.",
+ "items": {
+ "$ref": "Topic"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
+ "AcknowledgeRequest": {
+ "description": "Request for the Acknowledge method.",
+ "id": "AcknowledgeRequest",
+ "properties": {
+ "ackIds": {
+ "description": "The acknowledgment ID for the messages being acknowledged that was returned\nby the Pub/Sub system in the `Pull` response. Must not be empty.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListTopicSubscriptionsResponse": {
+ "description": "Response for the `ListTopicSubscriptions` method.",
+ "id": "ListTopicSubscriptionsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "If not empty, indicates that there may be more subscriptions that match\nthe request; this value should be passed in a new\n`ListTopicSubscriptionsRequest` to get more subscriptions.",
+ "type": "string"
+ },
+ "subscriptions": {
+ "description": "The names of the subscriptions that match the request.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "PullResponse": {
+ "description": "Response for the `Pull` method.",
+ "id": "PullResponse",
+ "properties": {
+ "receivedMessages": {
+ "description": "Received Pub/Sub messages. The Pub/Sub system will return zero messages if\nthere are no more available in the backlog. The Pub/Sub system may return\nfewer than the `maxMessages` requested even if there are more messages\navailable in the backlog.",
+ "items": {
+ "$ref": "ReceivedMessage"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ReceivedMessage": {
+ "description": "A message and its corresponding acknowledgment ID.",
+ "id": "ReceivedMessage",
+ "properties": {
+ "message": {
+ "$ref": "PubsubMessage",
+ "description": "The message."
+ },
+ "ackId": {
+ "description": "This ID can be used to acknowledge the received message.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"PushConfig": {
"description": "Configuration for a push delivery endpoint.",
"id": "PushConfig",
@@ -802,7 +1047,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Endpoint configuration attributes.\n\nEvery endpoint has a set of API supported attributes that can be used to\ncontrol different aspects of the message delivery.\n\nThe currently supported attribute is `x-goog-version`, which you can\nuse to change the format of the push message. This attribute\nindicates the version of the data expected by the endpoint. This\ncontrols the shape of the envelope (i.e. its fields and metadata).\nThe endpoint version is based on the version of the Pub/Sub\nAPI.\n\nIf not present during the `CreateSubscription` call, it will default to\nthe version of the API used to make such call. If not present during a\n`ModifyPushConfig` call, its value will not be changed. `GetSubscription`\ncalls will always return a valid version, even if the subscription was\ncreated without this attribute.\n\nThe possible values for this attribute are:\n\n* `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API.\n* `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.",
+ "description": "Endpoint configuration attributes.\n\nEvery endpoint has a set of API supported attributes that can be used to\ncontrol different aspects of the message delivery.\n\nThe currently supported attribute is `x-goog-version`, which you can\nuse to change the format of the pushed message. This attribute\nindicates the version of the data expected by the endpoint. This\ncontrols the shape of the pushed message (i.e., its fields and metadata).\nThe endpoint version is based on the version of the Pub/Sub API.\n\nIf not present during the `CreateSubscription` call, it will default to\nthe version of the API used to make such call. If not present during a\n`ModifyPushConfig` call, its value will not be changed. `GetSubscription`\ncalls will always return a valid version, even if the subscription was\ncreated without this attribute.\n\nThe possible values for this attribute are:\n\n* `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API.\n* `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.",
"type": "object"
}
},
@@ -883,251 +1128,6 @@
}
},
"type": "object"
- },
- "Subscription": {
- "description": "A subscription resource.",
- "id": "Subscription",
- "properties": {
- "ackDeadlineSeconds": {
- "description": "This value is the maximum time after a subscriber receives a message\nbefore the subscriber should acknowledge the message. After message\ndelivery but before the ack deadline expires and before the message is\nacknowledged, it is an outstanding message and will not be delivered\nagain during that time (on a best-effort basis).\n\nFor pull subscriptions, this value is used as the initial value for the ack\ndeadline. To override this value for a given message, call\n`ModifyAckDeadline` with the corresponding `ack_id` if using\npull.\nThe minimum custom deadline you can specify is 10 seconds.\nThe maximum custom deadline you can specify is 600 seconds (10 minutes).\nIf this parameter is 0, a default value of 10 seconds is used.\n\nFor push delivery, this value is also used to set the request timeout for\nthe call to the push endpoint.\n\nIf the subscriber never acknowledges the message, the Pub/Sub\nsystem will eventually redeliver the message.",
- "format": "int32",
- "type": "integer"
- },
- "name": {
- "description": "The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`.",
- "type": "string"
- },
- "topic": {
- "description": "The name of the topic from which this subscription is receiving messages.\nFormat is `projects/{project}/topics/{topic}`.\nThe value of this field will be `_deleted-topic_` if the topic has been\ndeleted.",
- "type": "string"
- },
- "pushConfig": {
- "$ref": "PushConfig",
- "description": "If push delivery is used with this subscription, this field is\nused to configure it. An empty `pushConfig` signifies that the subscriber\nwill pull and ack messages using API methods."
- }
- },
- "type": "object"
- },
- "TestIamPermissionsRequest": {
- "description": "Request message for `TestIamPermissions` method.",
- "id": "TestIamPermissionsRequest",
- "properties": {
- "permissions": {
- "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Topic": {
- "description": "A topic resource.",
- "id": "Topic",
- "properties": {
- "name": {
- "description": "The name of the topic. It must have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust not start with `\"goog\"`.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Policy": {
- "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).",
- "id": "Policy",
- "properties": {
- "etag": {
- "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.",
- "format": "byte",
- "type": "string"
- },
- "version": {
- "description": "Version of the `Policy`. The default version is 0.",
- "format": "int32",
- "type": "integer"
- },
- "bindings": {
- "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.",
- "items": {
- "$ref": "Binding"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "ModifyAckDeadlineRequest": {
- "description": "Request for the ModifyAckDeadline method.",
- "id": "ModifyAckDeadlineRequest",
- "properties": {
- "ackIds": {
- "description": "List of acknowledgment IDs.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "ackDeadlineSeconds": {
- "description": "The new ack deadline with respect to the time this request was sent to\nthe Pub/Sub system. For example, if the value is 10, the new\nack deadline will expire 10 seconds after the `ModifyAckDeadline` call\nwas made. Specifying zero may immediately make the message available for\nanother pull request.\nThe minimum deadline you can specify is 0 seconds.\nThe maximum deadline you can specify is 600 seconds (10 minutes).",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "SetIamPolicyRequest": {
- "description": "Request message for `SetIamPolicy` method.",
- "id": "SetIamPolicyRequest",
- "properties": {
- "policy": {
- "$ref": "Policy",
- "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
- }
- },
- "type": "object"
- },
- "ModifyPushConfigRequest": {
- "description": "Request for the ModifyPushConfig method.",
- "id": "ModifyPushConfigRequest",
- "properties": {
- "pushConfig": {
- "$ref": "PushConfig",
- "description": "The push configuration for future deliveries.\n\nAn empty `pushConfig` indicates that the Pub/Sub system should\nstop pushing messages from the given subscription and allow\nmessages to be pulled and acknowledged - effectively pausing\nthe subscription if `Pull` is not called."
- }
- },
- "type": "object"
- },
- "PubsubMessage": {
- "description": "A message data and its attributes. The message payload must not be empty;\nit must contain either a non-empty data field, or at least one attribute.",
- "id": "PubsubMessage",
- "properties": {
- "data": {
- "description": "The message payload.",
- "format": "byte",
- "type": "string"
- },
- "attributes": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Optional attributes for this message.",
- "type": "object"
- },
- "messageId": {
- "description": "ID of this message, assigned by the server when the message is published.\nGuaranteed to be unique within the topic. This value may be read by a\nsubscriber that receives a `PubsubMessage` via a `Pull` call or a push\ndelivery. It must not be populated by the publisher in a `Publish` call.",
- "type": "string"
- },
- "publishTime": {
- "description": "The time at which the message was published, populated by the server when\nit receives the `Publish` call. It must not be populated by the\npublisher in a `Publish` call.",
- "format": "google-datetime",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Binding": {
- "description": "Associates `members` with a `role`.",
- "id": "Binding",
- "properties": {
- "members": {
- "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "role": {
- "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AcknowledgeRequest": {
- "description": "Request for the Acknowledge method.",
- "id": "AcknowledgeRequest",
- "properties": {
- "ackIds": {
- "description": "The acknowledgment ID for the messages being acknowledged that was returned\nby the Pub/Sub system in the `Pull` response. Must not be empty.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Empty": {
- "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
- "id": "Empty",
- "properties": {},
- "type": "object"
- },
- "ListTopicsResponse": {
- "description": "Response for the `ListTopics` method.",
- "id": "ListTopicsResponse",
- "properties": {
- "nextPageToken": {
- "description": "If not empty, indicates that there may be more topics that match the\nrequest; this value should be passed in a new `ListTopicsRequest`.",
- "type": "string"
- },
- "topics": {
- "description": "The resulting topics.",
- "items": {
- "$ref": "Topic"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "ListTopicSubscriptionsResponse": {
- "description": "Response for the `ListTopicSubscriptions` method.",
- "id": "ListTopicSubscriptionsResponse",
- "properties": {
- "nextPageToken": {
- "description": "If not empty, indicates that there may be more subscriptions that match\nthe request; this value should be passed in a new\n`ListTopicSubscriptionsRequest` to get more subscriptions.",
- "type": "string"
- },
- "subscriptions": {
- "description": "The names of the subscriptions that match the request.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "PullResponse": {
- "description": "Response for the `Pull` method.",
- "id": "PullResponse",
- "properties": {
- "receivedMessages": {
- "description": "Received Pub/Sub messages. The Pub/Sub system will return zero messages if\nthere are no more available in the backlog. The Pub/Sub system may return\nfewer than the `maxMessages` requested even if there are more messages\navailable in the backlog.",
- "items": {
- "$ref": "ReceivedMessage"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "ReceivedMessage": {
- "description": "A message and its corresponding acknowledgment ID.",
- "id": "ReceivedMessage",
- "properties": {
- "message": {
- "$ref": "PubsubMessage",
- "description": "The message."
- },
- "ackId": {
- "description": "This ID can be used to acknowledge the received message.",
- "type": "string"
- }
- },
- "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis/reseller__v1.json b/discovery/googleapis/reseller__v1.json
index 46e56f1..59cdc86 100644
--- a/discovery/googleapis/reseller__v1.json
+++ b/discovery/googleapis/reseller__v1.json
@@ -17,7 +17,7 @@
"description": "Creates and manages your customers and their subscriptions.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/google-apps/reseller/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/zGPGa-LIIu53_wHsQE6CSF1P9Iw\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/X8_Q_t3uaU1QrzrqghkL9l2OAyo\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -579,7 +579,7 @@
}
}
},
- "revision": "20170216",
+ "revision": "20170228",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Address": {
@@ -850,6 +850,10 @@
"description": "A required property. The skuId is a unique system identifier for a product's SKU assigned to a customer in the subscription. For products and SKUs available in this version of the API, see Product and SKU IDs.",
"type": "string"
},
+ "skuName": {
+ "description": "Read-only external display name for a product's SKU assigned to a customer in the subscription. SKU names are subject to change at Google's discretion. For products and SKUs available in this version of the API, see Product and SKU IDs.",
+ "type": "string"
+ },
"status": {
"description": "This is an optional property.",
"type": "string"
diff --git a/discovery/googleapis/runtimeconfig__v1.json b/discovery/googleapis/runtimeconfig__v1.json
index 9078f48..01dc2a9 100644
--- a/discovery/googleapis/runtimeconfig__v1.json
+++ b/discovery/googleapis/runtimeconfig__v1.json
@@ -28,17 +28,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
@@ -113,12 +102,64 @@
"description": "OAuth bearer token.",
"location": "query",
"type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
}
},
"protocol": "rest",
"resources": {
"operations": {
"methods": {
+ "list": {
+ "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`.",
+ "httpMethod": "GET",
+ "id": "runtimeconfig.operations.list",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation collection.",
+ "location": "path",
+ "pattern": "^operations$",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "The standard list page token.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The standard list page size.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "filter": {
+ "description": "The standard list filter.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "ListOperationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloudruntimeconfig"
+ ]
+ },
"cancel": {
"description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.",
"httpMethod": "POST",
@@ -171,47 +212,6 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloudruntimeconfig"
]
- },
- "list": {
- "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`.",
- "httpMethod": "GET",
- "id": "runtimeconfig.operations.list",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The name of the operation collection.",
- "location": "path",
- "pattern": "^operations$",
- "required": true,
- "type": "string"
- },
- "pageToken": {
- "description": "The standard list page token.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "The standard list page size.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "filter": {
- "description": "The standard list filter.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/{+name}",
- "response": {
- "$ref": "ListOperationsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloudruntimeconfig"
- ]
}
}
}
@@ -229,6 +229,15 @@
"description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
"id": "Status",
"properties": {
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ },
"details": {
"description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.",
"items": {
@@ -239,15 +248,6 @@
"type": "object"
},
"type": "array"
- },
- "code": {
- "description": "The status code, which should be an enum value of google.rpc.Code.",
- "format": "int32",
- "type": "integer"
- },
- "message": {
- "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
- "type": "string"
}
},
"type": "object"
@@ -274,18 +274,6 @@
"description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
"id": "Operation",
"properties": {
- "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\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
- "type": "object"
- },
- "done": {
- "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.",
- "type": "boolean"
- },
"response": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
@@ -301,6 +289,18 @@
"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\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
+ "type": "object"
+ },
+ "done": {
+ "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.",
+ "type": "boolean"
}
},
"type": "object"
diff --git a/discovery/googleapis/safebrowsing__v4.json b/discovery/googleapis/safebrowsing__v4.json
index b5310bd..c199f1e 100644
--- a/discovery/googleapis/safebrowsing__v4.json
+++ b/discovery/googleapis/safebrowsing__v4.json
@@ -2,10 +2,9 @@
"basePath": "",
"baseUrl": "https://safebrowsing.googleapis.com/",
"batchPath": "batch",
- "description": "Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources.",
+ "description": "The Safe Browsing API is an experimental API that allows client applications to check URLs against Google's constantly-updated blacklists of suspected phishing and malware pages. Your client application can use the API to download an encrypted table for local, client-side lookups of URLs.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/safe-browsing/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Yoew02BLq1-_QyzwsVjtSdddocY\"",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
@@ -21,39 +20,13 @@
"location": "query",
"type": "string"
},
- "alt": {
- "default": "json",
- "description": "Data format for response.",
- "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"
- },
- "bearer_token": {
- "description": "OAuth bearer token.",
- "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.",
+ "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"
},
@@ -63,14 +36,13 @@
"location": "query",
"type": "boolean"
},
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
"location": "query",
- "type": "boolean"
+ "type": "string"
},
- "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.",
+ "bearer_token": {
+ "description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
@@ -79,29 +51,82 @@
"location": "query",
"type": "string"
},
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
"$.xgafv": {
"description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "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"
}
},
"protocol": "rest",
"resources": {
+ "threatLists": {
+ "methods": {
+ "list": {
+ "description": "Lists the Safe Browsing threat lists available for download.",
+ "httpMethod": "GET",
+ "id": "safebrowsing.threatLists.list",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v4/threatLists",
+ "response": {
+ "$ref": "ListThreatListsResponse"
+ }
+ }
+ }
+ },
"threatMatches": {
"methods": {
"find": {
"description": "Finds the threat entries that match the Safe Browsing lists.",
"httpMethod": "POST",
"id": "safebrowsing.threatMatches.find",
+ "parameterOrder": [],
+ "parameters": {},
"path": "v4/threatMatches:find",
"request": {
"$ref": "FindThreatMatchesRequest"
@@ -112,28 +137,14 @@
}
}
},
- "threatListUpdates": {
- "methods": {
- "fetch": {
- "description": "Fetches the most recent threat list updates. A client can request updates for multiple lists at once.",
- "httpMethod": "POST",
- "id": "safebrowsing.threatListUpdates.fetch",
- "path": "v4/threatListUpdates:fetch",
- "request": {
- "$ref": "FetchThreatListUpdatesRequest"
- },
- "response": {
- "$ref": "FetchThreatListUpdatesResponse"
- }
- }
- }
- },
"fullHashes": {
"methods": {
"find": {
"description": "Finds the full hashes that match the requested hash prefixes.",
"httpMethod": "POST",
"id": "safebrowsing.fullHashes.find",
+ "parameterOrder": [],
+ "parameters": {},
"path": "v4/fullHashes:find",
"request": {
"$ref": "FindFullHashesRequest"
@@ -144,26 +155,237 @@
}
}
},
- "threatLists": {
+ "encodedUpdates": {
"methods": {
- "list": {
- "description": "Lists the Safe Browsing threat lists available for download.",
+ "get": {
+ "description": "",
"httpMethod": "GET",
- "id": "safebrowsing.threatLists.list",
- "path": "v4/threatLists",
+ "id": "safebrowsing.encodedUpdates.get",
+ "parameterOrder": [
+ "encodedRequest"
+ ],
+ "parameters": {
+ "clientVersion": {
+ "description": "The version of the client implementation.",
+ "location": "query",
+ "type": "string"
+ },
+ "encodedRequest": {
+ "description": "A serialized FetchThreatListUpdatesRequest proto.",
+ "format": "byte",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "clientId": {
+ "description": "A client ID that uniquely identifies the client implementation of the Safe\nBrowsing API.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v4/encodedUpdates/{encodedRequest}",
"response": {
- "$ref": "ListThreatListsResponse"
+ "$ref": "FetchThreatListUpdatesResponse"
+ }
+ }
+ }
+ },
+ "threatListUpdates": {
+ "methods": {
+ "fetch": {
+ "description": "Fetches the most recent threat list updates. A client can request updates\nfor multiple lists at once.",
+ "httpMethod": "POST",
+ "id": "safebrowsing.threatListUpdates.fetch",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v4/threatListUpdates:fetch",
+ "request": {
+ "$ref": "FetchThreatListUpdatesRequest"
+ },
+ "response": {
+ "$ref": "FetchThreatListUpdatesResponse"
+ }
+ }
+ }
+ },
+ "encodedFullHashes": {
+ "methods": {
+ "get": {
+ "description": "",
+ "httpMethod": "GET",
+ "id": "safebrowsing.encodedFullHashes.get",
+ "parameterOrder": [
+ "encodedRequest"
+ ],
+ "parameters": {
+ "clientId": {
+ "description": "A client ID that (hopefully) uniquely identifies the client implementation\nof the Safe Browsing API.",
+ "location": "query",
+ "type": "string"
+ },
+ "clientVersion": {
+ "description": "The version of the client implementation.",
+ "location": "query",
+ "type": "string"
+ },
+ "encodedRequest": {
+ "description": "A serialized FindFullHashesRequest proto.",
+ "format": "byte",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v4/encodedFullHashes/{encodedRequest}",
+ "response": {
+ "$ref": "FindFullHashesResponse"
}
}
}
}
},
- "revision": "20160520",
+ "revision": "20170319",
"rootUrl": "https://safebrowsing.googleapis.com/",
"schemas": {
- "FindThreatMatchesRequest": {
- "description": "Request to check entries against lists.",
- "id": "FindThreatMatchesRequest",
+ "ThreatEntryMetadata": {
+ "description": "The metadata associated with a specific threat entry. The client is expected\nto know the metadata key/value pairs associated with each threat type.",
+ "id": "ThreatEntryMetadata",
+ "properties": {
+ "entries": {
+ "description": "The metadata entries.",
+ "items": {
+ "$ref": "MetadataEntry"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "RawIndices": {
+ "description": "A set of raw indices to remove from a local list.",
+ "id": "RawIndices",
+ "properties": {
+ "indices": {
+ "description": "The indices to remove from a lexicographically-sorted local list.",
+ "items": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "RawHashes": {
+ "description": "The uncompressed threat entries in hash format of a particular prefix length.\nHashes can be anywhere from 4 to 32 bytes in size. A large majority are 4\nbytes, but some hashes are lengthened if they collide with the hash of a\npopular URL.\n\nUsed for sending ThreatEntrySet to clients that do not support compression,\nor when sending non-4-byte hashes to clients that do support compression.",
+ "id": "RawHashes",
+ "properties": {
+ "prefixSize": {
+ "description": "The number of bytes for each prefix encoded below. This field can be\nanywhere from 4 (shortest prefix) to 32 (full SHA256 hash).",
+ "format": "int32",
+ "type": "integer"
+ },
+ "rawHashes": {
+ "description": "The hashes, in binary format, concatenated into one long string. Hashes are\nsorted in lexicographic order. For JSON API users, hashes are\nbase64-encoded.",
+ "format": "byte",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FetchThreatListUpdatesResponse": {
+ "id": "FetchThreatListUpdatesResponse",
+ "properties": {
+ "listUpdateResponses": {
+ "description": "The list updates requested by the clients.",
+ "items": {
+ "$ref": "ListUpdateResponse"
+ },
+ "type": "array"
+ },
+ "minimumWaitDuration": {
+ "description": "The minimum duration the client must wait before issuing any update\nrequest. If this field is not set clients may update as soon as they want.",
+ "format": "google-duration",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Checksum": {
+ "description": "The expected state of a client's local database.",
+ "id": "Checksum",
+ "properties": {
+ "sha256": {
+ "description": "The SHA256 hash of the client state; that is, of the sorted list of all\nhashes present in the database.",
+ "format": "byte",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FindFullHashesResponse": {
+ "id": "FindFullHashesResponse",
+ "properties": {
+ "minimumWaitDuration": {
+ "description": "The minimum duration the client must wait before issuing any find hashes\nrequest. If this field is not set, clients can issue a request as soon as\nthey want.",
+ "format": "google-duration",
+ "type": "string"
+ },
+ "matches": {
+ "description": "The full hashes that matched the requested prefixes.",
+ "items": {
+ "$ref": "ThreatMatch"
+ },
+ "type": "array"
+ },
+ "negativeCacheDuration": {
+ "description": "For requested entities that did not match the threat list, how long to\ncache the response.",
+ "format": "google-duration",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ThreatEntrySet": {
+ "description": "A set of threats that should be added or removed from a client's local\ndatabase.",
+ "id": "ThreatEntrySet",
+ "properties": {
+ "compressionType": {
+ "description": "The compression type for the entries in this set.",
+ "enum": [
+ "COMPRESSION_TYPE_UNSPECIFIED",
+ "RAW",
+ "RICE"
+ ],
+ "enumDescriptions": [
+ "Unknown.",
+ "Raw, uncompressed data.",
+ "Rice-Golomb encoded data."
+ ],
+ "type": "string"
+ },
+ "riceIndices": {
+ "$ref": "RiceDeltaEncoding",
+ "description": "The encoded local, lexicographically-sorted list indices, using a\nGolomb-Rice encoding. Used for sending compressed removal indices. The\nremoval indices (uint32) are sorted in ascending order, then delta encoded\nand stored as encoded_data."
+ },
+ "rawIndices": {
+ "$ref": "RawIndices",
+ "description": "The raw removal indices for a local list."
+ },
+ "rawHashes": {
+ "$ref": "RawHashes",
+ "description": "The raw SHA256-formatted entries."
+ },
+ "riceHashes": {
+ "$ref": "RiceDeltaEncoding",
+ "description": "The encoded 4-byte prefixes of SHA256-formatted entries, using a\nGolomb-Rice encoding. The hashes are converted to uint32, sorted in\nascending order, then delta encoded and stored as encoded_data."
+ }
+ },
+ "type": "object"
+ },
+ "FindFullHashesRequest": {
+ "description": "Request to return full hashes matched by the provided hash prefixes.",
+ "id": "FindFullHashesRequest",
"properties": {
"client": {
"$ref": "ClientInfo",
@@ -171,7 +393,517 @@
},
"threatInfo": {
"$ref": "ThreatInfo",
- "description": "The lists and entries to be checked for matches."
+ "description": "The lists and hashes to be checked."
+ },
+ "apiClient": {
+ "$ref": "ClientInfo",
+ "description": "Client metadata associated with callers of higher-level APIs built on top\nof the client's implementation."
+ },
+ "clientStates": {
+ "description": "The current client states for each of the client's local threat lists.",
+ "items": {
+ "format": "byte",
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListUpdateRequest": {
+ "description": "A single list update request.",
+ "id": "ListUpdateRequest",
+ "properties": {
+ "state": {
+ "description": "The current state of the client for the requested list (the encrypted\nclient state that was received from the last successful list update).",
+ "format": "byte",
+ "type": "string"
+ },
+ "platformType": {
+ "description": "The type of platform at risk by entries present in the list.",
+ "enum": [
+ "PLATFORM_TYPE_UNSPECIFIED",
+ "WINDOWS",
+ "LINUX",
+ "ANDROID",
+ "OSX",
+ "IOS",
+ "ANY_PLATFORM",
+ "ALL_PLATFORMS",
+ "CHROME"
+ ],
+ "enumDescriptions": [
+ "Unknown platform.",
+ "Threat posed to Windows.",
+ "Threat posed to Linux.",
+ "Threat posed to Android.",
+ "Threat posed to OS X.",
+ "Threat posed to iOS.",
+ "Threat posed to at least one of the defined platforms.",
+ "Threat posed to all defined platforms.",
+ "Threat posed to Chrome."
+ ],
+ "type": "string"
+ },
+ "threatType": {
+ "description": "The type of threat posed by entries present in the list.",
+ "enum": [
+ "THREAT_TYPE_UNSPECIFIED",
+ "MALWARE",
+ "SOCIAL_ENGINEERING",
+ "UNWANTED_SOFTWARE",
+ "POTENTIALLY_HARMFUL_APPLICATION"
+ ],
+ "enumDescriptions": [
+ "Unknown.",
+ "Malware threat type.",
+ "Social engineering threat type.",
+ "Unwanted software threat type.",
+ "Potentially harmful application threat type."
+ ],
+ "type": "string"
+ },
+ "constraints": {
+ "$ref": "Constraints",
+ "description": "The constraints associated with this request."
+ },
+ "threatEntryType": {
+ "description": "The types of entries present in the list.",
+ "enum": [
+ "THREAT_ENTRY_TYPE_UNSPECIFIED",
+ "URL",
+ "EXECUTABLE",
+ "IP_RANGE",
+ "CHROME_EXTENSION",
+ "FILENAME",
+ "CERT"
+ ],
+ "enumDescriptions": [
+ "Unspecified.",
+ "A URL.",
+ "An executable program.",
+ "An IP range.",
+ "Chrome extension.",
+ "Filename.",
+ "CERT"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FetchThreatListUpdatesRequest": {
+ "description": "Describes a Safe Browsing API update request. Clients can request updates for\nmultiple lists in a single request.\nNOTE: Field index 2 is unused.\nNEXT: 5",
+ "id": "FetchThreatListUpdatesRequest",
+ "properties": {
+ "listUpdateRequests": {
+ "description": "The requested threat list updates.",
+ "items": {
+ "$ref": "ListUpdateRequest"
+ },
+ "type": "array"
+ },
+ "client": {
+ "$ref": "ClientInfo",
+ "description": "The client metadata."
+ }
+ },
+ "type": "object"
+ },
+ "ListUpdateResponse": {
+ "description": "An update to an individual list.",
+ "id": "ListUpdateResponse",
+ "properties": {
+ "platformType": {
+ "description": "The platform type for which data is returned.",
+ "enum": [
+ "PLATFORM_TYPE_UNSPECIFIED",
+ "WINDOWS",
+ "LINUX",
+ "ANDROID",
+ "OSX",
+ "IOS",
+ "ANY_PLATFORM",
+ "ALL_PLATFORMS",
+ "CHROME"
+ ],
+ "enumDescriptions": [
+ "Unknown platform.",
+ "Threat posed to Windows.",
+ "Threat posed to Linux.",
+ "Threat posed to Android.",
+ "Threat posed to OS X.",
+ "Threat posed to iOS.",
+ "Threat posed to at least one of the defined platforms.",
+ "Threat posed to all defined platforms.",
+ "Threat posed to Chrome."
+ ],
+ "type": "string"
+ },
+ "threatEntryType": {
+ "description": "The format of the threats.",
+ "enum": [
+ "THREAT_ENTRY_TYPE_UNSPECIFIED",
+ "URL",
+ "EXECUTABLE",
+ "IP_RANGE",
+ "CHROME_EXTENSION",
+ "FILENAME",
+ "CERT"
+ ],
+ "enumDescriptions": [
+ "Unspecified.",
+ "A URL.",
+ "An executable program.",
+ "An IP range.",
+ "Chrome extension.",
+ "Filename.",
+ "CERT"
+ ],
+ "type": "string"
+ },
+ "additions": {
+ "description": "A set of entries to add to a local threat type's list. Repeated to allow\nfor a combination of compressed and raw data to be sent in a single\nresponse.",
+ "items": {
+ "$ref": "ThreatEntrySet"
+ },
+ "type": "array"
+ },
+ "checksum": {
+ "$ref": "Checksum",
+ "description": "The expected SHA256 hash of the client state; that is, of the sorted list\nof all hashes present in the database after applying the provided update.\nIf the client state doesn't match the expected state, the client must\ndisregard this update and retry later."
+ },
+ "responseType": {
+ "description": "The type of response. This may indicate that an action is required by the\nclient when the response is received.",
+ "enum": [
+ "RESPONSE_TYPE_UNSPECIFIED",
+ "PARTIAL_UPDATE",
+ "FULL_UPDATE"
+ ],
+ "enumDescriptions": [
+ "Unknown.",
+ "Partial updates are applied to the client's existing local database.",
+ "Full updates replace the client's entire local database. This means\nthat either the client was seriously out-of-date or the client is\nbelieved to be corrupt."
+ ],
+ "type": "string"
+ },
+ "threatType": {
+ "description": "The threat type for which data is returned.",
+ "enum": [
+ "THREAT_TYPE_UNSPECIFIED",
+ "MALWARE",
+ "SOCIAL_ENGINEERING",
+ "UNWANTED_SOFTWARE",
+ "POTENTIALLY_HARMFUL_APPLICATION"
+ ],
+ "enumDescriptions": [
+ "Unknown.",
+ "Malware threat type.",
+ "Social engineering threat type.",
+ "Unwanted software threat type.",
+ "Potentially harmful application threat type."
+ ],
+ "type": "string"
+ },
+ "newClientState": {
+ "description": "The new client state, in encrypted format. Opaque to clients.",
+ "format": "byte",
+ "type": "string"
+ },
+ "removals": {
+ "description": "A set of entries to remove from a local threat type's list. In practice,\nthis field is empty or contains exactly one ThreatEntrySet.",
+ "items": {
+ "$ref": "ThreatEntrySet"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Constraints": {
+ "description": "The constraints for this update.",
+ "id": "Constraints",
+ "properties": {
+ "maxDatabaseEntries": {
+ "description": "Sets the maximum number of entries that the client is willing to have\nin the local database. This should be a power of 2 between 2**10 and\n2**20. If zero, no database size limit is set.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "region": {
+ "description": "Requests the list for a specific geographic location. If not set the\nserver may pick that value based on the user's IP address. Expects ISO\n3166-1 alpha-2 format.",
+ "type": "string"
+ },
+ "supportedCompressions": {
+ "description": "The compression types supported by the client.",
+ "enumDescriptions": [
+ "Unknown.",
+ "Raw, uncompressed data.",
+ "Rice-Golomb encoded data."
+ ],
+ "items": {
+ "enum": [
+ "COMPRESSION_TYPE_UNSPECIFIED",
+ "RAW",
+ "RICE"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "maxUpdateEntries": {
+ "description": "The maximum size in number of entries. The update will not contain more\nentries than this value. This should be a power of 2 between 2**10 and\n2**20. If zero, no update size limit is set.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "ThreatMatch": {
+ "description": "A match when checking a threat entry in the Safe Browsing threat lists.",
+ "id": "ThreatMatch",
+ "properties": {
+ "cacheDuration": {
+ "description": "The cache lifetime for the returned match. Clients must not cache this\nresponse for more than this duration to avoid false positives.",
+ "format": "google-duration",
+ "type": "string"
+ },
+ "threatType": {
+ "description": "The threat type matching this threat.",
+ "enum": [
+ "THREAT_TYPE_UNSPECIFIED",
+ "MALWARE",
+ "SOCIAL_ENGINEERING",
+ "UNWANTED_SOFTWARE",
+ "POTENTIALLY_HARMFUL_APPLICATION"
+ ],
+ "enumDescriptions": [
+ "Unknown.",
+ "Malware threat type.",
+ "Social engineering threat type.",
+ "Unwanted software threat type.",
+ "Potentially harmful application threat type."
+ ],
+ "type": "string"
+ },
+ "threatEntryMetadata": {
+ "$ref": "ThreatEntryMetadata",
+ "description": "Optional metadata associated with this threat."
+ },
+ "threat": {
+ "$ref": "ThreatEntry",
+ "description": "The threat matching this threat."
+ },
+ "platformType": {
+ "description": "The platform type matching this threat.",
+ "enum": [
+ "PLATFORM_TYPE_UNSPECIFIED",
+ "WINDOWS",
+ "LINUX",
+ "ANDROID",
+ "OSX",
+ "IOS",
+ "ANY_PLATFORM",
+ "ALL_PLATFORMS",
+ "CHROME"
+ ],
+ "enumDescriptions": [
+ "Unknown platform.",
+ "Threat posed to Windows.",
+ "Threat posed to Linux.",
+ "Threat posed to Android.",
+ "Threat posed to OS X.",
+ "Threat posed to iOS.",
+ "Threat posed to at least one of the defined platforms.",
+ "Threat posed to all defined platforms.",
+ "Threat posed to Chrome."
+ ],
+ "type": "string"
+ },
+ "threatEntryType": {
+ "description": "The threat entry type matching this threat.",
+ "enum": [
+ "THREAT_ENTRY_TYPE_UNSPECIFIED",
+ "URL",
+ "EXECUTABLE",
+ "IP_RANGE",
+ "CHROME_EXTENSION",
+ "FILENAME",
+ "CERT"
+ ],
+ "enumDescriptions": [
+ "Unspecified.",
+ "A URL.",
+ "An executable program.",
+ "An IP range.",
+ "Chrome extension.",
+ "Filename.",
+ "CERT"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RiceDeltaEncoding": {
+ "description": "The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or\ncompressed removal indices.",
+ "id": "RiceDeltaEncoding",
+ "properties": {
+ "firstValue": {
+ "description": "The offset of the first entry in the encoded data, or, if only a single\ninteger was encoded, that single integer's value.",
+ "format": "int64",
+ "type": "string"
+ },
+ "encodedData": {
+ "description": "The encoded deltas that are encoded using the Golomb-Rice coder.",
+ "format": "byte",
+ "type": "string"
+ },
+ "numEntries": {
+ "description": "The number of entries that are delta encoded in the encoded data. If only a\nsingle integer was encoded, this will be zero and the single value will be\nstored in `first_value`.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "riceParameter": {
+ "description": "The Golomb-Rice parameter, which is a number between 2 and 28. This field\nis missing (that is, zero) if `num_entries` is zero.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "ListThreatListsResponse": {
+ "id": "ListThreatListsResponse",
+ "properties": {
+ "threatLists": {
+ "description": "The lists available for download by the client.",
+ "items": {
+ "$ref": "ThreatListDescriptor"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "FindThreatMatchesResponse": {
+ "id": "FindThreatMatchesResponse",
+ "properties": {
+ "matches": {
+ "description": "The threat list matches.",
+ "items": {
+ "$ref": "ThreatMatch"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ThreatEntry": {
+ "description": "An individual threat; for example, a malicious URL or its hash\nrepresentation. Only one of these fields should be set.",
+ "id": "ThreatEntry",
+ "properties": {
+ "digest": {
+ "description": "The digest of an executable in SHA256 format. The API supports both\nbinary and hex digests. For JSON requests, digests are base64-encoded.",
+ "format": "byte",
+ "type": "string"
+ },
+ "hash": {
+ "description": "A hash prefix, consisting of the most significant 4-32 bytes of a SHA256\nhash. This field is in binary format. For JSON requests, hashes are\nbase64-encoded.",
+ "format": "byte",
+ "type": "string"
+ },
+ "url": {
+ "description": "A URL.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ThreatListDescriptor": {
+ "description": "Describes an individual threat list. A list is defined by three parameters:\nthe type of threat posed, the type of platform targeted by the threat, and\nthe type of entries in the list.",
+ "id": "ThreatListDescriptor",
+ "properties": {
+ "platformType": {
+ "description": "The platform type targeted by the list's entries.",
+ "enum": [
+ "PLATFORM_TYPE_UNSPECIFIED",
+ "WINDOWS",
+ "LINUX",
+ "ANDROID",
+ "OSX",
+ "IOS",
+ "ANY_PLATFORM",
+ "ALL_PLATFORMS",
+ "CHROME"
+ ],
+ "enumDescriptions": [
+ "Unknown platform.",
+ "Threat posed to Windows.",
+ "Threat posed to Linux.",
+ "Threat posed to Android.",
+ "Threat posed to OS X.",
+ "Threat posed to iOS.",
+ "Threat posed to at least one of the defined platforms.",
+ "Threat posed to all defined platforms.",
+ "Threat posed to Chrome."
+ ],
+ "type": "string"
+ },
+ "threatType": {
+ "description": "The threat type posed by the list's entries.",
+ "enum": [
+ "THREAT_TYPE_UNSPECIFIED",
+ "MALWARE",
+ "SOCIAL_ENGINEERING",
+ "UNWANTED_SOFTWARE",
+ "POTENTIALLY_HARMFUL_APPLICATION"
+ ],
+ "enumDescriptions": [
+ "Unknown.",
+ "Malware threat type.",
+ "Social engineering threat type.",
+ "Unwanted software threat type.",
+ "Potentially harmful application threat type."
+ ],
+ "type": "string"
+ },
+ "threatEntryType": {
+ "description": "The entry types contained in the list.",
+ "enum": [
+ "THREAT_ENTRY_TYPE_UNSPECIFIED",
+ "URL",
+ "EXECUTABLE",
+ "IP_RANGE",
+ "CHROME_EXTENSION",
+ "FILENAME",
+ "CERT"
+ ],
+ "enumDescriptions": [
+ "Unspecified.",
+ "A URL.",
+ "An executable program.",
+ "An IP range.",
+ "Chrome extension.",
+ "Filename.",
+ "CERT"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "MetadataEntry": {
+ "description": "A single metadata entry.",
+ "id": "MetadataEntry",
+ "properties": {
+ "value": {
+ "description": "The metadata entry value. For JSON requests, the value is base64-encoded.",
+ "format": "byte",
+ "type": "string"
+ },
+ "key": {
+ "description": "The metadata entry key. For JSON requests, the key is base64-encoded.",
+ "format": "byte",
+ "type": "string"
}
},
"type": "object"
@@ -180,42 +912,21 @@
"description": "The client metadata associated with Safe Browsing API requests.",
"id": "ClientInfo",
"properties": {
- "clientId": {
- "description": "A client ID that (hopefully) uniquely identifies the client implementation of the Safe Browsing API.",
- "type": "string"
- },
"clientVersion": {
"description": "The version of the client implementation.",
"type": "string"
+ },
+ "clientId": {
+ "description": "A client ID that (hopefully) uniquely identifies the client implementation\nof the Safe Browsing API.",
+ "type": "string"
}
},
"type": "object"
},
"ThreatInfo": {
- "description": "The information regarding one or more threats that a client submits when checking for matches in threat lists.",
+ "description": "The information regarding one or more threats that a client submits when\nchecking for matches in threat lists.",
"id": "ThreatInfo",
"properties": {
- "threatTypes": {
- "description": "The threat types to be checked.",
- "enumDescriptions": [
- "Unknown.",
- "Malware threat type.",
- "Social engineering threat type.",
- "Unwanted software threat type.",
- "Potentially harmful application threat type."
- ],
- "items": {
- "enum": [
- "THREAT_TYPE_UNSPECIFIED",
- "MALWARE",
- "SOCIAL_ENGINEERING",
- "UNWANTED_SOFTWARE",
- "POTENTIALLY_HARMFUL_APPLICATION"
- ],
- "type": "string"
- },
- "type": "array"
- },
"platformTypes": {
"description": "The platform types to be checked.",
"enumDescriptions": [
@@ -245,255 +956,54 @@
},
"type": "array"
},
- "threatEntryTypes": {
- "description": "The entry types to be checked.",
- "enumDescriptions": [
- "Unspecified.",
- "A URL.",
- "An executable program.",
- "An IP range."
- ],
- "items": {
- "enum": [
- "THREAT_ENTRY_TYPE_UNSPECIFIED",
- "URL",
- "EXECUTABLE",
- "IP_RANGE"
- ],
- "type": "string"
- },
- "type": "array"
- },
"threatEntries": {
"description": "The threat entries to be checked.",
"items": {
"$ref": "ThreatEntry"
},
"type": "array"
- }
- },
- "type": "object"
- },
- "ThreatEntry": {
- "description": "An individual threat; for example, a malicious URL or its hash representation. Only one of these fields should be set.",
- "id": "ThreatEntry",
- "properties": {
- "hash": {
- "description": "A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. This field is in binary format.",
- "format": "byte",
- "type": "string"
},
- "url": {
- "description": "A URL.",
- "type": "string"
- },
- "digest": {
- "description": "The digest of an executable in SHA256 format. The API supports both binary and hex digests.",
- "format": "byte",
- "type": "string"
- }
- },
- "type": "object"
- },
- "FindThreatMatchesResponse": {
- "id": "FindThreatMatchesResponse",
- "properties": {
- "matches": {
- "description": "The threat list matches.",
- "items": {
- "$ref": "ThreatMatch"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "ThreatMatch": {
- "description": "A match when checking a threat entry in the Safe Browsing threat lists.",
- "id": "ThreatMatch",
- "properties": {
- "threatType": {
- "description": "The threat type matching this threat.",
- "enum": [
- "THREAT_TYPE_UNSPECIFIED",
- "MALWARE",
- "SOCIAL_ENGINEERING",
- "UNWANTED_SOFTWARE",
- "POTENTIALLY_HARMFUL_APPLICATION"
- ],
- "type": "string"
- },
- "platformType": {
- "description": "The platform type matching this threat.",
- "enum": [
- "PLATFORM_TYPE_UNSPECIFIED",
- "WINDOWS",
- "LINUX",
- "ANDROID",
- "OSX",
- "IOS",
- "ANY_PLATFORM",
- "ALL_PLATFORMS",
- "CHROME"
- ],
- "type": "string"
- },
- "threatEntryType": {
- "description": "The threat entry type matching this threat.",
- "enum": [
- "THREAT_ENTRY_TYPE_UNSPECIFIED",
- "URL",
- "EXECUTABLE",
- "IP_RANGE"
- ],
- "type": "string"
- },
- "threat": {
- "$ref": "ThreatEntry",
- "description": "The threat matching this threat."
- },
- "threatEntryMetadata": {
- "$ref": "ThreatEntryMetadata",
- "description": "Optional metadata associated with this threat."
- },
- "cacheDuration": {
- "description": "The cache lifetime for the returned match. Clients must not cache this response for more than this duration to avoid false positives.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ThreatEntryMetadata": {
- "description": "The metadata associated with a specific threat entry. The client is expected to know the metadata key/value pairs associated with each threat type.",
- "id": "ThreatEntryMetadata",
- "properties": {
- "entries": {
- "description": "The metadata entries.",
- "items": {
- "$ref": "MetadataEntry"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "MetadataEntry": {
- "description": "A single metadata entry.",
- "id": "MetadataEntry",
- "properties": {
- "key": {
- "description": "The metadata entry key.",
- "format": "byte",
- "type": "string"
- },
- "value": {
- "description": "The metadata entry value.",
- "format": "byte",
- "type": "string"
- }
- },
- "type": "object"
- },
- "FetchThreatListUpdatesRequest": {
- "description": "Describes a Safe Browsing API update request. Clients can request updates for multiple lists in a single request. NOTE: Field index 2 is unused. NEXT: 4",
- "id": "FetchThreatListUpdatesRequest",
- "properties": {
- "client": {
- "$ref": "ClientInfo",
- "description": "The client metadata."
- },
- "listUpdateRequests": {
- "description": "The requested threat list updates.",
- "items": {
- "$ref": "ListUpdateRequest"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "ListUpdateRequest": {
- "description": "A single list update request.",
- "id": "ListUpdateRequest",
- "properties": {
- "threatType": {
- "description": "The type of threat posed by entries present in the list.",
- "enum": [
- "THREAT_TYPE_UNSPECIFIED",
- "MALWARE",
- "SOCIAL_ENGINEERING",
- "UNWANTED_SOFTWARE",
- "POTENTIALLY_HARMFUL_APPLICATION"
- ],
- "type": "string"
- },
- "platformType": {
- "description": "The type of platform at risk by entries present in the list.",
- "enum": [
- "PLATFORM_TYPE_UNSPECIFIED",
- "WINDOWS",
- "LINUX",
- "ANDROID",
- "OSX",
- "IOS",
- "ANY_PLATFORM",
- "ALL_PLATFORMS",
- "CHROME"
- ],
- "type": "string"
- },
- "threatEntryType": {
- "description": "The types of entries present in the list.",
- "enum": [
- "THREAT_ENTRY_TYPE_UNSPECIFIED",
- "URL",
- "EXECUTABLE",
- "IP_RANGE"
- ],
- "type": "string"
- },
- "state": {
- "description": "The current state of the client for the requested list (the encrypted client state that was received from the last successful list update).",
- "format": "byte",
- "type": "string"
- },
- "constraints": {
- "$ref": "Constraints",
- "description": "The constraints associated with this request."
- }
- },
- "type": "object"
- },
- "Constraints": {
- "description": "The constraints for this update.",
- "id": "Constraints",
- "properties": {
- "maxUpdateEntries": {
- "description": "The maximum size in number of entries. The update will not contain more entries than this value. This should be a power of 2 between 2**10 and 2**20. If zero, no update size limit is set.",
- "format": "int32",
- "type": "integer"
- },
- "maxDatabaseEntries": {
- "description": "Sets the maximum number of entries that the client is willing to have in the local database. This should be a power of 2 between 2**10 and 2**20. If zero, no database size limit is set.",
- "format": "int32",
- "type": "integer"
- },
- "region": {
- "description": "Requests the list for a specific geographic location. If not set the server may pick that value based on the user's IP address. Expects ISO 3166-1 alpha-2 format.",
- "type": "string"
- },
- "supportedCompressions": {
- "description": "The compression types supported by the client.",
+ "threatEntryTypes": {
+ "description": "The entry types to be checked.",
"enumDescriptions": [
- "Unknown.",
- "Raw, uncompressed data.",
- "Rice-Golomb encoded data."
+ "Unspecified.",
+ "A URL.",
+ "An executable program.",
+ "An IP range.",
+ "Chrome extension.",
+ "Filename.",
+ "CERT"
],
"items": {
"enum": [
- "COMPRESSION_TYPE_UNSPECIFIED",
- "RAW",
- "RICE"
+ "THREAT_ENTRY_TYPE_UNSPECIFIED",
+ "URL",
+ "EXECUTABLE",
+ "IP_RANGE",
+ "CHROME_EXTENSION",
+ "FILENAME",
+ "CERT"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "threatTypes": {
+ "description": "The threat types to be checked.",
+ "enumDescriptions": [
+ "Unknown.",
+ "Malware threat type.",
+ "Social engineering threat type.",
+ "Unwanted software threat type.",
+ "Potentially harmful application threat type."
+ ],
+ "items": {
+ "enum": [
+ "THREAT_TYPE_UNSPECIFIED",
+ "MALWARE",
+ "SOCIAL_ENGINEERING",
+ "UNWANTED_SOFTWARE",
+ "POTENTIALLY_HARMFUL_APPLICATION"
],
"type": "string"
},
@@ -502,303 +1012,23 @@
},
"type": "object"
},
- "FetchThreatListUpdatesResponse": {
- "id": "FetchThreatListUpdatesResponse",
- "properties": {
- "listUpdateResponses": {
- "description": "The list updates requested by the clients.",
- "items": {
- "$ref": "ListUpdateResponse"
- },
- "type": "array"
- },
- "minimumWaitDuration": {
- "description": "The minimum duration the client must wait before issuing any update request. If this field is not set clients may update as soon as they want.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListUpdateResponse": {
- "description": "An update to an individual list.",
- "id": "ListUpdateResponse",
- "properties": {
- "threatType": {
- "description": "The threat type for which data is returned.",
- "enum": [
- "THREAT_TYPE_UNSPECIFIED",
- "MALWARE",
- "SOCIAL_ENGINEERING",
- "UNWANTED_SOFTWARE",
- "POTENTIALLY_HARMFUL_APPLICATION"
- ],
- "type": "string"
- },
- "threatEntryType": {
- "description": "The format of the threats.",
- "enum": [
- "THREAT_ENTRY_TYPE_UNSPECIFIED",
- "URL",
- "EXECUTABLE",
- "IP_RANGE"
- ],
- "type": "string"
- },
- "platformType": {
- "description": "The platform type for which data is returned.",
- "enum": [
- "PLATFORM_TYPE_UNSPECIFIED",
- "WINDOWS",
- "LINUX",
- "ANDROID",
- "OSX",
- "IOS",
- "ANY_PLATFORM",
- "ALL_PLATFORMS",
- "CHROME"
- ],
- "type": "string"
- },
- "responseType": {
- "description": "The type of response. This may indicate that an action is required by the client when the response is received.",
- "enum": [
- "RESPONSE_TYPE_UNSPECIFIED",
- "PARTIAL_UPDATE",
- "FULL_UPDATE"
- ],
- "type": "string"
- },
- "additions": {
- "description": "A set of entries to add to a local threat type's list. Repeated to allow for a combination of compressed and raw data to be sent in a single response.",
- "items": {
- "$ref": "ThreatEntrySet"
- },
- "type": "array"
- },
- "removals": {
- "description": "A set of entries to remove from a local threat type's list. Repeated for the same reason as above.",
- "items": {
- "$ref": "ThreatEntrySet"
- },
- "type": "array"
- },
- "newClientState": {
- "description": "The new client state, in encrypted format. Opaque to clients.",
- "format": "byte",
- "type": "string"
- },
- "checksum": {
- "$ref": "Checksum",
- "description": "The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided update. If the client state doesn't match the expected state, the client must disregard this update and retry later."
- }
- },
- "type": "object"
- },
- "ThreatEntrySet": {
- "description": "A set of threats that should be added or removed from a client's local database.",
- "id": "ThreatEntrySet",
- "properties": {
- "compressionType": {
- "description": "The compression type for the entries in this set.",
- "enum": [
- "COMPRESSION_TYPE_UNSPECIFIED",
- "RAW",
- "RICE"
- ],
- "type": "string"
- },
- "rawHashes": {
- "$ref": "RawHashes",
- "description": "The raw SHA256-formatted entries."
- },
- "rawIndices": {
- "$ref": "RawIndices",
- "description": "The raw removal indices for a local list."
- },
- "riceHashes": {
- "$ref": "RiceDeltaEncoding",
- "description": "The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding."
- },
- "riceIndices": {
- "$ref": "RiceDeltaEncoding",
- "description": "The encoded local, lexicographically-sorted list indices, using a Golomb-Rice encoding. Used for sending compressed removal indices."
- }
- },
- "type": "object"
- },
- "RawHashes": {
- "description": "The uncompressed threat entries in hash format of a particular prefix length. Hashes can be anywhere from 4 to 32 bytes in size. A large majority are 4 bytes, but some hashes are lengthened if they collide with the hash of a popular URL. Used for sending ThreatEntrySet to clients that do not support compression, or when sending non-4-byte hashes to clients that do support compression.",
- "id": "RawHashes",
- "properties": {
- "prefixSize": {
- "description": "The number of bytes for each prefix encoded below. This field can be anywhere from 4 (shortest prefix) to 32 (full SHA256 hash).",
- "format": "int32",
- "type": "integer"
- },
- "rawHashes": {
- "description": "The hashes, all concatenated into one long string. Each hash has a prefix size of |prefix_size| above. Hashes are sorted in lexicographic order.",
- "format": "byte",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RawIndices": {
- "description": "A set of raw indices to remove from a local list.",
- "id": "RawIndices",
- "properties": {
- "indices": {
- "description": "The indices to remove from a lexicographically-sorted local list.",
- "items": {
- "format": "int32",
- "type": "integer"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "RiceDeltaEncoding": {
- "description": "The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or compressed removal indices.",
- "id": "RiceDeltaEncoding",
- "properties": {
- "firstValue": {
- "description": "The offset of the first entry in the encoded data, or, if only a single integer was encoded, that single integer's value.",
- "format": "int64",
- "type": "string"
- },
- "riceParameter": {
- "description": "The Golomb-Rice parameter, which is a number between 2 and 28. This field is missing (that is, zero) if `num_entries` is zero.",
- "format": "int32",
- "type": "integer"
- },
- "numEntries": {
- "description": "The number of entries that are delta encoded in the encoded data. If only a single integer was encoded, this will be zero and the single value will be stored in `first_value`.",
- "format": "int32",
- "type": "integer"
- },
- "encodedData": {
- "description": "The encoded deltas that are encoded using the Golomb-Rice coder.",
- "format": "byte",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Checksum": {
- "description": "The expected state of a client's local database.",
- "id": "Checksum",
- "properties": {
- "sha256": {
- "description": "The SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database.",
- "format": "byte",
- "type": "string"
- }
- },
- "type": "object"
- },
- "FindFullHashesRequest": {
- "description": "Request to return full hashes matched by the provided hash prefixes.",
- "id": "FindFullHashesRequest",
+ "FindThreatMatchesRequest": {
+ "description": "Request to check entries against lists.",
+ "id": "FindThreatMatchesRequest",
"properties": {
"client": {
"$ref": "ClientInfo",
"description": "The client metadata."
},
- "clientStates": {
- "description": "The current client states for each of the client's local threat lists.",
- "items": {
- "format": "byte",
- "type": "string"
- },
- "type": "array"
- },
"threatInfo": {
"$ref": "ThreatInfo",
- "description": "The lists and hashes to be checked."
- }
- },
- "type": "object"
- },
- "FindFullHashesResponse": {
- "id": "FindFullHashesResponse",
- "properties": {
- "matches": {
- "description": "The full hashes that matched the requested prefixes.",
- "items": {
- "$ref": "ThreatMatch"
- },
- "type": "array"
- },
- "minimumWaitDuration": {
- "description": "The minimum duration the client must wait before issuing any find hashes request. If this field is not set, clients can issue a request as soon as they want.",
- "type": "string"
- },
- "negativeCacheDuration": {
- "description": "For requested entities that did not match the threat list, how long to cache the response.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListThreatListsResponse": {
- "id": "ListThreatListsResponse",
- "properties": {
- "threatLists": {
- "description": "The lists available for download by the client.",
- "items": {
- "$ref": "ThreatListDescriptor"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "ThreatListDescriptor": {
- "description": "Describes an individual threat list. A list is defined by three parameters: the type of threat posed, the type of platform targeted by the threat, and the type of entries in the list.",
- "id": "ThreatListDescriptor",
- "properties": {
- "threatType": {
- "description": "The threat type posed by the list's entries.",
- "enum": [
- "THREAT_TYPE_UNSPECIFIED",
- "MALWARE",
- "SOCIAL_ENGINEERING",
- "UNWANTED_SOFTWARE",
- "POTENTIALLY_HARMFUL_APPLICATION"
- ],
- "type": "string"
- },
- "platformType": {
- "description": "The platform type targeted by the list's entries.",
- "enum": [
- "PLATFORM_TYPE_UNSPECIFIED",
- "WINDOWS",
- "LINUX",
- "ANDROID",
- "OSX",
- "IOS",
- "ANY_PLATFORM",
- "ALL_PLATFORMS",
- "CHROME"
- ],
- "type": "string"
- },
- "threatEntryType": {
- "description": "The entry types contained in the list.",
- "enum": [
- "THREAT_ENTRY_TYPE_UNSPECIFIED",
- "URL",
- "EXECUTABLE",
- "IP_RANGE"
- ],
- "type": "string"
+ "description": "The lists and entries to be checked for matches."
}
},
"type": "object"
}
},
"servicePath": "",
- "title": "Safe Browsing APIs",
+ "title": "Google Safe Browsing API",
"version": "v4"
}
\ No newline at end of file
diff --git a/discovery/googleapis/script__v1.json b/discovery/googleapis/script__v1.json
index 88d9bea..556c84c 100644
--- a/discovery/googleapis/script__v1.json
+++ b/discovery/googleapis/script__v1.json
@@ -2,15 +2,6 @@
"auth": {
"oauth2": {
"scopes": {
- "https://www.google.com/m8/feeds": {
- "description": "Manage your contacts"
- },
- "https://www.googleapis.com/auth/userinfo.email": {
- "description": "View your email address"
- },
- "https://www.google.com/calendar/feeds": {
- "description": "Manage your calendars"
- },
"https://www.googleapis.com/auth/groups": {
"description": "View and manage your Google Groups"
},
@@ -20,20 +11,29 @@
"https://www.googleapis.com/auth/drive": {
"description": "View and manage the files in your Google Drive"
},
- "https://www.googleapis.com/auth/spreadsheets": {
- "description": "View and manage your spreadsheets in Google Drive"
- },
- "https://mail.google.com/": {
- "description": "View and manage your mail"
- },
"https://www.googleapis.com/auth/admin.directory.group": {
"description": "View and manage the provisioning of groups on your domain"
},
"https://www.googleapis.com/auth/admin.directory.user": {
"description": "View and manage the provisioning of users on your domain"
},
+ "https://mail.google.com/": {
+ "description": "Read, send, delete, and manage your email"
+ },
+ "https://www.googleapis.com/auth/spreadsheets": {
+ "description": "View and manage your spreadsheets in Google Drive"
+ },
"https://www.googleapis.com/auth/forms": {
"description": "View and manage your forms in Google Drive"
+ },
+ "https://www.google.com/m8/feeds": {
+ "description": "Manage your contacts"
+ },
+ "https://www.googleapis.com/auth/userinfo.email": {
+ "description": "View your email address"
+ },
+ "https://www.google.com/calendar/feeds": {
+ "description": "Manage your calendars"
}
}
}
@@ -54,32 +54,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "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"
- },
- "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"
- },
- "access_token": {
- "description": "OAuth access token.",
- "location": "query",
- "type": "string"
- },
"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",
@@ -122,6 +96,11 @@
"location": "query",
"type": "string"
},
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"$.xgafv": {
"description": "V1 error format.",
"enum": [
@@ -135,8 +114,29 @@
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
+ "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"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "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"
}
@@ -184,7 +184,7 @@
}
}
},
- "revision": "20170301",
+ "revision": "20170321",
"rootUrl": "https://script.googleapis.com/",
"schemas": {
"ExecutionResponse": {
@@ -202,6 +202,14 @@
"description": "The response will not arrive until the function finishes executing. The maximum runtime is listed in the guide to [limitations in Apps Script](https://developers.google.com/apps-script/guides/services/quotas#current_limitations).\n<p>If the script function returns successfully, the `response` field will contain an `ExecutionResponse` object with the function's return value in the object's `result` field.</p>\n<p>If the script function (or Apps Script itself) throws an exception, the `error` field will contain a `Status` object. The `Status` object's `details` field will contain an array with a single `ExecutionError` object that provides information about the nature of the error.</p>\n<p>If the `run` call itself fails (for example, because of a malformed request or an authorization error), the method will return an HTTP response code in the 4XX range with a different format for the response body. Client libraries will automatically convert a 4XX response into an exception class.</p>",
"id": "Operation",
"properties": {
+ "response": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "If the script function returns successfully, this field will contain an `ExecutionResponse` object with the function's return value as the object's `result` field.",
+ "type": "object"
+ },
"name": {
"description": "This field is not used.",
"type": "string"
@@ -221,14 +229,6 @@
"done": {
"description": "This field is not used.",
"type": "boolean"
- },
- "response": {
- "additionalProperties": {
- "description": "Properties of the object. Contains field @type with type URL.",
- "type": "any"
- },
- "description": "If the script function returns successfully, this field will contain an `ExecutionResponse` object with the function's return value as the object's `result` field.",
- "type": "object"
}
},
"type": "object"
@@ -237,14 +237,14 @@
"description": "A stack trace through the script that shows where the execution failed.",
"id": "ScriptStackTraceElement",
"properties": {
+ "function": {
+ "description": "The name of the function that failed.",
+ "type": "string"
+ },
"lineNumber": {
"description": "The line number where the script failed.",
"format": "int32",
"type": "integer"
- },
- "function": {
- "description": "The name of the function that failed.",
- "type": "string"
}
},
"type": "object"
@@ -275,6 +275,10 @@
"description": "If a `run` call succeeds but the script function (or Apps Script itself) throws an exception, the response body's `error` field will contain this `Status` object.",
"id": "Status",
"properties": {
+ "message": {
+ "description": "A developer-facing error message, which is in English. Any user-facing error message is localized and sent in the [`google.rpc.Status.details`](google.rpc.Status.details) field, or localized by the client.",
+ "type": "string"
+ },
"details": {
"description": "An array that contains a single `ExecutionError` object that provides information about the nature of the error.",
"items": {
@@ -290,10 +294,6 @@
"description": "The status code. For this API, this value will always be 3, corresponding to an INVALID_ARGUMENT error.",
"format": "int32",
"type": "integer"
- },
- "message": {
- "description": "A developer-facing error message, which is in English. Any user-facing error message is localized and sent in the [`google.rpc.Status.details`](google.rpc.Status.details) field, or localized by the client.",
- "type": "string"
}
},
"type": "object"
diff --git a/discovery/googleapis/searchconsole__v1.json b/discovery/googleapis/searchconsole__v1.json
index 112f3e4..d7b70e3 100644
--- a/discovery/googleapis/searchconsole__v1.json
+++ b/discovery/googleapis/searchconsole__v1.json
@@ -16,27 +16,16 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
"callback": {
"description": "JSONP",
"location": "query",
@@ -71,13 +60,13 @@
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
+ "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"
},
- "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.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
},
@@ -101,6 +90,17 @@
"description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
}
},
"protocol": "rest",
@@ -128,58 +128,9 @@
}
}
},
- "revision": "20170305",
+ "revision": "20170325",
"rootUrl": "https://searchconsole.googleapis.com/",
"schemas": {
- "ResourceIssue": {
- "description": "Information about a resource with issue.",
- "id": "ResourceIssue",
- "properties": {
- "blockedResource": {
- "$ref": "BlockedResource",
- "description": "Describes a blocked resource issue."
- }
- },
- "type": "object"
- },
- "BlockedResource": {
- "description": "Blocked resource.",
- "id": "BlockedResource",
- "properties": {
- "url": {
- "description": "URL of the blocked resource.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TestStatus": {
- "description": "Final state of the test, including error details if necessary.",
- "id": "TestStatus",
- "properties": {
- "status": {
- "description": "Status of the test.",
- "enum": [
- "TEST_STATUS_UNSPECIFIED",
- "COMPLETE",
- "INTERNAL_ERROR",
- "PAGE_UNREACHABLE"
- ],
- "enumDescriptions": [
- "Internal error when running this test. Please try running the test again.",
- "Inspection has completed without errors.",
- "Inspection terminated in an error state. This indicates a problem in\nGoogle's infrastructure, not a user error. Please try again later.",
- "Google can not access the URL because of a user error such as a robots.txt\nblockage, a 403 or 500 code etc. Please make sure that the URL provided is\naccessible by Googlebot and is not password protected."
- ],
- "type": "string"
- },
- "details": {
- "description": "Error details if applicable.",
- "type": "string"
- }
- },
- "type": "object"
- },
"RunMobileFriendlyTestRequest": {
"description": "Mobile-friendly test request.",
"id": "RunMobileFriendlyTestRequest",
@@ -282,6 +233,55 @@
}
},
"type": "object"
+ },
+ "ResourceIssue": {
+ "description": "Information about a resource with issue.",
+ "id": "ResourceIssue",
+ "properties": {
+ "blockedResource": {
+ "$ref": "BlockedResource",
+ "description": "Describes a blocked resource issue."
+ }
+ },
+ "type": "object"
+ },
+ "BlockedResource": {
+ "description": "Blocked resource.",
+ "id": "BlockedResource",
+ "properties": {
+ "url": {
+ "description": "URL of the blocked resource.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "TestStatus": {
+ "description": "Final state of the test, including error details if necessary.",
+ "id": "TestStatus",
+ "properties": {
+ "status": {
+ "description": "Status of the test.",
+ "enum": [
+ "TEST_STATUS_UNSPECIFIED",
+ "COMPLETE",
+ "INTERNAL_ERROR",
+ "PAGE_UNREACHABLE"
+ ],
+ "enumDescriptions": [
+ "Internal error when running this test. Please try running the test again.",
+ "Inspection has completed without errors.",
+ "Inspection terminated in an error state. This indicates a problem in\nGoogle's infrastructure, not a user error. Please try again later.",
+ "Google can not access the URL because of a user error such as a robots.txt\nblockage, a 403 or 500 code etc. Please make sure that the URL provided is\naccessible by Googlebot and is not password protected."
+ ],
+ "type": "string"
+ },
+ "details": {
+ "description": "Error details if applicable.",
+ "type": "string"
+ }
+ },
+ "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis/servicecontrol__v1.json b/discovery/googleapis/servicecontrol__v1.json
index dad4488..dbc291b 100644
--- a/discovery/googleapis/servicecontrol__v1.json
+++ b/discovery/googleapis/servicecontrol__v1.json
@@ -49,6 +49,11 @@
"location": "query",
"type": "string"
},
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"$.xgafv": {
"description": "V1 error format.",
"enum": [
@@ -62,11 +67,6 @@
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -104,13 +104,13 @@
"location": "query",
"type": "boolean"
},
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
+ "bearer_token": {
+ "description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
- "bearer_token": {
- "description": "OAuth bearer token.",
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
}
@@ -174,7 +174,7 @@
]
},
"releaseQuota": {
- "description": "Releases previously allocated quota done through AllocateQuota method.\n\nThis method requires the `servicemanagement.services.quota`\npermission on the specified service. For more information, see\n[Google Cloud IAM](https://cloud.google.com/iam).",
+ "description": "Releases previously allocated quota done through AllocateQuota method.\n\nThis method requires the `servicemanagement.services.quota`\npermission on the specified service. For more information, see\n[Google Cloud IAM](https://cloud.google.com/iam).\n\n**NOTE:** the client code **must** fail-open if the server returns one\nof the following quota errors:\n- `PROJECT_STATUS_UNAVAILABLE`\n- `SERVICE_STATUS_UNAVAILABLE`\n- `BILLING_STATUS_UNAVAILABLE`\n- `QUOTA_SYSTEM_UNAVAILABLE`\n\nThe server may inject above errors to prohibit any hard dependency\non the quota system.",
"httpMethod": "POST",
"id": "servicecontrol.services.releaseQuota",
"parameterOrder": [
@@ -255,7 +255,7 @@
]
},
"allocateQuota": {
- "description": "Attempts to allocate quota for the specified consumer. It should be called\nbefore the operation is executed.\n\nThis method requires the `servicemanagement.services.quota`\npermission on the specified service. For more information, see\n[Google Cloud IAM](https://cloud.google.com/iam).",
+ "description": "Attempts to allocate quota for the specified consumer. It should be called\nbefore the operation is executed.\n\nThis method requires the `servicemanagement.services.quota`\npermission on the specified service. For more information, see\n[Google Cloud IAM](https://cloud.google.com/iam).\n\n**NOTE:** the client code **must** fail-open if the server returns one\nof the following quota errors:\n- `PROJECT_STATUS_UNAVAILABLE`\n- `SERVICE_STATUS_UNAVAILABLE`\n- `BILLING_STATUS_UNAVAILABLE`\n- `QUOTA_SYSTEM_UNAVAILABLE`\n\nThe server may inject above errors to prohibit any hard dependency\non the quota system.",
"httpMethod": "POST",
"id": "servicecontrol.services.allocateQuota",
"parameterOrder": [
@@ -284,18 +284,394 @@
}
}
},
- "revision": "20170224",
+ "revision": "20170319",
"rootUrl": "https://servicecontrol.googleapis.com/",
"schemas": {
+ "CheckResponse": {
+ "description": "Response message for the Check method.",
+ "id": "CheckResponse",
+ "properties": {
+ "operationId": {
+ "description": "The same operation_id value used in the CheckRequest.\nUsed for logging and diagnostics purposes.",
+ "type": "string"
+ },
+ "checkErrors": {
+ "description": "Indicate the decision of the check.\n\nIf no check errors are present, the service should process the operation.\nOtherwise the service should use the list of errors to determine the\nappropriate action.",
+ "items": {
+ "$ref": "CheckError"
+ },
+ "type": "array"
+ },
+ "checkInfo": {
+ "$ref": "CheckInfo",
+ "description": "Feedback data returned from the server during processing a Check request."
+ },
+ "quotaInfo": {
+ "$ref": "QuotaInfo",
+ "description": "Quota information for the check request associated with this response.\n"
+ },
+ "serviceConfigId": {
+ "description": "The actual config id used to process the request.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Status": {
+ "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
+ "id": "Status",
+ "properties": {
+ "details": {
+ "description": "A list of messages that carry the error details. There will be a\ncommon 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"
+ },
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ReportRequest": {
+ "description": "Request message for the Report method.",
+ "id": "ReportRequest",
+ "properties": {
+ "operations": {
+ "description": "Operations to be reported.\n\nTypically the service should report one operation per request.\nPutting multiple operations into a single request is allowed, but should\nbe used only when multiple operations are natually available at the time\nof the report.\n\nIf multiple operations are in a single request, the total request size\nshould be no larger than 1MB. See ReportResponse.report_errors for\npartial failure behavior.",
+ "items": {
+ "$ref": "Operation"
+ },
+ "type": "array"
+ },
+ "serviceConfigId": {
+ "description": "Specifies which version of service config should be used to process the\nrequest.\n\nIf unspecified or no matching version can be found, the\nlatest one will be used.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AuditLog": {
+ "description": "Common audit log format for Google Cloud Platform API operations.\n\n",
+ "id": "AuditLog",
+ "properties": {
+ "request": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "The operation request. This may not include all request parameters,\nsuch as those that are too large, privacy-sensitive, or duplicated\nelsewhere in the log record.\nIt should never include user-generated data, such as file contents.\nWhen the JSON object represented here has a proto equivalent, the proto\nname will be indicated in the `@type` property.",
+ "type": "object"
+ },
+ "serviceData": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "Other service-specific data about the request, response, and other\nactivities.",
+ "type": "object"
+ },
+ "requestMetadata": {
+ "$ref": "RequestMetadata",
+ "description": "Metadata about the operation."
+ },
+ "numResponseItems": {
+ "description": "The number of items returned from a List or Query API method,\nif applicable.",
+ "format": "int64",
+ "type": "string"
+ },
+ "authenticationInfo": {
+ "$ref": "AuthenticationInfo",
+ "description": "Authentication information."
+ },
+ "status": {
+ "$ref": "Status",
+ "description": "The status of the overall operation."
+ },
+ "response": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "The operation response. This may not include all response elements,\nsuch as those that are too large, privacy-sensitive, or duplicated\nelsewhere in the log record.\nIt should never include user-generated data, such as file contents.\nWhen the JSON object represented here has a proto equivalent, the proto\nname will be indicated in the `@type` property.",
+ "type": "object"
+ },
+ "serviceName": {
+ "description": "The name of the API service performing the operation. For example,\n`\"datastore.googleapis.com\"`.",
+ "type": "string"
+ },
+ "methodName": {
+ "description": "The name of the service method or operation.\nFor API calls, this should be the name of the API method.\nFor example,\n\n \"google.datastore.v1.Datastore.RunQuery\"\n \"google.logging.v1.LoggingService.DeleteLog\"",
+ "type": "string"
+ },
+ "resourceName": {
+ "description": "The resource or collection that is the target of the operation.\nThe name is a scheme-less URI, not including the API service name.\nFor example:\n\n \"shelves/SHELF_ID/books\"\n \"shelves/SHELF_ID/books/BOOK_ID\"",
+ "type": "string"
+ },
+ "authorizationInfo": {
+ "description": "Authorization information. If there are multiple\nresources or permissions involved, then there is\none AuthorizationInfo element for each {resource, permission} tuple.",
+ "items": {
+ "$ref": "AuthorizationInfo"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "LogEntry": {
+ "description": "An individual log entry.",
+ "id": "LogEntry",
+ "properties": {
+ "structPayload": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "The log entry payload, represented as a structure that\nis expressed as a JSON object.",
+ "type": "object"
+ },
+ "textPayload": {
+ "description": "The log entry payload, represented as a Unicode string (UTF-8).",
+ "type": "string"
+ },
+ "protoPayload": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The log entry payload, represented as a protocol buffer that is\nexpressed as a JSON object. You can only pass `protoPayload`\nvalues that belong to a set of approved types.",
+ "type": "object"
+ },
+ "timestamp": {
+ "description": "The time the event described by the log entry occurred. If\nomitted, defaults to operation start time.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "A set of user-defined (key, value) data that provides additional\ninformation about the log entry.",
+ "type": "object"
+ },
+ "severity": {
+ "description": "The severity of the log entry. The default value is\n`LogSeverity.DEFAULT`.",
+ "enum": [
+ "DEFAULT",
+ "DEBUG",
+ "INFO",
+ "NOTICE",
+ "WARNING",
+ "ERROR",
+ "CRITICAL",
+ "ALERT",
+ "EMERGENCY"
+ ],
+ "enumDescriptions": [
+ "(0) The log entry has no assigned severity level.",
+ "(100) Debug or trace information.",
+ "(200) Routine information, such as ongoing status or performance.",
+ "(300) Normal but significant events, such as start up, shut down, or\na configuration change.",
+ "(400) Warning events might cause problems.",
+ "(500) Error events are likely to cause problems.",
+ "(600) Critical events cause more severe problems or outages.",
+ "(700) A person must take an action immediately.",
+ "(800) One or more systems are unusable."
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "Required. The log to which this log entry belongs. Examples: `\"syslog\"`,\n`\"book_log\"`.",
+ "type": "string"
+ },
+ "insertId": {
+ "description": "A unique ID for the log entry used for deduplication. If omitted,\nthe implementation will generate one based on operation_id.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "MetricValue": {
+ "description": "Represents a single metric value.",
+ "id": "MetricValue",
+ "properties": {
+ "distributionValue": {
+ "$ref": "Distribution",
+ "description": "A distribution value."
+ },
+ "boolValue": {
+ "description": "A boolean value.",
+ "type": "boolean"
+ },
+ "endTime": {
+ "description": "The end of the time period over which this metric value's measurement\napplies.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "The start of the time period over which this metric value's measurement\napplies. The time period has different semantics for different metric\ntypes (cumulative, delta, and gauge). See the metric definition\ndocumentation in the service configuration for details.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "moneyValue": {
+ "$ref": "Money",
+ "description": "A money value."
+ },
+ "stringValue": {
+ "description": "A text string value.",
+ "type": "string"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The labels describing the metric value.\nSee comments on google.api.servicecontrol.v1.Operation.labels for\nthe overriding relationship.",
+ "type": "object"
+ },
+ "doubleValue": {
+ "description": "A double precision floating point value.",
+ "format": "double",
+ "type": "number"
+ },
+ "int64Value": {
+ "description": "A signed 64-bit integer value.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "EndReconciliationResponse": {
+ "id": "EndReconciliationResponse",
+ "properties": {
+ "operationId": {
+ "description": "The same operation_id value used in the EndReconciliationRequest. Used for\nlogging and diagnostics purposes.",
+ "type": "string"
+ },
+ "reconciliationErrors": {
+ "description": "Indicates the decision of the reconciliation end.",
+ "items": {
+ "$ref": "QuotaError"
+ },
+ "type": "array"
+ },
+ "serviceConfigId": {
+ "description": "ID of the actual config used to process the request.",
+ "type": "string"
+ },
+ "quotaMetrics": {
+ "description": "Metric values as tracked by One Platform before the adjustment was made.\nThe following metrics will be included:\n\n1. Per quota metric total usage will be specified using the following gauge\nmetric:\n \"serviceruntime.googleapis.com/allocation/consumer/quota_used_count\"\n\n2. Value for each quota limit associated with the metrics will be specified\nusing the following gauge metric:\n \"serviceruntime.googleapis.com/quota/limit\"\n\n3. Delta value of the usage after the reconciliation for limits associated\nwith the metrics will be specified using the following metric:\n \"serviceruntime.googleapis.com/allocation/reconciliation_delta\"\nThe delta value is defined as:\n new_usage_from_client - existing_value_in_spanner.\nThis metric is not defined in serviceruntime.yaml or in Cloud Monarch.\nThis metric is meant for callers' use only. Since this metric is not\ndefined in the monitoring backend, reporting on this metric will result in\nan error.",
+ "items": {
+ "$ref": "MetricValueSet"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Money": {
+ "description": "Represents an amount of money with its currency type.",
+ "id": "Money",
+ "properties": {
+ "nanos": {
+ "description": "Number of nano (10^-9) units of the amount.\nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negative or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "units": {
+ "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
+ "format": "int64",
+ "type": "string"
+ },
+ "currencyCode": {
+ "description": "The 3-letter currency code defined in ISO 4217.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Distribution": {
+ "description": "Distribution represents a frequency distribution of double-valued sample\npoints. It contains the size of the population of sample points plus\nadditional optional information:\n\n - the arithmetic mean of the samples\n - the minimum and maximum of the samples\n - the sum-squared-deviation of the samples, used to compute variance\n - a histogram of the values of the sample points",
+ "id": "Distribution",
+ "properties": {
+ "count": {
+ "description": "The total number of samples in the distribution. Must be >= 0.",
+ "format": "int64",
+ "type": "string"
+ },
+ "mean": {
+ "description": "The arithmetic mean of the samples in the distribution. If `count` is\nzero then this field must be zero.",
+ "format": "double",
+ "type": "number"
+ },
+ "bucketCounts": {
+ "description": "The number of samples in each histogram bucket. `bucket_counts` are\noptional. If present, they must sum to the `count` value.\n\nThe buckets are defined below in `bucket_option`. There are N buckets.\n`bucket_counts[0]` is the number of samples in the underflow bucket.\n`bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples\nin each of the finite buckets. And `bucket_counts[N] is the number\nof samples in the overflow bucket. See the comments of `bucket_option`\nbelow for more details.\n\nAny suffix of trailing zeros may be omitted.",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "explicitBuckets": {
+ "$ref": "ExplicitBuckets",
+ "description": "Buckets with arbitrary user-provided width."
+ },
+ "maximum": {
+ "description": "The maximum of the population of values. Ignored if `count` is zero.",
+ "format": "double",
+ "type": "number"
+ },
+ "sumOfSquaredDeviation": {
+ "description": "The sum of squared deviations from the mean:\n Sum[i=1..count]((x_i - mean)^2)\nwhere each x_i is a sample values. If `count` is zero then this field\nmust be zero, otherwise validation of the request fails.",
+ "format": "double",
+ "type": "number"
+ },
+ "exponentialBuckets": {
+ "$ref": "ExponentialBuckets",
+ "description": "Buckets with exponentially growing width."
+ },
+ "minimum": {
+ "description": "The minimum of the population of values. Ignored if `count` is zero.",
+ "format": "double",
+ "type": "number"
+ },
+ "linearBuckets": {
+ "$ref": "LinearBuckets",
+ "description": "Buckets with constant width."
+ }
+ },
+ "type": "object"
+ },
+ "ExplicitBuckets": {
+ "description": "Describing buckets with arbitrary user-provided width.",
+ "id": "ExplicitBuckets",
+ "properties": {
+ "bounds": {
+ "description": "'bound' is a list of strictly increasing boundaries between\nbuckets. Note that a list of length N-1 defines N buckets because\nof fenceposting. See comments on `bucket_options` for details.\n\nThe i'th finite bucket covers the interval\n [bound[i-1], bound[i])\nwhere i ranges from 1 to bound_size() - 1. Note that there are no\nfinite buckets at all if 'bound' only contains a single element; in\nthat special case the single bound defines the boundary between the\nunderflow and overflow buckets.\n\nbucket number lower bound upper bound\n i == 0 (underflow) -inf bound[i]\n 0 < i < bound_size() bound[i-1] bound[i]\n i == bound_size() (overflow) bound[i-1] +inf",
+ "items": {
+ "format": "double",
+ "type": "number"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"ExponentialBuckets": {
"description": "Describing buckets with exponentially growing width.",
"id": "ExponentialBuckets",
"properties": {
- "scale": {
- "description": "The i'th exponential bucket covers the interval\n [scale * growth_factor^(i-1), scale * growth_factor^i)\nwhere i ranges from 1 to num_finite_buckets inclusive.\nMust be > 0.",
- "format": "double",
- "type": "number"
- },
"numFiniteBuckets": {
"description": "The number of finite buckets. With the underflow and overflow buckets,\nthe total number of buckets is `num_finite_buckets` + 2.\nSee comments on `bucket_options` for details.",
"format": "int32",
@@ -305,6 +681,11 @@
"description": "The i'th exponential bucket covers the interval\n [scale * growth_factor^(i-1), scale * growth_factor^i)\nwhere i ranges from 1 to num_finite_buckets inclusive.\nMust be larger than 1.0.",
"format": "double",
"type": "number"
+ },
+ "scale": {
+ "description": "The i'th exponential bucket covers the interval\n [scale * growth_factor^(i-1), scale * growth_factor^i)\nwhere i ranges from 1 to num_finite_buckets inclusive.\nMust be > 0.",
+ "format": "double",
+ "type": "number"
}
},
"type": "object"
@@ -313,6 +694,10 @@
"description": "Authorization information for the operation.",
"id": "AuthorizationInfo",
"properties": {
+ "resource": {
+ "description": "The resource being accessed, as a REST-style string. For example:\n\n bigquery.googlapis.com/projects/PROJECTID/datasets/DATASETID",
+ "type": "string"
+ },
"granted": {
"description": "Whether or not authorization for `resource` and `permission`\nwas granted.",
"type": "boolean"
@@ -320,10 +705,6 @@
"permission": {
"description": "The required IAM permission.",
"type": "string"
- },
- "resource": {
- "description": "The resource being accessed, as a REST-style string. For example:\n\n bigquery.googlapis.com/projects/PROJECTID/datasets/DATASETID",
- "type": "string"
}
},
"type": "object"
@@ -332,7 +713,7 @@
"id": "StartReconciliationResponse",
"properties": {
"quotaMetrics": {
- "description": "Metric values as tracked by One Platform before the start of\nreconciliation.",
+ "description": "Metric values as tracked by One Platform before the start of\nreconciliation. The following metrics will be included:\n\n1. Per quota metric total usage will be specified using the following gauge\nmetric:\n \"serviceruntime.googleapis.com/allocation/consumer/quota_used_count\"\n\n2. Value for each quota limit associated with the metrics will be specified\nusing the following gauge metric:\n \"serviceruntime.googleapis.com/quota/limit\"",
"items": {
"$ref": "MetricValueSet"
},
@@ -357,7 +738,7 @@
"type": "object"
},
"QuotaProperties": {
- "description": "Represents the properties needed for quota operations.\n\nUse the metric_value_sets field in Operation message to provide cost\noverride with metric_name in <service_name>/quota/<quota_group_name>/cost\nformat. Overrides for unmatched quota groups will be ignored.\nCosts are expected to be >= 0. Cost 0 will cause no quota check,\nbut still traffic restrictions will be enforced.",
+ "description": "Represents the properties needed for quota operations.",
"id": "QuotaProperties",
"properties": {
"limitByIds": {
@@ -390,11 +771,6 @@
"description": "Describing buckets with constant width.",
"id": "LinearBuckets",
"properties": {
- "numFiniteBuckets": {
- "description": "The number of finite buckets. With the underflow and overflow buckets,\nthe total number of buckets is `num_finite_buckets` + 2.\nSee comments on `bucket_options` for details.",
- "format": "int32",
- "type": "integer"
- },
"width": {
"description": "The i'th linear bucket covers the interval\n [offset + (i-1) * width, offset + i * width)\nwhere i ranges from 1 to num_finite_buckets, inclusive.\nMust be strictly positive.",
"format": "double",
@@ -404,6 +780,11 @@
"description": "The i'th linear bucket covers the interval\n [offset + (i-1) * width, offset + i * width)\nwhere i ranges from 1 to num_finite_buckets, inclusive.",
"format": "double",
"type": "number"
+ },
+ "numFiniteBuckets": {
+ "description": "The number of finite buckets. With the underflow and overflow buckets,\nthe total number of buckets is `num_finite_buckets` + 2.\nSee comments on `bucket_options` for details.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -412,13 +793,13 @@
"description": "Authentication information for the operation.",
"id": "AuthenticationInfo",
"properties": {
- "authoritySelector": {
- "description": "The authority selector specified by the requestor, if any.\nIt is not guaranteed that the principal was allowed to use this authority.",
- "type": "string"
- },
"principalEmail": {
"description": "The email address of the authenticated user making the request.",
"type": "string"
+ },
+ "authoritySelector": {
+ "description": "The authority selector specified by the requestor, if any.\nIt is not guaranteed that the principal was allowed to use this authority.",
+ "type": "string"
}
},
"type": "object"
@@ -427,15 +808,8 @@
"description": "Response message for the AllocateQuota method.",
"id": "AllocateQuotaResponse",
"properties": {
- "allocateErrors": {
- "description": "Indicates the decision of the allocate.",
- "items": {
- "$ref": "QuotaError"
- },
- "type": "array"
- },
"quotaMetrics": {
- "description": "Quota metrics to indicate the result of allocation. Depending on the\nrequest, one or more of the following metrics will be included:\n\n1. For rate quota, per quota group or per quota metric incremental usage\nwill be specified using the following delta metric:\n \"serviceruntime.googleapis.com/api/consumer/quota_used_count\"\n\n2. For allocation quota, per quota metric total usage will be specified\nusing the following gauge metric:\n \"serviceruntime.googleapis.com/allocation/consumer/quota_used_count\"\n\n3. For both rate quota and allocation quota, the quota limit reached\ncondition will be specified using the following boolean metric:\n \"serviceruntime.googleapis.com/quota/exceeded\"",
+ "description": "Quota metrics to indicate the result of allocation. Depending on the\nrequest, one or more of the following metrics will be included:\n\n1. For rate quota, per quota group or per quota metric incremental usage\nwill be specified using the following delta metric:\n \"serviceruntime.googleapis.com/api/consumer/quota_used_count\"\n\n2. For allocation quota, per quota metric total usage will be specified\nusing the following gauge metric:\n \"serviceruntime.googleapis.com/allocation/consumer/quota_used_count\"\n\n3. For both rate quota and allocation quota, the quota limit reached\ncondition will be specified using the following boolean metric:\n \"serviceruntime.googleapis.com/quota/exceeded\"\n\n4. For allocation quota, value for each quota limit associated with\nthe metrics will be specified using the following gauge metric:\n \"serviceruntime.googleapis.com/quota/limit\"",
"items": {
"$ref": "MetricValueSet"
},
@@ -448,6 +822,13 @@
"serviceConfigId": {
"description": "ID of the actual config used to process the request.",
"type": "string"
+ },
+ "allocateErrors": {
+ "description": "Indicates the decision of the allocate.",
+ "items": {
+ "$ref": "QuotaError"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -496,7 +877,7 @@
"SPATULA_HEADER_INVALID",
"LOAS_ROLE_INVALID",
"NO_LOAS_PROJECT",
- "PROJECT_STATUS_UNVAILABLE",
+ "PROJECT_STATUS_UNAVAILABLE",
"SERVICE_STATUS_UNAVAILABLE",
"BILLING_STATUS_UNAVAILABLE",
"QUOTA_SYSTEM_UNAVAILABLE"
@@ -590,6 +971,13 @@
"description": "Response message for the ReleaseQuota method.",
"id": "ReleaseQuotaResponse",
"properties": {
+ "quotaMetrics": {
+ "description": "Quota metrics to indicate the result of release. Depending on the\nrequest, one or more of the following metrics will be included:\n\n1. For rate quota, per quota group or per quota metric released amount\nwill be specified using the following delta metric:\n \"serviceruntime.googleapis.com/api/consumer/quota_refund_count\"\n\n2. For allocation quota, per quota metric total usage will be specified\nusing the following gauge metric:\n \"serviceruntime.googleapis.com/allocation/consumer/quota_used_count\"\n\n3. For allocation quota, value for each quota limit associated with\nthe metrics will be specified using the following gauge metric:\n \"serviceruntime.googleapis.com/quota/limit\"",
+ "items": {
+ "$ref": "MetricValueSet"
+ },
+ "type": "array"
+ },
"operationId": {
"description": "The same operation_id value used in the ReleaseQuotaRequest. Used for\nlogging and diagnostics purposes.",
"type": "string"
@@ -604,13 +992,6 @@
"$ref": "QuotaError"
},
"type": "array"
- },
- "quotaMetrics": {
- "description": "Quota metrics to indicate the result of release. Depending on the\nrequest, one or more of the following metrics will be included:\n\n1. For rate quota, per quota group or per quota metric released amount\nwill be specified using the following delta metric:\n \"serviceruntime.googleapis.com/api/consumer/quota_refund_count\"\n\n2. For allocation quota, per quota metric total usage will be specified\nusing the following gauge metric:\n \"serviceruntime.googleapis.com/allocation/consumer/quota_used_count\"",
- "items": {
- "$ref": "MetricValueSet"
- },
- "type": "array"
}
},
"type": "object"
@@ -619,16 +1000,16 @@
"description": "Represents a set of metric values in the same metric.\nEach metric value in the set should have a unique combination of start time,\nend time, and label values.",
"id": "MetricValueSet",
"properties": {
- "metricName": {
- "description": "The metric name defined in the service configuration.",
- "type": "string"
- },
"metricValues": {
"description": "The values in this metric.",
"items": {
"$ref": "MetricValue"
},
"type": "array"
+ },
+ "metricName": {
+ "description": "The metric name defined in the service configuration.",
+ "type": "string"
}
},
"type": "object"
@@ -651,13 +1032,13 @@
"StartReconciliationRequest": {
"id": "StartReconciliationRequest",
"properties": {
- "reconciliationOperation": {
- "$ref": "QuotaOperation",
- "description": "Operation that describes the quota reconciliation."
- },
"serviceConfigId": {
"description": "Specifies which version of service configuration should be used to process\nthe request. If unspecified or no matching version can be found, the latest\none will be used.",
"type": "string"
+ },
+ "reconciliationOperation": {
+ "$ref": "QuotaOperation",
+ "description": "Operation that describes the quota reconciliation."
}
},
"type": "object"
@@ -778,6 +1159,10 @@
"description": "Request message for the Check method.",
"id": "CheckRequest",
"properties": {
+ "serviceConfigId": {
+ "description": "Specifies which version of service configuration should be used to process\nthe request.\n\nIf unspecified or no matching version can be found, the\nlatest one will be used.",
+ "type": "string"
+ },
"skipActivationCheck": {
"description": "Indicates if service activation check should be skipped for this request.\nDefault behavior is to perform the check and apply relevant quota.",
"type": "boolean"
@@ -789,10 +1174,6 @@
"requestProjectSettings": {
"description": "Requests the project settings to be returned as part of the check response.",
"type": "boolean"
- },
- "serviceConfigId": {
- "description": "Specifies which version of service configuration should be used to process\nthe request.\n\nIf unspecified or no matching version can be found, the\nlatest one will be used.",
- "type": "string"
}
},
"type": "object"
@@ -801,6 +1182,18 @@
"description": "Represents information regarding a quota operation.",
"id": "QuotaOperation",
"properties": {
+ "consumerId": {
+ "description": "Identity of the consumer for whom this quota operation is being performed.\n\nThis can be in one of the following formats:\n project:<project_id>,\n project_number:<project_number>,\n api_key:<api_key>.",
+ "type": "string"
+ },
+ "operationId": {
+ "description": "Identity of the operation. This must be unique within the scope of the\nservice that generated the operation. If the service calls AllocateQuota\nand ReleaseQuota on the same operation, the two calls should carry the\nsame ID.\n\nUUID version 4 is recommended, though not required. In scenarios where an\noperation is computed from existing information and an idempotent id is\ndesirable for deduplication purpose, UUID version 5 is recommended. See\nRFC 4122 for details.",
+ "type": "string"
+ },
+ "methodName": {
+ "description": "Fully qualified name of the API method for which this quota operation is\nrequested. This name is used for matching quota rules or metric rules and\nbilling status rules defined in service configuration. This field is not\nrequired if the quota operation is performed on non-API resources.\n\nExample of an RPC method name:\n google.example.library.v1.LibraryService.CreateShelf",
+ "type": "string"
+ },
"quotaMode": {
"description": "Quota mode for this operation.",
"enum": [
@@ -811,16 +1204,12 @@
],
"enumDescriptions": [
"",
- "For AllocateQuota request, allocates quota for the amount specified in\nthe service configuration or specified using the quota metrics. If the\namount is higher than the available quota, allocation error will be\nreturned and no quota will be allocated.\nFor ReleaseQuota request, this mode is supported only for precise quota\nlimits. In this case, this operation releases quota for the amount\nspecified in the service configuration or specified using the quota\nmetrics. If the release can make available quota negative, release error\nwill be returned and no quota will be released.",
- "For AllocateQuota request, this mode is supported only for imprecise\nquota limits. In this case, the operation allocates quota for the amount\nspecified in the service configuration or specified using the quota\nmetrics. If the amount is higher than the available quota, request does\nnot fail but all available quota will be allocated.\nFor ReleaseQuota request, this mode is supported for both precise quota\nlimits and imprecise quota limits. In this case, this operation releases\nquota for the amount specified in the service configuration or specified\nusing the quota metrics. If the release can make available quota\nnegative, request does not fail but only the available quota will be\nreleased. After the ReleaseQuota request completes, the available quota\nwill be 0, and never goes to negative.",
+ "For AllocateQuota request, allocates quota for the amount specified in\nthe service configuration or specified using the quota metrics. If the\namount is higher than the available quota, allocation error will be\nreturned and no quota will be allocated.\nFor ReleaseQuota request, this mode is supported only for precise quota\nlimits. In this case, this operation releases quota for the amount\nspecified in the service configuration or specified using the quota\nmetrics. If the release can make used quota negative, release error\nwill be returned and no quota will be released.",
+ "For AllocateQuota request, this mode is supported only for imprecise\nquota limits. In this case, the operation allocates quota for the amount\nspecified in the service configuration or specified using the quota\nmetrics. If the amount is higher than the available quota, request does\nnot fail but all available quota will be allocated.\nFor ReleaseQuota request, this mode is supported for both precise quota\nlimits and imprecise quota limits. In this case, this operation releases\nquota for the amount specified in the service configuration or specified\nusing the quota metrics. If the release can make used quota\nnegative, request does not fail but only the used quota will be\nreleased. After the ReleaseQuota request completes, the used quota\nwill be 0, and never goes to negative.",
"For AllocateQuota request, only checks if there is enough quota\navailable and does not change the available quota. No lock is placed on\nthe available quota either. Not supported for ReleaseQuota request."
],
"type": "string"
},
- "methodName": {
- "description": "Fully qualified name of the API method for which this quota operation is\nrequested. This name is used for matching quota rules or metric rules and\nbilling status rules defined in service configuration. This field is not\nrequired if the quota operation is performed on non-API resources.\n\nExample of an RPC method name:\n google.example.library.v1.LibraryService.CreateShelf",
- "type": "string"
- },
"quotaMetrics": {
"description": "Represents information about this operation. Each MetricValueSet\ncorresponds to a metric defined in the service configuration.\nThe data type used in the MetricValueSet must agree with\nthe data type specified in the metric definition.\n\nWithin a single operation, it is not allowed to have more than one\nMetricValue instances that have the same metric names and identical\nlabel value combinations. If a request has such duplicated MetricValue\ninstances, the entire request is rejected with\nan invalid argument error.",
"items": {
@@ -834,14 +1223,6 @@
},
"description": "Labels describing the operation.",
"type": "object"
- },
- "consumerId": {
- "description": "Identity of the consumer for whom this quota operation is being performed.\n\nThis can be in one of the following formats:\n project:<project_id>,\n project_number:<project_number>,\n api_key:<api_key>.",
- "type": "string"
- },
- "operationId": {
- "description": "Identity of the operation. This must be unique within the scope of the\nservice that generated the operation. If the service calls AllocateQuota\nand ReleaseQuota on the same operation, the two calls should carry the\nsame ID.\n\nUUID version 4 is recommended, though not required. In scenarios where an\noperation is computed from existing information and an idempotent id is\ndesirable for deduplication purpose, UUID version 5 is recommended. See\nRFC 4122 for details.",
- "type": "string"
}
},
"type": "object"
@@ -863,13 +1244,38 @@
"ReportInfo": {
"id": "ReportInfo",
"properties": {
- "operationId": {
- "description": "The Operation.operation_id value from the request.",
- "type": "string"
- },
"quotaInfo": {
"$ref": "QuotaInfo",
"description": "Quota usage info when processing the `Operation`."
+ },
+ "operationId": {
+ "description": "The Operation.operation_id value from the request.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ReportResponse": {
+ "description": "Response message for the Report method.",
+ "id": "ReportResponse",
+ "properties": {
+ "serviceConfigId": {
+ "description": "The actual config id used to process the request.",
+ "type": "string"
+ },
+ "reportErrors": {
+ "description": "Partial failures, one for each `Operation` in the request that failed\nprocessing. There are three possible combinations of the RPC status:\n\n1. The combination of a successful RPC status and an empty `report_errors`\n list indicates a complete success where all `Operations` in the\n request are processed successfully.\n2. The combination of a successful RPC status and a non-empty\n `report_errors` list indicates a partial success where some\n `Operations` in the request succeeded. Each\n `Operation` that failed processing has a corresponding item\n in this list.\n3. A failed RPC status indicates a general non-deterministic failure.\n When this happens, it's impossible to know which of the\n 'Operations' in the request succeeded or failed.",
+ "items": {
+ "$ref": "ReportError"
+ },
+ "type": "array"
+ },
+ "reportInfos": {
+ "description": "Quota usage for each quota release `Operation` request.\n\nFully or partially failed quota release request may or may not be present\nin `report_quota_info`. For example, a failed quota release request will\nhave the current quota usage info when precise quota library returns the\ninfo. A deadline exceeded quota request will not have quota usage info.\n\nIf there is no quota release request, report_quota_info will be empty.\n",
+ "items": {
+ "$ref": "ReportInfo"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -878,50 +1284,6 @@
"description": "Represents information regarding an operation.",
"id": "Operation",
"properties": {
- "quotaProperties": {
- "$ref": "QuotaProperties",
- "description": "Represents the properties needed for quota check. Applicable only if this\noperation is for a quota check request."
- },
- "consumerId": {
- "description": "Identity of the consumer who is using the service.\nThis field should be filled in for the operations initiated by a\nconsumer, but not for service-initiated operations that are\nnot related to a specific consumer.\n\nThis can be in one of the following formats:\n project:<project_id>,\n project_number:<project_number>,\n api_key:<api_key>.",
- "type": "string"
- },
- "operationId": {
- "description": "Identity of the operation. This must be unique within the scope of the\nservice that generated the operation. If the service calls\nCheck() and Report() on the same operation, the two calls should carry\nthe same id.\n\nUUID version 4 is recommended, though not required.\nIn scenarios where an operation is computed from existing information\nand an idempotent id is desirable for deduplication purpose, UUID version 5\nis recommended. See RFC 4122 for details.",
- "type": "string"
- },
- "endTime": {
- "description": "End time of the operation.\nRequired when the operation is used in ServiceController.Report,\nbut optional when the operation is used in ServiceController.Check.",
- "format": "google-datetime",
- "type": "string"
- },
- "operationName": {
- "description": "Fully qualified name of the operation. Reserved for future use.",
- "type": "string"
- },
- "startTime": {
- "description": "Required. Start time of the operation.",
- "format": "google-datetime",
- "type": "string"
- },
- "importance": {
- "description": "DO NOT USE. This is an experimental field.",
- "enum": [
- "LOW",
- "HIGH",
- "DEBUG"
- ],
- "enumDescriptions": [
- "The API implementation may cache and aggregate the data.\nThe data may be lost when rare and unexpected system failures occur.",
- "The API implementation doesn't cache and aggregate the data.\nIf the method returns successfully, it's guaranteed that the data has\nbeen persisted in durable storage.",
- "In addition to the behavior described in HIGH, DEBUG enables\nadditional validation logic that is only useful during the onboarding\nprocess. This is only available to Google internal services and\nthe service must be whitelisted by chemist-dev@google.com in order\nto use this level."
- ],
- "type": "string"
- },
- "resourceContainer": {
- "description": "The resource name of the parent of a resource in the resource hierarchy.\n\nThis can be in one of the following formats:\n - “projects/<project-id or project-number>”\n - “folders/<folder-id>”\n - “organizations/<organization-id>”",
- "type": "string"
- },
"labels": {
"additionalProperties": {
"type": "string"
@@ -949,415 +1311,53 @@
"$ref": "MetricValueSet"
},
"type": "array"
- }
- },
- "type": "object"
- },
- "ReportResponse": {
- "description": "Response message for the Report method.",
- "id": "ReportResponse",
- "properties": {
- "reportInfos": {
- "description": "Quota usage for each quota release `Operation` request.\n\nFully or partially failed quota release request may or may not be present\nin `report_quota_info`. For example, a failed quota release request will\nhave the current quota usage info when precise quota library returns the\ninfo. A deadline exceeded quota request will not have quota usage info.\n\nIf there is no quota release request, report_quota_info will be empty.\n",
- "items": {
- "$ref": "ReportInfo"
- },
- "type": "array"
},
- "serviceConfigId": {
- "description": "The actual config id used to process the request.",
+ "quotaProperties": {
+ "$ref": "QuotaProperties",
+ "description": "Represents the properties needed for quota check. Applicable only if this\noperation is for a quota check request."
+ },
+ "consumerId": {
+ "description": "Identity of the consumer who is using the service.\nThis field should be filled in for the operations initiated by a\nconsumer, but not for service-initiated operations that are\nnot related to a specific consumer.\n\nThis can be in one of the following formats:\n project:<project_id>,\n project_number:<project_number>,\n api_key:<api_key>.",
"type": "string"
},
- "reportErrors": {
- "description": "Partial failures, one for each `Operation` in the request that failed\nprocessing. There are three possible combinations of the RPC status:\n\n1. The combination of a successful RPC status and an empty `report_errors`\n list indicates a complete success where all `Operations` in the\n request are processed successfully.\n2. The combination of a successful RPC status and a non-empty\n `report_errors` list indicates a partial success where some\n `Operations` in the request succeeded. Each\n `Operation` that failed processing has a corresponding item\n in this list.\n3. A failed RPC status indicates a general non-deterministic failure.\n When this happens, it's impossible to know which of the\n 'Operations' in the request succeeded or failed.",
- "items": {
- "$ref": "ReportError"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "CheckResponse": {
- "description": "Response message for the Check method.",
- "id": "CheckResponse",
- "properties": {
"operationId": {
- "description": "The same operation_id value used in the CheckRequest.\nUsed for logging and diagnostics purposes.",
+ "description": "Identity of the operation. This must be unique within the scope of the\nservice that generated the operation. If the service calls\nCheck() and Report() on the same operation, the two calls should carry\nthe same id.\n\nUUID version 4 is recommended, though not required.\nIn scenarios where an operation is computed from existing information\nand an idempotent id is desirable for deduplication purpose, UUID version 5\nis recommended. See RFC 4122 for details.",
"type": "string"
},
- "checkErrors": {
- "description": "Indicate the decision of the check.\n\nIf no check errors are present, the service should process the operation.\nOtherwise the service should use the list of errors to determine the\nappropriate action.",
- "items": {
- "$ref": "CheckError"
- },
- "type": "array"
- },
- "checkInfo": {
- "$ref": "CheckInfo",
- "description": "Feedback data returned from the server during processing a Check request."
- },
- "quotaInfo": {
- "$ref": "QuotaInfo",
- "description": "Quota information for the check request associated with this response.\n"
- },
- "serviceConfigId": {
- "description": "The actual config id used to process the request.",
+ "operationName": {
+ "description": "Fully qualified name of the operation. Reserved for future use.",
"type": "string"
- }
- },
- "type": "object"
- },
- "Status": {
- "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
- "id": "Status",
- "properties": {
- "details": {
- "description": "A list of messages that carry the error details. There will be a\ncommon 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"
- },
- "code": {
- "description": "The status code, which should be an enum value of google.rpc.Code.",
- "format": "int32",
- "type": "integer"
- },
- "message": {
- "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ReportRequest": {
- "description": "Request message for the Report method.",
- "id": "ReportRequest",
- "properties": {
- "operations": {
- "description": "Operations to be reported.\n\nTypically the service should report one operation per request.\nPutting multiple operations into a single request is allowed, but should\nbe used only when multiple operations are natually available at the time\nof the report.\n\nIf multiple operations are in a single request, the total request size\nshould be no larger than 1MB. See ReportResponse.report_errors for\npartial failure behavior.",
- "items": {
- "$ref": "Operation"
- },
- "type": "array"
- },
- "serviceConfigId": {
- "description": "Specifies which version of service config should be used to process the\nrequest.\n\nIf unspecified or no matching version can be found, the\nlatest one will be used.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AuditLog": {
- "description": "Common audit log format for Google Cloud Platform API operations.\n\n",
- "id": "AuditLog",
- "properties": {
- "authorizationInfo": {
- "description": "Authorization information. If there are multiple\nresources or permissions involved, then there is\none AuthorizationInfo element for each {resource, permission} tuple.",
- "items": {
- "$ref": "AuthorizationInfo"
- },
- "type": "array"
- },
- "resourceName": {
- "description": "The resource or collection that is the target of the operation.\nThe name is a scheme-less URI, not including the API service name.\nFor example:\n\n \"shelves/SHELF_ID/books\"\n \"shelves/SHELF_ID/books/BOOK_ID\"",
- "type": "string"
- },
- "request": {
- "additionalProperties": {
- "description": "Properties of the object.",
- "type": "any"
- },
- "description": "The operation request. This may not include all request parameters,\nsuch as those that are too large, privacy-sensitive, or duplicated\nelsewhere in the log record.\nIt should never include user-generated data, such as file contents.\nWhen the JSON object represented here has a proto equivalent, the proto\nname will be indicated in the `@type` property.",
- "type": "object"
- },
- "serviceData": {
- "additionalProperties": {
- "description": "Properties of the object. Contains field @type with type URL.",
- "type": "any"
- },
- "description": "Other service-specific data about the request, response, and other\nactivities.",
- "type": "object"
- },
- "requestMetadata": {
- "$ref": "RequestMetadata",
- "description": "Metadata about the operation."
- },
- "numResponseItems": {
- "description": "The number of items returned from a List or Query API method,\nif applicable.",
- "format": "int64",
- "type": "string"
- },
- "status": {
- "$ref": "Status",
- "description": "The status of the overall operation."
- },
- "authenticationInfo": {
- "$ref": "AuthenticationInfo",
- "description": "Authentication information."
- },
- "serviceName": {
- "description": "The name of the API service performing the operation. For example,\n`\"datastore.googleapis.com\"`.",
- "type": "string"
- },
- "response": {
- "additionalProperties": {
- "description": "Properties of the object.",
- "type": "any"
- },
- "description": "The operation response. This may not include all response elements,\nsuch as those that are too large, privacy-sensitive, or duplicated\nelsewhere in the log record.\nIt should never include user-generated data, such as file contents.\nWhen the JSON object represented here has a proto equivalent, the proto\nname will be indicated in the `@type` property.",
- "type": "object"
- },
- "methodName": {
- "description": "The name of the service method or operation.\nFor API calls, this should be the name of the API method.\nFor example,\n\n \"google.datastore.v1.Datastore.RunQuery\"\n \"google.logging.v1.LoggingService.DeleteLog\"",
- "type": "string"
- }
- },
- "type": "object"
- },
- "LogEntry": {
- "description": "An individual log entry.",
- "id": "LogEntry",
- "properties": {
- "protoPayload": {
- "additionalProperties": {
- "description": "Properties of the object. Contains field @type with type URL.",
- "type": "any"
- },
- "description": "The log entry payload, represented as a protocol buffer that is\nexpressed as a JSON object. You can only pass `protoPayload`\nvalues that belong to a set of approved types.",
- "type": "object"
- },
- "timestamp": {
- "description": "The time the event described by the log entry occurred. If\nomitted, defaults to operation start time.",
- "format": "google-datetime",
- "type": "string"
- },
- "labels": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "A set of user-defined (key, value) data that provides additional\ninformation about the log entry.",
- "type": "object"
- },
- "severity": {
- "description": "The severity of the log entry. The default value is\n`LogSeverity.DEFAULT`.",
- "enum": [
- "DEFAULT",
- "DEBUG",
- "INFO",
- "NOTICE",
- "WARNING",
- "ERROR",
- "CRITICAL",
- "ALERT",
- "EMERGENCY"
- ],
- "enumDescriptions": [
- "(0) The log entry has no assigned severity level.",
- "(100) Debug or trace information.",
- "(200) Routine information, such as ongoing status or performance.",
- "(300) Normal but significant events, such as start up, shut down, or\na configuration change.",
- "(400) Warning events might cause problems.",
- "(500) Error events are likely to cause problems.",
- "(600) Critical events cause more severe problems or outages.",
- "(700) A person must take an action immediately.",
- "(800) One or more systems are unusable."
- ],
- "type": "string"
- },
- "insertId": {
- "description": "A unique ID for the log entry used for deduplication. If omitted,\nthe implementation will generate one based on operation_id.",
- "type": "string"
- },
- "name": {
- "description": "Required. The log to which this log entry belongs. Examples: `\"syslog\"`,\n`\"book_log\"`.",
- "type": "string"
- },
- "structPayload": {
- "additionalProperties": {
- "description": "Properties of the object.",
- "type": "any"
- },
- "description": "The log entry payload, represented as a structure that\nis expressed as a JSON object.",
- "type": "object"
- },
- "textPayload": {
- "description": "The log entry payload, represented as a Unicode string (UTF-8).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "MetricValue": {
- "description": "Represents a single metric value.",
- "id": "MetricValue",
- "properties": {
- "labels": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "The labels describing the metric value.\nSee comments on google.api.servicecontrol.v1.Operation.labels for\nthe overriding relationship.",
- "type": "object"
- },
- "stringValue": {
- "description": "A text string value.",
- "type": "string"
- },
- "doubleValue": {
- "description": "A double precision floating point value.",
- "format": "double",
- "type": "number"
- },
- "int64Value": {
- "description": "A signed 64-bit integer value.",
- "format": "int64",
- "type": "string"
- },
- "distributionValue": {
- "$ref": "Distribution",
- "description": "A distribution value."
- },
- "boolValue": {
- "description": "A boolean value.",
- "type": "boolean"
},
"endTime": {
- "description": "The end of the time period over which this metric value's measurement\napplies.",
+ "description": "End time of the operation.\nRequired when the operation is used in ServiceController.Report,\nbut optional when the operation is used in ServiceController.Check.",
"format": "google-datetime",
"type": "string"
},
"startTime": {
- "description": "The start of the time period over which this metric value's measurement\napplies. The time period has different semantics for different metric\ntypes (cumulative, delta, and gauge). See the metric definition\ndocumentation in the service configuration for details.",
+ "description": "Required. Start time of the operation.",
"format": "google-datetime",
"type": "string"
},
- "moneyValue": {
- "$ref": "Money",
- "description": "A money value."
- }
- },
- "type": "object"
- },
- "EndReconciliationResponse": {
- "id": "EndReconciliationResponse",
- "properties": {
- "quotaMetrics": {
- "description": "Metric values as tracked by One Platform before the adjustment was made.",
- "items": {
- "$ref": "MetricValueSet"
- },
- "type": "array"
- },
- "operationId": {
- "description": "The same operation_id value used in the EndReconciliationRequest. Used for\nlogging and diagnostics purposes.",
+ "importance": {
+ "description": "DO NOT USE. This is an experimental field.",
+ "enum": [
+ "LOW",
+ "HIGH",
+ "DEBUG"
+ ],
+ "enumDescriptions": [
+ "The API implementation may cache and aggregate the data.\nThe data may be lost when rare and unexpected system failures occur.",
+ "The API implementation doesn't cache and aggregate the data.\nIf the method returns successfully, it's guaranteed that the data has\nbeen persisted in durable storage.",
+ "In addition to the behavior described in HIGH, DEBUG enables\nadditional validation logic that is only useful during the onboarding\nprocess. This is only available to Google internal services and\nthe service must be whitelisted by chemist-dev@google.com in order\nto use this level."
+ ],
"type": "string"
},
- "reconciliationErrors": {
- "description": "Indicates the decision of the reconciliation end.",
- "items": {
- "$ref": "QuotaError"
- },
- "type": "array"
- },
- "serviceConfigId": {
- "description": "ID of the actual config used to process the request.",
+ "resourceContainer": {
+ "description": "The resource name of the parent of a resource in the resource hierarchy.\n\nThis can be in one of the following formats:\n - “projects/<project-id or project-number>”\n - “folders/<folder-id>”\n - “organizations/<organization-id>”",
"type": "string"
}
},
"type": "object"
- },
- "Money": {
- "description": "Represents an amount of money with its currency type.",
- "id": "Money",
- "properties": {
- "currencyCode": {
- "description": "The 3-letter currency code defined in ISO 4217.",
- "type": "string"
- },
- "nanos": {
- "description": "Number of nano (10^-9) units of the amount.\nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negative or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.",
- "format": "int32",
- "type": "integer"
- },
- "units": {
- "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
- "format": "int64",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ExplicitBuckets": {
- "description": "Describing buckets with arbitrary user-provided width.",
- "id": "ExplicitBuckets",
- "properties": {
- "bounds": {
- "description": "'bound' is a list of strictly increasing boundaries between\nbuckets. Note that a list of length N-1 defines N buckets because\nof fenceposting. See comments on `bucket_options` for details.\n\nThe i'th finite bucket covers the interval\n [bound[i-1], bound[i])\nwhere i ranges from 1 to bound_size() - 1. Note that there are no\nfinite buckets at all if 'bound' only contains a single element; in\nthat special case the single bound defines the boundary between the\nunderflow and overflow buckets.\n\nbucket number lower bound upper bound\n i == 0 (underflow) -inf bound[i]\n 0 < i < bound_size() bound[i-1] bound[i]\n i == bound_size() (overflow) bound[i-1] +inf",
- "items": {
- "format": "double",
- "type": "number"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Distribution": {
- "description": "Distribution represents a frequency distribution of double-valued sample\npoints. It contains the size of the population of sample points plus\nadditional optional information:\n\n - the arithmetic mean of the samples\n - the minimum and maximum of the samples\n - the sum-squared-deviation of the samples, used to compute variance\n - a histogram of the values of the sample points",
- "id": "Distribution",
- "properties": {
- "explicitBuckets": {
- "$ref": "ExplicitBuckets",
- "description": "Buckets with arbitrary user-provided width."
- },
- "maximum": {
- "description": "The maximum of the population of values. Ignored if `count` is zero.",
- "format": "double",
- "type": "number"
- },
- "sumOfSquaredDeviation": {
- "description": "The sum of squared deviations from the mean:\n Sum[i=1..count]((x_i - mean)^2)\nwhere each x_i is a sample values. If `count` is zero then this field\nmust be zero, otherwise validation of the request fails.",
- "format": "double",
- "type": "number"
- },
- "exponentialBuckets": {
- "$ref": "ExponentialBuckets",
- "description": "Buckets with exponentially growing width."
- },
- "linearBuckets": {
- "$ref": "LinearBuckets",
- "description": "Buckets with constant width."
- },
- "minimum": {
- "description": "The minimum of the population of values. Ignored if `count` is zero.",
- "format": "double",
- "type": "number"
- },
- "count": {
- "description": "The total number of samples in the distribution. Must be >= 0.",
- "format": "int64",
- "type": "string"
- },
- "mean": {
- "description": "The arithmetic mean of the samples in the distribution. If `count` is\nzero then this field must be zero.",
- "format": "double",
- "type": "number"
- },
- "bucketCounts": {
- "description": "The number of samples in each histogram bucket. `bucket_counts` are\noptional. If present, they must sum to the `count` value.\n\nThe buckets are defined below in `bucket_option`. There are N buckets.\n`bucket_counts[0]` is the number of samples in the underflow bucket.\n`bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples\nin each of the finite buckets. And `bucket_counts[N] is the number\nof samples in the overflow bucket. See the comments of `bucket_option`\nbelow for more details.\n\nAny suffix of trailing zeros may be omitted.",
- "items": {
- "format": "int64",
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis/servicemanagement__v1.json b/discovery/googleapis/servicemanagement__v1.json
index e368896..240ae5b 100644
--- a/discovery/googleapis/servicemanagement__v1.json
+++ b/discovery/googleapis/servicemanagement__v1.json
@@ -45,13 +45,13 @@
"location": "query",
"type": "boolean"
},
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
@@ -125,36 +125,17 @@
"resources": {
"services": {
"methods": {
- "undelete": {
- "description": "Revives a previously deleted managed service. The method restores the\nservice using the configuration at the time the service was deleted.\nThe target service must exist and must have been deleted within the\nlast 30 days.\n\nOperation<response: UndeleteServiceResponse>",
- "httpMethod": "POST",
- "id": "servicemanagement.services.undelete",
- "parameterOrder": [
- "serviceName"
- ],
- "parameters": {
- "serviceName": {
- "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/services/{serviceName}:undelete",
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/service.management"
- ]
- },
"list": {
"description": "Lists managed services.\n\nReturns all public services. For authenticated users, also returns all\nservices the calling user has \"servicemanagement.services.get\" permission\nfor.\n\n**BETA:** If the caller specifies the `consumer_id`, it returns only the\nservices enabled on the consumer. The `consumer_id` must have the format\nof \"project:{PROJECT-ID}\".",
"httpMethod": "GET",
"id": "servicemanagement.services.list",
"parameterOrder": [],
"parameters": {
+ "producerProjectId": {
+ "description": "Include services produced by the specified project.",
+ "location": "query",
+ "type": "string"
+ },
"consumerId": {
"description": "Include services consumed by the specified consumer.\n\nThe Google Service Management implementation accepts the following\nforms:\n- project:<project_id>",
"location": "query",
@@ -170,11 +151,6 @@
"format": "int32",
"location": "query",
"type": "integer"
- },
- "producerProjectId": {
- "description": "Include services produced by the specified project.",
- "location": "query",
- "type": "string"
}
},
"path": "v1/services",
@@ -286,15 +262,6 @@
"serviceName"
],
"parameters": {
- "view": {
- "description": "Specifies which parts of the Service Config should be returned in the\nresponse.",
- "enum": [
- "BASIC",
- "FULL"
- ],
- "location": "query",
- "type": "string"
- },
"serviceName": {
"description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.",
"location": "path",
@@ -305,6 +272,15 @@
"description": "The id of the service configuration resource.",
"location": "query",
"type": "string"
+ },
+ "view": {
+ "description": "Specifies which parts of the Service Config should be returned in the\nresponse.",
+ "enum": [
+ "BASIC",
+ "FULL"
+ ],
+ "location": "query",
+ "type": "string"
}
},
"path": "v1/services/{serviceName}/config",
@@ -318,33 +294,6 @@
"https://www.googleapis.com/auth/service.management.readonly"
]
},
- "enable": {
- "description": "Enable a managed service for a project with default setting.\n\nOperation<response: EnableServiceResponse>\n\ngoogle.rpc.Status errors may contain a\ngoogle.rpc.PreconditionFailure error detail.",
- "httpMethod": "POST",
- "id": "servicemanagement.services.enable",
- "parameterOrder": [
- "serviceName"
- ],
- "parameters": {
- "serviceName": {
- "description": "Name of the service to enable. Specifying an unknown service name will\ncause the request to fail.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/services/{serviceName}:enable",
- "request": {
- "$ref": "EnableServiceRequest"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/service.management"
- ]
- },
"delete": {
"description": "Deletes a managed service. This method will change the service to the\n`Soft-Delete` state for 30 days. Within this period, service producers may\ncall UndeleteService to restore the service.\nAfter 30 days, the service will be permanently deleted.\n\nOperation<response: google.protobuf.Empty>",
"httpMethod": "DELETE",
@@ -369,6 +318,33 @@
"https://www.googleapis.com/auth/service.management"
]
},
+ "enable": {
+ "description": "Enables a service for a project, so it can be used\nfor the project. See\n[Cloud Auth Guide](https://cloud.google.com/docs/authentication) for\nmore information.\n\nOperation<response: EnableServiceResponse>",
+ "httpMethod": "POST",
+ "id": "servicemanagement.services.enable",
+ "parameterOrder": [
+ "serviceName"
+ ],
+ "parameters": {
+ "serviceName": {
+ "description": "Name of the service to enable. Specifying an unknown service name will\ncause the request to fail.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/services/{serviceName}:enable",
+ "request": {
+ "$ref": "EnableServiceRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/service.management"
+ ]
+ },
"setIamPolicy": {
"description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.",
"httpMethod": "POST",
@@ -398,7 +374,7 @@
]
},
"disable": {
- "description": "Disable a managed service for a project.\n\nOperation<response: DisableServiceResponse>",
+ "description": "Disables a service for a project, so it can no longer be\nbe used for the project. It prevents accidental usage that may cause\nunexpected billing charges or security leaks.\n\nOperation<response: DisableServiceResponse>",
"httpMethod": "POST",
"id": "servicemanagement.services.disable",
"parameterOrder": [
@@ -451,110 +427,33 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/service.management"
]
+ },
+ "undelete": {
+ "description": "Revives a previously deleted managed service. The method restores the\nservice using the configuration at the time the service was deleted.\nThe target service must exist and must have been deleted within the\nlast 30 days.\n\nOperation<response: UndeleteServiceResponse>",
+ "httpMethod": "POST",
+ "id": "servicemanagement.services.undelete",
+ "parameterOrder": [
+ "serviceName"
+ ],
+ "parameters": {
+ "serviceName": {
+ "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/services/{serviceName}:undelete",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/service.management"
+ ]
}
},
"resources": {
- "rollouts": {
- "methods": {
- "list": {
- "description": "Lists the history of the service configuration rollouts for a managed\nservice, from the newest to the oldest.",
- "httpMethod": "GET",
- "id": "servicemanagement.services.rollouts.list",
- "parameterOrder": [
- "serviceName"
- ],
- "parameters": {
- "pageSize": {
- "description": "The max number of items to include in the response list.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "serviceName": {
- "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "pageToken": {
- "description": "The token of the page to retrieve.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/services/{serviceName}/rollouts",
- "response": {
- "$ref": "ListServiceRolloutsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only",
- "https://www.googleapis.com/auth/service.management",
- "https://www.googleapis.com/auth/service.management.readonly"
- ]
- },
- "get": {
- "description": "Gets a service configuration rollout.",
- "httpMethod": "GET",
- "id": "servicemanagement.services.rollouts.get",
- "parameterOrder": [
- "serviceName",
- "rolloutId"
- ],
- "parameters": {
- "serviceName": {
- "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "rolloutId": {
- "description": "The id of the rollout resource.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/services/{serviceName}/rollouts/{rolloutId}",
- "response": {
- "$ref": "Rollout"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only",
- "https://www.googleapis.com/auth/service.management",
- "https://www.googleapis.com/auth/service.management.readonly"
- ]
- },
- "create": {
- "description": "Creates a new service configuration rollout. Based on rollout, the\nGoogle Service Management will roll out the service configurations to\ndifferent backend services. For example, the logging configuration will be\npushed to Google Cloud Logging.\n\nPlease note that any previous pending and running Rollouts and associated\nOperations will be automatically cancelled so that the latest Rollout will\nnot be blocked by previous Rollouts.\n\nOperation<response: Rollout>",
- "httpMethod": "POST",
- "id": "servicemanagement.services.rollouts.create",
- "parameterOrder": [
- "serviceName"
- ],
- "parameters": {
- "serviceName": {
- "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/services/{serviceName}/rollouts",
- "request": {
- "$ref": "Rollout"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/service.management"
- ]
- }
- }
- },
"configs": {
"methods": {
"submit": {
@@ -630,6 +529,15 @@
"configId"
],
"parameters": {
+ "view": {
+ "description": "Specifies which parts of the Service Config should be returned in the\nresponse.",
+ "enum": [
+ "BASIC",
+ "FULL"
+ ],
+ "location": "query",
+ "type": "string"
+ },
"serviceName": {
"description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.",
"location": "path",
@@ -641,15 +549,6 @@
"location": "path",
"required": true,
"type": "string"
- },
- "view": {
- "description": "Specifies which parts of the Service Config should be returned in the\nresponse.",
- "enum": [
- "BASIC",
- "FULL"
- ],
- "location": "query",
- "type": "string"
}
},
"path": "v1/services/{serviceName}/configs/{configId}",
@@ -691,11 +590,149 @@
]
}
}
+ },
+ "rollouts": {
+ "methods": {
+ "list": {
+ "description": "Lists the history of the service configuration rollouts for a managed\nservice, from the newest to the oldest.",
+ "httpMethod": "GET",
+ "id": "servicemanagement.services.rollouts.list",
+ "parameterOrder": [
+ "serviceName"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "The max number of items to include in the response list.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "serviceName": {
+ "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "The token of the page to retrieve.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/services/{serviceName}/rollouts",
+ "response": {
+ "$ref": "ListServiceRolloutsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/service.management",
+ "https://www.googleapis.com/auth/service.management.readonly"
+ ]
+ },
+ "get": {
+ "description": "Gets a service configuration rollout.",
+ "httpMethod": "GET",
+ "id": "servicemanagement.services.rollouts.get",
+ "parameterOrder": [
+ "serviceName",
+ "rolloutId"
+ ],
+ "parameters": {
+ "rolloutId": {
+ "description": "The id of the rollout resource.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "serviceName": {
+ "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/services/{serviceName}/rollouts/{rolloutId}",
+ "response": {
+ "$ref": "Rollout"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/service.management",
+ "https://www.googleapis.com/auth/service.management.readonly"
+ ]
+ },
+ "create": {
+ "description": "Creates a new service configuration rollout. Based on rollout, the\nGoogle Service Management will roll out the service configurations to\ndifferent backend services. For example, the logging configuration will be\npushed to Google Cloud Logging.\n\nPlease note that any previous pending and running Rollouts and associated\nOperations will be automatically cancelled so that the latest Rollout will\nnot be blocked by previous Rollouts.\n\nOperation<response: Rollout>",
+ "httpMethod": "POST",
+ "id": "servicemanagement.services.rollouts.create",
+ "parameterOrder": [
+ "serviceName"
+ ],
+ "parameters": {
+ "serviceName": {
+ "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/services/{serviceName}/rollouts",
+ "request": {
+ "$ref": "Rollout"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/service.management"
+ ]
+ }
+ }
}
}
},
"operations": {
"methods": {
+ "list": {
+ "description": "Lists service operations that match the specified filter in the request.",
+ "httpMethod": "GET",
+ "id": "servicemanagement.operations.list",
+ "parameterOrder": [],
+ "parameters": {
+ "name": {
+ "description": "Not used.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "The standard list page token.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The maximum number of operations to return. If unspecified, defaults to\n50. The maximum value is 100.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "filter": {
+ "description": "A string for filtering Operations.\n The following filter fields are supported:\n\n * serviceName: Required. Only `=` operator is allowed.\n * startTime: The time this job was started, in ISO 8601 format.\n Allowed operators are `>=`, `>`, `<=`, and `<`.\n * status: Can be `done`, `in_progress`, or `failed`. Allowed\n operators are `=`, and `!=`.\n\n Filter expression supports conjunction (AND) and disjunction (OR)\n logical operators. However, the serviceName restriction must be at the\n top-level and can only be combined with other restrictions via the AND\n logical operator.\n\n Examples:\n\n * `serviceName={some-service}.googleapis.com`\n * `serviceName={some-service}.googleapis.com AND startTime>=\"2017-02-01\"`\n * `serviceName={some-service}.googleapis.com AND status=done`\n * `serviceName={some-service}.googleapis.com AND (status=done OR startTime>=\"2017-02-01\")`",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/operations",
+ "response": {
+ "$ref": "ListOperationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/service.management"
+ ]
+ },
"get": {
"description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
"httpMethod": "GET",
@@ -724,11 +761,1008 @@
}
}
},
- "revision": "20170227",
+ "revision": "20170317",
"rootUrl": "https://servicemanagement.googleapis.com/",
"schemas": {
+ "Logging": {
+ "description": "Logging configuration of the service.\n\nThe following example shows how to configure logs to be sent to the\nproducer and consumer projects. In the example, the `activity_history`\nlog is sent to both the producer and consumer projects, whereas the\n`purchase_history` log is only sent to the producer project.\n\n monitored_resources:\n - type: library.googleapis.com/branch\n labels:\n - key: /city\n description: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n logs:\n - name: activity_history\n labels:\n - key: /customer_id\n - name: purchase_history\n logging:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history\n - purchase_history\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history",
+ "id": "Logging",
+ "properties": {
+ "producerDestinations": {
+ "description": "Logging configurations for sending logs to the producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none producer destination.",
+ "items": {
+ "$ref": "LoggingDestination"
+ },
+ "type": "array"
+ },
+ "consumerDestinations": {
+ "description": "Logging configurations for sending logs to the consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none consumer destination.",
+ "items": {
+ "$ref": "LoggingDestination"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Method": {
+ "description": "Method represents a method of an api.",
+ "id": "Method",
+ "properties": {
+ "responseStreaming": {
+ "description": "If true, the response is streamed.",
+ "type": "boolean"
+ },
+ "name": {
+ "description": "The simple name of this method.",
+ "type": "string"
+ },
+ "requestTypeUrl": {
+ "description": "A URL of the input message type.",
+ "type": "string"
+ },
+ "requestStreaming": {
+ "description": "If true, the request is streamed.",
+ "type": "boolean"
+ },
+ "syntax": {
+ "description": "The source syntax of this method.",
+ "enum": [
+ "SYNTAX_PROTO2",
+ "SYNTAX_PROTO3"
+ ],
+ "enumDescriptions": [
+ "Syntax `proto2`.",
+ "Syntax `proto3`."
+ ],
+ "type": "string"
+ },
+ "responseTypeUrl": {
+ "description": "The URL of the output message type.",
+ "type": "string"
+ },
+ "options": {
+ "description": "Any metadata attached to the method.",
+ "items": {
+ "$ref": "Option"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListServiceRolloutsResponse": {
+ "description": "Response message for ListServiceRollouts method.",
+ "id": "ListServiceRolloutsResponse",
+ "properties": {
+ "rollouts": {
+ "description": "The list of rollout resources.",
+ "items": {
+ "$ref": "Rollout"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "The token of the next page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ConfigRef": {
+ "description": "Represents a service configuration with its name and id.",
+ "id": "ConfigRef",
+ "properties": {
+ "name": {
+ "description": "Resource name of a service config. It must have the following\nformat: \"services/{service name}/configs/{config id}\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Mixin": {
+ "description": "Declares an API to be included in this API. The including API must\nredeclare all the methods from the included API, but documentation\nand options are inherited as follows:\n\n- If after comment and whitespace stripping, the documentation\n string of the redeclared method is empty, it will be inherited\n from the original method.\n\n- Each annotation belonging to the service config (http,\n visibility) which is not set in the redeclared method will be\n inherited.\n\n- If an http annotation is inherited, the path pattern will be\n modified as follows. Any version prefix will be replaced by the\n version of the including API plus the root path if specified.\n\nExample of a simple mixin:\n\n package google.acl.v1;\n service AccessControl {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v1/{resource=**}:getAcl\";\n }\n }\n\n package google.storage.v2;\n service Storage {\n // rpc GetAcl(GetAclRequest) returns (Acl);\n\n // Get a data record.\n rpc GetData(GetDataRequest) returns (Data) {\n option (google.api.http).get = \"/v2/{resource=**}\";\n }\n }\n\nExample of a mixin configuration:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n\nThe mixin construct implies that all methods in `AccessControl` are\nalso declared with same name and request/response types in\n`Storage`. A documentation generator or annotation processor will\nsee the effective `Storage.GetAcl` method after inherting\ndocumentation and annotations as follows:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/{resource=**}:getAcl\";\n }\n ...\n }\n\nNote how the version in the path pattern changed from `v1` to `v2`.\n\nIf the `root` field in the mixin is specified, it should be a\nrelative path under which inherited HTTP paths are placed. Example:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n root: acls\n\nThis implies the following inherited HTTP annotation:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\";\n }\n ...\n }",
+ "id": "Mixin",
+ "properties": {
+ "root": {
+ "description": "If non-empty specifies a path under which inherited HTTP paths\nare rooted.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The fully qualified name of the API which is included.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FlowOperationMetadata": {
+ "description": "The metadata associated with a long running operation resource.",
+ "id": "FlowOperationMetadata",
+ "properties": {
+ "isPersisted": {
+ "description": "Is the update for the operation persisted?",
+ "type": "boolean"
+ },
+ "flowName": {
+ "description": "The name of the top-level flow corresponding to this operation.\nMust be equal to the \"name\" field for a FlowName enum.",
+ "type": "string"
+ },
+ "resourceNames": {
+ "description": "The full name of the resources that this flow is directly associated with.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "cancelState": {
+ "description": "The state of the operation with respect to cancellation.",
+ "enum": [
+ "RUNNING",
+ "UNCANCELLABLE",
+ "CANCELLED"
+ ],
+ "enumDescriptions": [
+ "Default state, cancellable but not cancelled.",
+ "The operation has proceeded past the point of no return and cannot\nbe cancelled.",
+ "The operation has been cancelled, work should cease\nand any needed rollback steps executed."
+ ],
+ "type": "string"
+ },
+ "deadline": {
+ "description": "Deadline for the flow to complete, to prevent orphaned Operations.\n\nIf the flow has not completed by this time, it may be terminated by\nthe engine, or force-failed by Operation lookup.\n\nNote that this is not a hard deadline after which the Flow will\ndefinitely be failed, rather it is a deadline after which it is reasonable\nto suspect a problem and other parts of the system may kill operation\nto ensure we don't have orphans.\nsee also: go/prevent-orphaned-operations",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "The start time of the operation.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CustomError": {
+ "description": "Customize service error responses. For example, list any service\nspecific protobuf types that can appear in error detail lists of\nerror responses.\n\nExample:\n\n custom_error:\n types:\n - google.foo.v1.CustomError\n - google.foo.v1.AnotherError",
+ "id": "CustomError",
+ "properties": {
+ "types": {
+ "description": "The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "rules": {
+ "description": "The list of custom error rules that apply to individual API messages.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
+ "items": {
+ "$ref": "CustomErrorRule"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "CounterOptions": {
+ "description": "Options for counters",
+ "id": "CounterOptions",
+ "properties": {
+ "metric": {
+ "description": "The metric to update.",
+ "type": "string"
+ },
+ "field": {
+ "description": "The field value to attribute.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Http": {
+ "description": "Defines the HTTP configuration for a service. It contains a list of\nHttpRule, each specifying the mapping of an RPC method\nto one or more HTTP REST API methods.",
+ "id": "Http",
+ "properties": {
+ "rules": {
+ "description": "A list of HTTP configuration rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
+ "items": {
+ "$ref": "HttpRule"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SourceInfo": {
+ "description": "Source information used to create a Service Config",
+ "id": "SourceInfo",
+ "properties": {
+ "sourceFiles": {
+ "description": "All files used during config generation.",
+ "items": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Control": {
+ "description": "Selects and configures the service controller used by the service. The\nservice controller handles features like abuse, quota, billing, logging,\nmonitoring, etc.",
+ "id": "Control",
+ "properties": {
+ "environment": {
+ "description": "The service control environment to use. If empty, no control plane\nfeature (like quota and billing) will be enabled.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SystemParameter": {
+ "description": "Define a parameter's name and location. The parameter may be passed as either\nan HTTP header or a URL query parameter, and if both are passed the behavior\nis implementation-dependent.",
+ "id": "SystemParameter",
+ "properties": {
+ "httpHeader": {
+ "description": "Define the HTTP header name to use for the parameter. It is case\ninsensitive.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Define the name of the parameter, such as \"api_key\" . It is case sensitive.",
+ "type": "string"
+ },
+ "urlQueryParameter": {
+ "description": "Define the URL query parameter name to use for the parameter. It is case\nsensitive.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Field": {
+ "description": "A single field of a message type.",
+ "id": "Field",
+ "properties": {
+ "oneofIndex": {
+ "description": "The index of the field type in `Type.oneofs`, for message or enumeration\ntypes. The first type has index 1; zero means the type is not in the list.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "packed": {
+ "description": "Whether to use alternative packed wire representation.",
+ "type": "boolean"
+ },
+ "cardinality": {
+ "description": "The field cardinality.",
+ "enum": [
+ "CARDINALITY_UNKNOWN",
+ "CARDINALITY_OPTIONAL",
+ "CARDINALITY_REQUIRED",
+ "CARDINALITY_REPEATED"
+ ],
+ "enumDescriptions": [
+ "For fields with unknown cardinality.",
+ "For optional fields.",
+ "For required fields. Proto2 syntax only.",
+ "For repeated fields."
+ ],
+ "type": "string"
+ },
+ "defaultValue": {
+ "description": "The string value of the default value of this field. Proto2 syntax only.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The field name.",
+ "type": "string"
+ },
+ "typeUrl": {
+ "description": "The field type URL, without the scheme, for message or enumeration\ntypes. Example: `\"type.googleapis.com/google.protobuf.Timestamp\"`.",
+ "type": "string"
+ },
+ "number": {
+ "description": "The field number.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "kind": {
+ "description": "The field type.",
+ "enum": [
+ "TYPE_UNKNOWN",
+ "TYPE_DOUBLE",
+ "TYPE_FLOAT",
+ "TYPE_INT64",
+ "TYPE_UINT64",
+ "TYPE_INT32",
+ "TYPE_FIXED64",
+ "TYPE_FIXED32",
+ "TYPE_BOOL",
+ "TYPE_STRING",
+ "TYPE_GROUP",
+ "TYPE_MESSAGE",
+ "TYPE_BYTES",
+ "TYPE_UINT32",
+ "TYPE_ENUM",
+ "TYPE_SFIXED32",
+ "TYPE_SFIXED64",
+ "TYPE_SINT32",
+ "TYPE_SINT64"
+ ],
+ "enumDescriptions": [
+ "Field type unknown.",
+ "Field type double.",
+ "Field type float.",
+ "Field type int64.",
+ "Field type uint64.",
+ "Field type int32.",
+ "Field type fixed64.",
+ "Field type fixed32.",
+ "Field type bool.",
+ "Field type string.",
+ "Field type group. Proto2 syntax only, and deprecated.",
+ "Field type message.",
+ "Field type bytes.",
+ "Field type uint32.",
+ "Field type enum.",
+ "Field type sfixed32.",
+ "Field type sfixed64.",
+ "Field type sint32.",
+ "Field type sint64."
+ ],
+ "type": "string"
+ },
+ "jsonName": {
+ "description": "The field JSON name.",
+ "type": "string"
+ },
+ "options": {
+ "description": "The protocol buffer options.",
+ "items": {
+ "$ref": "Option"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Monitoring": {
+ "description": "Monitoring configuration of the service.\n\nThe example below shows how to configure monitored resources and metrics\nfor monitoring. In the example, a monitored resource and two metrics are\ndefined. The `library.googleapis.com/book/returned_count` metric is sent\nto both producer and consumer projects, whereas the\n`library.googleapis.com/book/overdue_count` metric is only sent to the\nconsumer project.\n\n monitored_resources:\n - type: library.googleapis.com/branch\n labels:\n - key: /city\n description: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n metrics:\n - name: library.googleapis.com/book/returned_count\n metric_kind: DELTA\n value_type: INT64\n labels:\n - key: /customer_id\n - name: library.googleapis.com/book/overdue_count\n metric_kind: GAUGE\n value_type: INT64\n labels:\n - key: /customer_id\n monitoring:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n - library.googleapis.com/book/overdue_count",
+ "id": "Monitoring",
+ "properties": {
+ "consumerDestinations": {
+ "description": "Monitoring configurations for sending metrics to the consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A metric can be used in at most\none consumer destination.",
+ "items": {
+ "$ref": "MonitoringDestination"
+ },
+ "type": "array"
+ },
+ "producerDestinations": {
+ "description": "Monitoring configurations for sending metrics to the producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A metric can be used in at most\none producer destination.",
+ "items": {
+ "$ref": "MonitoringDestination"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "TestIamPermissionsRequest": {
+ "description": "Request message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsRequest",
+ "properties": {
+ "permissions": {
+ "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Enum": {
+ "description": "Enum type definition.",
+ "id": "Enum",
+ "properties": {
+ "name": {
+ "description": "Enum type name.",
+ "type": "string"
+ },
+ "enumvalue": {
+ "description": "Enum value definitions.",
+ "items": {
+ "$ref": "EnumValue"
+ },
+ "type": "array"
+ },
+ "options": {
+ "description": "Protocol buffer options.",
+ "items": {
+ "$ref": "Option"
+ },
+ "type": "array"
+ },
+ "sourceContext": {
+ "$ref": "SourceContext",
+ "description": "The source context."
+ },
+ "syntax": {
+ "description": "The source syntax.",
+ "enum": [
+ "SYNTAX_PROTO2",
+ "SYNTAX_PROTO3"
+ ],
+ "enumDescriptions": [
+ "Syntax `proto2`.",
+ "Syntax `proto3`."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "EnableServiceRequest": {
+ "description": "Request message for EnableService method.",
+ "id": "EnableServiceRequest",
+ "properties": {
+ "consumerId": {
+ "description": "The identity of consumer resource which service enablement will be\napplied to.\n\nThe Google Service Management implementation accepts the following\nforms:\n- \"project:<project_id>\"\n\nNote: this is made compatible with\ngoogle.api.servicecontrol.v1.Operation.consumer_id.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "LabelDescriptor": {
+ "description": "A description of a label.",
+ "id": "LabelDescriptor",
+ "properties": {
+ "key": {
+ "description": "The label key.",
+ "type": "string"
+ },
+ "description": {
+ "description": "A human-readable description for the label.",
+ "type": "string"
+ },
+ "valueType": {
+ "description": "The type of data that can be assigned to the label.",
+ "enum": [
+ "STRING",
+ "BOOL",
+ "INT64"
+ ],
+ "enumDescriptions": [
+ "A variable-length string. This is the default.",
+ "Boolean; true or false.",
+ "A 64-bit signed integer."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Diagnostic": {
+ "description": "Represents a diagnostic message (error or warning)",
+ "id": "Diagnostic",
+ "properties": {
+ "message": {
+ "description": "Message describing the error or warning.",
+ "type": "string"
+ },
+ "location": {
+ "description": "File name and line number of the error or warning.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "The kind of diagnostic information provided.",
+ "enum": [
+ "WARNING",
+ "ERROR"
+ ],
+ "enumDescriptions": [
+ "Warnings and errors",
+ "Only errors"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GenerateConfigReportResponse": {
+ "description": "Response message for GenerateConfigReport method.",
+ "id": "GenerateConfigReportResponse",
+ "properties": {
+ "changeReports": {
+ "description": "list of ChangeReport, each corresponding to comparison between two\nservice configurations.",
+ "items": {
+ "$ref": "ChangeReport"
+ },
+ "type": "array"
+ },
+ "id": {
+ "description": "ID of the service configuration this report belongs to.",
+ "type": "string"
+ },
+ "diagnostics": {
+ "description": "Errors / Linter warnings associated with the service definition this\nreport\nbelongs to.",
+ "items": {
+ "$ref": "Diagnostic"
+ },
+ "type": "array"
+ },
+ "serviceName": {
+ "description": "Name of the service this report belongs to.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Type": {
+ "description": "A protocol buffer message type.",
+ "id": "Type",
+ "properties": {
+ "fields": {
+ "description": "The list of fields.",
+ "items": {
+ "$ref": "Field"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "The fully qualified message name.",
+ "type": "string"
+ },
+ "oneofs": {
+ "description": "The list of types appearing in `oneof` definitions in this type.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "sourceContext": {
+ "$ref": "SourceContext",
+ "description": "The source context."
+ },
+ "syntax": {
+ "description": "The source syntax.",
+ "enum": [
+ "SYNTAX_PROTO2",
+ "SYNTAX_PROTO3"
+ ],
+ "enumDescriptions": [
+ "Syntax `proto2`.",
+ "Syntax `proto3`."
+ ],
+ "type": "string"
+ },
+ "options": {
+ "description": "The protocol buffer options.",
+ "items": {
+ "$ref": "Option"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Experimental": {
+ "description": "Experimental service configuration. These configuration options can\nonly be used by whitelisted users.",
+ "id": "Experimental",
+ "properties": {
+ "authorization": {
+ "$ref": "AuthorizationConfig",
+ "description": "Authorization configuration."
+ }
+ },
+ "type": "object"
+ },
+ "ListServiceConfigsResponse": {
+ "description": "Response message for ListServiceConfigs method.",
+ "id": "ListServiceConfigsResponse",
+ "properties": {
+ "serviceConfigs": {
+ "description": "The list of service configuration resources.",
+ "items": {
+ "$ref": "Service"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "The token of the next page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AuditConfig": {
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.",
+ "id": "AuditConfig",
+ "properties": {
+ "auditLogConfigs": {
+ "description": "The configuration for logging of each type of permission.\nNext ID: 4",
+ "items": {
+ "$ref": "AuditLogConfig"
+ },
+ "type": "array"
+ },
+ "exemptedMembers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "service": {
+ "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Backend": {
+ "description": "`Backend` defines the backend configuration for a service.",
+ "id": "Backend",
+ "properties": {
+ "rules": {
+ "description": "A list of API backend rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
+ "items": {
+ "$ref": "BackendRule"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SubmitConfigSourceRequest": {
+ "description": "Request message for SubmitConfigSource method.",
+ "id": "SubmitConfigSourceRequest",
+ "properties": {
+ "configSource": {
+ "$ref": "ConfigSource",
+ "description": "The source configuration for the service."
+ },
+ "validateOnly": {
+ "description": "Optional. If set, this will result in the generation of a\n`google.api.Service` configuration based on the `ConfigSource` provided,\nbut the generated config and the sources will NOT be persisted.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "AuthorizationConfig": {
+ "description": "Configuration of authorization.\n\nThis section determines the authorization provider, if unspecified, then no\nauthorization check will be done.\n\nExample:\n\n experimental:\n authorization:\n provider: firebaserules.googleapis.com",
+ "id": "AuthorizationConfig",
+ "properties": {
+ "provider": {
+ "description": "The name of the authorization provider, such as\nfirebaserules.googleapis.com.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DocumentationRule": {
+ "description": "A documentation rule provides information about individual API elements.",
+ "id": "DocumentationRule",
+ "properties": {
+ "deprecationDescription": {
+ "description": "Deprecation description of the selected element(s). It can be provided if an\nelement is marked as `deprecated`.",
+ "type": "string"
+ },
+ "selector": {
+ "description": "The selector is a comma-separated list of patterns. Each pattern is a\nqualified name of the element which may end in \"*\", indicating a wildcard.\nWildcards are only allowed at the end and for a whole component of the\nqualified name, i.e. \"foo.*\" is ok, but not \"foo.b*\" or \"foo.*.bar\". To\nspecify a default for all applicable elements, the whole pattern \"*\"\nis used.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the selected API(s).",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CloudAuditOptions": {
+ "description": "Write a Cloud Audit log",
+ "id": "CloudAuditOptions",
+ "properties": {},
+ "type": "object"
+ },
+ "ContextRule": {
+ "description": "A context rule provides information about the context for an individual API\nelement.",
+ "id": "ContextRule",
+ "properties": {
+ "requested": {
+ "description": "A list of full type names of requested contexts.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "selector": {
+ "description": "Selects the methods to which this rule applies.\n\nRefer to selector for syntax details.",
+ "type": "string"
+ },
+ "provided": {
+ "description": "A list of full type names of provided contexts.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SourceContext": {
+ "description": "`SourceContext` represents information about the source of a\nprotobuf element, like the file in which it is defined.",
+ "id": "SourceContext",
+ "properties": {
+ "fileName": {
+ "description": "The path-qualified name of the .proto file that contained the associated\nprotobuf element. For example: `\"google/protobuf/source_context.proto\"`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "MetricDescriptor": {
+ "description": "Defines a metric type and its schema. Once a metric descriptor is created,\ndeleting or altering it stops data collection and makes the metric type's\nexisting data unusable.",
+ "id": "MetricDescriptor",
+ "properties": {
+ "unit": {
+ "description": "The unit in which the metric value is reported. It is only applicable\nif the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The\nsupported units are a subset of [The Unified Code for Units of\nMeasure](http://unitsofmeasure.org/ucum.html) standard:\n\n**Basic units (UNIT)**\n\n* `bit` bit\n* `By` byte\n* `s` second\n* `min` minute\n* `h` hour\n* `d` day\n\n**Prefixes (PREFIX)**\n\n* `k` kilo (10**3)\n* `M` mega (10**6)\n* `G` giga (10**9)\n* `T` tera (10**12)\n* `P` peta (10**15)\n* `E` exa (10**18)\n* `Z` zetta (10**21)\n* `Y` yotta (10**24)\n* `m` milli (10**-3)\n* `u` micro (10**-6)\n* `n` nano (10**-9)\n* `p` pico (10**-12)\n* `f` femto (10**-15)\n* `a` atto (10**-18)\n* `z` zepto (10**-21)\n* `y` yocto (10**-24)\n* `Ki` kibi (2**10)\n* `Mi` mebi (2**20)\n* `Gi` gibi (2**30)\n* `Ti` tebi (2**40)\n\n**Grammar**\n\nThe grammar includes the dimensionless unit `1`, such as `1/s`.\n\nThe grammar also includes these connectors:\n\n* `/` division (as an infix operator, e.g. `1/s`).\n* `.` multiplication (as an infix operator, e.g. `GBy.d`)\n\nThe grammar for a unit is as follows:\n\n Expression = Component { \".\" Component } { \"/\" Component } ;\n\n Component = [ PREFIX ] UNIT [ Annotation ]\n | Annotation\n | \"1\"\n ;\n\n Annotation = \"{\" NAME \"}\" ;\n\nNotes:\n\n* `Annotation` is just a comment if it follows a `UNIT` and is\n equivalent to `1` if it is used alone. For examples,\n `{requests}/s == 1/s`, `By{transmitted}/s == By/s`.\n* `NAME` is a sequence of non-blank printable ASCII characters not\n containing '{' or '}'.",
+ "type": "string"
+ },
+ "labels": {
+ "description": "The set of labels that can be used to describe a specific\ninstance of this metric type. For example, the\n`appengine.googleapis.com/http/server/response_latencies` metric\ntype has a label for the HTTP response code, `response_code`, so\nyou can look at latencies for successful responses or just\nfor responses that failed.",
+ "items": {
+ "$ref": "LabelDescriptor"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "The resource name of the metric descriptor. Depending on the\nimplementation, the name typically includes: (1) the parent resource name\nthat defines the scope of the metric type or of its data; and (2) the\nmetric's URL-encoded type, which also appears in the `type` field of this\ndescriptor. For example, following is the resource name of a custom\nmetric within the GCP project `my-project-id`:\n\n \"projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount\"",
+ "type": "string"
+ },
+ "type": {
+ "description": "The metric type, including its DNS name prefix. The type is not\nURL-encoded. All user-defined custom metric types have the DNS name\n`custom.googleapis.com`. Metric types should use a natural hierarchical\ngrouping. For example:\n\n \"custom.googleapis.com/invoice/paid/amount\"\n \"appengine.googleapis.com/http/server/response_latencies\"",
+ "type": "string"
+ },
+ "valueType": {
+ "description": "Whether the measurement is an integer, a floating-point number, etc.\nSome combinations of `metric_kind` and `value_type` might not be supported.",
+ "enum": [
+ "VALUE_TYPE_UNSPECIFIED",
+ "BOOL",
+ "INT64",
+ "DOUBLE",
+ "STRING",
+ "DISTRIBUTION",
+ "MONEY"
+ ],
+ "enumDescriptions": [
+ "Do not use this default value.",
+ "The value is a boolean.\nThis value type can be used only if the metric kind is `GAUGE`.",
+ "The value is a signed 64-bit integer.",
+ "The value is a double precision floating point number.",
+ "The value is a text string.\nThis value type can be used only if the metric kind is `GAUGE`.",
+ "The value is a `Distribution`.",
+ "The value is money."
+ ],
+ "type": "string"
+ },
+ "metricKind": {
+ "description": "Whether the metric records instantaneous values, changes to a value, etc.\nSome combinations of `metric_kind` and `value_type` might not be supported.",
+ "enum": [
+ "METRIC_KIND_UNSPECIFIED",
+ "GAUGE",
+ "DELTA",
+ "CUMULATIVE"
+ ],
+ "enumDescriptions": [
+ "Do not use this default value.",
+ "An instantaneous measurement of a value.",
+ "The change in a value during a time interval.",
+ "A value accumulated over a time interval. Cumulative\nmeasurements in a time series should have the same start time\nand increasing end times, until an event resets the cumulative\nvalue to zero and sets a new start time for the following\npoints."
+ ],
+ "type": "string"
+ },
+ "description": {
+ "description": "A detailed description of the metric, which can be used in documentation.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "A concise name for the metric, which can be displayed in user interfaces.\nUse sentence case without an ending period, for example \"Request count\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListServicesResponse": {
+ "description": "Response message for `ListServices` method.",
+ "id": "ListServicesResponse",
+ "properties": {
+ "services": {
+ "description": "The returned services will only have the name field set.",
+ "items": {
+ "$ref": "ManagedService"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Token that can be passed to `ListServices` to resume a paginated query.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Endpoint": {
+ "description": "`Endpoint` describes a network endpoint that serves a set of APIs.\nA service may expose any number of endpoints, and all endpoints share the\nsame service configuration, such as quota configuration and monitoring\nconfiguration.\n\nExample service configuration:\n\n name: library-example.googleapis.com\n endpoints:\n # Below entry makes 'google.example.library.v1.Library'\n # API be served from endpoint address library-example.googleapis.com.\n # It also allows HTTP OPTIONS calls to be passed to the backend, for\n # it to decide whether the subsequent cross-origin request is\n # allowed to proceed.\n - name: library-example.googleapis.com\n allow_cors: true",
+ "id": "Endpoint",
+ "properties": {
+ "aliases": {
+ "description": "DEPRECATED: This field is no longer supported. Instead of using aliases,\nplease specify multiple google.api.Endpoint for each of the intented\nalias.\n\nAdditional names that this endpoint will be hosted on.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "features": {
+ "description": "The list of features enabled on this endpoint.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "allowCors": {
+ "description": "Allowing\n[CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka\ncross-domain traffic, would allow the backends served from this endpoint to\nreceive and respond to HTTP OPTIONS requests. The response will be used by\nthe browser to determine whether the subsequent cross-origin request is\nallowed to proceed.",
+ "type": "boolean"
+ },
+ "name": {
+ "description": "The canonical name of this endpoint.",
+ "type": "string"
+ },
+ "apis": {
+ "description": "The list of APIs served by this endpoint.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "OAuthRequirements": {
+ "description": "OAuth scopes are a way to define data and permissions on data. For example,\nthere are scopes defined for \"Read-only access to Google Calendar\" and\n\"Access to Cloud Platform\". Users can consent to a scope for an application,\ngiving it permission to access that data on their behalf.\n\nOAuth scope specifications should be fairly coarse grained; a user will need\nto see and understand the text description of what your scope means.\n\nIn most cases: use one or at most two OAuth scopes for an entire family of\nproducts. If your product has multiple APIs, you should probably be sharing\nthe OAuth scope across all of those APIs.\n\nWhen you need finer grained OAuth consent screens: talk with your product\nmanagement about how developers will use them in practice.\n\nPlease note that even though each of the canonical scopes is enough for a\nrequest to be accepted and passed to the backend, a request can still fail\ndue to the backend requiring additional scopes or permissions.",
+ "id": "OAuthRequirements",
+ "properties": {
+ "canonicalScopes": {
+ "description": "The list of publicly documented OAuth scopes that are allowed access. An\nOAuth token containing any of these scopes will be accepted.\n\nExample:\n\n canonical_scopes: https://www.googleapis.com/auth/calendar,\n https://www.googleapis.com/auth/calendar.read",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "TestIamPermissionsResponse": {
+ "description": "Response message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsResponse",
+ "properties": {
+ "permissions": {
+ "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GetIamPolicyRequest": {
+ "description": "Request message for `GetIamPolicy` method.",
+ "id": "GetIamPolicyRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "Usage": {
+ "description": "Configuration controlling usage of a service.",
+ "id": "Usage",
+ "properties": {
+ "producerNotificationChannel": {
+ "description": "The full resource name of a channel used for sending notifications to the\nservice producer.\n\nGoogle Service Management currently only supports\n[Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification\nchannel. To use Google Cloud Pub/Sub as the channel, this must be the name\nof a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format\ndocumented in https://cloud.google.com/pubsub/docs/overview.",
+ "type": "string"
+ },
+ "rules": {
+ "description": "A list of usage rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
+ "items": {
+ "$ref": "UsageRule"
+ },
+ "type": "array"
+ },
+ "requirements": {
+ "description": "Requirements that must be satisfied before a consumer project can use the\nservice. Each requirement is of the form <service.name>/<requirement-id>;\nfor example 'serviceusage.googleapis.com/billing-enabled'.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Context": {
+ "description": "`Context` defines which contexts an API requests.\n\nExample:\n\n context:\n rules:\n - selector: \"*\"\n requested:\n - google.rpc.context.ProjectContext\n - google.rpc.context.OriginContext\n\nThe above specifies that all methods in the API request\n`google.rpc.context.ProjectContext` and\n`google.rpc.context.OriginContext`.\n\nAvailable context types are defined in package\n`google.rpc.context`.",
+ "id": "Context",
+ "properties": {
+ "rules": {
+ "description": "A list of RPC context rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
+ "items": {
+ "$ref": "ContextRule"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Rule": {
+ "description": "A rule to be applied in a Policy.",
+ "id": "Rule",
+ "properties": {
+ "logConfig": {
+ "description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries\nthat match the LOG action.",
+ "items": {
+ "$ref": "LogConfig"
+ },
+ "type": "array"
+ },
+ "in": {
+ "description": "If one or more 'in' clauses are specified, the rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "permissions": {
+ "description": "A permission is a string of form '<service>.<resource type>.<verb>'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "action": {
+ "description": "Required",
+ "enum": [
+ "NO_ACTION",
+ "ALLOW",
+ "ALLOW_WITH_LOG",
+ "DENY",
+ "DENY_WITH_LOG",
+ "LOG"
+ ],
+ "enumDescriptions": [
+ "Default no action.",
+ "Matching 'Entries' grant access.",
+ "Matching 'Entries' grant access and the caller promises to log\nthe request per the returned log_configs.",
+ "Matching 'Entries' deny access.",
+ "Matching 'Entries' deny access and the caller promises to log\nthe request per the returned log_configs.",
+ "Matching 'Entries' tell IAM.Check callers to generate logs."
+ ],
+ "type": "string"
+ },
+ "notIn": {
+ "description": "If one or more 'not_in' clauses are specified, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.\nThe format for in and not_in entries is the same as for members in a\nBinding (see google/iam/v1/policy.proto).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "description": {
+ "description": "Human-readable description of the rule.",
+ "type": "string"
+ },
+ "conditions": {
+ "description": "Additional restrictions that must be met",
+ "items": {
+ "$ref": "Condition"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"LogConfig": {
- "description": "Specifies what kind of log the caller must write\nIncrement a streamz counter with the specified metric and field names.\n\nMetric names should start with a '/', generally be lowercase-only,\nand end in \"_count\". Field names should not contain an initial slash.\nThe actual exported metric names will have \"/iam/policy\" prepended.\n\nField names correspond to IAM request parameters and field values are\ntheir respective values.\n\nAt present the only supported field names are\n - \"iam_principal\", corresponding to IAMContext.principal;\n - \"\" (empty string), resulting in one aggretated counter with no field.\n\nExamples:\n counter { metric: \"/debug_access_count\" field: \"iam_principal\" }\n ==> increment counter /iam/policy/backend_debug_access_count\n {iam_principal=[value of IAMContext.principal]}\n\nAt this time we do not support:\n* multiple field names (though this may be supported in the future)\n* decrementing the counter\n* incrementing it by anything other than 1",
+ "description": "Specifies what kind of log the caller must write",
"id": "LogConfig",
"properties": {
"counter": {
@@ -750,6 +1784,10 @@
"description": "A description of a log type. Example in YAML format:\n\n - name: library.googleapis.com/activity_history\n description: The history of borrowing and returning library items.\n display_name: Activity\n labels:\n - key: /customer_id\n description: Identifier of a library customer",
"id": "LogDescriptor",
"properties": {
+ "name": {
+ "description": "The name of the log. It must be less than 512 characters long and can\ninclude the following characters: upper- and lower-case alphanumeric\ncharacters [A-Za-z0-9], and punctuation characters including\nslash, underscore, hyphen, period [/_-.].",
+ "type": "string"
+ },
"description": {
"description": "A human-readable description of this log. This information appears in\nthe documentation and can contain details.",
"type": "string"
@@ -764,10 +1802,6 @@
"$ref": "LabelDescriptor"
},
"type": "array"
- },
- "name": {
- "description": "The name of the log. It must be less than 512 characters long and can\ninclude the following characters: upper- and lower-case alphanumeric\ncharacters [A-Za-z0-9], and punctuation characters including\nslash, underscore, hyphen, period [/_-.].",
- "type": "string"
}
},
"type": "object"
@@ -776,11 +1810,6 @@
"description": "Generic specification of a source configuration file",
"id": "ConfigFile",
"properties": {
- "fileContents": {
- "description": "The bytes that constitute the file.",
- "format": "byte",
- "type": "string"
- },
"filePath": {
"description": "The file name of the configuration file (full or relative path).",
"type": "string"
@@ -802,6 +1831,11 @@
"FileDescriptorSet, generated by protoc.\n\nTo generate, use protoc with imports and source info included.\nFor an example test.proto file, the following command would put the value\nin a new file named out.pb.\n\n$protoc --include_imports --include_source_info test.proto -o out.pb"
],
"type": "string"
+ },
+ "fileContents": {
+ "description": "The bytes that constitute the file.",
+ "format": "byte",
+ "type": "string"
}
},
"type": "object"
@@ -810,6 +1844,17 @@
"description": "An object that describes the schema of a MonitoredResource object using a\ntype name and a set of labels. For example, the monitored resource\ndescriptor for Google Compute Engine VM instances has a type of\n`\"gce_instance\"` and specifies the use of the labels `\"instance_id\"` and\n`\"zone\"` to identify particular VM instances.\n\nDifferent APIs can support different monitored resource types. APIs generally\nprovide a `list` method that returns the monitored resource descriptors used\nby the API.",
"id": "MonitoredResourceDescriptor",
"properties": {
+ "labels": {
+ "description": "Required. A set of labels used to describe instances of this monitored\nresource type. For example, an individual Google Cloud SQL database is\nidentified by values for the labels `\"database_id\"` and `\"zone\"`.",
+ "items": {
+ "$ref": "LabelDescriptor"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "Optional. The resource name of the monitored resource descriptor:\n`\"projects/{project_id}/monitoredResourceDescriptors/{type}\"` where\n{type} is the value of the `type` field in this object and\n{project_id} is a project ID that provides API-specific context for\naccessing the type. APIs that do not use project information can use the\nresource name format `\"monitoredResourceDescriptors/{type}\"`.",
+ "type": "string"
+ },
"displayName": {
"description": "Optional. A concise name for the monitored resource type that might be\ndisplayed in user interfaces. It should be a Title Cased Noun Phrase,\nwithout any article or other determiners. For example,\n`\"Google Cloud SQL Database\"`.",
"type": "string"
@@ -821,17 +1866,6 @@
"type": {
"description": "Required. The monitored resource type. For example, the type\n`\"cloudsql_database\"` represents databases in Google Cloud SQL.\nThe maximum length of this value is 256 characters.",
"type": "string"
- },
- "labels": {
- "description": "Required. A set of labels used to describe instances of this monitored\nresource type. For example, an individual Google Cloud SQL database is\nidentified by values for the labels `\"database_id\"` and `\"zone\"`.",
- "items": {
- "$ref": "LabelDescriptor"
- },
- "type": "array"
- },
- "name": {
- "description": "Optional. The resource name of the monitored resource descriptor:\n`\"projects/{project_id}/monitoredResourceDescriptors/{type}\"` where\n{type} is the value of the `type` field in this object and\n{project_id} is a project ID that provides API-specific context for\naccessing the type. APIs that do not use project information can use the\nresource name format `\"monitoredResourceDescriptors/{type}\"`.",
- "type": "string"
}
},
"type": "object"
@@ -906,13 +1940,13 @@
"description": "Use this only for Scotty Requests. Do not use this for media support using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.",
"id": "MediaUpload",
"properties": {
- "enabled": {
- "description": "Whether upload is enabled.",
- "type": "boolean"
- },
"uploadService": {
"description": "DO NOT USE THIS FIELD UNTIL THIS WARNING IS REMOVED.\n\nSpecify name of the upload service if one is used for upload.",
"type": "string"
+ },
+ "enabled": {
+ "description": "Whether upload is enabled.",
+ "type": "boolean"
}
},
"type": "object"
@@ -932,13 +1966,13 @@
"description": "The full representation of a Service that is managed by\nGoogle Service Management.",
"id": "ManagedService",
"properties": {
- "producerProjectId": {
- "description": "ID of the project that produces and owns this service.",
- "type": "string"
- },
"serviceName": {
"description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements.",
"type": "string"
+ },
+ "producerProjectId": {
+ "description": "ID of the project that produces and owns this service.",
+ "type": "string"
}
},
"type": "object"
@@ -958,21 +1992,6 @@
},
"type": "object"
},
- "TrafficPercentStrategy": {
- "description": "Strategy that specifies how Google Service Control should select\ndifferent\nversions of service configurations based on traffic percentage.\n\nOne example of how to gradually rollout a new service configuration using\nthis\nstrategy:\nDay 1\n\n Rollout {\n id: \"example.googleapis.com/rollout_20160206\"\n traffic_percent_strategy {\n percentages: {\n \"example.googleapis.com/20160201\": 70.00\n \"example.googleapis.com/20160206\": 30.00\n }\n }\n }\n\nDay 2\n\n Rollout {\n id: \"example.googleapis.com/rollout_20160207\"\n traffic_percent_strategy: {\n percentages: {\n \"example.googleapis.com/20160206\": 100.00\n }\n }\n }",
- "id": "TrafficPercentStrategy",
- "properties": {
- "percentages": {
- "additionalProperties": {
- "format": "double",
- "type": "number"
- },
- "description": "Maps service configuration IDs to their corresponding traffic percentage.\nKey is the service configuration ID, Value is the traffic percentage\nwhich must be greater than 0.0 and the sum must equal to 100.0.",
- "type": "object"
- }
- },
- "type": "object"
- },
"AuthRequirement": {
"description": "User-defined authentication requirements, including support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).",
"id": "AuthRequirement",
@@ -988,35 +2007,58 @@
},
"type": "object"
},
+ "TrafficPercentStrategy": {
+ "description": "Strategy that specifies how Google Service Control should select\ndifferent\nversions of service configurations based on traffic percentage.\n\nOne example of how to gradually rollout a new service configuration using\nthis\nstrategy:\nDay 1\n\n Rollout {\n id: \"example.googleapis.com/rollout_20160206\"\n traffic_percent_strategy {\n percentages: {\n \"example.googleapis.com/20160201\": 70.00\n \"example.googleapis.com/20160206\": 30.00\n }\n }\n }\n\nDay 2\n\n Rollout {\n id: \"example.googleapis.com/rollout_20160207\"\n traffic_percent_strategy: {\n percentages: {\n \"example.googleapis.com/20160206\": 100.00\n }\n }\n }",
+ "id": "TrafficPercentStrategy",
+ "properties": {
+ "percentages": {
+ "additionalProperties": {
+ "format": "double",
+ "type": "number"
+ },
+ "description": "Maps service configuration IDs to their corresponding traffic percentage.\nKey is the service configuration ID, Value is the traffic percentage\nwhich must be greater than 0.0 and the sum must equal to 100.0.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "Documentation": {
+ "description": "`Documentation` provides the information for describing a service.\n\nExample:\n<pre><code>documentation:\n summary: >\n The Google Calendar API gives access\n to most calendar features.\n pages:\n - name: Overview\n content: (== include google/foo/overview.md ==)\n - name: Tutorial\n content: (== include google/foo/tutorial.md ==)\n subpages;\n - name: Java\n content: (== include google/foo/tutorial_java.md ==)\n rules:\n - selector: google.calendar.Calendar.Get\n description: >\n ...\n - selector: google.calendar.Calendar.Put\n description: >\n ...\n</code></pre>\nDocumentation is provided in markdown syntax. In addition to\nstandard markdown features, definition lists, tables and fenced\ncode blocks are supported. Section headers can be provided and are\ninterpreted relative to the section nesting of the context where\na documentation fragment is embedded.\n\nDocumentation from the IDL is merged with documentation defined\nvia the config at normalization time, where documentation provided\nby config rules overrides IDL provided.\n\nA number of constructs specific to the API platform are supported\nin documentation text.\n\nIn order to reference a proto element, the following\nnotation can be used:\n<pre><code>[fully.qualified.proto.name][]</code></pre>\nTo override the display text used for the link, this can be used:\n<pre><code>[display text][fully.qualified.proto.name]</code></pre>\nText can be excluded from doc using the following notation:\n<pre><code>(-- internal comment --)</code></pre>\nComments can be made conditional using a visibility label. The below\ntext will be only rendered if the `BETA` label is available:\n<pre><code>(--BETA: comment for BETA users --)</code></pre>\nA few directives are available in documentation. Note that\ndirectives must appear on a single line to be properly\nidentified. The `include` directive includes a markdown file from\nan external source:\n<pre><code>(== include path/to/file ==)</code></pre>\nThe `resource_for` directive marks a message to be the resource of\na collection in REST view. If it is not specified, tools attempt\nto infer the resource from the operations in a collection:\n<pre><code>(== resource_for v1.shelves.books ==)</code></pre>\nThe directive `suppress_warning` does not directly affect documentation\nand is documented together with service config validation.",
+ "id": "Documentation",
+ "properties": {
+ "pages": {
+ "description": "The top level pages for the documentation set.",
+ "items": {
+ "$ref": "Page"
+ },
+ "type": "array"
+ },
+ "summary": {
+ "description": "A short summary of what the service does. Can only be provided by\nplain text.",
+ "type": "string"
+ },
+ "documentationRootUrl": {
+ "description": "The URL to the root of documentation.",
+ "type": "string"
+ },
+ "rules": {
+ "description": "A list of documentation rules that apply to individual API elements.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
+ "items": {
+ "$ref": "DocumentationRule"
+ },
+ "type": "array"
+ },
+ "overview": {
+ "description": "Declares a single overview page. For example:\n<pre><code>documentation:\n summary: ...\n overview: (== include overview.md ==)\n</code></pre>\nThis is a shortcut for the following declaration (using pages style):\n<pre><code>documentation:\n summary: ...\n pages:\n - name: Overview\n content: (== include overview.md ==)\n</code></pre>\nNote: you cannot specify both `overview` field and `pages` field.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Condition": {
"description": "A condition to be met.",
"id": "Condition",
"properties": {
- "values": {
- "description": "The objects of the condition. This is mutually exclusive with 'value'.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "iam": {
- "description": "Trusted attributes supplied by the IAM system.",
- "enum": [
- "NO_ATTR",
- "AUTHORITY",
- "ATTRIBUTION",
- "APPROVER",
- "JUSTIFICATION_TYPE"
- ],
- "enumDescriptions": [
- "Default non-attribute.",
- "Either principal or (if present) authority selector.",
- "The principal (even if an authority selector is present), which\nmust only be used for attribution, not authorization.",
- "An approver (distinct from the requester) that has authorized this\nrequest.\nWhen used with IN, the condition indicates that one of the approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, and are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT_IN).\nSee: go/rpc-security-policy-dynamicauth.",
- "What types of justifications have been supplied with this request.\nString values should match enum names from tech.iam.JustificationType,\ne.g. \"MANUAL_STRING\". It is not permitted to grant access based on\nthe *absence* of a justification, so justification conditions can only\nbe used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).\n\nMultiple justifications, e.g., a Buganizer ID and a manually-entered\nreason, are normal and supported."
- ],
- "type": "string"
- },
"op": {
"description": "An operator to apply the subject with.",
"enum": [
@@ -1062,39 +2104,31 @@
"IP address of the caller"
],
"type": "string"
- }
- },
- "type": "object"
- },
- "Documentation": {
- "description": "`Documentation` provides the information for describing a service.\n\nExample:\n<pre><code>documentation:\n summary: >\n The Google Calendar API gives access\n to most calendar features.\n pages:\n - name: Overview\n content: (== include google/foo/overview.md ==)\n - name: Tutorial\n content: (== include google/foo/tutorial.md ==)\n subpages;\n - name: Java\n content: (== include google/foo/tutorial_java.md ==)\n rules:\n - selector: google.calendar.Calendar.Get\n description: >\n ...\n - selector: google.calendar.Calendar.Put\n description: >\n ...\n</code></pre>\nDocumentation is provided in markdown syntax. In addition to\nstandard markdown features, definition lists, tables and fenced\ncode blocks are supported. Section headers can be provided and are\ninterpreted relative to the section nesting of the context where\na documentation fragment is embedded.\n\nDocumentation from the IDL is merged with documentation defined\nvia the config at normalization time, where documentation provided\nby config rules overrides IDL provided.\n\nA number of constructs specific to the API platform are supported\nin documentation text.\n\nIn order to reference a proto element, the following\nnotation can be used:\n<pre><code>[fully.qualified.proto.name][]</code></pre>\nTo override the display text used for the link, this can be used:\n<pre><code>[display text][fully.qualified.proto.name]</code></pre>\nText can be excluded from doc using the following notation:\n<pre><code>(-- internal comment --)</code></pre>\nComments can be made conditional using a visibility label. The below\ntext will be only rendered if the `BETA` label is available:\n<pre><code>(--BETA: comment for BETA users --)</code></pre>\nA few directives are available in documentation. Note that\ndirectives must appear on a single line to be properly\nidentified. The `include` directive includes a markdown file from\nan external source:\n<pre><code>(== include path/to/file ==)</code></pre>\nThe `resource_for` directive marks a message to be the resource of\na collection in REST view. If it is not specified, tools attempt\nto infer the resource from the operations in a collection:\n<pre><code>(== resource_for v1.shelves.books ==)</code></pre>\nThe directive `suppress_warning` does not directly affect documentation\nand is documented together with service config validation.",
- "id": "Documentation",
- "properties": {
- "pages": {
- "description": "The top level pages for the documentation set.",
+ },
+ "iam": {
+ "description": "Trusted attributes supplied by the IAM system.",
+ "enum": [
+ "NO_ATTR",
+ "AUTHORITY",
+ "ATTRIBUTION",
+ "APPROVER",
+ "JUSTIFICATION_TYPE"
+ ],
+ "enumDescriptions": [
+ "Default non-attribute.",
+ "Either principal or (if present) authority selector.",
+ "The principal (even if an authority selector is present), which\nmust only be used for attribution, not authorization.",
+ "An approver (distinct from the requester) that has authorized this\nrequest.\nWhen used with IN, the condition indicates that one of the approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, and are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT_IN).\nSee: go/rpc-security-policy-dynamicauth.",
+ "What types of justifications have been supplied with this request.\nString values should match enum names from tech.iam.JustificationType,\ne.g. \"MANUAL_STRING\". It is not permitted to grant access based on\nthe *absence* of a justification, so justification conditions can only\nbe used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).\n\nMultiple justifications, e.g., a Buganizer ID and a manually-entered\nreason, are normal and supported."
+ ],
+ "type": "string"
+ },
+ "values": {
+ "description": "The objects of the condition. This is mutually exclusive with 'value'.",
"items": {
- "$ref": "Page"
+ "type": "string"
},
"type": "array"
- },
- "summary": {
- "description": "A short summary of what the service does. Can only be provided by\nplain text.",
- "type": "string"
- },
- "documentationRootUrl": {
- "description": "The URL to the root of documentation.",
- "type": "string"
- },
- "rules": {
- "description": "A list of documentation rules that apply to individual API elements.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
- "items": {
- "$ref": "DocumentationRule"
- },
- "type": "array"
- },
- "overview": {
- "description": "Declares a single overview page. For example:\n<pre><code>documentation:\n summary: ...\n overview: (== include overview.md ==)\n</code></pre>\nThis is a shortcut for the following declaration (using pages style):\n<pre><code>documentation:\n summary: ...\n pages:\n - name: Overview\n content: (== include overview.md ==)\n</code></pre>\nNote: you cannot specify both `overview` field and `pages` field.",
- "type": "string"
}
},
"type": "object"
@@ -1171,6 +2205,10 @@
"description": "Authentication rules for the service.\n\nBy default, if a method has any authentication requirements, every request\nmust include a valid credential matching one of the requirements.\nIt's an error to include more than one kind of credential in a single\nrequest.\n\nIf a method doesn't have any auth requirements, request credentials will be\nignored.",
"id": "AuthenticationRule",
"properties": {
+ "oauth": {
+ "$ref": "OAuthRequirements",
+ "description": "The requirements for OAuth credentials."
+ },
"requirements": {
"description": "Requirements for additional authentication providers.",
"items": {
@@ -1185,10 +2223,6 @@
"allowWithoutCredential": {
"description": "Whether to allow requests without a credential. The credential can be\nan OAuth token, Google cookies (first-party auth) or EndUserCreds.\n\nFor requests without credentials, if the service control environment is\nspecified, each incoming request **must** be associated with a service\nconsumer. This can be done by passing an API key that belongs to a consumer\nproject.",
"type": "boolean"
- },
- "oauth": {
- "$ref": "OAuthRequirements",
- "description": "The requirements for OAuth credentials."
}
},
"type": "object"
@@ -1208,6 +2242,11 @@
"description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).",
"id": "Policy",
"properties": {
+ "version": {
+ "description": "Version of the `Policy`. The default version is 0.",
+ "format": "int32",
+ "type": "integer"
+ },
"auditConfigs": {
"description": "Specifies cloud audit logging configuration for this policy.",
"items": {
@@ -1236,11 +2275,6 @@
"$ref": "Rule"
},
"type": "array"
- },
- "version": {
- "description": "Version of the `Policy`. The default version is 0.",
- "format": "int32",
- "type": "integer"
}
},
"type": "object"
@@ -1249,13 +2283,6 @@
"description": "Api is a light-weight descriptor for a protocol buffer service.",
"id": "Api",
"properties": {
- "mixins": {
- "description": "Included APIs. See Mixin.",
- "items": {
- "$ref": "Mixin"
- },
- "type": "array"
- },
"options": {
"description": "Any metadata attached to the API.",
"items": {
@@ -1293,6 +2320,13 @@
"version": {
"description": "A version string for this api. If specified, must have the form\n`major-version.minor-version`, as in `1.10`. If the minor version\nis omitted, it defaults to zero. If the entire version field is\nempty, the major version is derived from the package name, as\noutlined below. If the field is not empty, the version in the\npackage name will be verified to be consistent with what is\nprovided here.\n\nThe versioning schema uses [semantic\nversioning](http://semver.org) where the major version number\nindicates a breaking change and the minor version an additive,\nnon-breaking change. Both version numbers are signals to users\nwhat to expect from different versions, and should be carefully\nchosen based on the product plan.\n\nThe major version is also reflected in the package name of the\nAPI, which must end in `v<major-version>`, as in\n`google.feature.v1`. For major versions 0 and 1, the suffix can\nbe omitted. Zero major versions must only be used for\nexperimental, none-GA apis.\n",
"type": "string"
+ },
+ "mixins": {
+ "description": "Included APIs. See Mixin.",
+ "items": {
+ "$ref": "Mixin"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -1307,19 +2341,19 @@
"description": "`Authentication` defines the authentication configuration for an API.\n\nExample for an API targeted for external use:\n\n name: calendar.googleapis.com\n authentication:\n providers:\n - id: google_calendar_auth\n jwks_uri: https://www.googleapis.com/oauth2/v1/certs\n issuer: https://securetoken.google.com\n rules:\n - selector: \"*\"\n requirements:\n provider_id: google_calendar_auth",
"id": "Authentication",
"properties": {
- "providers": {
- "description": "Defines a set of authentication providers that a service supports.",
- "items": {
- "$ref": "AuthProvider"
- },
- "type": "array"
- },
"rules": {
"description": "A list of authentication rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
"items": {
"$ref": "AuthenticationRule"
},
"type": "array"
+ },
+ "providers": {
+ "description": "Defines a set of authentication providers that a service supports.",
+ "items": {
+ "$ref": "AuthProvider"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -1328,6 +2362,18 @@
"description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
"id": "Operation",
"properties": {
+ "response": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
+ "type": "object"
+ },
+ "name": {
+ "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.",
+ "type": "string"
+ },
"error": {
"$ref": "Status",
"description": "The error result of the operation in case of failure or cancellation."
@@ -1343,18 +2389,6 @@
"done": {
"description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.",
"type": "boolean"
- },
- "response": {
- "additionalProperties": {
- "description": "Properties of the object. Contains field @type with type URL.",
- "type": "any"
- },
- "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
- "type": "object"
- },
- "name": {
- "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.",
- "type": "string"
}
},
"type": "object"
@@ -1363,6 +2397,10 @@
"description": "Represents a documentation page. A page can contain subpages to represent\nnested documentation set structure.",
"id": "Page",
"properties": {
+ "content": {
+ "description": "The Markdown content of the page. You can use <code>(== include {path} ==)</code>\nto include content from a Markdown file.",
+ "type": "string"
+ },
"subpages": {
"description": "Subpages of this page. The order of subpages specified here will be\nhonored in the generated docset.",
"items": {
@@ -1373,10 +2411,6 @@
"name": {
"description": "The name of the page. It will be used as an identity of the page to\ngenerate URI of the page, text of the link to this page in navigation,\netc. The full page name (start from the root page name to this page\nconcatenated with `.`) can be used as reference to the page in your\ndocumentation. For example:\n<pre><code>pages:\n- name: Tutorial\n content: (== include tutorial.md ==)\n subpages:\n - name: Java\n content: (== include tutorial_java.md ==)\n</code></pre>\nYou can reference `Java` page using Markdown reference link syntax:\n`Java`.",
"type": "string"
- },
- "content": {
- "description": "The Markdown content of the page. You can use <code>(== include {path} ==)</code>\nto include content from a Markdown file.",
- "type": "string"
}
},
"type": "object"
@@ -1430,10 +2464,6 @@
"description": "Configuration for an anthentication provider, including support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).",
"id": "AuthProvider",
"properties": {
- "audiences": {
- "description": "The list of JWT\n[audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).\nthat are allowed to access. A JWT containing any of these audiences will\nbe accepted. When this setting is absent, only JWTs with audience\n\"https://Service_name/API_name\"\nwill be accepted. For example, if no audiences are in the setting,\nLibraryService API will only accept JWTs with the following audience\n\"https://library-example.googleapis.com/google.example.library.v1.LibraryService\".\n\nExample:\n\n audiences: bookstore_android.apps.googleusercontent.com,\n bookstore_web.apps.googleusercontent.com",
- "type": "string"
- },
"id": {
"description": "The unique identifier of the auth provider. It will be referred to by\n`AuthRequirement.provider_id`.\n\nExample: \"bookstore_auth\".",
"type": "string"
@@ -1445,6 +2475,10 @@
"jwksUri": {
"description": "URL of the provider's public key set to validate signature of the JWT. See\n[OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).\nOptional if the key set document:\n - can be retrieved from\n [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html\n of the issuer.\n - can be inferred from the email domain of the issuer (e.g. a Google service account).\n\nExample: https://www.googleapis.com/oauth2/v1/certs",
"type": "string"
+ },
+ "audiences": {
+ "description": "The list of JWT\n[audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).\nthat are allowed to access. A JWT containing any of these audiences will\nbe accepted. When this setting is absent, only JWTs with audience\n\"https://Service_name/API_name\"\nwill be accepted. For example, if no audiences are in the setting,\nLibraryService API will only accept JWTs with the following audience\n\"https://library-example.googleapis.com/google.example.library.v1.LibraryService\".\n\nExample:\n\n audiences: bookstore_android.apps.googleusercontent.com,\n bookstore_web.apps.googleusercontent.com",
+ "type": "string"
}
},
"type": "object"
@@ -1476,59 +2510,6 @@
"description": "`Service` is the root object of Google service configuration schema. It\ndescribes basic information about a service, such as the name and the\ntitle, and delegates other aspects to sub-sections. Each sub-section is\neither a proto message or a repeated proto message that configures a\nspecific aspect, such as auth. See each proto message definition for details.\n\nExample:\n\n type: google.api.Service\n config_version: 3\n name: calendar.googleapis.com\n title: Google Calendar API\n apis:\n - name: google.calendar.v3.Calendar\n authentication:\n providers:\n - id: google_calendar_auth\n jwks_uri: https://www.googleapis.com/oauth2/v1/certs\n issuer: https://securetoken.google.com\n rules:\n - selector: \"*\"\n requirements:\n provider_id: google_calendar_auth",
"id": "Service",
"properties": {
- "types": {
- "description": "A list of all proto message types included in this API service.\nTypes referenced directly or indirectly by the `apis` are\nautomatically included. Messages which are not referenced but\nshall be included, such as types used by the `google.protobuf.Any` type,\nshould be listed here by name. Example:\n\n types:\n - name: google.protobuf.Int32",
- "items": {
- "$ref": "Type"
- },
- "type": "array"
- },
- "http": {
- "$ref": "Http",
- "description": "HTTP configuration."
- },
- "systemParameters": {
- "$ref": "SystemParameters",
- "description": "System parameter configuration."
- },
- "backend": {
- "$ref": "Backend",
- "description": "API backend configuration."
- },
- "documentation": {
- "$ref": "Documentation",
- "description": "Additional API documentation."
- },
- "logging": {
- "$ref": "Logging",
- "description": "Logging configuration."
- },
- "monitoredResources": {
- "description": "Defines the monitored resources used by this service. This is required\nby the Service.monitoring and Service.logging configurations.",
- "items": {
- "$ref": "MonitoredResourceDescriptor"
- },
- "type": "array"
- },
- "context": {
- "$ref": "Context",
- "description": "Context configuration."
- },
- "enums": {
- "description": "A list of all enum types included in this API service. Enums\nreferenced directly or indirectly by the `apis` are automatically\nincluded. Enums which are not referenced but shall be included\nshould be listed here by name. Example:\n\n enums:\n - name: google.someapi.v1.SomeEnum",
- "items": {
- "$ref": "Enum"
- },
- "type": "array"
- },
- "id": {
- "description": "A unique ID for a specific instance of this message, typically assigned\nby the client for tracking purpose. If empty, the server may choose to\ngenerate one instead.",
- "type": "string"
- },
- "usage": {
- "$ref": "Usage",
- "description": "Configuration controlling usage of this service."
- },
"metrics": {
"description": "Defines the metrics used by this service.",
"items": {
@@ -1604,21 +2585,81 @@
"$ref": "LogDescriptor"
},
"type": "array"
+ },
+ "types": {
+ "description": "A list of all proto message types included in this API service.\nTypes referenced directly or indirectly by the `apis` are\nautomatically included. Messages which are not referenced but\nshall be included, such as types used by the `google.protobuf.Any` type,\nshould be listed here by name. Example:\n\n types:\n - name: google.protobuf.Int32",
+ "items": {
+ "$ref": "Type"
+ },
+ "type": "array"
+ },
+ "sourceInfo": {
+ "$ref": "SourceInfo",
+ "description": "Output only. The source information for this configuration if available."
+ },
+ "http": {
+ "$ref": "Http",
+ "description": "HTTP configuration."
+ },
+ "backend": {
+ "$ref": "Backend",
+ "description": "API backend configuration."
+ },
+ "systemParameters": {
+ "$ref": "SystemParameters",
+ "description": "System parameter configuration."
+ },
+ "documentation": {
+ "$ref": "Documentation",
+ "description": "Additional API documentation."
+ },
+ "monitoredResources": {
+ "description": "Defines the monitored resources used by this service. This is required\nby the Service.monitoring and Service.logging configurations.",
+ "items": {
+ "$ref": "MonitoredResourceDescriptor"
+ },
+ "type": "array"
+ },
+ "logging": {
+ "$ref": "Logging",
+ "description": "Logging configuration."
+ },
+ "enums": {
+ "description": "A list of all enum types included in this API service. Enums\nreferenced directly or indirectly by the `apis` are automatically\nincluded. Enums which are not referenced but shall be included\nshould be listed here by name. Example:\n\n enums:\n - name: google.someapi.v1.SomeEnum",
+ "items": {
+ "$ref": "Enum"
+ },
+ "type": "array"
+ },
+ "context": {
+ "$ref": "Context",
+ "description": "Context configuration."
+ },
+ "id": {
+ "description": "A unique ID for a specific instance of this message, typically assigned\nby the client for tracking purpose. If empty, the server may choose to\ngenerate one instead.",
+ "type": "string"
+ },
+ "usage": {
+ "$ref": "Usage",
+ "description": "Configuration controlling usage of this service."
}
},
"type": "object"
},
- "CustomHttpPattern": {
- "description": "A custom pattern is used for defining custom HTTP verb.",
- "id": "CustomHttpPattern",
+ "ListOperationsResponse": {
+ "description": "The response message for Operations.ListOperations.",
+ "id": "ListOperationsResponse",
"properties": {
- "kind": {
- "description": "The name of this custom HTTP verb.",
+ "nextPageToken": {
+ "description": "The standard List next-page token.",
"type": "string"
},
- "path": {
- "description": "The path matched by this custom verb.",
- "type": "string"
+ "operations": {
+ "description": "A list of operations that matches the specified filter in the request.",
+ "items": {
+ "$ref": "Operation"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -1654,20 +2695,35 @@
},
"type": "object"
},
+ "CustomHttpPattern": {
+ "description": "A custom pattern is used for defining custom HTTP verb.",
+ "id": "CustomHttpPattern",
+ "properties": {
+ "kind": {
+ "description": "The name of this custom HTTP verb.",
+ "type": "string"
+ },
+ "path": {
+ "description": "The path matched by this custom verb.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"SystemParameterRule": {
"description": "Define a system parameter rule mapping system parameter definitions to\nmethods.",
"id": "SystemParameterRule",
"properties": {
+ "selector": {
+ "description": "Selects the methods to which this rule applies. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for syntax details.",
+ "type": "string"
+ },
"parameters": {
"description": "Define parameters. Multiple names may be defined for a parameter.\nFor a given method call, only one of them should be used. If multiple\nnames are used the behavior is implementation-dependent.\nIf none of the specified names are present the behavior is\nparameter-dependent.",
"items": {
"$ref": "SystemParameter"
},
"type": "array"
- },
- "selector": {
- "description": "Selects the methods to which this rule applies. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for syntax details.",
- "type": "string"
}
},
"type": "object"
@@ -1676,6 +2732,17 @@
"description": "`HttpRule` defines the mapping of an RPC method to one or more HTTP\nREST APIs. The mapping determines what portions of the request\nmessage are populated from the path, query parameters, or body of\nthe HTTP request. The mapping is typically specified as an\n`google.api.http` annotation, see \"google/api/annotations.proto\"\nfor details.\n\nThe mapping consists of a field specifying the path template and\nmethod kind. The path template can refer to fields in the request\nmessage, as in the example below which describes a REST GET\noperation on a resource collection of messages:\n\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http).get = \"/v1/messages/{message_id}/{sub.subfield}\";\n }\n }\n message GetMessageRequest {\n message SubMessage {\n string subfield = 1;\n }\n string message_id = 1; // mapped to the URL\n SubMessage sub = 2; // `sub.subfield` is url-mapped\n }\n message Message {\n string text = 1; // content of the resource\n }\n\nThe same http annotation can alternatively be expressed inside the\n`GRPC API Configuration` YAML file.\n\n http:\n rules:\n - selector: <proto_package_name>.Messaging.GetMessage\n get: /v1/messages/{message_id}/{sub.subfield}\n\nThis definition enables an automatic, bidrectional mapping of HTTP\nJSON to RPC. Example:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456/foo` | `GetMessage(message_id: \"123456\" sub: SubMessage(subfield: \"foo\"))`\n\nIn general, not only fields but also field paths can be referenced\nfrom a path pattern. Fields mapped to the path pattern cannot be\nrepeated and must have a primitive (non-message) type.\n\nAny fields in the request message which are not bound by the path\npattern automatically become (optional) HTTP query\nparameters. Assume the following definition of the request message:\n\n\n message GetMessageRequest {\n message SubMessage {\n string subfield = 1;\n }\n string message_id = 1; // mapped to the URL\n int64 revision = 2; // becomes a parameter\n SubMessage sub = 3; // `sub.subfield` becomes a parameter\n }\n\n\nThis enables a HTTP JSON to RPC mapping as below:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))`\n\nNote that fields which are mapped to HTTP parameters must have a\nprimitive type or a repeated primitive type. Message types are not\nallowed. In the case of a repeated type, the parameter can be\nrepeated in the URL, as in `...?param=A¶m=B`.\n\nFor HTTP method kinds which allow a request body, the `body` field\nspecifies the mapping. Consider a REST update method on the\nmessage resource collection:\n\n\n service Messaging {\n rpc UpdateMessage(UpdateMessageRequest) returns (Message) {\n option (google.api.http) = {\n put: \"/v1/messages/{message_id}\"\n body: \"message\"\n };\n }\n }\n message UpdateMessageRequest {\n string message_id = 1; // mapped to the URL\n Message message = 2; // mapped to the body\n }\n\n\nThe following HTTP JSON to RPC mapping is enabled, where the\nrepresentation of the JSON in the request body is determined by\nprotos JSON encoding:\n\nHTTP | RPC\n-----|-----\n`PUT /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" message { text: \"Hi!\" })`\n\nThe special name `*` can be used in the body mapping to define that\nevery field not bound by the path template should be mapped to the\nrequest body. This enables the following alternative definition of\nthe update method:\n\n service Messaging {\n rpc UpdateMessage(Message) returns (Message) {\n option (google.api.http) = {\n put: \"/v1/messages/{message_id}\"\n body: \"*\"\n };\n }\n }\n message Message {\n string message_id = 1;\n string text = 2;\n }\n\n\nThe following HTTP JSON to RPC mapping is enabled:\n\nHTTP | RPC\n-----|-----\n`PUT /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" text: \"Hi!\")`\n\nNote that when using `*` in the body mapping, it is not possible to\nhave HTTP parameters, as all fields not bound by the path end in\nthe body. This makes this option more rarely used in practice of\ndefining REST APIs. The common usage of `*` is in custom methods\nwhich don't use the URL at all for transferring data.\n\nIt is possible to define multiple HTTP methods for one RPC by using\nthe `additional_bindings` option. Example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http) = {\n get: \"/v1/messages/{message_id}\"\n additional_bindings {\n get: \"/v1/users/{user_id}/messages/{message_id}\"\n }\n };\n }\n }\n message GetMessageRequest {\n string message_id = 1;\n string user_id = 2;\n }\n\n\nThis enables the following two alternative HTTP JSON to RPC\nmappings:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")`\n`GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id: \"123456\")`\n\n# Rules for HTTP mapping\n\nThe rules for mapping HTTP path, query parameters, and body fields\nto the request message are as follows:\n\n1. The `body` field specifies either `*` or a field path, or is\n omitted. If omitted, it assumes there is no HTTP body.\n2. Leaf fields (recursive expansion of nested messages in the\n request) can be classified into three types:\n (a) Matched in the URL template.\n (b) Covered by body (if body is `*`, everything except (a) fields;\n else everything under the body field)\n (c) All other fields.\n3. URL query parameters found in the HTTP request are mapped to (c) fields.\n4. Any body sent with an HTTP request can contain only (b) fields.\n\nThe syntax of the path template is as follows:\n\n Template = \"/\" Segments [ Verb ] ;\n Segments = Segment { \"/\" Segment } ;\n Segment = \"*\" | \"**\" | LITERAL | Variable ;\n Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\n FieldPath = IDENT { \".\" IDENT } ;\n Verb = \":\" LITERAL ;\n\nThe syntax `*` matches a single path segment. It follows the semantics of\n[RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String\nExpansion.\n\nThe syntax `**` matches zero or more path segments. It follows the semantics\nof [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.3 Reserved\nExpansion. NOTE: it must be the last segment in the path except the Verb.\n\nThe syntax `LITERAL` matches literal text in the URL path.\n\nThe syntax `Variable` matches the entire path as specified by its template;\nthis nested template must not contain further variables. If a variable\nmatches a single path segment, its template may be omitted, e.g. `{var}`\nis equivalent to `{var=*}`.\n\nNOTE: the field paths in variables and in the `body` must not refer to\nrepeated fields or map fields.\n\nUse CustomHttpPattern to specify any HTTP method that is not included in the\n`pattern` field, such as HEAD, or \"*\" to leave the HTTP method unspecified for\na given URL path rule. The wild-card rule is useful for services that provide\ncontent to Web (HTML) clients.",
"id": "HttpRule",
"properties": {
+ "additionalBindings": {
+ "description": "Additional HTTP bindings for the selector. Nested bindings must\nnot contain an `additional_bindings` field themselves (that is,\nthe nesting may only be one level deep).",
+ "items": {
+ "$ref": "HttpRule"
+ },
+ "type": "array"
+ },
+ "responseBody": {
+ "description": "The name of the response field whose value is mapped to the HTTP body of\nresponse. Other response fields are ignored. This field is optional. When\nnot set, the response message will be used as HTTP body of response.\nNOTE: the referred field must be not a repeated field and must be present\nat the top-level of response message type.",
+ "type": "string"
+ },
"mediaUpload": {
"$ref": "MediaUpload",
"description": "Use this only for Scotty Requests. Do not use this for media support using\nBytestream, add instead\n[][google.bytestream.RestByteStream] as an API to your\nconfiguration for Bytestream methods."
@@ -1688,14 +2755,14 @@
"$ref": "CustomHttpPattern",
"description": "Custom pattern is used for defining custom verbs."
},
- "patch": {
- "description": "Used for updating a resource.",
- "type": "string"
- },
"get": {
"description": "Used for listing and getting information about resources.",
"type": "string"
},
+ "patch": {
+ "description": "Used for updating a resource.",
+ "type": "string"
+ },
"put": {
"description": "Used for updating a resource.",
"type": "string"
@@ -1708,23 +2775,12 @@
"description": "The name of the request field whose value is mapped to the HTTP body, or\n`*` for mapping all fields not captured by the path pattern to the HTTP\nbody. NOTE: the referred field must not be a repeated field and must be\npresent at the top-level of request message type.",
"type": "string"
},
- "post": {
- "description": "Used for creating a resource.",
- "type": "string"
- },
"mediaDownload": {
"$ref": "MediaDownload",
"description": "Use this only for Scotty Requests. Do not use this for bytestream methods.\nFor media support, add instead [][google.bytestream.RestByteStream] as an\nAPI to your configuration."
},
- "additionalBindings": {
- "description": "Additional HTTP bindings for the selector. Nested bindings must\nnot contain an `additional_bindings` field themselves (that is,\nthe nesting may only be one level deep).",
- "items": {
- "$ref": "HttpRule"
- },
- "type": "array"
- },
- "responseBody": {
- "description": "The name of the response field whose value is mapped to the HTTP body of\nresponse. Other response fields are ignored. This field is optional. When\nnot set, the response message will be used as HTTP body of response.\nNOTE: the referred field must be not a repeated field and must be present\nat the top-level of response message type.",
+ "post": {
+ "description": "Used for creating a resource.",
"type": "string"
}
},
@@ -1795,6 +2851,10 @@
"description": "Output generated from semantically comparing two versions of a service\nconfiguration.\n\nIncludes detailed information about a field that have changed with\napplicable advice about potential consequences for the change, such as\nbackwards-incompatibility.",
"id": "ConfigChange",
"properties": {
+ "newValue": {
+ "description": "Value of the changed object in the new Service configuration,\nin JSON format. This field will not be populated if ChangeType == REMOVED.",
+ "type": "string"
+ },
"changeType": {
"description": "The type for this change, either ADDED, REMOVED, or MODIFIED.",
"enum": [
@@ -1825,10 +2885,6 @@
"$ref": "Advice"
},
"type": "array"
- },
- "newValue": {
- "description": "Value of the changed object in the new Service configuration,\nin JSON format. This field will not be populated if ChangeType == REMOVED.",
- "type": "string"
}
},
"type": "object"
@@ -1837,6 +2893,18 @@
"description": "A rollout resource that defines how service configuration versions are pushed\nto control plane systems. Typically, you create a new version of the\nservice config, and then create a Rollout to push the service config.",
"id": "Rollout",
"properties": {
+ "createdBy": {
+ "description": "The user who created the Rollout. Readonly.",
+ "type": "string"
+ },
+ "trafficPercentStrategy": {
+ "$ref": "TrafficPercentStrategy",
+ "description": "Google Service Control selects service configurations based on\ntraffic percentage."
+ },
+ "rolloutId": {
+ "description": "Optional unique identifier of this Rollout. Only lower case letters, digits\n and '-' are allowed.\n\nIf not specified by client, the server will generate one. The generated id\nwill have the form of <date><revision number>, where \"date\" is the create\ndate in ISO 8601 format. \"revision number\" is a monotonically increasing\npositive number that is reset every day for each service.\nAn example of the generated rollout_id is '2016-02-16r1'",
+ "type": "string"
+ },
"deleteServiceStrategy": {
"$ref": "DeleteServiceStrategy",
"description": "The strategy associated with a rollout to delete a `ManagedService`.\nReadonly."
@@ -1869,18 +2937,6 @@
"serviceName": {
"description": "The name of the service associated with this Rollout.",
"type": "string"
- },
- "createdBy": {
- "description": "The user who created the Rollout. Readonly.",
- "type": "string"
- },
- "trafficPercentStrategy": {
- "$ref": "TrafficPercentStrategy",
- "description": "Google Service Control selects service configurations based on\ntraffic percentage."
- },
- "rolloutId": {
- "description": "Optional unique identifier of this Rollout. Only lower case letters, digits\n and '-' are allowed.\n\nIf not specified by client, the server will generate one. The generated id\nwill have the form of <date><revision number>, where \"date\" is the create\ndate in ISO 8601 format. \"revision number\" is a monotonically increasing\npositive number that is reset every day for each service.\nAn example of the generated rollout_id is '2016-02-16r1'",
- "type": "string"
}
},
"type": "object"
@@ -1912,26 +2968,28 @@
"description": "Request message for `SetIamPolicy` method.",
"id": "SetIamPolicyRequest",
"properties": {
- "updateMask": {
- "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, a default\nmask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
- "format": "google-fieldmask",
- "type": "string"
- },
"policy": {
"$ref": "Policy",
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
+ },
+ "updateMask": {
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
+ "format": "google-fieldmask",
+ "type": "string"
}
},
"type": "object"
},
+ "DeleteServiceStrategy": {
+ "description": "Strategy used to delete a service. This strategy is a placeholder only\nused by the system generated rollout to delete a service.",
+ "id": "DeleteServiceStrategy",
+ "properties": {},
+ "type": "object"
+ },
"Step": {
"description": "Represents the status of one operation step.",
"id": "Step",
"properties": {
- "description": {
- "description": "The short description of the step.",
- "type": "string"
- },
"status": {
"description": "The status code.",
"enum": [
@@ -1951,16 +3009,14 @@
"The operation or step has completed with cancellation."
],
"type": "string"
+ },
+ "description": {
+ "description": "The short description of the step.",
+ "type": "string"
}
},
"type": "object"
},
- "DeleteServiceStrategy": {
- "description": "Strategy used to delete a service. This strategy is a placeholder only\nused by the system generated rollout to delete a service.",
- "id": "DeleteServiceStrategy",
- "properties": {},
- "type": "object"
- },
"LoggingDestination": {
"description": "Configuration of a specific logging destination (the producer project\nor the consumer project).",
"id": "LoggingDestination",
@@ -1997,939 +3053,6 @@
}
},
"type": "object"
- },
- "Logging": {
- "description": "Logging configuration of the service.\n\nThe following example shows how to configure logs to be sent to the\nproducer and consumer projects. In the example, the `activity_history`\nlog is sent to both the producer and consumer projects, whereas the\n`purchase_history` log is only sent to the producer project.\n\n monitored_resources:\n - type: library.googleapis.com/branch\n labels:\n - key: /city\n description: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n logs:\n - name: activity_history\n labels:\n - key: /customer_id\n - name: purchase_history\n logging:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history\n - purchase_history\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history",
- "id": "Logging",
- "properties": {
- "consumerDestinations": {
- "description": "Logging configurations for sending logs to the consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none consumer destination.",
- "items": {
- "$ref": "LoggingDestination"
- },
- "type": "array"
- },
- "producerDestinations": {
- "description": "Logging configurations for sending logs to the producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none producer destination.",
- "items": {
- "$ref": "LoggingDestination"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Method": {
- "description": "Method represents a method of an api.",
- "id": "Method",
- "properties": {
- "requestTypeUrl": {
- "description": "A URL of the input message type.",
- "type": "string"
- },
- "requestStreaming": {
- "description": "If true, the request is streamed.",
- "type": "boolean"
- },
- "syntax": {
- "description": "The source syntax of this method.",
- "enum": [
- "SYNTAX_PROTO2",
- "SYNTAX_PROTO3"
- ],
- "enumDescriptions": [
- "Syntax `proto2`.",
- "Syntax `proto3`."
- ],
- "type": "string"
- },
- "responseTypeUrl": {
- "description": "The URL of the output message type.",
- "type": "string"
- },
- "options": {
- "description": "Any metadata attached to the method.",
- "items": {
- "$ref": "Option"
- },
- "type": "array"
- },
- "responseStreaming": {
- "description": "If true, the response is streamed.",
- "type": "boolean"
- },
- "name": {
- "description": "The simple name of this method.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ConfigRef": {
- "description": "Represents a service configuration with its name and id.",
- "id": "ConfigRef",
- "properties": {
- "name": {
- "description": "Resource name of a service config. It must have the following\nformat: \"services/{service name}/configs/{config id}\".",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListServiceRolloutsResponse": {
- "description": "Response message for ListServiceRollouts method.",
- "id": "ListServiceRolloutsResponse",
- "properties": {
- "nextPageToken": {
- "description": "The token of the next page of results.",
- "type": "string"
- },
- "rollouts": {
- "description": "The list of rollout resources.",
- "items": {
- "$ref": "Rollout"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Mixin": {
- "description": "Declares an API to be included in this API. The including API must\nredeclare all the methods from the included API, but documentation\nand options are inherited as follows:\n\n- If after comment and whitespace stripping, the documentation\n string of the redeclared method is empty, it will be inherited\n from the original method.\n\n- Each annotation belonging to the service config (http,\n visibility) which is not set in the redeclared method will be\n inherited.\n\n- If an http annotation is inherited, the path pattern will be\n modified as follows. Any version prefix will be replaced by the\n version of the including API plus the root path if specified.\n\nExample of a simple mixin:\n\n package google.acl.v1;\n service AccessControl {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v1/{resource=**}:getAcl\";\n }\n }\n\n package google.storage.v2;\n service Storage {\n // rpc GetAcl(GetAclRequest) returns (Acl);\n\n // Get a data record.\n rpc GetData(GetDataRequest) returns (Data) {\n option (google.api.http).get = \"/v2/{resource=**}\";\n }\n }\n\nExample of a mixin configuration:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n\nThe mixin construct implies that all methods in `AccessControl` are\nalso declared with same name and request/response types in\n`Storage`. A documentation generator or annotation processor will\nsee the effective `Storage.GetAcl` method after inherting\ndocumentation and annotations as follows:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/{resource=**}:getAcl\";\n }\n ...\n }\n\nNote how the version in the path pattern changed from `v1` to `v2`.\n\nIf the `root` field in the mixin is specified, it should be a\nrelative path under which inherited HTTP paths are placed. Example:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n root: acls\n\nThis implies the following inherited HTTP annotation:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\";\n }\n ...\n }",
- "id": "Mixin",
- "properties": {
- "name": {
- "description": "The fully qualified name of the API which is included.",
- "type": "string"
- },
- "root": {
- "description": "If non-empty specifies a path under which inherited HTTP paths\nare rooted.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CustomError": {
- "description": "Customize service error responses. For example, list any service\nspecific protobuf types that can appear in error detail lists of\nerror responses.\n\nExample:\n\n custom_error:\n types:\n - google.foo.v1.CustomError\n - google.foo.v1.AnotherError",
- "id": "CustomError",
- "properties": {
- "types": {
- "description": "The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "rules": {
- "description": "The list of custom error rules that apply to individual API messages.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
- "items": {
- "$ref": "CustomErrorRule"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "CounterOptions": {
- "description": "Options for counters",
- "id": "CounterOptions",
- "properties": {
- "metric": {
- "description": "The metric to update.",
- "type": "string"
- },
- "field": {
- "description": "The field value to attribute.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Http": {
- "description": "Defines the HTTP configuration for a service. It contains a list of\nHttpRule, each specifying the mapping of an RPC method\nto one or more HTTP REST API methods.",
- "id": "Http",
- "properties": {
- "rules": {
- "description": "A list of HTTP configuration rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
- "items": {
- "$ref": "HttpRule"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Control": {
- "description": "Selects and configures the service controller used by the service. The\nservice controller handles features like abuse, quota, billing, logging,\nmonitoring, etc.",
- "id": "Control",
- "properties": {
- "environment": {
- "description": "The service control environment to use. If empty, no control plane\nfeature (like quota and billing) will be enabled.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SystemParameter": {
- "description": "Define a parameter's name and location. The parameter may be passed as either\nan HTTP header or a URL query parameter, and if both are passed the behavior\nis implementation-dependent.",
- "id": "SystemParameter",
- "properties": {
- "httpHeader": {
- "description": "Define the HTTP header name to use for the parameter. It is case\ninsensitive.",
- "type": "string"
- },
- "name": {
- "description": "Define the name of the parameter, such as \"api_key\" . It is case sensitive.",
- "type": "string"
- },
- "urlQueryParameter": {
- "description": "Define the URL query parameter name to use for the parameter. It is case\nsensitive.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Monitoring": {
- "description": "Monitoring configuration of the service.\n\nThe example below shows how to configure monitored resources and metrics\nfor monitoring. In the example, a monitored resource and two metrics are\ndefined. The `library.googleapis.com/book/returned_count` metric is sent\nto both producer and consumer projects, whereas the\n`library.googleapis.com/book/overdue_count` metric is only sent to the\nconsumer project.\n\n monitored_resources:\n - type: library.googleapis.com/branch\n labels:\n - key: /city\n description: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n metrics:\n - name: library.googleapis.com/book/returned_count\n metric_kind: DELTA\n value_type: INT64\n labels:\n - key: /customer_id\n - name: library.googleapis.com/book/overdue_count\n metric_kind: GAUGE\n value_type: INT64\n labels:\n - key: /customer_id\n monitoring:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n - library.googleapis.com/book/overdue_count",
- "id": "Monitoring",
- "properties": {
- "consumerDestinations": {
- "description": "Monitoring configurations for sending metrics to the consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A metric can be used in at most\none consumer destination.",
- "items": {
- "$ref": "MonitoringDestination"
- },
- "type": "array"
- },
- "producerDestinations": {
- "description": "Monitoring configurations for sending metrics to the producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A metric can be used in at most\none producer destination.",
- "items": {
- "$ref": "MonitoringDestination"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Field": {
- "description": "A single field of a message type.",
- "id": "Field",
- "properties": {
- "jsonName": {
- "description": "The field JSON name.",
- "type": "string"
- },
- "kind": {
- "description": "The field type.",
- "enum": [
- "TYPE_UNKNOWN",
- "TYPE_DOUBLE",
- "TYPE_FLOAT",
- "TYPE_INT64",
- "TYPE_UINT64",
- "TYPE_INT32",
- "TYPE_FIXED64",
- "TYPE_FIXED32",
- "TYPE_BOOL",
- "TYPE_STRING",
- "TYPE_GROUP",
- "TYPE_MESSAGE",
- "TYPE_BYTES",
- "TYPE_UINT32",
- "TYPE_ENUM",
- "TYPE_SFIXED32",
- "TYPE_SFIXED64",
- "TYPE_SINT32",
- "TYPE_SINT64"
- ],
- "enumDescriptions": [
- "Field type unknown.",
- "Field type double.",
- "Field type float.",
- "Field type int64.",
- "Field type uint64.",
- "Field type int32.",
- "Field type fixed64.",
- "Field type fixed32.",
- "Field type bool.",
- "Field type string.",
- "Field type group. Proto2 syntax only, and deprecated.",
- "Field type message.",
- "Field type bytes.",
- "Field type uint32.",
- "Field type enum.",
- "Field type sfixed32.",
- "Field type sfixed64.",
- "Field type sint32.",
- "Field type sint64."
- ],
- "type": "string"
- },
- "options": {
- "description": "The protocol buffer options.",
- "items": {
- "$ref": "Option"
- },
- "type": "array"
- },
- "oneofIndex": {
- "description": "The index of the field type in `Type.oneofs`, for message or enumeration\ntypes. The first type has index 1; zero means the type is not in the list.",
- "format": "int32",
- "type": "integer"
- },
- "cardinality": {
- "description": "The field cardinality.",
- "enum": [
- "CARDINALITY_UNKNOWN",
- "CARDINALITY_OPTIONAL",
- "CARDINALITY_REQUIRED",
- "CARDINALITY_REPEATED"
- ],
- "enumDescriptions": [
- "For fields with unknown cardinality.",
- "For optional fields.",
- "For required fields. Proto2 syntax only.",
- "For repeated fields."
- ],
- "type": "string"
- },
- "packed": {
- "description": "Whether to use alternative packed wire representation.",
- "type": "boolean"
- },
- "defaultValue": {
- "description": "The string value of the default value of this field. Proto2 syntax only.",
- "type": "string"
- },
- "name": {
- "description": "The field name.",
- "type": "string"
- },
- "typeUrl": {
- "description": "The field type URL, without the scheme, for message or enumeration\ntypes. Example: `\"type.googleapis.com/google.protobuf.Timestamp\"`.",
- "type": "string"
- },
- "number": {
- "description": "The field number.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "TestIamPermissionsRequest": {
- "description": "Request message for `TestIamPermissions` method.",
- "id": "TestIamPermissionsRequest",
- "properties": {
- "permissions": {
- "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Enum": {
- "description": "Enum type definition.",
- "id": "Enum",
- "properties": {
- "name": {
- "description": "Enum type name.",
- "type": "string"
- },
- "enumvalue": {
- "description": "Enum value definitions.",
- "items": {
- "$ref": "EnumValue"
- },
- "type": "array"
- },
- "options": {
- "description": "Protocol buffer options.",
- "items": {
- "$ref": "Option"
- },
- "type": "array"
- },
- "sourceContext": {
- "$ref": "SourceContext",
- "description": "The source context."
- },
- "syntax": {
- "description": "The source syntax.",
- "enum": [
- "SYNTAX_PROTO2",
- "SYNTAX_PROTO3"
- ],
- "enumDescriptions": [
- "Syntax `proto2`.",
- "Syntax `proto3`."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "Diagnostic": {
- "description": "Represents a diagnostic message (error or warning)",
- "id": "Diagnostic",
- "properties": {
- "kind": {
- "description": "The kind of diagnostic information provided.",
- "enum": [
- "WARNING",
- "ERROR"
- ],
- "enumDescriptions": [
- "Warnings and errors",
- "Only errors"
- ],
- "type": "string"
- },
- "message": {
- "description": "Message describing the error or warning.",
- "type": "string"
- },
- "location": {
- "description": "File name and line number of the error or warning.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "EnableServiceRequest": {
- "description": "Request message for EnableService method.",
- "id": "EnableServiceRequest",
- "properties": {
- "consumerId": {
- "description": "The identity of consumer resource which service enablement will be\napplied to.\n\nThe Google Service Management implementation accepts the following\nforms:\n- \"project:<project_id>\"\n\nNote: this is made compatible with\ngoogle.api.servicecontrol.v1.Operation.consumer_id.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "LabelDescriptor": {
- "description": "A description of a label.",
- "id": "LabelDescriptor",
- "properties": {
- "description": {
- "description": "A human-readable description for the label.",
- "type": "string"
- },
- "valueType": {
- "description": "The type of data that can be assigned to the label.",
- "enum": [
- "STRING",
- "BOOL",
- "INT64"
- ],
- "enumDescriptions": [
- "A variable-length string. This is the default.",
- "Boolean; true or false.",
- "A 64-bit signed integer."
- ],
- "type": "string"
- },
- "key": {
- "description": "The label key.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GenerateConfigReportResponse": {
- "description": "Response message for GenerateConfigReport method.",
- "id": "GenerateConfigReportResponse",
- "properties": {
- "diagnostics": {
- "description": "Errors / Linter warnings associated with the service definition this\nreport\nbelongs to.",
- "items": {
- "$ref": "Diagnostic"
- },
- "type": "array"
- },
- "serviceName": {
- "description": "Name of the service this report belongs to.",
- "type": "string"
- },
- "changeReports": {
- "description": "list of ChangeReport, each corresponding to comparison between two\nservice configurations.",
- "items": {
- "$ref": "ChangeReport"
- },
- "type": "array"
- },
- "id": {
- "description": "ID of the service configuration this report belongs to.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Type": {
- "description": "A protocol buffer message type.",
- "id": "Type",
- "properties": {
- "options": {
- "description": "The protocol buffer options.",
- "items": {
- "$ref": "Option"
- },
- "type": "array"
- },
- "fields": {
- "description": "The list of fields.",
- "items": {
- "$ref": "Field"
- },
- "type": "array"
- },
- "name": {
- "description": "The fully qualified message name.",
- "type": "string"
- },
- "oneofs": {
- "description": "The list of types appearing in `oneof` definitions in this type.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "syntax": {
- "description": "The source syntax.",
- "enum": [
- "SYNTAX_PROTO2",
- "SYNTAX_PROTO3"
- ],
- "enumDescriptions": [
- "Syntax `proto2`.",
- "Syntax `proto3`."
- ],
- "type": "string"
- },
- "sourceContext": {
- "$ref": "SourceContext",
- "description": "The source context."
- }
- },
- "type": "object"
- },
- "Experimental": {
- "description": "Experimental service configuration. These configuration options can\nonly be used by whitelisted users.",
- "id": "Experimental",
- "properties": {
- "authorization": {
- "$ref": "AuthorizationConfig",
- "description": "Authorization configuration."
- }
- },
- "type": "object"
- },
- "ListServiceConfigsResponse": {
- "description": "Response message for ListServiceConfigs method.",
- "id": "ListServiceConfigsResponse",
- "properties": {
- "serviceConfigs": {
- "description": "The list of service configuration resources.",
- "items": {
- "$ref": "Service"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "The token of the next page of results.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AuditConfig": {
- "description": "Specifies the audit configuration for a service.\nIt consists of which permission types are logged, and what identities, if\nany, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.",
- "id": "AuditConfig",
- "properties": {
- "service": {
- "description": "Specifies a service that will be enabled for audit logging.\nFor example, `resourcemanager`, `storage`, `compute`.\n`allServices` is a special value that covers all services.",
- "type": "string"
- },
- "auditLogConfigs": {
- "description": "The configuration for logging of each type of permission.\nNext ID: 4",
- "items": {
- "$ref": "AuditLogConfig"
- },
- "type": "array"
- },
- "exemptedMembers": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Backend": {
- "description": "`Backend` defines the backend configuration for a service.",
- "id": "Backend",
- "properties": {
- "rules": {
- "description": "A list of API backend rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
- "items": {
- "$ref": "BackendRule"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "SubmitConfigSourceRequest": {
- "description": "Request message for SubmitConfigSource method.",
- "id": "SubmitConfigSourceRequest",
- "properties": {
- "configSource": {
- "$ref": "ConfigSource",
- "description": "The source configuration for the service."
- },
- "validateOnly": {
- "description": "Optional. If set, this will result in the generation of a\n`google.api.Service` configuration based on the `ConfigSource` provided,\nbut the generated config and the sources will NOT be persisted.",
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "AuthorizationConfig": {
- "description": "Configuration of authorization.\n\nThis section determines the authorization provider, if unspecified, then no\nauthorization check will be done.\n\nExample:\n\n experimental:\n authorization:\n provider: firebaserules.googleapis.com",
- "id": "AuthorizationConfig",
- "properties": {
- "provider": {
- "description": "The name of the authorization provider, such as\nfirebaserules.googleapis.com.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DocumentationRule": {
- "description": "A documentation rule provides information about individual API elements.",
- "id": "DocumentationRule",
- "properties": {
- "description": {
- "description": "Description of the selected API(s).",
- "type": "string"
- },
- "deprecationDescription": {
- "description": "Deprecation description of the selected element(s). It can be provided if an\nelement is marked as `deprecated`.",
- "type": "string"
- },
- "selector": {
- "description": "The selector is a comma-separated list of patterns. Each pattern is a\nqualified name of the element which may end in \"*\", indicating a wildcard.\nWildcards are only allowed at the end and for a whole component of the\nqualified name, i.e. \"foo.*\" is ok, but not \"foo.b*\" or \"foo.*.bar\". To\nspecify a default for all applicable elements, the whole pattern \"*\"\nis used.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CloudAuditOptions": {
- "description": "Write a Cloud Audit log",
- "id": "CloudAuditOptions",
- "properties": {},
- "type": "object"
- },
- "ContextRule": {
- "description": "A context rule provides information about the context for an individual API\nelement.",
- "id": "ContextRule",
- "properties": {
- "selector": {
- "description": "Selects the methods to which this rule applies.\n\nRefer to selector for syntax details.",
- "type": "string"
- },
- "provided": {
- "description": "A list of full type names of provided contexts.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "requested": {
- "description": "A list of full type names of requested contexts.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "MetricDescriptor": {
- "description": "Defines a metric type and its schema. Once a metric descriptor is created,\ndeleting or altering it stops data collection and makes the metric type's\nexisting data unusable.",
- "id": "MetricDescriptor",
- "properties": {
- "labels": {
- "description": "The set of labels that can be used to describe a specific\ninstance of this metric type. For example, the\n`appengine.googleapis.com/http/server/response_latencies` metric\ntype has a label for the HTTP response code, `response_code`, so\nyou can look at latencies for successful responses or just\nfor responses that failed.",
- "items": {
- "$ref": "LabelDescriptor"
- },
- "type": "array"
- },
- "name": {
- "description": "The resource name of the metric descriptor. Depending on the\nimplementation, the name typically includes: (1) the parent resource name\nthat defines the scope of the metric type or of its data; and (2) the\nmetric's URL-encoded type, which also appears in the `type` field of this\ndescriptor. For example, following is the resource name of a custom\nmetric within the GCP project `my-project-id`:\n\n \"projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount\"",
- "type": "string"
- },
- "type": {
- "description": "The metric type, including its DNS name prefix. The type is not\nURL-encoded. All user-defined custom metric types have the DNS name\n`custom.googleapis.com`. Metric types should use a natural hierarchical\ngrouping. For example:\n\n \"custom.googleapis.com/invoice/paid/amount\"\n \"appengine.googleapis.com/http/server/response_latencies\"",
- "type": "string"
- },
- "valueType": {
- "description": "Whether the measurement is an integer, a floating-point number, etc.\nSome combinations of `metric_kind` and `value_type` might not be supported.",
- "enum": [
- "VALUE_TYPE_UNSPECIFIED",
- "BOOL",
- "INT64",
- "DOUBLE",
- "STRING",
- "DISTRIBUTION",
- "MONEY"
- ],
- "enumDescriptions": [
- "Do not use this default value.",
- "The value is a boolean.\nThis value type can be used only if the metric kind is `GAUGE`.",
- "The value is a signed 64-bit integer.",
- "The value is a double precision floating point number.",
- "The value is a text string.\nThis value type can be used only if the metric kind is `GAUGE`.",
- "The value is a `Distribution`.",
- "The value is money."
- ],
- "type": "string"
- },
- "metricKind": {
- "description": "Whether the metric records instantaneous values, changes to a value, etc.\nSome combinations of `metric_kind` and `value_type` might not be supported.",
- "enum": [
- "METRIC_KIND_UNSPECIFIED",
- "GAUGE",
- "DELTA",
- "CUMULATIVE"
- ],
- "enumDescriptions": [
- "Do not use this default value.",
- "An instantaneous measurement of a value.",
- "The change in a value during a time interval.",
- "A value accumulated over a time interval. Cumulative\nmeasurements in a time series should have the same start time\nand increasing end times, until an event resets the cumulative\nvalue to zero and sets a new start time for the following\npoints."
- ],
- "type": "string"
- },
- "displayName": {
- "description": "A concise name for the metric, which can be displayed in user interfaces.\nUse sentence case without an ending period, for example \"Request count\".",
- "type": "string"
- },
- "description": {
- "description": "A detailed description of the metric, which can be used in documentation.",
- "type": "string"
- },
- "unit": {
- "description": "The unit in which the metric value is reported. It is only applicable\nif the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The\nsupported units are a subset of [The Unified Code for Units of\nMeasure](http://unitsofmeasure.org/ucum.html) standard:\n\n**Basic units (UNIT)**\n\n* `bit` bit\n* `By` byte\n* `s` second\n* `min` minute\n* `h` hour\n* `d` day\n\n**Prefixes (PREFIX)**\n\n* `k` kilo (10**3)\n* `M` mega (10**6)\n* `G` giga (10**9)\n* `T` tera (10**12)\n* `P` peta (10**15)\n* `E` exa (10**18)\n* `Z` zetta (10**21)\n* `Y` yotta (10**24)\n* `m` milli (10**-3)\n* `u` micro (10**-6)\n* `n` nano (10**-9)\n* `p` pico (10**-12)\n* `f` femto (10**-15)\n* `a` atto (10**-18)\n* `z` zepto (10**-21)\n* `y` yocto (10**-24)\n* `Ki` kibi (2**10)\n* `Mi` mebi (2**20)\n* `Gi` gibi (2**30)\n* `Ti` tebi (2**40)\n\n**Grammar**\n\nThe grammar includes the dimensionless unit `1`, such as `1/s`.\n\nThe grammar also includes these connectors:\n\n* `/` division (as an infix operator, e.g. `1/s`).\n* `.` multiplication (as an infix operator, e.g. `GBy.d`)\n\nThe grammar for a unit is as follows:\n\n Expression = Component { \".\" Component } { \"/\" Component } ;\n\n Component = [ PREFIX ] UNIT [ Annotation ]\n | Annotation\n | \"1\"\n ;\n\n Annotation = \"{\" NAME \"}\" ;\n\nNotes:\n\n* `Annotation` is just a comment if it follows a `UNIT` and is\n equivalent to `1` if it is used alone. For examples,\n `{requests}/s == 1/s`, `By{transmitted}/s == By/s`.\n* `NAME` is a sequence of non-blank printable ASCII characters not\n containing '{' or '}'.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SourceContext": {
- "description": "`SourceContext` represents information about the source of a\nprotobuf element, like the file in which it is defined.",
- "id": "SourceContext",
- "properties": {
- "fileName": {
- "description": "The path-qualified name of the .proto file that contained the associated\nprotobuf element. For example: `\"google/protobuf/source_context.proto\"`.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListServicesResponse": {
- "description": "Response message for `ListServices` method.",
- "id": "ListServicesResponse",
- "properties": {
- "services": {
- "description": "The returned services will only have the name field set.",
- "items": {
- "$ref": "ManagedService"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "Token that can be passed to `ListServices` to resume a paginated query.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Endpoint": {
- "description": "`Endpoint` describes a network endpoint that serves a set of APIs.\nA service may expose any number of endpoints, and all endpoints share the\nsame service configuration, such as quota configuration and monitoring\nconfiguration.\n\nExample service configuration:\n\n name: library-example.googleapis.com\n endpoints:\n # Below entry makes 'google.example.library.v1.Library'\n # API be served from endpoint address library-example.googleapis.com.\n # It also allows HTTP OPTIONS calls to be passed to the backend, for\n # it to decide whether the subsequent cross-origin request is\n # allowed to proceed.\n - name: library-example.googleapis.com\n allow_cors: true",
- "id": "Endpoint",
- "properties": {
- "apis": {
- "description": "The list of APIs served by this endpoint.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "aliases": {
- "description": "DEPRECATED: This field is no longer supported. Instead of using aliases,\nplease specify multiple google.api.Endpoint for each of the intented\nalias.\n\nAdditional names that this endpoint will be hosted on.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "features": {
- "description": "The list of features enabled on this endpoint.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "allowCors": {
- "description": "Allowing\n[CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka\ncross-domain traffic, would allow the backends served from this endpoint to\nreceive and respond to HTTP OPTIONS requests. The response will be used by\nthe browser to determine whether the subsequent cross-origin request is\nallowed to proceed.",
- "type": "boolean"
- },
- "name": {
- "description": "The canonical name of this endpoint.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "OAuthRequirements": {
- "description": "OAuth scopes are a way to define data and permissions on data. For example,\nthere are scopes defined for \"Read-only access to Google Calendar\" and\n\"Access to Cloud Platform\". Users can consent to a scope for an application,\ngiving it permission to access that data on their behalf.\n\nOAuth scope specifications should be fairly coarse grained; a user will need\nto see and understand the text description of what your scope means.\n\nIn most cases: use one or at most two OAuth scopes for an entire family of\nproducts. If your product has multiple APIs, you should probably be sharing\nthe OAuth scope across all of those APIs.\n\nWhen you need finer grained OAuth consent screens: talk with your product\nmanagement about how developers will use them in practice.\n\nPlease note that even though each of the canonical scopes is enough for a\nrequest to be accepted and passed to the backend, a request can still fail\ndue to the backend requiring additional scopes or permissions.",
- "id": "OAuthRequirements",
- "properties": {
- "canonicalScopes": {
- "description": "The list of publicly documented OAuth scopes that are allowed access. An\nOAuth token containing any of these scopes will be accepted.\n\nExample:\n\n canonical_scopes: https://www.googleapis.com/auth/calendar,\n https://www.googleapis.com/auth/calendar.read",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Usage": {
- "description": "Configuration controlling usage of a service.",
- "id": "Usage",
- "properties": {
- "producerNotificationChannel": {
- "description": "The full resource name of a channel used for sending notifications to the\nservice producer.\n\nGoogle Service Management currently only supports\n[Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification\nchannel. To use Google Cloud Pub/Sub as the channel, this must be the name\nof a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format\ndocumented in https://cloud.google.com/pubsub/docs/overview.",
- "type": "string"
- },
- "rules": {
- "description": "A list of usage rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
- "items": {
- "$ref": "UsageRule"
- },
- "type": "array"
- },
- "requirements": {
- "description": "Requirements that must be satisfied before a consumer project can use the\nservice. Each requirement is of the form <service.name>/<requirement-id>;\nfor example 'serviceusage.googleapis.com/billing-enabled'.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "TestIamPermissionsResponse": {
- "description": "Response message for `TestIamPermissions` method.",
- "id": "TestIamPermissionsResponse",
- "properties": {
- "permissions": {
- "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "GetIamPolicyRequest": {
- "description": "Request message for `GetIamPolicy` method.",
- "id": "GetIamPolicyRequest",
- "properties": {},
- "type": "object"
- },
- "Context": {
- "description": "`Context` defines which contexts an API requests.\n\nExample:\n\n context:\n rules:\n - selector: \"*\"\n requested:\n - google.rpc.context.ProjectContext\n - google.rpc.context.OriginContext\n\nThe above specifies that all methods in the API request\n`google.rpc.context.ProjectContext` and\n`google.rpc.context.OriginContext`.\n\nAvailable context types are defined in package\n`google.rpc.context`.",
- "id": "Context",
- "properties": {
- "rules": {
- "description": "A list of RPC context rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
- "items": {
- "$ref": "ContextRule"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Rule": {
- "description": "A rule to be applied in a Policy.",
- "id": "Rule",
- "properties": {
- "description": {
- "description": "Human-readable description of the rule.",
- "type": "string"
- },
- "conditions": {
- "description": "Additional restrictions that must be met",
- "items": {
- "$ref": "Condition"
- },
- "type": "array"
- },
- "logConfig": {
- "description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries\nthat match the LOG action.",
- "items": {
- "$ref": "LogConfig"
- },
- "type": "array"
- },
- "in": {
- "description": "If one or more 'in' clauses are specified, the rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "permissions": {
- "description": "A permission is a string of form '<service>.<resource type>.<verb>'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "action": {
- "description": "Required",
- "enum": [
- "NO_ACTION",
- "ALLOW",
- "ALLOW_WITH_LOG",
- "DENY",
- "DENY_WITH_LOG",
- "LOG"
- ],
- "enumDescriptions": [
- "Default no action.",
- "Matching 'Entries' grant access.",
- "Matching 'Entries' grant access and the caller promises to log\nthe request per the returned log_configs.",
- "Matching 'Entries' deny access.",
- "Matching 'Entries' deny access and the caller promises to log\nthe request per the returned log_configs.",
- "Matching 'Entries' tell IAM.Check callers to generate logs."
- ],
- "type": "string"
- },
- "notIn": {
- "description": "If one or more 'not_in' clauses are specified, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.\nThe format for in and not_in entries is the same as for members in a\nBinding (see google/iam/v1/policy.proto).",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis/serviceuser__v1.json b/discovery/googleapis/serviceuser__v1.json
index aaee70e..a1423c7 100644
--- a/discovery/googleapis/serviceuser__v1.json
+++ b/discovery/googleapis/serviceuser__v1.json
@@ -52,6 +52,11 @@
"location": "query",
"type": "string"
},
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"$.xgafv": {
"description": "V1 error format.",
"enum": [
@@ -65,11 +70,6 @@
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -86,13 +86,13 @@
"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.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
+ "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"
},
@@ -107,56 +107,25 @@
"location": "query",
"type": "boolean"
},
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
+ "bearer_token": {
+ "description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
- "bearer_token": {
- "description": "OAuth bearer token.",
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
}
},
"protocol": "rest",
"resources": {
- "services": {
- "methods": {
- "search": {
- "description": "Search available services.\n\nWhen no filter is specified, returns all accessible services. For\nauthenticated users, also returns all services the calling user has\n\"servicemanagement.services.bind\" permission for.",
- "httpMethod": "GET",
- "id": "serviceuser.services.search",
- "parameterOrder": [],
- "parameters": {
- "pageToken": {
- "description": "Token identifying which result to start with; returned by a previous list\ncall.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Requested size of the next page of data.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- }
- },
- "path": "v1/services:search",
- "response": {
- "$ref": "SearchServicesResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only"
- ]
- }
- }
- },
"projects": {
"resources": {
"services": {
"methods": {
"enable": {
- "description": "Enable a managed service for a consumer with the default settings.\n\nOperation<response: google.protobuf.Empty>\n\ngoogle.rpc.Status errors may contain a\ngoogle.rpc.PreconditionFailure error detail.",
+ "description": "Enable a service so it can be used with a project.\nSee [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for\nmore information.\n\nOperation<response: google.protobuf.Empty>",
"httpMethod": "POST",
"id": "serviceuser.projects.services.enable",
"parameterOrder": [
@@ -191,6 +160,13 @@
"parent"
],
"parameters": {
+ "parent": {
+ "description": "List enabled services for the specified parent.\n\nAn example valid parent would be:\n- projects/my-project",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
"pageToken": {
"description": "Token identifying which result to start with; returned by a previous list\ncall.",
"location": "query",
@@ -201,13 +177,6 @@
"format": "int32",
"location": "query",
"type": "integer"
- },
- "parent": {
- "description": "List enabled services for the specified parent.\n\nAn example valid parent would be:\n- projects/my-project",
- "location": "path",
- "pattern": "^projects/[^/]+$",
- "required": true,
- "type": "string"
}
},
"path": "v1/{+parent}/services",
@@ -220,7 +189,7 @@
]
},
"disable": {
- "description": "Disable a managed service for a consumer.\n\nOperation<response: google.protobuf.Empty>",
+ "description": "Disable a service so it can no longer be used with a\nproject. This prevents unintended usage that may cause unexpected billing\ncharges or security leaks.\n\nOperation<response: google.protobuf.Empty>",
"httpMethod": "POST",
"id": "serviceuser.projects.services.disable",
"parameterOrder": [
@@ -250,877 +219,53 @@
}
}
}
+ },
+ "services": {
+ "methods": {
+ "search": {
+ "description": "Search available services.\n\nWhen no filter is specified, returns all accessible services. For\nauthenticated users, also returns all services the calling user has\n\"servicemanagement.services.bind\" permission for.",
+ "httpMethod": "GET",
+ "id": "serviceuser.services.search",
+ "parameterOrder": [],
+ "parameters": {
+ "pageToken": {
+ "description": "Token identifying which result to start with; returned by a previous list\ncall.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested size of the next page of data.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ }
+ },
+ "path": "v1/services:search",
+ "response": {
+ "$ref": "SearchServicesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ }
+ }
}
},
- "revision": "20170227",
+ "revision": "20170317",
"rootUrl": "https://serviceuser.googleapis.com/",
"schemas": {
- "Visibility": {
- "description": "`Visibility` defines restrictions for the visibility of service\nelements. Restrictions are specified using visibility labels\n(e.g., TRUSTED_TESTER) that are elsewhere linked to users and projects.\n\nUsers and projects can have access to more than one visibility label. The\neffective visibility for multiple labels is the union of each label's\nelements, plus any unrestricted elements.\n\nIf an element and its parents have no restrictions, visibility is\nunconditionally granted.\n\nExample:\n\n visibility:\n rules:\n - selector: google.calendar.Calendar.EnhancedSearch\n restriction: TRUSTED_TESTER\n - selector: google.calendar.Calendar.Delegate\n restriction: GOOGLE_INTERNAL\n\nHere, all methods are publicly visible except for the restricted methods\nEnhancedSearch and Delegate.",
- "id": "Visibility",
- "properties": {
- "rules": {
- "description": "A list of visibility rules that apply to individual API elements.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
- "items": {
- "$ref": "VisibilityRule"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "SystemParameters": {
- "description": "### System parameter configuration\n\nA system parameter is a special kind of parameter defined by the API\nsystem, not by an individual API. It is typically mapped to an HTTP header\nand/or a URL query parameter. This configuration specifies which methods\nchange the names of the system parameters.",
- "id": "SystemParameters",
- "properties": {
- "rules": {
- "description": "Define system parameters.\n\nThe parameters defined here will override the default parameters\nimplemented by the system. If this field is missing from the service\nconfig, default system parameters will be used. Default system parameters\nand names is implementation-dependent.\n\nExample: define api key for all methods\n\n system_parameters\n rules:\n - selector: \"*\"\n parameters:\n - name: api_key\n url_query_parameter: api_key\n\n\nExample: define 2 api key names for a specific method.\n\n system_parameters\n rules:\n - selector: \"/ListShelves\"\n parameters:\n - name: api_key\n http_header: Api-Key1\n - name: api_key\n http_header: Api-Key2\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
- "items": {
- "$ref": "SystemParameterRule"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "LoggingDestination": {
- "description": "Configuration of a specific logging destination (the producer project\nor the consumer project).",
- "id": "LoggingDestination",
- "properties": {
- "logs": {
- "description": "Names of the logs to be sent to this destination. Each name must\nbe defined in the Service.logs section. If the log name is\nnot a domain scoped name, it will be automatically prefixed with\nthe service name followed by \"/\".",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "monitoredResource": {
- "description": "The monitored resource type. The type must be defined in the\nService.monitored_resources section.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Option": {
- "description": "A protocol buffer option, which can be attached to a message, field,\nenumeration, etc.",
- "id": "Option",
- "properties": {
- "name": {
- "description": "The option's name. For protobuf built-in options (options defined in\ndescriptor.proto), this is the short name. For example, `\"map_entry\"`.\nFor custom options, it should be the fully-qualified name. For example,\n`\"google.api.http\"`.",
- "type": "string"
- },
- "value": {
- "additionalProperties": {
- "description": "Properties of the object. Contains field @type with type URL.",
- "type": "any"
- },
- "description": "The option's value packed in an Any message. If the value is a primitive,\nthe corresponding wrapper type defined in google/protobuf/wrappers.proto\nshould be used. If the value is an enum, it should be stored as an int32\nvalue using the google.protobuf.Int32Value type.",
- "type": "object"
- }
- },
- "type": "object"
- },
- "Logging": {
- "description": "Logging configuration of the service.\n\nThe following example shows how to configure logs to be sent to the\nproducer and consumer projects. In the example, the `activity_history`\nlog is sent to both the producer and consumer projects, whereas the\n`purchase_history` log is only sent to the producer project.\n\n monitored_resources:\n - type: library.googleapis.com/branch\n labels:\n - key: /city\n description: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n logs:\n - name: activity_history\n labels:\n - key: /customer_id\n - name: purchase_history\n logging:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history\n - purchase_history\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history",
- "id": "Logging",
- "properties": {
- "consumerDestinations": {
- "description": "Logging configurations for sending logs to the consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none consumer destination.",
- "items": {
- "$ref": "LoggingDestination"
- },
- "type": "array"
- },
- "producerDestinations": {
- "description": "Logging configurations for sending logs to the producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none producer destination.",
- "items": {
- "$ref": "LoggingDestination"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Method": {
- "description": "Method represents a method of an api.",
- "id": "Method",
- "properties": {
- "name": {
- "description": "The simple name of this method.",
- "type": "string"
- },
- "requestTypeUrl": {
- "description": "A URL of the input message type.",
- "type": "string"
- },
- "requestStreaming": {
- "description": "If true, the request is streamed.",
- "type": "boolean"
- },
- "syntax": {
- "description": "The source syntax of this method.",
- "enum": [
- "SYNTAX_PROTO2",
- "SYNTAX_PROTO3"
- ],
- "enumDescriptions": [
- "Syntax `proto2`.",
- "Syntax `proto3`."
- ],
- "type": "string"
- },
- "responseTypeUrl": {
- "description": "The URL of the output message type.",
- "type": "string"
- },
- "options": {
- "description": "Any metadata attached to the method.",
- "items": {
- "$ref": "Option"
- },
- "type": "array"
- },
- "responseStreaming": {
- "description": "If true, the response is streamed.",
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "Mixin": {
- "description": "Declares an API to be included in this API. The including API must\nredeclare all the methods from the included API, but documentation\nand options are inherited as follows:\n\n- If after comment and whitespace stripping, the documentation\n string of the redeclared method is empty, it will be inherited\n from the original method.\n\n- Each annotation belonging to the service config (http,\n visibility) which is not set in the redeclared method will be\n inherited.\n\n- If an http annotation is inherited, the path pattern will be\n modified as follows. Any version prefix will be replaced by the\n version of the including API plus the root path if specified.\n\nExample of a simple mixin:\n\n package google.acl.v1;\n service AccessControl {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v1/{resource=**}:getAcl\";\n }\n }\n\n package google.storage.v2;\n service Storage {\n // rpc GetAcl(GetAclRequest) returns (Acl);\n\n // Get a data record.\n rpc GetData(GetDataRequest) returns (Data) {\n option (google.api.http).get = \"/v2/{resource=**}\";\n }\n }\n\nExample of a mixin configuration:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n\nThe mixin construct implies that all methods in `AccessControl` are\nalso declared with same name and request/response types in\n`Storage`. A documentation generator or annotation processor will\nsee the effective `Storage.GetAcl` method after inherting\ndocumentation and annotations as follows:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/{resource=**}:getAcl\";\n }\n ...\n }\n\nNote how the version in the path pattern changed from `v1` to `v2`.\n\nIf the `root` field in the mixin is specified, it should be a\nrelative path under which inherited HTTP paths are placed. Example:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n root: acls\n\nThis implies the following inherited HTTP annotation:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\";\n }\n ...\n }",
- "id": "Mixin",
- "properties": {
- "name": {
- "description": "The fully qualified name of the API which is included.",
- "type": "string"
- },
- "root": {
- "description": "If non-empty specifies a path under which inherited HTTP paths\nare rooted.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CustomError": {
- "description": "Customize service error responses. For example, list any service\nspecific protobuf types that can appear in error detail lists of\nerror responses.\n\nExample:\n\n custom_error:\n types:\n - google.foo.v1.CustomError\n - google.foo.v1.AnotherError",
- "id": "CustomError",
- "properties": {
- "types": {
- "description": "The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "rules": {
- "description": "The list of custom error rules that apply to individual API messages.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
- "items": {
- "$ref": "CustomErrorRule"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Http": {
- "description": "Defines the HTTP configuration for a service. It contains a list of\nHttpRule, each specifying the mapping of an RPC method\nto one or more HTTP REST API methods.",
- "id": "Http",
- "properties": {
- "rules": {
- "description": "A list of HTTP configuration rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
- "items": {
- "$ref": "HttpRule"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Control": {
- "description": "Selects and configures the service controller used by the service. The\nservice controller handles features like abuse, quota, billing, logging,\nmonitoring, etc.",
- "id": "Control",
- "properties": {
- "environment": {
- "description": "The service control environment to use. If empty, no control plane\nfeature (like quota and billing) will be enabled.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SystemParameter": {
- "description": "Define a parameter's name and location. The parameter may be passed as either\nan HTTP header or a URL query parameter, and if both are passed the behavior\nis implementation-dependent.",
- "id": "SystemParameter",
- "properties": {
- "urlQueryParameter": {
- "description": "Define the URL query parameter name to use for the parameter. It is case\nsensitive.",
- "type": "string"
- },
- "httpHeader": {
- "description": "Define the HTTP header name to use for the parameter. It is case\ninsensitive.",
- "type": "string"
- },
- "name": {
- "description": "Define the name of the parameter, such as \"api_key\" . It is case sensitive.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Field": {
- "description": "A single field of a message type.",
- "id": "Field",
- "properties": {
- "oneofIndex": {
- "description": "The index of the field type in `Type.oneofs`, for message or enumeration\ntypes. The first type has index 1; zero means the type is not in the list.",
- "format": "int32",
- "type": "integer"
- },
- "cardinality": {
- "description": "The field cardinality.",
- "enum": [
- "CARDINALITY_UNKNOWN",
- "CARDINALITY_OPTIONAL",
- "CARDINALITY_REQUIRED",
- "CARDINALITY_REPEATED"
- ],
- "enumDescriptions": [
- "For fields with unknown cardinality.",
- "For optional fields.",
- "For required fields. Proto2 syntax only.",
- "For repeated fields."
- ],
- "type": "string"
- },
- "packed": {
- "description": "Whether to use alternative packed wire representation.",
- "type": "boolean"
- },
- "defaultValue": {
- "description": "The string value of the default value of this field. Proto2 syntax only.",
- "type": "string"
- },
- "name": {
- "description": "The field name.",
- "type": "string"
- },
- "typeUrl": {
- "description": "The field type URL, without the scheme, for message or enumeration\ntypes. Example: `\"type.googleapis.com/google.protobuf.Timestamp\"`.",
- "type": "string"
- },
- "number": {
- "description": "The field number.",
- "format": "int32",
- "type": "integer"
- },
- "jsonName": {
- "description": "The field JSON name.",
- "type": "string"
- },
- "kind": {
- "description": "The field type.",
- "enum": [
- "TYPE_UNKNOWN",
- "TYPE_DOUBLE",
- "TYPE_FLOAT",
- "TYPE_INT64",
- "TYPE_UINT64",
- "TYPE_INT32",
- "TYPE_FIXED64",
- "TYPE_FIXED32",
- "TYPE_BOOL",
- "TYPE_STRING",
- "TYPE_GROUP",
- "TYPE_MESSAGE",
- "TYPE_BYTES",
- "TYPE_UINT32",
- "TYPE_ENUM",
- "TYPE_SFIXED32",
- "TYPE_SFIXED64",
- "TYPE_SINT32",
- "TYPE_SINT64"
- ],
- "enumDescriptions": [
- "Field type unknown.",
- "Field type double.",
- "Field type float.",
- "Field type int64.",
- "Field type uint64.",
- "Field type int32.",
- "Field type fixed64.",
- "Field type fixed32.",
- "Field type bool.",
- "Field type string.",
- "Field type group. Proto2 syntax only, and deprecated.",
- "Field type message.",
- "Field type bytes.",
- "Field type uint32.",
- "Field type enum.",
- "Field type sfixed32.",
- "Field type sfixed64.",
- "Field type sint32.",
- "Field type sint64."
- ],
- "type": "string"
- },
- "options": {
- "description": "The protocol buffer options.",
- "items": {
- "$ref": "Option"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Monitoring": {
- "description": "Monitoring configuration of the service.\n\nThe example below shows how to configure monitored resources and metrics\nfor monitoring. In the example, a monitored resource and two metrics are\ndefined. The `library.googleapis.com/book/returned_count` metric is sent\nto both producer and consumer projects, whereas the\n`library.googleapis.com/book/overdue_count` metric is only sent to the\nconsumer project.\n\n monitored_resources:\n - type: library.googleapis.com/branch\n labels:\n - key: /city\n description: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n metrics:\n - name: library.googleapis.com/book/returned_count\n metric_kind: DELTA\n value_type: INT64\n labels:\n - key: /customer_id\n - name: library.googleapis.com/book/overdue_count\n metric_kind: GAUGE\n value_type: INT64\n labels:\n - key: /customer_id\n monitoring:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n - library.googleapis.com/book/overdue_count",
- "id": "Monitoring",
- "properties": {
- "consumerDestinations": {
- "description": "Monitoring configurations for sending metrics to the consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A metric can be used in at most\none consumer destination.",
- "items": {
- "$ref": "MonitoringDestination"
- },
- "type": "array"
- },
- "producerDestinations": {
- "description": "Monitoring configurations for sending metrics to the producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A metric can be used in at most\none producer destination.",
- "items": {
- "$ref": "MonitoringDestination"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Enum": {
- "description": "Enum type definition.",
- "id": "Enum",
- "properties": {
- "name": {
- "description": "Enum type name.",
- "type": "string"
- },
- "enumvalue": {
- "description": "Enum value definitions.",
- "items": {
- "$ref": "EnumValue"
- },
- "type": "array"
- },
- "options": {
- "description": "Protocol buffer options.",
- "items": {
- "$ref": "Option"
- },
- "type": "array"
- },
- "sourceContext": {
- "$ref": "SourceContext",
- "description": "The source context."
- },
- "syntax": {
- "description": "The source syntax.",
- "enum": [
- "SYNTAX_PROTO2",
- "SYNTAX_PROTO3"
- ],
- "enumDescriptions": [
- "Syntax `proto2`.",
- "Syntax `proto3`."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "LabelDescriptor": {
- "description": "A description of a label.",
- "id": "LabelDescriptor",
- "properties": {
- "key": {
- "description": "The label key.",
- "type": "string"
- },
- "description": {
- "description": "A human-readable description for the label.",
- "type": "string"
- },
- "valueType": {
- "description": "The type of data that can be assigned to the label.",
- "enum": [
- "STRING",
- "BOOL",
- "INT64"
- ],
- "enumDescriptions": [
- "A variable-length string. This is the default.",
- "Boolean; true or false.",
- "A 64-bit signed integer."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "EnableServiceRequest": {
- "description": "Request message for EnableService method.",
- "id": "EnableServiceRequest",
- "properties": {},
- "type": "object"
- },
- "Type": {
- "description": "A protocol buffer message type.",
- "id": "Type",
- "properties": {
- "sourceContext": {
- "$ref": "SourceContext",
- "description": "The source context."
- },
- "syntax": {
- "description": "The source syntax.",
- "enum": [
- "SYNTAX_PROTO2",
- "SYNTAX_PROTO3"
- ],
- "enumDescriptions": [
- "Syntax `proto2`.",
- "Syntax `proto3`."
- ],
- "type": "string"
- },
- "options": {
- "description": "The protocol buffer options.",
- "items": {
- "$ref": "Option"
- },
- "type": "array"
- },
- "fields": {
- "description": "The list of fields.",
- "items": {
- "$ref": "Field"
- },
- "type": "array"
- },
- "name": {
- "description": "The fully qualified message name.",
- "type": "string"
- },
- "oneofs": {
- "description": "The list of types appearing in `oneof` definitions in this type.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Experimental": {
- "description": "Experimental service configuration. These configuration options can\nonly be used by whitelisted users.",
- "id": "Experimental",
- "properties": {
- "authorization": {
- "$ref": "AuthorizationConfig",
- "description": "Authorization configuration."
- }
- },
- "type": "object"
- },
- "Backend": {
- "description": "`Backend` defines the backend configuration for a service.",
- "id": "Backend",
- "properties": {
- "rules": {
- "description": "A list of API backend rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
- "items": {
- "$ref": "BackendRule"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "DocumentationRule": {
- "description": "A documentation rule provides information about individual API elements.",
- "id": "DocumentationRule",
- "properties": {
- "description": {
- "description": "Description of the selected API(s).",
- "type": "string"
- },
- "deprecationDescription": {
- "description": "Deprecation description of the selected element(s). It can be provided if an\nelement is marked as `deprecated`.",
- "type": "string"
- },
- "selector": {
- "description": "The selector is a comma-separated list of patterns. Each pattern is a\nqualified name of the element which may end in \"*\", indicating a wildcard.\nWildcards are only allowed at the end and for a whole component of the\nqualified name, i.e. \"foo.*\" is ok, but not \"foo.b*\" or \"foo.*.bar\". To\nspecify a default for all applicable elements, the whole pattern \"*\"\nis used.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AuthorizationConfig": {
- "description": "Configuration of authorization.\n\nThis section determines the authorization provider, if unspecified, then no\nauthorization check will be done.\n\nExample:\n\n experimental:\n authorization:\n provider: firebaserules.googleapis.com",
- "id": "AuthorizationConfig",
- "properties": {
- "provider": {
- "description": "The name of the authorization provider, such as\nfirebaserules.googleapis.com.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ContextRule": {
- "description": "A context rule provides information about the context for an individual API\nelement.",
- "id": "ContextRule",
- "properties": {
- "selector": {
- "description": "Selects the methods to which this rule applies.\n\nRefer to selector for syntax details.",
- "type": "string"
- },
- "provided": {
- "description": "A list of full type names of provided contexts.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "requested": {
- "description": "A list of full type names of requested contexts.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "SourceContext": {
- "description": "`SourceContext` represents information about the source of a\nprotobuf element, like the file in which it is defined.",
- "id": "SourceContext",
- "properties": {
- "fileName": {
- "description": "The path-qualified name of the .proto file that contained the associated\nprotobuf element. For example: `\"google/protobuf/source_context.proto\"`.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "MetricDescriptor": {
- "description": "Defines a metric type and its schema. Once a metric descriptor is created,\ndeleting or altering it stops data collection and makes the metric type's\nexisting data unusable.",
- "id": "MetricDescriptor",
- "properties": {
- "metricKind": {
- "description": "Whether the metric records instantaneous values, changes to a value, etc.\nSome combinations of `metric_kind` and `value_type` might not be supported.",
- "enum": [
- "METRIC_KIND_UNSPECIFIED",
- "GAUGE",
- "DELTA",
- "CUMULATIVE"
- ],
- "enumDescriptions": [
- "Do not use this default value.",
- "An instantaneous measurement of a value.",
- "The change in a value during a time interval.",
- "A value accumulated over a time interval. Cumulative\nmeasurements in a time series should have the same start time\nand increasing end times, until an event resets the cumulative\nvalue to zero and sets a new start time for the following\npoints."
- ],
- "type": "string"
- },
- "displayName": {
- "description": "A concise name for the metric, which can be displayed in user interfaces.\nUse sentence case without an ending period, for example \"Request count\".",
- "type": "string"
- },
- "description": {
- "description": "A detailed description of the metric, which can be used in documentation.",
- "type": "string"
- },
- "unit": {
- "description": "The unit in which the metric value is reported. It is only applicable\nif the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The\nsupported units are a subset of [The Unified Code for Units of\nMeasure](http://unitsofmeasure.org/ucum.html) standard:\n\n**Basic units (UNIT)**\n\n* `bit` bit\n* `By` byte\n* `s` second\n* `min` minute\n* `h` hour\n* `d` day\n\n**Prefixes (PREFIX)**\n\n* `k` kilo (10**3)\n* `M` mega (10**6)\n* `G` giga (10**9)\n* `T` tera (10**12)\n* `P` peta (10**15)\n* `E` exa (10**18)\n* `Z` zetta (10**21)\n* `Y` yotta (10**24)\n* `m` milli (10**-3)\n* `u` micro (10**-6)\n* `n` nano (10**-9)\n* `p` pico (10**-12)\n* `f` femto (10**-15)\n* `a` atto (10**-18)\n* `z` zepto (10**-21)\n* `y` yocto (10**-24)\n* `Ki` kibi (2**10)\n* `Mi` mebi (2**20)\n* `Gi` gibi (2**30)\n* `Ti` tebi (2**40)\n\n**Grammar**\n\nThe grammar includes the dimensionless unit `1`, such as `1/s`.\n\nThe grammar also includes these connectors:\n\n* `/` division (as an infix operator, e.g. `1/s`).\n* `.` multiplication (as an infix operator, e.g. `GBy.d`)\n\nThe grammar for a unit is as follows:\n\n Expression = Component { \".\" Component } { \"/\" Component } ;\n\n Component = [ PREFIX ] UNIT [ Annotation ]\n | Annotation\n | \"1\"\n ;\n\n Annotation = \"{\" NAME \"}\" ;\n\nNotes:\n\n* `Annotation` is just a comment if it follows a `UNIT` and is\n equivalent to `1` if it is used alone. For examples,\n `{requests}/s == 1/s`, `By{transmitted}/s == By/s`.\n* `NAME` is a sequence of non-blank printable ASCII characters not\n containing '{' or '}'.",
- "type": "string"
- },
- "labels": {
- "description": "The set of labels that can be used to describe a specific\ninstance of this metric type. For example, the\n`appengine.googleapis.com/http/server/response_latencies` metric\ntype has a label for the HTTP response code, `response_code`, so\nyou can look at latencies for successful responses or just\nfor responses that failed.",
- "items": {
- "$ref": "LabelDescriptor"
- },
- "type": "array"
- },
- "name": {
- "description": "The resource name of the metric descriptor. Depending on the\nimplementation, the name typically includes: (1) the parent resource name\nthat defines the scope of the metric type or of its data; and (2) the\nmetric's URL-encoded type, which also appears in the `type` field of this\ndescriptor. For example, following is the resource name of a custom\nmetric within the GCP project `my-project-id`:\n\n \"projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount\"",
- "type": "string"
- },
- "type": {
- "description": "The metric type, including its DNS name prefix. The type is not\nURL-encoded. All user-defined custom metric types have the DNS name\n`custom.googleapis.com`. Metric types should use a natural hierarchical\ngrouping. For example:\n\n \"custom.googleapis.com/invoice/paid/amount\"\n \"appengine.googleapis.com/http/server/response_latencies\"",
- "type": "string"
- },
- "valueType": {
- "description": "Whether the measurement is an integer, a floating-point number, etc.\nSome combinations of `metric_kind` and `value_type` might not be supported.",
- "enum": [
- "VALUE_TYPE_UNSPECIFIED",
- "BOOL",
- "INT64",
- "DOUBLE",
- "STRING",
- "DISTRIBUTION",
- "MONEY"
- ],
- "enumDescriptions": [
- "Do not use this default value.",
- "The value is a boolean.\nThis value type can be used only if the metric kind is `GAUGE`.",
- "The value is a signed 64-bit integer.",
- "The value is a double precision floating point number.",
- "The value is a text string.\nThis value type can be used only if the metric kind is `GAUGE`.",
- "The value is a `Distribution`.",
- "The value is money."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "Endpoint": {
- "description": "`Endpoint` describes a network endpoint that serves a set of APIs.\nA service may expose any number of endpoints, and all endpoints share the\nsame service configuration, such as quota configuration and monitoring\nconfiguration.\n\nExample service configuration:\n\n name: library-example.googleapis.com\n endpoints:\n # Below entry makes 'google.example.library.v1.Library'\n # API be served from endpoint address library-example.googleapis.com.\n # It also allows HTTP OPTIONS calls to be passed to the backend, for\n # it to decide whether the subsequent cross-origin request is\n # allowed to proceed.\n - name: library-example.googleapis.com\n allow_cors: true",
- "id": "Endpoint",
- "properties": {
- "name": {
- "description": "The canonical name of this endpoint.",
- "type": "string"
- },
- "apis": {
- "description": "The list of APIs served by this endpoint.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "aliases": {
- "description": "DEPRECATED: This field is no longer supported. Instead of using aliases,\nplease specify multiple google.api.Endpoint for each of the intented\nalias.\n\nAdditional names that this endpoint will be hosted on.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "features": {
- "description": "The list of features enabled on this endpoint.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "allowCors": {
- "description": "Allowing\n[CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka\ncross-domain traffic, would allow the backends served from this endpoint to\nreceive and respond to HTTP OPTIONS requests. The response will be used by\nthe browser to determine whether the subsequent cross-origin request is\nallowed to proceed.",
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "ListEnabledServicesResponse": {
- "description": "Response message for `ListEnabledServices` method.",
- "id": "ListEnabledServicesResponse",
- "properties": {
- "services": {
- "description": "Services enabled for the specified parent.",
- "items": {
- "$ref": "PublishedService"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "Token that can be passed to `ListEnabledServices` to resume a paginated\nquery.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "OAuthRequirements": {
- "description": "OAuth scopes are a way to define data and permissions on data. For example,\nthere are scopes defined for \"Read-only access to Google Calendar\" and\n\"Access to Cloud Platform\". Users can consent to a scope for an application,\ngiving it permission to access that data on their behalf.\n\nOAuth scope specifications should be fairly coarse grained; a user will need\nto see and understand the text description of what your scope means.\n\nIn most cases: use one or at most two OAuth scopes for an entire family of\nproducts. If your product has multiple APIs, you should probably be sharing\nthe OAuth scope across all of those APIs.\n\nWhen you need finer grained OAuth consent screens: talk with your product\nmanagement about how developers will use them in practice.\n\nPlease note that even though each of the canonical scopes is enough for a\nrequest to be accepted and passed to the backend, a request can still fail\ndue to the backend requiring additional scopes or permissions.",
- "id": "OAuthRequirements",
- "properties": {
- "canonicalScopes": {
- "description": "The list of publicly documented OAuth scopes that are allowed access. An\nOAuth token containing any of these scopes will be accepted.\n\nExample:\n\n canonical_scopes: https://www.googleapis.com/auth/calendar,\n https://www.googleapis.com/auth/calendar.read",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Usage": {
- "description": "Configuration controlling usage of a service.",
- "id": "Usage",
- "properties": {
- "producerNotificationChannel": {
- "description": "The full resource name of a channel used for sending notifications to the\nservice producer.\n\nGoogle Service Management currently only supports\n[Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification\nchannel. To use Google Cloud Pub/Sub as the channel, this must be the name\nof a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format\ndocumented in https://cloud.google.com/pubsub/docs/overview.",
- "type": "string"
- },
- "rules": {
- "description": "A list of usage rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
- "items": {
- "$ref": "UsageRule"
- },
- "type": "array"
- },
- "requirements": {
- "description": "Requirements that must be satisfied before a consumer project can use the\nservice. Each requirement is of the form <service.name>/<requirement-id>;\nfor example 'serviceusage.googleapis.com/billing-enabled'.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Context": {
- "description": "`Context` defines which contexts an API requests.\n\nExample:\n\n context:\n rules:\n - selector: \"*\"\n requested:\n - google.rpc.context.ProjectContext\n - google.rpc.context.OriginContext\n\nThe above specifies that all methods in the API request\n`google.rpc.context.ProjectContext` and\n`google.rpc.context.OriginContext`.\n\nAvailable context types are defined in package\n`google.rpc.context`.",
- "id": "Context",
- "properties": {
- "rules": {
- "description": "A list of RPC context rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
- "items": {
- "$ref": "ContextRule"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "LogDescriptor": {
- "description": "A description of a log type. Example in YAML format:\n\n - name: library.googleapis.com/activity_history\n description: The history of borrowing and returning library items.\n display_name: Activity\n labels:\n - key: /customer_id\n description: Identifier of a library customer",
- "id": "LogDescriptor",
- "properties": {
- "labels": {
- "description": "The set of labels that are available to describe a specific log entry.\nRuntime requests that contain labels not specified here are\nconsidered invalid.",
- "items": {
- "$ref": "LabelDescriptor"
- },
- "type": "array"
- },
- "name": {
- "description": "The name of the log. It must be less than 512 characters long and can\ninclude the following characters: upper- and lower-case alphanumeric\ncharacters [A-Za-z0-9], and punctuation characters including\nslash, underscore, hyphen, period [/_-.].",
- "type": "string"
- },
- "description": {
- "description": "A human-readable description of this log. This information appears in\nthe documentation and can contain details.",
- "type": "string"
- },
- "displayName": {
- "description": "The human-readable name for this log. This information appears on\nthe user interface and should be concise.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "MonitoredResourceDescriptor": {
- "description": "An object that describes the schema of a MonitoredResource object using a\ntype name and a set of labels. For example, the monitored resource\ndescriptor for Google Compute Engine VM instances has a type of\n`\"gce_instance\"` and specifies the use of the labels `\"instance_id\"` and\n`\"zone\"` to identify particular VM instances.\n\nDifferent APIs can support different monitored resource types. APIs generally\nprovide a `list` method that returns the monitored resource descriptors used\nby the API.",
- "id": "MonitoredResourceDescriptor",
- "properties": {
- "labels": {
- "description": "Required. A set of labels used to describe instances of this monitored\nresource type. For example, an individual Google Cloud SQL database is\nidentified by values for the labels `\"database_id\"` and `\"zone\"`.",
- "items": {
- "$ref": "LabelDescriptor"
- },
- "type": "array"
- },
- "name": {
- "description": "Optional. The resource name of the monitored resource descriptor:\n`\"projects/{project_id}/monitoredResourceDescriptors/{type}\"` where\n{type} is the value of the `type` field in this object and\n{project_id} is a project ID that provides API-specific context for\naccessing the type. APIs that do not use project information can use the\nresource name format `\"monitoredResourceDescriptors/{type}\"`.",
- "type": "string"
- },
- "displayName": {
- "description": "Optional. A concise name for the monitored resource type that might be\ndisplayed in user interfaces. It should be a Title Cased Noun Phrase,\nwithout any article or other determiners. For example,\n`\"Google Cloud SQL Database\"`.",
- "type": "string"
- },
- "description": {
- "description": "Optional. A detailed description of the monitored resource type that might\nbe used in documentation.",
- "type": "string"
- },
- "type": {
- "description": "Required. The monitored resource type. For example, the type\n`\"cloudsql_database\"` represents databases in Google Cloud SQL.\nThe maximum length of this value is 256 characters.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CustomErrorRule": {
- "description": "A custom error rule.",
- "id": "CustomErrorRule",
- "properties": {
- "selector": {
- "description": "Selects messages to which this rule applies.\n\nRefer to selector for syntax details.",
- "type": "string"
- },
- "isErrorType": {
- "description": "Mark this message as possible payload in error response. Otherwise,\nobjects of this type will be filtered when they appear in error payload.",
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "MediaDownload": {
- "description": "Use this only for Scotty Requests. Do not use this for media support using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.",
- "id": "MediaDownload",
- "properties": {
- "enabled": {
- "description": "Whether download is enabled.",
- "type": "boolean"
- },
- "downloadService": {
- "description": "DO NOT USE THIS FIELD UNTIL THIS WARNING IS REMOVED.\n\nSpecify name of the download service if one is used for download.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DisableServiceRequest": {
- "description": "Request message for DisableService method.",
- "id": "DisableServiceRequest",
- "properties": {},
- "type": "object"
- },
- "SearchServicesResponse": {
- "description": "Response message for SearchServices method.",
- "id": "SearchServicesResponse",
- "properties": {
- "services": {
- "description": "Services available publicly or available to the authenticated caller.",
- "items": {
- "$ref": "PublishedService"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "Token that can be passed to `ListAvailableServices` to resume a paginated\nquery.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "MediaUpload": {
- "description": "Use this only for Scotty Requests. Do not use this for media support using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.",
- "id": "MediaUpload",
- "properties": {
- "enabled": {
- "description": "Whether upload is enabled.",
- "type": "boolean"
- },
- "uploadService": {
- "description": "DO NOT USE THIS FIELD UNTIL THIS WARNING IS REMOVED.\n\nSpecify name of the upload service if one is used for upload.",
- "type": "string"
- }
- },
- "type": "object"
- },
"UsageRule": {
"description": "Usage configuration rules for the service.\n\nNOTE: Under development.\n\n\nUse this rule to configure unregistered calls for the service. Unregistered\ncalls are calls that do not contain consumer project identity.\n(Example: calls that do not contain an API key).\nBy default, API methods do not allow unregistered calls, and each method call\nmust be identified by a consumer project identity. Use this rule to\nallow/disallow unregistered calls.\n\nExample of an API that wants to allow unregistered calls for entire service.\n\n usage:\n rules:\n - selector: \"*\"\n allow_unregistered_calls: true\n\nExample of a method that wants to allow unregistered calls.\n\n usage:\n rules:\n - selector: \"google.example.library.v1.LibraryService.CreateBook\"\n allow_unregistered_calls: true",
"id": "UsageRule",
"properties": {
- "allowUnregisteredCalls": {
- "description": "True, if the method allows unregistered calls; false otherwise.",
- "type": "boolean"
- },
"selector": {
"description": "Selects the methods to which this rule applies. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for syntax details.",
"type": "string"
+ },
+ "allowUnregisteredCalls": {
+ "description": "True, if the method allows unregistered calls; false otherwise.",
+ "type": "boolean"
}
},
"type": "object"
@@ -1144,14 +289,6 @@
"description": "`Documentation` provides the information for describing a service.\n\nExample:\n<pre><code>documentation:\n summary: >\n The Google Calendar API gives access\n to most calendar features.\n pages:\n - name: Overview\n content: (== include google/foo/overview.md ==)\n - name: Tutorial\n content: (== include google/foo/tutorial.md ==)\n subpages;\n - name: Java\n content: (== include google/foo/tutorial_java.md ==)\n rules:\n - selector: google.calendar.Calendar.Get\n description: >\n ...\n - selector: google.calendar.Calendar.Put\n description: >\n ...\n</code></pre>\nDocumentation is provided in markdown syntax. In addition to\nstandard markdown features, definition lists, tables and fenced\ncode blocks are supported. Section headers can be provided and are\ninterpreted relative to the section nesting of the context where\na documentation fragment is embedded.\n\nDocumentation from the IDL is merged with documentation defined\nvia the config at normalization time, where documentation provided\nby config rules overrides IDL provided.\n\nA number of constructs specific to the API platform are supported\nin documentation text.\n\nIn order to reference a proto element, the following\nnotation can be used:\n<pre><code>[fully.qualified.proto.name][]</code></pre>\nTo override the display text used for the link, this can be used:\n<pre><code>[display text][fully.qualified.proto.name]</code></pre>\nText can be excluded from doc using the following notation:\n<pre><code>(-- internal comment --)</code></pre>\nComments can be made conditional using a visibility label. The below\ntext will be only rendered if the `BETA` label is available:\n<pre><code>(--BETA: comment for BETA users --)</code></pre>\nA few directives are available in documentation. Note that\ndirectives must appear on a single line to be properly\nidentified. The `include` directive includes a markdown file from\nan external source:\n<pre><code>(== include path/to/file ==)</code></pre>\nThe `resource_for` directive marks a message to be the resource of\na collection in REST view. If it is not specified, tools attempt\nto infer the resource from the operations in a collection:\n<pre><code>(== resource_for v1.shelves.books ==)</code></pre>\nThe directive `suppress_warning` does not directly affect documentation\nand is documented together with service config validation.",
"id": "Documentation",
"properties": {
- "summary": {
- "description": "A short summary of what the service does. Can only be provided by\nplain text.",
- "type": "string"
- },
- "documentationRootUrl": {
- "description": "The URL to the root of documentation.",
- "type": "string"
- },
"rules": {
"description": "A list of documentation rules that apply to individual API elements.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
"items": {
@@ -1169,6 +306,14 @@
"$ref": "Page"
},
"type": "array"
+ },
+ "summary": {
+ "description": "A short summary of what the service does. Can only be provided by\nplain text.",
+ "type": "string"
+ },
+ "documentationRootUrl": {
+ "description": "The URL to the root of documentation.",
+ "type": "string"
}
},
"type": "object"
@@ -1177,6 +322,14 @@
"description": "Authentication rules for the service.\n\nBy default, if a method has any authentication requirements, every request\nmust include a valid credential matching one of the requirements.\nIt's an error to include more than one kind of credential in a single\nrequest.\n\nIf a method doesn't have any auth requirements, request credentials will be\nignored.",
"id": "AuthenticationRule",
"properties": {
+ "selector": {
+ "description": "Selects the methods to which this rule applies.\n\nRefer to selector for syntax details.",
+ "type": "string"
+ },
+ "allowWithoutCredential": {
+ "description": "Whether to allow requests without a credential. The credential can be\nan OAuth token, Google cookies (first-party auth) or EndUserCreds.\n\nFor requests without credentials, if the service control environment is\nspecified, each incoming request **must** be associated with a service\nconsumer. This can be done by passing an API key that belongs to a consumer\nproject.",
+ "type": "boolean"
+ },
"oauth": {
"$ref": "OAuthRequirements",
"description": "The requirements for OAuth credentials."
@@ -1187,14 +340,6 @@
"$ref": "AuthRequirement"
},
"type": "array"
- },
- "selector": {
- "description": "Selects the methods to which this rule applies.\n\nRefer to selector for syntax details.",
- "type": "string"
- },
- "allowWithoutCredential": {
- "description": "Whether to allow requests without a credential. The credential can be\nan OAuth token, Google cookies (first-party auth) or EndUserCreds.\n\nFor requests without credentials, if the service control environment is\nspecified, each incoming request **must** be associated with a service\nconsumer. This can be done by passing an API key that belongs to a consumer\nproject.",
- "type": "boolean"
}
},
"type": "object"
@@ -1223,6 +368,10 @@
"description": "Api is a light-weight descriptor for a protocol buffer service.",
"id": "Api",
"properties": {
+ "name": {
+ "description": "The fully qualified name of this api, including package name\nfollowed by the api's simple name.",
+ "type": "string"
+ },
"syntax": {
"description": "The source syntax of the service.",
"enum": [
@@ -1263,10 +412,6 @@
"$ref": "Method"
},
"type": "array"
- },
- "name": {
- "description": "The fully qualified name of this api, including package name\nfollowed by the api's simple name.",
- "type": "string"
}
},
"type": "object"
@@ -1353,6 +498,11 @@
"description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
"id": "Status",
"properties": {
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
"message": {
"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
"type": "string"
@@ -1367,11 +517,6 @@
"type": "object"
},
"type": "array"
- },
- "code": {
- "description": "The status code, which should be an enum value of google.rpc.Code.",
- "format": "int32",
- "type": "integer"
}
},
"type": "object"
@@ -1380,14 +525,6 @@
"description": "Configuration for an anthentication provider, including support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).",
"id": "AuthProvider",
"properties": {
- "id": {
- "description": "The unique identifier of the auth provider. It will be referred to by\n`AuthRequirement.provider_id`.\n\nExample: \"bookstore_auth\".",
- "type": "string"
- },
- "issuer": {
- "description": "Identifies the principal that issued the JWT. See\nhttps://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1\nUsually a URL or an email address.\n\nExample: https://securetoken.google.com\nExample: 1234567-compute@developer.gserviceaccount.com",
- "type": "string"
- },
"jwksUri": {
"description": "URL of the provider's public key set to validate signature of the JWT. See\n[OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).\nOptional if the key set document:\n - can be retrieved from\n [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html\n of the issuer.\n - can be inferred from the email domain of the issuer (e.g. a Google service account).\n\nExample: https://www.googleapis.com/oauth2/v1/certs",
"type": "string"
@@ -1395,6 +532,37 @@
"audiences": {
"description": "The list of JWT\n[audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).\nthat are allowed to access. A JWT containing any of these audiences will\nbe accepted. When this setting is absent, only JWTs with audience\n\"https://Service_name/API_name\"\nwill be accepted. For example, if no audiences are in the setting,\nLibraryService API will only accept JWTs with the following audience\n\"https://library-example.googleapis.com/google.example.library.v1.LibraryService\".\n\nExample:\n\n audiences: bookstore_android.apps.googleusercontent.com,\n bookstore_web.apps.googleusercontent.com",
"type": "string"
+ },
+ "id": {
+ "description": "The unique identifier of the auth provider. It will be referred to by\n`AuthRequirement.provider_id`.\n\nExample: \"bookstore_auth\".",
+ "type": "string"
+ },
+ "issuer": {
+ "description": "Identifies the principal that issued the JWT. See\nhttps://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1\nUsually a URL or an email address.\n\nExample: https://securetoken.google.com\nExample: 1234567-compute@developer.gserviceaccount.com",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "EnumValue": {
+ "description": "Enum value definition.",
+ "id": "EnumValue",
+ "properties": {
+ "number": {
+ "description": "Enum value number.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "name": {
+ "description": "Enum value name.",
+ "type": "string"
+ },
+ "options": {
+ "description": "Protocol buffer options.",
+ "items": {
+ "$ref": "Option"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -1403,26 +571,6 @@
"description": "`Service` is the root object of Google service configuration schema. It\ndescribes basic information about a service, such as the name and the\ntitle, and delegates other aspects to sub-sections. Each sub-section is\neither a proto message or a repeated proto message that configures a\nspecific aspect, such as auth. See each proto message definition for details.\n\nExample:\n\n type: google.api.Service\n config_version: 3\n name: calendar.googleapis.com\n title: Google Calendar API\n apis:\n - name: google.calendar.v3.Calendar\n authentication:\n providers:\n - id: google_calendar_auth\n jwks_uri: https://www.googleapis.com/oauth2/v1/certs\n issuer: https://securetoken.google.com\n rules:\n - selector: \"*\"\n requirements:\n provider_id: google_calendar_auth",
"id": "Service",
"properties": {
- "configVersion": {
- "description": "The version of the service configuration. The config version may\ninfluence interpretation of the configuration, for example, to\ndetermine defaults. This is documented together with applicable\noptions. The current default for the config version itself is `3`.",
- "format": "uint32",
- "type": "integer"
- },
- "monitoring": {
- "$ref": "Monitoring",
- "description": "Monitoring configuration."
- },
- "systemTypes": {
- "description": "A list of all proto message types included in this API service.\nIt serves similar purpose as [google.api.Service.types], except that\nthese types are not needed by user-defined APIs. Therefore, they will not\nshow up in the generated discovery doc. This field should only be used\nto define system APIs in ESF.",
- "items": {
- "$ref": "Type"
- },
- "type": "array"
- },
- "producerProjectId": {
- "description": "The id of the Google developer project that owns the service.\nMembers of this project can manage the service configuration,\nmanage consumption of the service, etc.",
- "type": "string"
- },
"visibility": {
"$ref": "Visibility",
"description": "API visibility configuration."
@@ -1467,6 +615,10 @@
},
"type": "array"
},
+ "sourceInfo": {
+ "$ref": "SourceInfo",
+ "description": "Output only. The source information for this configuration if available."
+ },
"http": {
"$ref": "Http",
"description": "HTTP configuration."
@@ -1483,6 +635,10 @@
"$ref": "Documentation",
"description": "Additional API documentation."
},
+ "logging": {
+ "$ref": "Logging",
+ "description": "Logging configuration."
+ },
"monitoredResources": {
"description": "Defines the monitored resources used by this service. This is required\nby the Service.monitoring and Service.logging configurations.",
"items": {
@@ -1490,10 +646,6 @@
},
"type": "array"
},
- "logging": {
- "$ref": "Logging",
- "description": "Logging configuration."
- },
"enums": {
"description": "A list of all enum types included in this API service. Enums\nreferenced directly or indirectly by the `apis` are automatically\nincluded. Enums which are not referenced but shall be included\nshould be listed here by name. Example:\n\n enums:\n - name: google.someapi.v1.SomeEnum",
"items": {
@@ -1531,29 +683,57 @@
"control": {
"$ref": "Control",
"description": "Configuration for the service control plane."
+ },
+ "configVersion": {
+ "description": "The version of the service configuration. The config version may\ninfluence interpretation of the configuration, for example, to\ndetermine defaults. This is documented together with applicable\noptions. The current default for the config version itself is `3`.",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "monitoring": {
+ "$ref": "Monitoring",
+ "description": "Monitoring configuration."
+ },
+ "producerProjectId": {
+ "description": "The id of the Google developer project that owns the service.\nMembers of this project can manage the service configuration,\nmanage consumption of the service, etc.",
+ "type": "string"
+ },
+ "systemTypes": {
+ "description": "A list of all proto message types included in this API service.\nIt serves similar purpose as [google.api.Service.types], except that\nthese types are not needed by user-defined APIs. Therefore, they will not\nshow up in the generated discovery doc. This field should only be used\nto define system APIs in ESF.",
+ "items": {
+ "$ref": "Type"
+ },
+ "type": "array"
}
},
"type": "object"
},
- "EnumValue": {
- "description": "Enum value definition.",
- "id": "EnumValue",
+ "OperationMetadata": {
+ "description": "The metadata associated with a long running operation resource.",
+ "id": "OperationMetadata",
"properties": {
- "number": {
- "description": "Enum value number.",
- "format": "int32",
- "type": "integer"
- },
- "name": {
- "description": "Enum value name.",
+ "startTime": {
+ "description": "The start time of the operation.",
+ "format": "google-datetime",
"type": "string"
},
- "options": {
- "description": "Protocol buffer options.",
+ "resourceNames": {
+ "description": "The full name of the resources that this operation is directly\nassociated with.",
"items": {
- "$ref": "Option"
+ "type": "string"
},
"type": "array"
+ },
+ "steps": {
+ "description": "Detailed status information for each step. The order is undetermined.",
+ "items": {
+ "$ref": "Step"
+ },
+ "type": "array"
+ },
+ "progressPercentage": {
+ "description": "Percentage of completion of this operation, ranging from 0 to 100.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -1573,35 +753,35 @@
},
"type": "object"
},
- "PublishedService": {
- "description": "The published version of a Service that is managed by\nGoogle Service Management.",
- "id": "PublishedService",
- "properties": {
- "service": {
- "$ref": "Service",
- "description": "The service's published configuration."
- },
- "name": {
- "description": "The resource name of the service.\n\nA valid name would be:\n- services/serviceuser.googleapis.com",
- "type": "string"
- }
- },
- "type": "object"
- },
"SystemParameterRule": {
"description": "Define a system parameter rule mapping system parameter definitions to\nmethods.",
"id": "SystemParameterRule",
"properties": {
+ "selector": {
+ "description": "Selects the methods to which this rule applies. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for syntax details.",
+ "type": "string"
+ },
"parameters": {
"description": "Define parameters. Multiple names may be defined for a parameter.\nFor a given method call, only one of them should be used. If multiple\nnames are used the behavior is implementation-dependent.\nIf none of the specified names are present the behavior is\nparameter-dependent.",
"items": {
"$ref": "SystemParameter"
},
"type": "array"
- },
- "selector": {
- "description": "Selects the methods to which this rule applies. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for syntax details.",
+ }
+ },
+ "type": "object"
+ },
+ "PublishedService": {
+ "description": "The published version of a Service that is managed by\nGoogle Service Management.",
+ "id": "PublishedService",
+ "properties": {
+ "name": {
+ "description": "The resource name of the service.\n\nA valid name would be:\n- services/serviceuser.googleapis.com",
"type": "string"
+ },
+ "service": {
+ "$ref": "Service",
+ "description": "The service's published configuration."
}
},
"type": "object"
@@ -1633,14 +813,14 @@
"$ref": "CustomHttpPattern",
"description": "Custom pattern is used for defining custom verbs."
},
- "patch": {
- "description": "Used for updating a resource.",
- "type": "string"
- },
"get": {
"description": "Used for listing and getting information about resources.",
"type": "string"
},
+ "patch": {
+ "description": "Used for updating a resource.",
+ "type": "string"
+ },
"put": {
"description": "Used for updating a resource.",
"type": "string"
@@ -1668,13 +848,13 @@
"description": "A visibility rule provides visibility configuration for an individual API\nelement.",
"id": "VisibilityRule",
"properties": {
- "restriction": {
- "description": "A comma-separated list of visibility labels that apply to the `selector`.\nAny of the listed labels can be used to grant the visibility.\n\nIf a rule has multiple labels, removing one of the labels but not all of\nthem can break clients.\n\nExample:\n\n visibility:\n rules:\n - selector: google.calendar.Calendar.EnhancedSearch\n restriction: GOOGLE_INTERNAL, TRUSTED_TESTER\n\nRemoving GOOGLE_INTERNAL from this restriction will break clients that\nrely on this method and only had access to it through GOOGLE_INTERNAL.",
- "type": "string"
- },
"selector": {
"description": "Selects methods, messages, fields, enums, etc. to which this rule applies.\n\nRefer to selector for syntax details.",
"type": "string"
+ },
+ "restriction": {
+ "description": "A comma-separated list of visibility labels that apply to the `selector`.\nAny of the listed labels can be used to grant the visibility.\n\nIf a rule has multiple labels, removing one of the labels but not all of\nthem can break clients.\n\nExample:\n\n visibility:\n rules:\n - selector: google.calendar.Calendar.EnhancedSearch\n restriction: GOOGLE_INTERNAL, TRUSTED_TESTER\n\nRemoving GOOGLE_INTERNAL from this restriction will break clients that\nrely on this method and only had access to it through GOOGLE_INTERNAL.",
+ "type": "string"
}
},
"type": "object"
@@ -1696,6 +876,910 @@
}
},
"type": "object"
+ },
+ "Visibility": {
+ "description": "`Visibility` defines restrictions for the visibility of service\nelements. Restrictions are specified using visibility labels\n(e.g., TRUSTED_TESTER) that are elsewhere linked to users and projects.\n\nUsers and projects can have access to more than one visibility label. The\neffective visibility for multiple labels is the union of each label's\nelements, plus any unrestricted elements.\n\nIf an element and its parents have no restrictions, visibility is\nunconditionally granted.\n\nExample:\n\n visibility:\n rules:\n - selector: google.calendar.Calendar.EnhancedSearch\n restriction: TRUSTED_TESTER\n - selector: google.calendar.Calendar.Delegate\n restriction: GOOGLE_INTERNAL\n\nHere, all methods are publicly visible except for the restricted methods\nEnhancedSearch and Delegate.",
+ "id": "Visibility",
+ "properties": {
+ "rules": {
+ "description": "A list of visibility rules that apply to individual API elements.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
+ "items": {
+ "$ref": "VisibilityRule"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SystemParameters": {
+ "description": "### System parameter configuration\n\nA system parameter is a special kind of parameter defined by the API\nsystem, not by an individual API. It is typically mapped to an HTTP header\nand/or a URL query parameter. This configuration specifies which methods\nchange the names of the system parameters.",
+ "id": "SystemParameters",
+ "properties": {
+ "rules": {
+ "description": "Define system parameters.\n\nThe parameters defined here will override the default parameters\nimplemented by the system. If this field is missing from the service\nconfig, default system parameters will be used. Default system parameters\nand names is implementation-dependent.\n\nExample: define api key for all methods\n\n system_parameters\n rules:\n - selector: \"*\"\n parameters:\n - name: api_key\n url_query_parameter: api_key\n\n\nExample: define 2 api key names for a specific method.\n\n system_parameters\n rules:\n - selector: \"/ListShelves\"\n parameters:\n - name: api_key\n http_header: Api-Key1\n - name: api_key\n http_header: Api-Key2\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
+ "items": {
+ "$ref": "SystemParameterRule"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Step": {
+ "description": "Represents the status of one operation step.",
+ "id": "Step",
+ "properties": {
+ "description": {
+ "description": "The short description of the step.",
+ "type": "string"
+ },
+ "status": {
+ "description": "The status code.",
+ "enum": [
+ "STATUS_UNSPECIFIED",
+ "DONE",
+ "NOT_STARTED",
+ "IN_PROGRESS",
+ "FAILED",
+ "CANCELLED"
+ ],
+ "enumDescriptions": [
+ "Unspecifed code.",
+ "The operation or step has completed without errors.",
+ "The operation or step has not started yet.",
+ "The operation or step is in progress.",
+ "The operation or step has completed with errors.",
+ "The operation or step has completed with cancellation."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "LoggingDestination": {
+ "description": "Configuration of a specific logging destination (the producer project\nor the consumer project).",
+ "id": "LoggingDestination",
+ "properties": {
+ "logs": {
+ "description": "Names of the logs to be sent to this destination. Each name must\nbe defined in the Service.logs section. If the log name is\nnot a domain scoped name, it will be automatically prefixed with\nthe service name followed by \"/\".",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "monitoredResource": {
+ "description": "The monitored resource type. The type must be defined in the\nService.monitored_resources section.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Option": {
+ "description": "A protocol buffer option, which can be attached to a message, field,\nenumeration, etc.",
+ "id": "Option",
+ "properties": {
+ "value": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The option's value packed in an Any message. If the value is a primitive,\nthe corresponding wrapper type defined in google/protobuf/wrappers.proto\nshould be used. If the value is an enum, it should be stored as an int32\nvalue using the google.protobuf.Int32Value type.",
+ "type": "object"
+ },
+ "name": {
+ "description": "The option's name. For protobuf built-in options (options defined in\ndescriptor.proto), this is the short name. For example, `\"map_entry\"`.\nFor custom options, it should be the fully-qualified name. For example,\n`\"google.api.http\"`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Logging": {
+ "description": "Logging configuration of the service.\n\nThe following example shows how to configure logs to be sent to the\nproducer and consumer projects. In the example, the `activity_history`\nlog is sent to both the producer and consumer projects, whereas the\n`purchase_history` log is only sent to the producer project.\n\n monitored_resources:\n - type: library.googleapis.com/branch\n labels:\n - key: /city\n description: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n logs:\n - name: activity_history\n labels:\n - key: /customer_id\n - name: purchase_history\n logging:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history\n - purchase_history\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history",
+ "id": "Logging",
+ "properties": {
+ "consumerDestinations": {
+ "description": "Logging configurations for sending logs to the consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none consumer destination.",
+ "items": {
+ "$ref": "LoggingDestination"
+ },
+ "type": "array"
+ },
+ "producerDestinations": {
+ "description": "Logging configurations for sending logs to the producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none producer destination.",
+ "items": {
+ "$ref": "LoggingDestination"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Method": {
+ "description": "Method represents a method of an api.",
+ "id": "Method",
+ "properties": {
+ "responseTypeUrl": {
+ "description": "The URL of the output message type.",
+ "type": "string"
+ },
+ "options": {
+ "description": "Any metadata attached to the method.",
+ "items": {
+ "$ref": "Option"
+ },
+ "type": "array"
+ },
+ "responseStreaming": {
+ "description": "If true, the response is streamed.",
+ "type": "boolean"
+ },
+ "name": {
+ "description": "The simple name of this method.",
+ "type": "string"
+ },
+ "requestTypeUrl": {
+ "description": "A URL of the input message type.",
+ "type": "string"
+ },
+ "requestStreaming": {
+ "description": "If true, the request is streamed.",
+ "type": "boolean"
+ },
+ "syntax": {
+ "description": "The source syntax of this method.",
+ "enum": [
+ "SYNTAX_PROTO2",
+ "SYNTAX_PROTO3"
+ ],
+ "enumDescriptions": [
+ "Syntax `proto2`.",
+ "Syntax `proto3`."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Mixin": {
+ "description": "Declares an API to be included in this API. The including API must\nredeclare all the methods from the included API, but documentation\nand options are inherited as follows:\n\n- If after comment and whitespace stripping, the documentation\n string of the redeclared method is empty, it will be inherited\n from the original method.\n\n- Each annotation belonging to the service config (http,\n visibility) which is not set in the redeclared method will be\n inherited.\n\n- If an http annotation is inherited, the path pattern will be\n modified as follows. Any version prefix will be replaced by the\n version of the including API plus the root path if specified.\n\nExample of a simple mixin:\n\n package google.acl.v1;\n service AccessControl {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v1/{resource=**}:getAcl\";\n }\n }\n\n package google.storage.v2;\n service Storage {\n // rpc GetAcl(GetAclRequest) returns (Acl);\n\n // Get a data record.\n rpc GetData(GetDataRequest) returns (Data) {\n option (google.api.http).get = \"/v2/{resource=**}\";\n }\n }\n\nExample of a mixin configuration:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n\nThe mixin construct implies that all methods in `AccessControl` are\nalso declared with same name and request/response types in\n`Storage`. A documentation generator or annotation processor will\nsee the effective `Storage.GetAcl` method after inherting\ndocumentation and annotations as follows:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/{resource=**}:getAcl\";\n }\n ...\n }\n\nNote how the version in the path pattern changed from `v1` to `v2`.\n\nIf the `root` field in the mixin is specified, it should be a\nrelative path under which inherited HTTP paths are placed. Example:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n root: acls\n\nThis implies the following inherited HTTP annotation:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\";\n }\n ...\n }",
+ "id": "Mixin",
+ "properties": {
+ "name": {
+ "description": "The fully qualified name of the API which is included.",
+ "type": "string"
+ },
+ "root": {
+ "description": "If non-empty specifies a path under which inherited HTTP paths\nare rooted.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CustomError": {
+ "description": "Customize service error responses. For example, list any service\nspecific protobuf types that can appear in error detail lists of\nerror responses.\n\nExample:\n\n custom_error:\n types:\n - google.foo.v1.CustomError\n - google.foo.v1.AnotherError",
+ "id": "CustomError",
+ "properties": {
+ "types": {
+ "description": "The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "rules": {
+ "description": "The list of custom error rules that apply to individual API messages.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
+ "items": {
+ "$ref": "CustomErrorRule"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Http": {
+ "description": "Defines the HTTP configuration for a service. It contains a list of\nHttpRule, each specifying the mapping of an RPC method\nto one or more HTTP REST API methods.",
+ "id": "Http",
+ "properties": {
+ "rules": {
+ "description": "A list of HTTP configuration rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
+ "items": {
+ "$ref": "HttpRule"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SourceInfo": {
+ "description": "Source information used to create a Service Config",
+ "id": "SourceInfo",
+ "properties": {
+ "sourceFiles": {
+ "description": "All files used during config generation.",
+ "items": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Control": {
+ "description": "Selects and configures the service controller used by the service. The\nservice controller handles features like abuse, quota, billing, logging,\nmonitoring, etc.",
+ "id": "Control",
+ "properties": {
+ "environment": {
+ "description": "The service control environment to use. If empty, no control plane\nfeature (like quota and billing) will be enabled.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SystemParameter": {
+ "description": "Define a parameter's name and location. The parameter may be passed as either\nan HTTP header or a URL query parameter, and if both are passed the behavior\nis implementation-dependent.",
+ "id": "SystemParameter",
+ "properties": {
+ "urlQueryParameter": {
+ "description": "Define the URL query parameter name to use for the parameter. It is case\nsensitive.",
+ "type": "string"
+ },
+ "httpHeader": {
+ "description": "Define the HTTP header name to use for the parameter. It is case\ninsensitive.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Define the name of the parameter, such as \"api_key\" . It is case sensitive.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Field": {
+ "description": "A single field of a message type.",
+ "id": "Field",
+ "properties": {
+ "name": {
+ "description": "The field name.",
+ "type": "string"
+ },
+ "typeUrl": {
+ "description": "The field type URL, without the scheme, for message or enumeration\ntypes. Example: `\"type.googleapis.com/google.protobuf.Timestamp\"`.",
+ "type": "string"
+ },
+ "number": {
+ "description": "The field number.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "jsonName": {
+ "description": "The field JSON name.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "The field type.",
+ "enum": [
+ "TYPE_UNKNOWN",
+ "TYPE_DOUBLE",
+ "TYPE_FLOAT",
+ "TYPE_INT64",
+ "TYPE_UINT64",
+ "TYPE_INT32",
+ "TYPE_FIXED64",
+ "TYPE_FIXED32",
+ "TYPE_BOOL",
+ "TYPE_STRING",
+ "TYPE_GROUP",
+ "TYPE_MESSAGE",
+ "TYPE_BYTES",
+ "TYPE_UINT32",
+ "TYPE_ENUM",
+ "TYPE_SFIXED32",
+ "TYPE_SFIXED64",
+ "TYPE_SINT32",
+ "TYPE_SINT64"
+ ],
+ "enumDescriptions": [
+ "Field type unknown.",
+ "Field type double.",
+ "Field type float.",
+ "Field type int64.",
+ "Field type uint64.",
+ "Field type int32.",
+ "Field type fixed64.",
+ "Field type fixed32.",
+ "Field type bool.",
+ "Field type string.",
+ "Field type group. Proto2 syntax only, and deprecated.",
+ "Field type message.",
+ "Field type bytes.",
+ "Field type uint32.",
+ "Field type enum.",
+ "Field type sfixed32.",
+ "Field type sfixed64.",
+ "Field type sint32.",
+ "Field type sint64."
+ ],
+ "type": "string"
+ },
+ "options": {
+ "description": "The protocol buffer options.",
+ "items": {
+ "$ref": "Option"
+ },
+ "type": "array"
+ },
+ "oneofIndex": {
+ "description": "The index of the field type in `Type.oneofs`, for message or enumeration\ntypes. The first type has index 1; zero means the type is not in the list.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "cardinality": {
+ "description": "The field cardinality.",
+ "enum": [
+ "CARDINALITY_UNKNOWN",
+ "CARDINALITY_OPTIONAL",
+ "CARDINALITY_REQUIRED",
+ "CARDINALITY_REPEATED"
+ ],
+ "enumDescriptions": [
+ "For fields with unknown cardinality.",
+ "For optional fields.",
+ "For required fields. Proto2 syntax only.",
+ "For repeated fields."
+ ],
+ "type": "string"
+ },
+ "packed": {
+ "description": "Whether to use alternative packed wire representation.",
+ "type": "boolean"
+ },
+ "defaultValue": {
+ "description": "The string value of the default value of this field. Proto2 syntax only.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Monitoring": {
+ "description": "Monitoring configuration of the service.\n\nThe example below shows how to configure monitored resources and metrics\nfor monitoring. In the example, a monitored resource and two metrics are\ndefined. The `library.googleapis.com/book/returned_count` metric is sent\nto both producer and consumer projects, whereas the\n`library.googleapis.com/book/overdue_count` metric is only sent to the\nconsumer project.\n\n monitored_resources:\n - type: library.googleapis.com/branch\n labels:\n - key: /city\n description: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n metrics:\n - name: library.googleapis.com/book/returned_count\n metric_kind: DELTA\n value_type: INT64\n labels:\n - key: /customer_id\n - name: library.googleapis.com/book/overdue_count\n metric_kind: GAUGE\n value_type: INT64\n labels:\n - key: /customer_id\n monitoring:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n - library.googleapis.com/book/overdue_count",
+ "id": "Monitoring",
+ "properties": {
+ "consumerDestinations": {
+ "description": "Monitoring configurations for sending metrics to the consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A metric can be used in at most\none consumer destination.",
+ "items": {
+ "$ref": "MonitoringDestination"
+ },
+ "type": "array"
+ },
+ "producerDestinations": {
+ "description": "Monitoring configurations for sending metrics to the producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A metric can be used in at most\none producer destination.",
+ "items": {
+ "$ref": "MonitoringDestination"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Enum": {
+ "description": "Enum type definition.",
+ "id": "Enum",
+ "properties": {
+ "name": {
+ "description": "Enum type name.",
+ "type": "string"
+ },
+ "enumvalue": {
+ "description": "Enum value definitions.",
+ "items": {
+ "$ref": "EnumValue"
+ },
+ "type": "array"
+ },
+ "options": {
+ "description": "Protocol buffer options.",
+ "items": {
+ "$ref": "Option"
+ },
+ "type": "array"
+ },
+ "sourceContext": {
+ "$ref": "SourceContext",
+ "description": "The source context."
+ },
+ "syntax": {
+ "description": "The source syntax.",
+ "enum": [
+ "SYNTAX_PROTO2",
+ "SYNTAX_PROTO3"
+ ],
+ "enumDescriptions": [
+ "Syntax `proto2`.",
+ "Syntax `proto3`."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "EnableServiceRequest": {
+ "description": "Request message for EnableService method.",
+ "id": "EnableServiceRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "LabelDescriptor": {
+ "description": "A description of a label.",
+ "id": "LabelDescriptor",
+ "properties": {
+ "key": {
+ "description": "The label key.",
+ "type": "string"
+ },
+ "description": {
+ "description": "A human-readable description for the label.",
+ "type": "string"
+ },
+ "valueType": {
+ "description": "The type of data that can be assigned to the label.",
+ "enum": [
+ "STRING",
+ "BOOL",
+ "INT64"
+ ],
+ "enumDescriptions": [
+ "A variable-length string. This is the default.",
+ "Boolean; true or false.",
+ "A 64-bit signed integer."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Type": {
+ "description": "A protocol buffer message type.",
+ "id": "Type",
+ "properties": {
+ "options": {
+ "description": "The protocol buffer options.",
+ "items": {
+ "$ref": "Option"
+ },
+ "type": "array"
+ },
+ "fields": {
+ "description": "The list of fields.",
+ "items": {
+ "$ref": "Field"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "The fully qualified message name.",
+ "type": "string"
+ },
+ "oneofs": {
+ "description": "The list of types appearing in `oneof` definitions in this type.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "syntax": {
+ "description": "The source syntax.",
+ "enum": [
+ "SYNTAX_PROTO2",
+ "SYNTAX_PROTO3"
+ ],
+ "enumDescriptions": [
+ "Syntax `proto2`.",
+ "Syntax `proto3`."
+ ],
+ "type": "string"
+ },
+ "sourceContext": {
+ "$ref": "SourceContext",
+ "description": "The source context."
+ }
+ },
+ "type": "object"
+ },
+ "Experimental": {
+ "description": "Experimental service configuration. These configuration options can\nonly be used by whitelisted users.",
+ "id": "Experimental",
+ "properties": {
+ "authorization": {
+ "$ref": "AuthorizationConfig",
+ "description": "Authorization configuration."
+ }
+ },
+ "type": "object"
+ },
+ "Backend": {
+ "description": "`Backend` defines the backend configuration for a service.",
+ "id": "Backend",
+ "properties": {
+ "rules": {
+ "description": "A list of API backend rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
+ "items": {
+ "$ref": "BackendRule"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "DocumentationRule": {
+ "description": "A documentation rule provides information about individual API elements.",
+ "id": "DocumentationRule",
+ "properties": {
+ "selector": {
+ "description": "The selector is a comma-separated list of patterns. Each pattern is a\nqualified name of the element which may end in \"*\", indicating a wildcard.\nWildcards are only allowed at the end and for a whole component of the\nqualified name, i.e. \"foo.*\" is ok, but not \"foo.b*\" or \"foo.*.bar\". To\nspecify a default for all applicable elements, the whole pattern \"*\"\nis used.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the selected API(s).",
+ "type": "string"
+ },
+ "deprecationDescription": {
+ "description": "Deprecation description of the selected element(s). It can be provided if an\nelement is marked as `deprecated`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AuthorizationConfig": {
+ "description": "Configuration of authorization.\n\nThis section determines the authorization provider, if unspecified, then no\nauthorization check will be done.\n\nExample:\n\n experimental:\n authorization:\n provider: firebaserules.googleapis.com",
+ "id": "AuthorizationConfig",
+ "properties": {
+ "provider": {
+ "description": "The name of the authorization provider, such as\nfirebaserules.googleapis.com.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ContextRule": {
+ "description": "A context rule provides information about the context for an individual API\nelement.",
+ "id": "ContextRule",
+ "properties": {
+ "requested": {
+ "description": "A list of full type names of requested contexts.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "selector": {
+ "description": "Selects the methods to which this rule applies.\n\nRefer to selector for syntax details.",
+ "type": "string"
+ },
+ "provided": {
+ "description": "A list of full type names of provided contexts.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SourceContext": {
+ "description": "`SourceContext` represents information about the source of a\nprotobuf element, like the file in which it is defined.",
+ "id": "SourceContext",
+ "properties": {
+ "fileName": {
+ "description": "The path-qualified name of the .proto file that contained the associated\nprotobuf element. For example: `\"google/protobuf/source_context.proto\"`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "MetricDescriptor": {
+ "description": "Defines a metric type and its schema. Once a metric descriptor is created,\ndeleting or altering it stops data collection and makes the metric type's\nexisting data unusable.",
+ "id": "MetricDescriptor",
+ "properties": {
+ "unit": {
+ "description": "The unit in which the metric value is reported. It is only applicable\nif the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The\nsupported units are a subset of [The Unified Code for Units of\nMeasure](http://unitsofmeasure.org/ucum.html) standard:\n\n**Basic units (UNIT)**\n\n* `bit` bit\n* `By` byte\n* `s` second\n* `min` minute\n* `h` hour\n* `d` day\n\n**Prefixes (PREFIX)**\n\n* `k` kilo (10**3)\n* `M` mega (10**6)\n* `G` giga (10**9)\n* `T` tera (10**12)\n* `P` peta (10**15)\n* `E` exa (10**18)\n* `Z` zetta (10**21)\n* `Y` yotta (10**24)\n* `m` milli (10**-3)\n* `u` micro (10**-6)\n* `n` nano (10**-9)\n* `p` pico (10**-12)\n* `f` femto (10**-15)\n* `a` atto (10**-18)\n* `z` zepto (10**-21)\n* `y` yocto (10**-24)\n* `Ki` kibi (2**10)\n* `Mi` mebi (2**20)\n* `Gi` gibi (2**30)\n* `Ti` tebi (2**40)\n\n**Grammar**\n\nThe grammar includes the dimensionless unit `1`, such as `1/s`.\n\nThe grammar also includes these connectors:\n\n* `/` division (as an infix operator, e.g. `1/s`).\n* `.` multiplication (as an infix operator, e.g. `GBy.d`)\n\nThe grammar for a unit is as follows:\n\n Expression = Component { \".\" Component } { \"/\" Component } ;\n\n Component = [ PREFIX ] UNIT [ Annotation ]\n | Annotation\n | \"1\"\n ;\n\n Annotation = \"{\" NAME \"}\" ;\n\nNotes:\n\n* `Annotation` is just a comment if it follows a `UNIT` and is\n equivalent to `1` if it is used alone. For examples,\n `{requests}/s == 1/s`, `By{transmitted}/s == By/s`.\n* `NAME` is a sequence of non-blank printable ASCII characters not\n containing '{' or '}'.",
+ "type": "string"
+ },
+ "labels": {
+ "description": "The set of labels that can be used to describe a specific\ninstance of this metric type. For example, the\n`appengine.googleapis.com/http/server/response_latencies` metric\ntype has a label for the HTTP response code, `response_code`, so\nyou can look at latencies for successful responses or just\nfor responses that failed.",
+ "items": {
+ "$ref": "LabelDescriptor"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "The resource name of the metric descriptor. Depending on the\nimplementation, the name typically includes: (1) the parent resource name\nthat defines the scope of the metric type or of its data; and (2) the\nmetric's URL-encoded type, which also appears in the `type` field of this\ndescriptor. For example, following is the resource name of a custom\nmetric within the GCP project `my-project-id`:\n\n \"projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount\"",
+ "type": "string"
+ },
+ "type": {
+ "description": "The metric type, including its DNS name prefix. The type is not\nURL-encoded. All user-defined custom metric types have the DNS name\n`custom.googleapis.com`. Metric types should use a natural hierarchical\ngrouping. For example:\n\n \"custom.googleapis.com/invoice/paid/amount\"\n \"appengine.googleapis.com/http/server/response_latencies\"",
+ "type": "string"
+ },
+ "valueType": {
+ "description": "Whether the measurement is an integer, a floating-point number, etc.\nSome combinations of `metric_kind` and `value_type` might not be supported.",
+ "enum": [
+ "VALUE_TYPE_UNSPECIFIED",
+ "BOOL",
+ "INT64",
+ "DOUBLE",
+ "STRING",
+ "DISTRIBUTION",
+ "MONEY"
+ ],
+ "enumDescriptions": [
+ "Do not use this default value.",
+ "The value is a boolean.\nThis value type can be used only if the metric kind is `GAUGE`.",
+ "The value is a signed 64-bit integer.",
+ "The value is a double precision floating point number.",
+ "The value is a text string.\nThis value type can be used only if the metric kind is `GAUGE`.",
+ "The value is a `Distribution`.",
+ "The value is money."
+ ],
+ "type": "string"
+ },
+ "metricKind": {
+ "description": "Whether the metric records instantaneous values, changes to a value, etc.\nSome combinations of `metric_kind` and `value_type` might not be supported.",
+ "enum": [
+ "METRIC_KIND_UNSPECIFIED",
+ "GAUGE",
+ "DELTA",
+ "CUMULATIVE"
+ ],
+ "enumDescriptions": [
+ "Do not use this default value.",
+ "An instantaneous measurement of a value.",
+ "The change in a value during a time interval.",
+ "A value accumulated over a time interval. Cumulative\nmeasurements in a time series should have the same start time\nand increasing end times, until an event resets the cumulative\nvalue to zero and sets a new start time for the following\npoints."
+ ],
+ "type": "string"
+ },
+ "description": {
+ "description": "A detailed description of the metric, which can be used in documentation.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "A concise name for the metric, which can be displayed in user interfaces.\nUse sentence case without an ending period, for example \"Request count\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListEnabledServicesResponse": {
+ "description": "Response message for `ListEnabledServices` method.",
+ "id": "ListEnabledServicesResponse",
+ "properties": {
+ "services": {
+ "description": "Services enabled for the specified parent.",
+ "items": {
+ "$ref": "PublishedService"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Token that can be passed to `ListEnabledServices` to resume a paginated\nquery.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Endpoint": {
+ "description": "`Endpoint` describes a network endpoint that serves a set of APIs.\nA service may expose any number of endpoints, and all endpoints share the\nsame service configuration, such as quota configuration and monitoring\nconfiguration.\n\nExample service configuration:\n\n name: library-example.googleapis.com\n endpoints:\n # Below entry makes 'google.example.library.v1.Library'\n # API be served from endpoint address library-example.googleapis.com.\n # It also allows HTTP OPTIONS calls to be passed to the backend, for\n # it to decide whether the subsequent cross-origin request is\n # allowed to proceed.\n - name: library-example.googleapis.com\n allow_cors: true",
+ "id": "Endpoint",
+ "properties": {
+ "aliases": {
+ "description": "DEPRECATED: This field is no longer supported. Instead of using aliases,\nplease specify multiple google.api.Endpoint for each of the intented\nalias.\n\nAdditional names that this endpoint will be hosted on.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "features": {
+ "description": "The list of features enabled on this endpoint.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "allowCors": {
+ "description": "Allowing\n[CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka\ncross-domain traffic, would allow the backends served from this endpoint to\nreceive and respond to HTTP OPTIONS requests. The response will be used by\nthe browser to determine whether the subsequent cross-origin request is\nallowed to proceed.",
+ "type": "boolean"
+ },
+ "name": {
+ "description": "The canonical name of this endpoint.",
+ "type": "string"
+ },
+ "apis": {
+ "description": "The list of APIs served by this endpoint.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "OAuthRequirements": {
+ "description": "OAuth scopes are a way to define data and permissions on data. For example,\nthere are scopes defined for \"Read-only access to Google Calendar\" and\n\"Access to Cloud Platform\". Users can consent to a scope for an application,\ngiving it permission to access that data on their behalf.\n\nOAuth scope specifications should be fairly coarse grained; a user will need\nto see and understand the text description of what your scope means.\n\nIn most cases: use one or at most two OAuth scopes for an entire family of\nproducts. If your product has multiple APIs, you should probably be sharing\nthe OAuth scope across all of those APIs.\n\nWhen you need finer grained OAuth consent screens: talk with your product\nmanagement about how developers will use them in practice.\n\nPlease note that even though each of the canonical scopes is enough for a\nrequest to be accepted and passed to the backend, a request can still fail\ndue to the backend requiring additional scopes or permissions.",
+ "id": "OAuthRequirements",
+ "properties": {
+ "canonicalScopes": {
+ "description": "The list of publicly documented OAuth scopes that are allowed access. An\nOAuth token containing any of these scopes will be accepted.\n\nExample:\n\n canonical_scopes: https://www.googleapis.com/auth/calendar,\n https://www.googleapis.com/auth/calendar.read",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Usage": {
+ "description": "Configuration controlling usage of a service.",
+ "id": "Usage",
+ "properties": {
+ "rules": {
+ "description": "A list of usage rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
+ "items": {
+ "$ref": "UsageRule"
+ },
+ "type": "array"
+ },
+ "requirements": {
+ "description": "Requirements that must be satisfied before a consumer project can use the\nservice. Each requirement is of the form <service.name>/<requirement-id>;\nfor example 'serviceusage.googleapis.com/billing-enabled'.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "producerNotificationChannel": {
+ "description": "The full resource name of a channel used for sending notifications to the\nservice producer.\n\nGoogle Service Management currently only supports\n[Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification\nchannel. To use Google Cloud Pub/Sub as the channel, this must be the name\nof a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format\ndocumented in https://cloud.google.com/pubsub/docs/overview.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Context": {
+ "description": "`Context` defines which contexts an API requests.\n\nExample:\n\n context:\n rules:\n - selector: \"*\"\n requested:\n - google.rpc.context.ProjectContext\n - google.rpc.context.OriginContext\n\nThe above specifies that all methods in the API request\n`google.rpc.context.ProjectContext` and\n`google.rpc.context.OriginContext`.\n\nAvailable context types are defined in package\n`google.rpc.context`.",
+ "id": "Context",
+ "properties": {
+ "rules": {
+ "description": "A list of RPC context rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
+ "items": {
+ "$ref": "ContextRule"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "LogDescriptor": {
+ "description": "A description of a log type. Example in YAML format:\n\n - name: library.googleapis.com/activity_history\n description: The history of borrowing and returning library items.\n display_name: Activity\n labels:\n - key: /customer_id\n description: Identifier of a library customer",
+ "id": "LogDescriptor",
+ "properties": {
+ "labels": {
+ "description": "The set of labels that are available to describe a specific log entry.\nRuntime requests that contain labels not specified here are\nconsidered invalid.",
+ "items": {
+ "$ref": "LabelDescriptor"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "The name of the log. It must be less than 512 characters long and can\ninclude the following characters: upper- and lower-case alphanumeric\ncharacters [A-Za-z0-9], and punctuation characters including\nslash, underscore, hyphen, period [/_-.].",
+ "type": "string"
+ },
+ "description": {
+ "description": "A human-readable description of this log. This information appears in\nthe documentation and can contain details.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "The human-readable name for this log. This information appears on\nthe user interface and should be concise.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "MonitoredResourceDescriptor": {
+ "description": "An object that describes the schema of a MonitoredResource object using a\ntype name and a set of labels. For example, the monitored resource\ndescriptor for Google Compute Engine VM instances has a type of\n`\"gce_instance\"` and specifies the use of the labels `\"instance_id\"` and\n`\"zone\"` to identify particular VM instances.\n\nDifferent APIs can support different monitored resource types. APIs generally\nprovide a `list` method that returns the monitored resource descriptors used\nby the API.",
+ "id": "MonitoredResourceDescriptor",
+ "properties": {
+ "labels": {
+ "description": "Required. A set of labels used to describe instances of this monitored\nresource type. For example, an individual Google Cloud SQL database is\nidentified by values for the labels `\"database_id\"` and `\"zone\"`.",
+ "items": {
+ "$ref": "LabelDescriptor"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "Optional. The resource name of the monitored resource descriptor:\n`\"projects/{project_id}/monitoredResourceDescriptors/{type}\"` where\n{type} is the value of the `type` field in this object and\n{project_id} is a project ID that provides API-specific context for\naccessing the type. APIs that do not use project information can use the\nresource name format `\"monitoredResourceDescriptors/{type}\"`.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Optional. A concise name for the monitored resource type that might be\ndisplayed in user interfaces. It should be a Title Cased Noun Phrase,\nwithout any article or other determiners. For example,\n`\"Google Cloud SQL Database\"`.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Optional. A detailed description of the monitored resource type that might\nbe used in documentation.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Required. The monitored resource type. For example, the type\n`\"cloudsql_database\"` represents databases in Google Cloud SQL.\nThe maximum length of this value is 256 characters.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CustomErrorRule": {
+ "description": "A custom error rule.",
+ "id": "CustomErrorRule",
+ "properties": {
+ "isErrorType": {
+ "description": "Mark this message as possible payload in error response. Otherwise,\nobjects of this type will be filtered when they appear in error payload.",
+ "type": "boolean"
+ },
+ "selector": {
+ "description": "Selects messages to which this rule applies.\n\nRefer to selector for syntax details.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "MediaDownload": {
+ "description": "Use this only for Scotty Requests. Do not use this for media support using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.",
+ "id": "MediaDownload",
+ "properties": {
+ "enabled": {
+ "description": "Whether download is enabled.",
+ "type": "boolean"
+ },
+ "downloadService": {
+ "description": "DO NOT USE THIS FIELD UNTIL THIS WARNING IS REMOVED.\n\nSpecify name of the download service if one is used for download.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DisableServiceRequest": {
+ "description": "Request message for DisableService method.",
+ "id": "DisableServiceRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "SearchServicesResponse": {
+ "description": "Response message for SearchServices method.",
+ "id": "SearchServicesResponse",
+ "properties": {
+ "services": {
+ "description": "Services available publicly or available to the authenticated caller.",
+ "items": {
+ "$ref": "PublishedService"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Token that can be passed to `ListAvailableServices` to resume a paginated\nquery.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "MediaUpload": {
+ "description": "Use this only for Scotty Requests. Do not use this for media support using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.",
+ "id": "MediaUpload",
+ "properties": {
+ "enabled": {
+ "description": "Whether upload is enabled.",
+ "type": "boolean"
+ },
+ "uploadService": {
+ "description": "DO NOT USE THIS FIELD UNTIL THIS WARNING IS REMOVED.\n\nSpecify name of the upload service if one is used for upload.",
+ "type": "string"
+ }
+ },
+ "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis/sheets__v4.json b/discovery/googleapis/sheets__v4.json
index 2382e6b..9711676 100644
--- a/discovery/googleapis/sheets__v4.json
+++ b/discovery/googleapis/sheets__v4.json
@@ -2,9 +2,6 @@
"auth": {
"oauth2": {
"scopes": {
- "https://www.googleapis.com/auth/spreadsheets": {
- "description": "View and manage your spreadsheets in Google Drive"
- },
"https://www.googleapis.com/auth/drive": {
"description": "View and manage the files in your Google Drive"
},
@@ -13,6 +10,9 @@
},
"https://www.googleapis.com/auth/spreadsheets.readonly": {
"description": "View your Google Spreadsheets"
+ },
+ "https://www.googleapis.com/auth/spreadsheets": {
+ "description": "View and manage your spreadsheets in Google Drive"
}
}
}
@@ -89,13 +89,13 @@
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
+ "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"
},
- "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.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
},
@@ -133,6 +133,12 @@
"spreadsheetId"
],
"parameters": {
+ "spreadsheetId": {
+ "description": "The spreadsheet to request.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
"ranges": {
"description": "The ranges to retrieve from the spreadsheet.",
"location": "query",
@@ -143,12 +149,6 @@
"description": "True if grid data should be returned.\nThis parameter is ignored if a field mask was set in the request.",
"location": "query",
"type": "boolean"
- },
- "spreadsheetId": {
- "description": "The spreadsheet to request.",
- "location": "path",
- "required": true,
- "type": "string"
}
},
"path": "v4/spreadsheets/{spreadsheetId}",
@@ -282,6 +282,12 @@
"range"
],
"parameters": {
+ "spreadsheetId": {
+ "description": "The ID of the spreadsheet to update.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
"responseValueRenderOption": {
"description": "Determines how values in the response should be rendered.\nThe default render option is ValueRenderOption.FORMATTED_VALUE.",
"enum": [
@@ -321,12 +327,6 @@
"description": "Determines if the update response should include the values\nof the cells that were updated. By default, responses\ndo not include the updated values.\nIf the range to write was larger than than the range actually written,\nthe response will include all values in the requested range (excluding\ntrailing empty rows and columns).",
"location": "query",
"type": "boolean"
- },
- "spreadsheetId": {
- "description": "The ID of the spreadsheet to update.",
- "location": "path",
- "required": true,
- "type": "string"
}
},
"path": "v4/spreadsheets/{spreadsheetId}/values/{range}",
@@ -368,6 +368,67 @@
"https://www.googleapis.com/auth/spreadsheets"
]
},
+ "batchGet": {
+ "description": "Returns one or more ranges of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and one or more ranges.",
+ "httpMethod": "GET",
+ "id": "sheets.spreadsheets.values.batchGet",
+ "parameterOrder": [
+ "spreadsheetId"
+ ],
+ "parameters": {
+ "spreadsheetId": {
+ "description": "The ID of the spreadsheet to retrieve data from.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "valueRenderOption": {
+ "description": "How values should be represented in the output.\nThe default render option is ValueRenderOption.FORMATTED_VALUE.",
+ "enum": [
+ "FORMATTED_VALUE",
+ "UNFORMATTED_VALUE",
+ "FORMULA"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "dateTimeRenderOption": {
+ "description": "How dates, times, and durations should be represented in the output.\nThis is ignored if value_render_option is\nFORMATTED_VALUE.\nThe default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].",
+ "enum": [
+ "SERIAL_NUMBER",
+ "FORMATTED_STRING"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "ranges": {
+ "description": "The A1 notation of the values to retrieve.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "majorDimension": {
+ "description": "The major dimension that results should use.\n\nFor example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,\nthen requesting `range=A1:B2,majorDimension=ROWS` will return\n`[[1,2],[3,4]]`,\nwhereas requesting `range=A1:B2,majorDimension=COLUMNS` will return\n`[[1,3],[2,4]]`.",
+ "enum": [
+ "DIMENSION_UNSPECIFIED",
+ "ROWS",
+ "COLUMNS"
+ ],
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v4/spreadsheets/{spreadsheetId}/values:batchGet",
+ "response": {
+ "$ref": "BatchGetValuesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/drive",
+ "https://www.googleapis.com/auth/drive.readonly",
+ "https://www.googleapis.com/auth/spreadsheets",
+ "https://www.googleapis.com/auth/spreadsheets.readonly"
+ ]
+ },
"clear": {
"description": "Clears values from a spreadsheet.\nThe caller must specify the spreadsheet ID and range.\nOnly values are cleared -- all other properties of the cell (such as\nformatting, data validation, etc..) are kept.",
"httpMethod": "POST",
@@ -402,69 +463,8 @@
"https://www.googleapis.com/auth/spreadsheets"
]
},
- "batchGet": {
- "description": "Returns one or more ranges of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and one or more ranges.",
- "httpMethod": "GET",
- "id": "sheets.spreadsheets.values.batchGet",
- "parameterOrder": [
- "spreadsheetId"
- ],
- "parameters": {
- "ranges": {
- "description": "The A1 notation of the values to retrieve.",
- "location": "query",
- "repeated": true,
- "type": "string"
- },
- "majorDimension": {
- "description": "The major dimension that results should use.\n\nFor example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,\nthen requesting `range=A1:B2,majorDimension=ROWS` will return\n`[[1,2],[3,4]]`,\nwhereas requesting `range=A1:B2,majorDimension=COLUMNS` will return\n`[[1,3],[2,4]]`.",
- "enum": [
- "DIMENSION_UNSPECIFIED",
- "ROWS",
- "COLUMNS"
- ],
- "location": "query",
- "type": "string"
- },
- "spreadsheetId": {
- "description": "The ID of the spreadsheet to retrieve data from.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "valueRenderOption": {
- "description": "How values should be represented in the output.\nThe default render option is ValueRenderOption.FORMATTED_VALUE.",
- "enum": [
- "FORMATTED_VALUE",
- "UNFORMATTED_VALUE",
- "FORMULA"
- ],
- "location": "query",
- "type": "string"
- },
- "dateTimeRenderOption": {
- "description": "How dates, times, and durations should be represented in the output.\nThis is ignored if value_render_option is\nFORMATTED_VALUE.\nThe default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].",
- "enum": [
- "SERIAL_NUMBER",
- "FORMATTED_STRING"
- ],
- "location": "query",
- "type": "string"
- }
- },
- "path": "v4/spreadsheets/{spreadsheetId}/values:batchGet",
- "response": {
- "$ref": "BatchGetValuesResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/drive",
- "https://www.googleapis.com/auth/drive.readonly",
- "https://www.googleapis.com/auth/spreadsheets",
- "https://www.googleapis.com/auth/spreadsheets.readonly"
- ]
- },
"append": {
- "description": "Appends values to a spreadsheet. The input range is used to search for\nexisting data and find a \"table\" within that range. Values will be\nappended to the next row of the table, starting with the first column of\nthe table. See the\n[guide](/sheets/guides/values#appending_values)\nand\n[sample code](/sheets/samples/writing#append_values)\nfor specific details of how tables are detected and data is appended.\n\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption. The `valueInputOption` only\ncontrols how the input data will be added to the sheet (column-wise or\nrow-wise), it does not influence what cell the data starts being written\nto.",
+ "description": "Appends values to a spreadsheet. The input range is used to search for\nexisting data and find a \"table\" within that range. Values will be\nappended to the next row of the table, starting with the first column of\nthe table. See the\n[guide](/sheets/api/guides/values#appending_values)\nand\n[sample code](/sheets/api/samples/writing#append_values)\nfor specific details of how tables are detected and data is appended.\n\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption. The `valueInputOption` only\ncontrols how the input data will be added to the sheet (column-wise or\nrow-wise), it does not influence what cell the data starts being written\nto.",
"httpMethod": "POST",
"id": "sheets.spreadsheets.values.append",
"parameterOrder": [
@@ -510,17 +510,17 @@
"location": "query",
"type": "string"
},
- "includeValuesInResponse": {
- "description": "Determines if the update response should include the values\nof the cells that were appended. By default, responses\ndo not include the updated values.",
- "location": "query",
- "type": "boolean"
- },
"range": {
"description": "The A1 notation of a range to search for a logical table of data.\nValues will be appended after the last row of the table.",
"location": "path",
"required": true,
"type": "string"
},
+ "includeValuesInResponse": {
+ "description": "Determines if the update response should include the values\nof the cells that were appended. By default, responses\ndo not include the updated values.",
+ "location": "query",
+ "type": "boolean"
+ },
"spreadsheetId": {
"description": "The ID of the spreadsheet to update.",
"location": "path",
@@ -580,18 +580,18 @@
"sheetId"
],
"parameters": {
+ "spreadsheetId": {
+ "description": "The ID of the spreadsheet containing the sheet to copy.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
"sheetId": {
"description": "The ID of the sheet to copy.",
"format": "int32",
"location": "path",
"required": true,
"type": "integer"
- },
- "spreadsheetId": {
- "description": "The ID of the spreadsheet containing the sheet to copy.",
- "location": "path",
- "required": true,
- "type": "string"
}
},
"path": "v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo",
@@ -611,9 +611,755 @@
}
}
},
- "revision": "20170223",
+ "revision": "20170317",
"rootUrl": "https://sheets.googleapis.com/",
"schemas": {
+ "UpdateChartSpecRequest": {
+ "description": "Updates a chart's specifications.\n(This does not move or resize a chart. To move or resize a chart, use\n UpdateEmbeddedObjectPositionRequest.)",
+ "id": "UpdateChartSpecRequest",
+ "properties": {
+ "spec": {
+ "$ref": "ChartSpec",
+ "description": "The specification to apply to the chart."
+ },
+ "chartId": {
+ "description": "The ID of the chart to update.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "DeleteFilterViewRequest": {
+ "description": "Deletes a particular filter view.",
+ "id": "DeleteFilterViewRequest",
+ "properties": {
+ "filterId": {
+ "description": "The ID of the filter to delete.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "BatchUpdateValuesResponse": {
+ "description": "The response when updating a range of values in a spreadsheet.",
+ "id": "BatchUpdateValuesResponse",
+ "properties": {
+ "spreadsheetId": {
+ "description": "The spreadsheet the updates were applied to.",
+ "type": "string"
+ },
+ "totalUpdatedRows": {
+ "description": "The total number of rows where at least one cell in the row was updated.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "responses": {
+ "description": "One UpdateValuesResponse per requested range, in the same order as\nthe requests appeared.",
+ "items": {
+ "$ref": "UpdateValuesResponse"
+ },
+ "type": "array"
+ },
+ "totalUpdatedSheets": {
+ "description": "The total number of sheets where at least one cell in the sheet was\nupdated.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "totalUpdatedCells": {
+ "description": "The total number of cells updated.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "totalUpdatedColumns": {
+ "description": "The total number of columns where at least one cell in the column was\nupdated.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "SortRangeRequest": {
+ "description": "Sorts data in rows based on a sort order per column.",
+ "id": "SortRangeRequest",
+ "properties": {
+ "range": {
+ "$ref": "GridRange",
+ "description": "The range to sort."
+ },
+ "sortSpecs": {
+ "description": "The sort order per column. Later specifications are used when values\nare equal in the earlier specifications.",
+ "items": {
+ "$ref": "SortSpec"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "MergeCellsRequest": {
+ "description": "Merges all cells in the range.",
+ "id": "MergeCellsRequest",
+ "properties": {
+ "mergeType": {
+ "description": "How the cells should be merged.",
+ "enum": [
+ "MERGE_ALL",
+ "MERGE_COLUMNS",
+ "MERGE_ROWS"
+ ],
+ "enumDescriptions": [
+ "Create a single merge from the range",
+ "Create a merge for each column in the range",
+ "Create a merge for each row in the range"
+ ],
+ "type": "string"
+ },
+ "range": {
+ "$ref": "GridRange",
+ "description": "The range of cells to merge."
+ }
+ },
+ "type": "object"
+ },
+ "AddProtectedRangeRequest": {
+ "description": "Adds a new protected range.",
+ "id": "AddProtectedRangeRequest",
+ "properties": {
+ "protectedRange": {
+ "$ref": "ProtectedRange",
+ "description": "The protected range to be added. The\nprotectedRangeId field is optional; if\none is not set, an id will be randomly generated. (It is an error to\nspecify the ID of a range that already exists.)"
+ }
+ },
+ "type": "object"
+ },
+ "BatchClearValuesRequest": {
+ "description": "The request for clearing more than one range of values in a spreadsheet.",
+ "id": "BatchClearValuesRequest",
+ "properties": {
+ "ranges": {
+ "description": "The ranges to clear, in A1 notation.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "DuplicateFilterViewResponse": {
+ "description": "The result of a filter view being duplicated.",
+ "id": "DuplicateFilterViewResponse",
+ "properties": {
+ "filter": {
+ "$ref": "FilterView",
+ "description": "The newly created filter."
+ }
+ },
+ "type": "object"
+ },
+ "DuplicateSheetResponse": {
+ "description": "The result of duplicating a sheet.",
+ "id": "DuplicateSheetResponse",
+ "properties": {
+ "properties": {
+ "$ref": "SheetProperties",
+ "description": "The properties of the duplicate sheet."
+ }
+ },
+ "type": "object"
+ },
+ "TextToColumnsRequest": {
+ "description": "Splits a column of text into multiple columns,\nbased on a delimiter in each cell.",
+ "id": "TextToColumnsRequest",
+ "properties": {
+ "source": {
+ "$ref": "GridRange",
+ "description": "The source data range. This must span exactly one column."
+ },
+ "delimiterType": {
+ "description": "The delimiter type to use.",
+ "enum": [
+ "DELIMITER_TYPE_UNSPECIFIED",
+ "COMMA",
+ "SEMICOLON",
+ "PERIOD",
+ "SPACE",
+ "CUSTOM"
+ ],
+ "enumDescriptions": [
+ "Default value. This value must not be used.",
+ "\",\"",
+ "\";\"",
+ "\".\"",
+ "\" \"",
+ "A custom value as defined in delimiter."
+ ],
+ "type": "string"
+ },
+ "delimiter": {
+ "description": "The delimiter to use. Used only if delimiterType is\nCUSTOM.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ClearBasicFilterRequest": {
+ "description": "Clears the basic filter, if any exists on the sheet.",
+ "id": "ClearBasicFilterRequest",
+ "properties": {
+ "sheetId": {
+ "description": "The sheet ID on which the basic filter should be cleared.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "BatchUpdateSpreadsheetResponse": {
+ "description": "The reply for batch updating a spreadsheet.",
+ "id": "BatchUpdateSpreadsheetResponse",
+ "properties": {
+ "replies": {
+ "description": "The reply of the updates. This maps 1:1 with the updates, although\nreplies to some requests may be empty.",
+ "items": {
+ "$ref": "Response"
+ },
+ "type": "array"
+ },
+ "updatedSpreadsheet": {
+ "$ref": "Spreadsheet",
+ "description": "The spreadsheet after updates were applied. This is only set if\n[BatchUpdateSpreadsheetRequest.include_spreadsheet_in_response] is `true`."
+ },
+ "spreadsheetId": {
+ "description": "The spreadsheet the updates were applied to.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DeleteBandingRequest": {
+ "description": "Removes the banded range with the given ID from the spreadsheet.",
+ "id": "DeleteBandingRequest",
+ "properties": {
+ "bandedRangeId": {
+ "description": "The ID of the banded range to delete.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "AppendValuesResponse": {
+ "description": "The response when updating a range of values in a spreadsheet.",
+ "id": "AppendValuesResponse",
+ "properties": {
+ "spreadsheetId": {
+ "description": "The spreadsheet the updates were applied to.",
+ "type": "string"
+ },
+ "updates": {
+ "$ref": "UpdateValuesResponse",
+ "description": "Information about the updates that were applied."
+ },
+ "tableRange": {
+ "description": "The range (in A1 notation) of the table that values are being appended to\n(before the values were appended).\nEmpty if no table was found.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "MoveDimensionRequest": {
+ "description": "Moves one or more rows or columns.",
+ "id": "MoveDimensionRequest",
+ "properties": {
+ "destinationIndex": {
+ "description": "The zero-based start index of where to move the source data to,\nbased on the coordinates *before* the source data is removed\nfrom the grid. Existing data will be shifted down or right\n(depending on the dimension) to make room for the moved dimensions.\nThe source dimensions are removed from the grid, so the\nthe data may end up in a different index than specified.\n\nFor example, given `A1..A5` of `0, 1, 2, 3, 4` and wanting to move\n`\"1\"` and `\"2\"` to between `\"3\"` and `\"4\"`, the source would be\n`ROWS [1..3)`,and the destination index would be `\"4\"`\n(the zero-based index of row 5).\nThe end result would be `A1..A5` of `0, 3, 1, 2, 4`.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "source": {
+ "$ref": "DimensionRange",
+ "description": "The source dimensions to move."
+ }
+ },
+ "type": "object"
+ },
+ "PivotFilterCriteria": {
+ "description": "Criteria for showing/hiding rows in a pivot table.",
+ "id": "PivotFilterCriteria",
+ "properties": {
+ "visibleValues": {
+ "description": "Values that should be included. Values not listed here are excluded.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "AddFilterViewRequest": {
+ "description": "Adds a filter view.",
+ "id": "AddFilterViewRequest",
+ "properties": {
+ "filter": {
+ "$ref": "FilterView",
+ "description": "The filter to add. The filterViewId\nfield is optional; if one is not set, an id will be randomly generated. (It\nis an error to specify the ID of a filter that already exists.)"
+ }
+ },
+ "type": "object"
+ },
+ "AddConditionalFormatRuleRequest": {
+ "description": "Adds a new conditional format rule at the given index.\nAll subsequent rules' indexes are incremented.",
+ "id": "AddConditionalFormatRuleRequest",
+ "properties": {
+ "rule": {
+ "$ref": "ConditionalFormatRule",
+ "description": "The rule to add."
+ },
+ "index": {
+ "description": "The zero-based index where the rule should be inserted.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "ChartSpec": {
+ "description": "The specifications of a chart.",
+ "id": "ChartSpec",
+ "properties": {
+ "title": {
+ "description": "The title of the chart.",
+ "type": "string"
+ },
+ "pieChart": {
+ "$ref": "PieChartSpec",
+ "description": "A pie chart specification."
+ },
+ "basicChart": {
+ "$ref": "BasicChartSpec",
+ "description": "A basic chart specification, can be one of many kinds of charts.\nSee BasicChartType for the list of all\ncharts this supports."
+ },
+ "hiddenDimensionStrategy": {
+ "description": "Determines how the charts will use hidden rows or columns.",
+ "enum": [
+ "CHART_HIDDEN_DIMENSION_STRATEGY_UNSPECIFIED",
+ "SKIP_HIDDEN_ROWS_AND_COLUMNS",
+ "SKIP_HIDDEN_ROWS",
+ "SKIP_HIDDEN_COLUMNS",
+ "SHOW_ALL"
+ ],
+ "enumDescriptions": [
+ "Default value, do not use.",
+ "Charts will skip hidden rows and columns.",
+ "Charts will skip hidden rows only.",
+ "Charts will skip hidden columns only.",
+ "Charts will not skip any hidden rows or columns."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "NumberFormat": {
+ "description": "The number format of a cell.",
+ "id": "NumberFormat",
+ "properties": {
+ "type": {
+ "description": "The type of the number format.\nWhen writing, this field must be set.",
+ "enum": [
+ "NUMBER_FORMAT_TYPE_UNSPECIFIED",
+ "TEXT",
+ "NUMBER",
+ "PERCENT",
+ "CURRENCY",
+ "DATE",
+ "TIME",
+ "DATE_TIME",
+ "SCIENTIFIC"
+ ],
+ "enumDescriptions": [
+ "The number format is not specified\nand is based on the contents of the cell.\nDo not explicitly use this.",
+ "Text formatting, e.g `1000.12`",
+ "Number formatting, e.g, `1,000.12`",
+ "Percent formatting, e.g `10.12%`",
+ "Currency formatting, e.g `$1,000.12`",
+ "Date formatting, e.g `9/26/2008`",
+ "Time formatting, e.g `3:59:00 PM`",
+ "Date+Time formatting, e.g `9/26/08 15:59:00`",
+ "Scientific number formatting, e.g `1.01E+03`"
+ ],
+ "type": "string"
+ },
+ "pattern": {
+ "description": "Pattern string used for formatting. If not set, a default pattern based on\nthe user's locale will be used if necessary for the given type.\nSee the [Date and Number Formats guide](/sheets/api/guides/formats) for more\ninformation about the supported patterns.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SheetProperties": {
+ "description": "Properties of a sheet.",
+ "id": "SheetProperties",
+ "properties": {
+ "title": {
+ "description": "The name of the sheet.",
+ "type": "string"
+ },
+ "tabColor": {
+ "$ref": "Color",
+ "description": "The color of the tab in the UI."
+ },
+ "index": {
+ "description": "The index of the sheet within the spreadsheet.\nWhen adding or updating sheet properties, if this field\nis excluded then the sheet will be added or moved to the end\nof the sheet list. When updating sheet indices or inserting\nsheets, movement is considered in \"before the move\" indexes.\nFor example, if there were 3 sheets (S1, S2, S3) in order to\nmove S1 ahead of S2 the index would have to be set to 2. A sheet\nindex update request will be ignored if the requested index is\nidentical to the sheets current index or if the requested new\nindex is equal to the current sheet index + 1.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "sheetId": {
+ "description": "The ID of the sheet. Must be non-negative.\nThis field cannot be changed once set.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "rightToLeft": {
+ "description": "True if the sheet is an RTL sheet instead of an LTR sheet.",
+ "type": "boolean"
+ },
+ "hidden": {
+ "description": "True if the sheet is hidden in the UI, false if it's visible.",
+ "type": "boolean"
+ },
+ "gridProperties": {
+ "$ref": "GridProperties",
+ "description": "Additional properties of the sheet if this sheet is a grid.\n(If the sheet is an object sheet, containing a chart or image, then\nthis field will be absent.)\nWhen writing it is an error to set any grid properties on non-grid sheets."
+ },
+ "sheetType": {
+ "description": "The type of sheet. Defaults to GRID.\nThis field cannot be changed once set.",
+ "enum": [
+ "SHEET_TYPE_UNSPECIFIED",
+ "GRID",
+ "OBJECT"
+ ],
+ "enumDescriptions": [
+ "Default value, do not use.",
+ "The sheet is a grid.",
+ "The sheet has no grid and instead has an object like a chart or image."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "UpdateDimensionPropertiesRequest": {
+ "description": "Updates properties of dimensions within the specified range.",
+ "id": "UpdateDimensionPropertiesRequest",
+ "properties": {
+ "fields": {
+ "description": "The fields that should be updated. At least one field must be specified.\nThe root `properties` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.",
+ "format": "google-fieldmask",
+ "type": "string"
+ },
+ "properties": {
+ "$ref": "DimensionProperties",
+ "description": "Properties to update."
+ },
+ "range": {
+ "$ref": "DimensionRange",
+ "description": "The rows or columns to update."
+ }
+ },
+ "type": "object"
+ },
+ "SourceAndDestination": {
+ "description": "A combination of a source range and how to extend that source.",
+ "id": "SourceAndDestination",
+ "properties": {
+ "source": {
+ "$ref": "GridRange",
+ "description": "The location of the data to use as the source of the autofill."
+ },
+ "dimension": {
+ "description": "The dimension that data should be filled into.",
+ "enum": [
+ "DIMENSION_UNSPECIFIED",
+ "ROWS",
+ "COLUMNS"
+ ],
+ "enumDescriptions": [
+ "The default value, do not use.",
+ "Operates on the rows of a sheet.",
+ "Operates on the columns of a sheet."
+ ],
+ "type": "string"
+ },
+ "fillLength": {
+ "description": "The number of rows or columns that data should be filled into.\nPositive numbers expand beyond the last row or last column\nof the source. Negative numbers expand before the first row\nor first column of the source.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "FilterView": {
+ "description": "A filter view.",
+ "id": "FilterView",
+ "properties": {
+ "namedRangeId": {
+ "description": "The named range this filter view is backed by, if any.\n\nWhen writing, only one of range or named_range_id\nmay be set.",
+ "type": "string"
+ },
+ "filterViewId": {
+ "description": "The ID of the filter view.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "range": {
+ "$ref": "GridRange",
+ "description": "The range this filter view covers.\n\nWhen writing, only one of range or named_range_id\nmay be set."
+ },
+ "criteria": {
+ "additionalProperties": {
+ "$ref": "FilterCriteria"
+ },
+ "description": "The criteria for showing/hiding values per column.\nThe map's key is the column index, and the value is the criteria for\nthat column.",
+ "type": "object"
+ },
+ "title": {
+ "description": "The name of the filter view.",
+ "type": "string"
+ },
+ "sortSpecs": {
+ "description": "The sort order per column. Later specifications are used when values\nare equal in the earlier specifications.",
+ "items": {
+ "$ref": "SortSpec"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "BandingProperties": {
+ "description": "Properties referring a single dimension (either row or column). If both\nBandedRange.row_properties and BandedRange.column_properties are\nset, the fill colors are applied to cells according to the following rules:\n\n* header_color and footer_color take priority over band colors.\n* first_band_color takes priority over second_band_color.\n* row_properties takes priority over column_properties.\n\nFor example, the first row color takes priority over the first column\ncolor, but the first column color takes priority over the second row color.\nSimilarly, the row header takes priority over the column header in the\ntop left cell, but the column header takes priority over the first row\ncolor if the row header is not set.",
+ "id": "BandingProperties",
+ "properties": {
+ "secondBandColor": {
+ "$ref": "Color",
+ "description": "The second color that is alternating. (Required)"
+ },
+ "footerColor": {
+ "$ref": "Color",
+ "description": "The color of the last row or column. If this field is not set, the last\nrow or column will be filled with either first_band_color or\nsecond_band_color, depending on the color of the previous row or\ncolumn."
+ },
+ "headerColor": {
+ "$ref": "Color",
+ "description": "The color of the first row or column. If this field is set, the first\nrow or column will be filled with this color and the colors will\nalternate between first_band_color and second_band_color starting\nfrom the second row or column. Otherwise, the first row or column will be\nfilled with first_band_color and the colors will proceed to alternate\nas they normally would."
+ },
+ "firstBandColor": {
+ "$ref": "Color",
+ "description": "The first color that is alternating. (Required)"
+ }
+ },
+ "type": "object"
+ },
+ "AddProtectedRangeResponse": {
+ "description": "The result of adding a new protected range.",
+ "id": "AddProtectedRangeResponse",
+ "properties": {
+ "protectedRange": {
+ "$ref": "ProtectedRange",
+ "description": "The newly added protected range."
+ }
+ },
+ "type": "object"
+ },
+ "BasicFilter": {
+ "description": "The default filter associated with a sheet.",
+ "id": "BasicFilter",
+ "properties": {
+ "range": {
+ "$ref": "GridRange",
+ "description": "The range the filter covers."
+ },
+ "criteria": {
+ "additionalProperties": {
+ "$ref": "FilterCriteria"
+ },
+ "description": "The criteria for showing/hiding values per column.\nThe map's key is the column index, and the value is the criteria for\nthat column.",
+ "type": "object"
+ },
+ "sortSpecs": {
+ "description": "The sort order per column. Later specifications are used when values\nare equal in the earlier specifications.",
+ "items": {
+ "$ref": "SortSpec"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "UpdateValuesResponse": {
+ "description": "The response when updating a range of values in a spreadsheet.",
+ "id": "UpdateValuesResponse",
+ "properties": {
+ "updatedCells": {
+ "description": "The number of cells updated.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "updatedData": {
+ "$ref": "ValueRange",
+ "description": "The values of the cells after updates were applied.\nThis is only included if the request's `includeValuesInResponse` field\nwas `true`."
+ },
+ "updatedRows": {
+ "description": "The number of rows where at least one cell in the row was updated.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "updatedColumns": {
+ "description": "The number of columns where at least one cell in the column was updated.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "spreadsheetId": {
+ "description": "The spreadsheet the updates were applied to.",
+ "type": "string"
+ },
+ "updatedRange": {
+ "description": "The range (in A1 notation) that updates were applied to.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ErrorValue": {
+ "description": "An error in a cell.",
+ "id": "ErrorValue",
+ "properties": {
+ "type": {
+ "description": "The type of error.",
+ "enum": [
+ "ERROR_TYPE_UNSPECIFIED",
+ "ERROR",
+ "NULL_VALUE",
+ "DIVIDE_BY_ZERO",
+ "VALUE",
+ "REF",
+ "NAME",
+ "NUM",
+ "N_A",
+ "LOADING"
+ ],
+ "enumDescriptions": [
+ "The default error type, do not use this.",
+ "Corresponds to the `#ERROR!` error.",
+ "Corresponds to the `#NULL!` error.",
+ "Corresponds to the `#DIV/0` error.",
+ "Corresponds to the `#VALUE!` error.",
+ "Corresponds to the `#REF!` error.",
+ "Corresponds to the `#NAME?` error.",
+ "Corresponds to the `#NUM`! error.",
+ "Corresponds to the `#N/A` error.",
+ "Corresponds to the `Loading...` state."
+ ],
+ "type": "string"
+ },
+ "message": {
+ "description": "A message with more information about the error\n(in the spreadsheet's locale).",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "PivotValue": {
+ "description": "The definition of how a value in a pivot table should be calculated.",
+ "id": "PivotValue",
+ "properties": {
+ "name": {
+ "description": "A name to use for the value. This is only used if formula was set.\nOtherwise, the column name is used.",
+ "type": "string"
+ },
+ "formula": {
+ "description": "A custom formula to calculate the value. The formula must start\nwith an `=` character.",
+ "type": "string"
+ },
+ "summarizeFunction": {
+ "description": "A function to summarize the value.\nIf formula is set, the only supported values are\nSUM and\nCUSTOM.\nIf sourceColumnOffset is set, then `CUSTOM`\nis not supported.",
+ "enum": [
+ "PIVOT_STANDARD_VALUE_FUNCTION_UNSPECIFIED",
+ "SUM",
+ "COUNTA",
+ "COUNT",
+ "COUNTUNIQUE",
+ "AVERAGE",
+ "MAX",
+ "MIN",
+ "MEDIAN",
+ "PRODUCT",
+ "STDEV",
+ "STDEVP",
+ "VAR",
+ "VARP",
+ "CUSTOM"
+ ],
+ "enumDescriptions": [
+ "The default, do not use.",
+ "Corresponds to the `SUM` function.",
+ "Corresponds to the `COUNTA` function.",
+ "Corresponds to the `COUNT` function.",
+ "Corresponds to the `COUNTUNIQUE` function.",
+ "Corresponds to the `AVERAGE` function.",
+ "Corresponds to the `MAX` function.",
+ "Corresponds to the `MIN` function.",
+ "Corresponds to the `MEDIAN` function.",
+ "Corresponds to the `PRODUCT` function.",
+ "Corresponds to the `STDEV` function.",
+ "Corresponds to the `STDEVP` function.",
+ "Corresponds to the `VAR` function.",
+ "Corresponds to the `VARP` function.",
+ "Indicates the formula should be used as-is.\nOnly valid if PivotValue.formula was set."
+ ],
+ "type": "string"
+ },
+ "sourceColumnOffset": {
+ "description": "The column offset of the source range that this value reads from.\n\nFor example, if the source was `C10:E15`, a `sourceColumnOffset` of `0`\nmeans this value refers to column `C`, whereas the offset `1` would\nrefer to column `D`.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "CopySheetToAnotherSpreadsheetRequest": {
+ "description": "The request to copy a sheet across spreadsheets.",
+ "id": "CopySheetToAnotherSpreadsheetRequest",
+ "properties": {
+ "destinationSpreadsheetId": {
+ "description": "The ID of the spreadsheet to copy the sheet to.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "PivotGroupSortValueBucket": {
+ "description": "Information about which values in a pivot group should be used for sorting.",
+ "id": "PivotGroupSortValueBucket",
+ "properties": {
+ "buckets": {
+ "description": "Determines the bucket from which values are chosen to sort.\n\nFor example, in a pivot table with one row group & two column groups,\nthe row group can list up to two values. The first value corresponds\nto a value within the first column group, and the second value\ncorresponds to a value in the second column group. If no values\nare listed, this would indicate that the row should be sorted according\nto the \"Grand Total\" over the column groups. If a single value is listed,\nthis would correspond to using the \"Total\" of that bucket.",
+ "items": {
+ "$ref": "ExtendedValue"
+ },
+ "type": "array"
+ },
+ "valuesIndex": {
+ "description": "The offset in the PivotTable.values list which the values in this\ngrouping should be sorted by.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
"EmbeddedObjectPosition": {
"description": "The position of an embedded object such as a chart.",
"id": "EmbeddedObjectPosition",
@@ -669,10 +1415,6 @@
"description": "A rule that applies a gradient color scale format, based on\nthe interpolation points listed. The format of a cell will vary\nbased on its contents as compared to the values of the interpolation\npoints.",
"id": "GradientRule",
"properties": {
- "midpoint": {
- "$ref": "InterpolationPoint",
- "description": "An optional midway interpolation point."
- },
"minpoint": {
"$ref": "InterpolationPoint",
"description": "The starting interpolation point."
@@ -680,10 +1422,20 @@
"maxpoint": {
"$ref": "InterpolationPoint",
"description": "The final interpolation point."
+ },
+ "midpoint": {
+ "$ref": "InterpolationPoint",
+ "description": "An optional midway interpolation point."
}
},
"type": "object"
},
+ "ClearValuesRequest": {
+ "description": "The request for clearing a range of values in a spreadsheet.",
+ "id": "ClearValuesRequest",
+ "properties": {},
+ "type": "object"
+ },
"SetBasicFilterRequest": {
"description": "Sets the basic filter associated with a sheet.",
"id": "SetBasicFilterRequest",
@@ -695,12 +1447,6 @@
},
"type": "object"
},
- "ClearValuesRequest": {
- "description": "The request for clearing a range of values in a spreadsheet.",
- "id": "ClearValuesRequest",
- "properties": {},
- "type": "object"
- },
"InterpolationPoint": {
"description": "A single interpolation point on a gradient conditional format.\nThese pin the gradient color scale according to the color,\ntype and value chosen.",
"id": "InterpolationPoint",
@@ -752,6 +1498,11 @@
"description": "The result of the find/replace.",
"id": "FindReplaceResponse",
"properties": {
+ "valuesChanged": {
+ "description": "The number of non-formula cells changed.",
+ "format": "int32",
+ "type": "integer"
+ },
"occurrencesChanged": {
"description": "The number of occurrences (possibly multiple within a cell) changed.\nFor example, if replacing `\"e\"` with `\"o\"` in `\"Google Sheets\"`, this would\nbe `\"3\"` because `\"Google Sheets\"` -> `\"Googlo Shoots\"`.",
"format": "int32",
@@ -771,9 +1522,16 @@
"description": "The number of formula cells changed.",
"format": "int32",
"type": "integer"
- },
- "valuesChanged": {
- "description": "The number of non-formula cells changed.",
+ }
+ },
+ "type": "object"
+ },
+ "DuplicateFilterViewRequest": {
+ "description": "Duplicates a particular filter view.",
+ "id": "DuplicateFilterViewRequest",
+ "properties": {
+ "filterId": {
+ "description": "The ID of the filter being duplicated.",
"format": "int32",
"type": "integer"
}
@@ -792,18 +1550,6 @@
},
"type": "object"
},
- "DuplicateFilterViewRequest": {
- "description": "Duplicates a particular filter view.",
- "id": "DuplicateFilterViewRequest",
- "properties": {
- "filterId": {
- "description": "The ID of the filter being duplicated.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
"UpdateConditionalFormatRuleResponse": {
"description": "The result of updating a conditional format rule.",
"id": "UpdateConditionalFormatRuleResponse",
@@ -829,6 +1575,32 @@
},
"type": "object"
},
+ "DuplicateSheetRequest": {
+ "description": "Duplicates the contents of a sheet.",
+ "id": "DuplicateSheetRequest",
+ "properties": {
+ "insertSheetIndex": {
+ "description": "The zero-based index where the new sheet should be inserted.\nThe index of all sheets after this are incremented.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "newSheetName": {
+ "description": "The name of the new sheet. If empty, a new name is chosen for you.",
+ "type": "string"
+ },
+ "sourceSheetId": {
+ "description": "The sheet to duplicate.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "newSheetId": {
+ "description": "If set, the ID of the new sheet. If not set, an ID is chosen.\nIf set, the ID must not conflict with any existing sheet ID.\nIf set, it must be non-negative.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
"ConditionValue": {
"description": "The value of the condition.",
"id": "ConditionValue",
@@ -862,32 +1634,6 @@
},
"type": "object"
},
- "DuplicateSheetRequest": {
- "description": "Duplicates the contents of a sheet.",
- "id": "DuplicateSheetRequest",
- "properties": {
- "insertSheetIndex": {
- "description": "The zero-based index where the new sheet should be inserted.\nThe index of all sheets after this are incremented.",
- "format": "int32",
- "type": "integer"
- },
- "newSheetName": {
- "description": "The name of the new sheet. If empty, a new name is chosen for you.",
- "type": "string"
- },
- "sourceSheetId": {
- "description": "The sheet to duplicate.",
- "format": "int32",
- "type": "integer"
- },
- "newSheetId": {
- "description": "If set, the ID of the new sheet. If not set, an ID is chosen.\nIf set, the ID must not conflict with any existing sheet ID.\nIf set, it must be non-negative.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
"ExtendedValue": {
"description": "The kinds of value that a cell in a spreadsheet can have.",
"id": "ExtendedValue",
@@ -916,44 +1662,13 @@
},
"type": "object"
},
- "BandedRange": {
- "description": "A banded (alternating colors) range in a sheet.",
- "id": "BandedRange",
+ "AddChartRequest": {
+ "description": "Adds a chart to a sheet in the spreadsheet.",
+ "id": "AddChartRequest",
"properties": {
- "range": {
- "$ref": "GridRange",
- "description": "The range over which these properties are applied."
- },
- "bandedRangeId": {
- "description": "The id of the banded range.",
- "format": "int32",
- "type": "integer"
- },
- "rowProperties": {
- "$ref": "BandingProperties",
- "description": "Properties for row bands. These properties will be applied on a row-by-row\nbasis throughout all the rows in the range. At least one of\nrow_properties or column_properties must be specified."
- },
- "columnProperties": {
- "$ref": "BandingProperties",
- "description": "Properties for column bands. These properties will be applied on a column-\nby-column basis throughout all the columns in the range. At least one of\nrow_properties or column_properties must be specified."
- }
- },
- "type": "object"
- },
- "BatchClearValuesResponse": {
- "description": "The response when updating a range of values in a spreadsheet.",
- "id": "BatchClearValuesResponse",
- "properties": {
- "clearedRanges": {
- "description": "The ranges that were cleared, in A1 notation.\n(If the requests were for an unbounded range or a ranger larger\n than the bounds of the sheet, this will be the actual ranges\n that were cleared, bounded to the sheet's limits.)",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "spreadsheetId": {
- "description": "The spreadsheet the updates were applied to.",
- "type": "string"
+ "chart": {
+ "$ref": "EmbeddedChart",
+ "description": "The chart that should be added to the spreadsheet, including the position\nwhere it should be placed. The chartId\nfield is optional; if one is not set, an id will be randomly generated. (It\nis an error to specify the ID of a chart that already exists.)"
}
},
"type": "object"
@@ -991,13 +1706,44 @@
},
"type": "object"
},
- "AddChartRequest": {
- "description": "Adds a chart to a sheet in the spreadsheet.",
- "id": "AddChartRequest",
+ "BatchClearValuesResponse": {
+ "description": "The response when updating a range of values in a spreadsheet.",
+ "id": "BatchClearValuesResponse",
"properties": {
- "chart": {
- "$ref": "EmbeddedChart",
- "description": "The chart that should be added to the spreadsheet, including the position\nwhere it should be placed. The chartId\nfield is optional; if one is not set, an id will be randomly generated. (It\nis an error to specify the ID of a chart that already exists.)"
+ "spreadsheetId": {
+ "description": "The spreadsheet the updates were applied to.",
+ "type": "string"
+ },
+ "clearedRanges": {
+ "description": "The ranges that were cleared, in A1 notation.\n(If the requests were for an unbounded range or a ranger larger\n than the bounds of the sheet, this will be the actual ranges\n that were cleared, bounded to the sheet's limits.)",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "BandedRange": {
+ "description": "A banded (alternating colors) range in a sheet.",
+ "id": "BandedRange",
+ "properties": {
+ "range": {
+ "$ref": "GridRange",
+ "description": "The range over which these properties are applied."
+ },
+ "bandedRangeId": {
+ "description": "The id of the banded range.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "rowProperties": {
+ "$ref": "BandingProperties",
+ "description": "Properties for row bands. These properties will be applied on a row-by-row\nbasis throughout all the rows in the range. At least one of\nrow_properties or column_properties must be specified."
+ },
+ "columnProperties": {
+ "$ref": "BandingProperties",
+ "description": "Properties for column bands. These properties will be applied on a column-\nby-column basis throughout all the columns in the range. At least one of\nrow_properties or column_properties must be specified."
}
},
"type": "object"
@@ -1026,26 +1772,26 @@
"description": "True if the text is underlined.",
"type": "boolean"
},
- "bold": {
- "description": "True if the text is bold.",
- "type": "boolean"
- },
"foregroundColor": {
"$ref": "Color",
"description": "The foreground color of the text."
},
+ "bold": {
+ "description": "True if the text is bold.",
+ "type": "boolean"
+ },
"fontFamily": {
"description": "The font family.",
"type": "string"
},
- "italic": {
- "description": "True if the text is italicized.",
- "type": "boolean"
- },
"strikethrough": {
"description": "True if the text has a strikethrough.",
"type": "boolean"
},
+ "italic": {
+ "description": "True if the text is italicized.",
+ "type": "boolean"
+ },
"fontSize": {
"description": "The size of the font.",
"format": "int32",
@@ -1081,12 +1827,12 @@
"id": "IterativeCalculationSettings",
"properties": {
"maxIterations": {
- "description": "When iterative calculation is enabled, the maximum number of calculation\nrounds to perform during iterative calculation.",
+ "description": "When iterative calculation is enabled, the maximum number of calculation\nrounds to perform.",
"format": "int32",
"type": "integer"
},
"convergenceThreshold": {
- "description": "When iterative calculation is enabled, the threshold value such that\ncalculation rounds stop when succesive results differ by less.",
+ "description": "When iterative calculation is enabled and successive results differ by\nless than this threshold value, the calculation rounds stop.",
"format": "double",
"type": "number"
}
@@ -1097,6 +1843,11 @@
"description": "The location an object is overlaid on top of a grid.",
"id": "OverlayPosition",
"properties": {
+ "offsetXPixels": {
+ "description": "The horizontal offset, in pixels, that the object is offset\nfrom the anchor cell.",
+ "format": "int32",
+ "type": "integer"
+ },
"anchorCell": {
"$ref": "GridCoordinate",
"description": "The cell the object is anchored to."
@@ -1115,11 +1866,6 @@
"description": "The width of the object, in pixels. Defaults to 600.",
"format": "int32",
"type": "integer"
- },
- "offsetXPixels": {
- "description": "The horizontal offset, in pixels, that the object is offset\nfrom the anchor cell.",
- "format": "int32",
- "type": "integer"
}
},
"type": "object"
@@ -1128,14 +1874,6 @@
"description": "Properties of a spreadsheet.",
"id": "SpreadsheetProperties",
"properties": {
- "title": {
- "description": "The title of the spreadsheet.",
- "type": "string"
- },
- "timeZone": {
- "description": "The time zone of the spreadsheet, in CLDR format such as\n`America/New_York`. If the time zone isn't recognized, this may\nbe a custom time zone such as `GMT-07:00`.",
- "type": "string"
- },
"locale": {
"description": "The locale of the spreadsheet in one of the following formats:\n\n* an ISO 639-1 language code such as `en`\n\n* an ISO 639-2 language code such as `fil`, if no 639-1 code exists\n\n* a combination of the ISO language code and country code, such as `en_US`\n\nNote: when updating this field, not all locales/languages are supported.",
"type": "string"
@@ -1144,10 +1882,6 @@
"$ref": "IterativeCalculationSettings",
"description": "Determines whether and how circular references are resolved with iterative\ncalculation. Absence of this field means that circular references will\nresult in calculation errors."
},
- "defaultFormat": {
- "$ref": "CellFormat",
- "description": "The default format of all cells in the spreadsheet.\nCellData.effectiveFormat will not be set if the\ncell's format is equal to this default format.\nThis field is read-only."
- },
"autoRecalc": {
"description": "The amount of time to wait before volatile functions are recalculated.",
"enum": [
@@ -1163,6 +1897,18 @@
"Volatile functions are updated on every change and hourly."
],
"type": "string"
+ },
+ "defaultFormat": {
+ "$ref": "CellFormat",
+ "description": "The default format of all cells in the spreadsheet.\nCellData.effectiveFormat will not be set if the\ncell's format is equal to this default format.\nThis field is read-only."
+ },
+ "title": {
+ "description": "The title of the spreadsheet.",
+ "type": "string"
+ },
+ "timeZone": {
+ "description": "The time zone of the spreadsheet, in CLDR format such as\n`America/New_York`. If the time zone isn't recognized, this may\nbe a custom time zone such as `GMT-07:00`.",
+ "type": "string"
}
},
"type": "object"
@@ -1202,13 +1948,13 @@
"description": "Inserts rows or columns in a sheet at a particular index.",
"id": "InsertDimensionRequest",
"properties": {
- "range": {
- "$ref": "DimensionRange",
- "description": "The dimensions to insert. Both the start and end indexes must be bounded."
- },
"inheritFromBefore": {
"description": "Whether dimension properties should be extended from the dimensions\nbefore or after the newly inserted dimensions.\nTrue to inherit from the dimensions before (in which case the start\nindex must be greater than 0), and false to inherit from the dimensions\nafter.\n\nFor example, if row index 0 has red background and row index 1\nhas a green background, then inserting 2 rows at index 1 can inherit\neither the green or red background. If `inheritFromBefore` is true,\nthe two new rows will be red (because the row before the insertion point\nwas red), whereas if `inheritFromBefore` is false, the two new rows will\nbe green (because the row after the insertion point was green).",
"type": "boolean"
+ },
+ "range": {
+ "$ref": "DimensionRange",
+ "description": "The dimensions to insert. Both the start and end indexes must be bounded."
}
},
"type": "object"
@@ -1233,14 +1979,18 @@
"description": "A protected range.",
"id": "ProtectedRange",
"properties": {
- "editors": {
- "$ref": "Editors",
- "description": "The users and groups with edit access to the protected range.\nThis field is only visible to users with edit access to the protected\nrange and the document.\nEditors are not supported with warning_only protection."
+ "requestingUserCanEdit": {
+ "description": "True if the user who requested this protected range can edit the\nprotected area.\nThis field is read-only.",
+ "type": "boolean"
},
"range": {
"$ref": "GridRange",
"description": "The range that is being protected.\nThe range may be fully unbounded, in which case this is considered\na protected sheet.\n\nWhen writing, only one of range or named_range_id\nmay be set."
},
+ "editors": {
+ "$ref": "Editors",
+ "description": "The users and groups with edit access to the protected range.\nThis field is only visible to users with edit access to the protected\nrange and the document.\nEditors are not supported with warning_only protection."
+ },
"description": {
"description": "The description of this protected range.",
"type": "string"
@@ -1264,10 +2014,6 @@
"warningOnly": {
"description": "True if this protected range will show a warning when editing.\nWarning-based protection means that every user can edit data in the\nprotected range, except editing will prompt a warning asking the user\nto confirm the edit.\n\nWhen writing: if this field is true, then editors is ignored.\nAdditionally, if this field is changed from true to false and the\n`editors` field is not set (nor included in the field mask), then\nthe editors will be set to all the editors in the document.",
"type": "boolean"
- },
- "requestingUserCanEdit": {
- "description": "True if the user who requested this protected range can edit the\nprotected area.\nThis field is read-only.",
- "type": "boolean"
}
},
"type": "object"
@@ -1322,7 +2068,7 @@
"FORMATTED_STRING"
],
"enumDescriptions": [
- "Instructs date, time, datetime, and duration fields to be output\nas doubles in \"serial number\" format, as popularized by Lotus 1-2-3.\nDays are counted from December 31st 1899 and are incremented by 1,\nand times are fractions of a day. For example, January 1st 1900 at noon\nwould be 1.5, 1 because it's 1 day offset from December 31st 1899,\nand .5 because noon is half a day. February 1st 1900 at 3pm would\nbe 32.625. This correctly treats the year 1900 as not a leap year.",
+ "Instructs date, time, datetime, and duration fields to be output\nas doubles in \"serial number\" format, as popularized by Lotus 1-2-3.\nThe whole number portion of the value (left of the decimal) counts\nthe days since December 30th 1899. The fractional portion (right of\nthe decimal) counts the time as a fraction of the day. For example,\nJanuary 1st 1900 at noon would be 2.5, 2 because it's 2 days after\nDecember 30st 1899, and .5 because noon is half a day. February 1st\n1900 at 3pm would be 33.625. This correctly treats the year 1900 as\nnot a leap year.",
"Instructs date, time, datetime, and duration fields to be output\nas strings in their given number format (which is dependent\non the spreadsheet locale)."
],
"type": "string"
@@ -1350,29 +2096,15 @@
},
"type": "object"
},
- "NamedRange": {
- "description": "A named range.",
- "id": "NamedRange",
- "properties": {
- "namedRangeId": {
- "description": "The ID of the named range.",
- "type": "string"
- },
- "range": {
- "$ref": "GridRange",
- "description": "The range this represents."
- },
- "name": {
- "description": "The name of the named range.",
- "type": "string"
- }
- },
- "type": "object"
- },
"DimensionRange": {
"description": "A range along a single dimension on a sheet.\nAll indexes are zero-based.\nIndexes are half open: the start index is inclusive\nand the end index is exclusive.\nMissing indexes indicate the range is unbounded on that side.",
"id": "DimensionRange",
"properties": {
+ "sheetId": {
+ "description": "The sheet this span is on.",
+ "format": "int32",
+ "type": "integer"
+ },
"dimension": {
"description": "The dimension of the span.",
"enum": [
@@ -1396,11 +2128,25 @@
"description": "The end (exclusive) of the span, or not set if unbounded.",
"format": "int32",
"type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "NamedRange": {
+ "description": "A named range.",
+ "id": "NamedRange",
+ "properties": {
+ "name": {
+ "description": "The name of the named range.",
+ "type": "string"
},
- "sheetId": {
- "description": "The sheet this span is on.",
- "format": "int32",
- "type": "integer"
+ "namedRangeId": {
+ "description": "The ID of the named range.",
+ "type": "string"
+ },
+ "range": {
+ "$ref": "GridRange",
+ "description": "The range this represents."
}
},
"type": "object"
@@ -1469,6 +2215,22 @@
"description": "A single series of data in a chart.\nFor example, if charting stock prices over time, multiple series may exist,\none for the \"Open Price\", \"High Price\", \"Low Price\" and \"Close Price\".",
"id": "BasicChartSeries",
"properties": {
+ "targetAxis": {
+ "description": "The minor axis that will specify the range of values for this series.\nFor example, if charting stocks over time, the \"Volume\" series\nmay want to be pinned to the right with the prices pinned to the left,\nbecause the scale of trading volume is different than the scale of\nprices.\nIt is an error to specify an axis that isn't a valid minor axis\nfor the chart's type.",
+ "enum": [
+ "BASIC_CHART_AXIS_POSITION_UNSPECIFIED",
+ "BOTTOM_AXIS",
+ "LEFT_AXIS",
+ "RIGHT_AXIS"
+ ],
+ "enumDescriptions": [
+ "Default value, do not use.",
+ "The axis rendered at the bottom of a chart.\nFor most charts, this is the standard major axis.\nFor bar charts, this is a minor axis.",
+ "The axis rendered at the left of a chart.\nFor most charts, this is a minor axis.\nFor bar charts, this is the standard major axis.",
+ "The axis rendered at the right of a chart.\nFor most charts, this is a minor axis.\nFor bar charts, this is an unusual major axis."
+ ],
+ "type": "string"
+ },
"series": {
"$ref": "ChartData",
"description": "The data being visualized in this chart series."
@@ -1494,22 +2256,6 @@
"A <a href=\"/chart/interactive/docs/gallery/combochart\">combo chart</a>."
],
"type": "string"
- },
- "targetAxis": {
- "description": "The minor axis that will specify the range of values for this series.\nFor example, if charting stocks over time, the \"Volume\" series\nmay want to be pinned to the right with the prices pinned to the left,\nbecause the scale of trading volume is different than the scale of\nprices.\nIt is an error to specify an axis that isn't a valid minor axis\nfor the chart's type.",
- "enum": [
- "BASIC_CHART_AXIS_POSITION_UNSPECIFIED",
- "BOTTOM_AXIS",
- "LEFT_AXIS",
- "RIGHT_AXIS"
- ],
- "enumDescriptions": [
- "Default value, do not use.",
- "The axis rendered at the bottom of a chart.\nFor most charts, this is the standard major axis.\nFor bar charts, this is a minor axis.",
- "The axis rendered at the left of a chart.\nFor most charts, this is a minor axis.\nFor bar charts, this is the standard major axis.",
- "The axis rendered at the right of a chart.\nFor most charts, this is a minor axis.\nFor bar charts, this is an unusual major axis."
- ],
- "type": "string"
}
},
"type": "object"
@@ -1568,20 +2314,6 @@
"$ref": "NumberFormat",
"description": "A format describing how number values should be represented to the user."
},
- "hyperlinkDisplayType": {
- "description": "How a hyperlink, if it exists, should be displayed in the cell.",
- "enum": [
- "HYPERLINK_DISPLAY_TYPE_UNSPECIFIED",
- "LINKED",
- "PLAIN_TEXT"
- ],
- "enumDescriptions": [
- "The default value: the hyperlink is rendered. Do not use this.",
- "A hyperlink should be explicitly rendered.",
- "A hyperlink should not be rendered."
- ],
- "type": "string"
- },
"horizontalAlignment": {
"description": "The horizontal alignment of the value in the cell.",
"enum": [
@@ -1598,6 +2330,20 @@
],
"type": "string"
},
+ "hyperlinkDisplayType": {
+ "description": "How a hyperlink, if it exists, should be displayed in the cell.",
+ "enum": [
+ "HYPERLINK_DISPLAY_TYPE_UNSPECIFIED",
+ "LINKED",
+ "PLAIN_TEXT"
+ ],
+ "enumDescriptions": [
+ "The default value: the hyperlink is rendered. Do not use this.",
+ "A hyperlink should be explicitly rendered.",
+ "A hyperlink should not be rendered."
+ ],
+ "type": "string"
+ },
"textFormat": {
"$ref": "TextFormat",
"description": "The format of the text in the cell (unless overridden by a format run)."
@@ -1606,10 +2352,6 @@
"$ref": "Color",
"description": "The background color of the cell."
},
- "padding": {
- "$ref": "Padding",
- "description": "The padding of the cell."
- },
"verticalAlignment": {
"description": "The vertical alignment of the value in the cell.",
"enum": [
@@ -1626,9 +2368,9 @@
],
"type": "string"
},
- "borders": {
- "$ref": "Borders",
- "description": "The borders of the cell."
+ "padding": {
+ "$ref": "Padding",
+ "description": "The padding of the cell."
},
"textDirection": {
"description": "The direction of the text in the cell.",
@@ -1644,6 +2386,10 @@
],
"type": "string"
},
+ "borders": {
+ "$ref": "Borders",
+ "description": "The borders of the cell."
+ },
"wrapStrategy": {
"description": "The wrap strategy for the value in the cell.",
"enum": [
@@ -1661,6 +2407,10 @@
"Words that are longer than a line are wrapped at the character level\nrather than clipped.\nExample:\n\n | Cell has a |\n | loooooooooo| <- Word is broken.\n | ong word. |"
],
"type": "string"
+ },
+ "textRotation": {
+ "$ref": "TextRotation",
+ "description": "The rotation applied to text in a cell"
}
},
"type": "object"
@@ -1697,17 +2447,6 @@
},
"type": "object"
},
- "AddBandingResponse": {
- "description": "The result of adding a banded range.",
- "id": "AddBandingResponse",
- "properties": {
- "bandedRange": {
- "$ref": "BandedRange",
- "description": "The banded range that was added."
- }
- },
- "type": "object"
- },
"DeleteNamedRangeRequest": {
"description": "Removes the named range with the given ID from the spreadsheet.",
"id": "DeleteNamedRangeRequest",
@@ -1719,6 +2458,17 @@
},
"type": "object"
},
+ "AddBandingResponse": {
+ "description": "The result of adding a banded range.",
+ "id": "AddBandingResponse",
+ "properties": {
+ "bandedRange": {
+ "$ref": "BandedRange",
+ "description": "The banded range that was added."
+ }
+ },
+ "type": "object"
+ },
"ChartData": {
"description": "The data included in a domain or series.",
"id": "ChartData",
@@ -1734,16 +2484,16 @@
"description": "The response when retrieving more than one range of values in a spreadsheet.",
"id": "BatchGetValuesResponse",
"properties": {
+ "spreadsheetId": {
+ "description": "The ID of the spreadsheet the data was retrieved from.",
+ "type": "string"
+ },
"valueRanges": {
"description": "The requested values. The order of the ValueRanges is the same as the\norder of the requested ranges.",
"items": {
"$ref": "ValueRange"
},
"type": "array"
- },
- "spreadsheetId": {
- "description": "The ID of the spreadsheet the data was retrieved from.",
- "type": "string"
}
},
"type": "object"
@@ -1752,14 +2502,14 @@
"description": "Updates properties of the supplied banded range.",
"id": "UpdateBandingRequest",
"properties": {
- "bandedRange": {
- "$ref": "BandedRange",
- "description": "The banded range to update with the new properties."
- },
"fields": {
"description": "The fields that should be updated. At least one field must be specified.\nThe root `bandedRange` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.",
"format": "google-fieldmask",
"type": "string"
+ },
+ "bandedRange": {
+ "$ref": "BandedRange",
+ "description": "The banded range to update with the new properties."
}
},
"type": "object"
@@ -1795,6 +2545,22 @@
"description": "A single grouping (either row or column) in a pivot table.",
"id": "PivotGroup",
"properties": {
+ "sourceColumnOffset": {
+ "description": "The column offset of the source range that this grouping is based on.\n\nFor example, if the source was `C10:E15`, a `sourceColumnOffset` of `0`\nmeans this group refers to column `C`, whereas the offset `1` would refer\nto column `D`.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "showTotals": {
+ "description": "True if the pivot table should include the totals for this grouping.",
+ "type": "boolean"
+ },
+ "valueMetadata": {
+ "description": "Metadata about values in the grouping.",
+ "items": {
+ "$ref": "PivotGroupValueMetadata"
+ },
+ "type": "array"
+ },
"sortOrder": {
"description": "The order the values in this group should be sorted.",
"enum": [
@@ -1812,22 +2578,6 @@
"valueBucket": {
"$ref": "PivotGroupSortValueBucket",
"description": "The bucket of the opposite pivot group to sort by.\nIf not specified, sorting is alphabetical by this group's values."
- },
- "sourceColumnOffset": {
- "description": "The column offset of the source range that this grouping is based on.\n\nFor example, if the source was `C10:E15`, a `sourceColumnOffset` of `0`\nmeans this group refers to column `C`, whereas the offset `1` would refer\nto column `D`.",
- "format": "int32",
- "type": "integer"
- },
- "showTotals": {
- "description": "True if the pivot table should include the totals for this grouping.",
- "type": "boolean"
- },
- "valueMetadata": {
- "description": "Metadata about values in the grouping.",
- "items": {
- "$ref": "PivotGroupValueMetadata"
- },
- "type": "array"
}
},
"type": "object"
@@ -1862,10 +2612,6 @@
],
"type": "string"
},
- "source": {
- "$ref": "GridRange",
- "description": "The range the pivot table is reading data from."
- },
"columns": {
"description": "Each column grouping in the pivot table.",
"items": {
@@ -1879,6 +2625,10 @@
"$ref": "PivotValue"
},
"type": "array"
+ },
+ "source": {
+ "$ref": "GridRange",
+ "description": "The range the pivot table is reading data from."
}
},
"type": "object"
@@ -1897,6 +2647,41 @@
},
"type": "object"
},
+ "ValueRange": {
+ "description": "Data within a range of the spreadsheet.",
+ "id": "ValueRange",
+ "properties": {
+ "majorDimension": {
+ "description": "The major dimension of the values.\n\nFor output, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,\nthen requesting `range=A1:B2,majorDimension=ROWS` will return\n`[[1,2],[3,4]]`,\nwhereas requesting `range=A1:B2,majorDimension=COLUMNS` will return\n`[[1,3],[2,4]]`.\n\nFor input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]`\nwill set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS`\nthen `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`.\n\nWhen writing, if this field is not set, it defaults to ROWS.",
+ "enum": [
+ "DIMENSION_UNSPECIFIED",
+ "ROWS",
+ "COLUMNS"
+ ],
+ "enumDescriptions": [
+ "The default value, do not use.",
+ "Operates on the rows of a sheet.",
+ "Operates on the columns of a sheet."
+ ],
+ "type": "string"
+ },
+ "values": {
+ "description": "The data that was read or to be written. This is an array of arrays,\nthe outer array representing all the data and each inner array\nrepresenting a major dimension. Each item in the inner array\ncorresponds with one cell.\n\nFor output, empty trailing rows and columns will not be included.\n\nFor input, supported value types are: bool, string, and double.\nNull values will be skipped.\nTo set a cell to an empty value, set the string value to an empty string.",
+ "items": {
+ "items": {
+ "type": "any"
+ },
+ "type": "array"
+ },
+ "type": "array"
+ },
+ "range": {
+ "description": "The range the values cover, in A1 notation.\nFor output, this range indicates the entire requested range,\neven though the values will exclude trailing rows and columns.\nWhen appending values, this field represents the range to search for a\ntable, after which values will be appended.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"AppendCellsRequest": {
"description": "Adds new cells after the last row with data in a sheet,\ninserting new rows into the sheet if necessary.",
"id": "AppendCellsRequest",
@@ -1921,41 +2706,6 @@
},
"type": "object"
},
- "ValueRange": {
- "description": "Data within a range of the spreadsheet.",
- "id": "ValueRange",
- "properties": {
- "range": {
- "description": "The range the values cover, in A1 notation.\nFor output, this range indicates the entire requested range,\neven though the values will exclude trailing rows and columns.\nWhen appending values, this field represents the range to search for a\ntable, after which values will be appended.",
- "type": "string"
- },
- "majorDimension": {
- "description": "The major dimension of the values.\n\nFor output, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,\nthen requesting `range=A1:B2,majorDimension=ROWS` will return\n`[[1,2],[3,4]]`,\nwhereas requesting `range=A1:B2,majorDimension=COLUMNS` will return\n`[[1,3],[2,4]]`.\n\nFor input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]`\nwill set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS`\nthen `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`.\n\nWhen writing, if this field is not set, it defaults to ROWS.",
- "enum": [
- "DIMENSION_UNSPECIFIED",
- "ROWS",
- "COLUMNS"
- ],
- "enumDescriptions": [
- "The default value, do not use.",
- "Operates on the rows of a sheet.",
- "Operates on the columns of a sheet."
- ],
- "type": "string"
- },
- "values": {
- "description": "The data that was read or to be written. This is an array of arrays,\nthe outer array representing all the data and each inner array\nrepresenting a major dimension. Each item in the inner array\ncorresponds with one cell.\n\nFor output, empty trailing rows and columns will not be included.\n\nFor input, supported value types are: bool, string, and double.\nNull values will be skipped.\nTo set a cell to an empty value, set the string value to an empty string.",
- "items": {
- "items": {
- "type": "any"
- },
- "type": "array"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"AddBandingRequest": {
"description": "Adds a new banded range to the spreadsheet.",
"id": "AddBandingRequest",
@@ -1971,6 +2721,14 @@
"description": "A single response from an update.",
"id": "Response",
"properties": {
+ "addProtectedRange": {
+ "$ref": "AddProtectedRangeResponse",
+ "description": "A reply from adding a protected range."
+ },
+ "duplicateSheet": {
+ "$ref": "DuplicateSheetResponse",
+ "description": "A reply from duplicating a sheet."
+ },
"updateEmbeddedObjectPosition": {
"$ref": "UpdateEmbeddedObjectPositionResponse",
"description": "A reply from updating an embedded object's position."
@@ -2010,50 +2768,6 @@
"addBanding": {
"$ref": "AddBandingResponse",
"description": "A reply from adding a banded range."
- },
- "addProtectedRange": {
- "$ref": "AddProtectedRangeResponse",
- "description": "A reply from adding a protected range."
- },
- "duplicateSheet": {
- "$ref": "DuplicateSheetResponse",
- "description": "A reply from duplicating a sheet."
- }
- },
- "type": "object"
- },
- "EmbeddedChart": {
- "description": "A chart embedded in a sheet.",
- "id": "EmbeddedChart",
- "properties": {
- "chartId": {
- "description": "The ID of the chart.",
- "format": "int32",
- "type": "integer"
- },
- "position": {
- "$ref": "EmbeddedObjectPosition",
- "description": "The position of the chart."
- },
- "spec": {
- "$ref": "ChartSpec",
- "description": "The specification of the chart."
- }
- },
- "type": "object"
- },
- "TextFormatRun": {
- "description": "A run of a text format. The format of this run continues until the start\nindex of the next run.\nWhen updating, all fields must be set.",
- "id": "TextFormatRun",
- "properties": {
- "startIndex": {
- "description": "The character index where this run starts.",
- "format": "int32",
- "type": "integer"
- },
- "format": {
- "$ref": "TextFormat",
- "description": "The format of this run. Absent values inherit the cell's format."
}
},
"type": "object"
@@ -2062,6 +2776,10 @@
"description": "Inserts cells into a range, shifting the existing cells over or down.",
"id": "InsertRangeRequest",
"properties": {
+ "range": {
+ "$ref": "GridRange",
+ "description": "The range to insert new cells into."
+ },
"shiftDimension": {
"description": "The dimension which will be shifted when inserting cells.\nIf ROWS, existing cells will be shifted down.\nIf COLUMNS, existing cells will be shifted right.",
"enum": [
@@ -2075,10 +2793,42 @@
"Operates on the columns of a sheet."
],
"type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "EmbeddedChart": {
+ "description": "A chart embedded in a sheet.",
+ "id": "EmbeddedChart",
+ "properties": {
+ "spec": {
+ "$ref": "ChartSpec",
+ "description": "The specification of the chart."
},
- "range": {
- "$ref": "GridRange",
- "description": "The range to insert new cells into."
+ "chartId": {
+ "description": "The ID of the chart.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "position": {
+ "$ref": "EmbeddedObjectPosition",
+ "description": "The position of the chart."
+ }
+ },
+ "type": "object"
+ },
+ "TextFormatRun": {
+ "description": "A run of a text format. The format of this run continues until the start\nindex of the next run.\nWhen updating, all fields must be set.",
+ "id": "TextFormatRun",
+ "properties": {
+ "format": {
+ "$ref": "TextFormat",
+ "description": "The format of this run. Absent values inherit the cell's format."
+ },
+ "startIndex": {
+ "description": "The character index where this run starts.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -2108,6 +2858,44 @@
},
"type": "object"
},
+ "GridData": {
+ "description": "Data in the grid, as well as metadata about the dimensions.",
+ "id": "GridData",
+ "properties": {
+ "columnMetadata": {
+ "description": "Metadata about the requested columns in the grid, starting with the column\nin start_column.",
+ "items": {
+ "$ref": "DimensionProperties"
+ },
+ "type": "array"
+ },
+ "startColumn": {
+ "description": "The first column this GridData refers to, zero-based.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "rowMetadata": {
+ "description": "Metadata about the requested rows in the grid, starting with the row\nin start_row.",
+ "items": {
+ "$ref": "DimensionProperties"
+ },
+ "type": "array"
+ },
+ "rowData": {
+ "description": "The data in the grid, one entry per row,\nstarting with the row in startRow.\nThe values in RowData will correspond to columns starting\nat start_column.",
+ "items": {
+ "$ref": "RowData"
+ },
+ "type": "array"
+ },
+ "startRow": {
+ "description": "The first row this GridData refers to, zero-based.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
"Border": {
"description": "A border along a cell.",
"id": "Border",
@@ -2148,44 +2936,6 @@
},
"type": "object"
},
- "GridData": {
- "description": "Data in the grid, as well as metadata about the dimensions.",
- "id": "GridData",
- "properties": {
- "startRow": {
- "description": "The first row this GridData refers to, zero-based.",
- "format": "int32",
- "type": "integer"
- },
- "columnMetadata": {
- "description": "Metadata about the requested columns in the grid, starting with the column\nin start_column.",
- "items": {
- "$ref": "DimensionProperties"
- },
- "type": "array"
- },
- "startColumn": {
- "description": "The first column this GridData refers to, zero-based.",
- "format": "int32",
- "type": "integer"
- },
- "rowMetadata": {
- "description": "Metadata about the requested rows in the grid, starting with the row\nin start_row.",
- "items": {
- "$ref": "DimensionProperties"
- },
- "type": "array"
- },
- "rowData": {
- "description": "The data in the grid, one entry per row,\nstarting with the row in startRow.\nThe values in RowData will correspond to columns starting\nat start_column.",
- "items": {
- "$ref": "RowData"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"UpdateNamedRangeRequest": {
"description": "Updates properties of the named range with the specified\nnamedRangeId.",
"id": "UpdateNamedRangeRequest",
@@ -2206,14 +2956,6 @@
"description": "Finds and replaces data in cells over a range, sheet, or all sheets.",
"id": "FindReplaceRequest",
"properties": {
- "matchCase": {
- "description": "True if the search is case sensitive.",
- "type": "boolean"
- },
- "allSheets": {
- "description": "True to find/replace over all sheets.",
- "type": "boolean"
- },
"includeFormulas": {
"description": "True if the search should include cells with formulas.\nFalse to skip cells with formulas.",
"type": "boolean"
@@ -2222,14 +2964,14 @@
"description": "True if the find value should match the entire cell.",
"type": "boolean"
},
- "find": {
- "description": "The value to search.",
- "type": "string"
- },
"searchByRegex": {
"description": "True if the find value is a regex.\nThe regular expression and replacement should follow Java regex rules\nat https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html.\nThe replacement string is allowed to refer to capturing groups.\nFor example, if one cell has the contents `\"Google Sheets\"` and another\nhas `\"Google Docs\"`, then searching for `\"o.* (.*)\"` with a replacement of\n`\"$1 Rocks\"` would change the contents of the cells to\n`\"GSheets Rocks\"` and `\"GDocs Rocks\"` respectively.",
"type": "boolean"
},
+ "find": {
+ "description": "The value to search.",
+ "type": "string"
+ },
"replacement": {
"description": "The value to use as the replacement.",
"type": "string"
@@ -2242,6 +2984,14 @@
"description": "The sheet to find/replace over.",
"format": "int32",
"type": "integer"
+ },
+ "allSheets": {
+ "description": "True to find/replace over all sheets.",
+ "type": "boolean"
+ },
+ "matchCase": {
+ "description": "True if the search is case sensitive.",
+ "type": "boolean"
}
},
"type": "object"
@@ -2261,6 +3011,10 @@
"description": "Updates all cells in a range with new data.",
"id": "UpdateCellsRequest",
"properties": {
+ "start": {
+ "$ref": "GridCoordinate",
+ "description": "The coordinate to start writing data at.\nAny number of rows and columns (including a different number of\ncolumns per row) may be written."
+ },
"range": {
"$ref": "GridRange",
"description": "The range to write data to.\n\nIf the data in rows does not cover the entire requested range,\nthe fields matching those set in fields will be cleared."
@@ -2276,10 +3030,6 @@
"description": "The fields of CellData that should be updated.\nAt least one field must be specified.\nThe root is the CellData; 'row.values.' should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.",
"format": "google-fieldmask",
"type": "string"
- },
- "start": {
- "$ref": "GridCoordinate",
- "description": "The coordinate to start writing data at.\nAny number of rows and columns (including a different number of\ncolumns per row) may be written."
}
},
"type": "object"
@@ -2373,11 +3123,6 @@
"description": "Properties of a grid.",
"id": "GridProperties",
"properties": {
- "rowCount": {
- "description": "The number of rows in the grid.",
- "format": "int32",
- "type": "integer"
- },
"frozenRowCount": {
"description": "The number of rows that are frozen in the grid.",
"format": "int32",
@@ -2396,6 +3141,75 @@
"description": "The number of columns that are frozen in the grid.",
"format": "int32",
"type": "integer"
+ },
+ "rowCount": {
+ "description": "The number of rows in the grid.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "Sheet": {
+ "description": "A sheet in a spreadsheet.",
+ "id": "Sheet",
+ "properties": {
+ "data": {
+ "description": "Data in the grid, if this is a grid sheet.\nThe number of GridData objects returned is dependent on the number of\nranges requested on this sheet. For example, if this is representing\n`Sheet1`, and the spreadsheet was requested with ranges\n`Sheet1!A1:C10` and `Sheet1!D15:E20`, then the first GridData will have a\nstartRow/startColumn of `0`,\nwhile the second one will have `startRow 14` (zero-based row 15),\nand `startColumn 3` (zero-based column D).",
+ "items": {
+ "$ref": "GridData"
+ },
+ "type": "array"
+ },
+ "bandedRanges": {
+ "description": "The banded (i.e. alternating colors) ranges on this sheet.",
+ "items": {
+ "$ref": "BandedRange"
+ },
+ "type": "array"
+ },
+ "properties": {
+ "$ref": "SheetProperties",
+ "description": "The properties of the sheet."
+ },
+ "charts": {
+ "description": "The specifications of every chart on this sheet.",
+ "items": {
+ "$ref": "EmbeddedChart"
+ },
+ "type": "array"
+ },
+ "filterViews": {
+ "description": "The filter views in this sheet.",
+ "items": {
+ "$ref": "FilterView"
+ },
+ "type": "array"
+ },
+ "protectedRanges": {
+ "description": "The protected ranges in this sheet.",
+ "items": {
+ "$ref": "ProtectedRange"
+ },
+ "type": "array"
+ },
+ "conditionalFormats": {
+ "description": "The conditional format rules in this sheet.",
+ "items": {
+ "$ref": "ConditionalFormatRule"
+ },
+ "type": "array"
+ },
+ "basicFilter": {
+ "$ref": "BasicFilter",
+ "description": "The filter on this sheet, if any."
+ },
+ "merges": {
+ "description": "The ranges that are merged together.",
+ "items": {
+ "$ref": "GridRange"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -2437,70 +3251,6 @@
},
"type": "object"
},
- "Sheet": {
- "description": "A sheet in a spreadsheet.",
- "id": "Sheet",
- "properties": {
- "bandedRanges": {
- "description": "The banded (i.e. alternating colors) ranges on this sheet.",
- "items": {
- "$ref": "BandedRange"
- },
- "type": "array"
- },
- "properties": {
- "$ref": "SheetProperties",
- "description": "The properties of the sheet."
- },
- "charts": {
- "description": "The specifications of every chart on this sheet.",
- "items": {
- "$ref": "EmbeddedChart"
- },
- "type": "array"
- },
- "filterViews": {
- "description": "The filter views in this sheet.",
- "items": {
- "$ref": "FilterView"
- },
- "type": "array"
- },
- "conditionalFormats": {
- "description": "The conditional format rules in this sheet.",
- "items": {
- "$ref": "ConditionalFormatRule"
- },
- "type": "array"
- },
- "protectedRanges": {
- "description": "The protected ranges in this sheet.",
- "items": {
- "$ref": "ProtectedRange"
- },
- "type": "array"
- },
- "basicFilter": {
- "$ref": "BasicFilter",
- "description": "The filter on this sheet, if any."
- },
- "merges": {
- "description": "The ranges that are merged together.",
- "items": {
- "$ref": "GridRange"
- },
- "type": "array"
- },
- "data": {
- "description": "Data in the grid, if this is a grid sheet.\nThe number of GridData objects returned is dependent on the number of\nranges requested on this sheet. For example, if this is representing\n`Sheet1`, and the spreadsheet was requested with ranges\n`Sheet1!A1:C10` and `Sheet1!D15:E20`, then the first GridData will have a\nstartRow/startColumn of `0`,\nwhile the second one will have `startRow 14` (zero-based row 15),\nand `startColumn 3` (zero-based column D).",
- "items": {
- "$ref": "GridData"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"BooleanRule": {
"description": "A rule that may or may not match, depending on the condition.",
"id": "BooleanRule",
@@ -2516,6 +3266,21 @@
},
"type": "object"
},
+ "PivotGroupValueMetadata": {
+ "description": "Metadata about a value in a pivot grouping.",
+ "id": "PivotGroupValueMetadata",
+ "properties": {
+ "value": {
+ "$ref": "ExtendedValue",
+ "description": "The calculated value the metadata corresponds to.\n(Note that formulaValue is not valid,\n because the values will be calculated.)"
+ },
+ "collapsed": {
+ "description": "True if the data corresponding to the value is collapsed.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"FilterCriteria": {
"description": "Criteria for showing/hiding rows in a filter or filter view.",
"id": "FilterCriteria",
@@ -2534,21 +3299,6 @@
},
"type": "object"
},
- "PivotGroupValueMetadata": {
- "description": "Metadata about a value in a pivot grouping.",
- "id": "PivotGroupValueMetadata",
- "properties": {
- "collapsed": {
- "description": "True if the data corresponding to the value is collapsed.",
- "type": "boolean"
- },
- "value": {
- "$ref": "ExtendedValue",
- "description": "The calculated value the metadata corresponds to.\n(Note that formulaValue is not valid,\n because the values will be calculated.)"
- }
- },
- "type": "object"
- },
"Editors": {
"description": "The editors of a protected range.",
"id": "Editors",
@@ -2578,10 +3328,6 @@
"description": "Updates a conditional format rule at the given index,\nor moves a conditional format rule to another index.",
"id": "UpdateConditionalFormatRuleRequest",
"properties": {
- "rule": {
- "$ref": "ConditionalFormatRule",
- "description": "The rule that should replace the rule at the given index."
- },
"index": {
"description": "The zero-based index of the rule that should be replaced or moved.",
"format": "int32",
@@ -2596,6 +3342,10 @@
"description": "The zero-based new index the rule should end up at.",
"format": "int32",
"type": "integer"
+ },
+ "rule": {
+ "$ref": "ConditionalFormatRule",
+ "description": "The rule that should replace the rule at the given index."
}
},
"type": "object"
@@ -2615,10 +3365,6 @@
"description": "A data validation rule.",
"id": "DataValidationRule",
"properties": {
- "condition": {
- "$ref": "BooleanCondition",
- "description": "The condition that data in the cell must match."
- },
"showCustomUi": {
"description": "True if the UI should be customized based on the kind of condition.\nIf true, \"List\" conditions will show a dropdown.",
"type": "boolean"
@@ -2630,6 +3376,10 @@
"inputMessage": {
"description": "A message to show the user when adding data to the cell.",
"type": "string"
+ },
+ "condition": {
+ "$ref": "BooleanCondition",
+ "description": "The condition that data in the cell must match."
}
},
"type": "object"
@@ -2683,16 +3433,6 @@
"description": "Appends rows or columns to the end of a sheet.",
"id": "AppendDimensionRequest",
"properties": {
- "length": {
- "description": "The number of rows or columns to append.",
- "format": "int32",
- "type": "integer"
- },
- "sheetId": {
- "description": "The sheet to append rows or columns to.",
- "format": "int32",
- "type": "integer"
- },
"dimension": {
"description": "Whether rows or columns should be appended.",
"enum": [
@@ -2706,6 +3446,16 @@
"Operates on the columns of a sheet."
],
"type": "string"
+ },
+ "length": {
+ "description": "The number of rows or columns to append.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "sheetId": {
+ "description": "The sheet to append rows or columns to.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -2725,6 +3475,11 @@
"description": "Update an embedded object's position (such as a moving or resizing a\nchart or image).",
"id": "UpdateEmbeddedObjectPositionRequest",
"properties": {
+ "fields": {
+ "description": "The fields of OverlayPosition\nthat should be updated when setting a new position. Used only if\nnewPosition.overlayPosition\nis set, in which case at least one field must\nbe specified. The root `newPosition.overlayPosition` is implied and\nshould not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.",
+ "format": "google-fieldmask",
+ "type": "string"
+ },
"objectId": {
"description": "The ID of the object to moved.",
"format": "int32",
@@ -2733,11 +3488,22 @@
"newPosition": {
"$ref": "EmbeddedObjectPosition",
"description": "An explicit position to move the embedded object to.\nIf newPosition.sheetId is set,\na new sheet with that ID will be created.\nIf newPosition.newSheet is set to true,\na new sheet will be created with an ID that will be chosen for you."
+ }
+ },
+ "type": "object"
+ },
+ "TextRotation": {
+ "description": "The rotation applied to text in a cell.",
+ "id": "TextRotation",
+ "properties": {
+ "angle": {
+ "description": "The angle between the standard orientation and the desired orientation.\nMeasured in degrees. Valid values are between -90 and 90. Positive\nangles are angled upwards, negative are angled downwards.\n\nNote: For LTR text direction positive angles are in the counterclockwise\ndirection, whereas for RTL they are in the clockwise direction",
+ "format": "int32",
+ "type": "integer"
},
- "fields": {
- "description": "The fields of OverlayPosition\nthat should be updated when setting a new position. Used only if\nnewPosition.overlayPosition\nis set, in which case at least one field must\nbe specified. The root `newPosition.overlayPosition` is implied and\nshould not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.",
- "format": "google-fieldmask",
- "type": "string"
+ "vertical": {
+ "description": "If true, text reads top to bottom, but the orientation of individual\ncharacters is unchanged.\nFor example:\n\n | V |\n | e |\n | r |\n | t |\n | i |\n | c |\n | a |\n | l |",
+ "type": "boolean"
}
},
"type": "object"
@@ -2830,22 +3596,6 @@
"description": "Copies data from the source to the destination.",
"id": "CopyPasteRequest",
"properties": {
- "destination": {
- "$ref": "GridRange",
- "description": "The location to paste to. If the range covers a span that's\na multiple of the source's height or width, then the\ndata will be repeated to fill in the destination range.\nIf the range is smaller than the source range, the entire\nsource data will still be copied (beyond the end of the destination range)."
- },
- "pasteOrientation": {
- "description": "How that data should be oriented when pasting.",
- "enum": [
- "NORMAL",
- "TRANSPOSE"
- ],
- "enumDescriptions": [
- "Paste normally.",
- "Paste transposed, where all rows become columns and vice versa."
- ],
- "type": "string"
- },
"source": {
"$ref": "GridRange",
"description": "The source range to copy."
@@ -2871,6 +3621,22 @@
"Paste the conditional formatting rules only."
],
"type": "string"
+ },
+ "destination": {
+ "$ref": "GridRange",
+ "description": "The location to paste to. If the range covers a span that's\na multiple of the source's height or width, then the\ndata will be repeated to fill in the destination range.\nIf the range is smaller than the source range, the entire\nsource data will still be copied (beyond the end of the destination range)."
+ },
+ "pasteOrientation": {
+ "description": "How that data should be oriented when pasting.",
+ "enum": [
+ "NORMAL",
+ "TRANSPOSE"
+ ],
+ "enumDescriptions": [
+ "Paste normally.",
+ "Paste transposed, where all rows become columns and vice versa."
+ ],
+ "type": "string"
}
},
"type": "object"
@@ -2959,6 +3725,130 @@
"description": "A single kind of update to apply to a spreadsheet.",
"id": "Request",
"properties": {
+ "moveDimension": {
+ "$ref": "MoveDimensionRequest",
+ "description": "Moves rows or columns to another location in a sheet."
+ },
+ "updateBanding": {
+ "$ref": "UpdateBandingRequest",
+ "description": "Updates a banded range"
+ },
+ "deleteNamedRange": {
+ "$ref": "DeleteNamedRangeRequest",
+ "description": "Deletes a named range."
+ },
+ "addProtectedRange": {
+ "$ref": "AddProtectedRangeRequest",
+ "description": "Adds a protected range."
+ },
+ "duplicateSheet": {
+ "$ref": "DuplicateSheetRequest",
+ "description": "Duplicates a sheet."
+ },
+ "unmergeCells": {
+ "$ref": "UnmergeCellsRequest",
+ "description": "Unmerges merged cells."
+ },
+ "deleteSheet": {
+ "$ref": "DeleteSheetRequest",
+ "description": "Deletes a sheet."
+ },
+ "updateEmbeddedObjectPosition": {
+ "$ref": "UpdateEmbeddedObjectPositionRequest",
+ "description": "Updates an embedded object's (e.g. chart, image) position."
+ },
+ "updateDimensionProperties": {
+ "$ref": "UpdateDimensionPropertiesRequest",
+ "description": "Updates dimensions' properties."
+ },
+ "pasteData": {
+ "$ref": "PasteDataRequest",
+ "description": "Pastes data (HTML or delimited) into a sheet."
+ },
+ "setBasicFilter": {
+ "$ref": "SetBasicFilterRequest",
+ "description": "Sets the basic filter on a sheet."
+ },
+ "addConditionalFormatRule": {
+ "$ref": "AddConditionalFormatRuleRequest",
+ "description": "Adds a new conditional format rule."
+ },
+ "updateCells": {
+ "$ref": "UpdateCellsRequest",
+ "description": "Updates many cells at once."
+ },
+ "addNamedRange": {
+ "$ref": "AddNamedRangeRequest",
+ "description": "Adds a named range."
+ },
+ "updateSpreadsheetProperties": {
+ "$ref": "UpdateSpreadsheetPropertiesRequest",
+ "description": "Updates the spreadsheet's properties."
+ },
+ "deleteEmbeddedObject": {
+ "$ref": "DeleteEmbeddedObjectRequest",
+ "description": "Deletes an embedded object (e.g, chart, image) in a sheet."
+ },
+ "updateFilterView": {
+ "$ref": "UpdateFilterViewRequest",
+ "description": "Updates the properties of a filter view."
+ },
+ "addBanding": {
+ "$ref": "AddBandingRequest",
+ "description": "Adds a new banded range"
+ },
+ "appendCells": {
+ "$ref": "AppendCellsRequest",
+ "description": "Appends cells after the last row with data in a sheet."
+ },
+ "autoResizeDimensions": {
+ "$ref": "AutoResizeDimensionsRequest",
+ "description": "Automatically resizes one or more dimensions based on the contents\nof the cells in that dimension."
+ },
+ "cutPaste": {
+ "$ref": "CutPasteRequest",
+ "description": "Cuts data from one area and pastes it to another."
+ },
+ "mergeCells": {
+ "$ref": "MergeCellsRequest",
+ "description": "Merges cells together."
+ },
+ "updateNamedRange": {
+ "$ref": "UpdateNamedRangeRequest",
+ "description": "Updates a named range."
+ },
+ "updateSheetProperties": {
+ "$ref": "UpdateSheetPropertiesRequest",
+ "description": "Updates a sheet's properties."
+ },
+ "autoFill": {
+ "$ref": "AutoFillRequest",
+ "description": "Automatically fills in more data based on existing data."
+ },
+ "deleteDimension": {
+ "$ref": "DeleteDimensionRequest",
+ "description": "Deletes rows or columns in a sheet."
+ },
+ "sortRange": {
+ "$ref": "SortRangeRequest",
+ "description": "Sorts data in a range."
+ },
+ "deleteProtectedRange": {
+ "$ref": "DeleteProtectedRangeRequest",
+ "description": "Deletes a protected range."
+ },
+ "duplicateFilterView": {
+ "$ref": "DuplicateFilterViewRequest",
+ "description": "Duplicates a filter view."
+ },
+ "addChart": {
+ "$ref": "AddChartRequest",
+ "description": "Adds a chart."
+ },
+ "findReplace": {
+ "$ref": "FindReplaceRequest",
+ "description": "Finds and replaces occurrences of some text with other text."
+ },
"textToColumns": {
"$ref": "TextToColumnsRequest",
"description": "Converts a column of text into many columns of text."
@@ -2967,14 +3857,14 @@
"$ref": "UpdateChartSpecRequest",
"description": "Updates a chart's specifications."
},
- "updateProtectedRange": {
- "$ref": "UpdateProtectedRangeRequest",
- "description": "Updates a protected range."
- },
"addSheet": {
"$ref": "AddSheetRequest",
"description": "Adds a sheet."
},
+ "updateProtectedRange": {
+ "$ref": "UpdateProtectedRangeRequest",
+ "description": "Updates a protected range."
+ },
"deleteFilterView": {
"$ref": "DeleteFilterViewRequest",
"description": "Deletes a filter view from a sheet."
@@ -3030,130 +3920,6 @@
"insertRange": {
"$ref": "InsertRangeRequest",
"description": "Inserts new cells in a sheet, shifting the existing cells."
- },
- "moveDimension": {
- "$ref": "MoveDimensionRequest",
- "description": "Moves rows or columns to another location in a sheet."
- },
- "updateBanding": {
- "$ref": "UpdateBandingRequest",
- "description": "Updates a banded range"
- },
- "addProtectedRange": {
- "$ref": "AddProtectedRangeRequest",
- "description": "Adds a protected range."
- },
- "deleteNamedRange": {
- "$ref": "DeleteNamedRangeRequest",
- "description": "Deletes a named range."
- },
- "duplicateSheet": {
- "$ref": "DuplicateSheetRequest",
- "description": "Duplicates a sheet."
- },
- "deleteSheet": {
- "$ref": "DeleteSheetRequest",
- "description": "Deletes a sheet."
- },
- "unmergeCells": {
- "$ref": "UnmergeCellsRequest",
- "description": "Unmerges merged cells."
- },
- "updateEmbeddedObjectPosition": {
- "$ref": "UpdateEmbeddedObjectPositionRequest",
- "description": "Updates an embedded object's (e.g. chart, image) position."
- },
- "updateDimensionProperties": {
- "$ref": "UpdateDimensionPropertiesRequest",
- "description": "Updates dimensions' properties."
- },
- "pasteData": {
- "$ref": "PasteDataRequest",
- "description": "Pastes data (HTML or delimited) into a sheet."
- },
- "setBasicFilter": {
- "$ref": "SetBasicFilterRequest",
- "description": "Sets the basic filter on a sheet."
- },
- "addConditionalFormatRule": {
- "$ref": "AddConditionalFormatRuleRequest",
- "description": "Adds a new conditional format rule."
- },
- "updateCells": {
- "$ref": "UpdateCellsRequest",
- "description": "Updates many cells at once."
- },
- "addNamedRange": {
- "$ref": "AddNamedRangeRequest",
- "description": "Adds a named range."
- },
- "updateSpreadsheetProperties": {
- "$ref": "UpdateSpreadsheetPropertiesRequest",
- "description": "Updates the spreadsheet's properties."
- },
- "deleteEmbeddedObject": {
- "$ref": "DeleteEmbeddedObjectRequest",
- "description": "Deletes an embedded object (e.g, chart, image) in a sheet."
- },
- "updateFilterView": {
- "$ref": "UpdateFilterViewRequest",
- "description": "Updates the properties of a filter view."
- },
- "addBanding": {
- "$ref": "AddBandingRequest",
- "description": "Adds a new banded range"
- },
- "autoResizeDimensions": {
- "$ref": "AutoResizeDimensionsRequest",
- "description": "Automatically resizes one or more dimensions based on the contents\nof the cells in that dimension."
- },
- "appendCells": {
- "$ref": "AppendCellsRequest",
- "description": "Appends cells after the last row with data in a sheet."
- },
- "cutPaste": {
- "$ref": "CutPasteRequest",
- "description": "Cuts data from one area and pastes it to another."
- },
- "mergeCells": {
- "$ref": "MergeCellsRequest",
- "description": "Merges cells together."
- },
- "updateNamedRange": {
- "$ref": "UpdateNamedRangeRequest",
- "description": "Updates a named range."
- },
- "updateSheetProperties": {
- "$ref": "UpdateSheetPropertiesRequest",
- "description": "Updates a sheet's properties."
- },
- "deleteDimension": {
- "$ref": "DeleteDimensionRequest",
- "description": "Deletes rows or columns in a sheet."
- },
- "autoFill": {
- "$ref": "AutoFillRequest",
- "description": "Automatically fills in more data based on existing data."
- },
- "sortRange": {
- "$ref": "SortRangeRequest",
- "description": "Sorts data in a range."
- },
- "deleteProtectedRange": {
- "$ref": "DeleteProtectedRangeRequest",
- "description": "Deletes a protected range."
- },
- "duplicateFilterView": {
- "$ref": "DuplicateFilterViewRequest",
- "description": "Duplicates a filter view."
- },
- "addChart": {
- "$ref": "AddChartRequest",
- "description": "Adds a chart."
- },
- "findReplace": {
- "$ref": "FindReplaceRequest",
- "description": "Finds and replaces occurrences of some text with other text."
}
},
"type": "object"
@@ -3194,6 +3960,33 @@
"description": "The specification for a basic chart. See BasicChartType for the list\nof charts this supports.",
"id": "BasicChartSpec",
"properties": {
+ "legendPosition": {
+ "description": "The position of the chart legend.",
+ "enum": [
+ "BASIC_CHART_LEGEND_POSITION_UNSPECIFIED",
+ "BOTTOM_LEGEND",
+ "LEFT_LEGEND",
+ "RIGHT_LEGEND",
+ "TOP_LEGEND",
+ "NO_LEGEND"
+ ],
+ "enumDescriptions": [
+ "Default value, do not use.",
+ "The legend is rendered on the bottom of the chart.",
+ "The legend is rendered on the left of the chart.",
+ "The legend is rendered on the right of the chart.",
+ "The legend is rendered on the top of the chart.",
+ "No legend is rendered."
+ ],
+ "type": "string"
+ },
+ "domains": {
+ "description": "The domain of data this is charting.\nOnly a single domain is currently supported.",
+ "items": {
+ "$ref": "BasicChartDomain"
+ },
+ "type": "array"
+ },
"headerCount": {
"description": "The number of rows or columns in the data that are \"headers\".\nIf not set, Google Sheets will guess how many rows are headers based\non the data.\n\n(Note that BasicChartAxis.title may override the axis title\n inferred from the header values.)",
"format": "int32",
@@ -3234,33 +4027,6 @@
"$ref": "BasicChartSeries"
},
"type": "array"
- },
- "legendPosition": {
- "description": "The position of the chart legend.",
- "enum": [
- "BASIC_CHART_LEGEND_POSITION_UNSPECIFIED",
- "BOTTOM_LEGEND",
- "LEFT_LEGEND",
- "RIGHT_LEGEND",
- "TOP_LEGEND",
- "NO_LEGEND"
- ],
- "enumDescriptions": [
- "Default value, do not use.",
- "The legend is rendered on the bottom of the chart.",
- "The legend is rendered on the left of the chart.",
- "The legend is rendered on the right of the chart.",
- "The legend is rendered on the top of the chart.",
- "No legend is rendered."
- ],
- "type": "string"
- },
- "domains": {
- "description": "The domain of data this is charting.\nOnly a single domain is currently supported.",
- "items": {
- "$ref": "BasicChartDomain"
- },
- "type": "array"
}
},
"type": "object"
@@ -3284,21 +4050,6 @@
"description": "Data about a specific cell.",
"id": "CellData",
"properties": {
- "formattedValue": {
- "description": "The formatted value of the cell.\nThis is the value as it's shown to the user.\nThis field is read-only.",
- "type": "string"
- },
- "textFormatRuns": {
- "description": "Runs of rich text applied to subsections of the cell. Runs are only valid\non user entered strings, not formulas, bools, or numbers.\nRuns start at specific indexes in the text and continue until the next\nrun. Properties of a run will continue unless explicitly changed\nin a subsequent run (and properties of the first run will continue\nthe properties of the cell unless explicitly changed).\n\nWhen writing, the new runs will overwrite any prior runs. When writing a\nnew user_entered_value, previous runs will be erased.",
- "items": {
- "$ref": "TextFormatRun"
- },
- "type": "array"
- },
- "hyperlink": {
- "description": "A hyperlink this cell points to, if any.\nThis field is read-only. (To set it, use a `=HYPERLINK` formula.)",
- "type": "string"
- },
"pivotTable": {
"$ref": "PivotTable",
"description": "A pivot table anchored at this cell. The size of pivot table itself\nis computed dynamically based on its data, grouping, filters, values,\netc. Only the top-left cell of the pivot table contains the pivot table\ndefinition. The other cells will contain the calculated values of the\nresults of the pivot in their effective_value fields."
@@ -3326,6 +4077,21 @@
"effectiveValue": {
"$ref": "ExtendedValue",
"description": "The effective value of the cell. For cells with formulas, this will be\nthe calculated value. For cells with literals, this will be\nthe same as the user_entered_value.\nThis field is read-only."
+ },
+ "formattedValue": {
+ "description": "The formatted value of the cell.\nThis is the value as it's shown to the user.\nThis field is read-only.",
+ "type": "string"
+ },
+ "textFormatRuns": {
+ "description": "Runs of rich text applied to subsections of the cell. Runs are only valid\non user entered strings, not formulas, bools, or numbers.\nRuns start at specific indexes in the text and continue until the next\nrun. Properties of a run will continue unless explicitly changed\nin a subsequent run (and properties of the first run will continue\nthe properties of the cell unless explicitly changed).\n\nWhen writing, the new runs will overwrite any prior runs. When writing a\nnew user_entered_value, previous runs will be erased.",
+ "items": {
+ "$ref": "TextFormatRun"
+ },
+ "type": "array"
+ },
+ "hyperlink": {
+ "description": "A hyperlink this cell points to, if any.\nThis field is read-only. (To set it, use a `=HYPERLINK` formula.)",
+ "type": "string"
}
},
"type": "object"
@@ -3359,14 +4125,37 @@
},
"type": "object"
},
+ "Padding": {
+ "description": "The amount of padding around the cell, in pixels.\nWhen updating padding, every field must be specified.",
+ "id": "Padding",
+ "properties": {
+ "left": {
+ "description": "The left padding of the cell.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "right": {
+ "description": "The right padding of the cell.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "bottom": {
+ "description": "The bottom padding of the cell.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "top": {
+ "description": "The top padding of the cell.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
"BasicChartAxis": {
"description": "An axis of the chart.\nA chart may not have more than one axis per\naxis position.",
"id": "BasicChartAxis",
"properties": {
- "format": {
- "$ref": "TextFormat",
- "description": "The format of the title.\nOnly valid if the axis is not associated with the domain."
- },
"position": {
"description": "The position of this axis.",
"enum": [
@@ -3386,33 +4175,10 @@
"title": {
"description": "The title of this axis. If set, this overrides any title inferred\nfrom headers of the data.",
"type": "string"
- }
- },
- "type": "object"
- },
- "Padding": {
- "description": "The amount of padding around the cell, in pixels.\nWhen updating padding, every field must be specified.",
- "id": "Padding",
- "properties": {
- "top": {
- "description": "The top padding of the cell.",
- "format": "int32",
- "type": "integer"
},
- "left": {
- "description": "The left padding of the cell.",
- "format": "int32",
- "type": "integer"
- },
- "right": {
- "description": "The right padding of the cell.",
- "format": "int32",
- "type": "integer"
- },
- "bottom": {
- "description": "The bottom padding of the cell.",
- "format": "int32",
- "type": "integer"
+ "format": {
+ "$ref": "TextFormat",
+ "description": "The format of the title.\nOnly valid if the axis is not associated with the domain."
}
},
"type": "object"
@@ -3427,752 +4193,6 @@
}
},
"type": "object"
- },
- "UpdateChartSpecRequest": {
- "description": "Updates a chart's specifications.\n(This does not move or resize a chart. To move or resize a chart, use\n UpdateEmbeddedObjectPositionRequest.)",
- "id": "UpdateChartSpecRequest",
- "properties": {
- "chartId": {
- "description": "The ID of the chart to update.",
- "format": "int32",
- "type": "integer"
- },
- "spec": {
- "$ref": "ChartSpec",
- "description": "The specification to apply to the chart."
- }
- },
- "type": "object"
- },
- "DeleteFilterViewRequest": {
- "description": "Deletes a particular filter view.",
- "id": "DeleteFilterViewRequest",
- "properties": {
- "filterId": {
- "description": "The ID of the filter to delete.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "BatchUpdateValuesResponse": {
- "description": "The response when updating a range of values in a spreadsheet.",
- "id": "BatchUpdateValuesResponse",
- "properties": {
- "totalUpdatedRows": {
- "description": "The total number of rows where at least one cell in the row was updated.",
- "format": "int32",
- "type": "integer"
- },
- "responses": {
- "description": "One UpdateValuesResponse per requested range, in the same order as\nthe requests appeared.",
- "items": {
- "$ref": "UpdateValuesResponse"
- },
- "type": "array"
- },
- "totalUpdatedSheets": {
- "description": "The total number of sheets where at least one cell in the sheet was\nupdated.",
- "format": "int32",
- "type": "integer"
- },
- "totalUpdatedCells": {
- "description": "The total number of cells updated.",
- "format": "int32",
- "type": "integer"
- },
- "totalUpdatedColumns": {
- "description": "The total number of columns where at least one cell in the column was\nupdated.",
- "format": "int32",
- "type": "integer"
- },
- "spreadsheetId": {
- "description": "The spreadsheet the updates were applied to.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SortRangeRequest": {
- "description": "Sorts data in rows based on a sort order per column.",
- "id": "SortRangeRequest",
- "properties": {
- "range": {
- "$ref": "GridRange",
- "description": "The range to sort."
- },
- "sortSpecs": {
- "description": "The sort order per column. Later specifications are used when values\nare equal in the earlier specifications.",
- "items": {
- "$ref": "SortSpec"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "MergeCellsRequest": {
- "description": "Merges all cells in the range.",
- "id": "MergeCellsRequest",
- "properties": {
- "range": {
- "$ref": "GridRange",
- "description": "The range of cells to merge."
- },
- "mergeType": {
- "description": "How the cells should be merged.",
- "enum": [
- "MERGE_ALL",
- "MERGE_COLUMNS",
- "MERGE_ROWS"
- ],
- "enumDescriptions": [
- "Create a single merge from the range",
- "Create a merge for each column in the range",
- "Create a merge for each row in the range"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "AddProtectedRangeRequest": {
- "description": "Adds a new protected range.",
- "id": "AddProtectedRangeRequest",
- "properties": {
- "protectedRange": {
- "$ref": "ProtectedRange",
- "description": "The protected range to be added. The\nprotectedRangeId field is optional; if\none is not set, an id will be randomly generated. (It is an error to\nspecify the ID of a range that already exists.)"
- }
- },
- "type": "object"
- },
- "BatchClearValuesRequest": {
- "description": "The request for clearing more than one range of values in a spreadsheet.",
- "id": "BatchClearValuesRequest",
- "properties": {
- "ranges": {
- "description": "The ranges to clear, in A1 notation.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "DuplicateFilterViewResponse": {
- "description": "The result of a filter view being duplicated.",
- "id": "DuplicateFilterViewResponse",
- "properties": {
- "filter": {
- "$ref": "FilterView",
- "description": "The newly created filter."
- }
- },
- "type": "object"
- },
- "DuplicateSheetResponse": {
- "description": "The result of duplicating a sheet.",
- "id": "DuplicateSheetResponse",
- "properties": {
- "properties": {
- "$ref": "SheetProperties",
- "description": "The properties of the duplicate sheet."
- }
- },
- "type": "object"
- },
- "ClearBasicFilterRequest": {
- "description": "Clears the basic filter, if any exists on the sheet.",
- "id": "ClearBasicFilterRequest",
- "properties": {
- "sheetId": {
- "description": "The sheet ID on which the basic filter should be cleared.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "TextToColumnsRequest": {
- "description": "Splits a column of text into multiple columns,\nbased on a delimiter in each cell.",
- "id": "TextToColumnsRequest",
- "properties": {
- "delimiter": {
- "description": "The delimiter to use. Used only if delimiterType is\nCUSTOM.",
- "type": "string"
- },
- "source": {
- "$ref": "GridRange",
- "description": "The source data range. This must span exactly one column."
- },
- "delimiterType": {
- "description": "The delimiter type to use.",
- "enum": [
- "DELIMITER_TYPE_UNSPECIFIED",
- "COMMA",
- "SEMICOLON",
- "PERIOD",
- "SPACE",
- "CUSTOM"
- ],
- "enumDescriptions": [
- "Default value. This value must not be used.",
- "\",\"",
- "\";\"",
- "\".\"",
- "\" \"",
- "A custom value as defined in delimiter."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "DeleteBandingRequest": {
- "description": "Removes the banded range with the given ID from the spreadsheet.",
- "id": "DeleteBandingRequest",
- "properties": {
- "bandedRangeId": {
- "description": "The ID of the banded range to delete.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "BatchUpdateSpreadsheetResponse": {
- "description": "The reply for batch updating a spreadsheet.",
- "id": "BatchUpdateSpreadsheetResponse",
- "properties": {
- "replies": {
- "description": "The reply of the updates. This maps 1:1 with the updates, although\nreplies to some requests may be empty.",
- "items": {
- "$ref": "Response"
- },
- "type": "array"
- },
- "updatedSpreadsheet": {
- "$ref": "Spreadsheet",
- "description": "The spreadsheet after updates were applied. This is only set if\n[BatchUpdateSpreadsheetRequest.include_spreadsheet_in_response] is `true`."
- },
- "spreadsheetId": {
- "description": "The spreadsheet the updates were applied to.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AppendValuesResponse": {
- "description": "The response when updating a range of values in a spreadsheet.",
- "id": "AppendValuesResponse",
- "properties": {
- "tableRange": {
- "description": "The range (in A1 notation) of the table that values are being appended to\n(before the values were appended).\nEmpty if no table was found.",
- "type": "string"
- },
- "spreadsheetId": {
- "description": "The spreadsheet the updates were applied to.",
- "type": "string"
- },
- "updates": {
- "$ref": "UpdateValuesResponse",
- "description": "Information about the updates that were applied."
- }
- },
- "type": "object"
- },
- "AddFilterViewRequest": {
- "description": "Adds a filter view.",
- "id": "AddFilterViewRequest",
- "properties": {
- "filter": {
- "$ref": "FilterView",
- "description": "The filter to add. The filterViewId\nfield is optional; if one is not set, an id will be randomly generated. (It\nis an error to specify the ID of a filter that already exists.)"
- }
- },
- "type": "object"
- },
- "PivotFilterCriteria": {
- "description": "Criteria for showing/hiding rows in a pivot table.",
- "id": "PivotFilterCriteria",
- "properties": {
- "visibleValues": {
- "description": "Values that should be included. Values not listed here are excluded.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "MoveDimensionRequest": {
- "description": "Moves one or more rows or columns.",
- "id": "MoveDimensionRequest",
- "properties": {
- "destinationIndex": {
- "description": "The zero-based start index of where to move the source data to,\nbased on the coordinates *before* the source data is removed\nfrom the grid. Existing data will be shifted down or right\n(depending on the dimension) to make room for the moved dimensions.\nThe source dimensions are removed from the grid, so the\nthe data may end up in a different index than specified.\n\nFor example, given `A1..A5` of `0, 1, 2, 3, 4` and wanting to move\n`\"1\"` and `\"2\"` to between `\"3\"` and `\"4\"`, the source would be\n`ROWS [1..3)`,and the destination index would be `\"4\"`\n(the zero-based index of row 5).\nThe end result would be `A1..A5` of `0, 3, 1, 2, 4`.",
- "format": "int32",
- "type": "integer"
- },
- "source": {
- "$ref": "DimensionRange",
- "description": "The source dimensions to move."
- }
- },
- "type": "object"
- },
- "AddConditionalFormatRuleRequest": {
- "description": "Adds a new conditional format rule at the given index.\nAll subsequent rules' indexes are incremented.",
- "id": "AddConditionalFormatRuleRequest",
- "properties": {
- "rule": {
- "$ref": "ConditionalFormatRule",
- "description": "The rule to add."
- },
- "index": {
- "description": "The zero-based index where the rule should be inserted.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "ChartSpec": {
- "description": "The specifications of a chart.",
- "id": "ChartSpec",
- "properties": {
- "hiddenDimensionStrategy": {
- "description": "Determines how the charts will use hidden rows or columns.",
- "enum": [
- "CHART_HIDDEN_DIMENSION_STRATEGY_UNSPECIFIED",
- "SKIP_HIDDEN_ROWS_AND_COLUMNS",
- "SKIP_HIDDEN_ROWS",
- "SKIP_HIDDEN_COLUMNS",
- "SHOW_ALL"
- ],
- "enumDescriptions": [
- "Default value, do not use.",
- "Charts will skip hidden rows and columns.",
- "Charts will skip hidden rows only.",
- "Charts will skip hidden columns only.",
- "Charts will not skip any hidden rows or columns."
- ],
- "type": "string"
- },
- "title": {
- "description": "The title of the chart.",
- "type": "string"
- },
- "pieChart": {
- "$ref": "PieChartSpec",
- "description": "A pie chart specification."
- },
- "basicChart": {
- "$ref": "BasicChartSpec",
- "description": "A basic chart specification, can be one of many kinds of charts.\nSee BasicChartType for the list of all\ncharts this supports."
- }
- },
- "type": "object"
- },
- "NumberFormat": {
- "description": "The number format of a cell.",
- "id": "NumberFormat",
- "properties": {
- "type": {
- "description": "The type of the number format.\nWhen writing, this field must be set.",
- "enum": [
- "NUMBER_FORMAT_TYPE_UNSPECIFIED",
- "TEXT",
- "NUMBER",
- "PERCENT",
- "CURRENCY",
- "DATE",
- "TIME",
- "DATE_TIME",
- "SCIENTIFIC"
- ],
- "enumDescriptions": [
- "The number format is not specified\nand is based on the contents of the cell.\nDo not explicitly use this.",
- "Text formatting, e.g `1000.12`",
- "Number formatting, e.g, `1,000.12`",
- "Percent formatting, e.g `10.12%`",
- "Currency formatting, e.g `$1,000.12`",
- "Date formatting, e.g `9/26/2008`",
- "Time formatting, e.g `3:59:00 PM`",
- "Date+Time formatting, e.g `9/26/08 15:59:00`",
- "Scientific number formatting, e.g `1.01E+03`"
- ],
- "type": "string"
- },
- "pattern": {
- "description": "Pattern string used for formatting. If not set, a default pattern based on\nthe user's locale will be used if necessary for the given type.\nSee the [Date and Number Formats guide](/sheets/guides/formats) for more\ninformation about the supported patterns.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SheetProperties": {
- "description": "Properties of a sheet.",
- "id": "SheetProperties",
- "properties": {
- "title": {
- "description": "The name of the sheet.",
- "type": "string"
- },
- "index": {
- "description": "The index of the sheet within the spreadsheet.\nWhen adding or updating sheet properties, if this field\nis excluded then the sheet will be added or moved to the end\nof the sheet list. When updating sheet indices or inserting\nsheets, movement is considered in \"before the move\" indexes.\nFor example, if there were 3 sheets (S1, S2, S3) in order to\nmove S1 ahead of S2 the index would have to be set to 2. A sheet\nindex update request will be ignored if the requested index is\nidentical to the sheets current index or if the requested new\nindex is equal to the current sheet index + 1.",
- "format": "int32",
- "type": "integer"
- },
- "tabColor": {
- "$ref": "Color",
- "description": "The color of the tab in the UI."
- },
- "sheetId": {
- "description": "The ID of the sheet. Must be non-negative.\nThis field cannot be changed once set.",
- "format": "int32",
- "type": "integer"
- },
- "rightToLeft": {
- "description": "True if the sheet is an RTL sheet instead of an LTR sheet.",
- "type": "boolean"
- },
- "hidden": {
- "description": "True if the sheet is hidden in the UI, false if it's visible.",
- "type": "boolean"
- },
- "sheetType": {
- "description": "The type of sheet. Defaults to GRID.\nThis field cannot be changed once set.",
- "enum": [
- "SHEET_TYPE_UNSPECIFIED",
- "GRID",
- "OBJECT"
- ],
- "enumDescriptions": [
- "Default value, do not use.",
- "The sheet is a grid.",
- "The sheet has no grid and instead has an object like a chart or image."
- ],
- "type": "string"
- },
- "gridProperties": {
- "$ref": "GridProperties",
- "description": "Additional properties of the sheet if this sheet is a grid.\n(If the sheet is an object sheet, containing a chart or image, then\nthis field will be absent.)\nWhen writing it is an error to set any grid properties on non-grid sheets."
- }
- },
- "type": "object"
- },
- "UpdateDimensionPropertiesRequest": {
- "description": "Updates properties of dimensions within the specified range.",
- "id": "UpdateDimensionPropertiesRequest",
- "properties": {
- "range": {
- "$ref": "DimensionRange",
- "description": "The rows or columns to update."
- },
- "fields": {
- "description": "The fields that should be updated. At least one field must be specified.\nThe root `properties` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.",
- "format": "google-fieldmask",
- "type": "string"
- },
- "properties": {
- "$ref": "DimensionProperties",
- "description": "Properties to update."
- }
- },
- "type": "object"
- },
- "SourceAndDestination": {
- "description": "A combination of a source range and how to extend that source.",
- "id": "SourceAndDestination",
- "properties": {
- "source": {
- "$ref": "GridRange",
- "description": "The location of the data to use as the source of the autofill."
- },
- "dimension": {
- "description": "The dimension that data should be filled into.",
- "enum": [
- "DIMENSION_UNSPECIFIED",
- "ROWS",
- "COLUMNS"
- ],
- "enumDescriptions": [
- "The default value, do not use.",
- "Operates on the rows of a sheet.",
- "Operates on the columns of a sheet."
- ],
- "type": "string"
- },
- "fillLength": {
- "description": "The number of rows or columns that data should be filled into.\nPositive numbers expand beyond the last row or last column\nof the source. Negative numbers expand before the first row\nor first column of the source.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "FilterView": {
- "description": "A filter view.",
- "id": "FilterView",
- "properties": {
- "namedRangeId": {
- "description": "The named range this filter view is backed by, if any.\n\nWhen writing, only one of range or named_range_id\nmay be set.",
- "type": "string"
- },
- "filterViewId": {
- "description": "The ID of the filter view.",
- "format": "int32",
- "type": "integer"
- },
- "criteria": {
- "additionalProperties": {
- "$ref": "FilterCriteria"
- },
- "description": "The criteria for showing/hiding values per column.\nThe map's key is the column index, and the value is the criteria for\nthat column.",
- "type": "object"
- },
- "title": {
- "description": "The name of the filter view.",
- "type": "string"
- },
- "range": {
- "$ref": "GridRange",
- "description": "The range this filter view covers.\n\nWhen writing, only one of range or named_range_id\nmay be set."
- },
- "sortSpecs": {
- "description": "The sort order per column. Later specifications are used when values\nare equal in the earlier specifications.",
- "items": {
- "$ref": "SortSpec"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "BandingProperties": {
- "description": "Properties referring a single dimension (either row or column). If both\nBandedRange.row_properties and BandedRange.column_properties are\nset, the fill colors are applied to cells according to the following rules:\n\n* header_color and footer_color take priority over band colors.\n* first_band_color takes priority over second_band_color.\n* row_properties takes priority over column_properties.\n\nFor example, the first row color takes priority over the first column\ncolor, but the first column color takes priority over the second row color.\nSimilarly, the row header takes priority over the column header in the\ntop left cell, but the column header takes priority over the first row\ncolor if the row header is not set.",
- "id": "BandingProperties",
- "properties": {
- "footerColor": {
- "$ref": "Color",
- "description": "The color of the last row or column. If this field is not set, the last\nrow or column will be filled with either first_band_color or\nsecond_band_color, depending on the color of the previous row or\ncolumn."
- },
- "headerColor": {
- "$ref": "Color",
- "description": "The color of the first row or column. If this field is set, the first\nrow or column will be filled with this color and the colors will\nalternate between first_band_color and second_band_color starting\nfrom the second row or column. Otherwise, the first row or column will be\nfilled with first_band_color and the colors will proceed to alternate\nas they normally would."
- },
- "firstBandColor": {
- "$ref": "Color",
- "description": "The first color that is alternating. (Required)"
- },
- "secondBandColor": {
- "$ref": "Color",
- "description": "The second color that is alternating. (Required)"
- }
- },
- "type": "object"
- },
- "BasicFilter": {
- "description": "The default filter associated with a sheet.",
- "id": "BasicFilter",
- "properties": {
- "range": {
- "$ref": "GridRange",
- "description": "The range the filter covers."
- },
- "criteria": {
- "additionalProperties": {
- "$ref": "FilterCriteria"
- },
- "description": "The criteria for showing/hiding values per column.\nThe map's key is the column index, and the value is the criteria for\nthat column.",
- "type": "object"
- },
- "sortSpecs": {
- "description": "The sort order per column. Later specifications are used when values\nare equal in the earlier specifications.",
- "items": {
- "$ref": "SortSpec"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "AddProtectedRangeResponse": {
- "description": "The result of adding a new protected range.",
- "id": "AddProtectedRangeResponse",
- "properties": {
- "protectedRange": {
- "$ref": "ProtectedRange",
- "description": "The newly added protected range."
- }
- },
- "type": "object"
- },
- "UpdateValuesResponse": {
- "description": "The response when updating a range of values in a spreadsheet.",
- "id": "UpdateValuesResponse",
- "properties": {
- "updatedColumns": {
- "description": "The number of columns where at least one cell in the column was updated.",
- "format": "int32",
- "type": "integer"
- },
- "spreadsheetId": {
- "description": "The spreadsheet the updates were applied to.",
- "type": "string"
- },
- "updatedRange": {
- "description": "The range (in A1 notation) that updates were applied to.",
- "type": "string"
- },
- "updatedCells": {
- "description": "The number of cells updated.",
- "format": "int32",
- "type": "integer"
- },
- "updatedData": {
- "$ref": "ValueRange",
- "description": "The values of the cells after updates were applied.\nThis is only included if the request's `includeValuesInResponse` field\nwas `true`."
- },
- "updatedRows": {
- "description": "The number of rows where at least one cell in the row was updated.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "ErrorValue": {
- "description": "An error in a cell.",
- "id": "ErrorValue",
- "properties": {
- "type": {
- "description": "The type of error.",
- "enum": [
- "ERROR_TYPE_UNSPECIFIED",
- "ERROR",
- "NULL_VALUE",
- "DIVIDE_BY_ZERO",
- "VALUE",
- "REF",
- "NAME",
- "NUM",
- "N_A",
- "LOADING"
- ],
- "enumDescriptions": [
- "The default error type, do not use this.",
- "Corresponds to the `#ERROR!` error.",
- "Corresponds to the `#NULL!` error.",
- "Corresponds to the `#DIV/0` error.",
- "Corresponds to the `#VALUE!` error.",
- "Corresponds to the `#REF!` error.",
- "Corresponds to the `#NAME?` error.",
- "Corresponds to the `#NUM`! error.",
- "Corresponds to the `#N/A` error.",
- "Corresponds to the `Loading...` state."
- ],
- "type": "string"
- },
- "message": {
- "description": "A message with more information about the error\n(in the spreadsheet's locale).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "PivotValue": {
- "description": "The definition of how a value in a pivot table should be calculated.",
- "id": "PivotValue",
- "properties": {
- "formula": {
- "description": "A custom formula to calculate the value. The formula must start\nwith an `=` character.",
- "type": "string"
- },
- "summarizeFunction": {
- "description": "A function to summarize the value.\nIf formula is set, the only supported values are\nSUM and\nCUSTOM.\nIf sourceColumnOffset is set, then `CUSTOM`\nis not supported.",
- "enum": [
- "PIVOT_STANDARD_VALUE_FUNCTION_UNSPECIFIED",
- "SUM",
- "COUNTA",
- "COUNT",
- "COUNTUNIQUE",
- "AVERAGE",
- "MAX",
- "MIN",
- "MEDIAN",
- "PRODUCT",
- "STDEV",
- "STDEVP",
- "VAR",
- "VARP",
- "CUSTOM"
- ],
- "enumDescriptions": [
- "The default, do not use.",
- "Corresponds to the `SUM` function.",
- "Corresponds to the `COUNTA` function.",
- "Corresponds to the `COUNT` function.",
- "Corresponds to the `COUNTUNIQUE` function.",
- "Corresponds to the `AVERAGE` function.",
- "Corresponds to the `MAX` function.",
- "Corresponds to the `MIN` function.",
- "Corresponds to the `MEDIAN` function.",
- "Corresponds to the `PRODUCT` function.",
- "Corresponds to the `STDEV` function.",
- "Corresponds to the `STDEVP` function.",
- "Corresponds to the `VAR` function.",
- "Corresponds to the `VARP` function.",
- "Indicates the formula should be used as-is.\nOnly valid if PivotValue.formula was set."
- ],
- "type": "string"
- },
- "sourceColumnOffset": {
- "description": "The column offset of the source range that this value reads from.\n\nFor example, if the source was `C10:E15`, a `sourceColumnOffset` of `0`\nmeans this value refers to column `C`, whereas the offset `1` would\nrefer to column `D`.",
- "format": "int32",
- "type": "integer"
- },
- "name": {
- "description": "A name to use for the value. This is only used if formula was set.\nOtherwise, the column name is used.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CopySheetToAnotherSpreadsheetRequest": {
- "description": "The request to copy a sheet across spreadsheets.",
- "id": "CopySheetToAnotherSpreadsheetRequest",
- "properties": {
- "destinationSpreadsheetId": {
- "description": "The ID of the spreadsheet to copy the sheet to.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "PivotGroupSortValueBucket": {
- "description": "Information about which values in a pivot group should be used for sorting.",
- "id": "PivotGroupSortValueBucket",
- "properties": {
- "buckets": {
- "description": "Determines the bucket from which values are chosen to sort.\n\nFor example, in a pivot table with one row group & two column groups,\nthe row group can list up to two values. The first value corresponds\nto a value within the first column group, and the second value\ncorresponds to a value in the second column group. If no values\nare listed, this would indicate that the row should be sorted according\nto the \"Grand Total\" over the column groups. If a single value is listed,\nthis would correspond to using the \"Total\" of that bucket.",
- "items": {
- "$ref": "ExtendedValue"
- },
- "type": "array"
- },
- "valuesIndex": {
- "description": "The offset in the PivotTable.values list which the values in this\ngrouping should be sorted by.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis/slides__v1.json b/discovery/googleapis/slides__v1.json
index bfc946e..eca632e 100644
--- a/discovery/googleapis/slides__v1.json
+++ b/discovery/googleapis/slides__v1.json
@@ -2,11 +2,8 @@
"auth": {
"oauth2": {
"scopes": {
- "https://www.googleapis.com/auth/presentations": {
- "description": "View and manage your Google Slides presentations"
- },
- "https://www.googleapis.com/auth/presentations.readonly": {
- "description": "View your Google Slides presentations"
+ "https://www.googleapis.com/auth/drive.readonly": {
+ "description": "View the files in your Google Drive"
},
"https://www.googleapis.com/auth/spreadsheets.readonly": {
"description": "View your Google Spreadsheets"
@@ -14,11 +11,14 @@
"https://www.googleapis.com/auth/drive": {
"description": "View and manage the files in your Google Drive"
},
- "https://www.googleapis.com/auth/drive.readonly": {
- "description": "View the files in your Google Drive"
- },
"https://www.googleapis.com/auth/spreadsheets": {
"description": "View and manage your spreadsheets in Google Drive"
+ },
+ "https://www.googleapis.com/auth/presentations": {
+ "description": "View and manage your Google Slides presentations"
+ },
+ "https://www.googleapis.com/auth/presentations.readonly": {
+ "description": "View your Google Slides presentations"
}
}
}
@@ -40,17 +40,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
@@ -61,11 +50,6 @@
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
"$.xgafv": {
"description": "V1 error format.",
"enum": [
@@ -79,6 +63,11 @@
"location": "query",
"type": "string"
},
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -116,15 +105,26 @@
"location": "query",
"type": "boolean"
},
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
"bearer_token": {
"description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
}
},
"protocol": "rest",
@@ -219,14 +219,14 @@
"pageObjectId"
],
"parameters": {
- "pageObjectId": {
- "description": "The object ID of the page to retrieve.",
+ "presentationId": {
+ "description": "The ID of the presentation to retrieve.",
"location": "path",
"required": true,
"type": "string"
},
- "presentationId": {
- "description": "The ID of the presentation to retrieve.",
+ "pageObjectId": {
+ "description": "The object ID of the page to retrieve.",
"location": "path",
"required": true,
"type": "string"
@@ -242,40 +242,556 @@
"https://www.googleapis.com/auth/presentations",
"https://www.googleapis.com/auth/presentations.readonly"
]
+ },
+ "getThumbnail": {
+ "description": "Generates a thumbnail of the latest version of the specified page in the\npresentation and returns a URL to the thumbnail image.",
+ "httpMethod": "GET",
+ "id": "slides.presentations.pages.getThumbnail",
+ "parameterOrder": [
+ "presentationId",
+ "pageObjectId"
+ ],
+ "parameters": {
+ "pageObjectId": {
+ "description": "The object ID of the page whose thumbnail to retrieve.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "thumbnailProperties.mimeType": {
+ "description": "The optional mime type of the thumbnail image.\n\nIf you don't specify the mime type, the default mime type will be PNG.",
+ "enum": [
+ "PNG"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "thumbnailProperties.thumbnailSize": {
+ "description": "The optional thumbnail image size.\n\nIf you don't specify the size, the server chooses a default size of the\nimage.",
+ "enum": [
+ "THUMBNAIL_SIZE_UNSPECIFIED",
+ "LARGE"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "presentationId": {
+ "description": "The ID of the presentation to retrieve.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/presentations/{presentationId}/pages/{pageObjectId}/thumbnail",
+ "response": {
+ "$ref": "Thumbnail"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/drive",
+ "https://www.googleapis.com/auth/drive.readonly",
+ "https://www.googleapis.com/auth/presentations",
+ "https://www.googleapis.com/auth/presentations.readonly"
+ ]
}
}
}
}
}
},
- "revision": "20170223",
+ "revision": "20170316",
"rootUrl": "https://slides.googleapis.com/",
"schemas": {
- "UpdatePageElementTransformRequest": {
- "description": "Updates the transform of a page element.",
- "id": "UpdatePageElementTransformRequest",
+ "ReplaceAllTextResponse": {
+ "description": "The result of replacing text.",
+ "id": "ReplaceAllTextResponse",
"properties": {
- "applyMode": {
- "description": "The apply mode of the transform update.",
- "enum": [
- "APPLY_MODE_UNSPECIFIED",
- "RELATIVE",
- "ABSOLUTE"
- ],
- "enumDescriptions": [
- "Unspecified mode.",
- "Applies the new AffineTransform matrix to the existing one, and\nreplaces the existing one with the resulting concatenation.",
- "Replaces the existing AffineTransform matrix with the new one."
- ],
+ "occurrencesChanged": {
+ "description": "The number of occurrences changed by replacing all text.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "UpdateParagraphStyleRequest": {
+ "description": "Updates the styling for all of the paragraphs within a Shape or Table that\noverlap with the given text index range.",
+ "id": "UpdateParagraphStyleRequest",
+ "properties": {
+ "fields": {
+ "description": "The fields that should be updated.\n\nAt least one field must be specified. The root `style` is implied and\nshould not be specified. A single `\"*\"` can be used as short-hand for\nlisting every field.\n\nFor example, to update the paragraph alignment, set `fields` to\n`\"alignment\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.",
+ "format": "google-fieldmask",
"type": "string"
},
"objectId": {
- "description": "The object ID of the page element to update.",
+ "description": "The object ID of the shape or table with the text to be styled.",
"type": "string"
},
- "transform": {
- "$ref": "AffineTransform",
- "description": "The input transform matrix used to update the page element."
+ "textRange": {
+ "$ref": "Range",
+ "description": "The range of text containing the paragraph(s) to style."
+ },
+ "cellLocation": {
+ "$ref": "TableCellLocation",
+ "description": "The location of the cell in the table containing the paragraph(s) to\nstyle. If `object_id` refers to a table, `cell_location` must have a value.\nOtherwise, it must not."
+ },
+ "style": {
+ "$ref": "ParagraphStyle",
+ "description": "The paragraph's style."
+ }
+ },
+ "type": "object"
+ },
+ "ColorScheme": {
+ "description": "The palette of predefined colors for a page.",
+ "id": "ColorScheme",
+ "properties": {
+ "colors": {
+ "description": "The ThemeColorType and corresponding concrete color pairs.",
+ "items": {
+ "$ref": "ThemeColorPair"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Shape": {
+ "description": "A PageElement kind representing a\ngeneric shape that does not have a more specific classification.",
+ "id": "Shape",
+ "properties": {
+ "shapeType": {
+ "description": "The type of the shape.",
+ "enum": [
+ "TYPE_UNSPECIFIED",
+ "TEXT_BOX",
+ "RECTANGLE",
+ "ROUND_RECTANGLE",
+ "ELLIPSE",
+ "ARC",
+ "BENT_ARROW",
+ "BENT_UP_ARROW",
+ "BEVEL",
+ "BLOCK_ARC",
+ "BRACE_PAIR",
+ "BRACKET_PAIR",
+ "CAN",
+ "CHEVRON",
+ "CHORD",
+ "CLOUD",
+ "CORNER",
+ "CUBE",
+ "CURVED_DOWN_ARROW",
+ "CURVED_LEFT_ARROW",
+ "CURVED_RIGHT_ARROW",
+ "CURVED_UP_ARROW",
+ "DECAGON",
+ "DIAGONAL_STRIPE",
+ "DIAMOND",
+ "DODECAGON",
+ "DONUT",
+ "DOUBLE_WAVE",
+ "DOWN_ARROW",
+ "DOWN_ARROW_CALLOUT",
+ "FOLDED_CORNER",
+ "FRAME",
+ "HALF_FRAME",
+ "HEART",
+ "HEPTAGON",
+ "HEXAGON",
+ "HOME_PLATE",
+ "HORIZONTAL_SCROLL",
+ "IRREGULAR_SEAL_1",
+ "IRREGULAR_SEAL_2",
+ "LEFT_ARROW",
+ "LEFT_ARROW_CALLOUT",
+ "LEFT_BRACE",
+ "LEFT_BRACKET",
+ "LEFT_RIGHT_ARROW",
+ "LEFT_RIGHT_ARROW_CALLOUT",
+ "LEFT_RIGHT_UP_ARROW",
+ "LEFT_UP_ARROW",
+ "LIGHTNING_BOLT",
+ "MATH_DIVIDE",
+ "MATH_EQUAL",
+ "MATH_MINUS",
+ "MATH_MULTIPLY",
+ "MATH_NOT_EQUAL",
+ "MATH_PLUS",
+ "MOON",
+ "NO_SMOKING",
+ "NOTCHED_RIGHT_ARROW",
+ "OCTAGON",
+ "PARALLELOGRAM",
+ "PENTAGON",
+ "PIE",
+ "PLAQUE",
+ "PLUS",
+ "QUAD_ARROW",
+ "QUAD_ARROW_CALLOUT",
+ "RIBBON",
+ "RIBBON_2",
+ "RIGHT_ARROW",
+ "RIGHT_ARROW_CALLOUT",
+ "RIGHT_BRACE",
+ "RIGHT_BRACKET",
+ "ROUND_1_RECTANGLE",
+ "ROUND_2_DIAGONAL_RECTANGLE",
+ "ROUND_2_SAME_RECTANGLE",
+ "RIGHT_TRIANGLE",
+ "SMILEY_FACE",
+ "SNIP_1_RECTANGLE",
+ "SNIP_2_DIAGONAL_RECTANGLE",
+ "SNIP_2_SAME_RECTANGLE",
+ "SNIP_ROUND_RECTANGLE",
+ "STAR_10",
+ "STAR_12",
+ "STAR_16",
+ "STAR_24",
+ "STAR_32",
+ "STAR_4",
+ "STAR_5",
+ "STAR_6",
+ "STAR_7",
+ "STAR_8",
+ "STRIPED_RIGHT_ARROW",
+ "SUN",
+ "TRAPEZOID",
+ "TRIANGLE",
+ "UP_ARROW",
+ "UP_ARROW_CALLOUT",
+ "UP_DOWN_ARROW",
+ "UTURN_ARROW",
+ "VERTICAL_SCROLL",
+ "WAVE",
+ "WEDGE_ELLIPSE_CALLOUT",
+ "WEDGE_RECTANGLE_CALLOUT",
+ "WEDGE_ROUND_RECTANGLE_CALLOUT",
+ "FLOW_CHART_ALTERNATE_PROCESS",
+ "FLOW_CHART_COLLATE",
+ "FLOW_CHART_CONNECTOR",
+ "FLOW_CHART_DECISION",
+ "FLOW_CHART_DELAY",
+ "FLOW_CHART_DISPLAY",
+ "FLOW_CHART_DOCUMENT",
+ "FLOW_CHART_EXTRACT",
+ "FLOW_CHART_INPUT_OUTPUT",
+ "FLOW_CHART_INTERNAL_STORAGE",
+ "FLOW_CHART_MAGNETIC_DISK",
+ "FLOW_CHART_MAGNETIC_DRUM",
+ "FLOW_CHART_MAGNETIC_TAPE",
+ "FLOW_CHART_MANUAL_INPUT",
+ "FLOW_CHART_MANUAL_OPERATION",
+ "FLOW_CHART_MERGE",
+ "FLOW_CHART_MULTIDOCUMENT",
+ "FLOW_CHART_OFFLINE_STORAGE",
+ "FLOW_CHART_OFFPAGE_CONNECTOR",
+ "FLOW_CHART_ONLINE_STORAGE",
+ "FLOW_CHART_OR",
+ "FLOW_CHART_PREDEFINED_PROCESS",
+ "FLOW_CHART_PREPARATION",
+ "FLOW_CHART_PROCESS",
+ "FLOW_CHART_PUNCHED_CARD",
+ "FLOW_CHART_PUNCHED_TAPE",
+ "FLOW_CHART_SORT",
+ "FLOW_CHART_SUMMING_JUNCTION",
+ "FLOW_CHART_TERMINATOR",
+ "ARROW_EAST",
+ "ARROW_NORTH_EAST",
+ "ARROW_NORTH",
+ "SPEECH",
+ "STARBURST",
+ "TEARDROP",
+ "ELLIPSE_RIBBON",
+ "ELLIPSE_RIBBON_2",
+ "CLOUD_CALLOUT",
+ "CUSTOM"
+ ],
+ "enumDescriptions": [
+ "The shape type that is not predefined.",
+ "Text box shape.",
+ "Rectangle shape. Corresponds to ECMA-376 ST_ShapeType 'rect'.",
+ "Round corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'roundRect'",
+ "Ellipse shape. Corresponds to ECMA-376 ST_ShapeType 'ellipse'",
+ "Curved arc shape. Corresponds to ECMA-376 ST_ShapeType 'arc'",
+ "Bent arrow shape. Corresponds to ECMA-376 ST_ShapeType 'bentArrow'",
+ "Bent up arrow shape. Corresponds to ECMA-376 ST_ShapeType 'bentUpArrow'",
+ "Bevel shape. Corresponds to ECMA-376 ST_ShapeType 'bevel'",
+ "Block arc shape. Corresponds to ECMA-376 ST_ShapeType 'blockArc'",
+ "Brace pair shape. Corresponds to ECMA-376 ST_ShapeType 'bracePair'",
+ "Bracket pair shape. Corresponds to ECMA-376 ST_ShapeType 'bracketPair'",
+ "Can shape. Corresponds to ECMA-376 ST_ShapeType 'can'",
+ "Chevron shape. Corresponds to ECMA-376 ST_ShapeType 'chevron'",
+ "Chord shape. Corresponds to ECMA-376 ST_ShapeType 'chord'",
+ "Cloud shape. Corresponds to ECMA-376 ST_ShapeType 'cloud'",
+ "Corner shape. Corresponds to ECMA-376 ST_ShapeType 'corner'",
+ "Cube shape. Corresponds to ECMA-376 ST_ShapeType 'cube'",
+ "Curved down arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'curvedDownArrow'",
+ "Curved left arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'curvedLeftArrow'",
+ "Curved right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'curvedRightArrow'",
+ "Curved up arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'curvedUpArrow'",
+ "Decagon shape. Corresponds to ECMA-376 ST_ShapeType 'decagon'",
+ "Diagonal stripe shape. Corresponds to ECMA-376 ST_ShapeType 'diagStripe'",
+ "Diamond shape. Corresponds to ECMA-376 ST_ShapeType 'diamond'",
+ "Dodecagon shape. Corresponds to ECMA-376 ST_ShapeType 'dodecagon'",
+ "Donut shape. Corresponds to ECMA-376 ST_ShapeType 'donut'",
+ "Double wave shape. Corresponds to ECMA-376 ST_ShapeType 'doubleWave'",
+ "Down arrow shape. Corresponds to ECMA-376 ST_ShapeType 'downArrow'",
+ "Callout down arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'downArrowCallout'",
+ "Folded corner shape. Corresponds to ECMA-376 ST_ShapeType 'foldedCorner'",
+ "Frame shape. Corresponds to ECMA-376 ST_ShapeType 'frame'",
+ "Half frame shape. Corresponds to ECMA-376 ST_ShapeType 'halfFrame'",
+ "Heart shape. Corresponds to ECMA-376 ST_ShapeType 'heart'",
+ "Heptagon shape. Corresponds to ECMA-376 ST_ShapeType 'heptagon'",
+ "Hexagon shape. Corresponds to ECMA-376 ST_ShapeType 'hexagon'",
+ "Home plate shape. Corresponds to ECMA-376 ST_ShapeType 'homePlate'",
+ "Horizontal scroll shape. Corresponds to ECMA-376 ST_ShapeType\n'horizontalScroll'",
+ "Irregular seal 1 shape. Corresponds to ECMA-376 ST_ShapeType\n'irregularSeal1'",
+ "Irregular seal 2 shape. Corresponds to ECMA-376 ST_ShapeType\n'irregularSeal2'",
+ "Left arrow shape. Corresponds to ECMA-376 ST_ShapeType 'leftArrow'",
+ "Callout left arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'leftArrowCallout'",
+ "Left brace shape. Corresponds to ECMA-376 ST_ShapeType 'leftBrace'",
+ "Left bracket shape. Corresponds to ECMA-376 ST_ShapeType 'leftBracket'",
+ "Left right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'leftRightArrow'",
+ "Callout left right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'leftRightArrowCallout'",
+ "Left right up arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'leftRightUpArrow'",
+ "Left up arrow shape. Corresponds to ECMA-376 ST_ShapeType 'leftUpArrow'",
+ "Lightning bolt shape. Corresponds to ECMA-376 ST_ShapeType\n'lightningBolt'",
+ "Divide math shape. Corresponds to ECMA-376 ST_ShapeType 'mathDivide'",
+ "Equal math shape. Corresponds to ECMA-376 ST_ShapeType 'mathEqual'",
+ "Minus math shape. Corresponds to ECMA-376 ST_ShapeType 'mathMinus'",
+ "Multiply math shape. Corresponds to ECMA-376 ST_ShapeType 'mathMultiply'",
+ "Not equal math shape. Corresponds to ECMA-376 ST_ShapeType 'mathNotEqual'",
+ "Plus math shape. Corresponds to ECMA-376 ST_ShapeType 'mathPlus'",
+ "Moon shape. Corresponds to ECMA-376 ST_ShapeType 'moon'",
+ "No smoking shape. Corresponds to ECMA-376 ST_ShapeType 'noSmoking'",
+ "Notched right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'notchedRightArrow'",
+ "Octagon shape. Corresponds to ECMA-376 ST_ShapeType 'octagon'",
+ "Parallelogram shape. Corresponds to ECMA-376 ST_ShapeType 'parallelogram'",
+ "Pentagon shape. Corresponds to ECMA-376 ST_ShapeType 'pentagon'",
+ "Pie shape. Corresponds to ECMA-376 ST_ShapeType 'pie'",
+ "Plaque shape. Corresponds to ECMA-376 ST_ShapeType 'plaque'",
+ "Plus shape. Corresponds to ECMA-376 ST_ShapeType 'plus'",
+ "Quad-arrow shape. Corresponds to ECMA-376 ST_ShapeType 'quadArrow'",
+ "Callout quad-arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'quadArrowCallout'",
+ "Ribbon shape. Corresponds to ECMA-376 ST_ShapeType 'ribbon'",
+ "Ribbon 2 shape. Corresponds to ECMA-376 ST_ShapeType 'ribbon2'",
+ "Right arrow shape. Corresponds to ECMA-376 ST_ShapeType 'rightArrow'",
+ "Callout right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'rightArrowCallout'",
+ "Right brace shape. Corresponds to ECMA-376 ST_ShapeType 'rightBrace'",
+ "Right bracket shape. Corresponds to ECMA-376 ST_ShapeType 'rightBracket'",
+ "One round corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'round1Rect'",
+ "Two diagonal round corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'round2DiagRect'",
+ "Two same-side round corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'round2SameRect'",
+ "Right triangle shape. Corresponds to ECMA-376 ST_ShapeType 'rtTriangle'",
+ "Smiley face shape. Corresponds to ECMA-376 ST_ShapeType 'smileyFace'",
+ "One snip corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'snip1Rect'",
+ "Two diagonal snip corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'snip2DiagRect'",
+ "Two same-side snip corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'snip2SameRect'",
+ "One snip one round corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'snipRoundRect'",
+ "Ten pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star10'",
+ "Twelve pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star12'",
+ "Sixteen pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star16'",
+ "Twenty four pointed star shape. Corresponds to ECMA-376 ST_ShapeType\n'star24'",
+ "Thirty two pointed star shape. Corresponds to ECMA-376 ST_ShapeType\n'star32'",
+ "Four pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star4'",
+ "Five pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star5'",
+ "Six pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star6'",
+ "Seven pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star7'",
+ "Eight pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star8'",
+ "Striped right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'stripedRightArrow'",
+ "Sun shape. Corresponds to ECMA-376 ST_ShapeType 'sun'",
+ "Trapezoid shape. Corresponds to ECMA-376 ST_ShapeType 'trapezoid'",
+ "Triangle shape. Corresponds to ECMA-376 ST_ShapeType 'triangle'",
+ "Up arrow shape. Corresponds to ECMA-376 ST_ShapeType 'upArrow'",
+ "Callout up arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'upArrowCallout'",
+ "Up down arrow shape. Corresponds to ECMA-376 ST_ShapeType 'upDownArrow'",
+ "U-turn arrow shape. Corresponds to ECMA-376 ST_ShapeType 'uturnArrow'",
+ "Vertical scroll shape. Corresponds to ECMA-376 ST_ShapeType\n'verticalScroll'",
+ "Wave shape. Corresponds to ECMA-376 ST_ShapeType 'wave'",
+ "Callout wedge ellipse shape. Corresponds to ECMA-376 ST_ShapeType\n'wedgeEllipseCallout'",
+ "Callout wedge rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'wedgeRectCallout'",
+ "Callout wedge round rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'wedgeRoundRectCallout'",
+ "Alternate process flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartAlternateProcess'",
+ "Collate flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartCollate'",
+ "Connector flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartConnector'",
+ "Decision flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartDecision'",
+ "Delay flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartDelay'",
+ "Display flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartDisplay'",
+ "Document flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartDocument'",
+ "Extract flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartExtract'",
+ "Input output flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartInputOutput'",
+ "Internal storage flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartInternalStorage'",
+ "Magnetic disk flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartMagneticDisk'",
+ "Magnetic drum flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartMagneticDrum'",
+ "Magnetic tape flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartMagneticTape'",
+ "Manual input flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartManualInput'",
+ "Manual operation flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartManualOperation'",
+ "Merge flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartMerge'",
+ "Multi-document flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartMultidocument'",
+ "Offline storage flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartOfflineStorage'",
+ "Off-page connector flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartOffpageConnector'",
+ "Online storage flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartOnlineStorage'",
+ "Or flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartOr'",
+ "Predefined process flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartPredefinedProcess'",
+ "Preparation flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartPreparation'",
+ "Process flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartProcess'",
+ "Punched card flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartPunchedCard'",
+ "Punched tape flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartPunchedTape'",
+ "Sort flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartSort'",
+ "Summing junction flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartSummingJunction'",
+ "Terminator flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartTerminator'",
+ "East arrow shape.",
+ "Northeast arrow shape.",
+ "North arrow shape.",
+ "Speech shape.",
+ "Star burst shape.",
+ "Teardrop shape. Corresponds to ECMA-376 ST_ShapeType 'teardrop'",
+ "Ellipse ribbon shape. Corresponds to ECMA-376 ST_ShapeType\n'ellipseRibbon'",
+ "Ellipse ribbon 2 shape. Corresponds to ECMA-376 ST_ShapeType\n'ellipseRibbon2'",
+ "Callout cloud shape. Corresponds to ECMA-376 ST_ShapeType 'cloudCallout'",
+ "Custom shape."
+ ],
+ "type": "string"
+ },
+ "text": {
+ "$ref": "TextContent",
+ "description": "The text content of the shape."
+ },
+ "placeholder": {
+ "$ref": "Placeholder",
+ "description": "Placeholders are shapes that are inherit from corresponding placeholders on\nlayouts and masters.\n\nIf set, the shape is a placeholder shape and any inherited properties\ncan be resolved by looking at the parent placeholder identified by the\nPlaceholder.parent_object_id field."
+ },
+ "shapeProperties": {
+ "$ref": "ShapeProperties",
+ "description": "The properties of the shape."
+ }
+ },
+ "type": "object"
+ },
+ "Image": {
+ "description": "A PageElement kind representing an\nimage.",
+ "id": "Image",
+ "properties": {
+ "imageProperties": {
+ "$ref": "ImageProperties",
+ "description": "The properties of the image."
+ },
+ "contentUrl": {
+ "description": "An URL to an image with a default lifetime of 30 minutes.\nThis URL is tagged with the account of the requester. Anyone with the URL\neffectively accesses the image as the original requester. Access to the\nimage may be lost if the presentation's sharing settings change.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AffineTransform": {
+ "description": "AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ]\nto transform source coordinates (x,y) into destination coordinates (x', y')\naccording to:\n\n x' x = shear_y scale_y translate_y \n 1 [ 1 ]\n\nAfter transformation,\n\n x' = scale_x * x + shear_x * y + translate_x;\n y' = scale_y * y + shear_y * x + translate_y;\n\nThis message is therefore composed of these six matrix elements.",
+ "id": "AffineTransform",
+ "properties": {
+ "translateX": {
+ "description": "The X coordinate translation element.",
+ "format": "double",
+ "type": "number"
+ },
+ "shearY": {
+ "description": "The Y coordinate shearing element.",
+ "format": "double",
+ "type": "number"
+ },
+ "unit": {
+ "description": "The units for translate elements.",
+ "enum": [
+ "UNIT_UNSPECIFIED",
+ "EMU",
+ "PT"
+ ],
+ "enumDescriptions": [
+ "The units are unknown.",
+ "An English Metric Unit (EMU) is defined as 1/360,000 of a centimeter\nand thus there are 914,400 EMUs per inch, and 12,700 EMUs per point.",
+ "A point, 1/72 of an inch."
+ ],
+ "type": "string"
+ },
+ "scaleX": {
+ "description": "The X coordinate scaling element.",
+ "format": "double",
+ "type": "number"
+ },
+ "shearX": {
+ "description": "The X coordinate shearing element.",
+ "format": "double",
+ "type": "number"
+ },
+ "scaleY": {
+ "description": "The Y coordinate scaling element.",
+ "format": "double",
+ "type": "number"
+ },
+ "translateY": {
+ "description": "The Y coordinate translation element.",
+ "format": "double",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "InsertTextRequest": {
+ "description": "Inserts text into a shape or a table cell.",
+ "id": "InsertTextRequest",
+ "properties": {
+ "objectId": {
+ "description": "The object ID of the shape or table where the text will be inserted.",
+ "type": "string"
+ },
+ "text": {
+ "description": "The text to be inserted.\n\nInserting a newline character will implicitly create a new\nParagraphMarker at that index.\nThe paragraph style of the new paragraph will be copied from the paragraph\nat the current insertion index, including lists and bullets.\n\nText styles for inserted text will be determined automatically, generally\npreserving the styling of neighboring text. In most cases, the text will be\nadded to the TextRun that exists at the\ninsertion index.\n\nSome control characters (U+0000-U+0008, U+000C-U+001F) and characters\nfrom the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF)\nwill be stripped out of the inserted text.",
+ "type": "string"
+ },
+ "insertionIndex": {
+ "description": "The index where the text will be inserted, in Unicode code units, based\non TextElement indexes.\n\nThe index is zero-based and is computed from the start of the string.\nThe index may be adjusted to prevent insertions inside Unicode grapheme\nclusters. In these cases, the text will be inserted immediately after the\ngrapheme cluster.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "cellLocation": {
+ "$ref": "TableCellLocation",
+ "description": "The optional table cell location if the text is to be inserted into a table\ncell. If present, the object_id must refer to a table."
+ }
+ },
+ "type": "object"
+ },
+ "AutoText": {
+ "description": "A TextElement kind that represents auto text.",
+ "id": "AutoText",
+ "properties": {
+ "type": {
+ "description": "The type of this auto text.",
+ "enum": [
+ "TYPE_UNSPECIFIED",
+ "SLIDE_NUMBER"
+ ],
+ "enumDescriptions": [
+ "An unspecified autotext type.",
+ "Type for autotext that represents the current slide number."
+ ],
+ "type": "string"
+ },
+ "content": {
+ "description": "The rendered content of this auto text, if available.",
+ "type": "string"
+ },
+ "style": {
+ "$ref": "TextStyle",
+ "description": "The styling applied to this auto text."
+ }
+ },
+ "type": "object"
+ },
+ "CreateVideoResponse": {
+ "description": "The result of creating a video.",
+ "id": "CreateVideoResponse",
+ "properties": {
+ "objectId": {
+ "description": "The object ID of the created video.",
+ "type": "string"
}
},
"type": "object"
@@ -299,6 +815,35 @@
},
"type": "object"
},
+ "UpdatePageElementTransformRequest": {
+ "description": "Updates the transform of a page element.",
+ "id": "UpdatePageElementTransformRequest",
+ "properties": {
+ "objectId": {
+ "description": "The object ID of the page element to update.",
+ "type": "string"
+ },
+ "transform": {
+ "$ref": "AffineTransform",
+ "description": "The input transform matrix used to update the page element."
+ },
+ "applyMode": {
+ "description": "The apply mode of the transform update.",
+ "enum": [
+ "APPLY_MODE_UNSPECIFIED",
+ "RELATIVE",
+ "ABSOLUTE"
+ ],
+ "enumDescriptions": [
+ "Unspecified mode.",
+ "Applies the new AffineTransform matrix to the existing one, and\nreplaces the existing one with the resulting concatenation.",
+ "Replaces the existing AffineTransform matrix with the new one."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"DeleteObjectRequest": {
"description": "Deletes an object, either pages or\npage elements, from the\npresentation.",
"id": "DeleteObjectRequest",
@@ -314,16 +859,6 @@
"description": "A TextElement describes the content of a range of indices in the text content\nof a Shape or TableCell.",
"id": "TextElement",
"properties": {
- "startIndex": {
- "description": "The zero-based start index of this text element, in Unicode code units.",
- "format": "int32",
- "type": "integer"
- },
- "endIndex": {
- "description": "The zero-based end index of this text element, exclusive, in Unicode code\nunits.",
- "format": "int32",
- "type": "integer"
- },
"textRun": {
"$ref": "TextRun",
"description": "A TextElement representing a run of text where all of the characters\nin the run have the same TextStyle.\n\nThe `start_index` and `end_index` of TextRuns will always be fully\ncontained in the index range of a single `paragraph_marker` TextElement.\nIn other words, a TextRun will never span multiple paragraphs."
@@ -335,6 +870,16 @@
"paragraphMarker": {
"$ref": "ParagraphMarker",
"description": "A marker representing the beginning of a new paragraph.\n\nThe `start_index` and `end_index` of this TextElement represent the\nrange of the paragraph. Other TextElements with an index range contained\ninside this paragraph's range are considered to be part of this\nparagraph. The range of indices of two separate paragraphs will never\noverlap."
+ },
+ "startIndex": {
+ "description": "The zero-based start index of this text element, in Unicode code units.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "endIndex": {
+ "description": "The zero-based end index of this text element, exclusive, in Unicode code\nunits.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -391,10 +936,6 @@
"description": "Inserts rows into a table.",
"id": "InsertTableRowsRequest",
"properties": {
- "tableObjectId": {
- "description": "The table to insert rows into.",
- "type": "string"
- },
"insertBelow": {
"description": "Whether to insert new rows below the reference cell location.\n\n- `True`: insert below the cell.\n- `False`: insert above the cell.",
"type": "boolean"
@@ -407,6 +948,10 @@
"cellLocation": {
"$ref": "TableCellLocation",
"description": "The reference table cell location from which rows will be inserted.\n\nA new row will be inserted above (or below) the row where the reference\ncell is. If the reference cell is a merged cell, a new row will be\ninserted above (or below) the merged cell."
+ },
+ "tableObjectId": {
+ "description": "The table to insert rows into.",
+ "type": "string"
}
},
"type": "object"
@@ -430,62 +975,10 @@
},
"type": "object"
},
- "Presentation": {
- "description": "A Google Slides presentation.",
- "id": "Presentation",
- "properties": {
- "notesMaster": {
- "$ref": "Page",
- "description": "The notes master in the presentation. It serves three purposes:\n\n- Placeholder shapes on a notes master contain the default text styles and\n shape properties of all placeholder shapes on notes pages. Specifically,\n a SLIDE_IMAGE placeholder shape is defined to contain the slide\n thumbnail, and a BODY placeholder shape is defined to contain the speaker\n notes.\n- The notes master page properties define the common page properties\n inherited by all notes pages.\n- Any other shapes on the notes master will appear on all notes pages.\n\nThe notes master is read-only."
- },
- "title": {
- "description": "The title of the presentation.",
- "type": "string"
- },
- "layouts": {
- "description": "The layouts in the presentation. A layout is a template that determines\nhow content is arranged and styled on the slides that inherit from that\nlayout.",
- "items": {
- "$ref": "Page"
- },
- "type": "array"
- },
- "masters": {
- "description": "The slide masters in the presentation. A slide master contains all common\npage elements and the common properties for a set of layouts. They serve\nthree purposes:\n\n- Placeholder shapes on a master contain the default text styles and shape\n properties of all placeholder shapes on pages that use that master.\n- The master page properties define the common page properties inherited by\n its layouts.\n- Any other shapes on the master slide will appear on all slides using that\n master, regardless of their layout.",
- "items": {
- "$ref": "Page"
- },
- "type": "array"
- },
- "locale": {
- "description": "The locale of the presentation, as an IETF BCP 47 language tag.",
- "type": "string"
- },
- "pageSize": {
- "$ref": "Size",
- "description": "The size of pages in the presentation."
- },
- "presentationId": {
- "description": "The ID of the presentation.",
- "type": "string"
- },
- "slides": {
- "description": "The slides in the presentation.\nA slide inherits properties from a slide layout.",
- "items": {
- "$ref": "Page"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"LineProperties": {
"description": "The properties of the Line.\n\nWhen unset, these fields default to values that match the appearance of\nnew lines created in the Slides editor.",
"id": "LineProperties",
"properties": {
- "weight": {
- "$ref": "Dimension",
- "description": "The thickness of the line."
- },
"lineFill": {
"$ref": "LineFill",
"description": "The fill of the line. The default line fill matches the defaults for new\nlines created in the Slides editor."
@@ -516,6 +1009,36 @@
],
"type": "string"
},
+ "startArrow": {
+ "description": "The style of the arrow at the beginning of the line.",
+ "enum": [
+ "ARROW_STYLE_UNSPECIFIED",
+ "NONE",
+ "STEALTH_ARROW",
+ "FILL_ARROW",
+ "FILL_CIRCLE",
+ "FILL_SQUARE",
+ "FILL_DIAMOND",
+ "OPEN_ARROW",
+ "OPEN_CIRCLE",
+ "OPEN_SQUARE",
+ "OPEN_DIAMOND"
+ ],
+ "enumDescriptions": [
+ "An unspecified arrow style.",
+ "No arrow.",
+ "Arrow with notched back. Corresponds to ECMA-376 ST_LineEndType value\n'stealth'.",
+ "Filled arrow. Corresponds to ECMA-376 ST_LineEndType value 'triangle'.",
+ "Filled circle. Corresponds to ECMA-376 ST_LineEndType value 'oval'.",
+ "Filled square.",
+ "Filled diamond. Corresponds to ECMA-376 ST_LineEndType value 'diamond'.",
+ "Hollow arrow.",
+ "Hollow circle.",
+ "Hollow square.",
+ "Hollow diamond."
+ ],
+ "type": "string"
+ },
"endArrow": {
"description": "The style of the arrow at the end of the line.",
"enum": [
@@ -546,35 +1069,61 @@
],
"type": "string"
},
- "startArrow": {
- "description": "The style of the arrow at the beginning of the line.",
- "enum": [
- "ARROW_STYLE_UNSPECIFIED",
- "NONE",
- "STEALTH_ARROW",
- "FILL_ARROW",
- "FILL_CIRCLE",
- "FILL_SQUARE",
- "FILL_DIAMOND",
- "OPEN_ARROW",
- "OPEN_CIRCLE",
- "OPEN_SQUARE",
- "OPEN_DIAMOND"
- ],
- "enumDescriptions": [
- "An unspecified arrow style.",
- "No arrow.",
- "Arrow with notched back. Corresponds to ECMA-376 ST_LineEndType value\n'stealth'.",
- "Filled arrow. Corresponds to ECMA-376 ST_LineEndType value 'triangle'.",
- "Filled circle. Corresponds to ECMA-376 ST_LineEndType value 'oval'.",
- "Filled square.",
- "Filled diamond. Corresponds to ECMA-376 ST_LineEndType value 'diamond'.",
- "Hollow arrow.",
- "Hollow circle.",
- "Hollow square.",
- "Hollow diamond."
- ],
+ "weight": {
+ "$ref": "Dimension",
+ "description": "The thickness of the line."
+ }
+ },
+ "type": "object"
+ },
+ "Presentation": {
+ "description": "A Google Slides presentation.",
+ "id": "Presentation",
+ "properties": {
+ "presentationId": {
+ "description": "The ID of the presentation.",
"type": "string"
+ },
+ "slides": {
+ "description": "The slides in the presentation.\nA slide inherits properties from a slide layout.",
+ "items": {
+ "$ref": "Page"
+ },
+ "type": "array"
+ },
+ "revisionId": {
+ "description": "The revision ID of the presentation. Can be used in update requests\nto assert that the presentation revision hasn't changed since the last\nread operation. Only populated if the user has edit access to the\npresentation.\n\nThe format of the revision ID may change over time, so it should be treated\nopaquely. A returned revision ID is only guaranteed to be valid for 24\nhours after it has been returned and cannot be shared across users. Callers\ncan assume that if two revision IDs are equal then the presentation has not\nchanged.",
+ "type": "string"
+ },
+ "notesMaster": {
+ "$ref": "Page",
+ "description": "The notes master in the presentation. It serves three purposes:\n\n- Placeholder shapes on a notes master contain the default text styles and\n shape properties of all placeholder shapes on notes pages. Specifically,\n a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a\n `BODY` placeholder shape contains the speaker notes.\n- The notes master page properties define the common page properties\n inherited by all notes pages.\n- Any other shapes on the notes master will appear on all notes pages.\n\nThe notes master is read-only."
+ },
+ "layouts": {
+ "description": "The layouts in the presentation. A layout is a template that determines\nhow content is arranged and styled on the slides that inherit from that\nlayout.",
+ "items": {
+ "$ref": "Page"
+ },
+ "type": "array"
+ },
+ "title": {
+ "description": "The title of the presentation.",
+ "type": "string"
+ },
+ "locale": {
+ "description": "The locale of the presentation, as an IETF BCP 47 language tag.",
+ "type": "string"
+ },
+ "masters": {
+ "description": "The slide masters in the presentation. A slide master contains all common\npage elements and the common properties for a set of layouts. They serve\nthree purposes:\n\n- Placeholder shapes on a master contain the default text styles and shape\n properties of all placeholder shapes on pages that use that master.\n- The master page properties define the common page properties inherited by\n its layouts.\n- Any other shapes on the master slide will appear on all slides using that\n master, regardless of their layout.",
+ "items": {
+ "$ref": "Page"
+ },
+ "type": "array"
+ },
+ "pageSize": {
+ "$ref": "Size",
+ "description": "The size of pages in the presentation."
}
},
"type": "object"
@@ -636,6 +1185,27 @@
"description": "The properties of the Image.",
"id": "ImageProperties",
"properties": {
+ "shadow": {
+ "$ref": "Shadow",
+ "description": "The shadow of the image. If not set, the image has no shadow. This property\nis read-only."
+ },
+ "link": {
+ "$ref": "Link",
+ "description": "The hyperlink destination of the image. If unset, there is no link."
+ },
+ "contrast": {
+ "description": "The contrast effect of the image. The value should be in the interval\n[-1.0, 1.0], where 0 means no effect. This property is read-only.",
+ "format": "float",
+ "type": "number"
+ },
+ "cropProperties": {
+ "$ref": "CropProperties",
+ "description": "The crop properties of the image. If not set, the image is not cropped.\nThis property is read-only."
+ },
+ "recolor": {
+ "$ref": "Recolor",
+ "description": "The recolor effect of the image. If not set, the image is not recolored.\nThis property is read-only."
+ },
"outline": {
"$ref": "Outline",
"description": "The outline of the image. If not set, the the image has no outline."
@@ -649,27 +1219,6 @@
"description": "The transparency effect of the image. The value should be in the interval\n[0.0, 1.0], where 0 means no effect and 1 means completely transparent.\nThis property is read-only.",
"format": "float",
"type": "number"
- },
- "shadow": {
- "$ref": "Shadow",
- "description": "The shadow of the image. If not set, the image has no shadow. This property\nis read-only."
- },
- "contrast": {
- "description": "The contrast effect of the image. The value should be in the interval\n[-1.0, 1.0], where 0 means no effect. This property is read-only.",
- "format": "float",
- "type": "number"
- },
- "link": {
- "$ref": "Link",
- "description": "The hyperlink destination of the image. If unset, there is no link."
- },
- "recolor": {
- "$ref": "Recolor",
- "description": "The recolor effect of the image. If not set, the image is not recolored.\nThis property is read-only."
- },
- "cropProperties": {
- "$ref": "CropProperties",
- "description": "The crop properties of the image. If not set, the image is not cropped.\nThis property is read-only."
}
},
"type": "object"
@@ -690,6 +1239,10 @@
"description": "A PageElement kind representing a\nline, curved connector, or bent connector.",
"id": "Line",
"properties": {
+ "lineProperties": {
+ "$ref": "LineProperties",
+ "description": "The properties of the line."
+ },
"lineType": {
"description": "The type of the line.",
"enum": [
@@ -717,10 +1270,6 @@
"Curved connector 5 form. Corresponds to ECMA-376 ST_ShapeType\n'curvedConnector5'."
],
"type": "string"
- },
- "lineProperties": {
- "$ref": "LineProperties",
- "description": "The properties of the line."
}
},
"type": "object"
@@ -765,16 +1314,16 @@
"description": "Response message from a batch update.",
"id": "BatchUpdatePresentationResponse",
"properties": {
+ "presentationId": {
+ "description": "The presentation the updates were applied to.",
+ "type": "string"
+ },
"replies": {
"description": "The reply of the updates. This maps 1:1 with the updates, although\nreplies to some requests may be empty.",
"items": {
"$ref": "Response"
},
"type": "array"
- },
- "presentationId": {
- "description": "The presentation the updates were applied to.",
- "type": "string"
}
},
"type": "object"
@@ -813,6 +1362,10 @@
"description": "A single response from an update.",
"id": "Response",
"properties": {
+ "replaceAllShapesWithImage": {
+ "$ref": "ReplaceAllShapesWithImageResponse",
+ "description": "The result of replacing all shapes matching some criteria with an\nimage."
+ },
"createTable": {
"$ref": "CreateTableResponse",
"description": "The result of creating a table."
@@ -845,17 +1398,13 @@
"$ref": "CreateVideoResponse",
"description": "The result of creating a video."
},
- "createSheetsChart": {
- "$ref": "CreateSheetsChartResponse",
- "description": "The result of creating a Google Sheets chart."
- },
"replaceAllShapesWithSheetsChart": {
"$ref": "ReplaceAllShapesWithSheetsChartResponse",
"description": "The result of replacing all shapes matching some criteria with a Google\nSheets chart."
},
- "replaceAllShapesWithImage": {
- "$ref": "ReplaceAllShapesWithImageResponse",
- "description": "The result of replacing all shapes matching some criteria with an\nimage."
+ "createSheetsChart": {
+ "$ref": "CreateSheetsChartResponse",
+ "description": "The result of creating a Google Sheets chart."
}
},
"type": "object"
@@ -864,13 +1413,13 @@
"description": "A criteria that matches a specific string of text in a shape or table.",
"id": "SubstringMatchCriteria",
"properties": {
- "matchCase": {
- "description": "Indicates whether the search should respect case:\n\n- `True`: the search is case sensitive.\n- `False`: the search is case insensitive.",
- "type": "boolean"
- },
"text": {
"description": "The text to search for in the shape or table.",
"type": "string"
+ },
+ "matchCase": {
+ "description": "Indicates whether the search should respect case:\n\n- `True`: the search is case sensitive.\n- `False`: the search is case insensitive.",
+ "type": "boolean"
}
},
"type": "object"
@@ -879,10 +1428,6 @@
"description": "Slide layout reference. This may reference either:\n\n- A predefined layout\n- One of the layouts in the presentation.",
"id": "LayoutReference",
"properties": {
- "layoutId": {
- "description": "Layout ID: the object ID of one of the layouts in the presentation.",
- "type": "string"
- },
"predefinedLayout": {
"description": "Predefined layout.",
"enum": [
@@ -914,6 +1459,10 @@
"Layout with a big number heading."
],
"type": "string"
+ },
+ "layoutId": {
+ "description": "Layout ID: the object ID of one of the layouts in the presentation.",
+ "type": "string"
}
},
"type": "object"
@@ -922,13 +1471,13 @@
"description": "A TextElement kind that represents a run of text that all has the same\nstyling.",
"id": "TextRun",
"properties": {
- "style": {
- "$ref": "TextStyle",
- "description": "The styling applied to this run."
- },
"content": {
"description": "The text of this run.",
"type": "string"
+ },
+ "style": {
+ "$ref": "TextStyle",
+ "description": "The styling applied to this run."
}
},
"type": "object"
@@ -954,26 +1503,10 @@
},
"type": "object"
},
- "CreateTableResponse": {
- "description": "The result of creating a table.",
- "id": "CreateTableResponse",
- "properties": {
- "objectId": {
- "description": "The object ID of the created table.",
- "type": "string"
- }
- },
- "type": "object"
- },
"CreateTableRequest": {
"description": "Creates a new table.",
"id": "CreateTableRequest",
"properties": {
- "rows": {
- "description": "Number of rows in the table.",
- "format": "int32",
- "type": "integer"
- },
"objectId": {
"description": "A user-supplied object ID.\n\nIf you specify an ID, it must be unique among all pages and page elements\nin the presentation. The ID must start with an alphanumeric character or an\nunderscore (matches regex `[a-zA-Z0-9_]`); remaining characters\nmay include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`).\nThe length of the ID must not be less than 5 or greater than 50.\n\nIf you don't specify an ID, a unique one is generated.",
"type": "string"
@@ -986,6 +1519,22 @@
"elementProperties": {
"$ref": "PageElementProperties",
"description": "The element properties for the table.\n\nThe table will be created at the provided size, subject to a minimum size.\nIf no size is provided, the table will be automatically sized.\n\nTable transforms must have a scale of 1 and no shear components. If no\ntransform is provided, the table will be centered on the page."
+ },
+ "rows": {
+ "description": "Number of rows in the table.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "CreateTableResponse": {
+ "description": "The result of creating a table.",
+ "id": "CreateTableResponse",
+ "properties": {
+ "objectId": {
+ "description": "The object ID of the created table.",
+ "type": "string"
}
},
"type": "object"
@@ -994,6 +1543,13 @@
"description": "A PageElement kind representing a\ntable.",
"id": "Table",
"properties": {
+ "tableRows": {
+ "description": "Properties and contents of each row.\n\nCells that span multiple rows are contained in only one of these rows and\nhave a row_span greater\nthan 1.",
+ "items": {
+ "$ref": "TableRow"
+ },
+ "type": "array"
+ },
"rows": {
"description": "Number of rows in the table.",
"format": "int32",
@@ -1010,13 +1566,6 @@
"description": "Number of columns in the table.",
"format": "int32",
"type": "integer"
- },
- "tableRows": {
- "description": "Properties and contents of each row.\n\nCells that span multiple rows are contained in only one of these rows and\nhave a row_span greater\nthan 1.",
- "items": {
- "$ref": "TableRow"
- },
- "type": "array"
}
},
"type": "object"
@@ -1025,14 +1574,6 @@
"description": "The page background fill.",
"id": "PageBackgroundFill",
"properties": {
- "stretchedPictureFill": {
- "$ref": "StretchedPictureFill",
- "description": "Stretched picture fill."
- },
- "solidFill": {
- "$ref": "SolidFill",
- "description": "Solid color fill."
- },
"propertyState": {
"description": "The background fill property state.\n\nUpdating the the fill on a page will implicitly update this field to\n`RENDERED`, unless another value is specified in the same request. To\nhave no fill on a page, set this field to `NOT_RENDERED`. In this case,\nany other fill fields set in the same request will be ignored.",
"enum": [
@@ -1046,6 +1587,14 @@
"If a property's state is INHERIT, then the property state uses the value of\ncorresponding `property_state` field on the parent shape. Elements that do\nnot inherit will never have an INHERIT property state."
],
"type": "string"
+ },
+ "stretchedPictureFill": {
+ "$ref": "StretchedPictureFill",
+ "description": "Stretched picture fill."
+ },
+ "solidFill": {
+ "$ref": "SolidFill",
+ "description": "Solid color fill."
}
},
"type": "object"
@@ -1078,14 +1627,14 @@
"description": "A solid color fill. The page or page element is filled entirely with the\nspecified color value.\n\nIf any field is unset, its value may be inherited from a parent placeholder\nif it exists.",
"id": "SolidFill",
"properties": {
+ "color": {
+ "$ref": "OpaqueColor",
+ "description": "The color value of the solid fill."
+ },
"alpha": {
"description": "The fraction of this `color` that should be applied to the pixel.\nThat is, the final pixel color is defined by the equation:\n\n pixel color = alpha * (color) + (1.0 - alpha) * (background color)\n\nThis means that a value of 1.0 corresponds to a solid color, whereas\na value of 0.0 corresponds to a completely transparent color.",
"format": "float",
"type": "number"
- },
- "color": {
- "$ref": "OpaqueColor",
- "description": "The color value of the solid fill."
}
},
"type": "object"
@@ -1094,6 +1643,10 @@
"description": "A pair mapping a theme color type to the concrete color it represents.",
"id": "ThemeColorPair",
"properties": {
+ "color": {
+ "$ref": "RgbColor",
+ "description": "The concrete color corresponding to the theme color type above."
+ },
"type": {
"description": "The type of the theme color.",
"enum": [
@@ -1135,10 +1688,6 @@
"Represents the second background color."
],
"type": "string"
- },
- "color": {
- "$ref": "RgbColor",
- "description": "The concrete color corresponding to the theme color type above."
}
},
"type": "object"
@@ -1158,10 +1707,6 @@
"description": "Common properties for a page element.\n\nNote: When you initially create a\nPageElement, the API may modify\nthe values of both `size` and `transform`, but the\nvisual size will be unchanged.",
"id": "PageElementProperties",
"properties": {
- "size": {
- "$ref": "Size",
- "description": "The size of the element."
- },
"transform": {
"$ref": "AffineTransform",
"description": "The transform for the element."
@@ -1169,6 +1714,10 @@
"pageObjectId": {
"description": "The object ID of the page where the element is located.",
"type": "string"
+ },
+ "size": {
+ "$ref": "Size",
+ "description": "The size of the element."
}
},
"type": "object"
@@ -1188,13 +1737,13 @@
"description": "The stretched picture fill. The page or page element is filled entirely with\nthe specified picture. The picture is stretched to fit its container.",
"id": "StretchedPictureFill",
"properties": {
- "contentUrl": {
- "description": "Reading the content_url:\n\nAn URL to a picture with a default lifetime of 30 minutes.\nThis URL is tagged with the account of the requester. Anyone with the URL\neffectively accesses the picture as the original requester. Access to the\npicture may be lost if the presentation's sharing settings change.\n\nWriting the content_url:\n\nThe picture is fetched once at insertion time and a copy is stored for\ndisplay inside the presentation. Pictures must be less than 50MB in size,\ncannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF\nformat.",
- "type": "string"
- },
"size": {
"$ref": "Size",
"description": "The original size of the picture fill. This field is read-only."
+ },
+ "contentUrl": {
+ "description": "Reading the content_url:\n\nAn URL to a picture with a default lifetime of 30 minutes.\nThis URL is tagged with the account of the requester. Anyone with the URL\neffectively accesses the picture as the original requester. Access to the\npicture may be lost if the presentation's sharing settings change.\n\nWriting the content_url:\n\nThe picture is fetched once at insertion time and a copy is stored for\ndisplay inside the presentation. Pictures must be less than 50MB in size,\ncannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF\nformat.",
+ "type": "string"
}
},
"type": "object"
@@ -1203,14 +1752,6 @@
"description": "Update the styling of text in a Shape or\nTable.",
"id": "UpdateTextStyleRequest",
"properties": {
- "cellLocation": {
- "$ref": "TableCellLocation",
- "description": "The location of the cell in the table containing the text to style. If\nobject_id refers to a table, cell_location must have a value. Otherwise, it\nmust not."
- },
- "style": {
- "$ref": "TextStyle",
- "description": "The style(s) to set on the text.\n\nIf the value for a particular style matches that of the parent, that style\nwill be set to inherit.\n\nCertain text style changes may cause other changes meant to mirror the\nbehavior of the Slides editor. See the documentation of\nTextStyle for more information."
- },
"fields": {
"description": "The fields that should be updated.\n\nAt least one field must be specified. The root `style` is implied and\nshould not be specified. A single `\"*\"` can be used as short-hand for\nlisting every field.\n\nFor example, to update the text style to bold, set `fields` to `\"bold\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.",
"format": "google-fieldmask",
@@ -1223,6 +1764,14 @@
"textRange": {
"$ref": "Range",
"description": "The range of text to style.\n\nThe range may be extended to include adjacent newlines.\n\nIf the range fully contains a paragraph belonging to a list, the\nparagraph's bullet is also updated with the matching text style."
+ },
+ "cellLocation": {
+ "$ref": "TableCellLocation",
+ "description": "The location of the cell in the table containing the text to style. If\n`object_id` refers to a table, `cell_location` must have a value.\nOtherwise, it must not."
+ },
+ "style": {
+ "$ref": "TextStyle",
+ "description": "The style(s) to set on the text.\n\nIf the value for a particular style matches that of the parent, that style\nwill be set to inherit.\n\nCertain text style changes may cause other changes meant to mirror the\nbehavior of the Slides editor. See the documentation of\nTextStyle for more information."
}
},
"type": "object"
@@ -1246,16 +1795,32 @@
"description": "A List describes the look and feel of bullets belonging to paragraphs\nassociated with a list. A paragraph that is part of a list has an implicit\nreference to that list's ID.",
"id": "List",
"properties": {
- "listId": {
- "description": "The ID of the list.",
- "type": "string"
- },
"nestingLevel": {
"additionalProperties": {
"$ref": "NestingLevel"
},
"description": "A map of nesting levels to the properties of bullets at the associated\nlevel. A list has at most nine levels of nesting, so the possible values\nfor the keys of this map are 0 through 8, inclusive.",
"type": "object"
+ },
+ "listId": {
+ "description": "The ID of the list.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "WeightedFontFamily": {
+ "description": "Represents a font family and weight used to style a TextRun.",
+ "id": "WeightedFontFamily",
+ "properties": {
+ "fontFamily": {
+ "description": "The font family of the text.\n\nThe font family can be any font from the Font menu in Slides or from\n[Google Fonts] (https://fonts.google.com/). If the font name is\nunrecognized, the text is rendered in `Arial`.",
+ "type": "string"
+ },
+ "weight": {
+ "description": "The rendered weight of the text. This field can have any value that is a\nmultiple of 100 between 100 and 900, inclusive. This range corresponds to\nonly the numerical values described in the \"Cascading Style Sheets Level\n2 Revision 1 (CSS 2.1) Specification\",\n[section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness). The\nnon-numerical values in the specification are disallowed. Weights greater\nthan or equal to 700 are considered bold, and weights less than 700 are\nnot bold. The default value is `400` (\"normal\").",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -1308,13 +1873,13 @@
"$ref": "Size",
"description": "The size of the page element."
},
- "title": {
- "description": "The title of the page element. Combined with description to display alt\ntext.",
- "type": "string"
- },
"sheetsChart": {
"$ref": "SheetsChart",
"description": "A linked chart embedded from Google Sheets. Unlinked charts are\nrepresented as images."
+ },
+ "title": {
+ "description": "The title of the page element. Combined with description to display alt\ntext.",
+ "type": "string"
}
},
"type": "object"
@@ -1342,6 +1907,14 @@
"description": "Creates bullets for all of the paragraphs that overlap with the given\ntext index range.\n\nThe nesting level of each paragraph will be determined by counting leading\ntabs in front of each paragraph. To avoid excess space between the bullet and\nthe corresponding paragraph, these leading tabs are removed by this request.\nThis may change the indices of parts of the text.\n\nIf the paragraph immediately before paragraphs being updated is in a list\nwith a matching preset, the paragraphs being updated are added to that\npreceding list.",
"id": "CreateParagraphBulletsRequest",
"properties": {
+ "objectId": {
+ "description": "The object ID of the shape or table containing the text to add bullets to.",
+ "type": "string"
+ },
+ "textRange": {
+ "$ref": "Range",
+ "description": "The range of text to apply the bullet presets to, based on TextElement indexes."
+ },
"bulletPreset": {
"description": "The kinds of bullet glyphs to be used. Defaults to the\n`BULLET_DISC_CIRCLE_SQUARE` preset.",
"enum": [
@@ -1383,14 +1956,21 @@
"cellLocation": {
"$ref": "TableCellLocation",
"description": "The optional table cell location if the text to be modified is in a table\ncell. If present, the object_id must refer to a table."
+ }
+ },
+ "type": "object"
+ },
+ "Size": {
+ "description": "A width and height.",
+ "id": "Size",
+ "properties": {
+ "width": {
+ "$ref": "Dimension",
+ "description": "The width of the object."
},
- "objectId": {
- "description": "The object ID of the shape or table containing the text to add bullets to.",
- "type": "string"
- },
- "textRange": {
- "$ref": "Range",
- "description": "The range of text to apply the bullet presets to, based on TextElement indexes."
+ "height": {
+ "$ref": "Dimension",
+ "description": "The height of the object."
}
},
"type": "object"
@@ -1399,26 +1979,14 @@
"description": "Represents the styling that can be applied to a TextRun.\n\nIf this text is contained in a shape with a parent placeholder, then these text styles may be\ninherited from the parent. Which text styles are inherited depend on the\nnesting level of lists:\n\n* A text run in a paragraph that is not in a list will inherit its text style\n from the the newline character in the paragraph at the 0 nesting level of\n the list inside the parent placeholder.\n* A text run in a paragraph that is in a list will inherit its text style\n from the newline character in the paragraph at its corresponding nesting\n level of the list inside the parent placeholder.\n\nInherited text styles are represented as unset fields in this message. If\ntext is contained in a shape without a parent placeholder, unsetting these\nfields will revert the style to a value matching the defaults in the Slides\neditor.",
"id": "TextStyle",
"properties": {
+ "weightedFontFamily": {
+ "$ref": "WeightedFontFamily",
+ "description": "The font family and rendered weight of the text. This property is\nread-only.\n\nThis field is an extension of `font_family` meant to support explicit font\nweights without breaking backwards compatibility. As such, when reading the\nstyle of a range of text, the value of `weighted_font_family.font_family`\nwill always be equal to that of `font_family`."
+ },
"smallCaps": {
"description": "Whether or not the text is in small capital letters.",
"type": "boolean"
},
- "baselineOffset": {
- "description": "The text's vertical offset from its normal position.\n\nText with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically\nrendered in a smaller font size, computed based on the `font_size` field.\nThe `font_size` itself is not affected by changes in this field.",
- "enum": [
- "BASELINE_OFFSET_UNSPECIFIED",
- "NONE",
- "SUPERSCRIPT",
- "SUBSCRIPT"
- ],
- "enumDescriptions": [
- "The text's baseline offset is inherited from the parent.",
- "The text is not vertically offset.",
- "The text is vertically offset upwards (superscript).",
- "The text is vertically offset downwards (subscript)."
- ],
- "type": "string"
- },
"backgroundColor": {
"$ref": "OptionalColor",
"description": "The background color of the text. If set, the color is either opaque or\ntransparent, depending on if the `opaque_color` field in it is set."
@@ -1431,14 +1999,14 @@
"description": "Whether or not the text is underlined.",
"type": "boolean"
},
- "bold": {
- "description": "Whether or not the text is rendered as bold.",
- "type": "boolean"
- },
"foregroundColor": {
"$ref": "OptionalColor",
"description": "The color of the text itself. If set, the color is either opaque or\ntransparent, depending on if the `opaque_color` field in it is set."
},
+ "bold": {
+ "description": "Whether or not the text is rendered as bold.",
+ "type": "boolean"
+ },
"fontFamily": {
"description": "The font family of the text.\n\nThe font family can be any font from the Font menu in Slides or from\n[Google Fonts] (https://fonts.google.com/). If the font name is\nunrecognized, the text is rendered in `Arial`.\n\nSome fonts can affect the weight of the text. If an update request\nspecifies values for both `font_family` and `bold`, the explicitly-set\n`bold` value is used.",
"type": "string"
@@ -1454,21 +2022,22 @@
"fontSize": {
"$ref": "Dimension",
"description": "The size of the text's font. When read, the `font_size` will specified in\npoints."
- }
- },
- "type": "object"
- },
- "Size": {
- "description": "A width and height.",
- "id": "Size",
- "properties": {
- "height": {
- "$ref": "Dimension",
- "description": "The height of the object."
},
- "width": {
- "$ref": "Dimension",
- "description": "The width of the object."
+ "baselineOffset": {
+ "description": "The text's vertical offset from its normal position.\n\nText with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically\nrendered in a smaller font size, computed based on the `font_size` field.\nThe `font_size` itself is not affected by changes in this field.",
+ "enum": [
+ "BASELINE_OFFSET_UNSPECIFIED",
+ "NONE",
+ "SUPERSCRIPT",
+ "SUBSCRIPT"
+ ],
+ "enumDescriptions": [
+ "The text's baseline offset is inherited from the parent.",
+ "The text is not vertically offset.",
+ "The text is vertically offset upwards (superscript).",
+ "The text is vertically offset downwards (subscript)."
+ ],
+ "type": "string"
}
},
"type": "object"
@@ -1477,10 +2046,6 @@
"description": "Update the properties of a Video.",
"id": "UpdateVideoPropertiesRequest",
"properties": {
- "objectId": {
- "description": "The object ID of the video the updates are applied to.",
- "type": "string"
- },
"videoProperties": {
"$ref": "VideoProperties",
"description": "The video properties to update."
@@ -1489,6 +2054,10 @@
"description": "The fields that should be updated.\n\nAt least one field must be specified. The root `videoProperties` is\nimplied and should not be specified. A single `\"*\"` can be used as\nshort-hand for listing every field.\n\nFor example to update the video outline color, set `fields` to\n`\"outline.outlineFill.solidFill.color\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.",
"format": "google-fieldmask",
"type": "string"
+ },
+ "objectId": {
+ "description": "The object ID of the video the updates are applied to.",
+ "type": "string"
}
},
"type": "object"
@@ -1497,58 +2066,6 @@
"description": "A single kind of update to apply to a presentation.",
"id": "Request",
"properties": {
- "insertText": {
- "$ref": "InsertTextRequest",
- "description": "Inserts text into a shape or table cell."
- },
- "deleteText": {
- "$ref": "DeleteTextRequest",
- "description": "Deletes text from a shape or a table cell."
- },
- "updatePageProperties": {
- "$ref": "UpdatePagePropertiesRequest",
- "description": "Updates the properties of a Page."
- },
- "createShape": {
- "$ref": "CreateShapeRequest",
- "description": "Creates a new shape."
- },
- "deleteParagraphBullets": {
- "$ref": "DeleteParagraphBulletsRequest",
- "description": "Deletes bullets from paragraphs."
- },
- "insertTableColumns": {
- "$ref": "InsertTableColumnsRequest",
- "description": "Inserts columns into a table."
- },
- "refreshSheetsChart": {
- "$ref": "RefreshSheetsChartRequest",
- "description": "Refreshes a Google Sheets chart."
- },
- "updateTableCellProperties": {
- "$ref": "UpdateTableCellPropertiesRequest",
- "description": "Updates the properties of a TableCell."
- },
- "createTable": {
- "$ref": "CreateTableRequest",
- "description": "Creates a new table."
- },
- "deleteObject": {
- "$ref": "DeleteObjectRequest",
- "description": "Deletes a page or page element from the presentation."
- },
- "updateParagraphStyle": {
- "$ref": "UpdateParagraphStyleRequest",
- "description": "Updates the styling of paragraphs within a Shape or Table."
- },
- "duplicateObject": {
- "$ref": "DuplicateObjectRequest",
- "description": "Duplicates a slide or page element."
- },
- "deleteTableColumn": {
- "$ref": "DeleteTableColumnRequest",
- "description": "Deletes a column from a table."
- },
"updateVideoProperties": {
"$ref": "UpdateVideoPropertiesRequest",
"description": "Updates the properties of a Video."
@@ -1620,6 +2137,58 @@
"updateShapeProperties": {
"$ref": "UpdateShapePropertiesRequest",
"description": "Updates the properties of a Shape."
+ },
+ "insertText": {
+ "$ref": "InsertTextRequest",
+ "description": "Inserts text into a shape or table cell."
+ },
+ "deleteText": {
+ "$ref": "DeleteTextRequest",
+ "description": "Deletes text from a shape or a table cell."
+ },
+ "updatePageProperties": {
+ "$ref": "UpdatePagePropertiesRequest",
+ "description": "Updates the properties of a Page."
+ },
+ "deleteParagraphBullets": {
+ "$ref": "DeleteParagraphBulletsRequest",
+ "description": "Deletes bullets from paragraphs."
+ },
+ "createShape": {
+ "$ref": "CreateShapeRequest",
+ "description": "Creates a new shape."
+ },
+ "insertTableColumns": {
+ "$ref": "InsertTableColumnsRequest",
+ "description": "Inserts columns into a table."
+ },
+ "refreshSheetsChart": {
+ "$ref": "RefreshSheetsChartRequest",
+ "description": "Refreshes a Google Sheets chart."
+ },
+ "createTable": {
+ "$ref": "CreateTableRequest",
+ "description": "Creates a new table."
+ },
+ "updateTableCellProperties": {
+ "$ref": "UpdateTableCellPropertiesRequest",
+ "description": "Updates the properties of a TableCell."
+ },
+ "deleteObject": {
+ "$ref": "DeleteObjectRequest",
+ "description": "Deletes a page or page element from the presentation."
+ },
+ "updateParagraphStyle": {
+ "$ref": "UpdateParagraphStyleRequest",
+ "description": "Updates the styling of paragraphs within a Shape or Table."
+ },
+ "deleteTableColumn": {
+ "$ref": "DeleteTableColumnRequest",
+ "description": "Deletes a column from a table."
+ },
+ "duplicateObject": {
+ "$ref": "DuplicateObjectRequest",
+ "description": "Duplicates a slide or page element."
}
},
"type": "object"
@@ -1648,6 +2217,33 @@
"description": "Styles that apply to a whole paragraph.\n\nIf this text is contained in a shape with a parent placeholder, then these paragraph styles may be\ninherited from the parent. Which paragraph styles are inherited depend on the\nnesting level of lists:\n\n* A paragraph not in a list will inherit its paragraph style from the\n paragraph at the 0 nesting level of the list inside the parent placeholder.\n* A paragraph in a list will inherit its paragraph style from the paragraph\n at its corresponding nesting level of the list inside the parent\n placeholder.\n\nInherited paragraph styles are represented as unset fields in this message.",
"id": "ParagraphStyle",
"properties": {
+ "alignment": {
+ "description": "The text alignment for this paragraph.",
+ "enum": [
+ "ALIGNMENT_UNSPECIFIED",
+ "START",
+ "CENTER",
+ "END",
+ "JUSTIFIED"
+ ],
+ "enumDescriptions": [
+ "The paragraph alignment is inherited from the parent.",
+ "The paragraph is aligned to the start of the line. Left-aligned for\nLTR text, right-aligned otherwise.",
+ "The paragraph is centered.",
+ "The paragraph is aligned to the end of the line. Right-aligned for\nLTR text, left-aligned otherwise.",
+ "The paragraph is justified."
+ ],
+ "type": "string"
+ },
+ "lineSpacing": {
+ "description": "The amount of space between lines, as a percentage of normal, where normal\nis represented as 100.0. If unset, the value is inherited from the parent.",
+ "format": "float",
+ "type": "number"
+ },
+ "indentFirstLine": {
+ "$ref": "Dimension",
+ "description": "The amount of indentation for the start of the first line of the paragraph.\nIf unset, the value is inherited from the parent."
+ },
"spaceBelow": {
"$ref": "Dimension",
"description": "The amount of extra space above the paragraph. If unset, the value is\ninherited from the parent."
@@ -1666,10 +2262,6 @@
],
"type": "string"
},
- "indentEnd": {
- "$ref": "Dimension",
- "description": "The amount indentation for the paragraph on the side that corresponds to\nthe end of the text, based on the current text direction. If unset, the\nvalue is inherited from the parent."
- },
"spacingMode": {
"description": "The spacing mode for the paragraph.",
"enum": [
@@ -1684,6 +2276,10 @@
],
"type": "string"
},
+ "indentEnd": {
+ "$ref": "Dimension",
+ "description": "The amount indentation for the paragraph on the side that corresponds to\nthe end of the text, based on the current text direction. If unset, the\nvalue is inherited from the parent."
+ },
"indentStart": {
"$ref": "Dimension",
"description": "The amount indentation for the paragraph on the side that corresponds to\nthe start of the text, based on the current text direction. If unset, the\nvalue is inherited from the parent."
@@ -1691,33 +2287,6 @@
"spaceAbove": {
"$ref": "Dimension",
"description": "The amount of extra space above the paragraph. If unset, the value is\ninherited from the parent."
- },
- "indentFirstLine": {
- "$ref": "Dimension",
- "description": "The amount of indentation for the start of the first line of the paragraph.\nIf unset, the value is inherited from the parent."
- },
- "lineSpacing": {
- "description": "The amount of space between lines, as a percentage of normal, where normal\nis represented as 100.0. If unset, the value is inherited from the parent.",
- "format": "float",
- "type": "number"
- },
- "alignment": {
- "description": "The text alignment for this paragraph.",
- "enum": [
- "ALIGNMENT_UNSPECIFIED",
- "START",
- "CENTER",
- "END",
- "JUSTIFIED"
- ],
- "enumDescriptions": [
- "The paragraph alignment is inherited from the parent.",
- "The paragraph is aligned to the start of the line. Left-aligned for\nLTR text, right-aligned otherwise.",
- "The paragraph is centered.",
- "The paragraph is aligned to the end of the line. Right-aligned for\nLTR text, left-aligned otherwise.",
- "The paragraph is justified."
- ],
- "type": "string"
}
},
"type": "object"
@@ -1760,6 +2329,20 @@
"description": "The outline of a PageElement.\n\nIf these fields are unset, they may be inherited from a parent placeholder\nif it exists. If there is no parent, the fields will default to the value\nused for new page elements created in the Slides editor, which may depend on\nthe page element kind.",
"id": "Outline",
"properties": {
+ "propertyState": {
+ "description": "The outline property state.\n\nUpdating the the outline on a page element will implicitly update this\nfield to`RENDERED`, unless another value is specified in the same request.\nTo have no outline on a page element, set this field to `NOT_RENDERED`. In\nthis case, any other outline fields set in the same request will be\nignored.",
+ "enum": [
+ "RENDERED",
+ "NOT_RENDERED",
+ "INHERIT"
+ ],
+ "enumDescriptions": [
+ "If a property's state is RENDERED, then the element has the corresponding\nproperty when rendered on a page. If the element is a placeholder shape as\ndetermined by the placeholder\nfield, and it inherits from a placeholder shape, the corresponding field\nmay be unset, meaning that the property value is inherited from a parent\nplaceholder. If the element does not inherit, then the field will contain\nthe rendered value. This is the default value.",
+ "If a property's state is NOT_RENDERED, then the element does not have the\ncorresponding property when rendered on a page. However, the field may\nstill be set so it can be inherited by child shapes. To remove a property\nfrom a rendered element, set its property_state to NOT_RENDERED.",
+ "If a property's state is INHERIT, then the property state uses the value of\ncorresponding `property_state` field on the parent shape. Elements that do\nnot inherit will never have an INHERIT property state."
+ ],
+ "type": "string"
+ },
"outlineFill": {
"$ref": "OutlineFill",
"description": "The fill of the outline."
@@ -1789,31 +2372,17 @@
"Alternating large dashes and dots. Corresponds to ECMA-376\nST_PresetLineDashVal value 'lgDashDot'."
],
"type": "string"
- },
- "propertyState": {
- "description": "The outline property state.\n\nUpdating the the outline on a page element will implicitly update this\nfield to`RENDERED`, unless another value is specified in the same request.\nTo have no outline on a page element, set this field to `NOT_RENDERED`. In\nthis case, any other outline fields set in the same request will be\nignored.",
- "enum": [
- "RENDERED",
- "NOT_RENDERED",
- "INHERIT"
- ],
- "enumDescriptions": [
- "If a property's state is RENDERED, then the element has the corresponding\nproperty when rendered on a page. If the element is a placeholder shape as\ndetermined by the placeholder\nfield, and it inherits from a placeholder shape, the corresponding field\nmay be unset, meaning that the property value is inherited from a parent\nplaceholder. If the element does not inherit, then the field will contain\nthe rendered value. This is the default value.",
- "If a property's state is NOT_RENDERED, then the element does not have the\ncorresponding property when rendered on a page. However, the field may\nstill be set so it can be inherited by child shapes. To remove a property\nfrom a rendered element, set its property_state to NOT_RENDERED.",
- "If a property's state is INHERIT, then the property state uses the value of\ncorresponding `property_state` field on the parent shape. Elements that do\nnot inherit will never have an INHERIT property state."
- ],
- "type": "string"
}
},
"type": "object"
},
- "NotesProperties": {
- "description": "The properties of Page that are only\nrelevant for pages with page_type NOTES.",
- "id": "NotesProperties",
+ "TableColumnProperties": {
+ "description": "Properties of each column in a table.",
+ "id": "TableColumnProperties",
"properties": {
- "speakerNotesObjectId": {
- "description": "The object ID of the shape on this notes page that contains the speaker\nnotes for the corresponding slide.\nThe actual shape may not always exist on the notes page. Inserting text\nusing this object ID will automatically create the shape. In this case, the\nactual shape may have different object ID. The `GetPresentation` or\n`GetPage` action will always return the latest object ID.",
- "type": "string"
+ "columnWidth": {
+ "$ref": "Dimension",
+ "description": "Width of a column."
}
},
"type": "object"
@@ -1841,13 +2410,13 @@
},
"type": "object"
},
- "TableColumnProperties": {
- "description": "Properties of each column in a table.",
- "id": "TableColumnProperties",
+ "NotesProperties": {
+ "description": "The properties of Page that are only\nrelevant for pages with page_type NOTES.",
+ "id": "NotesProperties",
"properties": {
- "columnWidth": {
- "$ref": "Dimension",
- "description": "Width of a column."
+ "speakerNotesObjectId": {
+ "description": "The object ID of the shape on this notes page that contains the speaker\nnotes for the corresponding slide.\nThe actual shape may not always exist on the notes page. Inserting text\nusing this object ID will automatically create the shape. In this case, the\nactual shape may have different object ID. The `GetPresentation` or\n`GetPage` action will always return the latest object ID.",
+ "type": "string"
}
},
"type": "object"
@@ -1931,6 +2500,10 @@
"$ref": "Request"
},
"type": "array"
+ },
+ "writeControl": {
+ "$ref": "WriteControl",
+ "description": "Provides control over how write requests are executed, such as\nconditionally updating the presentation."
}
},
"type": "object"
@@ -1939,19 +2512,19 @@
"description": "The general text content. The text must reside in a compatible shape (e.g.\ntext box or rectangle) or a table cell in a page.",
"id": "TextContent",
"properties": {
- "lists": {
- "additionalProperties": {
- "$ref": "List"
- },
- "description": "The bulleted lists contained in this text, keyed by list ID.",
- "type": "object"
- },
"textElements": {
"description": "The text contents broken down into its component parts, including styling\ninformation. This property is read-only.",
"items": {
"$ref": "TextElement"
},
"type": "array"
+ },
+ "lists": {
+ "additionalProperties": {
+ "$ref": "List"
+ },
+ "description": "The bulleted lists contained in this text, keyed by list ID.",
+ "type": "object"
}
},
"type": "object"
@@ -1967,6 +2540,17 @@
},
"type": "object"
},
+ "WriteControl": {
+ "description": "Provides control over how write requests are executed.",
+ "id": "WriteControl",
+ "properties": {
+ "requiredRevisionId": {
+ "description": "The revision ID of the presentation required for the write request. If\nspecified and the `required_revision_id` doesn't exactly match the\npresentation's current `revision_id`, the request will not be processed and\nwill return a 400 bad request error.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"DeleteParagraphBulletsRequest": {
"description": "Deletes bullets from all of the paragraphs that overlap with the given text\nindex range.\n\nThe nesting level of each paragraph will be visually preserved by adding\nindent to the start of the corresponding paragraph.",
"id": "DeleteParagraphBulletsRequest",
@@ -1990,13 +2574,34 @@
"description": "A TextElement kind that represents the beginning of a new paragraph.",
"id": "ParagraphMarker",
"properties": {
- "style": {
- "$ref": "ParagraphStyle",
- "description": "The paragraph's style"
- },
"bullet": {
"$ref": "Bullet",
"description": "The bullet for this paragraph. If not present, the paragraph does not\nbelong to a list."
+ },
+ "style": {
+ "$ref": "ParagraphStyle",
+ "description": "The paragraph's style"
+ }
+ },
+ "type": "object"
+ },
+ "Thumbnail": {
+ "description": "The thumbnail of a page.",
+ "id": "Thumbnail",
+ "properties": {
+ "height": {
+ "description": "The positive height in pixels of the thumbnail image.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "contentUrl": {
+ "description": "The content URL of the thumbnail image.\n\nThe URL to the image has a default lifetime of 30 minutes.\nThis URL is tagged with the account of the requester. Anyone with the URL\neffectively accesses the image as the original requester. Access to the\nimage may be lost if the presentation's sharing settings change.\nThe mime type of the thumbnail image is the same as specified in the\n`GetPageThumbnailRequest`.",
+ "type": "string"
+ },
+ "width": {
+ "description": "The positive width in pixels of the thumbnail image.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -2048,6 +2653,10 @@
"description": "Update the properties of a Shape.",
"id": "UpdateShapePropertiesRequest",
"properties": {
+ "shapeProperties": {
+ "$ref": "ShapeProperties",
+ "description": "The shape properties to update."
+ },
"fields": {
"description": "The fields that should be updated.\n\nAt least one field must be specified. The root `shapeProperties` is\nimplied and should not be specified. A single `\"*\"` can be used as\nshort-hand for listing every field.\n\nFor example to update the shape background solid fill color, set `fields`\nto `\"shapeBackgroundFill.solidFill.color\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.",
"format": "google-fieldmask",
@@ -2056,10 +2665,6 @@
"objectId": {
"description": "The object ID of the shape the updates are applied to.",
"type": "string"
- },
- "shapeProperties": {
- "$ref": "ShapeProperties",
- "description": "The shape properties to update."
}
},
"type": "object"
@@ -2185,10 +2790,26 @@
},
"type": "object"
},
+ "CreateShapeResponse": {
+ "description": "The result of creating a shape.",
+ "id": "CreateShapeResponse",
+ "properties": {
+ "objectId": {
+ "description": "The object ID of the created shape.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"RgbColor": {
"description": "An RGB color.",
"id": "RgbColor",
"properties": {
+ "red": {
+ "description": "The red component of the color, from 0.0 to 1.0.",
+ "format": "float",
+ "type": "number"
+ },
"green": {
"description": "The green component of the color, from 0.0 to 1.0.",
"format": "float",
@@ -2198,22 +2819,6 @@
"description": "The blue component of the color, from 0.0 to 1.0.",
"format": "float",
"type": "number"
- },
- "red": {
- "description": "The red component of the color, from 0.0 to 1.0.",
- "format": "float",
- "type": "number"
- }
- },
- "type": "object"
- },
- "CreateShapeResponse": {
- "description": "The result of creating a shape.",
- "id": "CreateShapeResponse",
- "properties": {
- "objectId": {
- "description": "The object ID of the created shape.",
- "type": "string"
}
},
"type": "object"
@@ -2571,10 +3176,6 @@
"description": "A PageElement kind representing a\nvideo.",
"id": "Video",
"properties": {
- "videoProperties": {
- "$ref": "VideoProperties",
- "description": "The properties of the video."
- },
"source": {
"description": "The video source.",
"enum": [
@@ -2594,6 +3195,10 @@
"id": {
"description": "The video source's unique identifier for this video.",
"type": "string"
+ },
+ "videoProperties": {
+ "$ref": "VideoProperties",
+ "description": "The properties of the video."
}
},
"type": "object"
@@ -2617,10 +3222,6 @@
"description": "Properties and contents of each table cell.",
"id": "TableCell",
"properties": {
- "tableCellProperties": {
- "$ref": "TableCellProperties",
- "description": "The properties of the table cell."
- },
"location": {
"$ref": "TableCellLocation",
"description": "The location of the cell within the table."
@@ -2638,6 +3239,10 @@
"text": {
"$ref": "TextContent",
"description": "The text content of the cell."
+ },
+ "tableCellProperties": {
+ "$ref": "TableCellProperties",
+ "description": "The properties of the table cell."
}
},
"type": "object"
@@ -2657,6 +3262,10 @@
"description": "Updates the properties of a Line.",
"id": "UpdateLinePropertiesRequest",
"properties": {
+ "objectId": {
+ "description": "The object ID of the line the update is applied to.",
+ "type": "string"
+ },
"lineProperties": {
"$ref": "LineProperties",
"description": "The line properties to update."
@@ -2665,10 +3274,31 @@
"description": "The fields that should be updated.\n\nAt least one field must be specified. The root `lineProperties` is\nimplied and should not be specified. A single `\"*\"` can be used as\nshort-hand for listing every field.\n\nFor example to update the line solid fill color, set `fields` to\n`\"lineFill.solidFill.color\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.",
"format": "google-fieldmask",
"type": "string"
- },
- "objectId": {
- "description": "The object ID of the line the update is applied to.",
+ }
+ },
+ "type": "object"
+ },
+ "TableCellBackgroundFill": {
+ "description": "The table cell background fill.",
+ "id": "TableCellBackgroundFill",
+ "properties": {
+ "propertyState": {
+ "description": "The background fill property state.\n\nUpdating the the fill on a table cell will implicitly update this field\nto `RENDERED`, unless another value is specified in the same request. To\nhave no fill on a table cell, set this field to `NOT_RENDERED`. In this\ncase, any other fill fields set in the same request will be ignored.",
+ "enum": [
+ "RENDERED",
+ "NOT_RENDERED",
+ "INHERIT"
+ ],
+ "enumDescriptions": [
+ "If a property's state is RENDERED, then the element has the corresponding\nproperty when rendered on a page. If the element is a placeholder shape as\ndetermined by the placeholder\nfield, and it inherits from a placeholder shape, the corresponding field\nmay be unset, meaning that the property value is inherited from a parent\nplaceholder. If the element does not inherit, then the field will contain\nthe rendered value. This is the default value.",
+ "If a property's state is NOT_RENDERED, then the element does not have the\ncorresponding property when rendered on a page. However, the field may\nstill be set so it can be inherited by child shapes. To remove a property\nfrom a rendered element, set its property_state to NOT_RENDERED.",
+ "If a property's state is INHERIT, then the property state uses the value of\ncorresponding `property_state` field on the parent shape. Elements that do\nnot inherit will never have an INHERIT property state."
+ ],
"type": "string"
+ },
+ "solidFill": {
+ "$ref": "SolidFill",
+ "description": "Solid color fill."
}
},
"type": "object"
@@ -2692,31 +3322,6 @@
},
"type": "object"
},
- "TableCellBackgroundFill": {
- "description": "The table cell background fill.",
- "id": "TableCellBackgroundFill",
- "properties": {
- "solidFill": {
- "$ref": "SolidFill",
- "description": "Solid color fill."
- },
- "propertyState": {
- "description": "The background fill property state.\n\nUpdating the the fill on a table cell will implicitly update this field\nto `RENDERED`, unless another value is specified in the same request. To\nhave no fill on a table cell, set this field to `NOT_RENDERED`. In this\ncase, any other fill fields set in the same request will be ignored.",
- "enum": [
- "RENDERED",
- "NOT_RENDERED",
- "INHERIT"
- ],
- "enumDescriptions": [
- "If a property's state is RENDERED, then the element has the corresponding\nproperty when rendered on a page. If the element is a placeholder shape as\ndetermined by the placeholder\nfield, and it inherits from a placeholder shape, the corresponding field\nmay be unset, meaning that the property value is inherited from a parent\nplaceholder. If the element does not inherit, then the field will contain\nthe rendered value. This is the default value.",
- "If a property's state is NOT_RENDERED, then the element does not have the\ncorresponding property when rendered on a page. However, the field may\nstill be set so it can be inherited by child shapes. To remove a property\nfrom a rendered element, set its property_state to NOT_RENDERED.",
- "If a property's state is INHERIT, then the property state uses the value of\ncorresponding `property_state` field on the parent shape. Elements that do\nnot inherit will never have an INHERIT property state."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
"UpdatePagePropertiesRequest": {
"description": "Updates the properties of a Page.",
"id": "UpdatePagePropertiesRequest",
@@ -2755,6 +3360,11 @@
"description": "The placeholder information that uniquely identifies a placeholder shape.",
"id": "Placeholder",
"properties": {
+ "index": {
+ "description": "The index of the placeholder. If the same placeholder types are the present\nin the same page, they would have different index values.",
+ "format": "int32",
+ "type": "integer"
+ },
"type": {
"description": "The type of the placeholder.",
"enum": [
@@ -2800,11 +3410,6 @@
"parentObjectId": {
"description": "The object ID of this shape's parent placeholder.\nIf unset, the parent placeholder shape does not exist, so the shape does\nnot inherit properties from any other shape.",
"type": "string"
- },
- "index": {
- "description": "The index of the placeholder. If the same placeholder types are the present\nin the same page, they would have different index values.",
- "format": "int32",
- "type": "integer"
}
},
"type": "object"
@@ -2846,9 +3451,24 @@
"description": "A page in a presentation.",
"id": "Page",
"properties": {
- "notesProperties": {
- "$ref": "NotesProperties",
- "description": "Notes specific properties. Only set if page_type = NOTES."
+ "objectId": {
+ "description": "The object ID for this page. Object IDs used by\nPage and\nPageElement share the same namespace.",
+ "type": "string"
+ },
+ "revisionId": {
+ "description": "The revision ID of the presentation containing this page. Can be used in\nupdate requests to assert that the presentation revision hasn't changed\nsince the last read operation. Only populated if the user has edit access\nto the presentation.\n\nThe format of the revision ID may change over time, so it should be treated\nopaquely. A returned revision ID is only guaranteed to be valid for 24\nhours after it has been returned and cannot be shared across\nusers. Callers can assume that if two revision IDs are equal then the\npresentation has not changed.",
+ "type": "string"
+ },
+ "layoutProperties": {
+ "$ref": "LayoutProperties",
+ "description": "Layout specific properties. Only set if page_type = LAYOUT."
+ },
+ "pageElements": {
+ "description": "The page elements rendered on the page.",
+ "items": {
+ "$ref": "PageElement"
+ },
+ "type": "array"
},
"pageType": {
"description": "The type of the page.",
@@ -2868,28 +3488,17 @@
],
"type": "string"
},
- "pageElements": {
- "description": "The page elements rendered on the page.",
- "items": {
- "$ref": "PageElement"
- },
- "type": "array"
- },
- "slideProperties": {
- "$ref": "SlideProperties",
- "description": "Slide specific properties. Only set if page_type = SLIDE."
+ "notesProperties": {
+ "$ref": "NotesProperties",
+ "description": "Notes specific properties. Only set if page_type = NOTES."
},
"pageProperties": {
"$ref": "PageProperties",
"description": "The properties of the page."
},
- "objectId": {
- "description": "The object ID for this page. Object IDs used by\nPage and\nPageElement share the same namespace.",
- "type": "string"
- },
- "layoutProperties": {
- "$ref": "LayoutProperties",
- "description": "Layout specific properties. Only set if page_type = LAYOUT."
+ "slideProperties": {
+ "$ref": "SlideProperties",
+ "description": "Slide specific properties. Only set if page_type = SLIDE."
}
},
"type": "object"
@@ -2923,11 +3532,6 @@
"description": "The crop properties of an object enclosed in a container. For example, an\nImage.\n\nThe crop properties is represented by the offsets of four edges which define\na crop rectangle. The offsets are measured in percentage from the\ncorresponding edges of the object's original bounding rectangle towards\ninside, relative to the object's original dimensions.\n\n- If the offset is in the interval (0, 1), the corresponding edge of crop\nrectangle is positioned inside of the object's original bounding rectangle.\n- If the offset is negative or greater than 1, the corresponding edge of crop\nrectangle is positioned outside of the object's original bounding rectangle.\n- If the left edge of the crop rectangle is on the right side of its right\nedge, the object will be flipped horizontally.\n- If the top edge of the crop rectangle is below its bottom edge, the object\nwill be flipped vertically.\n- If all offsets and rotation angle is 0, the object is not cropped.\n\nAfter cropping, the content in the crop rectangle will be stretched to fit\nits container.",
"id": "CropProperties",
"properties": {
- "angle": {
- "description": "The rotation angle of the crop window around its center, in radians.\nRotation angle is applied after the offset.",
- "format": "float",
- "type": "number"
- },
"topOffset": {
"description": "The offset specifies the top edge of the crop rectangle that is located\nbelow the original bounding rectangle top edge, relative to the object's\noriginal height.",
"format": "float",
@@ -2947,6 +3551,11 @@
"description": "The offset specifies the bottom edge of the crop rectangle that is located\nabove the original bounding rectangle bottom edge, relative to the object's\noriginal height.",
"format": "float",
"type": "number"
+ },
+ "angle": {
+ "description": "The rotation angle of the crop window around its center, in radians.\nRotation angle is applied after the offset.",
+ "format": "float",
+ "type": "number"
}
},
"type": "object"
@@ -2983,6 +3592,27 @@
},
"type": "object"
},
+ "ColorStop": {
+ "description": "A color and position in a gradient band.",
+ "id": "ColorStop",
+ "properties": {
+ "alpha": {
+ "description": "The alpha value of this color in the gradient band. Defaults to 1.0,\nfully opaque.",
+ "format": "float",
+ "type": "number"
+ },
+ "position": {
+ "description": "The relative position of the color stop in the gradient band measured\nin percentage. The value should be in the interval [0.0, 1.0].",
+ "format": "float",
+ "type": "number"
+ },
+ "color": {
+ "$ref": "OpaqueColor",
+ "description": "The color of the gradient stop."
+ }
+ },
+ "type": "object"
+ },
"Range": {
"description": "Specifies a contiguous range of an indexed collection, such as characters in\ntext.",
"id": "Range",
@@ -3016,39 +3646,10 @@
},
"type": "object"
},
- "ColorStop": {
- "description": "A color and position in a gradient band.",
- "id": "ColorStop",
- "properties": {
- "color": {
- "$ref": "OpaqueColor",
- "description": "The color of the gradient stop."
- },
- "alpha": {
- "description": "The alpha value of this color in the gradient band. Defaults to 1.0,\nfully opaque.",
- "format": "float",
- "type": "number"
- },
- "position": {
- "description": "The relative position of the color stop in the gradient band measured\nin percentage. The value should be in the interval [0.0, 1.0].",
- "format": "float",
- "type": "number"
- }
- },
- "type": "object"
- },
"CreateVideoRequest": {
"description": "Creates a video.",
"id": "CreateVideoRequest",
"properties": {
- "elementProperties": {
- "$ref": "PageElementProperties",
- "description": "The element properties for the video."
- },
- "id": {
- "description": "The video source's unique identifier for this video.\n\ne.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0,\nthe ID is 7U3axjORYZ0.",
- "type": "string"
- },
"objectId": {
"description": "A user-supplied object ID.\n\nIf you specify an ID, it must be unique among all pages and page elements\nin the presentation. The ID must start with an alphanumeric character or an\nunderscore (matches regex `[a-zA-Z0-9_]`); remaining characters\nmay include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`).\nThe length of the ID must not be less than 5 or greater than 50.\n\nIf you don't specify an ID, a unique one is generated.",
"type": "string"
@@ -3064,6 +3665,14 @@
"The video source is YouTube."
],
"type": "string"
+ },
+ "elementProperties": {
+ "$ref": "PageElementProperties",
+ "description": "The element properties for the video."
+ },
+ "id": {
+ "description": "The video source's unique identifier for this video.\n\ne.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0,\nthe ID is 7U3axjORYZ0.",
+ "type": "string"
}
},
"type": "object"
@@ -3141,6 +3750,10 @@
"$ref": "Dimension",
"description": "The radius of the shadow blur. The larger the radius, the more diffuse the\nshadow becomes."
},
+ "transform": {
+ "$ref": "AffineTransform",
+ "description": "Transform that encodes the translate, scale, and skew of the shadow,\nrelative to the alignment position."
+ },
"type": {
"description": "The type of the shadow.",
"enum": [
@@ -3153,10 +3766,6 @@
],
"type": "string"
},
- "transform": {
- "$ref": "AffineTransform",
- "description": "Transform that encodes the translate, scale, and skew of the shadow,\nrelative to the alignment position."
- },
"alignment": {
"description": "The alignment point of the shadow, that sets the origin for translate,\nscale and skew of the shadow.",
"enum": [
@@ -3192,13 +3801,13 @@
"description": "Deletes a row from a table.",
"id": "DeleteTableRowRequest",
"properties": {
- "tableObjectId": {
- "description": "The table to delete rows from.",
- "type": "string"
- },
"cellLocation": {
"$ref": "TableCellLocation",
"description": "The reference table cell location from which a row will be deleted.\n\nThe row this cell spans will be deleted. If this is a merged cell, multiple\nrows will be deleted. If no rows remain in the table after this deletion,\nthe whole table is deleted."
+ },
+ "tableObjectId": {
+ "description": "The table to delete rows from.",
+ "type": "string"
}
},
"type": "object"
@@ -3238,17 +3847,6 @@
},
"type": "object"
},
- "CreateLineResponse": {
- "description": "The result of creating a line.",
- "id": "CreateLineResponse",
- "properties": {
- "objectId": {
- "description": "The object ID of the created line.",
- "type": "string"
- }
- },
- "type": "object"
- },
"TableCellLocation": {
"description": "A location of a single table cell within a table.",
"id": "TableCellLocation",
@@ -3266,496 +3864,12 @@
},
"type": "object"
},
- "ReplaceAllTextResponse": {
- "description": "The result of replacing text.",
- "id": "ReplaceAllTextResponse",
- "properties": {
- "occurrencesChanged": {
- "description": "The number of occurrences changed by replacing all text.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "UpdateParagraphStyleRequest": {
- "description": "Updates the styling for all of the paragraphs within a Shape or Table that\noverlap with the given text index range.",
- "id": "UpdateParagraphStyleRequest",
+ "CreateLineResponse": {
+ "description": "The result of creating a line.",
+ "id": "CreateLineResponse",
"properties": {
"objectId": {
- "description": "The object ID of the shape or table with the text to be styled.",
- "type": "string"
- },
- "textRange": {
- "$ref": "Range",
- "description": "The range of text containing the paragraph(s) to style."
- },
- "cellLocation": {
- "$ref": "TableCellLocation",
- "description": "The location of the cell in the table containing the paragraph(s) to\nstyle. If object_id refers to a table, cell_location must have a value.\nOtherwise, it must not."
- },
- "style": {
- "$ref": "ParagraphStyle",
- "description": "The paragraph's style."
- },
- "fields": {
- "description": "The fields that should be updated.\n\nAt least one field must be specified. The root `style` is implied and\nshould not be specified. A single `\"*\"` can be used as short-hand for\nlisting every field.\n\nFor example, to update the paragraph alignment, set `fields` to\n`\"alignment\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.",
- "format": "google-fieldmask",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ColorScheme": {
- "description": "The palette of predefined colors for a page.",
- "id": "ColorScheme",
- "properties": {
- "colors": {
- "description": "The ThemeColorType and corresponding concrete color pairs.",
- "items": {
- "$ref": "ThemeColorPair"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Shape": {
- "description": "A PageElement kind representing a\ngeneric shape that does not have a more specific classification.",
- "id": "Shape",
- "properties": {
- "shapeType": {
- "description": "The type of the shape.",
- "enum": [
- "TYPE_UNSPECIFIED",
- "TEXT_BOX",
- "RECTANGLE",
- "ROUND_RECTANGLE",
- "ELLIPSE",
- "ARC",
- "BENT_ARROW",
- "BENT_UP_ARROW",
- "BEVEL",
- "BLOCK_ARC",
- "BRACE_PAIR",
- "BRACKET_PAIR",
- "CAN",
- "CHEVRON",
- "CHORD",
- "CLOUD",
- "CORNER",
- "CUBE",
- "CURVED_DOWN_ARROW",
- "CURVED_LEFT_ARROW",
- "CURVED_RIGHT_ARROW",
- "CURVED_UP_ARROW",
- "DECAGON",
- "DIAGONAL_STRIPE",
- "DIAMOND",
- "DODECAGON",
- "DONUT",
- "DOUBLE_WAVE",
- "DOWN_ARROW",
- "DOWN_ARROW_CALLOUT",
- "FOLDED_CORNER",
- "FRAME",
- "HALF_FRAME",
- "HEART",
- "HEPTAGON",
- "HEXAGON",
- "HOME_PLATE",
- "HORIZONTAL_SCROLL",
- "IRREGULAR_SEAL_1",
- "IRREGULAR_SEAL_2",
- "LEFT_ARROW",
- "LEFT_ARROW_CALLOUT",
- "LEFT_BRACE",
- "LEFT_BRACKET",
- "LEFT_RIGHT_ARROW",
- "LEFT_RIGHT_ARROW_CALLOUT",
- "LEFT_RIGHT_UP_ARROW",
- "LEFT_UP_ARROW",
- "LIGHTNING_BOLT",
- "MATH_DIVIDE",
- "MATH_EQUAL",
- "MATH_MINUS",
- "MATH_MULTIPLY",
- "MATH_NOT_EQUAL",
- "MATH_PLUS",
- "MOON",
- "NO_SMOKING",
- "NOTCHED_RIGHT_ARROW",
- "OCTAGON",
- "PARALLELOGRAM",
- "PENTAGON",
- "PIE",
- "PLAQUE",
- "PLUS",
- "QUAD_ARROW",
- "QUAD_ARROW_CALLOUT",
- "RIBBON",
- "RIBBON_2",
- "RIGHT_ARROW",
- "RIGHT_ARROW_CALLOUT",
- "RIGHT_BRACE",
- "RIGHT_BRACKET",
- "ROUND_1_RECTANGLE",
- "ROUND_2_DIAGONAL_RECTANGLE",
- "ROUND_2_SAME_RECTANGLE",
- "RIGHT_TRIANGLE",
- "SMILEY_FACE",
- "SNIP_1_RECTANGLE",
- "SNIP_2_DIAGONAL_RECTANGLE",
- "SNIP_2_SAME_RECTANGLE",
- "SNIP_ROUND_RECTANGLE",
- "STAR_10",
- "STAR_12",
- "STAR_16",
- "STAR_24",
- "STAR_32",
- "STAR_4",
- "STAR_5",
- "STAR_6",
- "STAR_7",
- "STAR_8",
- "STRIPED_RIGHT_ARROW",
- "SUN",
- "TRAPEZOID",
- "TRIANGLE",
- "UP_ARROW",
- "UP_ARROW_CALLOUT",
- "UP_DOWN_ARROW",
- "UTURN_ARROW",
- "VERTICAL_SCROLL",
- "WAVE",
- "WEDGE_ELLIPSE_CALLOUT",
- "WEDGE_RECTANGLE_CALLOUT",
- "WEDGE_ROUND_RECTANGLE_CALLOUT",
- "FLOW_CHART_ALTERNATE_PROCESS",
- "FLOW_CHART_COLLATE",
- "FLOW_CHART_CONNECTOR",
- "FLOW_CHART_DECISION",
- "FLOW_CHART_DELAY",
- "FLOW_CHART_DISPLAY",
- "FLOW_CHART_DOCUMENT",
- "FLOW_CHART_EXTRACT",
- "FLOW_CHART_INPUT_OUTPUT",
- "FLOW_CHART_INTERNAL_STORAGE",
- "FLOW_CHART_MAGNETIC_DISK",
- "FLOW_CHART_MAGNETIC_DRUM",
- "FLOW_CHART_MAGNETIC_TAPE",
- "FLOW_CHART_MANUAL_INPUT",
- "FLOW_CHART_MANUAL_OPERATION",
- "FLOW_CHART_MERGE",
- "FLOW_CHART_MULTIDOCUMENT",
- "FLOW_CHART_OFFLINE_STORAGE",
- "FLOW_CHART_OFFPAGE_CONNECTOR",
- "FLOW_CHART_ONLINE_STORAGE",
- "FLOW_CHART_OR",
- "FLOW_CHART_PREDEFINED_PROCESS",
- "FLOW_CHART_PREPARATION",
- "FLOW_CHART_PROCESS",
- "FLOW_CHART_PUNCHED_CARD",
- "FLOW_CHART_PUNCHED_TAPE",
- "FLOW_CHART_SORT",
- "FLOW_CHART_SUMMING_JUNCTION",
- "FLOW_CHART_TERMINATOR",
- "ARROW_EAST",
- "ARROW_NORTH_EAST",
- "ARROW_NORTH",
- "SPEECH",
- "STARBURST",
- "TEARDROP",
- "ELLIPSE_RIBBON",
- "ELLIPSE_RIBBON_2",
- "CLOUD_CALLOUT",
- "CUSTOM"
- ],
- "enumDescriptions": [
- "The shape type that is not predefined.",
- "Text box shape.",
- "Rectangle shape. Corresponds to ECMA-376 ST_ShapeType 'rect'.",
- "Round corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'roundRect'",
- "Ellipse shape. Corresponds to ECMA-376 ST_ShapeType 'ellipse'",
- "Curved arc shape. Corresponds to ECMA-376 ST_ShapeType 'arc'",
- "Bent arrow shape. Corresponds to ECMA-376 ST_ShapeType 'bentArrow'",
- "Bent up arrow shape. Corresponds to ECMA-376 ST_ShapeType 'bentUpArrow'",
- "Bevel shape. Corresponds to ECMA-376 ST_ShapeType 'bevel'",
- "Block arc shape. Corresponds to ECMA-376 ST_ShapeType 'blockArc'",
- "Brace pair shape. Corresponds to ECMA-376 ST_ShapeType 'bracePair'",
- "Bracket pair shape. Corresponds to ECMA-376 ST_ShapeType 'bracketPair'",
- "Can shape. Corresponds to ECMA-376 ST_ShapeType 'can'",
- "Chevron shape. Corresponds to ECMA-376 ST_ShapeType 'chevron'",
- "Chord shape. Corresponds to ECMA-376 ST_ShapeType 'chord'",
- "Cloud shape. Corresponds to ECMA-376 ST_ShapeType 'cloud'",
- "Corner shape. Corresponds to ECMA-376 ST_ShapeType 'corner'",
- "Cube shape. Corresponds to ECMA-376 ST_ShapeType 'cube'",
- "Curved down arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'curvedDownArrow'",
- "Curved left arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'curvedLeftArrow'",
- "Curved right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'curvedRightArrow'",
- "Curved up arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'curvedUpArrow'",
- "Decagon shape. Corresponds to ECMA-376 ST_ShapeType 'decagon'",
- "Diagonal stripe shape. Corresponds to ECMA-376 ST_ShapeType 'diagStripe'",
- "Diamond shape. Corresponds to ECMA-376 ST_ShapeType 'diamond'",
- "Dodecagon shape. Corresponds to ECMA-376 ST_ShapeType 'dodecagon'",
- "Donut shape. Corresponds to ECMA-376 ST_ShapeType 'donut'",
- "Double wave shape. Corresponds to ECMA-376 ST_ShapeType 'doubleWave'",
- "Down arrow shape. Corresponds to ECMA-376 ST_ShapeType 'downArrow'",
- "Callout down arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'downArrowCallout'",
- "Folded corner shape. Corresponds to ECMA-376 ST_ShapeType 'foldedCorner'",
- "Frame shape. Corresponds to ECMA-376 ST_ShapeType 'frame'",
- "Half frame shape. Corresponds to ECMA-376 ST_ShapeType 'halfFrame'",
- "Heart shape. Corresponds to ECMA-376 ST_ShapeType 'heart'",
- "Heptagon shape. Corresponds to ECMA-376 ST_ShapeType 'heptagon'",
- "Hexagon shape. Corresponds to ECMA-376 ST_ShapeType 'hexagon'",
- "Home plate shape. Corresponds to ECMA-376 ST_ShapeType 'homePlate'",
- "Horizontal scroll shape. Corresponds to ECMA-376 ST_ShapeType\n'horizontalScroll'",
- "Irregular seal 1 shape. Corresponds to ECMA-376 ST_ShapeType\n'irregularSeal1'",
- "Irregular seal 2 shape. Corresponds to ECMA-376 ST_ShapeType\n'irregularSeal2'",
- "Left arrow shape. Corresponds to ECMA-376 ST_ShapeType 'leftArrow'",
- "Callout left arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'leftArrowCallout'",
- "Left brace shape. Corresponds to ECMA-376 ST_ShapeType 'leftBrace'",
- "Left bracket shape. Corresponds to ECMA-376 ST_ShapeType 'leftBracket'",
- "Left right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'leftRightArrow'",
- "Callout left right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'leftRightArrowCallout'",
- "Left right up arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'leftRightUpArrow'",
- "Left up arrow shape. Corresponds to ECMA-376 ST_ShapeType 'leftUpArrow'",
- "Lightning bolt shape. Corresponds to ECMA-376 ST_ShapeType\n'lightningBolt'",
- "Divide math shape. Corresponds to ECMA-376 ST_ShapeType 'mathDivide'",
- "Equal math shape. Corresponds to ECMA-376 ST_ShapeType 'mathEqual'",
- "Minus math shape. Corresponds to ECMA-376 ST_ShapeType 'mathMinus'",
- "Multiply math shape. Corresponds to ECMA-376 ST_ShapeType 'mathMultiply'",
- "Not equal math shape. Corresponds to ECMA-376 ST_ShapeType 'mathNotEqual'",
- "Plus math shape. Corresponds to ECMA-376 ST_ShapeType 'mathPlus'",
- "Moon shape. Corresponds to ECMA-376 ST_ShapeType 'moon'",
- "No smoking shape. Corresponds to ECMA-376 ST_ShapeType 'noSmoking'",
- "Notched right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'notchedRightArrow'",
- "Octagon shape. Corresponds to ECMA-376 ST_ShapeType 'octagon'",
- "Parallelogram shape. Corresponds to ECMA-376 ST_ShapeType 'parallelogram'",
- "Pentagon shape. Corresponds to ECMA-376 ST_ShapeType 'pentagon'",
- "Pie shape. Corresponds to ECMA-376 ST_ShapeType 'pie'",
- "Plaque shape. Corresponds to ECMA-376 ST_ShapeType 'plaque'",
- "Plus shape. Corresponds to ECMA-376 ST_ShapeType 'plus'",
- "Quad-arrow shape. Corresponds to ECMA-376 ST_ShapeType 'quadArrow'",
- "Callout quad-arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'quadArrowCallout'",
- "Ribbon shape. Corresponds to ECMA-376 ST_ShapeType 'ribbon'",
- "Ribbon 2 shape. Corresponds to ECMA-376 ST_ShapeType 'ribbon2'",
- "Right arrow shape. Corresponds to ECMA-376 ST_ShapeType 'rightArrow'",
- "Callout right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'rightArrowCallout'",
- "Right brace shape. Corresponds to ECMA-376 ST_ShapeType 'rightBrace'",
- "Right bracket shape. Corresponds to ECMA-376 ST_ShapeType 'rightBracket'",
- "One round corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'round1Rect'",
- "Two diagonal round corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'round2DiagRect'",
- "Two same-side round corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'round2SameRect'",
- "Right triangle shape. Corresponds to ECMA-376 ST_ShapeType 'rtTriangle'",
- "Smiley face shape. Corresponds to ECMA-376 ST_ShapeType 'smileyFace'",
- "One snip corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'snip1Rect'",
- "Two diagonal snip corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'snip2DiagRect'",
- "Two same-side snip corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'snip2SameRect'",
- "One snip one round corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'snipRoundRect'",
- "Ten pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star10'",
- "Twelve pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star12'",
- "Sixteen pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star16'",
- "Twenty four pointed star shape. Corresponds to ECMA-376 ST_ShapeType\n'star24'",
- "Thirty two pointed star shape. Corresponds to ECMA-376 ST_ShapeType\n'star32'",
- "Four pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star4'",
- "Five pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star5'",
- "Six pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star6'",
- "Seven pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star7'",
- "Eight pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star8'",
- "Striped right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'stripedRightArrow'",
- "Sun shape. Corresponds to ECMA-376 ST_ShapeType 'sun'",
- "Trapezoid shape. Corresponds to ECMA-376 ST_ShapeType 'trapezoid'",
- "Triangle shape. Corresponds to ECMA-376 ST_ShapeType 'triangle'",
- "Up arrow shape. Corresponds to ECMA-376 ST_ShapeType 'upArrow'",
- "Callout up arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'upArrowCallout'",
- "Up down arrow shape. Corresponds to ECMA-376 ST_ShapeType 'upDownArrow'",
- "U-turn arrow shape. Corresponds to ECMA-376 ST_ShapeType 'uturnArrow'",
- "Vertical scroll shape. Corresponds to ECMA-376 ST_ShapeType\n'verticalScroll'",
- "Wave shape. Corresponds to ECMA-376 ST_ShapeType 'wave'",
- "Callout wedge ellipse shape. Corresponds to ECMA-376 ST_ShapeType\n'wedgeEllipseCallout'",
- "Callout wedge rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'wedgeRectCallout'",
- "Callout wedge round rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'wedgeRoundRectCallout'",
- "Alternate process flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartAlternateProcess'",
- "Collate flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartCollate'",
- "Connector flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartConnector'",
- "Decision flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartDecision'",
- "Delay flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartDelay'",
- "Display flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartDisplay'",
- "Document flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartDocument'",
- "Extract flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartExtract'",
- "Input output flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartInputOutput'",
- "Internal storage flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartInternalStorage'",
- "Magnetic disk flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartMagneticDisk'",
- "Magnetic drum flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartMagneticDrum'",
- "Magnetic tape flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartMagneticTape'",
- "Manual input flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartManualInput'",
- "Manual operation flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartManualOperation'",
- "Merge flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartMerge'",
- "Multi-document flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartMultidocument'",
- "Offline storage flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartOfflineStorage'",
- "Off-page connector flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartOffpageConnector'",
- "Online storage flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartOnlineStorage'",
- "Or flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartOr'",
- "Predefined process flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartPredefinedProcess'",
- "Preparation flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartPreparation'",
- "Process flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartProcess'",
- "Punched card flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartPunchedCard'",
- "Punched tape flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartPunchedTape'",
- "Sort flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartSort'",
- "Summing junction flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartSummingJunction'",
- "Terminator flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartTerminator'",
- "East arrow shape.",
- "Northeast arrow shape.",
- "North arrow shape.",
- "Speech shape.",
- "Star burst shape.",
- "Teardrop shape. Corresponds to ECMA-376 ST_ShapeType 'teardrop'",
- "Ellipse ribbon shape. Corresponds to ECMA-376 ST_ShapeType\n'ellipseRibbon'",
- "Ellipse ribbon 2 shape. Corresponds to ECMA-376 ST_ShapeType\n'ellipseRibbon2'",
- "Callout cloud shape. Corresponds to ECMA-376 ST_ShapeType 'cloudCallout'",
- "Custom shape."
- ],
- "type": "string"
- },
- "text": {
- "$ref": "TextContent",
- "description": "The text content of the shape."
- },
- "placeholder": {
- "$ref": "Placeholder",
- "description": "Placeholders are shapes that are inherit from corresponding placeholders on\nlayouts and masters.\n\nIf set, the shape is a placeholder shape and any inherited properties\ncan be resolved by looking at the parent placeholder identified by the\nPlaceholder.parent_object_id field."
- },
- "shapeProperties": {
- "$ref": "ShapeProperties",
- "description": "The properties of the shape."
- }
- },
- "type": "object"
- },
- "Image": {
- "description": "A PageElement kind representing an\nimage.",
- "id": "Image",
- "properties": {
- "imageProperties": {
- "$ref": "ImageProperties",
- "description": "The properties of the image."
- },
- "contentUrl": {
- "description": "An URL to an image with a default lifetime of 30 minutes.\nThis URL is tagged with the account of the requester. Anyone with the URL\neffectively accesses the image as the original requester. Access to the\nimage may be lost if the presentation's sharing settings change.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "InsertTextRequest": {
- "description": "Inserts text into a shape or a table cell.",
- "id": "InsertTextRequest",
- "properties": {
- "cellLocation": {
- "$ref": "TableCellLocation",
- "description": "The optional table cell location if the text is to be inserted into a table\ncell. If present, the object_id must refer to a table."
- },
- "objectId": {
- "description": "The object ID of the shape or table where the text will be inserted.",
- "type": "string"
- },
- "text": {
- "description": "The text to be inserted.\n\nInserting a newline character will implicitly create a new\nParagraphMarker at that index.\nThe paragraph style of the new paragraph will be copied from the paragraph\nat the current insertion index, including lists and bullets.\n\nText styles for inserted text will be determined automatically, generally\npreserving the styling of neighboring text. In most cases, the text will be\nadded to the TextRun that exists at the\ninsertion index.\n\nSome control characters (U+0000-U+0008, U+000C-U+001F) and characters\nfrom the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF)\nwill be stripped out of the inserted text.",
- "type": "string"
- },
- "insertionIndex": {
- "description": "The index where the text will be inserted, in Unicode code units, based\non TextElement indexes.\n\nThe index is zero-based and is computed from the start of the string.\nThe index may be adjusted to prevent insertions inside Unicode grapheme\nclusters. In these cases, the text will be inserted immediately after the\ngrapheme cluster.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "AffineTransform": {
- "description": "AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ]\nto transform source coordinates (x,y) into destination coordinates (x', y')\naccording to:\n\n x' x = shear_y scale_y translate_y \n 1 [ 1 ]\n\nAfter transformation,\n\n x' = scale_x * x + shear_x * y + translate_x;\n y' = scale_y * y + shear_y * x + translate_y;\n\nThis message is therefore composed of these six matrix elements.",
- "id": "AffineTransform",
- "properties": {
- "unit": {
- "description": "The units for translate elements.",
- "enum": [
- "UNIT_UNSPECIFIED",
- "EMU",
- "PT"
- ],
- "enumDescriptions": [
- "The units are unknown.",
- "An English Metric Unit (EMU) is defined as 1/360,000 of a centimeter\nand thus there are 914,400 EMUs per inch, and 12,700 EMUs per point.",
- "A point, 1/72 of an inch."
- ],
- "type": "string"
- },
- "scaleX": {
- "description": "The X coordinate scaling element.",
- "format": "double",
- "type": "number"
- },
- "shearX": {
- "description": "The X coordinate shearing element.",
- "format": "double",
- "type": "number"
- },
- "scaleY": {
- "description": "The Y coordinate scaling element.",
- "format": "double",
- "type": "number"
- },
- "translateY": {
- "description": "The Y coordinate translation element.",
- "format": "double",
- "type": "number"
- },
- "translateX": {
- "description": "The X coordinate translation element.",
- "format": "double",
- "type": "number"
- },
- "shearY": {
- "description": "The Y coordinate shearing element.",
- "format": "double",
- "type": "number"
- }
- },
- "type": "object"
- },
- "AutoText": {
- "description": "A TextElement kind that represents auto text.",
- "id": "AutoText",
- "properties": {
- "style": {
- "$ref": "TextStyle",
- "description": "The styling applied to this auto text."
- },
- "type": {
- "description": "The type of this auto text.",
- "enum": [
- "TYPE_UNSPECIFIED",
- "SLIDE_NUMBER"
- ],
- "enumDescriptions": [
- "An unspecified autotext type.",
- "Type for autotext that represents the current slide number."
- ],
- "type": "string"
- },
- "content": {
- "description": "The rendered content of this auto text, if available.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CreateVideoResponse": {
- "description": "The result of creating a video.",
- "id": "CreateVideoResponse",
- "properties": {
- "objectId": {
- "description": "The object ID of the created video.",
+ "description": "The object ID of the created line.",
"type": "string"
}
},
diff --git a/discovery/googleapis/sourcerepo__v1.json b/discovery/googleapis/sourcerepo__v1.json
index c8781a1..81c6378 100644
--- a/discovery/googleapis/sourcerepo__v1.json
+++ b/discovery/googleapis/sourcerepo__v1.json
@@ -25,17 +25,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "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"
- },
- "pp": {
- "default": "true",
- "description": "Pretty-print response.",
- "location": "query",
- "type": "boolean"
- },
"bearer_token": {
"description": "OAuth bearer token.",
"location": "query",
@@ -57,13 +46,13 @@
"location": "query",
"type": "boolean"
},
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
@@ -110,6 +99,17 @@
"description": "OAuth access token.",
"location": "query",
"type": "string"
+ },
+ "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"
+ },
+ "pp": {
+ "default": "true",
+ "description": "Pretty-print response.",
+ "location": "query",
+ "type": "boolean"
}
},
"protocol": "rest",
@@ -142,33 +142,6 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
- "setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.",
- "httpMethod": "POST",
- "id": "sourcerepo.projects.repos.setIamPolicy",
- "parameterOrder": [
- "resource"
- ],
- "parameters": {
- "resource": {
- "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
- "location": "path",
- "pattern": "^projects/[^/]+/repos/.+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+resource}:setIamPolicy",
- "request": {
- "$ref": "SetIamPolicyRequest"
- },
- "response": {
- "$ref": "Policy"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
"create": {
"description": "Creates a repo in the given project with the given name..\n\nIf the named repository already exists, `CreateRepo` returns\n`ALREADY_EXISTS`.",
"httpMethod": "POST",
@@ -196,6 +169,33 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
+ "setIamPolicy": {
+ "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.",
+ "httpMethod": "POST",
+ "id": "sourcerepo.projects.repos.setIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/repos/.+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:setIamPolicy",
+ "request": {
+ "$ref": "SetIamPolicyRequest"
+ },
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"getIamPolicy": {
"description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.",
"httpMethod": "GET",
@@ -300,9 +300,219 @@
}
}
},
- "revision": "20170228",
+ "revision": "20170321",
"rootUrl": "https://sourcerepo.googleapis.com/",
"schemas": {
+ "SetIamPolicyRequest": {
+ "description": "Request message for `SetIamPolicy` method.",
+ "id": "SetIamPolicyRequest",
+ "properties": {
+ "updateMask": {
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
+ "format": "google-fieldmask",
+ "type": "string"
+ },
+ "policy": {
+ "$ref": "Policy",
+ "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
+ }
+ },
+ "type": "object"
+ },
+ "CloudAuditOptions": {
+ "description": "Write a Cloud Audit log",
+ "id": "CloudAuditOptions",
+ "properties": {},
+ "type": "object"
+ },
+ "Binding": {
+ "description": "Associates `members` with a `role`.",
+ "id": "Binding",
+ "properties": {
+ "members": {
+ "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "role": {
+ "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
+ "MirrorConfig": {
+ "description": "Configuration to automatically mirror a repository from another\nhosting service, for example GitHub or BitBucket.",
+ "id": "MirrorConfig",
+ "properties": {
+ "deployKeyId": {
+ "description": "ID of the SSH deploy key at the other hosting service.\nRemoving this key from the other service would deauthorize\nGoogle Cloud Source Repositories from mirroring.",
+ "type": "string"
+ },
+ "url": {
+ "description": "URL of the main repository at the other hosting service.",
+ "type": "string"
+ },
+ "webhookId": {
+ "description": "ID of the webhook listening to updates to trigger mirroring.\nRemoving this webook from the other hosting service will stop\nGoogle Cloud Source Repositories from receiving notifications,\nand thereby disabling mirroring.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Repo": {
+ "description": "A repository (or repo) is a Git repository storing versioned source content.",
+ "id": "Repo",
+ "properties": {
+ "mirrorConfig": {
+ "$ref": "MirrorConfig",
+ "description": "How this repository mirrors a repository managed by another service."
+ },
+ "url": {
+ "description": "URL to clone the repository from Google Cloud Source Repositories.",
+ "type": "string"
+ },
+ "size": {
+ "description": "The size in bytes of the repo.",
+ "format": "int64",
+ "type": "string"
+ },
+ "name": {
+ "description": "Resource name of the repository, of the form\n`projects/<project>/repos/<repo>`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "TestIamPermissionsResponse": {
+ "description": "Response message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsResponse",
+ "properties": {
+ "permissions": {
+ "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListReposResponse": {
+ "description": "Response for ListRepos.",
+ "id": "ListReposResponse",
+ "properties": {
+ "repos": {
+ "description": "The listed repos.",
+ "items": {
+ "$ref": "Repo"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Condition": {
+ "description": "A condition to be met.",
+ "id": "Condition",
+ "properties": {
+ "values": {
+ "description": "The objects of the condition. This is mutually exclusive with 'value'.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "iam": {
+ "description": "Trusted attributes supplied by the IAM system.",
+ "enum": [
+ "NO_ATTR",
+ "AUTHORITY",
+ "ATTRIBUTION",
+ "APPROVER",
+ "JUSTIFICATION_TYPE"
+ ],
+ "enumDescriptions": [
+ "Default non-attribute.",
+ "Either principal or (if present) authority selector.",
+ "The principal (even if an authority selector is present), which\nmust only be used for attribution, not authorization.",
+ "An approver (distinct from the requester) that has authorized this\nrequest.\nWhen used with IN, the condition indicates that one of the approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, and are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT_IN).\nSee: go/rpc-security-policy-dynamicauth.",
+ "What types of justifications have been supplied with this request.\nString values should match enum names from tech.iam.JustificationType,\ne.g. \"MANUAL_STRING\". It is not permitted to grant access based on\nthe *absence* of a justification, so justification conditions can only\nbe used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).\n\nMultiple justifications, e.g., a Buganizer ID and a manually-entered\nreason, are normal and supported."
+ ],
+ "type": "string"
+ },
+ "op": {
+ "description": "An operator to apply the subject with.",
+ "enum": [
+ "NO_OP",
+ "EQUALS",
+ "NOT_EQUALS",
+ "IN",
+ "NOT_IN",
+ "DISCHARGED"
+ ],
+ "enumDescriptions": [
+ "Default no-op.",
+ "DEPRECATED. Use IN instead.",
+ "DEPRECATED. Use NOT_IN instead.",
+ "The condition is true if the subject (or any element of it if it is\na set) matches any of the supplied values.",
+ "The condition is true if the subject (or every element of it if it is\na set) matches none of the supplied values.",
+ "Subject is discharged"
+ ],
+ "type": "string"
+ },
+ "svc": {
+ "description": "Trusted attributes discharged by the service.",
+ "type": "string"
+ },
+ "value": {
+ "description": "DEPRECATED. Use 'values' instead.",
+ "type": "string"
+ },
+ "sys": {
+ "description": "Trusted attributes supplied by any service that owns resources and uses\nthe IAM system for access control.",
+ "enum": [
+ "NO_ATTR",
+ "REGION",
+ "SERVICE",
+ "NAME",
+ "IP"
+ ],
+ "enumDescriptions": [
+ "Default non-attribute type",
+ "Region of the resource",
+ "Service name",
+ "Resource name",
+ "IP address of the caller"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CounterOptions": {
+ "description": "Options for counters",
+ "id": "CounterOptions",
+ "properties": {
+ "metric": {
+ "description": "The metric to update.",
+ "type": "string"
+ },
+ "field": {
+ "description": "The field value to attribute.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"AuditLogConfig": {
"description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.",
"id": "AuditLogConfig",
@@ -337,17 +547,6 @@
"description": "A rule to be applied in a Policy.",
"id": "Rule",
"properties": {
- "description": {
- "description": "Human-readable description of the rule.",
- "type": "string"
- },
- "conditions": {
- "description": "Additional restrictions that must be met",
- "items": {
- "$ref": "Condition"
- },
- "type": "array"
- },
"logConfig": {
"description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries\nthat match the LOG action.",
"items": {
@@ -395,18 +594,25 @@
"type": "string"
},
"type": "array"
+ },
+ "description": {
+ "description": "Human-readable description of the rule.",
+ "type": "string"
+ },
+ "conditions": {
+ "description": "Additional restrictions that must be met",
+ "items": {
+ "$ref": "Condition"
+ },
+ "type": "array"
}
},
"type": "object"
},
"LogConfig": {
- "description": "Specifies what kind of log the caller must write\nIncrement a streamz counter with the specified metric and field names.\n\nMetric names should start with a '/', generally be lowercase-only,\nand end in \"_count\". Field names should not contain an initial slash.\nThe actual exported metric names will have \"/iam/policy\" prepended.\n\nField names correspond to IAM request parameters and field values are\ntheir respective values.\n\nAt present the only supported field names are\n - \"iam_principal\", corresponding to IAMContext.principal;\n - \"\" (empty string), resulting in one aggretated counter with no field.\n\nExamples:\n counter { metric: \"/debug_access_count\" field: \"iam_principal\" }\n ==> increment counter /iam/policy/backend_debug_access_count\n {iam_principal=[value of IAMContext.principal]}\n\nAt this time we do not support:\n* multiple field names (though this may be supported in the future)\n* decrementing the counter\n* incrementing it by anything other than 1",
+ "description": "Specifies what kind of log the caller must write",
"id": "LogConfig",
"properties": {
- "cloudAudit": {
- "$ref": "CloudAuditOptions",
- "description": "Cloud audit options."
- },
"counter": {
"$ref": "CounterOptions",
"description": "Counter options."
@@ -414,6 +620,10 @@
"dataAccess": {
"$ref": "DataAccessOptions",
"description": "Data access options."
+ },
+ "cloudAudit": {
+ "$ref": "CloudAuditOptions",
+ "description": "Cloud audit options."
}
},
"type": "object"
@@ -480,11 +690,11 @@
"type": "object"
},
"AuditConfig": {
- "description": "Specifies the audit configuration for a service.\nIt consists of which permission types are logged, and what identities, if\nany, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.",
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"service": {
- "description": "Specifies a service that will be enabled for audit logging.\nFor example, `resourcemanager`, `storage`, `compute`.\n`allServices` is a special value that covers all services.",
+ "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.",
"type": "string"
},
"auditLogConfigs": {
@@ -502,216 +712,6 @@
}
},
"type": "object"
- },
- "SetIamPolicyRequest": {
- "description": "Request message for `SetIamPolicy` method.",
- "id": "SetIamPolicyRequest",
- "properties": {
- "updateMask": {
- "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, a default\nmask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
- "format": "google-fieldmask",
- "type": "string"
- },
- "policy": {
- "$ref": "Policy",
- "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
- }
- },
- "type": "object"
- },
- "CloudAuditOptions": {
- "description": "Write a Cloud Audit log",
- "id": "CloudAuditOptions",
- "properties": {},
- "type": "object"
- },
- "Binding": {
- "description": "Associates `members` with a `role`.",
- "id": "Binding",
- "properties": {
- "members": {
- "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "role": {
- "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Empty": {
- "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
- "id": "Empty",
- "properties": {},
- "type": "object"
- },
- "MirrorConfig": {
- "description": "Configuration to automatically mirror a repository from another\nhosting service, for example GitHub or BitBucket.",
- "id": "MirrorConfig",
- "properties": {
- "deployKeyId": {
- "description": "ID of the SSH deploy key at the other hosting service.\nRemoving this key from the other service would deauthorize\nGoogle Cloud Source Repositories from mirroring.",
- "type": "string"
- },
- "url": {
- "description": "URL of the main repository at the other hosting service.",
- "type": "string"
- },
- "webhookId": {
- "description": "ID of the webhook listening to updates to trigger mirroring.\nRemoving this webook from the other hosting service will stop\nGoogle Cloud Source Repositories from receiving notifications,\nand thereby disabling mirroring.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Repo": {
- "description": "A repository (or repo) is a Git repository storing versioned source content.",
- "id": "Repo",
- "properties": {
- "size": {
- "description": "The size in bytes of the repo.",
- "format": "int64",
- "type": "string"
- },
- "name": {
- "description": "Resource name of the repository, of the form\n`projects/<project>/repos/<repo>`.",
- "type": "string"
- },
- "mirrorConfig": {
- "$ref": "MirrorConfig",
- "description": "How this repository mirrors a repository managed by another service."
- },
- "url": {
- "description": "URL to clone the repository from Google Cloud Source Repositories.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListReposResponse": {
- "description": "Response for ListRepos.",
- "id": "ListReposResponse",
- "properties": {
- "repos": {
- "description": "The listed repos.",
- "items": {
- "$ref": "Repo"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "TestIamPermissionsResponse": {
- "description": "Response message for `TestIamPermissions` method.",
- "id": "TestIamPermissionsResponse",
- "properties": {
- "permissions": {
- "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Condition": {
- "description": "A condition to be met.",
- "id": "Condition",
- "properties": {
- "op": {
- "description": "An operator to apply the subject with.",
- "enum": [
- "NO_OP",
- "EQUALS",
- "NOT_EQUALS",
- "IN",
- "NOT_IN",
- "DISCHARGED"
- ],
- "enumDescriptions": [
- "Default no-op.",
- "DEPRECATED. Use IN instead.",
- "DEPRECATED. Use NOT_IN instead.",
- "The condition is true if the subject (or any element of it if it is\na set) matches any of the supplied values.",
- "The condition is true if the subject (or every element of it if it is\na set) matches none of the supplied values.",
- "Subject is discharged"
- ],
- "type": "string"
- },
- "svc": {
- "description": "Trusted attributes discharged by the service.",
- "type": "string"
- },
- "sys": {
- "description": "Trusted attributes supplied by any service that owns resources and uses\nthe IAM system for access control.",
- "enum": [
- "NO_ATTR",
- "REGION",
- "SERVICE",
- "NAME",
- "IP"
- ],
- "enumDescriptions": [
- "Default non-attribute type",
- "Region of the resource",
- "Service name",
- "Resource name",
- "IP address of the caller"
- ],
- "type": "string"
- },
- "value": {
- "description": "DEPRECATED. Use 'values' instead.",
- "type": "string"
- },
- "values": {
- "description": "The objects of the condition. This is mutually exclusive with 'value'.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "iam": {
- "description": "Trusted attributes supplied by the IAM system.",
- "enum": [
- "NO_ATTR",
- "AUTHORITY",
- "ATTRIBUTION",
- "APPROVER",
- "JUSTIFICATION_TYPE"
- ],
- "enumDescriptions": [
- "Default non-attribute.",
- "Either principal or (if present) authority selector.",
- "The principal (even if an authority selector is present), which\nmust only be used for attribution, not authorization.",
- "An approver (distinct from the requester) that has authorized this\nrequest.\nWhen used with IN, the condition indicates that one of the approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, and are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT_IN).\nSee: go/rpc-security-policy-dynamicauth.",
- "What types of justifications have been supplied with this request.\nString values should match enum names from tech.iam.JustificationType,\ne.g. \"MANUAL_STRING\". It is not permitted to grant access based on\nthe *absence* of a justification, so justification conditions can only\nbe used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).\n\nMultiple justifications, e.g., a Buganizer ID and a manually-entered\nreason, are normal and supported."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "CounterOptions": {
- "description": "Options for counters",
- "id": "CounterOptions",
- "properties": {
- "metric": {
- "description": "The metric to update.",
- "type": "string"
- },
- "field": {
- "description": "The field value to attribute.",
- "type": "string"
- }
- },
- "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis/spanner__v1.json b/discovery/googleapis/spanner__v1.json
index a8134bc..c37ca5d 100644
--- a/discovery/googleapis/spanner__v1.json
+++ b/discovery/googleapis/spanner__v1.json
@@ -25,24 +25,8 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "callback": {
+ "description": "JSONP",
"location": "query",
"type": "string"
},
@@ -59,11 +43,6 @@
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -80,13 +59,13 @@
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
+ "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"
},
- "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.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
},
@@ -101,13 +80,34 @@
"location": "query",
"type": "boolean"
},
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
- "bearer_token": {
- "description": "OAuth bearer token.",
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
}
@@ -116,152 +116,8 @@
"resources": {
"projects": {
"resources": {
- "instanceConfigs": {
- "methods": {
- "list": {
- "description": "Lists the supported instance configurations for a given project.",
- "httpMethod": "GET",
- "id": "spanner.projects.instanceConfigs.list",
- "parameterOrder": [
- "parent"
- ],
- "parameters": {
- "pageToken": {
- "description": "If non-empty, `page_token` should contain a\nnext_page_token\nfrom a previous ListInstanceConfigsResponse.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Number of instance configurations to be returned in the response. If 0 or\nless, defaults to the server's maximum allowed page size.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "parent": {
- "description": "Required. The name of the project for which a list of supported instance\nconfigurations is requested. Values are of the form\n`projects/<project>`.",
- "location": "path",
- "pattern": "^projects/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+parent}/instanceConfigs",
- "response": {
- "$ref": "ListInstanceConfigsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "get": {
- "description": "Gets information about a particular instance configuration.",
- "httpMethod": "GET",
- "id": "spanner.projects.instanceConfigs.get",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "Required. The name of the requested instance configuration. Values are of\nthe form `projects/<project>/instanceConfigs/<config>`.",
- "location": "path",
- "pattern": "^projects/[^/]+/instanceConfigs/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+name}",
- "response": {
- "$ref": "InstanceConfig"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- }
- }
- },
"instances": {
"methods": {
- "setIamPolicy": {
- "description": "Sets the access control policy on an instance resource. Replaces any\nexisting policy.\n\nAuthorization requires `spanner.instances.setIamPolicy` on\nresource.",
- "httpMethod": "POST",
- "id": "spanner.projects.instances.setIamPolicy",
- "parameterOrder": [
- "resource"
- ],
- "parameters": {
- "resource": {
- "description": "REQUIRED: The Cloud Spanner resource for which the policy is being set. The format is `projects/<project ID>/instances/<instance ID>` for instance resources and `projects/<project ID>/instances/<instance ID>/databases/<database ID>` for databases resources.",
- "location": "path",
- "pattern": "^projects/[^/]+/instances/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+resource}:setIamPolicy",
- "request": {
- "$ref": "SetIamPolicyRequest"
- },
- "response": {
- "$ref": "Policy"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "create": {
- "description": "Creates an instance and begins preparing it to begin serving. The\nreturned long-running operation\ncan be used to track the progress of preparing the new\ninstance. The instance name is assigned by the caller. If the\nnamed instance already exists, `CreateInstance` returns\n`ALREADY_EXISTS`.\n\nImmediately upon completion of this request:\n\n * The instance is readable via the API, with all requested attributes\n but no allocated resources. Its state is `CREATING`.\n\nUntil completion of the returned operation:\n\n * Cancelling the operation renders the instance immediately unreadable\n via the API.\n * The instance can be deleted.\n * All other attempts to modify the instance are rejected.\n\nUpon completion of the returned operation:\n\n * Billing for all successfully-allocated resources begins (some types\n may have lower than the requested levels).\n * Databases can be created in the instance.\n * The instance's allocated resource levels are readable via the API.\n * The instance's state becomes `READY`.\n\nThe returned long-running operation will\nhave a name of the format `<instance_name>/operations/<operation_id>` and\ncan be used to track creation of the instance. The\nmetadata field type is\nCreateInstanceMetadata.\nThe response field type is\nInstance, if successful.",
- "httpMethod": "POST",
- "id": "spanner.projects.instances.create",
- "parameterOrder": [
- "parent"
- ],
- "parameters": {
- "parent": {
- "description": "Required. The name of the project in which to create the instance. Values\nare of the form `projects/<project>`.",
- "location": "path",
- "pattern": "^projects/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+parent}/instances",
- "request": {
- "$ref": "CreateInstanceRequest"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "getIamPolicy": {
- "description": "Gets the access control policy for an instance resource. Returns an empty\npolicy if an instance exists but does not have a policy set.\n\nAuthorization requires `spanner.instances.getIamPolicy` on\nresource.",
- "httpMethod": "POST",
- "id": "spanner.projects.instances.getIamPolicy",
- "parameterOrder": [
- "resource"
- ],
- "parameters": {
- "resource": {
- "description": "REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. The format is `projects/<project ID>/instances/<instance ID>` for instance resources and `projects/<project ID>/instances/<instance ID>/databases/<database ID>` for database resources.",
- "location": "path",
- "pattern": "^projects/[^/]+/instances/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+resource}:getIamPolicy",
- "request": {
- "$ref": "GetIamPolicyRequest"
- },
- "response": {
- "$ref": "Policy"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
"patch": {
"description": "Updates an instance, and begins allocating or releasing resources\nas requested. The returned long-running\noperation can be used to track the\nprogress of updating the instance. If the named instance does not\nexist, returns `NOT_FOUND`.\n\nImmediately upon completion of this request:\n\n * For resource types for which a decrease in the instance's allocation\n has been requested, billing is based on the newly-requested level.\n\nUntil completion of the returned operation:\n\n * Cancelling the operation sets its metadata's\n cancel_time, and begins\n restoring resources to their pre-request values. The operation\n is guaranteed to succeed at undoing all resource changes,\n after which point it terminates with a `CANCELLED` status.\n * All other attempts to modify the instance are rejected.\n * Reading the instance via the API continues to give the pre-request\n resource levels.\n\nUpon completion of the returned operation:\n\n * Billing begins for all successfully-allocated resources (some types\n may have lower than the requested levels).\n * All newly-reserved resources are available for serving the instance's\n tables.\n * The instance's new resource levels are readable via the API.\n\nThe returned long-running operation will\nhave a name of the format `<instance_name>/operations/<operation_id>` and\ncan be used to track the instance modification. The\nmetadata field type is\nUpdateInstanceMetadata.\nThe response field type is\nInstance, if successful.\n\nAuthorization requires `spanner.instances.update` permission on\nresource name.",
"httpMethod": "PATCH",
@@ -372,6 +228,11 @@
"parent"
],
"parameters": {
+ "filter": {
+ "description": "An expression for filtering the results of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n * name\n * display_name\n * labels.key where key is the name of a label\n\nSome examples of using filters are:\n\n * name:* --> The instance has a name.\n * name:Howl --> The instance's name contains the string \"howl\".\n * name:HOWL --> Equivalent to above.\n * NAME:howl --> Equivalent to above.\n * labels.env:* --> The instance has the label \"env\".\n * labels.env:dev --> The instance has the label \"env\" and the value of\n the label contains the string \"dev\".\n * name:howl labels.env:dev --> The instance's name contains \"howl\" and\n it has the label \"env\" with its value\n containing \"dev\".",
+ "location": "query",
+ "type": "string"
+ },
"pageToken": {
"description": "If non-empty, `page_token` should contain a\nnext_page_token from a\nprevious ListInstancesResponse.",
"location": "query",
@@ -389,11 +250,6 @@
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
- },
- "filter": {
- "description": "An expression for filtering the results of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n * name\n * display_name\n * labels.key where key is the name of a label\n\nSome examples of using filters are:\n\n * name:* --> The instance has a name.\n * name:Howl --> The instance's name contains the string \"howl\".\n * name:HOWL --> Equivalent to above.\n * NAME:howl --> Equivalent to above.\n * labels.env:* --> The instance has the label \"env\".\n * labels.env:dev --> The instance has the label \"env\" and the value of\n the label contains the string \"dev\".\n * name:howl labels.env:dev --> The instance's name contains \"howl\" and\n it has the label \"env\" with its value\n containing \"dev\".",
- "location": "query",
- "type": "string"
}
},
"path": "v1/{+parent}/instances",
@@ -403,11 +259,140 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
+ },
+ "setIamPolicy": {
+ "description": "Sets the access control policy on an instance resource. Replaces any\nexisting policy.\n\nAuthorization requires `spanner.instances.setIamPolicy` on\nresource.",
+ "httpMethod": "POST",
+ "id": "spanner.projects.instances.setIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The Cloud Spanner resource for which the policy is being set. The format is `projects/<project ID>/instances/<instance ID>` for instance resources and `projects/<project ID>/instances/<instance ID>/databases/<database ID>` for databases resources.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/instances/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:setIamPolicy",
+ "request": {
+ "$ref": "SetIamPolicyRequest"
+ },
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "create": {
+ "description": "Creates an instance and begins preparing it to begin serving. The\nreturned long-running operation\ncan be used to track the progress of preparing the new\ninstance. The instance name is assigned by the caller. If the\nnamed instance already exists, `CreateInstance` returns\n`ALREADY_EXISTS`.\n\nImmediately upon completion of this request:\n\n * The instance is readable via the API, with all requested attributes\n but no allocated resources. Its state is `CREATING`.\n\nUntil completion of the returned operation:\n\n * Cancelling the operation renders the instance immediately unreadable\n via the API.\n * The instance can be deleted.\n * All other attempts to modify the instance are rejected.\n\nUpon completion of the returned operation:\n\n * Billing for all successfully-allocated resources begins (some types\n may have lower than the requested levels).\n * Databases can be created in the instance.\n * The instance's allocated resource levels are readable via the API.\n * The instance's state becomes `READY`.\n\nThe returned long-running operation will\nhave a name of the format `<instance_name>/operations/<operation_id>` and\ncan be used to track creation of the instance. The\nmetadata field type is\nCreateInstanceMetadata.\nThe response field type is\nInstance, if successful.",
+ "httpMethod": "POST",
+ "id": "spanner.projects.instances.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The name of the project in which to create the instance. Values\nare of the form `projects/<project>`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/instances",
+ "request": {
+ "$ref": "CreateInstanceRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "getIamPolicy": {
+ "description": "Gets the access control policy for an instance resource. Returns an empty\npolicy if an instance exists but does not have a policy set.\n\nAuthorization requires `spanner.instances.getIamPolicy` on\nresource.",
+ "httpMethod": "POST",
+ "id": "spanner.projects.instances.getIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. The format is `projects/<project ID>/instances/<instance ID>` for instance resources and `projects/<project ID>/instances/<instance ID>/databases/<database ID>` for database resources.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/instances/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:getIamPolicy",
+ "request": {
+ "$ref": "GetIamPolicyRequest"
+ },
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
}
},
"resources": {
"databases": {
"methods": {
+ "get": {
+ "description": "Gets the state of a Cloud Spanner database.",
+ "httpMethod": "GET",
+ "id": "spanner.projects.instances.databases.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the requested database. Values are of the form\n`projects/<project>/instances/<instance>/databases/<database>`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "Database"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "dropDatabase": {
+ "description": "Drops (aka deletes) a Cloud Spanner database.",
+ "httpMethod": "DELETE",
+ "id": "spanner.projects.instances.databases.dropDatabase",
+ "parameterOrder": [
+ "database"
+ ],
+ "parameters": {
+ "database": {
+ "description": "Required. The database to be dropped.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+database}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"updateDdl": {
"description": "Updates the schema of a Cloud Spanner database by\ncreating/altering/dropping tables, columns, indexes, etc. The returned\nlong-running operation will have a name of\nthe format `<database_name>/operations/<operation_id>` and can be used to\ntrack execution of the schema change(s). The\nmetadata field type is\nUpdateDatabaseDdlMetadata. The operation has no response.",
"httpMethod": "PATCH",
@@ -494,6 +479,12 @@
"parent"
],
"parameters": {
+ "pageSize": {
+ "description": "Number of databases to be returned in the response. If 0 or less,\ndefaults to the server's maximum allowed page size.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
"parent": {
"description": "Required. The instance whose databases should be listed.\nValues are of the form `projects/<project>/instances/<instance>`.",
"location": "path",
@@ -505,12 +496,6 @@
"description": "If non-empty, `page_token` should contain a\nnext_page_token from a\nprevious ListDatabasesResponse.",
"location": "query",
"type": "string"
- },
- "pageSize": {
- "description": "Number of databases to be returned in the response. If 0 or less,\ndefaults to the server's maximum allowed page size.",
- "format": "int32",
- "location": "query",
- "type": "integer"
}
},
"path": "v1/{+parent}/databases",
@@ -521,33 +506,6 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
- "create": {
- "description": "Creates a new Cloud Spanner database and starts to prepare it for serving.\nThe returned long-running operation will\nhave a name of the format `<database_name>/operations/<operation_id>` and\ncan be used to track preparation of the database. The\nmetadata field type is\nCreateDatabaseMetadata. The\nresponse field type is\nDatabase, if successful.",
- "httpMethod": "POST",
- "id": "spanner.projects.instances.databases.create",
- "parameterOrder": [
- "parent"
- ],
- "parameters": {
- "parent": {
- "description": "Required. The name of the instance that will serve the new database.\nValues are of the form `projects/<project>/instances/<instance>`.",
- "location": "path",
- "pattern": "^projects/[^/]+/instances/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+parent}/databases",
- "request": {
- "$ref": "CreateDatabaseRequest"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
"setIamPolicy": {
"description": "Sets the access control policy on a database resource. Replaces any\nexisting policy.\n\nAuthorization requires `spanner.databases.setIamPolicy` permission on\nresource.",
"httpMethod": "POST",
@@ -575,6 +533,33 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
+ "create": {
+ "description": "Creates a new Cloud Spanner database and starts to prepare it for serving.\nThe returned long-running operation will\nhave a name of the format `<database_name>/operations/<operation_id>` and\ncan be used to track preparation of the database. The\nmetadata field type is\nCreateDatabaseMetadata. The\nresponse field type is\nDatabase, if successful.",
+ "httpMethod": "POST",
+ "id": "spanner.projects.instances.databases.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The name of the instance that will serve the new database.\nValues are of the form `projects/<project>/instances/<instance>`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/instances/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/databases",
+ "request": {
+ "$ref": "CreateDatabaseRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"getIamPolicy": {
"description": "Gets the access control policy for a database resource. Returns an empty\npolicy if a database exists but does not have a policy set.\n\nAuthorization requires `spanner.databases.getIamPolicy` permission on\nresource.",
"httpMethod": "POST",
@@ -601,107 +586,11 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
- },
- "get": {
- "description": "Gets the state of a Cloud Spanner database.",
- "httpMethod": "GET",
- "id": "spanner.projects.instances.databases.get",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "Required. The name of the requested database. Values are of the form\n`projects/<project>/instances/<instance>/databases/<database>`.",
- "location": "path",
- "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+name}",
- "response": {
- "$ref": "Database"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "dropDatabase": {
- "description": "Drops (aka deletes) a Cloud Spanner database.",
- "httpMethod": "DELETE",
- "id": "spanner.projects.instances.databases.dropDatabase",
- "parameterOrder": [
- "database"
- ],
- "parameters": {
- "database": {
- "description": "Required. The database to be dropped.",
- "location": "path",
- "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+database}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
}
},
"resources": {
"operations": {
"methods": {
- "cancel": {
- "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.",
- "httpMethod": "POST",
- "id": "spanner.projects.instances.databases.operations.cancel",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The name of the operation resource to be cancelled.",
- "location": "path",
- "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/operations/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+name}:cancel",
- "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\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.",
- "httpMethod": "DELETE",
- "id": "spanner.projects.instances.databases.operations.delete",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The name of the operation resource to be deleted.",
- "location": "path",
- "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/operations/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+name}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
"list": {
"description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`.",
"httpMethod": "GET",
@@ -765,11 +654,188 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
+ },
+ "cancel": {
+ "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.",
+ "httpMethod": "POST",
+ "id": "spanner.projects.instances.databases.operations.cancel",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource to be cancelled.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}:cancel",
+ "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\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.",
+ "httpMethod": "DELETE",
+ "id": "spanner.projects.instances.databases.operations.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource to be deleted.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
}
}
},
"sessions": {
"methods": {
+ "get": {
+ "description": "Gets a session. Returns `NOT_FOUND` if the session does not exist.\nThis is mainly useful for determining whether a session is still\nalive.",
+ "httpMethod": "GET",
+ "id": "spanner.projects.instances.databases.sessions.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the session to retrieve.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "Session"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "executeStreamingSql": {
+ "description": "Like ExecuteSql, except returns the result\nset as a stream. Unlike ExecuteSql, there\nis no limit on the size of the returned result set. However, no\nindividual row in the result set can exceed 100 MiB, and no\ncolumn value can exceed 10 MiB.",
+ "httpMethod": "POST",
+ "id": "spanner.projects.instances.databases.sessions.executeStreamingSql",
+ "parameterOrder": [
+ "session"
+ ],
+ "parameters": {
+ "session": {
+ "description": "Required. The session in which the SQL query should be performed.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+session}:executeStreamingSql",
+ "request": {
+ "$ref": "ExecuteSqlRequest"
+ },
+ "response": {
+ "$ref": "PartialResultSet"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Ends a session, releasing server resources associated with it.",
+ "httpMethod": "DELETE",
+ "id": "spanner.projects.instances.databases.sessions.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the session to delete.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "beginTransaction": {
+ "description": "Begins a new transaction. This step can often be skipped:\nRead, ExecuteSql and\nCommit can begin a new transaction as a\nside-effect.",
+ "httpMethod": "POST",
+ "id": "spanner.projects.instances.databases.sessions.beginTransaction",
+ "parameterOrder": [
+ "session"
+ ],
+ "parameters": {
+ "session": {
+ "description": "Required. The session in which the transaction runs.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+session}:beginTransaction",
+ "request": {
+ "$ref": "BeginTransactionRequest"
+ },
+ "response": {
+ "$ref": "Transaction"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "commit": {
+ "description": "Commits a transaction. The request includes the mutations to be\napplied to rows in the database.\n\n`Commit` might return an `ABORTED` error. This can occur at any time;\ncommonly, the cause is conflicts with concurrent\ntransactions. However, it can also happen for a variety of other\nreasons. If `Commit` returns `ABORTED`, the caller should re-attempt\nthe transaction from the beginning, re-using the same session.",
+ "httpMethod": "POST",
+ "id": "spanner.projects.instances.databases.sessions.commit",
+ "parameterOrder": [
+ "session"
+ ],
+ "parameters": {
+ "session": {
+ "description": "Required. The session in which the transaction to be committed is running.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+session}:commit",
+ "request": {
+ "$ref": "CommitRequest"
+ },
+ "response": {
+ "$ref": "CommitResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"executeSql": {
"description": "Executes an SQL query, returning all rows in a single reply. This\nmethod cannot be used to return a result set larger than 10 MiB;\nif the query yields more data than that, the query fails with\na `FAILED_PRECONDITION` error.\n\nQueries inside read-write transactions might return `ABORTED`. If\nthis occurs, the application should restart the transaction from\nthe beginning. See Transaction for more details.\n\nLarger result sets can be fetched in streaming fashion by calling\nExecuteStreamingSql instead.",
"httpMethod": "POST",
@@ -852,7 +918,7 @@
]
},
"create": {
- "description": "Creates a new session. A session can be used to perform\ntransactions that read and/or modify data in a Cloud Spanner database.\nSessions are meant to be reused for many consecutive\ntransactions.\n\nSessions can only execute one transaction at a time. To execute\nmultiple concurrent read-write/write-only transactions, create\nmultiple sessions. Note that standalone reads and queries use a\ntransaction internally, and count toward the one transaction\nlimit.\n\nCloud Spanner limits the number of sessions that can exist at any given\ntime; thus, it is a good idea to delete idle and/or unneeded sessions.\nAside from explicit deletes, Cloud Spanner can delete sessions for\nwhich no operations are sent for more than an hour, or due to\ninternal errors. If a session is deleted, requests to it\nreturn `NOT_FOUND`.\n\nIdle sessions can be kept alive by sending a trivial SQL query\nperiodically, e.g., `\"SELECT 1\"`.",
+ "description": "Creates a new session. A session can be used to perform\ntransactions that read and/or modify data in a Cloud Spanner database.\nSessions are meant to be reused for many consecutive\ntransactions.\n\nSessions can only execute one transaction at a time. To execute\nmultiple concurrent read-write/write-only transactions, create\nmultiple sessions. Note that standalone reads and queries use a\ntransaction internally, and count toward the one transaction\nlimit.\n\nCloud Spanner limits the number of sessions that can exist at any given\ntime; thus, it is a good idea to delete idle and/or unneeded sessions.\nAside from explicit deletes, Cloud Spanner can delete sessions for which no\noperations are sent for more than an hour. If a session is deleted,\nrequests to it return `NOT_FOUND`.\n\nIdle sessions can be kept alive by sending a trivial SQL query\nperiodically, e.g., `\"SELECT 1\"`.",
"httpMethod": "POST",
"id": "spanner.projects.instances.databases.sessions.create",
"parameterOrder": [
@@ -901,135 +967,6 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
- },
- "get": {
- "description": "Gets a session. Returns `NOT_FOUND` if the session does not exist.\nThis is mainly useful for determining whether a session is still\nalive.",
- "httpMethod": "GET",
- "id": "spanner.projects.instances.databases.sessions.get",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "Required. The name of the session to retrieve.",
- "location": "path",
- "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+name}",
- "response": {
- "$ref": "Session"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "commit": {
- "description": "Commits a transaction. The request includes the mutations to be\napplied to rows in the database.\n\n`Commit` might return an `ABORTED` error. This can occur at any time;\ncommonly, the cause is conflicts with concurrent\ntransactions. However, it can also happen for a variety of other\nreasons. If `Commit` returns `ABORTED`, the caller should re-attempt\nthe transaction from the beginning, re-using the same session.",
- "httpMethod": "POST",
- "id": "spanner.projects.instances.databases.sessions.commit",
- "parameterOrder": [
- "session"
- ],
- "parameters": {
- "session": {
- "description": "Required. The session in which the transaction to be committed is running.",
- "location": "path",
- "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+session}:commit",
- "request": {
- "$ref": "CommitRequest"
- },
- "response": {
- "$ref": "CommitResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "beginTransaction": {
- "description": "Begins a new transaction. This step can often be skipped:\nRead, ExecuteSql and\nCommit can begin a new transaction as a\nside-effect.",
- "httpMethod": "POST",
- "id": "spanner.projects.instances.databases.sessions.beginTransaction",
- "parameterOrder": [
- "session"
- ],
- "parameters": {
- "session": {
- "description": "Required. The session in which the transaction runs.",
- "location": "path",
- "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+session}:beginTransaction",
- "request": {
- "$ref": "BeginTransactionRequest"
- },
- "response": {
- "$ref": "Transaction"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "executeStreamingSql": {
- "description": "Like ExecuteSql, except returns the result\nset as a stream. Unlike ExecuteSql, there\nis no limit on the size of the returned result set. However, no\nindividual row in the result set can exceed 100 MiB, and no\ncolumn value can exceed 10 MiB.",
- "httpMethod": "POST",
- "id": "spanner.projects.instances.databases.sessions.executeStreamingSql",
- "parameterOrder": [
- "session"
- ],
- "parameters": {
- "session": {
- "description": "Required. The session in which the SQL query should be performed.",
- "location": "path",
- "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+session}:executeStreamingSql",
- "request": {
- "$ref": "ExecuteSqlRequest"
- },
- "response": {
- "$ref": "PartialResultSet"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "delete": {
- "description": "Ends a session, releasing server resources associated with it.",
- "httpMethod": "DELETE",
- "id": "spanner.projects.instances.databases.sessions.delete",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "Required. The name of the session to delete.",
- "location": "path",
- "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+name}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
}
}
}
@@ -1037,6 +974,70 @@
},
"operations": {
"methods": {
+ "list": {
+ "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`.",
+ "httpMethod": "GET",
+ "id": "spanner.projects.instances.operations.list",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "The standard list filter.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the operation collection.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/instances/[^/]+/operations$",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "The standard list page token.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The standard list page size.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "ListOperationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
+ "httpMethod": "GET",
+ "id": "spanner.projects.instances.operations.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/instances/[^/]+/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"cancel": {
"description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.",
"httpMethod": "POST",
@@ -1084,486 +1085,80 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
- },
- "list": {
- "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`.",
- "httpMethod": "GET",
- "id": "spanner.projects.instances.operations.list",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The name of the operation collection.",
- "location": "path",
- "pattern": "^projects/[^/]+/instances/[^/]+/operations$",
- "required": true,
- "type": "string"
- },
- "pageToken": {
- "description": "The standard list page token.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "The standard list page size.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "filter": {
- "description": "The standard list filter.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/{+name}",
- "response": {
- "$ref": "ListOperationsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "get": {
- "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
- "httpMethod": "GET",
- "id": "spanner.projects.instances.operations.get",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The name of the operation resource.",
- "location": "path",
- "pattern": "^projects/[^/]+/instances/[^/]+/operations/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/{+name}",
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
}
}
}
}
+ },
+ "instanceConfigs": {
+ "methods": {
+ "list": {
+ "description": "Lists the supported instance configurations for a given project.",
+ "httpMethod": "GET",
+ "id": "spanner.projects.instanceConfigs.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "Number of instance configurations to be returned in the response. If 0 or\nless, defaults to the server's maximum allowed page size.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "parent": {
+ "description": "Required. The name of the project for which a list of supported instance\nconfigurations is requested. Values are of the form\n`projects/<project>`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "If non-empty, `page_token` should contain a\nnext_page_token\nfrom a previous ListInstanceConfigsResponse.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/instanceConfigs",
+ "response": {
+ "$ref": "ListInstanceConfigsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets information about a particular instance configuration.",
+ "httpMethod": "GET",
+ "id": "spanner.projects.instanceConfigs.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The name of the requested instance configuration. Values are of\nthe form `projects/<project>/instanceConfigs/<config>`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/instanceConfigs/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "InstanceConfig"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
}
}
}
},
- "revision": "20170214",
+ "revision": "20170317",
"rootUrl": "https://spanner.googleapis.com/",
"schemas": {
- "ResultSetStats": {
- "description": "Additional statistics about a ResultSet or PartialResultSet.",
- "id": "ResultSetStats",
- "properties": {
- "queryStats": {
- "additionalProperties": {
- "description": "Properties of the object.",
- "type": "any"
- },
- "description": "Aggregated statistics from the execution of the query. Only present when\nthe query is profiled. For example, a query could return the statistics as\nfollows:\n\n {\n \"rows_returned\": \"3\",\n \"elapsed_time\": \"1.22 secs\",\n \"cpu_time\": \"1.19 secs\"\n }",
- "type": "object"
- },
- "queryPlan": {
- "$ref": "QueryPlan",
- "description": "QueryPlan for the query associated with this result."
- }
- },
- "type": "object"
- },
- "TestIamPermissionsRequest": {
- "description": "Request message for `TestIamPermissions` method.",
- "id": "TestIamPermissionsRequest",
- "properties": {
- "permissions": {
- "description": "REQUIRED: The set of permissions to check for 'resource'.\nPermissions with wildcards (such as '*', 'spanner.*', 'spanner.instances.*') are not allowed.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "CommitResponse": {
- "description": "The response for Commit.",
- "id": "CommitResponse",
- "properties": {
- "commitTimestamp": {
- "description": "The Cloud Spanner timestamp at which the transaction committed.",
- "format": "google-datetime",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Type": {
- "description": "`Type` indicates the type of a Cloud Spanner value, as might be stored in a\ntable cell or returned from an SQL query.",
- "id": "Type",
- "properties": {
- "arrayElementType": {
- "$ref": "Type",
- "description": "If code == ARRAY, then `array_element_type`\nis the type of the array elements."
- },
- "code": {
- "description": "Required. The TypeCode for this type.",
- "enum": [
- "TYPE_CODE_UNSPECIFIED",
- "BOOL",
- "INT64",
- "FLOAT64",
- "TIMESTAMP",
- "DATE",
- "STRING",
- "BYTES",
- "ARRAY",
- "STRUCT"
- ],
- "enumDescriptions": [
- "Not specified.",
- "Encoded as JSON `true` or `false`.",
- "Encoded as `string`, in decimal format.",
- "Encoded as `number`, or the strings `\"NaN\"`, `\"Infinity\"`, or\n`\"-Infinity\"`.",
- "Encoded as `string` in RFC 3339 timestamp format. The time zone\nmust be present, and must be `\"Z\"`.",
- "Encoded as `string` in RFC 3339 date format.",
- "Encoded as `string`.",
- "Encoded as a base64-encoded `string`, as described in RFC 4648,\nsection 4.",
- "Encoded as `list`, where the list elements are represented\naccording to array_element_type.",
- "Encoded as `list`, where list element `i` is represented according\nto [struct_type.fields[i]][google.spanner.v1.StructType.fields]."
- ],
- "type": "string"
- },
- "structType": {
- "$ref": "StructType",
- "description": "If code == STRUCT, then `struct_type`\nprovides type information for the struct's fields."
- }
- },
- "type": "object"
- },
- "PlanNode": {
- "description": "Node information for nodes appearing in a QueryPlan.plan_nodes.",
- "id": "PlanNode",
- "properties": {
- "metadata": {
- "additionalProperties": {
- "description": "Properties of the object.",
- "type": "any"
- },
- "description": "Attributes relevant to the node contained in a group of key-value pairs.\nFor example, a Parameter Reference node could have the following\ninformation in its metadata:\n\n {\n \"parameter_reference\": \"param1\",\n \"parameter_type\": \"array\"\n }",
- "type": "object"
- },
- "executionStats": {
- "additionalProperties": {
- "description": "Properties of the object.",
- "type": "any"
- },
- "description": "The execution statistics associated with the node, contained in a group of\nkey-value pairs. Only present if the plan was returned as a result of a\nprofile query. For example, number of executions, number of rows/time per\nexecution etc.",
- "type": "object"
- },
- "shortRepresentation": {
- "$ref": "ShortRepresentation",
- "description": "Condensed representation for SCALAR nodes."
- },
- "index": {
- "description": "The `PlanNode`'s index in node list.",
- "format": "int32",
- "type": "integer"
- },
- "kind": {
- "description": "Used to determine the type of node. May be needed for visualizing\ndifferent kinds of nodes differently. For example, If the node is a\nSCALAR node, it will have a condensed representation\nwhich can be used to directly embed a description of the node in its\nparent.",
- "enum": [
- "KIND_UNSPECIFIED",
- "RELATIONAL",
- "SCALAR"
- ],
- "enumDescriptions": [
- "Not specified.",
- "Denotes a Relational operator node in the expression tree. Relational\noperators represent iterative processing of rows during query execution.\nFor example, a `TableScan` operation that reads rows from a table.",
- "Denotes a Scalar node in the expression tree. Scalar nodes represent\nnon-iterable entities in the query plan. For example, constants or\narithmetic operators appearing inside predicate expressions or references\nto column names."
- ],
- "type": "string"
- },
- "displayName": {
- "description": "The display name for the node.",
- "type": "string"
- },
- "childLinks": {
- "description": "List of child node `index`es and their relationship to this parent.",
- "items": {
- "$ref": "ChildLink"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "AuditConfig": {
- "description": "Specifies the audit configuration for a service.\nIt consists of which permission types are logged, and what identities, if\nany, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.",
- "id": "AuditConfig",
- "properties": {
- "exemptedMembers": {
- "description": "Specifies the identities that are exempted from \"data access\" audit\nlogging for the `service` specified above.\nFollows the same format of Binding.members.\nThis field is deprecated in favor of per-permission-type exemptions.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "service": {
- "description": "Specifies a service that will be enabled for audit logging.\nFor example, `resourcemanager`, `storage`, `compute`.\n`allServices` is a special value that covers all services.",
- "type": "string"
- },
- "auditLogConfigs": {
- "description": "The configuration for logging of each type of permission.\nNext ID: 4",
- "items": {
- "$ref": "AuditLogConfig"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "CreateInstanceMetadata": {
- "description": "Metadata type for the operation returned by\nCreateInstance.",
- "id": "CreateInstanceMetadata",
- "properties": {
- "instance": {
- "$ref": "Instance",
- "description": "The instance being created."
- },
- "startTime": {
- "description": "The time at which the\nCreateInstance request was\nreceived.",
- "format": "google-datetime",
- "type": "string"
- },
- "cancelTime": {
- "description": "The time at which this operation was cancelled. If set, this operation is\nin the process of undoing itself (which is guaranteed to succeed) and\ncannot be cancelled again.",
- "format": "google-datetime",
- "type": "string"
- },
- "endTime": {
- "description": "The time at which this operation failed or was completed successfully.",
- "format": "google-datetime",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ChildLink": {
- "description": "Metadata associated with a parent-child relationship appearing in a\nPlanNode.",
- "id": "ChildLink",
- "properties": {
- "childIndex": {
- "description": "The node to which the link points.",
- "format": "int32",
- "type": "integer"
- },
- "variable": {
- "description": "Only present if the child node is SCALAR and corresponds\nto an output variable of the parent node. The field carries the name of\nthe output variable.\nFor example, a `TableScan` operator that reads rows from a table will\nhave child links to the `SCALAR` nodes representing the output variables\ncreated for each column that is read by the operator. The corresponding\n`variable` fields will be set to the variable names assigned to the\ncolumns.",
- "type": "string"
- },
- "type": {
- "description": "The type of the link. For example, in Hash Joins this could be used to\ndistinguish between the build child and the probe child, or in the case\nof the child being an output variable, to represent the tag associated\nwith the output variable.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "CloudAuditOptions": {
- "description": "Write a Cloud Audit log",
- "id": "CloudAuditOptions",
- "properties": {},
- "type": "object"
- },
- "Delete": {
- "description": "Arguments to delete operations.",
- "id": "Delete",
- "properties": {
- "table": {
- "description": "Required. The table whose rows will be deleted.",
- "type": "string"
- },
- "keySet": {
- "$ref": "KeySet",
- "description": "Required. The primary keys of the rows within table to delete."
- }
- },
- "type": "object"
- },
- "BeginTransactionRequest": {
- "description": "The request for BeginTransaction.",
- "id": "BeginTransactionRequest",
- "properties": {
- "options": {
- "$ref": "TransactionOptions",
- "description": "Required. Options for the new transaction."
- }
- },
- "type": "object"
- },
- "CommitRequest": {
- "description": "The request for Commit.",
- "id": "CommitRequest",
- "properties": {
- "singleUseTransaction": {
- "$ref": "TransactionOptions",
- "description": "Execute mutations in a temporary transaction. Note that unlike\ncommit of a previously-started transaction, commit with a\ntemporary transaction is non-idempotent. That is, if the\n`CommitRequest` is sent to Cloud Spanner more than once (for\ninstance, due to retries in the application, or in the\ntransport library), it is possible that the mutations are\nexecuted more than once. If this is undesirable, use\nBeginTransaction and\nCommit instead."
- },
- "mutations": {
- "description": "The mutations to be executed when this transaction commits. All\nmutations are applied atomically, in the order they appear in\nthis list.",
- "items": {
- "$ref": "Mutation"
- },
- "type": "array"
- },
- "transactionId": {
- "description": "Commit a previously-started transaction.",
- "format": "byte",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListInstanceConfigsResponse": {
- "description": "The response for ListInstanceConfigs.",
- "id": "ListInstanceConfigsResponse",
- "properties": {
- "nextPageToken": {
- "description": "`next_page_token` can be sent in a subsequent\nListInstanceConfigs call to\nfetch more of the matching instance configurations.",
- "type": "string"
- },
- "instanceConfigs": {
- "description": "The list of requested instance configurations.",
- "items": {
- "$ref": "InstanceConfig"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "TestIamPermissionsResponse": {
- "description": "Response message for `TestIamPermissions` method.",
- "id": "TestIamPermissionsResponse",
- "properties": {
- "permissions": {
- "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "GetIamPolicyRequest": {
- "description": "Request message for `GetIamPolicy` method.",
- "id": "GetIamPolicyRequest",
- "properties": {},
- "type": "object"
- },
- "Rule": {
- "description": "A rule to be applied in a Policy.",
- "id": "Rule",
- "properties": {
- "in": {
- "description": "If one or more 'in' clauses are specified, the rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "permissions": {
- "description": "A permission is a string of form '<service>.<resource type>.<verb>'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "action": {
- "description": "Required",
- "enum": [
- "NO_ACTION",
- "ALLOW",
- "ALLOW_WITH_LOG",
- "DENY",
- "DENY_WITH_LOG",
- "LOG"
- ],
- "enumDescriptions": [
- "Default no action.",
- "Matching 'Entries' grant access.",
- "Matching 'Entries' grant access and the caller promises to log\nthe request per the returned log_configs.",
- "Matching 'Entries' deny access.",
- "Matching 'Entries' deny access and the caller promises to log\nthe request per the returned log_configs.",
- "Matching 'Entries' tell IAM.Check callers to generate logs."
- ],
- "type": "string"
- },
- "notIn": {
- "description": "If one or more 'not_in' clauses are specified, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.\nThe format for in and not_in entries is the same as for members in a\nBinding (see google/iam/v1/policy.proto).",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "description": {
- "description": "Human-readable description of the rule.",
- "type": "string"
- },
- "conditions": {
- "description": "Additional restrictions that must be met",
- "items": {
- "$ref": "Condition"
- },
- "type": "array"
- },
- "logConfig": {
- "description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries\nthat match the LOG action.",
- "items": {
- "$ref": "LogConfig"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "CreateDatabaseMetadata": {
- "description": "Metadata type for the operation returned by\nCreateDatabase.",
- "id": "CreateDatabaseMetadata",
- "properties": {
- "database": {
- "description": "The database being created.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "LogConfig": {
- "description": "Specifies what kind of log the caller must write\nIncrement a streamz counter with the specified metric and field names.\n\nMetric names should start with a '/', generally be lowercase-only,\nand end in \"_count\". Field names should not contain an initial slash.\nThe actual exported metric names will have \"/iam/policy\" prepended.\n\nField names correspond to IAM request parameters and field values are\ntheir respective values.\n\nAt present the only supported field names are\n - \"iam_principal\", corresponding to IAMContext.principal;\n - \"\" (empty string), resulting in one aggretated counter with no field.\n\nExamples:\n counter { metric: \"/debug_access_count\" field: \"iam_principal\" }\n ==> increment counter /iam/policy/backend_debug_access_count\n {iam_principal=[value of IAMContext.principal]}\n\nAt this time we do not support:\n* multiple field names (though this may be supported in the future)\n* decrementing the counter\n* incrementing it by anything other than 1",
- "id": "LogConfig",
- "properties": {
- "dataAccess": {
- "$ref": "DataAccessOptions",
- "description": "Data access options."
- },
- "cloudAudit": {
- "$ref": "CloudAuditOptions",
- "description": "Cloud audit options."
- },
- "counter": {
- "$ref": "CounterOptions",
- "description": "Counter options."
- }
- },
- "type": "object"
- },
"Session": {
"description": "A session in the Cloud Spanner API.",
"id": "Session",
@@ -1575,41 +1170,6 @@
},
"type": "object"
},
- "KeyRange": {
- "description": "KeyRange represents a range of rows in a table or index.\n\nA range has a start key and an end key. These keys can be open or\nclosed, indicating if the range includes rows with that key.\n\nKeys are represented by lists, where the ith value in the list\ncorresponds to the ith component of the table or index primary key.\nIndividual values are encoded as described here.\n\nFor example, consider the following table definition:\n\n CREATE TABLE UserEvents (\n UserName STRING(MAX),\n EventDate STRING(10)\n ) PRIMARY KEY(UserName, EventDate);\n\nThe following keys name rows in this table:\n\n \"Bob\", \"2014-09-23\"\n\nSince the `UserEvents` table's `PRIMARY KEY` clause names two\ncolumns, each `UserEvents` key has two elements; the first is the\n`UserName`, and the second is the `EventDate`.\n\nKey ranges with multiple components are interpreted\nlexicographically by component using the table or index key's declared\nsort order. For example, the following range returns all events for\nuser `\"Bob\"` that occurred in the year 2015:\n\n \"start_closed\": [\"Bob\", \"2015-01-01\"]\n \"end_closed\": [\"Bob\", \"2015-12-31\"]\n\nStart and end keys can omit trailing key components. This affects the\ninclusion and exclusion of rows that exactly match the provided key\ncomponents: if the key is closed, then rows that exactly match the\nprovided components are included; if the key is open, then rows\nthat exactly match are not included.\n\nFor example, the following range includes all events for `\"Bob\"` that\noccurred during and after the year 2000:\n\n \"start_closed\": [\"Bob\", \"2000-01-01\"]\n \"end_closed\": [\"Bob\"]\n\nThe next example retrieves all events for `\"Bob\"`:\n\n \"start_closed\": [\"Bob\"]\n \"end_closed\": [\"Bob\"]\n\nTo retrieve events before the year 2000:\n\n \"start_closed\": [\"Bob\"]\n \"end_open\": [\"Bob\", \"2000-01-01\"]\n\nThe following range includes all rows in the table:\n\n \"start_closed\": []\n \"end_closed\": []\n\nThis range returns all users whose `UserName` begins with any\ncharacter from A to C:\n\n \"start_closed\": [\"A\"]\n \"end_open\": [\"D\"]\n\nThis range returns all users whose `UserName` begins with B:\n\n \"start_closed\": [\"B\"]\n \"end_open\": [\"C\"]\n\nKey ranges honor column sort order. For example, suppose a table is\ndefined as follows:\n\n CREATE TABLE DescendingSortedTable {\n Key INT64,\n ...\n ) PRIMARY KEY(Key DESC);\n\nThe following range retrieves all rows with key values between 1\nand 100 inclusive:\n\n \"start_closed\": [\"100\"]\n \"end_closed\": [\"1\"]\n\nNote that 100 is passed as the start, and 1 is passed as the end,\nbecause `Key` is a descending column in the schema.",
- "id": "KeyRange",
- "properties": {
- "startClosed": {
- "description": "If the start is closed, then the range includes all rows whose\nfirst `len(start_closed)` key columns exactly match `start_closed`.",
- "items": {
- "type": "any"
- },
- "type": "array"
- },
- "startOpen": {
- "description": "If the start is open, then the range excludes rows whose first\n`len(start_open)` key columns exactly match `start_open`.",
- "items": {
- "type": "any"
- },
- "type": "array"
- },
- "endOpen": {
- "description": "If the end is open, then the range excludes rows whose first\n`len(end_open)` key columns exactly match `end_open`.",
- "items": {
- "type": "any"
- },
- "type": "array"
- },
- "endClosed": {
- "description": "If the end is closed, then the range includes all rows whose\nfirst `len(end_closed)` key columns exactly match `end_closed`.",
- "items": {
- "type": "any"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"ListInstancesResponse": {
"description": "The response for ListInstances.",
"id": "ListInstancesResponse",
@@ -1628,6 +1188,41 @@
},
"type": "object"
},
+ "KeyRange": {
+ "description": "KeyRange represents a range of rows in a table or index.\n\nA range has a start key and an end key. These keys can be open or\nclosed, indicating if the range includes rows with that key.\n\nKeys are represented by lists, where the ith value in the list\ncorresponds to the ith component of the table or index primary key.\nIndividual values are encoded as described here.\n\nFor example, consider the following table definition:\n\n CREATE TABLE UserEvents (\n UserName STRING(MAX),\n EventDate STRING(10)\n ) PRIMARY KEY(UserName, EventDate);\n\nThe following keys name rows in this table:\n\n \"Bob\", \"2014-09-23\"\n\nSince the `UserEvents` table's `PRIMARY KEY` clause names two\ncolumns, each `UserEvents` key has two elements; the first is the\n`UserName`, and the second is the `EventDate`.\n\nKey ranges with multiple components are interpreted\nlexicographically by component using the table or index key's declared\nsort order. For example, the following range returns all events for\nuser `\"Bob\"` that occurred in the year 2015:\n\n \"start_closed\": [\"Bob\", \"2015-01-01\"]\n \"end_closed\": [\"Bob\", \"2015-12-31\"]\n\nStart and end keys can omit trailing key components. This affects the\ninclusion and exclusion of rows that exactly match the provided key\ncomponents: if the key is closed, then rows that exactly match the\nprovided components are included; if the key is open, then rows\nthat exactly match are not included.\n\nFor example, the following range includes all events for `\"Bob\"` that\noccurred during and after the year 2000:\n\n \"start_closed\": [\"Bob\", \"2000-01-01\"]\n \"end_closed\": [\"Bob\"]\n\nThe next example retrieves all events for `\"Bob\"`:\n\n \"start_closed\": [\"Bob\"]\n \"end_closed\": [\"Bob\"]\n\nTo retrieve events before the year 2000:\n\n \"start_closed\": [\"Bob\"]\n \"end_open\": [\"Bob\", \"2000-01-01\"]\n\nThe following range includes all rows in the table:\n\n \"start_closed\": []\n \"end_closed\": []\n\nThis range returns all users whose `UserName` begins with any\ncharacter from A to C:\n\n \"start_closed\": [\"A\"]\n \"end_open\": [\"D\"]\n\nThis range returns all users whose `UserName` begins with B:\n\n \"start_closed\": [\"B\"]\n \"end_open\": [\"C\"]\n\nKey ranges honor column sort order. For example, suppose a table is\ndefined as follows:\n\n CREATE TABLE DescendingSortedTable {\n Key INT64,\n ...\n ) PRIMARY KEY(Key DESC);\n\nThe following range retrieves all rows with key values between 1\nand 100 inclusive:\n\n \"start_closed\": [\"100\"]\n \"end_closed\": [\"1\"]\n\nNote that 100 is passed as the start, and 1 is passed as the end,\nbecause `Key` is a descending column in the schema.",
+ "id": "KeyRange",
+ "properties": {
+ "endOpen": {
+ "description": "If the end is open, then the range excludes rows whose first\n`len(end_open)` key columns exactly match `end_open`.",
+ "items": {
+ "type": "any"
+ },
+ "type": "array"
+ },
+ "endClosed": {
+ "description": "If the end is closed, then the range includes all rows whose\nfirst `len(end_closed)` key columns exactly match `end_closed`.",
+ "items": {
+ "type": "any"
+ },
+ "type": "array"
+ },
+ "startClosed": {
+ "description": "If the start is closed, then the range includes all rows whose\nfirst `len(start_closed)` key columns exactly match `start_closed`.",
+ "items": {
+ "type": "any"
+ },
+ "type": "array"
+ },
+ "startOpen": {
+ "description": "If the start is open, then the range excludes rows whose first\n`len(start_open)` key columns exactly match `start_open`.",
+ "items": {
+ "type": "any"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"ShortRepresentation": {
"description": "Condensed representation of a node and its subtree. Only present for\n`SCALAR` PlanNode(s).",
"id": "ShortRepresentation",
@@ -1651,13 +1246,13 @@
"description": "A possible configuration for a Cloud Spanner instance. Configurations\ndefine the geographic placement of nodes and their replication.",
"id": "InstanceConfig",
"properties": {
- "name": {
- "description": "A unique identifier for the instance configuration. Values\nare of the form\n`projects/<project>/instanceConfigs/a-z*`",
- "type": "string"
- },
"displayName": {
"description": "The name of this instance configuration as it appears in UIs.",
"type": "string"
+ },
+ "name": {
+ "description": "A unique identifier for the instance configuration. Values\nare of the form\n`projects/<project>/instanceConfigs/a-z*`",
+ "type": "string"
}
},
"type": "object"
@@ -1758,29 +1353,31 @@
],
"type": "string"
},
- "values": {
- "description": "The objects of the condition. This is mutually exclusive with 'value'.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
"iam": {
"description": "Trusted attributes supplied by the IAM system.",
"enum": [
"NO_ATTR",
"AUTHORITY",
"ATTRIBUTION",
- "SECURITY_REALM"
+ "SECURITY_REALM",
+ "APPROVER"
],
"enumDescriptions": [
"Default non-attribute.",
"Either principal or (if present) authority selector.",
"The principal (even if an authority selector is present), which\nmust only be used for attribution, not authorization.",
- "Any of the security realms in the IAMContext (go/security-realms).\nWhen used with IN, the condition indicates \"any of the request's realms\nmatch one of the given values; with NOT_IN, \"none of the realms match\nany of the given values\". It is not permitted to grant access based on\nthe *absence* of a realm, so realm conditions can only be used in\na \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN)."
+ "Any of the security realms in the IAMContext (go/security-realms).\nWhen used with IN, the condition indicates \"any of the request's realms\nmatch one of the given values; with NOT_IN, \"none of the realms match\nany of the given values\". It is not permitted to grant access based on\nthe *absence* of a realm, so realm conditions can only be used in\na \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).",
+ "An approver (distinct from the requester) that has authorized this\nrequest.\nWhen used with IN, the condition indicates that one of the approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, and are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT_IN).\nSee: go/rpc-security-policy-dynamicauth."
],
"type": "string"
},
+ "values": {
+ "description": "The objects of the condition. This is mutually exclusive with 'value'.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"op": {
"description": "An operator to apply the subject with.",
"enum": [
@@ -1842,8 +1439,12 @@
"description": "Options for read-only transactions.",
"id": "ReadOnly",
"properties": {
- "readTimestamp": {
- "description": "Executes all reads at the given timestamp. Unlike other modes,\nreads at a specific timestamp are repeatable; the same read at\nthe same timestamp always returns the same data. If the\ntimestamp is in the future, the read will block until the\nspecified timestamp, modulo the read's deadline.\n\nUseful for large scale consistent reads such as mapreduces, or\nfor coordinating many reads against a consistent snapshot of the\ndata.",
+ "strong": {
+ "description": "Read at a timestamp where all previously committed transactions\nare visible.",
+ "type": "boolean"
+ },
+ "minReadTimestamp": {
+ "description": "Executes all reads at a timestamp >= `min_read_timestamp`.\n\nThis is useful for requesting fresher data than some previous\nread, or data that is fresh enough to observe the effects of some\npreviously committed transaction whose timestamp is known.\n\nNote that this option can only be used in single-use transactions.",
"format": "google-datetime",
"type": "string"
},
@@ -1852,6 +1453,11 @@
"format": "google-duration",
"type": "string"
},
+ "readTimestamp": {
+ "description": "Executes all reads at the given timestamp. Unlike other modes,\nreads at a specific timestamp are repeatable; the same read at\nthe same timestamp always returns the same data. If the\ntimestamp is in the future, the read will block until the\nspecified timestamp, modulo the read's deadline.\n\nUseful for large scale consistent reads such as mapreduces, or\nfor coordinating many reads against a consistent snapshot of the\ndata.",
+ "format": "google-datetime",
+ "type": "string"
+ },
"returnReadTimestamp": {
"description": "If true, the Cloud Spanner-selected read timestamp is included in\nthe Transaction message that describes the transaction.",
"type": "boolean"
@@ -1860,15 +1466,6 @@
"description": "Executes all reads at a timestamp that is `exact_staleness`\nold. The timestamp is chosen soon after the read is started.\n\nGuarantees that all writes that have committed more than the\nspecified number of seconds ago are visible. Because Cloud Spanner\nchooses the exact timestamp, this mode works even if the client's\nlocal clock is substantially skewed from Cloud Spanner commit\ntimestamps.\n\nUseful for reading at nearby replicas without the distributed\ntimestamp negotiation overhead of `max_staleness`.",
"format": "google-duration",
"type": "string"
- },
- "strong": {
- "description": "Read at a timestamp where all previously committed transactions\nare visible.",
- "type": "boolean"
- },
- "minReadTimestamp": {
- "description": "Executes all reads at a timestamp >= `min_read_timestamp`.\n\nThis is useful for requesting fresher data than some previous\nread, or data that is fresh enough to observe the effects of some\npreviously committed transaction whose timestamp is known.\n\nNote that this option can only be used in single-use transactions.",
- "format": "google-datetime",
- "type": "string"
}
},
"type": "object"
@@ -1877,6 +1474,25 @@
"description": "The request for ExecuteSql and\nExecuteStreamingSql.",
"id": "ExecuteSqlRequest",
"properties": {
+ "paramTypes": {
+ "additionalProperties": {
+ "$ref": "Type"
+ },
+ "description": "It is not always possible for Cloud Spanner to infer the right SQL type\nfrom a JSON value. For example, values of type `BYTES` and values\nof type `STRING` both appear in params as JSON strings.\n\nIn these cases, `param_types` can be used to specify the exact\nSQL type for some or all of the SQL query parameters. See the\ndefinition of Type for more information\nabout SQL types.",
+ "type": "object"
+ },
+ "sql": {
+ "description": "Required. The SQL query string.",
+ "type": "string"
+ },
+ "params": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "The SQL query string can contain parameter placeholders. A parameter\nplaceholder consists of `'@'` followed by the parameter\nname. Parameter names consist of any combination of letters,\nnumbers, and underscores.\n\nParameters can appear anywhere that a literal value is expected. The same\nparameter name can be used more than once, for example:\n `\"WHERE id > @msg_id AND id < @msg_id + 100\"`\n\nIt is an error to execute an SQL query with unbound parameters.\n\nParameter values are specified using `params`, which is a JSON\nobject whose keys are parameter names, and whose values are the\ncorresponding parameter values.",
+ "type": "object"
+ },
"queryMode": {
"description": "Used to control the amount of debugging information returned in\nResultSetStats.",
"enum": [
@@ -1899,25 +1515,6 @@
"description": "If this request is resuming a previously interrupted SQL query\nexecution, `resume_token` should be copied from the last\nPartialResultSet yielded before the interruption. Doing this\nenables the new SQL query execution to resume where the last one left\noff. The rest of the request parameters must exactly match the\nrequest that yielded this token.",
"format": "byte",
"type": "string"
- },
- "paramTypes": {
- "additionalProperties": {
- "$ref": "Type"
- },
- "description": "It is not always possible for Cloud Spanner to infer the right SQL type\nfrom a JSON value. For example, values of type `BYTES` and values\nof type `STRING` both appear in params as JSON strings.\n\nIn these cases, `param_types` can be used to specify the exact\nSQL type for some or all of the SQL query parameters. See the\ndefinition of Type for more information\nabout SQL types.",
- "type": "object"
- },
- "sql": {
- "description": "Required. The SQL query string.",
- "type": "string"
- },
- "params": {
- "additionalProperties": {
- "description": "Properties of the object.",
- "type": "any"
- },
- "description": "The SQL query string can contain parameter placeholders. A parameter\nplaceholder consists of `'@'` followed by the parameter\nname. Parameter names consist of any combination of letters,\nnumbers, and underscores.\n\nParameters can appear anywhere that a literal value is expected. The same\nparameter name can be used more than once, for example:\n `\"WHERE id > @msg_id AND id < @msg_id + 100\"`\n\nIt is an error to execute an SQL query with unbound parameters.\n\nParameter values are specified using `params`, which is a JSON\nobject whose keys are parameter names, and whose values are the\ncorresponding parameter values.",
- "type": "object"
}
},
"type": "object"
@@ -2007,10 +1604,6 @@
"description": "Arguments to insert, update, insert_or_update, and\nreplace operations.",
"id": "Write",
"properties": {
- "table": {
- "description": "Required. The table whose rows will be written.",
- "type": "string"
- },
"columns": {
"description": "The names of the columns in table to be written.\n\nThe list of columns must contain enough columns to allow\nCloud Spanner to derive values for all primary key columns in the\nrow(s) to be modified.",
"items": {
@@ -2027,6 +1620,10 @@
"type": "array"
},
"type": "array"
+ },
+ "table": {
+ "description": "Required. The table whose rows will be written.",
+ "type": "string"
}
},
"type": "object"
@@ -2245,13 +1842,13 @@
"description": "Metadata about a ResultSet or PartialResultSet.",
"id": "ResultSetMetadata",
"properties": {
- "rowType": {
- "$ref": "StructType",
- "description": "Indicates the field names and types for the rows in the result\nset. For example, a SQL query like `\"SELECT UserId, UserName FROM\nUsers\"` could return a `row_type` value like:\n\n \"fields\": [\n { \"name\": \"UserId\", \"type\": { \"code\": \"INT64\" } },\n { \"name\": \"UserName\", \"type\": { \"code\": \"STRING\" } },\n ]"
- },
"transaction": {
"$ref": "Transaction",
"description": "If the read or SQL query began a transaction as a side-effect, the\ninformation about the new transaction is yielded here."
+ },
+ "rowType": {
+ "$ref": "StructType",
+ "description": "Indicates the field names and types for the rows in the result\nset. For example, a SQL query like `\"SELECT UserId, UserName FROM\nUsers\"` could return a `row_type` value like:\n\n \"fields\": [\n { \"name\": \"UserId\", \"type\": { \"code\": \"INT64\" } },\n { \"name\": \"UserName\", \"type\": { \"code\": \"STRING\" } },\n ]"
}
},
"type": "object"
@@ -2280,6 +1877,13 @@
"description": "`KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All\nthe keys are expected to be in the same table or index. The keys need\nnot be sorted in any particular way.\n\nIf the same key is specified multiple times in the set (for example\nif two ranges, two keys, or a key and a range overlap), Cloud Spanner\nbehaves as if the key were only specified once.",
"id": "KeySet",
"properties": {
+ "ranges": {
+ "description": "A list of key ranges. See KeyRange for more information about\nkey range specifications.",
+ "items": {
+ "$ref": "KeyRange"
+ },
+ "type": "array"
+ },
"keys": {
"description": "A list of specific keys. Entries in `keys` should have exactly as\nmany elements as there are columns in the primary or index key\nwith which this `KeySet` is used. Individual key values are\nencoded as described here.",
"items": {
@@ -2293,13 +1897,6 @@
"all": {
"description": "For convenience `all` can be set to `true` to indicate that this\n`KeySet` matches all keys in the table or index. Note that any keys\nspecified in `keys` or `ranges` are only yielded once.",
"type": "boolean"
- },
- "ranges": {
- "description": "A list of key ranges. See KeyRange for more information about\nkey range specifications.",
- "items": {
- "$ref": "KeyRange"
- },
- "type": "array"
}
},
"type": "object"
@@ -2308,14 +1905,6 @@
"description": "A modification to one or more Cloud Spanner rows. Mutations can be\napplied to a Cloud Spanner database by sending them in a\nCommit call.",
"id": "Mutation",
"properties": {
- "replace": {
- "$ref": "Write",
- "description": "Like insert, except that if the row already exists, it is\ndeleted, and the column values provided are inserted\ninstead. Unlike insert_or_update, this means any values not\nexplicitly written become `NULL`."
- },
- "delete": {
- "$ref": "Delete",
- "description": "Delete rows from a table. Succeeds whether or not the named\nrows were present."
- },
"insert": {
"$ref": "Write",
"description": "Insert new rows in a table. If any of the rows already exist,\nthe write or transaction fails with error `ALREADY_EXISTS`."
@@ -2327,6 +1916,14 @@
"update": {
"$ref": "Write",
"description": "Update existing rows in a table. If any of the rows does not\nalready exist, the transaction fails with error `NOT_FOUND`."
+ },
+ "replace": {
+ "$ref": "Write",
+ "description": "Like insert, except that if the row already exists, it is\ndeleted, and the column values provided are inserted\ninstead. Unlike insert_or_update, this means any values not\nexplicitly written become `NULL`."
+ },
+ "delete": {
+ "$ref": "Delete",
+ "description": "Delete rows from a table. Succeeds whether or not the named\nrows were present."
}
},
"type": "object"
@@ -2370,6 +1967,40 @@
},
"type": "object"
},
+ "ListDatabasesResponse": {
+ "description": "The response for ListDatabases.",
+ "id": "ListDatabasesResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "`next_page_token` can be sent in a subsequent\nListDatabases call to fetch more\nof the matching databases.",
+ "type": "string"
+ },
+ "databases": {
+ "description": "Databases that matched the request.",
+ "items": {
+ "$ref": "Database"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SetIamPolicyRequest": {
+ "description": "Request message for `SetIamPolicy` method.",
+ "id": "SetIamPolicyRequest",
+ "properties": {
+ "updateMask": {
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, a default\nmask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
+ "format": "google-fieldmask",
+ "type": "string"
+ },
+ "policy": {
+ "$ref": "Policy",
+ "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
+ }
+ },
+ "type": "object"
+ },
"Instance": {
"description": "An isolated set of Cloud Spanner resources on which databases can be hosted.",
"id": "Instance",
@@ -2415,40 +2046,6 @@
},
"type": "object"
},
- "SetIamPolicyRequest": {
- "description": "Request message for `SetIamPolicy` method.",
- "id": "SetIamPolicyRequest",
- "properties": {
- "policy": {
- "$ref": "Policy",
- "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
- },
- "updateMask": {
- "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, a default\nmask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
- "format": "google-fieldmask",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListDatabasesResponse": {
- "description": "The response for ListDatabases.",
- "id": "ListDatabasesResponse",
- "properties": {
- "nextPageToken": {
- "description": "`next_page_token` can be sent in a subsequent\nListDatabases call to fetch more\nof the matching databases.",
- "type": "string"
- },
- "databases": {
- "description": "Databases that matched the request.",
- "items": {
- "$ref": "Database"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"RollbackRequest": {
"description": "The request for Rollback.",
"id": "RollbackRequest",
@@ -2482,10 +2079,6 @@
"description": "Metadata type for the operation returned by\nUpdateDatabaseDdl.",
"id": "UpdateDatabaseDdlMetadata",
"properties": {
- "database": {
- "description": "The database being modified.",
- "type": "string"
- },
"statements": {
"description": "For an update this list contains all the statements. For an\nindividual statement, this list contains only that statement.",
"items": {
@@ -2500,6 +2093,10 @@
"type": "string"
},
"type": "array"
+ },
+ "database": {
+ "description": "The database being modified.",
+ "type": "string"
}
},
"type": "object"
@@ -2551,13 +2148,418 @@
"description": "Message representing a single field of a struct.",
"id": "Field",
"properties": {
- "name": {
- "description": "The name of the field. For reads, this is the column name. For\nSQL queries, it is the column alias (e.g., `\"Word\"` in the\nquery `\"SELECT 'hello' AS Word\"`), or the column name (e.g.,\n`\"ColName\"` in the query `\"SELECT ColName FROM Table\"`). Some\ncolumns might have an empty name (e.g., !\"SELECT\nUPPER(ColName)\"`). Note that a query result can contain\nmultiple fields with the same name.",
- "type": "string"
- },
"type": {
"$ref": "Type",
"description": "The type of the field."
+ },
+ "name": {
+ "description": "The name of the field. For reads, this is the column name. For\nSQL queries, it is the column alias (e.g., `\"Word\"` in the\nquery `\"SELECT 'hello' AS Word\"`), or the column name (e.g.,\n`\"ColName\"` in the query `\"SELECT ColName FROM Table\"`). Some\ncolumns might have an empty name (e.g., !\"SELECT\nUPPER(ColName)\"`). Note that a query result can contain\nmultiple fields with the same name.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ResultSetStats": {
+ "description": "Additional statistics about a ResultSet or PartialResultSet.",
+ "id": "ResultSetStats",
+ "properties": {
+ "queryPlan": {
+ "$ref": "QueryPlan",
+ "description": "QueryPlan for the query associated with this result."
+ },
+ "queryStats": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Aggregated statistics from the execution of the query. Only present when\nthe query is profiled. For example, a query could return the statistics as\nfollows:\n\n {\n \"rows_returned\": \"3\",\n \"elapsed_time\": \"1.22 secs\",\n \"cpu_time\": \"1.19 secs\"\n }",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "TestIamPermissionsRequest": {
+ "description": "Request message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsRequest",
+ "properties": {
+ "permissions": {
+ "description": "REQUIRED: The set of permissions to check for 'resource'.\nPermissions with wildcards (such as '*', 'spanner.*', 'spanner.instances.*') are not allowed.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "CommitResponse": {
+ "description": "The response for Commit.",
+ "id": "CommitResponse",
+ "properties": {
+ "commitTimestamp": {
+ "description": "The Cloud Spanner timestamp at which the transaction committed.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Type": {
+ "description": "`Type` indicates the type of a Cloud Spanner value, as might be stored in a\ntable cell or returned from an SQL query.",
+ "id": "Type",
+ "properties": {
+ "arrayElementType": {
+ "$ref": "Type",
+ "description": "If code == ARRAY, then `array_element_type`\nis the type of the array elements."
+ },
+ "code": {
+ "description": "Required. The TypeCode for this type.",
+ "enum": [
+ "TYPE_CODE_UNSPECIFIED",
+ "BOOL",
+ "INT64",
+ "FLOAT64",
+ "TIMESTAMP",
+ "DATE",
+ "STRING",
+ "BYTES",
+ "ARRAY",
+ "STRUCT"
+ ],
+ "enumDescriptions": [
+ "Not specified.",
+ "Encoded as JSON `true` or `false`.",
+ "Encoded as `string`, in decimal format.",
+ "Encoded as `number`, or the strings `\"NaN\"`, `\"Infinity\"`, or\n`\"-Infinity\"`.",
+ "Encoded as `string` in RFC 3339 timestamp format. The time zone\nmust be present, and must be `\"Z\"`.",
+ "Encoded as `string` in RFC 3339 date format.",
+ "Encoded as `string`.",
+ "Encoded as a base64-encoded `string`, as described in RFC 4648,\nsection 4.",
+ "Encoded as `list`, where the list elements are represented\naccording to array_element_type.",
+ "Encoded as `list`, where list element `i` is represented according\nto [struct_type.fields[i]][google.spanner.v1.StructType.fields]."
+ ],
+ "type": "string"
+ },
+ "structType": {
+ "$ref": "StructType",
+ "description": "If code == STRUCT, then `struct_type`\nprovides type information for the struct's fields."
+ }
+ },
+ "type": "object"
+ },
+ "PlanNode": {
+ "description": "Node information for nodes appearing in a QueryPlan.plan_nodes.",
+ "id": "PlanNode",
+ "properties": {
+ "kind": {
+ "description": "Used to determine the type of node. May be needed for visualizing\ndifferent kinds of nodes differently. For example, If the node is a\nSCALAR node, it will have a condensed representation\nwhich can be used to directly embed a description of the node in its\nparent.",
+ "enum": [
+ "KIND_UNSPECIFIED",
+ "RELATIONAL",
+ "SCALAR"
+ ],
+ "enumDescriptions": [
+ "Not specified.",
+ "Denotes a Relational operator node in the expression tree. Relational\noperators represent iterative processing of rows during query execution.\nFor example, a `TableScan` operation that reads rows from a table.",
+ "Denotes a Scalar node in the expression tree. Scalar nodes represent\nnon-iterable entities in the query plan. For example, constants or\narithmetic operators appearing inside predicate expressions or references\nto column names."
+ ],
+ "type": "string"
+ },
+ "displayName": {
+ "description": "The display name for the node.",
+ "type": "string"
+ },
+ "childLinks": {
+ "description": "List of child node `index`es and their relationship to this parent.",
+ "items": {
+ "$ref": "ChildLink"
+ },
+ "type": "array"
+ },
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Attributes relevant to the node contained in a group of key-value pairs.\nFor example, a Parameter Reference node could have the following\ninformation in its metadata:\n\n {\n \"parameter_reference\": \"param1\",\n \"parameter_type\": \"array\"\n }",
+ "type": "object"
+ },
+ "executionStats": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "The execution statistics associated with the node, contained in a group of\nkey-value pairs. Only present if the plan was returned as a result of a\nprofile query. For example, number of executions, number of rows/time per\nexecution etc.",
+ "type": "object"
+ },
+ "shortRepresentation": {
+ "$ref": "ShortRepresentation",
+ "description": "Condensed representation for SCALAR nodes."
+ },
+ "index": {
+ "description": "The `PlanNode`'s index in node list.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "CreateInstanceMetadata": {
+ "description": "Metadata type for the operation returned by\nCreateInstance.",
+ "id": "CreateInstanceMetadata",
+ "properties": {
+ "cancelTime": {
+ "description": "The time at which this operation was cancelled. If set, this operation is\nin the process of undoing itself (which is guaranteed to succeed) and\ncannot be cancelled again.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "The time at which this operation failed or was completed successfully.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "instance": {
+ "$ref": "Instance",
+ "description": "The instance being created."
+ },
+ "startTime": {
+ "description": "The time at which the\nCreateInstance request was\nreceived.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AuditConfig": {
+ "description": "Specifies the audit configuration for a service.\nIt consists of which permission types are logged, and what identities, if\nany, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.",
+ "id": "AuditConfig",
+ "properties": {
+ "auditLogConfigs": {
+ "description": "The configuration for logging of each type of permission.\nNext ID: 4",
+ "items": {
+ "$ref": "AuditLogConfig"
+ },
+ "type": "array"
+ },
+ "exemptedMembers": {
+ "description": "Specifies the identities that are exempted from \"data access\" audit\nlogging for the `service` specified above.\nFollows the same format of Binding.members.\nThis field is deprecated in favor of per-permission-type exemptions.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "service": {
+ "description": "Specifies a service that will be enabled for audit logging.\nFor example, `resourcemanager`, `storage`, `compute`.\n`allServices` is a special value that covers all services.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ChildLink": {
+ "description": "Metadata associated with a parent-child relationship appearing in a\nPlanNode.",
+ "id": "ChildLink",
+ "properties": {
+ "type": {
+ "description": "The type of the link. For example, in Hash Joins this could be used to\ndistinguish between the build child and the probe child, or in the case\nof the child being an output variable, to represent the tag associated\nwith the output variable.",
+ "type": "string"
+ },
+ "childIndex": {
+ "description": "The node to which the link points.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "variable": {
+ "description": "Only present if the child node is SCALAR and corresponds\nto an output variable of the parent node. The field carries the name of\nthe output variable.\nFor example, a `TableScan` operator that reads rows from a table will\nhave child links to the `SCALAR` nodes representing the output variables\ncreated for each column that is read by the operator. The corresponding\n`variable` fields will be set to the variable names assigned to the\ncolumns.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CloudAuditOptions": {
+ "description": "Write a Cloud Audit log",
+ "id": "CloudAuditOptions",
+ "properties": {},
+ "type": "object"
+ },
+ "Delete": {
+ "description": "Arguments to delete operations.",
+ "id": "Delete",
+ "properties": {
+ "table": {
+ "description": "Required. The table whose rows will be deleted.",
+ "type": "string"
+ },
+ "keySet": {
+ "$ref": "KeySet",
+ "description": "Required. The primary keys of the rows within table to delete."
+ }
+ },
+ "type": "object"
+ },
+ "CommitRequest": {
+ "description": "The request for Commit.",
+ "id": "CommitRequest",
+ "properties": {
+ "singleUseTransaction": {
+ "$ref": "TransactionOptions",
+ "description": "Execute mutations in a temporary transaction. Note that unlike\ncommit of a previously-started transaction, commit with a\ntemporary transaction is non-idempotent. That is, if the\n`CommitRequest` is sent to Cloud Spanner more than once (for\ninstance, due to retries in the application, or in the\ntransport library), it is possible that the mutations are\nexecuted more than once. If this is undesirable, use\nBeginTransaction and\nCommit instead."
+ },
+ "mutations": {
+ "description": "The mutations to be executed when this transaction commits. All\nmutations are applied atomically, in the order they appear in\nthis list.",
+ "items": {
+ "$ref": "Mutation"
+ },
+ "type": "array"
+ },
+ "transactionId": {
+ "description": "Commit a previously-started transaction.",
+ "format": "byte",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BeginTransactionRequest": {
+ "description": "The request for BeginTransaction.",
+ "id": "BeginTransactionRequest",
+ "properties": {
+ "options": {
+ "$ref": "TransactionOptions",
+ "description": "Required. Options for the new transaction."
+ }
+ },
+ "type": "object"
+ },
+ "ListInstanceConfigsResponse": {
+ "description": "The response for ListInstanceConfigs.",
+ "id": "ListInstanceConfigsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "`next_page_token` can be sent in a subsequent\nListInstanceConfigs call to\nfetch more of the matching instance configurations.",
+ "type": "string"
+ },
+ "instanceConfigs": {
+ "description": "The list of requested instance configurations.",
+ "items": {
+ "$ref": "InstanceConfig"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GetIamPolicyRequest": {
+ "description": "Request message for `GetIamPolicy` method.",
+ "id": "GetIamPolicyRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "TestIamPermissionsResponse": {
+ "description": "Response message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsResponse",
+ "properties": {
+ "permissions": {
+ "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "CreateDatabaseMetadata": {
+ "description": "Metadata type for the operation returned by\nCreateDatabase.",
+ "id": "CreateDatabaseMetadata",
+ "properties": {
+ "database": {
+ "description": "The database being created.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Rule": {
+ "description": "A rule to be applied in a Policy.",
+ "id": "Rule",
+ "properties": {
+ "notIn": {
+ "description": "If one or more 'not_in' clauses are specified, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.\nThe format for in and not_in entries is the same as for members in a\nBinding (see google/iam/v1/policy.proto).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "description": {
+ "description": "Human-readable description of the rule.",
+ "type": "string"
+ },
+ "conditions": {
+ "description": "Additional restrictions that must be met",
+ "items": {
+ "$ref": "Condition"
+ },
+ "type": "array"
+ },
+ "logConfig": {
+ "description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries\nthat match the LOG action.",
+ "items": {
+ "$ref": "LogConfig"
+ },
+ "type": "array"
+ },
+ "in": {
+ "description": "If one or more 'in' clauses are specified, the rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "permissions": {
+ "description": "A permission is a string of form '<service>.<resource type>.<verb>'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "action": {
+ "description": "Required",
+ "enum": [
+ "NO_ACTION",
+ "ALLOW",
+ "ALLOW_WITH_LOG",
+ "DENY",
+ "DENY_WITH_LOG",
+ "LOG"
+ ],
+ "enumDescriptions": [
+ "Default no action.",
+ "Matching 'Entries' grant access.",
+ "Matching 'Entries' grant access and the caller promises to log\nthe request per the returned log_configs.",
+ "Matching 'Entries' deny access.",
+ "Matching 'Entries' deny access and the caller promises to log\nthe request per the returned log_configs.",
+ "Matching 'Entries' tell IAM.Check callers to generate logs."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "LogConfig": {
+ "description": "Specifies what kind of log the caller must write\nIncrement a streamz counter with the specified metric and field names.\n\nMetric names should start with a '/', generally be lowercase-only,\nand end in \"_count\". Field names should not contain an initial slash.\nThe actual exported metric names will have \"/iam/policy\" prepended.\n\nField names correspond to IAM request parameters and field values are\ntheir respective values.\n\nAt present the only supported field names are\n - \"iam_principal\", corresponding to IAMContext.principal;\n - \"\" (empty string), resulting in one aggretated counter with no field.\n\nExamples:\n counter { metric: \"/debug_access_count\" field: \"iam_principal\" }\n ==> increment counter /iam/policy/backend_debug_access_count\n {iam_principal=[value of IAMContext.principal]}\n\nAt this time we do not support:\n* multiple field names (though this may be supported in the future)\n* decrementing the counter\n* incrementing it by anything other than 1",
+ "id": "LogConfig",
+ "properties": {
+ "dataAccess": {
+ "$ref": "DataAccessOptions",
+ "description": "Data access options."
+ },
+ "cloudAudit": {
+ "$ref": "CloudAuditOptions",
+ "description": "Cloud audit options."
+ },
+ "counter": {
+ "$ref": "CounterOptions",
+ "description": "Counter options."
}
},
"type": "object"
diff --git a/discovery/googleapis/storage__v1.json b/discovery/googleapis/storage__v1.json
index 5fe6523..583538c 100644
--- a/discovery/googleapis/storage__v1.json
+++ b/discovery/googleapis/storage__v1.json
@@ -26,7 +26,7 @@
"description": "Stores and retrieves potentially large, immutable data objects.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/storage/docs/json_api/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/87TjkqlQLQJ6FjZ3rw1XvgyEGys\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/8cCymGQcL21bwNs4pLrUlHm7CoQ\"",
"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"
@@ -356,6 +356,33 @@
"https://www.googleapis.com/auth/devstorage.read_write"
]
},
+ "getIamPolicy": {
+ "description": "Returns an IAM policy for the specified bucket.",
+ "httpMethod": "GET",
+ "id": "storage.buckets.getIamPolicy",
+ "parameterOrder": [
+ "bucket"
+ ],
+ "parameters": {
+ "bucket": {
+ "description": "Name of a bucket.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "b/{bucket}/iam",
+ "response": {
+ "$ref": "Policy"
+ },
+ "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",
@@ -587,6 +614,69 @@
"https://www.googleapis.com/auth/devstorage.full_control"
]
},
+ "setIamPolicy": {
+ "description": "Updates an IAM policy for the specified bucket.",
+ "httpMethod": "PUT",
+ "id": "storage.buckets.setIamPolicy",
+ "parameterOrder": [
+ "bucket"
+ ],
+ "parameters": {
+ "bucket": {
+ "description": "Name of a bucket.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "b/{bucket}/iam",
+ "request": {
+ "$ref": "Policy"
+ },
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/devstorage.full_control",
+ "https://www.googleapis.com/auth/devstorage.read_write"
+ ]
+ },
+ "testIamPermissions": {
+ "description": "Tests a set of permissions on the given bucket to see which, if any, are held by the caller.",
+ "httpMethod": "GET",
+ "id": "storage.buckets.testIamPermissions",
+ "parameterOrder": [
+ "bucket",
+ "permissions"
+ ],
+ "parameters": {
+ "bucket": {
+ "description": "Name of a bucket.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "permissions": {
+ "description": "Permissions to test.",
+ "location": "query",
+ "repeated": true,
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "b/{bucket}/iam/testPermissions",
+ "response": {
+ "$ref": "TestIamPermissionsResponse"
+ },
+ "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"
+ ]
+ },
"update": {
"description": "Updates a bucket. Changes to the bucket will be readable immediately after writing, but configuration changes may take time to propagate.",
"httpMethod": "PUT",
@@ -1502,6 +1592,46 @@
],
"supportsMediaDownload": true
},
+ "getIamPolicy": {
+ "description": "Returns an IAM policy for the specified object.",
+ "httpMethod": "GET",
+ "id": "storage.objects.getIamPolicy",
+ "parameterOrder": [
+ "bucket",
+ "object"
+ ],
+ "parameters": {
+ "bucket": {
+ "description": "Name of the bucket in which the object resides.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "generation": {
+ "description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "object": {
+ "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "b/{bucket}/o/{object}/iam",
+ "response": {
+ "$ref": "Policy"
+ },
+ "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": "Stores a new object and metadata.",
"httpMethod": "POST",
@@ -1930,6 +2060,95 @@
"https://www.googleapis.com/auth/devstorage.read_write"
]
},
+ "setIamPolicy": {
+ "description": "Updates an IAM policy for the specified object.",
+ "httpMethod": "PUT",
+ "id": "storage.objects.setIamPolicy",
+ "parameterOrder": [
+ "bucket",
+ "object"
+ ],
+ "parameters": {
+ "bucket": {
+ "description": "Name of the bucket in which the object resides.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "generation": {
+ "description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "object": {
+ "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "b/{bucket}/o/{object}/iam",
+ "request": {
+ "$ref": "Policy"
+ },
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/devstorage.full_control",
+ "https://www.googleapis.com/auth/devstorage.read_write"
+ ]
+ },
+ "testIamPermissions": {
+ "description": "Tests a set of permissions on the given object to see which, if any, are held by the caller.",
+ "httpMethod": "GET",
+ "id": "storage.objects.testIamPermissions",
+ "parameterOrder": [
+ "bucket",
+ "object",
+ "permissions"
+ ],
+ "parameters": {
+ "bucket": {
+ "description": "Name of the bucket in which the object resides.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "generation": {
+ "description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "object": {
+ "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "permissions": {
+ "description": "Permissions to test.",
+ "location": "query",
+ "repeated": true,
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "b/{bucket}/o/{object}/iam/testPermissions",
+ "response": {
+ "$ref": "TestIamPermissionsResponse"
+ },
+ "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"
+ ]
+ },
"update": {
"description": "Updates an object's metadata.",
"httpMethod": "PUT",
@@ -2105,7 +2324,7 @@
}
}
},
- "revision": "20170224",
+ "revision": "20170308",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Bucket": {
@@ -2846,6 +3065,65 @@
},
"type": "object"
},
+ "Policy": {
+ "description": "A bucket/object IAM policy.",
+ "id": "Policy",
+ "properties": {
+ "bindings": {
+ "annotations": {
+ "required": [
+ "storage.buckets.setIamPolicy",
+ "storage.objects.setIamPolicy"
+ ]
+ },
+ "description": "An association between a role, which comes with a set of permissions, and members who may assume that role.",
+ "items": {
+ "properties": {
+ "members": {
+ "annotations": {
+ "required": [
+ "storage.buckets.setIamPolicy",
+ "storage.objects.setIamPolicy"
+ ]
+ },
+ "description": "A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows: \n- allUsers — A special identifier that represents anyone on the internet; with or without a Google account. \n- allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account. \n- user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com. \n- serviceAccount:emailid — An email address that represents a service account. For example, serviceAccount:my-other-app@appspot.gserviceaccount.com . \n- group:emailid — An email address that represents a Google group. For example, group:admins@example.com. \n- domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com. \n- projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project \n- projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project \n- projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "role": {
+ "annotations": {
+ "required": [
+ "storage.buckets.setIamPolicy",
+ "storage.objects.setIamPolicy"
+ ]
+ },
+ "description": "The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.\nThe new IAM roles are: \n- roles/storage.admin — Full control of Google Cloud Storage resources. \n- roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects. \n- roles/storage.objectCreator — Access to create objects in Google Cloud Storage. \n- roles/storage.objectAdmin — Full control of Google Cloud Storage objects. The legacy IAM roles are: \n- roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role. \n- roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role. \n- roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role. \n- roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role. \n- roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "etag": {
+ "description": "HTTP 1.1 Entity tag for the policy.",
+ "format": "byte",
+ "type": "string"
+ },
+ "kind": {
+ "default": "storage#policy",
+ "description": "The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.",
+ "type": "string"
+ },
+ "resourceId": {
+ "description": "The ID of the resource to which this policy belongs. Will be of the form buckets/bucket for buckets, and buckets/bucket/objects/object for objects. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"RewriteResponse": {
"description": "A rewrite response.",
"id": "RewriteResponse",
@@ -2879,6 +3157,25 @@
}
},
"type": "object"
+ },
+ "TestIamPermissionsResponse": {
+ "description": "A storage.(buckets|objects).testIamPermissions response.",
+ "id": "TestIamPermissionsResponse",
+ "properties": {
+ "kind": {
+ "default": "storage#testIamPermissionsResponse",
+ "description": "The kind of item this is.",
+ "type": "string"
+ },
+ "permissions": {
+ "description": "The permissions held by the caller. Permissions are always of the format storage.resource.capability, where resource is one of buckets or objects. The supported permissions are as follows: \n- storage.buckets.delete — Delete bucket. \n- storage.buckets.get — Read bucket metadata. \n- storage.buckets.getIamPolicy — Read bucket IAM policy. \n- storage.buckets.create — Create bucket. \n- storage.buckets.list — List buckets. \n- storage.buckets.setIamPolicy — Update bucket IAM policy. \n- storage.buckets.update — Update bucket metadata. \n- storage.objects.delete — Delete object. \n- storage.objects.get — Read object data and metadata. \n- storage.objects.getIamPolicy — Read object IAM policy. \n- storage.objects.create — Create object. \n- storage.objects.list — List objects. \n- storage.objects.setIamPolicy — Update object IAM policy. \n- storage.objects.update — Update object metadata.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
}
},
"servicePath": "storage/v1/",
diff --git a/discovery/googleapis/tracing__v1.json b/discovery/googleapis/tracing__v1.json
index 494af38..99c58d4c 100644
--- a/discovery/googleapis/tracing__v1.json
+++ b/discovery/googleapis/tracing__v1.json
@@ -2,14 +2,14 @@
"auth": {
"oauth2": {
"scopes": {
- "https://www.googleapis.com/auth/trace.readonly": {
- "description": "Read Trace data for a project or application"
- },
"https://www.googleapis.com/auth/trace.append": {
"description": "Write Trace data for a project or application"
},
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
+ },
+ "https://www.googleapis.com/auth/trace.readonly": {
+ "description": "Read Trace data for a project or application"
}
}
}
@@ -96,13 +96,13 @@
"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.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
+ "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"
},
@@ -124,6 +124,36 @@
"resources": {
"traces": {
"methods": {
+ "listSpans": {
+ "description": "Returns a list of spans within a trace.",
+ "httpMethod": "GET",
+ "id": "tracing.projects.traces.listSpans",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "ID of the trace for which to list child spans. Format is\n`projects/PROJECT_ID/traces/TRACE_ID`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/traces/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "Token identifying the page of results to return. If provided, use the\nvalue of the `nextPageToken` field from a previous request. Optional.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}:listSpans",
+ "response": {
+ "$ref": "ListSpansResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/trace.readonly"
+ ]
+ },
"list": {
"description": "Returns of a list of traces that match the specified filter conditions.",
"httpMethod": "GET",
@@ -132,8 +162,30 @@
"parent"
],
"parameters": {
+ "filter": {
+ "description": "An optional filter for the request.\nExample:\n`version_label_key:a some_label:some_label_key`\nreturns traces from version `a` and has `some_label` with `some_label_key`.",
+ "location": "query",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "End of the time interval (inclusive) during which the trace data was\ncollected from the application.",
+ "format": "google-datetime",
+ "location": "query",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "Start of the time interval (inclusive) during which the trace data was\ncollected from the application.",
+ "format": "google-datetime",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "Token identifying the page of results to return. If provided, use the\nvalue of the `next_page_token` field from a previous request. Optional.",
+ "location": "query",
+ "type": "string"
+ },
"pageSize": {
- "description": "Maximum number of traces to return. If not specified or <= 0, the\nimplementation selects a reasonable value. The implementation may\nreturn fewer traces than the requested page size. Optional.",
+ "description": "Maximum number of traces to return. If not specified or <= 0, the\nimplementation selects a reasonable value. The implementation may\nreturn fewer traces than the requested page size. Optional.",
"format": "int32",
"location": "query",
"type": "integer"
@@ -149,28 +201,6 @@
"description": "Field used to sort the returned traces. Optional.\nCan be one of the following:\n\n* `trace_id`\n* `name` (`name` field of root span in the trace)\n* `duration` (difference between `end_time` and `start_time` fields of\n the root span)\n* `start` (`start_time` field of the root span)\n\nDescending order can be specified by appending `desc` to the sort field\n(for example, `name desc`).\n\nOnly one sort field is permitted.",
"location": "query",
"type": "string"
- },
- "filter": {
- "description": "An optional filter for the request.\nExample:\n\"version_label_key:a some_label:some_label_key\"\nreturns traces from version a and has some_label with some_label_key.",
- "location": "query",
- "type": "string"
- },
- "endTime": {
- "description": "End of the time interval (inclusive) during which the trace data was\ncollected from the application.",
- "format": "google-datetime",
- "location": "query",
- "type": "string"
- },
- "pageToken": {
- "description": "Token identifying the page of results to return. If provided, use the\nvalue of the `next_page_token` field from a previous request. Optional.",
- "location": "query",
- "type": "string"
- },
- "startTime": {
- "description": "Start of the time interval (inclusive) during which the trace data was\ncollected from the application.",
- "format": "google-datetime",
- "location": "query",
- "type": "string"
}
},
"path": "v1/{+parent}/traces",
@@ -191,7 +221,7 @@
],
"parameters": {
"name": {
- "description": "ID of the trace which is \"projects/<project_id>/traces/<trace_id>\".",
+ "description": "ID of the trace. Format is `projects/PROJECT_ID/traces/TRACE_ID`.",
"location": "path",
"pattern": "^projects/[^/]+/traces/[^/]+$",
"required": true,
@@ -234,71 +264,185 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/trace.append"
]
- },
- "listSpans": {
- "description": "Returns a list of spans within a trace.",
- "httpMethod": "GET",
- "id": "tracing.projects.traces.listSpans",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "ID of the span set where is \"projects/<project_id>/traces/<trace_id>\".",
- "location": "path",
- "pattern": "^projects/[^/]+/traces/[^/]+$",
- "required": true,
- "type": "string"
- },
- "pageToken": {
- "description": "Token identifying the page of results to return. If provided, use the\nvalue of the `page_token` field from a previous request. Optional.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/{+name}:listSpans",
- "response": {
- "$ref": "ListSpansResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/trace.readonly"
- ]
}
}
}
}
}
},
- "revision": "20170225",
+ "revision": "20170320",
"rootUrl": "https://tracing.googleapis.com/",
"schemas": {
+ "StackTrace": {
+ "description": "StackTrace collected in a trace.",
+ "id": "StackTrace",
+ "properties": {
+ "stackFrame": {
+ "description": "Stack frames of this stack trace.",
+ "items": {
+ "$ref": "StackFrame"
+ },
+ "type": "array"
+ },
+ "stackTraceHashId": {
+ "description": "The hash ID is used to conserve network bandwidth for duplicate\nstack traces within a single trace.\n\nOften multiple spans will have identical stack traces.\nThe first occurance of a stack trace should contain both the\n`stackFrame` content and a value in `stackTraceHashId`.\n\nSubsequent spans within the same request can refer\nto that stack trace by only setting `stackTraceHashId`.",
+ "format": "uint64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "TimeEvent": {
+ "description": "A time-stamped annotation in the Span.",
+ "id": "TimeEvent",
+ "properties": {
+ "localTime": {
+ "description": "The timestamp indicating the time the event occurred.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "networkEvent": {
+ "$ref": "NetworkEvent",
+ "description": "An event describing an RPC message sent/received on the network."
+ },
+ "annotation": {
+ "$ref": "Annotation",
+ "description": "One or more key:value pairs."
+ }
+ },
+ "type": "object"
+ },
+ "NetworkEvent": {
+ "description": "An event describing an RPC message sent/received on the network.",
+ "id": "NetworkEvent",
+ "properties": {
+ "kernelTime": {
+ "description": "If available, this is the kernel time:\n\n* For sent messages, this is the time at which the first bit was sent.\n* For received messages, this is the time at which the last bit was\n received.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "type": {
+ "description": "Type of NetworkEvent. Indicates whether the RPC message was sent or\nreceived.",
+ "enum": [
+ "TYPE_UNSPECIFIED",
+ "SENT",
+ "RECV"
+ ],
+ "enumDescriptions": [
+ "Unknown event type.",
+ "Indicates a sent RPC message.",
+ "Indicates a received RPC message."
+ ],
+ "type": "string"
+ },
+ "messageId": {
+ "description": "An identifier for the message, which must be unique in this span.",
+ "format": "uint64",
+ "type": "string"
+ },
+ "messageSize": {
+ "description": "The number of bytes sent or received.",
+ "format": "uint64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListSpansResponse": {
+ "description": "The response message for the `ListSpans` method.",
+ "id": "ListSpansResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "If defined, indicates that there are more spans that match the request.\nPass this as the value of `pageToken` in a subsequent request to retrieve\nadditional spans.",
+ "type": "string"
+ },
+ "spans": {
+ "description": "The requested spans if there are any in the specified trace.",
+ "items": {
+ "$ref": "Span"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SpanUpdates": {
+ "description": "Collection of spans to update.",
+ "id": "SpanUpdates",
+ "properties": {
+ "spans": {
+ "description": "A collection of spans.",
+ "items": {
+ "$ref": "Span"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "StackFrame": {
+ "description": "Represents a single stack frame in a stack trace.",
+ "id": "StackFrame",
+ "properties": {
+ "fileName": {
+ "description": "The filename of the file containing this frame.",
+ "type": "string"
+ },
+ "sourceVersion": {
+ "description": "The version of the deployed source code.",
+ "type": "string"
+ },
+ "originalFunctionName": {
+ "description": "Used when the function name is\n[mangled](http://www.avabodh.com/cxxin/namemangling.html). May be\nfully-qualified.",
+ "type": "string"
+ },
+ "functionName": {
+ "description": "The fully-qualified name that uniquely identifies this function or\nmethod.",
+ "type": "string"
+ },
+ "lineNumber": {
+ "description": "Line number of the frame.",
+ "format": "int64",
+ "type": "string"
+ },
+ "loadModule": {
+ "$ref": "Module",
+ "description": "Binary module the code is loaded from."
+ },
+ "columnNumber": {
+ "description": "Column number is important in JavaScript (anonymous functions).\nMay not be available in some languages.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Link": {
- "description": "Link one span with another which may be in a different Trace. Used (for\nexample) in batching operations, where a single batch handler processes\nmultiple requests from different traces.",
+ "description": "A pointer from this span to another span in a different `Trace`. Used\n(for example) in batching operations, where a single batch handler\nprocesses multiple requests from different traces.",
"id": "Link",
"properties": {
+ "traceId": {
+ "description": "The ID of the parent trace of the linked span.",
+ "type": "string"
+ },
+ "spanId": {
+ "description": "The `id` of the linked span.",
+ "format": "uint64",
+ "type": "string"
+ },
"type": {
- "description": "The type of the link.",
+ "description": "The relationship of the current span relative to the linked span.",
"enum": [
"TYPE_UNSPECIFIED",
"CHILD",
"PARENT"
],
"enumDescriptions": [
- "The relation of current span and linked span is unknown.",
- "Current span is child of the linked span.",
- "Current span is parent of the linked span."
+ "The relationship of the two spans is unknown.",
+ "The current span is a child of the linked span.",
+ "The current span is the parent of the linked span."
],
"type": "string"
- },
- "traceId": {
- "description": "The trace identifier of the linked span.",
- "type": "string"
- },
- "spanId": {
- "description": "The span identifier of the linked span.",
- "format": "uint64",
- "type": "string"
}
},
"type": "object"
@@ -322,11 +466,11 @@
"type": "object"
},
"Trace": {
- "description": "A trace describes how long it takes for an application to perform some\noperations. It consists of a set of spans, each of which contains details\nabout an operation with time information and operation details.",
+ "description": "A trace describes how long it takes for an application to perform some\noperations. It consists of a set of spans, each representing\nan operation and including time information and operation details.",
"id": "Trace",
"properties": {
"name": {
- "description": "ID of the trace which is \"projects/<project_id>/traces/<trace_id>\".\ntrace_id is globally unique identifier for the trace. Common to all the\nspans. It is conceptually a 128-bit hex-encoded value.",
+ "description": "A globally unique identifier for the trace in the format\n`projects/PROJECT_NUMBER/traces/TRACE_ID`. `TRACE_ID` is a base16-encoded\nstring of a 128-bit number and is required to be 32 char long.",
"type": "string"
}
},
@@ -336,13 +480,13 @@
"description": "Binary module.",
"id": "Module",
"properties": {
- "module": {
- "description": "E.g. main binary, kernel modules, and dynamic libraries\nsuch as libc.so, sharedlib.so",
- "type": "string"
- },
"buildId": {
"description": "Build_id is a unique identifier for the module,\nusually a hash of its contents",
"type": "string"
+ },
+ "module": {
+ "description": "E.g. main binary, kernel modules, and dynamic libraries\nsuch as libc.so, sharedlib.so",
+ "type": "string"
}
},
"type": "object"
@@ -351,11 +495,6 @@
"description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
"id": "Status",
"properties": {
- "code": {
- "description": "The status code, which should be an enum value of google.rpc.Code.",
- "format": "int32",
- "type": "integer"
- },
"message": {
"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
"type": "string"
@@ -370,6 +509,11 @@
"type": "object"
},
"type": "array"
+ },
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -393,15 +537,19 @@
"type": "object"
},
"Span": {
- "description": "A span represents a single operation within a trace. Spans can be nested\nand form a trace tree. Often, a trace contains a root span that describes the\nend-to-end latency and, optionally, one or more subspans for\nits sub-operations. Spans do not need to be contiguous. There may be gaps\nbetween spans in a trace.",
+ "description": "A span represents a single operation within a trace. Spans can be nested\nto form a trace tree. Often, a trace contains a root span that\ndescribes the end-to-end latency and, optionally, one or more subspans for\nits sub-operations. (A trace could alternatively contain multiple root spans,\nor none at all.) Spans do not need to be contiguous. There may be gaps\nand/or overlaps between spans in a trace.",
"id": "Span",
"properties": {
+ "name": {
+ "description": "Name of the span. The span name is sanitized and displayed in the\nStackdriver Trace tool in the {% dynamic print site_values.console_name %}.\nThe name may be a method name or some other per-call site name.\nFor the same executable and the same call point, a best practice is\nto use a consistent name, which makes it easier to correlate\ncross-trace spans.",
+ "type": "string"
+ },
"stackTrace": {
"$ref": "StackTrace",
- "description": "Stack trace captured at the start of the span. This is optional."
+ "description": "Stack trace captured at the start of the span."
},
"links": {
- "description": "A collection of links.",
+ "description": "A collection of links, which are references from this span to another span\nin a different trace.",
"items": {
"$ref": "Link"
},
@@ -411,7 +559,7 @@
"additionalProperties": {
"$ref": "AttributeValue"
},
- "description": "Properties of a span. Attributes at the span level.\nE.g.\n\"/instance_id\": \"my-instance\"\n\"/zone\": \"us-central1-a\"\n\"/grpc/peer_address\": \"ip:port\" (dns, etc.)\n\"/grpc/deadline\": \"Duration\"\n\"/http/user_agent\"\n\"/http/request_bytes\": 300\n\"/http/response_bytes\": 1200\n\"/http/url\": google.com/apis\n\"/pid\"\n\"abc.com/myattribute\": \"my attribute value\"\n\nMaximum length for attribute key is 128 characters, for string attribute\nvalue is 2K characters.",
+ "description": "Properties of a span in key:value format. The maximum length for the\nkey is 128 characters. The value can be a string (up to 2000 characters),\nint, or boolean.\n\nSome common pair examples:\n\n \"/instance_id\": \"my-instance\"\n \"/zone\": \"us-central1-a\"\n \"/grpc/peer_address\": \"ip:port\" (dns, etc.)\n \"/grpc/deadline\": \"Duration\"\n \"/http/user_agent\"\n \"/http/request_bytes\": 300\n \"/http/response_bytes\": 1200\n \"/http/url\": google.com/apis\n \"abc.com/myattribute\": true",
"type": "object"
},
"id": {
@@ -420,38 +568,34 @@
"type": "string"
},
"localStartTime": {
- "description": "Local machine clock time from the UNIX epoch,\nat which span execution started.\nOn the server side these are the times when the server application\nhandler starts running.",
+ "description": "Start time of the span.\nOn the client side, this is the local machine clock time at which the span\nexecution was started; on the server\nside, this is the time at which the server application handler started\nrunning.",
"format": "google-datetime",
"type": "string"
},
"hasRemoteParent": {
- "description": "True if this Span has a remote parent (is an RPC server Span).",
+ "description": "True if this span has a remote parent (is an RPC server span).",
"type": "boolean"
},
- "localEndTime": {
- "description": "Local machine clock time from the UNIX epoch,\nat which span execution ended.\nOn the server side these are the times when the server application\nhandler finishes running.",
- "format": "google-datetime",
- "type": "string"
- },
- "parentId": {
- "description": "ID of parent span. 0 or missing if this is a root span.",
- "format": "uint64",
- "type": "string"
- },
"timeEvents": {
- "description": "A collection of time-stamped events.",
+ "description": "A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation\non the span, consisting of either user-supplied key:value pairs, or\ndetails of an RPC message sent/received on the network.",
"items": {
"$ref": "TimeEvent"
},
"type": "array"
},
+ "localEndTime": {
+ "description": "End time of the span.\nOn the client side, this is the local machine clock time at which the span\nexecution was ended; on the server\nside, this is the time at which the server application handler stopped\nrunning.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "parentId": {
+ "description": "ID of the parent span. If this is a root span, the value must be `0` or\nempty.",
+ "format": "uint64",
+ "type": "string"
+ },
"status": {
"$ref": "Status",
- "description": "The final status of the Span. This is optional."
- },
- "name": {
- "description": "Name of the span. The span name is sanitized and displayed in the\nStackdriver Trace tool in the {% dynamic print site_values.console_name %}.\nThe name may be a method name or some other per-call site name.\nFor the same executable and the same call point, a best practice is\nto use a consistent name, which makes it easier to correlate\ncross-trace spans.",
- "type": "string"
+ "description": "An optional final status for this span."
}
},
"type": "object"
@@ -463,9 +607,14 @@
"type": "object"
},
"AttributeValue": {
- "description": "Allowed attribute values.",
+ "description": "The allowed types for the value side of an attribute key:value pair.",
"id": "AttributeValue",
"properties": {
+ "intValue": {
+ "description": "An integer value.",
+ "format": "int64",
+ "type": "string"
+ },
"stringValue": {
"description": "A string value.",
"type": "string"
@@ -473,11 +622,6 @@
"boolValue": {
"description": "A boolean value.",
"type": "boolean"
- },
- "intValue": {
- "description": "An integer value.",
- "format": "int64",
- "type": "string"
}
},
"type": "object"
@@ -495,150 +639,6 @@
}
},
"type": "object"
- },
- "StackTrace": {
- "description": "StackTrace collected in a trace.",
- "id": "StackTrace",
- "properties": {
- "stackFrame": {
- "description": "Stack frames of this stack trace.",
- "items": {
- "$ref": "StackFrame"
- },
- "type": "array"
- },
- "stackTraceHashId": {
- "description": "User can choose to use their own hash function to hash large attributes to\nsave network bandwidth and storage.\nTypical usage is to pass both stack_frame and stack_trace_hash_id initially\nto inform the storage of the mapping. And in subsequent calls, pass in\nstack_trace_hash_id only. User shall verify the hash value is\nsuccessfully stored.",
- "format": "uint64",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TimeEvent": {
- "description": "A time-stamped annotation in the Span.",
- "id": "TimeEvent",
- "properties": {
- "networkEvent": {
- "$ref": "NetworkEvent",
- "description": "Optional field that can be used only for network events."
- },
- "annotation": {
- "$ref": "Annotation",
- "description": "Optional field for user supplied <string, AttributeValue> map"
- },
- "localTime": {
- "description": "The local machine absolute timestamp when this event happened.",
- "format": "google-datetime",
- "type": "string"
- }
- },
- "type": "object"
- },
- "NetworkEvent": {
- "description": "An event describing an RPC message sent/received on the network.",
- "id": "NetworkEvent",
- "properties": {
- "messageSize": {
- "description": "Number of bytes send/receive.",
- "format": "uint64",
- "type": "string"
- },
- "kernelTime": {
- "description": "If available, this is the kernel time:\nFor sent messages, this is the time at which the first bit was sent.\nFor received messages, this is the time at which the last bit was\nreceived.",
- "format": "google-datetime",
- "type": "string"
- },
- "type": {
- "description": "Type of a NetworkEvent.",
- "enum": [
- "TYPE_UNSPECIFIED",
- "SENT",
- "RECV"
- ],
- "enumDescriptions": [
- "Unknown event.",
- "Event type for sending RPC message.",
- "Event type for receiving RPC message."
- ],
- "type": "string"
- },
- "messageId": {
- "description": "Every message has an identifier, which must be different from all the\nnetwork messages in this span.\nThis is especially important when the request/response are streamed.",
- "format": "uint64",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListSpansResponse": {
- "description": "The response message for the 'ListSpans' method.",
- "id": "ListSpansResponse",
- "properties": {
- "spans": {
- "description": "The requested spans if they are any in the specified trace.",
- "items": {
- "$ref": "Span"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "If defined, indicates that there are more spans that match the request\nand that this value should be passed to the next request to continue\nretrieving additional spans.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SpanUpdates": {
- "description": "Collection of spans to update.",
- "id": "SpanUpdates",
- "properties": {
- "spans": {
- "description": "A collection of spans.",
- "items": {
- "$ref": "Span"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "StackFrame": {
- "description": "Presents a single stack frame in a stack trace.",
- "id": "StackFrame",
- "properties": {
- "originalFunctionName": {
- "description": "Used when function name is ‘mangled’. Not guaranteed to be fully\nqualified but usually it is.",
- "type": "string"
- },
- "functionName": {
- "description": "Fully qualified names which uniquely identify function/method/etc.",
- "type": "string"
- },
- "lineNumber": {
- "description": "Line number of the frame.",
- "format": "int64",
- "type": "string"
- },
- "loadModule": {
- "$ref": "Module",
- "description": "Binary module the code is loaded from."
- },
- "columnNumber": {
- "description": "Column number is important in JavaScript(anonymous functions),\nMight not be available in some languages.",
- "format": "int64",
- "type": "string"
- },
- "fileName": {
- "description": "File name of the frame.",
- "type": "string"
- },
- "sourceVersion": {
- "description": "source_version is deployment specific. It might be\nbetter to be stored in deployment metadata.",
- "type": "string"
- }
- },
- "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis/vision__v1.json b/discovery/googleapis/vision__v1.json
index 0bdb6dd..7167e72 100644
--- a/discovery/googleapis/vision__v1.json
+++ b/discovery/googleapis/vision__v1.json
@@ -25,6 +25,27 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
"callback": {
"description": "JSONP",
"location": "query",
@@ -59,13 +80,13 @@
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
+ "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"
},
- "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.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
},
@@ -80,34 +101,13 @@
"location": "query",
"type": "boolean"
},
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
- },
"bearer_token": {
"description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
}
@@ -136,26 +136,186 @@
}
}
},
- "revision": "20170301",
+ "revision": "20170321",
"rootUrl": "https://vision.googleapis.com/",
"schemas": {
- "ColorInfo": {
- "description": "Color information consists of RGB channels, score, and the fraction of\nthe image that the color occupies in the image.",
- "id": "ColorInfo",
+ "CropHintsParams": {
+ "description": "Parameters for crop hints annotation request.",
+ "id": "CropHintsParams",
"properties": {
- "score": {
- "description": "Image-specific score for this color. Value in range [0, 1].",
+ "aspectRatios": {
+ "description": "Aspect ratios in floats, representing the ratio of the width to the height\nof the image. For example, if the desired aspect ratio is 4/3, the\ncorresponding float value should be 1.33333. If not specified, the\nbest possible crop is returned. The number of provided aspect ratios is\nlimited to a maximum of 16; any aspect ratios provided after the 16th are\nignored.",
+ "items": {
+ "format": "float",
+ "type": "number"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Block": {
+ "description": "Logical element on the page.",
+ "id": "Block",
+ "properties": {
+ "boundingBox": {
+ "$ref": "BoundingPoly",
+ "description": "The bounding box for the block.\nThe vertices are in the order of top-left, top-right, bottom-right,\nbottom-left. When a rotation of the bounding box is detected the rotation\nis represented as around the top-left corner as defined when the text is\nread in the 'natural' orientation.\nFor example:\n * when the text is horizontal it might look like:\n 0----1\n | |\n 3----2\n * when it's rotated 180 degrees around the top-left corner it becomes:\n 2----3\n | |\n 1----0\n and the vertice order will still be (0, 1, 2, 3)."
+ },
+ "paragraphs": {
+ "description": "List of paragraphs in this block (if this blocks is of type text).",
+ "items": {
+ "$ref": "Paragraph"
+ },
+ "type": "array"
+ },
+ "property": {
+ "$ref": "TextProperty",
+ "description": "Additional information detected for the block."
+ },
+ "blockType": {
+ "description": "Detected block type (text, image etc) for this block.",
+ "enum": [
+ "UNKNOWN",
+ "TEXT",
+ "TABLE",
+ "PICTURE",
+ "RULER",
+ "BARCODE"
+ ],
+ "enumDescriptions": [
+ "Unknown block type.",
+ "Regular text block.",
+ "Table block.",
+ "Image block.",
+ "Horizontal/vertical line box.",
+ "Barcode block."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Property": {
+ "description": "A `Property` consists of a user-supplied name/value pair.",
+ "id": "Property",
+ "properties": {
+ "value": {
+ "description": "Value of the property.",
+ "type": "string"
+ },
+ "uint64Value": {
+ "description": "Value of numeric properties.",
+ "format": "uint64",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the property.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "LocationInfo": {
+ "description": "Detected entity location information.",
+ "id": "LocationInfo",
+ "properties": {
+ "latLng": {
+ "$ref": "LatLng",
+ "description": "lat/long location coordinates."
+ }
+ },
+ "type": "object"
+ },
+ "ImageSource": {
+ "description": "External image source (Google Cloud Storage image location).",
+ "id": "ImageSource",
+ "properties": {
+ "gcsImageUri": {
+ "description": "NOTE: For new code `image_uri` below is preferred.\nGoogle Cloud Storage image URI, which must be in the following form:\n`gs://bucket_name/object_name` (for details, see\n[Google Cloud Storage Request\nURIs](https://cloud.google.com/storage/docs/reference-uris)).\nNOTE: Cloud Storage object versioning is not supported.",
+ "type": "string"
+ },
+ "imageUri": {
+ "description": "Image URI which supports:\n1) Google Cloud Storage image URI, which must be in the following form:\n`gs://bucket_name/object_name` (for details, see\n[Google Cloud Storage Request\nURIs](https://cloud.google.com/storage/docs/reference-uris)).\nNOTE: Cloud Storage object versioning is not supported.\n2) Publicly accessible image HTTP/HTTPS URL.\nThis is preferred over the legacy `gcs_image_uri` above. When both\n`gcs_image_uri` and `image_uri` are specified, `image_uri` takes\nprecedence.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BatchAnnotateImagesResponse": {
+ "description": "Response to a batch image annotation request.",
+ "id": "BatchAnnotateImagesResponse",
+ "properties": {
+ "responses": {
+ "description": "Individual responses to image annotation requests within the batch.",
+ "items": {
+ "$ref": "AnnotateImageResponse"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "WebDetection": {
+ "description": "Relevant information for the image from the Internet.",
+ "id": "WebDetection",
+ "properties": {
+ "partialMatchingImages": {
+ "description": "Partial matching images from the Internet.\nThose images are similar enough to share some key-point features. For\nexample an original image will likely have partial matching for its crops.",
+ "items": {
+ "$ref": "WebImage"
+ },
+ "type": "array"
+ },
+ "visuallySimilarImages": {
+ "description": "The visually similar image results.",
+ "items": {
+ "$ref": "WebImage"
+ },
+ "type": "array"
+ },
+ "fullMatchingImages": {
+ "description": "Fully matching images from the Internet.\nThey're definite neardups and most often a copy of the query image with\nmerely a size change.",
+ "items": {
+ "$ref": "WebImage"
+ },
+ "type": "array"
+ },
+ "webEntities": {
+ "description": "Deduced entities from similar images on the Internet.",
+ "items": {
+ "$ref": "WebEntity"
+ },
+ "type": "array"
+ },
+ "pagesWithMatchingImages": {
+ "description": "Web pages containing the matching images from the Internet.",
+ "items": {
+ "$ref": "WebPage"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Position": {
+ "description": "A 3D position in the image, used primarily for Face detection landmarks.\nA valid Position must have both x and y coordinates.\nThe position coordinates are in the same scale as the original image.",
+ "id": "Position",
+ "properties": {
+ "y": {
+ "description": "Y coordinate.",
"format": "float",
"type": "number"
},
- "pixelFraction": {
- "description": "The fraction of pixels the color occupies in the image.\nValue in range [0, 1].",
+ "x": {
+ "description": "X coordinate.",
"format": "float",
"type": "number"
},
- "color": {
- "$ref": "Color",
- "description": "RGB components of the color."
+ "z": {
+ "description": "Z coordinate (or depth).",
+ "format": "float",
+ "type": "number"
}
},
"type": "object"
@@ -164,12 +324,33 @@
"description": "Metadata for web pages.",
"id": "WebPage",
"properties": {
+ "score": {
+ "description": "Overall relevancy score for the web page.\nNot normalized and not comparable across different image queries.",
+ "format": "float",
+ "type": "number"
+ },
"url": {
"description": "The result web page URL.",
"type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ColorInfo": {
+ "description": "Color information consists of RGB channels, score, and the fraction of\nthe image that the color occupies in the image.",
+ "id": "ColorInfo",
+ "properties": {
+ "pixelFraction": {
+ "description": "The fraction of pixels the color occupies in the image.\nValue in range [0, 1].",
+ "format": "float",
+ "type": "number"
+ },
+ "color": {
+ "$ref": "Color",
+ "description": "RGB components of the color."
},
"score": {
- "description": "Overall relevancy score for the web page.\nNot normalized and not comparable across different image queries.",
+ "description": "Image-specific score for this color. Value in range [0, 1].",
"format": "float",
"type": "number"
}
@@ -180,6 +361,35 @@
"description": "Set of detected entity features.",
"id": "EntityAnnotation",
"properties": {
+ "confidence": {
+ "description": "The accuracy of the entity detection in an image.\nFor example, for an image in which the \"Eiffel Tower\" entity is detected,\nthis field represents the confidence that there is a tower in the query\nimage. Range [0, 1].",
+ "format": "float",
+ "type": "number"
+ },
+ "locale": {
+ "description": "The language code for the locale in which the entity textual\n`description` is expressed.",
+ "type": "string"
+ },
+ "boundingPoly": {
+ "$ref": "BoundingPoly",
+ "description": "Image region to which this entity belongs. Currently not produced\nfor `LABEL_DETECTION` features. For `TEXT_DETECTION` (OCR), `boundingPoly`s\nare produced for the entire text detected in an image region, followed by\n`boundingPoly`s for each word within the detected text."
+ },
+ "description": {
+ "description": "Entity textual description, expressed in its `locale` language.",
+ "type": "string"
+ },
+ "topicality": {
+ "description": "The relevancy of the ICA (Image Content Annotation) label to the\nimage. For example, the relevancy of \"tower\" is likely higher to an image\ncontaining the detected \"Eiffel Tower\" than to an image containing a\ndetected distant towering building, even though the confidence that\nthere is a tower in each image may be the same. Range [0, 1].",
+ "format": "float",
+ "type": "number"
+ },
+ "properties": {
+ "description": "Some entities may have optional user-supplied `Property` (name/value)\nfields, such a score or string that qualifies the entity.",
+ "items": {
+ "$ref": "Property"
+ },
+ "type": "array"
+ },
"score": {
"description": "Overall score of the result. Range [0, 1].",
"format": "float",
@@ -195,35 +405,6 @@
"mid": {
"description": "Opaque entity ID. Some IDs may be available in\n[Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).",
"type": "string"
- },
- "confidence": {
- "description": "The accuracy of the entity detection in an image.\nFor example, for an image in which the \"Eiffel Tower\" entity is detected,\nthis field represents the confidence that there is a tower in the query\nimage. Range [0, 1].",
- "format": "float",
- "type": "number"
- },
- "locale": {
- "description": "The language code for the locale in which the entity textual\n`description` is expressed.",
- "type": "string"
- },
- "boundingPoly": {
- "$ref": "BoundingPoly",
- "description": "Image region to which this entity belongs. Currently not produced\nfor `LABEL_DETECTION` features. For `TEXT_DETECTION` (OCR), `boundingPoly`s\nare produced for the entire text detected in an image region, followed by\n`boundingPoly`s for each word within the detected text."
- },
- "topicality": {
- "description": "The relevancy of the ICA (Image Content Annotation) label to the\nimage. For example, the relevancy of \"tower\" is likely higher to an image\ncontaining the detected \"Eiffel Tower\" than to an image containing a\ndetected distant towering building, even though the confidence that\nthere is a tower in each image may be the same. Range [0, 1].",
- "format": "float",
- "type": "number"
- },
- "description": {
- "description": "Entity textual description, expressed in its `locale` language.",
- "type": "string"
- },
- "properties": {
- "description": "Some entities may have optional user-supplied `Property` (name/value)\nfields, such a score or string that qualifies the entity.",
- "items": {
- "$ref": "Property"
- },
- "type": "array"
}
},
"type": "object"
@@ -232,10 +413,6 @@
"description": "Single crop hint that is used to generate a new crop when serving an image.",
"id": "CropHint",
"properties": {
- "boundingPoly": {
- "$ref": "BoundingPoly",
- "description": "The bounding polygon for the crop region. The coordinates of the bounding\nbox are in the original image's scale, as returned in `ImageParams`."
- },
"confidence": {
"description": "Confidence of this being a salient region. Range [0, 1].",
"format": "float",
@@ -245,6 +422,10 @@
"description": "Fraction of importance of this salient region with respect to the original\nimage.",
"format": "float",
"type": "number"
+ },
+ "boundingPoly": {
+ "$ref": "BoundingPoly",
+ "description": "The bounding polygon for the crop region. The coordinates of the bounding\nbox are in the original image's scale, as returned in `ImageParams`."
}
},
"type": "object"
@@ -376,6 +557,28 @@
},
"type": "object"
},
+ "Paragraph": {
+ "description": "Structural unit of text representing a number of words in certain order.",
+ "id": "Paragraph",
+ "properties": {
+ "boundingBox": {
+ "$ref": "BoundingPoly",
+ "description": "The bounding box for the paragraph.\nThe vertices are in the order of top-left, top-right, bottom-right,\nbottom-left. When a rotation of the bounding box is detected the rotation\nis represented as around the top-left corner as defined when the text is\nread in the 'natural' orientation.\nFor example:\n * when the text is horizontal it might look like:\n 0----1\n | |\n 3----2\n * when it's rotated 180 degrees around the top-left corner it becomes:\n 2----3\n | |\n 1----0\n and the vertice order will still be (0, 1, 2, 3)."
+ },
+ "words": {
+ "description": "List of words in this paragraph.",
+ "items": {
+ "$ref": "Word"
+ },
+ "type": "array"
+ },
+ "property": {
+ "$ref": "TextProperty",
+ "description": "Additional information detected for the paragraph."
+ }
+ },
+ "type": "object"
+ },
"Image": {
"description": "Client image to perform Google Cloud Vision API tasks over.",
"id": "Image",
@@ -392,32 +595,121 @@
},
"type": "object"
},
- "Paragraph": {
- "description": "Structural unit of text representing a number of words in certain order.",
- "id": "Paragraph",
- "properties": {
- "property": {
- "$ref": "TextProperty",
- "description": "Additional information detected for the paragraph."
- },
- "boundingBox": {
- "$ref": "BoundingPoly",
- "description": "The bounding box for the paragraph.\nThe vertices are in the order of top-left, top-right, bottom-right,\nbottom-left. When a rotation of the bounding box is detected the rotation\nis represented as around the top-left corner as defined when the text is\nread in the 'natural' orientation.\nFor example:\n * when the text is horizontal it might look like:\n 0----1\n | |\n 3----2\n * when it's rotated 180 degrees around the top-left corner it becomes:\n 2----3\n | |\n 1----0\n and the vertice order will still be (0, 1, 2, 3)."
- },
- "words": {
- "description": "List of words in this paragraph.",
- "items": {
- "$ref": "Word"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"FaceAnnotation": {
"description": "A face annotation object contains the results of face detection.",
"id": "FaceAnnotation",
"properties": {
+ "sorrowLikelihood": {
+ "description": "Sorrow likelihood.",
+ "enum": [
+ "UNKNOWN",
+ "VERY_UNLIKELY",
+ "UNLIKELY",
+ "POSSIBLE",
+ "LIKELY",
+ "VERY_LIKELY"
+ ],
+ "enumDescriptions": [
+ "Unknown likelihood.",
+ "It is very unlikely that the image belongs to the specified vertical.",
+ "It is unlikely that the image belongs to the specified vertical.",
+ "It is possible that the image belongs to the specified vertical.",
+ "It is likely that the image belongs to the specified vertical.",
+ "It is very likely that the image belongs to the specified vertical."
+ ],
+ "type": "string"
+ },
+ "tiltAngle": {
+ "description": "Pitch angle, which indicates the upwards/downwards angle that the face is\npointing relative to the image's horizontal plane. Range [-180,180].",
+ "format": "float",
+ "type": "number"
+ },
+ "fdBoundingPoly": {
+ "$ref": "BoundingPoly",
+ "description": "The `fd_bounding_poly` bounding polygon is tighter than the\n`boundingPoly`, and encloses only the skin part of the face. Typically, it\nis used to eliminate the face from any image analysis that detects the\n\"amount of skin\" visible in an image. It is not based on the\nlandmarker results, only on the initial face detection, hence\nthe <code>fd</code> (face detection) prefix."
+ },
+ "angerLikelihood": {
+ "description": "Anger likelihood.",
+ "enum": [
+ "UNKNOWN",
+ "VERY_UNLIKELY",
+ "UNLIKELY",
+ "POSSIBLE",
+ "LIKELY",
+ "VERY_LIKELY"
+ ],
+ "enumDescriptions": [
+ "Unknown likelihood.",
+ "It is very unlikely that the image belongs to the specified vertical.",
+ "It is unlikely that the image belongs to the specified vertical.",
+ "It is possible that the image belongs to the specified vertical.",
+ "It is likely that the image belongs to the specified vertical.",
+ "It is very likely that the image belongs to the specified vertical."
+ ],
+ "type": "string"
+ },
+ "landmarks": {
+ "description": "Detected face landmarks.",
+ "items": {
+ "$ref": "Landmark"
+ },
+ "type": "array"
+ },
+ "surpriseLikelihood": {
+ "description": "Surprise likelihood.",
+ "enum": [
+ "UNKNOWN",
+ "VERY_UNLIKELY",
+ "UNLIKELY",
+ "POSSIBLE",
+ "LIKELY",
+ "VERY_LIKELY"
+ ],
+ "enumDescriptions": [
+ "Unknown likelihood.",
+ "It is very unlikely that the image belongs to the specified vertical.",
+ "It is unlikely that the image belongs to the specified vertical.",
+ "It is possible that the image belongs to the specified vertical.",
+ "It is likely that the image belongs to the specified vertical.",
+ "It is very likely that the image belongs to the specified vertical."
+ ],
+ "type": "string"
+ },
+ "landmarkingConfidence": {
+ "description": "Face landmarking confidence. Range [0, 1].",
+ "format": "float",
+ "type": "number"
+ },
+ "joyLikelihood": {
+ "description": "Joy likelihood.",
+ "enum": [
+ "UNKNOWN",
+ "VERY_UNLIKELY",
+ "UNLIKELY",
+ "POSSIBLE",
+ "LIKELY",
+ "VERY_LIKELY"
+ ],
+ "enumDescriptions": [
+ "Unknown likelihood.",
+ "It is very unlikely that the image belongs to the specified vertical.",
+ "It is unlikely that the image belongs to the specified vertical.",
+ "It is possible that the image belongs to the specified vertical.",
+ "It is likely that the image belongs to the specified vertical.",
+ "It is very likely that the image belongs to the specified vertical."
+ ],
+ "type": "string"
+ },
+ "detectionConfidence": {
+ "description": "Detection confidence. Range [0, 1].",
+ "format": "float",
+ "type": "number"
+ },
+ "panAngle": {
+ "description": "Yaw angle, which indicates the leftward/rightward angle that the face is\npointing relative to the vertical plane perpendicular to the image. Range\n[-180,180].",
+ "format": "float",
+ "type": "number"
+ },
"underExposedLikelihood": {
"description": "Under-exposed likelihood.",
"enum": [
@@ -438,16 +730,6 @@
],
"type": "string"
},
- "panAngle": {
- "description": "Yaw angle, which indicates the leftward/rightward angle that the face is\npointing relative to the vertical plane perpendicular to the image. Range\n[-180,180].",
- "format": "float",
- "type": "number"
- },
- "detectionConfidence": {
- "description": "Detection confidence. Range [0, 1].",
- "format": "float",
- "type": "number"
- },
"blurredLikelihood": {
"description": "Blurred likelihood.",
"enum": [
@@ -496,107 +778,6 @@
"description": "Roll angle, which indicates the amount of clockwise/anti-clockwise rotation\nof the face relative to the image vertical about the axis perpendicular to\nthe face. Range [-180,180].",
"format": "float",
"type": "number"
- },
- "sorrowLikelihood": {
- "description": "Sorrow likelihood.",
- "enum": [
- "UNKNOWN",
- "VERY_UNLIKELY",
- "UNLIKELY",
- "POSSIBLE",
- "LIKELY",
- "VERY_LIKELY"
- ],
- "enumDescriptions": [
- "Unknown likelihood.",
- "It is very unlikely that the image belongs to the specified vertical.",
- "It is unlikely that the image belongs to the specified vertical.",
- "It is possible that the image belongs to the specified vertical.",
- "It is likely that the image belongs to the specified vertical.",
- "It is very likely that the image belongs to the specified vertical."
- ],
- "type": "string"
- },
- "tiltAngle": {
- "description": "Pitch angle, which indicates the upwards/downwards angle that the face is\npointing relative to the image's horizontal plane. Range [-180,180].",
- "format": "float",
- "type": "number"
- },
- "fdBoundingPoly": {
- "$ref": "BoundingPoly",
- "description": "The `fd_bounding_poly` bounding polygon is tighter than the\n`boundingPoly`, and encloses only the skin part of the face. Typically, it\nis used to eliminate the face from any image analysis that detects the\n\"amount of skin\" visible in an image. It is not based on the\nlandmarker results, only on the initial face detection, hence\nthe <code>fd</code> (face detection) prefix."
- },
- "surpriseLikelihood": {
- "description": "Surprise likelihood.",
- "enum": [
- "UNKNOWN",
- "VERY_UNLIKELY",
- "UNLIKELY",
- "POSSIBLE",
- "LIKELY",
- "VERY_LIKELY"
- ],
- "enumDescriptions": [
- "Unknown likelihood.",
- "It is very unlikely that the image belongs to the specified vertical.",
- "It is unlikely that the image belongs to the specified vertical.",
- "It is possible that the image belongs to the specified vertical.",
- "It is likely that the image belongs to the specified vertical.",
- "It is very likely that the image belongs to the specified vertical."
- ],
- "type": "string"
- },
- "angerLikelihood": {
- "description": "Anger likelihood.",
- "enum": [
- "UNKNOWN",
- "VERY_UNLIKELY",
- "UNLIKELY",
- "POSSIBLE",
- "LIKELY",
- "VERY_LIKELY"
- ],
- "enumDescriptions": [
- "Unknown likelihood.",
- "It is very unlikely that the image belongs to the specified vertical.",
- "It is unlikely that the image belongs to the specified vertical.",
- "It is possible that the image belongs to the specified vertical.",
- "It is likely that the image belongs to the specified vertical.",
- "It is very likely that the image belongs to the specified vertical."
- ],
- "type": "string"
- },
- "landmarks": {
- "description": "Detected face landmarks.",
- "items": {
- "$ref": "Landmark"
- },
- "type": "array"
- },
- "landmarkingConfidence": {
- "description": "Face landmarking confidence. Range [0, 1].",
- "format": "float",
- "type": "number"
- },
- "joyLikelihood": {
- "description": "Joy likelihood.",
- "enum": [
- "UNKNOWN",
- "VERY_UNLIKELY",
- "UNLIKELY",
- "POSSIBLE",
- "LIKELY",
- "VERY_LIKELY"
- ],
- "enumDescriptions": [
- "Unknown likelihood.",
- "It is very unlikely that the image belongs to the specified vertical.",
- "It is unlikely that the image belongs to the specified vertical.",
- "It is possible that the image belongs to the specified vertical.",
- "It is likely that the image belongs to the specified vertical.",
- "It is very likely that the image belongs to the specified vertical."
- ],
- "type": "string"
}
},
"type": "object"
@@ -650,6 +831,10 @@
"description": "Image context and/or feature-specific parameters.",
"id": "ImageContext",
"properties": {
+ "latLongRect": {
+ "$ref": "LatLongRect",
+ "description": "lat/long rectangle that specifies the location of the image."
+ },
"cropHintsParams": {
"$ref": "CropHintsParams",
"description": "Parameters for crop hints annotation request."
@@ -660,10 +845,6 @@
"type": "string"
},
"type": "array"
- },
- "latLongRect": {
- "$ref": "LatLongRect",
- "description": "lat/long rectangle that specifies the location of the image."
}
},
"type": "object"
@@ -672,15 +853,6 @@
"description": "Detected page from OCR.",
"id": "Page",
"properties": {
- "property": {
- "$ref": "TextProperty",
- "description": "Additional information detected on the page."
- },
- "height": {
- "description": "Page height in pixels.",
- "format": "int32",
- "type": "integer"
- },
"width": {
"description": "Page width in pixels.",
"format": "int32",
@@ -692,6 +864,15 @@
"$ref": "Block"
},
"type": "array"
+ },
+ "property": {
+ "$ref": "TextProperty",
+ "description": "Additional information detected on the page."
+ },
+ "height": {
+ "description": "Page height in pixels.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -722,15 +903,6 @@
"description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
"id": "Status",
"properties": {
- "code": {
- "description": "The status code, which should be an enum value of google.rpc.Code.",
- "format": "int32",
- "type": "integer"
- },
- "message": {
- "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
- "type": "string"
- },
"details": {
"description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.",
"items": {
@@ -741,6 +913,15 @@
"type": "object"
},
"type": "array"
+ },
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "type": "string"
}
},
"type": "object"
@@ -749,13 +930,13 @@
"description": "Rectangle determined by min and max `LatLng` pairs.",
"id": "LatLongRect",
"properties": {
- "minLatLng": {
- "$ref": "LatLng",
- "description": "Min lat/long pair."
- },
"maxLatLng": {
"$ref": "LatLng",
"description": "Max lat/long pair."
+ },
+ "minLatLng": {
+ "$ref": "LatLng",
+ "description": "Min lat/long pair."
}
},
"type": "object"
@@ -764,10 +945,6 @@
"description": "A single symbol representation.",
"id": "Symbol",
"properties": {
- "text": {
- "description": "The actual UTF-8 representation of the symbol.",
- "type": "string"
- },
"property": {
"$ref": "TextProperty",
"description": "Additional information detected for the symbol."
@@ -775,6 +952,10 @@
"boundingBox": {
"$ref": "BoundingPoly",
"description": "The bounding box for the symbol.\nThe vertices are in the order of top-left, top-right, bottom-right,\nbottom-left. When a rotation of the bounding box is detected the rotation\nis represented as around the top-left corner as defined when the text is\nread in the 'natural' orientation.\nFor example:\n * when the text is horizontal it might look like:\n 0----1\n | |\n 3----2\n * when it's rotated 180 degrees around the top-left corner it becomes:\n 2----3\n | |\n 1----0\n and the vertice order will still be (0, 1, 2, 3)."
+ },
+ "text": {
+ "description": "The actual UTF-8 representation of the symbol.",
+ "type": "string"
}
},
"type": "object"
@@ -837,17 +1018,6 @@
},
"type": "object"
},
- "ImageProperties": {
- "description": "Stores image properties, such as dominant colors.",
- "id": "ImageProperties",
- "properties": {
- "dominantColors": {
- "$ref": "DominantColorsAnnotation",
- "description": "If present, dominant colors completed successfully."
- }
- },
- "type": "object"
- },
"Feature": {
"description": "Users describe the type of Google Cloud Vision API tasks to perform over\nimages by using *Feature*s. Each Feature indicates a type of image\ndetection task to perform. Features encode the Cloud Vision API\nvertical to operate on and the number of top-scoring results to return.",
"id": "Feature",
@@ -890,50 +1060,21 @@
},
"type": "object"
},
+ "ImageProperties": {
+ "description": "Stores image properties, such as dominant colors.",
+ "id": "ImageProperties",
+ "properties": {
+ "dominantColors": {
+ "$ref": "DominantColorsAnnotation",
+ "description": "If present, dominant colors completed successfully."
+ }
+ },
+ "type": "object"
+ },
"SafeSearchAnnotation": {
"description": "Set of features pertaining to the image, computed by computer vision\nmethods over safe-search verticals (for example, adult, spoof, medical,\nviolence).",
"id": "SafeSearchAnnotation",
"properties": {
- "violence": {
- "description": "Violence likelihood.",
- "enum": [
- "UNKNOWN",
- "VERY_UNLIKELY",
- "UNLIKELY",
- "POSSIBLE",
- "LIKELY",
- "VERY_LIKELY"
- ],
- "enumDescriptions": [
- "Unknown likelihood.",
- "It is very unlikely that the image belongs to the specified vertical.",
- "It is unlikely that the image belongs to the specified vertical.",
- "It is possible that the image belongs to the specified vertical.",
- "It is likely that the image belongs to the specified vertical.",
- "It is very likely that the image belongs to the specified vertical."
- ],
- "type": "string"
- },
- "adult": {
- "description": "Represents the adult content likelihood for the image.",
- "enum": [
- "UNKNOWN",
- "VERY_UNLIKELY",
- "UNLIKELY",
- "POSSIBLE",
- "LIKELY",
- "VERY_LIKELY"
- ],
- "enumDescriptions": [
- "Unknown likelihood.",
- "It is very unlikely that the image belongs to the specified vertical.",
- "It is unlikely that the image belongs to the specified vertical.",
- "It is possible that the image belongs to the specified vertical.",
- "It is likely that the image belongs to the specified vertical.",
- "It is very likely that the image belongs to the specified vertical."
- ],
- "type": "string"
- },
"spoof": {
"description": "Spoof likelihood. The likelihood that an modification\nwas made to the image's canonical version to make it appear\nfunny or offensive.",
"enum": [
@@ -973,6 +1114,46 @@
"It is very likely that the image belongs to the specified vertical."
],
"type": "string"
+ },
+ "violence": {
+ "description": "Violence likelihood.",
+ "enum": [
+ "UNKNOWN",
+ "VERY_UNLIKELY",
+ "UNLIKELY",
+ "POSSIBLE",
+ "LIKELY",
+ "VERY_LIKELY"
+ ],
+ "enumDescriptions": [
+ "Unknown likelihood.",
+ "It is very unlikely that the image belongs to the specified vertical.",
+ "It is unlikely that the image belongs to the specified vertical.",
+ "It is possible that the image belongs to the specified vertical.",
+ "It is likely that the image belongs to the specified vertical.",
+ "It is very likely that the image belongs to the specified vertical."
+ ],
+ "type": "string"
+ },
+ "adult": {
+ "description": "Represents the adult content likelihood for the image.",
+ "enum": [
+ "UNKNOWN",
+ "VERY_UNLIKELY",
+ "UNLIKELY",
+ "POSSIBLE",
+ "LIKELY",
+ "VERY_LIKELY"
+ ],
+ "enumDescriptions": [
+ "Unknown likelihood.",
+ "It is very unlikely that the image belongs to the specified vertical.",
+ "It is unlikely that the image belongs to the specified vertical.",
+ "It is possible that the image belongs to the specified vertical.",
+ "It is likely that the image belongs to the specified vertical.",
+ "It is very likely that the image belongs to the specified vertical."
+ ],
+ "type": "string"
}
},
"type": "object"
@@ -995,16 +1176,16 @@
"description": "TextAnnotation contains a structured representation of OCR extracted text.\nThe hierarchy of an OCR extracted text structure is like this:\n TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol\nEach structural component, starting from Page, may further have their own\nproperties. Properties describe detected languages, breaks etc.. Please\nrefer to the google.cloud.vision.v1.TextAnnotation.TextProperty message\ndefinition below for more detail.",
"id": "TextAnnotation",
"properties": {
- "text": {
- "description": "UTF-8 text detected on the pages.",
- "type": "string"
- },
"pages": {
"description": "List of pages detected by OCR.",
"items": {
"$ref": "Page"
},
"type": "array"
+ },
+ "text": {
+ "description": "UTF-8 text detected on the pages.",
+ "type": "string"
}
},
"type": "object"
@@ -1029,13 +1210,13 @@
"description": "A vertex represents a 2D point in the image.\nNOTE: the vertex coordinates are in the same scale as the original image.",
"id": "Vertex",
"properties": {
- "x": {
- "description": "X coordinate.",
+ "y": {
+ "description": "Y coordinate.",
"format": "int32",
"type": "integer"
},
- "y": {
- "description": "Y coordinate.",
+ "x": {
+ "description": "X coordinate.",
"format": "int32",
"type": "integer"
}
@@ -1062,20 +1243,6 @@
},
"type": "object"
},
- "BoundingPoly": {
- "description": "A bounding polygon for the detected image annotation.",
- "id": "BoundingPoly",
- "properties": {
- "vertices": {
- "description": "The bounding polygon vertices.",
- "items": {
- "$ref": "Vertex"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"TextProperty": {
"description": "Additional information detected on the structural component.",
"id": "TextProperty",
@@ -1094,36 +1261,24 @@
},
"type": "object"
},
+ "BoundingPoly": {
+ "description": "A bounding polygon for the detected image annotation.",
+ "id": "BoundingPoly",
+ "properties": {
+ "vertices": {
+ "description": "The bounding polygon vertices.",
+ "items": {
+ "$ref": "Vertex"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"AnnotateImageResponse": {
"description": "Response to an image annotation request.",
"id": "AnnotateImageResponse",
"properties": {
- "logoAnnotations": {
- "description": "If present, logo detection has completed successfully.",
- "items": {
- "$ref": "EntityAnnotation"
- },
- "type": "array"
- },
- "cropHintsAnnotation": {
- "$ref": "CropHintsAnnotation",
- "description": "If present, crop hints have completed successfully."
- },
- "webDetection": {
- "$ref": "WebDetection",
- "description": "If present, web detection has completed successfully."
- },
- "labelAnnotations": {
- "description": "If present, label detection has completed successfully.",
- "items": {
- "$ref": "EntityAnnotation"
- },
- "type": "array"
- },
- "safeSearchAnnotation": {
- "$ref": "SafeSearchAnnotation",
- "description": "If present, safe-search annotation has completed successfully."
- },
"error": {
"$ref": "Status",
"description": "If set, represents the error message for the operation.\nNote that filled-in image annotations are guaranteed to be\ncorrect, even when `error` is set."
@@ -1146,193 +1301,45 @@
},
"type": "array"
},
- "imagePropertiesAnnotation": {
- "$ref": "ImageProperties",
- "description": "If present, image properties were extracted successfully."
- },
"faceAnnotations": {
"description": "If present, face detection has completed successfully.",
"items": {
"$ref": "FaceAnnotation"
},
"type": "array"
- }
- },
- "type": "object"
- },
- "CropHintsParams": {
- "description": "Parameters for crop hints annotation request.",
- "id": "CropHintsParams",
- "properties": {
- "aspectRatios": {
- "description": "Aspect ratios in floats, representing the ratio of the width to the height\nof the image. For example, if the desired aspect ratio is 4/3, the\ncorresponding float value should be 1.33333. If not specified, the\nbest possible crop is returned. The number of provided aspect ratios is\nlimited to a maximum of 16; any aspect ratios provided after the 16th are\nignored.",
+ },
+ "imagePropertiesAnnotation": {
+ "$ref": "ImageProperties",
+ "description": "If present, image properties were extracted successfully."
+ },
+ "logoAnnotations": {
+ "description": "If present, logo detection has completed successfully.",
"items": {
- "format": "float",
- "type": "number"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Block": {
- "description": "Logical element on the page.",
- "id": "Block",
- "properties": {
- "paragraphs": {
- "description": "List of paragraphs in this block (if this blocks is of type text).",
- "items": {
- "$ref": "Paragraph"
+ "$ref": "EntityAnnotation"
},
"type": "array"
},
- "property": {
- "$ref": "TextProperty",
- "description": "Additional information detected for the block."
+ "webDetection": {
+ "$ref": "WebDetection",
+ "description": "If present, web detection has completed successfully."
},
- "blockType": {
- "description": "Detected block type (text, image etc) for this block.",
- "enum": [
- "UNKNOWN",
- "TEXT",
- "TABLE",
- "PICTURE",
- "RULER",
- "BARCODE"
- ],
- "enumDescriptions": [
- "Unknown block type.",
- "Regular text block.",
- "Table block.",
- "Image block.",
- "Horizontal/vertical line box.",
- "Barcode block."
- ],
- "type": "string"
+ "cropHintsAnnotation": {
+ "$ref": "CropHintsAnnotation",
+ "description": "If present, crop hints have completed successfully."
},
- "boundingBox": {
- "$ref": "BoundingPoly",
- "description": "The bounding box for the block.\nThe vertices are in the order of top-left, top-right, bottom-right,\nbottom-left. When a rotation of the bounding box is detected the rotation\nis represented as around the top-left corner as defined when the text is\nread in the 'natural' orientation.\nFor example:\n * when the text is horizontal it might look like:\n 0----1\n | |\n 3----2\n * when it's rotated 180 degrees around the top-left corner it becomes:\n 2----3\n | |\n 1----0\n and the vertice order will still be (0, 1, 2, 3)."
- }
- },
- "type": "object"
- },
- "BatchAnnotateImagesResponse": {
- "description": "Response to a batch image annotation request.",
- "id": "BatchAnnotateImagesResponse",
- "properties": {
- "responses": {
- "description": "Individual responses to image annotation requests within the batch.",
+ "safeSearchAnnotation": {
+ "$ref": "SafeSearchAnnotation",
+ "description": "If present, safe-search annotation has completed successfully."
+ },
+ "labelAnnotations": {
+ "description": "If present, label detection has completed successfully.",
"items": {
- "$ref": "AnnotateImageResponse"
+ "$ref": "EntityAnnotation"
},
"type": "array"
}
},
"type": "object"
- },
- "WebDetection": {
- "description": "Relevant information for the image from the Internet.",
- "id": "WebDetection",
- "properties": {
- "webEntities": {
- "description": "Deduced entities from similar images on the Internet.",
- "items": {
- "$ref": "WebEntity"
- },
- "type": "array"
- },
- "pagesWithMatchingImages": {
- "description": "Web pages containing the matching images from the Internet.",
- "items": {
- "$ref": "WebPage"
- },
- "type": "array"
- },
- "partialMatchingImages": {
- "description": "Partial matching images from the Internet.\nThose images are similar enough to share some key-point features. For\nexample an original image will likely have partial matching for its crops.",
- "items": {
- "$ref": "WebImage"
- },
- "type": "array"
- },
- "fullMatchingImages": {
- "description": "Fully matching images from the Internet.\nThey're definite neardups and most often a copy of the query image with\nmerely a size change.",
- "items": {
- "$ref": "WebImage"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "ImageSource": {
- "description": "External image source (Google Cloud Storage image location).",
- "id": "ImageSource",
- "properties": {
- "gcsImageUri": {
- "description": "NOTE: For new code `image_uri` below is preferred.\nGoogle Cloud Storage image URI, which must be in the following form:\n`gs://bucket_name/object_name` (for details, see\n[Google Cloud Storage Request\nURIs](https://cloud.google.com/storage/docs/reference-uris)).\nNOTE: Cloud Storage object versioning is not supported.",
- "type": "string"
- },
- "imageUri": {
- "description": "Image URI which supports:\n1) Google Cloud Storage image URI, which must be in the following form:\n`gs://bucket_name/object_name` (for details, see\n[Google Cloud Storage Request\nURIs](https://cloud.google.com/storage/docs/reference-uris)).\nNOTE: Cloud Storage object versioning is not supported.\n2) Publicly accessible image HTTP/HTTPS URL.\nThis is preferred over the legacy `gcs_image_uri` above. When both\n`gcs_image_uri` and `image_uri` are specified, `image_uri` takes\nprecedence.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Property": {
- "description": "A `Property` consists of a user-supplied name/value pair.",
- "id": "Property",
- "properties": {
- "uint64Value": {
- "description": "Value of numeric properties.",
- "format": "uint64",
- "type": "string"
- },
- "name": {
- "description": "Name of the property.",
- "type": "string"
- },
- "value": {
- "description": "Value of the property.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "LocationInfo": {
- "description": "Detected entity location information.",
- "id": "LocationInfo",
- "properties": {
- "latLng": {
- "$ref": "LatLng",
- "description": "lat/long location coordinates."
- }
- },
- "type": "object"
- },
- "Position": {
- "description": "A 3D position in the image, used primarily for Face detection landmarks.\nA valid Position must have both x and y coordinates.\nThe position coordinates are in the same scale as the original image.",
- "id": "Position",
- "properties": {
- "y": {
- "description": "Y coordinate.",
- "format": "float",
- "type": "number"
- },
- "x": {
- "description": "X coordinate.",
- "format": "float",
- "type": "number"
- },
- "z": {
- "description": "Z coordinate (or depth).",
- "format": "float",
- "type": "number"
- }
- },
- "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis/webmasters__v3.json b/discovery/googleapis/webmasters__v3.json
index 846500f..8833593 100644
--- a/discovery/googleapis/webmasters__v3.json
+++ b/discovery/googleapis/webmasters__v3.json
@@ -17,7 +17,7 @@
"description": "View Google Search Console data for your verified sites.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/webmaster-tools/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/G_W0aSealb46qrcEV-upOrgKchs\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Hwby1qPmcIP7o-1xY5PHjo7EbLk\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/webmaster_tools-16.png",
"x32": "https://www.google.com/images/icons/product/webmaster_tools-32.png"
@@ -605,7 +605,7 @@
}
}
},
- "revision": "20170117",
+ "revision": "20170322",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"ApiDataRow": {
diff --git a/discovery/googleapis/youtubeAnalytics__v1.json b/discovery/googleapis/youtubeAnalytics__v1.json
index b51a9ab..c61683d 100644
--- a/discovery/googleapis/youtubeAnalytics__v1.json
+++ b/discovery/googleapis/youtubeAnalytics__v1.json
@@ -27,7 +27,7 @@
"description": "Retrieves your YouTube Analytics data.",
"discoveryVersion": "v1",
"documentationLink": "http://developers.google.com/youtube/analytics/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/zgGCbjTM0zquwK_IwtVFqU2lIgI\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Zlrckh7rsr17a377awD_1IFLezY\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/youtube-16.png",
"x32": "https://www.google.com/images/icons/product/youtube-32.png"
@@ -381,7 +381,7 @@
}
}
},
- "revision": "20170301",
+ "revision": "20170322",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Group": {
diff --git a/discovery/googleapis/youtubereporting__v1.json b/discovery/googleapis/youtubereporting__v1.json
index 1739cea..f473bec 100644
--- a/discovery/googleapis/youtubereporting__v1.json
+++ b/discovery/googleapis/youtubereporting__v1.json
@@ -28,13 +28,13 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "access_token": {
- "description": "OAuth access token.",
+ "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"
},
- "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.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
},
@@ -70,13 +70,13 @@
"location": "query",
"type": "boolean"
},
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
@@ -117,32 +117,38 @@
},
"protocol": "rest",
"resources": {
- "jobs": {
+ "media": {
"methods": {
- "create": {
- "description": "Creates a job and returns it.",
- "httpMethod": "POST",
- "id": "youtubereporting.jobs.create",
- "parameterOrder": [],
+ "download": {
+ "description": "Method for media download. Download is supported\non the URI `/v1/media/{+name}?alt=media`.",
+ "httpMethod": "GET",
+ "id": "youtubereporting.media.download",
+ "parameterOrder": [
+ "resourceName"
+ ],
"parameters": {
- "onBehalfOfContentOwner": {
- "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
- "location": "query",
+ "resourceName": {
+ "description": "Name of the media that is being downloaded. See\nReadRequest.resource_name.",
+ "location": "path",
+ "pattern": "^.+$",
+ "required": true,
"type": "string"
}
},
- "path": "v1/jobs",
- "request": {
- "$ref": "Job"
- },
+ "path": "v1/media/{+resourceName}",
"response": {
- "$ref": "Job"
+ "$ref": "Media"
},
"scopes": [
"https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
"https://www.googleapis.com/auth/yt-analytics.readonly"
- ]
- },
+ ],
+ "supportsMediaDownload": true
+ }
+ }
+ },
+ "jobs": {
+ "methods": {
"delete": {
"description": "Deletes a job.",
"httpMethod": "DELETE",
@@ -151,16 +157,16 @@
"jobId"
],
"parameters": {
- "onBehalfOfContentOwner": {
- "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
- "location": "query",
- "type": "string"
- },
"jobId": {
"description": "The ID of the job to delete.",
"location": "path",
"required": true,
"type": "string"
+ },
+ "onBehalfOfContentOwner": {
+ "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
+ "location": "query",
+ "type": "string"
}
},
"path": "v1/jobs/{jobId}",
@@ -237,6 +243,30 @@
"https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
"https://www.googleapis.com/auth/yt-analytics.readonly"
]
+ },
+ "create": {
+ "description": "Creates a job and returns it.",
+ "httpMethod": "POST",
+ "id": "youtubereporting.jobs.create",
+ "parameterOrder": [],
+ "parameters": {
+ "onBehalfOfContentOwner": {
+ "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/jobs",
+ "request": {
+ "$ref": "Job"
+ },
+ "response": {
+ "$ref": "Job"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
+ "https://www.googleapis.com/auth/yt-analytics.readonly"
+ ]
}
},
"resources": {
@@ -309,6 +339,12 @@
"reportId"
],
"parameters": {
+ "jobId": {
+ "description": "The ID of the job.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
"onBehalfOfContentOwner": {
"description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
"location": "query",
@@ -319,12 +355,6 @@
"location": "path",
"required": true,
"type": "string"
- },
- "jobId": {
- "description": "The ID of the job.",
- "location": "path",
- "required": true,
- "type": "string"
}
},
"path": "v1/jobs/{jobId}/reports/{reportId}",
@@ -348,11 +378,6 @@
"id": "youtubereporting.reportTypes.list",
"parameterOrder": [],
"parameters": {
- "onBehalfOfContentOwner": {
- "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
- "location": "query",
- "type": "string"
- },
"pageToken": {
"description": "A token identifying a page of results the server should return. Typically,\nthis is the value of\nListReportTypesResponse.next_page_token\nreturned in response to the previous call to the `ListReportTypes` method.",
"location": "query",
@@ -368,6 +393,11 @@
"format": "int32",
"location": "query",
"type": "integer"
+ },
+ "onBehalfOfContentOwner": {
+ "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
+ "location": "query",
+ "type": "string"
}
},
"path": "v1/reportTypes",
@@ -380,139 +410,11 @@
]
}
}
- },
- "media": {
- "methods": {
- "download": {
- "description": "Method for media download. Download is supported\non the URI `/v1/media/{+name}?alt=media`.",
- "httpMethod": "GET",
- "id": "youtubereporting.media.download",
- "parameterOrder": [
- "resourceName"
- ],
- "parameters": {
- "resourceName": {
- "description": "Name of the media that is being downloaded. See\nReadRequest.resource_name.",
- "location": "path",
- "pattern": "^.+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/media/{+resourceName}",
- "response": {
- "$ref": "Media"
- },
- "scopes": [
- "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
- "https://www.googleapis.com/auth/yt-analytics.readonly"
- ],
- "supportsMediaDownload": true
- }
- }
}
},
- "revision": "20170302",
+ "revision": "20170326",
"rootUrl": "https://youtubereporting.googleapis.com/",
"schemas": {
- "Media": {
- "description": "Media resource.",
- "id": "Media",
- "properties": {
- "resourceName": {
- "description": "Name of the media resource.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ReportType": {
- "description": "A report type.",
- "id": "ReportType",
- "properties": {
- "id": {
- "description": "The ID of the report type (max. 100 characters).",
- "type": "string"
- },
- "systemManaged": {
- "description": "True if this a system-managed report type; otherwise false. Reporting jobs\nfor system-managed report types are created automatically and can thus not\nbe used in the `CreateJob` method.",
- "type": "boolean"
- },
- "deprecateTime": {
- "description": "The date/time when this report type was/will be deprecated.",
- "format": "google-datetime",
- "type": "string"
- },
- "name": {
- "description": "The name of the report type (max. 100 characters).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListReportTypesResponse": {
- "description": "Response message for ReportingService.ListReportTypes.",
- "id": "ListReportTypesResponse",
- "properties": {
- "reportTypes": {
- "description": "The list of report types.",
- "items": {
- "$ref": "ReportType"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "A token to retrieve next page of results.\nPass this value in the\nListReportTypesRequest.page_token\nfield in the subsequent call to `ListReportTypes` method to retrieve the next\npage of results.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Report": {
- "description": "A report's metadata including the URL from which the report itself can be\ndownloaded.",
- "id": "Report",
- "properties": {
- "id": {
- "description": "The server-generated ID of the report.",
- "type": "string"
- },
- "jobExpireTime": {
- "description": "The date/time when the job this report belongs to will expire/expired.",
- "format": "google-datetime",
- "type": "string"
- },
- "endTime": {
- "description": "The end of the time period that the report instance covers. The value is\nexclusive.",
- "format": "google-datetime",
- "type": "string"
- },
- "downloadUrl": {
- "description": "The URL from which the report can be downloaded (max. 1000 characters).",
- "type": "string"
- },
- "startTime": {
- "description": "The start of the time period that the report instance covers. The value is\ninclusive.",
- "format": "google-datetime",
- "type": "string"
- },
- "createTime": {
- "description": "The date/time when this report was created.",
- "format": "google-datetime",
- "type": "string"
- },
- "jobId": {
- "description": "The ID of the job that created this report.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Empty": {
- "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
- "id": "Empty",
- "properties": {},
- "type": "object"
- },
"ListJobsResponse": {
"description": "Response message for ReportingService.ListJobs.",
"id": "ListJobsResponse",
@@ -535,20 +437,6 @@
"description": "A job creating reports of a specific type.",
"id": "Job",
"properties": {
- "createTime": {
- "description": "The creation date/time of the job.",
- "format": "google-datetime",
- "type": "string"
- },
- "expireTime": {
- "description": "The date/time when this job will expire/expired. After a job expired, no\nnew reports are generated.",
- "format": "google-datetime",
- "type": "string"
- },
- "reportTypeId": {
- "description": "The type of reports this job creates. Corresponds to the ID of a\nReportType.",
- "type": "string"
- },
"name": {
"description": "The name of the job (max. 100 characters).",
"type": "string"
@@ -560,6 +448,20 @@
"systemManaged": {
"description": "True if this a system-managed job that cannot be modified by the user;\notherwise false.",
"type": "boolean"
+ },
+ "createTime": {
+ "description": "The creation date/time of the job.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "reportTypeId": {
+ "description": "The type of reports this job creates. Corresponds to the ID of a\nReportType.",
+ "type": "string"
+ },
+ "expireTime": {
+ "description": "The date/time when this job will expire/expired. After a job expired, no\nnew reports are generated.",
+ "format": "google-datetime",
+ "type": "string"
}
},
"type": "object"
@@ -581,6 +483,104 @@
}
},
"type": "object"
+ },
+ "Media": {
+ "description": "Media resource.",
+ "id": "Media",
+ "properties": {
+ "resourceName": {
+ "description": "Name of the media resource.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
+ "ListReportTypesResponse": {
+ "description": "Response message for ReportingService.ListReportTypes.",
+ "id": "ListReportTypesResponse",
+ "properties": {
+ "reportTypes": {
+ "description": "The list of report types.",
+ "items": {
+ "$ref": "ReportType"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve next page of results.\nPass this value in the\nListReportTypesRequest.page_token\nfield in the subsequent call to `ListReportTypes` method to retrieve the next\npage of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ReportType": {
+ "description": "A report type.",
+ "id": "ReportType",
+ "properties": {
+ "name": {
+ "description": "The name of the report type (max. 100 characters).",
+ "type": "string"
+ },
+ "id": {
+ "description": "The ID of the report type (max. 100 characters).",
+ "type": "string"
+ },
+ "systemManaged": {
+ "description": "True if this a system-managed report type; otherwise false. Reporting jobs\nfor system-managed report types are created automatically and can thus not\nbe used in the `CreateJob` method.",
+ "type": "boolean"
+ },
+ "deprecateTime": {
+ "description": "The date/time when this report type was/will be deprecated.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Report": {
+ "description": "A report's metadata including the URL from which the report itself can be\ndownloaded.",
+ "id": "Report",
+ "properties": {
+ "id": {
+ "description": "The server-generated ID of the report.",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "The end of the time period that the report instance covers. The value is\nexclusive.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "jobExpireTime": {
+ "description": "The date/time when the job this report belongs to will expire/expired.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "downloadUrl": {
+ "description": "The URL from which the report can be downloaded (max. 1000 characters).",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "The start of the time period that the report instance covers. The value is\ninclusive.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "createTime": {
+ "description": "The date/time when this report was created.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "jobId": {
+ "description": "The ID of the job that created this report.",
+ "type": "string"
+ }
+ },
+ "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis_beta/adexchangebuyer2__v2beta1.json b/discovery/googleapis_beta/adexchangebuyer2__v2beta1.json
index 04875ee..5f2779a 100644
--- a/discovery/googleapis_beta/adexchangebuyer2__v2beta1.json
+++ b/discovery/googleapis_beta/adexchangebuyer2__v2beta1.json
@@ -25,48 +25,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "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"
- },
- "access_token": {
- "description": "OAuth access token.",
- "location": "query",
- "type": "string"
- },
- "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"
- },
- "pp": {
- "default": "true",
- "description": "Pretty-print response.",
- "location": "query",
- "type": "boolean"
- },
- "bearer_token": {
- "description": "OAuth bearer token.",
- "location": "query",
- "type": "string"
- },
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
- },
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
@@ -77,11 +35,6 @@
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
"$.xgafv": {
"description": "V1 error format.",
"enum": [
@@ -95,6 +48,11 @@
"location": "query",
"type": "string"
},
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -110,12 +68,439 @@
],
"location": "query",
"type": "string"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "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"
+ },
+ "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"
+ },
+ "pp": {
+ "default": "true",
+ "description": "Pretty-print response.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
}
},
"protocol": "rest",
"resources": {
"accounts": {
"resources": {
+ "clients": {
+ "methods": {
+ "create": {
+ "description": "Creates a new client buyer.",
+ "httpMethod": "POST",
+ "id": "adexchangebuyer2.accounts.clients.create",
+ "parameterOrder": [
+ "accountId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Unique numerical account ID for the buyer of which the client buyer\nis a customer; the sponsor buyer to create a client for. (required)",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/accounts/{accountId}/clients",
+ "request": {
+ "$ref": "Client"
+ },
+ "response": {
+ "$ref": "Client"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.buyer"
+ ]
+ },
+ "get": {
+ "description": "Gets a client buyer with a given client account ID.",
+ "httpMethod": "GET",
+ "id": "adexchangebuyer2.accounts.clients.get",
+ "parameterOrder": [
+ "accountId",
+ "clientAccountId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Numerical account ID of the client's sponsor buyer. (required)",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "clientAccountId": {
+ "description": "Numerical account ID of the client buyer to retrieve. (required)",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
+ "response": {
+ "$ref": "Client"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.buyer"
+ ]
+ },
+ "list": {
+ "description": "Lists all the clients for the current sponsor buyer.",
+ "httpMethod": "GET",
+ "id": "adexchangebuyer2.accounts.clients.list",
+ "parameterOrder": [
+ "accountId"
+ ],
+ "parameters": {
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListClientsResponse.nextPageToken\nreturned from the previous call to the\naccounts.clients.list method.",
+ "location": "query",
+ "type": "string"
+ },
+ "accountId": {
+ "description": "Unique numerical account ID of the sponsor buyer to list the clients for.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. The server may return fewer clients than requested.\nIf unspecified, the server will pick an appropriate default.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ }
+ },
+ "path": "v2beta1/accounts/{accountId}/clients",
+ "response": {
+ "$ref": "ListClientsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.buyer"
+ ]
+ },
+ "update": {
+ "description": "Updates an existing client buyer.",
+ "httpMethod": "PUT",
+ "id": "adexchangebuyer2.accounts.clients.update",
+ "parameterOrder": [
+ "accountId",
+ "clientAccountId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Unique numerical account ID for the buyer of which the client buyer\nis a customer; the sponsor buyer to update a client for. (required)",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "clientAccountId": {
+ "description": "Unique numerical account ID of the client to update. (required)",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
+ "request": {
+ "$ref": "Client"
+ },
+ "response": {
+ "$ref": "Client"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.buyer"
+ ]
+ }
+ },
+ "resources": {
+ "invitations": {
+ "methods": {
+ "get": {
+ "description": "Retrieves an existing client user invitation.",
+ "httpMethod": "GET",
+ "id": "adexchangebuyer2.accounts.clients.invitations.get",
+ "parameterOrder": [
+ "accountId",
+ "clientAccountId",
+ "invitationId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Numerical account ID of the client's sponsor buyer. (required)",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "clientAccountId": {
+ "description": "Numerical account ID of the client buyer that the user invitation\nto be retrieved is associated with. (required)",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "invitationId": {
+ "description": "Numerical identifier of the user invitation to retrieve. (required)",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}",
+ "response": {
+ "$ref": "ClientUserInvitation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.buyer"
+ ]
+ },
+ "list": {
+ "description": "Lists all the client users invitations for a client\nwith a given account ID.",
+ "httpMethod": "GET",
+ "id": "adexchangebuyer2.accounts.clients.invitations.list",
+ "parameterOrder": [
+ "accountId",
+ "clientAccountId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Numerical account ID of the client's sponsor buyer. (required)",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Server may return fewer clients than requested.\nIf unspecified, server will pick an appropriate default.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "clientAccountId": {
+ "description": "Numerical account ID of the client buyer to list invitations for.\n(required)\nYou must either specify a string representation of a\nnumerical account identifier or the `-` character\nto list all the invitations for all the clients\nof a given sponsor buyer.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListClientUserInvitationsResponse.nextPageToken\nreturned from the previous call to the\nclients.invitations.list\nmethod.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
+ "response": {
+ "$ref": "ListClientUserInvitationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.buyer"
+ ]
+ },
+ "create": {
+ "description": "Creates and sends out an email invitation to access\nan Ad Exchange client buyer account.",
+ "httpMethod": "POST",
+ "id": "adexchangebuyer2.accounts.clients.invitations.create",
+ "parameterOrder": [
+ "accountId",
+ "clientAccountId"
+ ],
+ "parameters": {
+ "clientAccountId": {
+ "description": "Numerical account ID of the client buyer that the user\nshould be associated with. (required)",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "accountId": {
+ "description": "Numerical account ID of the client's sponsor buyer. (required)",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
+ "request": {
+ "$ref": "ClientUserInvitation"
+ },
+ "response": {
+ "$ref": "ClientUserInvitation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.buyer"
+ ]
+ }
+ }
+ },
+ "users": {
+ "methods": {
+ "list": {
+ "description": "Lists all the known client users for a specified\nsponsor buyer account ID.",
+ "httpMethod": "GET",
+ "id": "adexchangebuyer2.accounts.clients.users.list",
+ "parameterOrder": [
+ "accountId",
+ "clientAccountId"
+ ],
+ "parameters": {
+ "clientAccountId": {
+ "description": "The account ID of the client buyer to list users for. (required)\nYou must specify either a string representation of a\nnumerical account identifier or the `-` character\nto list all the client users for all the clients\nof a given sponsor buyer.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListClientUsersResponse.nextPageToken\nreturned from the previous call to the\naccounts.clients.users.list method.",
+ "location": "query",
+ "type": "string"
+ },
+ "accountId": {
+ "description": "Numerical account ID of the sponsor buyer of the client to list users for.\n(required)",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. The server may return fewer clients than requested.\nIf unspecified, the server will pick an appropriate default.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ }
+ },
+ "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users",
+ "response": {
+ "$ref": "ListClientUsersResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.buyer"
+ ]
+ },
+ "get": {
+ "description": "Retrieves an existing client user.",
+ "httpMethod": "GET",
+ "id": "adexchangebuyer2.accounts.clients.users.get",
+ "parameterOrder": [
+ "accountId",
+ "clientAccountId",
+ "userId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Numerical account ID of the client's sponsor buyer. (required)",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "clientAccountId": {
+ "description": "Numerical account ID of the client buyer\nthat the user to be retrieved is associated with. (required)",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "userId": {
+ "description": "Numerical identifier of the user to retrieve. (required)",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
+ "response": {
+ "$ref": "ClientUser"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.buyer"
+ ]
+ },
+ "update": {
+ "description": "Updates an existing client user.\nOnly the user status can be changed on update.",
+ "httpMethod": "PUT",
+ "id": "adexchangebuyer2.accounts.clients.users.update",
+ "parameterOrder": [
+ "accountId",
+ "clientAccountId",
+ "userId"
+ ],
+ "parameters": {
+ "userId": {
+ "description": "Numerical identifier of the user to retrieve. (required)",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "accountId": {
+ "description": "Numerical account ID of the client's sponsor buyer. (required)",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "clientAccountId": {
+ "description": "Numerical account ID of the client buyer that the user to be retrieved\nis associated with. (required)",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
+ "request": {
+ "$ref": "ClientUser"
+ },
+ "response": {
+ "$ref": "ClientUser"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/adexchange.buyer"
+ ]
+ }
+ }
+ }
+ }
+ },
"creatives": {
"methods": {
"create": {
@@ -440,475 +825,31 @@
}
}
}
- },
- "clients": {
- "methods": {
- "get": {
- "description": "Gets a client buyer with a given client account ID.",
- "httpMethod": "GET",
- "id": "adexchangebuyer2.accounts.clients.get",
- "parameterOrder": [
- "accountId",
- "clientAccountId"
- ],
- "parameters": {
- "accountId": {
- "description": "Numerical account ID of the client's sponsor buyer. (required)",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "clientAccountId": {
- "description": "Numerical account ID of the client buyer to retrieve. (required)",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
- "response": {
- "$ref": "Client"
- },
- "scopes": [
- "https://www.googleapis.com/auth/adexchange.buyer"
- ]
- },
- "list": {
- "description": "Lists all the clients for the current sponsor buyer.",
- "httpMethod": "GET",
- "id": "adexchangebuyer2.accounts.clients.list",
- "parameterOrder": [
- "accountId"
- ],
- "parameters": {
- "pageToken": {
- "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListClientsResponse.nextPageToken\nreturned from the previous call to the\naccounts.clients.list method.",
- "location": "query",
- "type": "string"
- },
- "accountId": {
- "description": "Unique numerical account ID of the sponsor buyer to list the clients for.",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "pageSize": {
- "description": "Requested page size. The server may return fewer clients than requested.\nIf unspecified, the server will pick an appropriate default.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- }
- },
- "path": "v2beta1/accounts/{accountId}/clients",
- "response": {
- "$ref": "ListClientsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/adexchange.buyer"
- ]
- },
- "update": {
- "description": "Updates an existing client buyer.",
- "httpMethod": "PUT",
- "id": "adexchangebuyer2.accounts.clients.update",
- "parameterOrder": [
- "accountId",
- "clientAccountId"
- ],
- "parameters": {
- "accountId": {
- "description": "Unique numerical account ID for the buyer of which the client buyer\nis a customer; the sponsor buyer to update a client for. (required)",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "clientAccountId": {
- "description": "Unique numerical account ID of the client to update. (required)",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
- "request": {
- "$ref": "Client"
- },
- "response": {
- "$ref": "Client"
- },
- "scopes": [
- "https://www.googleapis.com/auth/adexchange.buyer"
- ]
- },
- "create": {
- "description": "Creates a new client buyer.",
- "httpMethod": "POST",
- "id": "adexchangebuyer2.accounts.clients.create",
- "parameterOrder": [
- "accountId"
- ],
- "parameters": {
- "accountId": {
- "description": "Unique numerical account ID for the buyer of which the client buyer\nis a customer; the sponsor buyer to create a client for. (required)",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v2beta1/accounts/{accountId}/clients",
- "request": {
- "$ref": "Client"
- },
- "response": {
- "$ref": "Client"
- },
- "scopes": [
- "https://www.googleapis.com/auth/adexchange.buyer"
- ]
- }
- },
- "resources": {
- "invitations": {
- "methods": {
- "get": {
- "description": "Retrieves an existing client user invitation.",
- "httpMethod": "GET",
- "id": "adexchangebuyer2.accounts.clients.invitations.get",
- "parameterOrder": [
- "accountId",
- "clientAccountId",
- "invitationId"
- ],
- "parameters": {
- "accountId": {
- "description": "Numerical account ID of the client's sponsor buyer. (required)",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "clientAccountId": {
- "description": "Numerical account ID of the client buyer that the user invitation\nto be retrieved is associated with. (required)",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "invitationId": {
- "description": "Numerical identifier of the user invitation to retrieve. (required)",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}",
- "response": {
- "$ref": "ClientUserInvitation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/adexchange.buyer"
- ]
- },
- "list": {
- "description": "Lists all the client users invitations for a client\nwith a given account ID.",
- "httpMethod": "GET",
- "id": "adexchangebuyer2.accounts.clients.invitations.list",
- "parameterOrder": [
- "accountId",
- "clientAccountId"
- ],
- "parameters": {
- "pageToken": {
- "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListClientUserInvitationsResponse.nextPageToken\nreturned from the previous call to the\nclients.invitations.list\nmethod.",
- "location": "query",
- "type": "string"
- },
- "accountId": {
- "description": "Numerical account ID of the client's sponsor buyer. (required)",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "pageSize": {
- "description": "Requested page size. Server may return fewer clients than requested.\nIf unspecified, server will pick an appropriate default.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "clientAccountId": {
- "description": "Numerical account ID of the client buyer to list invitations for.\n(required)\nYou must either specify a string representation of a\nnumerical account identifier or the `-` character\nto list all the invitations for all the clients\nof a given sponsor buyer.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
- "response": {
- "$ref": "ListClientUserInvitationsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/adexchange.buyer"
- ]
- },
- "create": {
- "description": "Creates and sends out an email invitation to access\nan Ad Exchange client buyer account.",
- "httpMethod": "POST",
- "id": "adexchangebuyer2.accounts.clients.invitations.create",
- "parameterOrder": [
- "accountId",
- "clientAccountId"
- ],
- "parameters": {
- "accountId": {
- "description": "Numerical account ID of the client's sponsor buyer. (required)",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "clientAccountId": {
- "description": "Numerical account ID of the client buyer that the user\nshould be associated with. (required)",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
- "request": {
- "$ref": "ClientUserInvitation"
- },
- "response": {
- "$ref": "ClientUserInvitation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/adexchange.buyer"
- ]
- }
- }
- },
- "users": {
- "methods": {
- "list": {
- "description": "Lists all the known client users for a specified\nsponsor buyer account ID.",
- "httpMethod": "GET",
- "id": "adexchangebuyer2.accounts.clients.users.list",
- "parameterOrder": [
- "accountId",
- "clientAccountId"
- ],
- "parameters": {
- "pageToken": {
- "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListClientUsersResponse.nextPageToken\nreturned from the previous call to the\naccounts.clients.users.list method.",
- "location": "query",
- "type": "string"
- },
- "accountId": {
- "description": "Numerical account ID of the sponsor buyer of the client to list users for.\n(required)",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "pageSize": {
- "description": "Requested page size. The server may return fewer clients than requested.\nIf unspecified, the server will pick an appropriate default.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "clientAccountId": {
- "description": "The account ID of the client buyer to list users for. (required)\nYou must specify either a string representation of a\nnumerical account identifier or the `-` character\nto list all the client users for all the clients\nof a given sponsor buyer.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users",
- "response": {
- "$ref": "ListClientUsersResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/adexchange.buyer"
- ]
- },
- "get": {
- "description": "Retrieves an existing client user.",
- "httpMethod": "GET",
- "id": "adexchangebuyer2.accounts.clients.users.get",
- "parameterOrder": [
- "accountId",
- "clientAccountId",
- "userId"
- ],
- "parameters": {
- "userId": {
- "description": "Numerical identifier of the user to retrieve. (required)",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "accountId": {
- "description": "Numerical account ID of the client's sponsor buyer. (required)",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "clientAccountId": {
- "description": "Numerical account ID of the client buyer\nthat the user to be retrieved is associated with. (required)",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
- "response": {
- "$ref": "ClientUser"
- },
- "scopes": [
- "https://www.googleapis.com/auth/adexchange.buyer"
- ]
- },
- "update": {
- "description": "Updates an existing client user.\nOnly the user status can be changed on update.",
- "httpMethod": "PUT",
- "id": "adexchangebuyer2.accounts.clients.users.update",
- "parameterOrder": [
- "accountId",
- "clientAccountId",
- "userId"
- ],
- "parameters": {
- "userId": {
- "description": "Numerical identifier of the user to retrieve. (required)",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "accountId": {
- "description": "Numerical account ID of the client's sponsor buyer. (required)",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "clientAccountId": {
- "description": "Numerical account ID of the client buyer that the user to be retrieved\nis associated with. (required)",
- "format": "int64",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
- "request": {
- "$ref": "ClientUser"
- },
- "response": {
- "$ref": "ClientUser"
- },
- "scopes": [
- "https://www.googleapis.com/auth/adexchange.buyer"
- ]
- }
- }
- }
- }
}
}
}
},
- "revision": "20170302",
+ "revision": "20170323",
"rootUrl": "https://adexchangebuyer.googleapis.com/",
"schemas": {
- "ListClientUsersResponse": {
- "id": "ListClientUsersResponse",
- "properties": {
- "users": {
- "description": "The returned list of client users.",
- "items": {
- "$ref": "ClientUser"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "A token to retrieve the next page of results.\nPass this value in the\nListClientUsersRequest.pageToken\nfield in the subsequent call to the\nclients.invitations.list\nmethod to retrieve the next\npage of results.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListClientUserInvitationsResponse": {
- "id": "ListClientUserInvitationsResponse",
- "properties": {
- "invitations": {
- "description": "The returned list of client users.",
- "items": {
- "$ref": "ClientUserInvitation"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "A token to retrieve the next page of results.\nPass this value in the\nListClientUserInvitationsRequest.pageToken\nfield in the subsequent call to the\nclients.invitations.list\nmethod to retrieve the next\npage of results.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "LocationContext": {
- "description": "@OutputOnly The Geo criteria the restriction applies to.",
- "id": "LocationContext",
- "properties": {
- "geoCriteriaIds": {
- "description": "IDs representing the geo location for this context.\nPlease refer to the\n[geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)\nfile for different geo criteria IDs.",
- "items": {
- "format": "int32",
- "type": "integer"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "PlatformContext": {
- "description": "@OutputOnly The type of platform the restriction applies to.",
- "id": "PlatformContext",
- "properties": {
- "platforms": {
- "description": "The platforms this restriction applies to.",
- "enumDescriptions": [
- "Desktop platform.",
- "Android platform.",
- "iOS platform."
- ],
- "items": {
- "enum": [
- "DESKTOP",
- "ANDROID",
- "IOS"
- ],
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"ClientUser": {
"description": "A client user is created under a client buyer and has restricted access to\nthe Ad Exchange Marketplace and certain other sections\nof the Ad Exchange Buyer UI based on the role\ngranted to the associated client buyer.\n\nThe only way a new client user can be created is via accepting an\nemail invitation\n(see the\naccounts.clients.invitations.create\nmethod).\n\nAll fields are required unless otherwise specified.",
"id": "ClientUser",
"properties": {
+ "userId": {
+ "description": "The unique numerical ID of the client user\nthat has accepted an invitation.\nThe value of this field is ignored in an update operation.",
+ "format": "int64",
+ "type": "string"
+ },
+ "email": {
+ "description": "User's email address. The value of this field\nis ignored in an update operation.",
+ "type": "string"
+ },
+ "clientAccountId": {
+ "description": "Numerical account ID of the client buyer\nwith which the user is associated; the\nbuyer must be a client of the current sponsor buyer.\nThe value of this field is ignored in an update operation.",
+ "format": "int64",
+ "type": "string"
+ },
"status": {
"description": "The status of the client user.",
"enum": [
@@ -924,20 +865,6 @@
"A user that is currently disabled."
],
"type": "string"
- },
- "userId": {
- "description": "The unique numerical ID of the client user\nthat has accepted an invitation.\nThe value of this field is ignored in an update operation.",
- "format": "int64",
- "type": "string"
- },
- "email": {
- "description": "User's email address. The value of this field\nis ignored in an update operation.",
- "type": "string"
- },
- "clientAccountId": {
- "description": "Numerical account ID of the client buyer\nwith which the user is associated; the\nbuyer must be a client of the current sponsor buyer.\nThe value of this field is ignored in an update operation.",
- "format": "int64",
- "type": "string"
}
},
"type": "object"
@@ -946,10 +873,6 @@
"description": "The association between a creative and a deal.",
"id": "CreativeDealAssociation",
"properties": {
- "accountId": {
- "description": "The account the creative belongs to.",
- "type": "string"
- },
"creativeId": {
"description": "The ID of the creative associated with the deal.",
"type": "string"
@@ -957,6 +880,10 @@
"dealsId": {
"description": "The externalDealId for the deal associated with the creative.",
"type": "string"
+ },
+ "accountId": {
+ "description": "The account the creative belongs to.",
+ "type": "string"
}
},
"type": "object"
@@ -965,33 +892,6 @@
"description": "A creative and its classification data.",
"id": "Creative",
"properties": {
- "native": {
- "$ref": "NativeContent",
- "description": "A native creative."
- },
- "video": {
- "$ref": "VideoContent",
- "description": "A video creative."
- },
- "servingRestrictions": {
- "description": "@OutputOnly The granular status of this ad in specific contexts.\nA context here relates to where something ultimately serves (for example,\na physical location, a platform, an HTTPS vs HTTP request, or the type\nof auction).",
- "items": {
- "$ref": "ServingRestriction"
- },
- "type": "array"
- },
- "agencyId": {
- "description": "The agency ID for this creative.",
- "format": "int64",
- "type": "string"
- },
- "clickThroughUrls": {
- "description": "The set of destination URLs for the creative.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
"detectedSensitiveCategories": {
"description": "@OutputOnly Detected sensitive categories, if any.\nSee the ad-sensitive-categories.txt file in the technical documentation for\na list of IDs. You should use these IDs along with the\nexcluded-sensitive-category field in the bid request to filter your bids.",
"items": {
@@ -1195,6 +1095,33 @@
"accountId": {
"description": "The account that this creative belongs to.\nCan be used to filter the response of the\ncreatives.list\nmethod.",
"type": "string"
+ },
+ "native": {
+ "$ref": "NativeContent",
+ "description": "A native creative."
+ },
+ "video": {
+ "$ref": "VideoContent",
+ "description": "A video creative."
+ },
+ "servingRestrictions": {
+ "description": "@OutputOnly The granular status of this ad in specific contexts.\nA context here relates to where something ultimately serves (for example,\na physical location, a platform, an HTTPS vs HTTP request, or the type\nof auction).",
+ "items": {
+ "$ref": "ServingRestriction"
+ },
+ "type": "array"
+ },
+ "agencyId": {
+ "description": "The agency ID for this creative.",
+ "format": "int64",
+ "type": "string"
+ },
+ "clickThroughUrls": {
+ "description": "The set of destination URLs for the creative.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -1203,16 +1130,16 @@
"description": "@OutputOnly Filtering reasons for this creative during a period of a single\nday (from midnight to midnight Pacific).",
"id": "FilteringStats",
"properties": {
+ "date": {
+ "$ref": "Date",
+ "description": "The day during which the data was collected.\nThe data is collected from 00:00:00 to 23:59:59 PT.\nDuring switches from PST to PDT and back, the day may\ncontain 23 or 25 hours of data instead of the usual 24."
+ },
"reasons": {
"description": "The set of filtering reasons for this date.",
"items": {
"$ref": "Reason"
},
"type": "array"
- },
- "date": {
- "$ref": "Date",
- "description": "The day during which the data was collected.\nThe data is collected from 00:00:00 to 23:59:59 PT.\nDuring switches from PST to PDT and back, the day may\ncontain 23 or 25 hours of data instead of the usual 24."
}
},
"type": "object"
@@ -1232,6 +1159,22 @@
"description": "A client resource represents a client buyer—an agency,\na brand, or an advertiser customer of the sponsor buyer.\nUsers associated with the client buyer have restricted access to\nthe Ad Exchange Marketplace and certain other sections\nof the Ad Exchange Buyer UI based on the role\ngranted to the client buyer.\nAll fields are required unless otherwise specified.",
"id": "Client",
"properties": {
+ "entityType": {
+ "description": "The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`.",
+ "enum": [
+ "ENTITY_TYPE_UNSPECIFIED",
+ "ADVERTISER",
+ "BRAND",
+ "AGENCY"
+ ],
+ "enumDescriptions": [
+ "A placeholder for an undefined client entity type. Should not be used.",
+ "An advertiser.",
+ "A brand.",
+ "An advertising agency."
+ ],
+ "type": "string"
+ },
"clientName": {
"description": "Name used to represent this client to publishers.\nYou may have multiple clients that map to the same entity,\nbut for each client the combination of `clientName` and entity\nmust be unique.\nYou can specify this field as empty.",
"type": "string"
@@ -1283,22 +1226,6 @@
"A client that is currently active."
],
"type": "string"
- },
- "entityType": {
- "description": "The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`.",
- "enum": [
- "ENTITY_TYPE_UNSPECIFIED",
- "ADVERTISER",
- "BRAND",
- "AGENCY"
- ],
- "enumDescriptions": [
- "A placeholder for an undefined client entity type. Should not be used.",
- "An advertiser.",
- "A brand.",
- "An advertising agency."
- ],
- "type": "string"
}
},
"type": "object"
@@ -1307,13 +1234,6 @@
"description": "@OutputOnly Shows any corrections that were applied to this creative.",
"id": "Correction",
"properties": {
- "details": {
- "description": "Additional details about what was corrected.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
"type": {
"description": "The type of correction that was applied to the creative.",
"enum": [
@@ -1352,6 +1272,31 @@
"$ref": "ServingContext"
},
"type": "array"
+ },
+ "details": {
+ "description": "Additional details about what was corrected.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListDealAssociationsResponse": {
+ "description": "A response for listing creative and deal associations",
+ "id": "ListDealAssociationsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\nPass this value in the\nListDealAssociationsRequest.page_token\nfield in the subsequent call to 'ListDealAssociation' method to retrieve\nthe next page of results.",
+ "type": "string"
+ },
+ "associations": {
+ "description": "The list of associations.",
+ "items": {
+ "$ref": "CreativeDealAssociation"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -1367,30 +1312,6 @@
},
"type": "object"
},
- "ListDealAssociationsResponse": {
- "description": "A response for listing creative and deal associations",
- "id": "ListDealAssociationsResponse",
- "properties": {
- "associations": {
- "description": "The list of associations.",
- "items": {
- "$ref": "CreativeDealAssociation"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "A token to retrieve the next page of results.\nPass this value in the\nListDealAssociationsRequest.page_token\nfield in the subsequent call to 'ListDealAssociation' method to retrieve\nthe next page of results.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "StopWatchingCreativeRequest": {
- "description": "A request for stopping notifications for changes to creative Status.",
- "id": "StopWatchingCreativeRequest",
- "properties": {},
- "type": "object"
- },
"Disapproval": {
"description": "@OutputOnly The reason and details for a disapproval.",
"id": "Disapproval",
@@ -1601,24 +1522,16 @@
},
"type": "object"
},
+ "StopWatchingCreativeRequest": {
+ "description": "A request for stopping notifications for changes to creative Status.",
+ "id": "StopWatchingCreativeRequest",
+ "properties": {},
+ "type": "object"
+ },
"ServingRestriction": {
"description": "@OutputOnly A representation of the status of an ad in a\nspecific context. A context here relates to where something ultimately serves\n(for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,\nor the type of auction).",
"id": "ServingRestriction",
"properties": {
- "disapprovalReasons": {
- "description": "Any disapprovals bound to this restriction.\nOnly present if status=DISAPPROVED.\nCan be used to filter the response of the\ncreatives.list\nmethod.",
- "items": {
- "$ref": "Disapproval"
- },
- "type": "array"
- },
- "contexts": {
- "description": "The contexts for the restriction.",
- "items": {
- "$ref": "ServingContext"
- },
- "type": "array"
- },
"status": {
"description": "The status of the creative in this context (for example, it has been\nexplicitly disapproved or is pending review).",
"enum": [
@@ -1632,6 +1545,20 @@
"The ad is pending review in this context."
],
"type": "string"
+ },
+ "disapprovalReasons": {
+ "description": "Any disapprovals bound to this restriction.\nOnly present if status=DISAPPROVED.\nCan be used to filter the response of the\ncreatives.list\nmethod.",
+ "items": {
+ "$ref": "Disapproval"
+ },
+ "type": "array"
+ },
+ "contexts": {
+ "description": "The contexts for the restriction.",
+ "items": {
+ "$ref": "ServingContext"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -1697,6 +1624,23 @@
},
"type": "object"
},
+ "ListClientsResponse": {
+ "id": "ListClientsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\nPass this value in the\nListClientsRequest.pageToken\nfield in the subsequent call to the\naccounts.clients.list method\nto retrieve the next page of results.",
+ "type": "string"
+ },
+ "clients": {
+ "description": "The returned list of clients.",
+ "items": {
+ "$ref": "Client"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"NativeContent": {
"description": "Native content for a creative.",
"id": "NativeContent",
@@ -1757,23 +1701,6 @@
},
"type": "object"
},
- "ListClientsResponse": {
- "id": "ListClientsResponse",
- "properties": {
- "nextPageToken": {
- "description": "A token to retrieve the next page of results.\nPass this value in the\nListClientsRequest.pageToken\nfield in the subsequent call to the\naccounts.clients.list method\nto retrieve the next page of results.",
- "type": "string"
- },
- "clients": {
- "description": "The returned list of clients.",
- "items": {
- "$ref": "Client"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"SecurityContext": {
"description": "@OutputOnly A security context.",
"id": "SecurityContext",
@@ -1796,6 +1723,24 @@
},
"type": "object"
},
+ "ListCreativesResponse": {
+ "description": "A response for listing creatives.",
+ "id": "ListCreativesResponse",
+ "properties": {
+ "creatives": {
+ "description": "The list of creatives.",
+ "items": {
+ "$ref": "Creative"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\nPass this value in the\nListCreativesRequest.page_token\nfield in the subsequent call to `ListCreatives` method to retrieve the next\npage of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"HtmlContent": {
"description": "HTML content for a creative.",
"id": "HtmlContent",
@@ -1817,32 +1762,10 @@
},
"type": "object"
},
- "ListCreativesResponse": {
- "description": "A response for listing creatives.",
- "id": "ListCreativesResponse",
- "properties": {
- "creatives": {
- "description": "The list of creatives.",
- "items": {
- "$ref": "Creative"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "A token to retrieve the next page of results.\nPass this value in the\nListCreativesRequest.page_token\nfield in the subsequent call to `ListCreatives` method to retrieve the next\npage of results.",
- "type": "string"
- }
- },
- "type": "object"
- },
"ServingContext": {
"description": "The serving context for this restriction.",
"id": "ServingContext",
"properties": {
- "location": {
- "$ref": "LocationContext",
- "description": "Matches impressions coming from users *or* publishers in a specific\nlocation."
- },
"auctionType": {
"$ref": "AuctionContext",
"description": "Matches impressions for a particular auction type."
@@ -1868,6 +1791,10 @@
"platform": {
"$ref": "PlatformContext",
"description": "Matches impressions coming from a particular platform."
+ },
+ "location": {
+ "$ref": "LocationContext",
+ "description": "Matches impressions coming from users *or* publishers in a specific\nlocation."
}
},
"type": "object"
@@ -1876,6 +1803,11 @@
"description": "An image resource. You may provide a larger image than was requested,\nso long as the aspect ratio is preserved.",
"id": "Image",
"properties": {
+ "width": {
+ "description": "Image width in pixels.",
+ "format": "int32",
+ "type": "integer"
+ },
"url": {
"description": "The URL of the image.",
"type": "string"
@@ -1884,11 +1816,6 @@
"description": "Image height in pixels.",
"format": "int32",
"type": "integer"
- },
- "width": {
- "description": "Image width in pixels.",
- "format": "int32",
- "type": "integer"
}
},
"type": "object"
@@ -1897,15 +1824,15 @@
"description": "A specific filtering status and how many times it occurred.",
"id": "Reason",
"properties": {
- "status": {
- "description": "The filtering status code. Please refer to the\n[creative-status-codes.txt](https://storage.googleapis.com/adx-rtb-dictionaries/creative-status-codes.txt)\nfile for different statuses.",
- "format": "int32",
- "type": "integer"
- },
"count": {
"description": "The number of times the creative was filtered for the status. The\ncount is aggregated across all publishers on the exchange.",
"format": "int64",
"type": "string"
+ },
+ "status": {
+ "description": "The filtering status code. Please refer to the\n[creative-status-codes.txt](https://storage.googleapis.com/adx-rtb-dictionaries/creative-status-codes.txt)\nfile for different statuses.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -1925,11 +1852,6 @@
"description": "An invitation for a new client user to get access to the Ad Exchange\nBuyer UI.\nAll fields are required unless otherwise specified.",
"id": "ClientUserInvitation",
"properties": {
- "invitationId": {
- "description": "The unique numerical ID of the invitation that is sent to the user.\nThe value of this field is ignored in create operations.",
- "format": "int64",
- "type": "string"
- },
"email": {
"description": "The email address to which the invitation is sent. Email\naddresses should be unique among all client users under each sponsor\nbuyer.",
"type": "string"
@@ -1938,6 +1860,11 @@
"description": "Numerical account ID of the client buyer\nthat the invited user is associated with.\nThe value of this field is ignored in create operations.",
"format": "int64",
"type": "string"
+ },
+ "invitationId": {
+ "description": "The unique numerical ID of the invitation that is sent to the user.\nThe value of this field is ignored in create operations.",
+ "format": "int64",
+ "type": "string"
}
},
"type": "object"
@@ -1963,6 +1890,79 @@
}
},
"type": "object"
+ },
+ "ListClientUserInvitationsResponse": {
+ "id": "ListClientUserInvitationsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\nPass this value in the\nListClientUserInvitationsRequest.pageToken\nfield in the subsequent call to the\nclients.invitations.list\nmethod to retrieve the next\npage of results.",
+ "type": "string"
+ },
+ "invitations": {
+ "description": "The returned list of client users.",
+ "items": {
+ "$ref": "ClientUserInvitation"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListClientUsersResponse": {
+ "id": "ListClientUsersResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "A token to retrieve the next page of results.\nPass this value in the\nListClientUsersRequest.pageToken\nfield in the subsequent call to the\nclients.invitations.list\nmethod to retrieve the next\npage of results.",
+ "type": "string"
+ },
+ "users": {
+ "description": "The returned list of client users.",
+ "items": {
+ "$ref": "ClientUser"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "LocationContext": {
+ "description": "@OutputOnly The Geo criteria the restriction applies to.",
+ "id": "LocationContext",
+ "properties": {
+ "geoCriteriaIds": {
+ "description": "IDs representing the geo location for this context.\nPlease refer to the\n[geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)\nfile for different geo criteria IDs.",
+ "items": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "PlatformContext": {
+ "description": "@OutputOnly The type of platform the restriction applies to.",
+ "id": "PlatformContext",
+ "properties": {
+ "platforms": {
+ "description": "The platforms this restriction applies to.",
+ "enumDescriptions": [
+ "Desktop platform.",
+ "Android platform.",
+ "iOS platform."
+ ],
+ "items": {
+ "enum": [
+ "DESKTOP",
+ "ANDROID",
+ "IOS"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis_beta/appengine__v1beta.json b/discovery/googleapis_beta/appengine__v1beta.json
index 311c192..6b41d21 100644
--- a/discovery/googleapis_beta/appengine__v1beta.json
+++ b/discovery/googleapis_beta/appengine__v1beta.json
@@ -2,14 +2,14 @@
"auth": {
"oauth2": {
"scopes": {
- "https://www.googleapis.com/auth/cloud-platform.read-only": {
- "description": "View your data across Google Cloud Platform services"
+ "https://www.googleapis.com/auth/appengine.admin": {
+ "description": "View and manage your applications deployed on Google App Engine"
},
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
- "https://www.googleapis.com/auth/appengine.admin": {
- "description": "View and manage your applications deployed on Google App Engine"
+ "https://www.googleapis.com/auth/cloud-platform.read-only": {
+ "description": "View your data across Google Cloud Platform services"
}
}
}
@@ -20,6 +20,7 @@
"description": "Provisions and manages App Engine applications.",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/appengine/docs/admin-api/",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/0wieiWOLZ-Vm6vgB6dsBIuzASBg\"",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
@@ -35,13 +36,39 @@
"location": "query",
"type": "string"
},
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "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"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "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"
},
- "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.",
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
@@ -51,13 +78,14 @@
"location": "query",
"type": "boolean"
},
- "bearer_token": {
- "description": "OAuth bearer token.",
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
"location": "query",
- "type": "string"
+ "type": "boolean"
},
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
+ "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"
},
@@ -66,67 +94,54 @@
"location": "query",
"type": "string"
},
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
"$.xgafv": {
"description": "V1 error format.",
- "enum": [
- "1",
- "2"
- ],
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"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"
}
},
"protocol": "rest",
"resources": {
"apps": {
"methods": {
+ "get": {
+ "description": "Gets information about an application.",
+ "httpMethod": "GET",
+ "id": "appengine.apps.get",
+ "parameterOrder": [
+ "appsId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. Name of the Application resource to get. Example: apps/myapp.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}",
+ "response": {
+ "$ref": "Application"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/appengine.admin",
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
"create": {
- "description": "Creates an App Engine application for a Google Cloud Platform project. Required fields:\nid - The ID of the target Cloud Platform project.\nlocation - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/python/console/).",
+ "description": "Creates an App Engine application for a Google Cloud Platform project. Required fields: id - The ID of the target Cloud Platform project. location - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/python/console/).",
"httpMethod": "POST",
"id": "appengine.apps.create",
- "parameterOrder": [],
- "parameters": {},
"path": "v1beta/apps",
"request": {
"$ref": "Application"
@@ -138,6 +153,37 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
+ "patch": {
+ "description": "Updates the specified Application resource. You can update the following fields: auth_domain - Google authentication domain for controlling user access to the application. default_cookie_expiration - Cookie expiration policy for the application.",
+ "httpMethod": "PATCH",
+ "id": "appengine.apps.patch",
+ "parameterOrder": [
+ "appsId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. Name of the Application resource to update. Example: apps/myapp.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Standard field mask for the set of fields to be updated.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}",
+ "request": {
+ "$ref": "Application"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"repair": {
"description": "Recreates the required App Engine features for the specified App Engine application, for example a Cloud Storage bucket or App Engine service account. Use this method if you receive an error message about a missing feature, for example, Error retrieving the App Engine service account.",
"httpMethod": "POST",
@@ -163,66 +209,1026 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
- },
- "get": {
- "description": "Gets information about an application.",
- "httpMethod": "GET",
- "id": "appengine.apps.get",
- "parameterOrder": [
- "appsId"
- ],
- "parameters": {
- "appsId": {
- "description": "Part of `name`. Name of the Application resource to get. Example: apps/myapp.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta/apps/{appsId}",
- "response": {
- "$ref": "Application"
- },
- "scopes": [
- "https://www.googleapis.com/auth/appengine.admin",
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only"
- ]
- },
- "patch": {
- "description": "Updates the specified Application resource. You can update the following fields:\nauth_domain - Google authentication domain for controlling user access to the application.\ndefault_cookie_expiration - Cookie expiration policy for the application.",
- "httpMethod": "PATCH",
- "id": "appengine.apps.patch",
- "parameterOrder": [
- "appsId"
- ],
- "parameters": {
- "appsId": {
- "description": "Part of `name`. Name of the Application resource to update. Example: apps/myapp.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "updateMask": {
- "description": "Standard field mask for the set of fields to be updated.",
- "format": "google-fieldmask",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1beta/apps/{appsId}",
- "request": {
- "$ref": "Application"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
}
},
"resources": {
+ "operations": {
+ "methods": {
+ "list": {
+ "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding below allows API services to override the binding to use different resource name schemes, such as users/*/operations.",
+ "httpMethod": "GET",
+ "id": "appengine.apps.operations.list",
+ "parameterOrder": [
+ "appsId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. The name of the operation collection.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "filter": {
+ "description": "The standard list filter.",
+ "location": "query",
+ "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": "v1beta/apps/{appsId}/operations",
+ "response": {
+ "$ref": "ListOperationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/appengine.admin",
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "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.",
+ "httpMethod": "GET",
+ "id": "appengine.apps.operations.get",
+ "parameterOrder": [
+ "appsId",
+ "operationsId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. The name of the operation resource.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "operationsId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/operations/{operationsId}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/appengine.admin",
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ }
+ }
+ },
+ "services": {
+ "methods": {
+ "list": {
+ "description": "Lists all the services in the application.",
+ "httpMethod": "GET",
+ "id": "appengine.apps.services.list",
+ "parameterOrder": [
+ "appsId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `parent`. Name of the parent Application resource. Example: apps/myapp.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Maximum results to return per page.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Continuation token for fetching the next page of results.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/services",
+ "response": {
+ "$ref": "ListServicesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/appengine.admin",
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "get": {
+ "description": "Gets the current configuration of the specified service.",
+ "httpMethod": "GET",
+ "id": "appengine.apps.services.get",
+ "parameterOrder": [
+ "appsId",
+ "servicesId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "servicesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/services/{servicesId}",
+ "response": {
+ "$ref": "Service"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/appengine.admin",
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "patch": {
+ "description": "Updates the configuration of the specified service.",
+ "httpMethod": "PATCH",
+ "id": "appengine.apps.services.patch",
+ "parameterOrder": [
+ "appsId",
+ "servicesId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/services/default.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "servicesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Standard field mask for the set of fields to be updated.",
+ "location": "query",
+ "type": "string"
+ },
+ "migrateTraffic": {
+ "description": "Set to true to gradually shift traffic to one or more versions that you specify. By default, traffic is shifted immediately. For gradual traffic migration, the target versions must be located within instances that are configured for both warmup requests (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#automaticscaling). You must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services#shardby) field in the Service resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).",
+ "location": "query",
+ "type": "boolean"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/services/{servicesId}",
+ "request": {
+ "$ref": "Service"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes the specified service and all enclosed versions.",
+ "httpMethod": "DELETE",
+ "id": "appengine.apps.services.delete",
+ "parameterOrder": [
+ "appsId",
+ "servicesId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "servicesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/services/{servicesId}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ },
+ "resources": {
+ "versions": {
+ "methods": {
+ "list": {
+ "description": "Lists the versions of a service.",
+ "httpMethod": "GET",
+ "id": "appengine.apps.services.versions.list",
+ "parameterOrder": [
+ "appsId",
+ "servicesId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `parent`. Name of the parent Service resource. Example: apps/myapp/services/default.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "servicesId": {
+ "description": "Part of `parent`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "view": {
+ "description": "Controls the set of fields returned in the List response.",
+ "enum": [
+ "BASIC",
+ "FULL"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Maximum results to return per page.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Continuation token for fetching the next page of results.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/services/{servicesId}/versions",
+ "response": {
+ "$ref": "ListVersionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/appengine.admin",
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "get": {
+ "description": "Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.",
+ "httpMethod": "GET",
+ "id": "appengine.apps.services.versions.get",
+ "parameterOrder": [
+ "appsId",
+ "servicesId",
+ "versionsId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "servicesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "versionsId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "view": {
+ "description": "Controls the set of fields returned in the Get response.",
+ "enum": [
+ "BASIC",
+ "FULL"
+ ],
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}",
+ "response": {
+ "$ref": "Version"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/appengine.admin",
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "create": {
+ "description": "Deploys code and resource files to a new version.",
+ "httpMethod": "POST",
+ "id": "appengine.apps.services.versions.create",
+ "parameterOrder": [
+ "appsId",
+ "servicesId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `parent`. Name of the parent resource to create this version under. Example: apps/myapp/services/default.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "servicesId": {
+ "description": "Part of `parent`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/services/{servicesId}/versions",
+ "request": {
+ "$ref": "Version"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "patch": {
+ "description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment. instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine standard environment. automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment. automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.",
+ "httpMethod": "PATCH",
+ "id": "appengine.apps.services.versions.patch",
+ "parameterOrder": [
+ "appsId",
+ "servicesId",
+ "versionsId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/services/default/versions/1.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "servicesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "versionsId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Standard field mask for the set of fields to be updated.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}",
+ "request": {
+ "$ref": "Version"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes an existing Version resource.",
+ "httpMethod": "DELETE",
+ "id": "appengine.apps.services.versions.delete",
+ "parameterOrder": [
+ "appsId",
+ "servicesId",
+ "versionsId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "servicesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "versionsId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ },
+ "resources": {
+ "instances": {
+ "methods": {
+ "list": {
+ "description": "Lists the instances of a version.Tip: To aggregate details about instances over time, see the Stackdriver Monitoring API (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).",
+ "httpMethod": "GET",
+ "id": "appengine.apps.services.versions.instances.list",
+ "parameterOrder": [
+ "appsId",
+ "servicesId",
+ "versionsId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `parent`. Name of the parent Version resource. Example: apps/myapp/services/default/versions/v1.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "servicesId": {
+ "description": "Part of `parent`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "versionsId": {
+ "description": "Part of `parent`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Maximum results to return per page.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Continuation token for fetching the next page of results.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances",
+ "response": {
+ "$ref": "ListInstancesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/appengine.admin",
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "get": {
+ "description": "Gets instance information.",
+ "httpMethod": "GET",
+ "id": "appengine.apps.services.versions.instances.get",
+ "parameterOrder": [
+ "appsId",
+ "servicesId",
+ "versionsId",
+ "instancesId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "servicesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "versionsId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "instancesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}",
+ "response": {
+ "$ref": "Instance"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/appengine.admin",
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "delete": {
+ "description": "Stops a running instance.",
+ "httpMethod": "DELETE",
+ "id": "appengine.apps.services.versions.instances.delete",
+ "parameterOrder": [
+ "appsId",
+ "servicesId",
+ "versionsId",
+ "instancesId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "servicesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "versionsId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "instancesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "debug": {
+ "description": "Enables debugging on a VM instance. This allows you to use the SSH command to connect to the virtual machine where the instance lives. While in \"debug mode\", the instance continues to serve live traffic. You should delete the instance when you are done debugging and then allow the system to take over and determine if another instance should be started.Only applicable for instances in App Engine flexible environment.",
+ "httpMethod": "POST",
+ "id": "appengine.apps.services.versions.instances.debug",
+ "parameterOrder": [
+ "appsId",
+ "servicesId",
+ "versionsId",
+ "instancesId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "servicesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "versionsId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "instancesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug",
+ "request": {
+ "$ref": "DebugInstanceRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "authorizedDomains": {
+ "methods": {
+ "list": {
+ "description": "Lists all domains the user is authorized to administer.",
+ "httpMethod": "GET",
+ "id": "appengine.apps.authorizedDomains.list",
+ "parameterOrder": [
+ "appsId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `parent`. Name of the parent Application resource. Example: apps/myapp.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Maximum results to return per page.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Continuation token for fetching the next page of results.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/authorizedDomains",
+ "response": {
+ "$ref": "ListAuthorizedDomainsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/appengine.admin",
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ }
+ }
+ },
+ "authorizedCertificates": {
+ "methods": {
+ "list": {
+ "description": "Lists all SSL certificates the user is authorized to administer.",
+ "httpMethod": "GET",
+ "id": "appengine.apps.authorizedCertificates.list",
+ "parameterOrder": [
+ "appsId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `parent`. Name of the parent Application resource. Example: apps/myapp.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Maximum results to return per page.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Continuation token for fetching the next page of results.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/authorizedCertificates",
+ "response": {
+ "$ref": "ListAuthorizedCertificatesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/appengine.admin",
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "get": {
+ "description": "Gets the specified SSL certificate.",
+ "httpMethod": "GET",
+ "id": "appengine.apps.authorizedCertificates.get",
+ "parameterOrder": [
+ "appsId",
+ "authorizedCertificatesId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/authorizedCertificates/12345.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "authorizedCertificatesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "view": {
+ "description": "Controls the set of fields returned in the GET response.",
+ "enum": [
+ "BASIC_CERTIFICATE",
+ "FULL_CERTIFICATE"
+ ],
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}",
+ "response": {
+ "$ref": "AuthorizedCertificate"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/appengine.admin",
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "create": {
+ "description": "Uploads the specified SSL certificate.",
+ "httpMethod": "POST",
+ "id": "appengine.apps.authorizedCertificates.create",
+ "parameterOrder": [
+ "appsId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `parent`. Name of the parent Application resource. Example: apps/myapp.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/authorizedCertificates",
+ "request": {
+ "$ref": "AuthorizedCertificate"
+ },
+ "response": {
+ "$ref": "AuthorizedCertificate"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "patch": {
+ "description": "Updates the specified SSL certificate. To renew a certificate and maintain its existing domain mappings, update certificate_data with a new certificate. The new certificate must be applicable to the same domains as the original certificate. The certificate display_name may also be updated.",
+ "httpMethod": "PATCH",
+ "id": "appengine.apps.authorizedCertificates.patch",
+ "parameterOrder": [
+ "appsId",
+ "authorizedCertificatesId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/authorizedCertificates/12345.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "authorizedCertificatesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Standard field mask for the set of fields to be updated. Updates are only supported on the certificate_raw_data and display_name fields.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}",
+ "request": {
+ "$ref": "AuthorizedCertificate"
+ },
+ "response": {
+ "$ref": "AuthorizedCertificate"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes the specified SSL certificate.",
+ "httpMethod": "DELETE",
+ "id": "appengine.apps.authorizedCertificates.delete",
+ "parameterOrder": [
+ "appsId",
+ "authorizedCertificatesId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. Name of the resource to delete. Example: apps/myapp/authorizedCertificates/12345.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "authorizedCertificatesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "domainMappings": {
+ "methods": {
+ "list": {
+ "description": "Lists the domain mappings on an application.",
+ "httpMethod": "GET",
+ "id": "appengine.apps.domainMappings.list",
+ "parameterOrder": [
+ "appsId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `parent`. Name of the parent Application resource. Example: apps/myapp.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Maximum results to return per page.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Continuation token for fetching the next page of results.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/domainMappings",
+ "response": {
+ "$ref": "ListDomainMappingsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/appengine.admin",
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "get": {
+ "description": "Gets the specified domain mapping.",
+ "httpMethod": "GET",
+ "id": "appengine.apps.domainMappings.get",
+ "parameterOrder": [
+ "appsId",
+ "domainMappingsId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/domainMappings/example.com.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "domainMappingsId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/domainMappings/{domainMappingsId}",
+ "response": {
+ "$ref": "DomainMapping"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/appengine.admin",
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "create": {
+ "description": "Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains.",
+ "httpMethod": "POST",
+ "id": "appengine.apps.domainMappings.create",
+ "parameterOrder": [
+ "appsId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `parent`. Name of the parent Application resource. Example: apps/myapp.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/domainMappings",
+ "request": {
+ "$ref": "DomainMapping"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "patch": {
+ "description": "Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource.",
+ "httpMethod": "PATCH",
+ "id": "appengine.apps.domainMappings.patch",
+ "parameterOrder": [
+ "appsId",
+ "domainMappingsId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/domainMappings/example.com.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "domainMappingsId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Standard field mask for the set of fields to be updated.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/domainMappings/{domainMappingsId}",
+ "request": {
+ "$ref": "DomainMapping"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource.",
+ "httpMethod": "DELETE",
+ "id": "appengine.apps.domainMappings.delete",
+ "parameterOrder": [
+ "appsId",
+ "domainMappingsId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. Name of the resource to delete. Example: apps/myapp/domainMappings/example.com.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "domainMappingsId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta/apps/{appsId}/domainMappings/{domainMappingsId}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
"locations": {
"methods": {
"list": {
@@ -239,8 +1245,8 @@
"required": true,
"type": "string"
},
- "pageToken": {
- "description": "The standard list page token.",
+ "filter": {
+ "description": "The standard list filter.",
"location": "query",
"type": "string"
},
@@ -250,8 +1256,8 @@
"location": "query",
"type": "integer"
},
- "filter": {
- "description": "The standard list filter.",
+ "pageToken": {
+ "description": "The standard list page token.",
"location": "query",
"type": "string"
}
@@ -299,859 +1305,26 @@
]
}
}
- },
- "services": {
- "methods": {
- "list": {
- "description": "Lists all the services in the application.",
- "httpMethod": "GET",
- "id": "appengine.apps.services.list",
- "parameterOrder": [
- "appsId"
- ],
- "parameters": {
- "appsId": {
- "description": "Part of `parent`. Name of the parent Application resource. Example: apps/myapp.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "pageToken": {
- "description": "Continuation token for fetching the next page of results.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Maximum results to return per page.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- }
- },
- "path": "v1beta/apps/{appsId}/services",
- "response": {
- "$ref": "ListServicesResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/appengine.admin",
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only"
- ]
- },
- "get": {
- "description": "Gets the current configuration of the specified service.",
- "httpMethod": "GET",
- "id": "appengine.apps.services.get",
- "parameterOrder": [
- "appsId",
- "servicesId"
- ],
- "parameters": {
- "servicesId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "appsId": {
- "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta/apps/{appsId}/services/{servicesId}",
- "response": {
- "$ref": "Service"
- },
- "scopes": [
- "https://www.googleapis.com/auth/appengine.admin",
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only"
- ]
- },
- "patch": {
- "description": "Updates the configuration of the specified service.",
- "httpMethod": "PATCH",
- "id": "appengine.apps.services.patch",
- "parameterOrder": [
- "appsId",
- "servicesId"
- ],
- "parameters": {
- "updateMask": {
- "description": "Standard field mask for the set of fields to be updated.",
- "format": "google-fieldmask",
- "location": "query",
- "type": "string"
- },
- "servicesId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "appsId": {
- "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/services/default.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "migrateTraffic": {
- "description": "Set to true to gradually shift traffic to one or more versions that you specify. By default, traffic is shifted immediately. For gradual traffic migration, the target versions must be located within instances that are configured for both warmup requests (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#automaticscaling). You must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services#shardby) field in the Service resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).",
- "location": "query",
- "type": "boolean"
- }
- },
- "path": "v1beta/apps/{appsId}/services/{servicesId}",
- "request": {
- "$ref": "Service"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "delete": {
- "description": "Deletes the specified service and all enclosed versions.",
- "httpMethod": "DELETE",
- "id": "appengine.apps.services.delete",
- "parameterOrder": [
- "appsId",
- "servicesId"
- ],
- "parameters": {
- "servicesId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "appsId": {
- "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta/apps/{appsId}/services/{servicesId}",
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- }
- },
- "resources": {
- "versions": {
- "methods": {
- "create": {
- "description": "Deploys code and resource files to a new version.",
- "httpMethod": "POST",
- "id": "appengine.apps.services.versions.create",
- "parameterOrder": [
- "appsId",
- "servicesId"
- ],
- "parameters": {
- "servicesId": {
- "description": "Part of `parent`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "appsId": {
- "description": "Part of `parent`. Name of the parent resource to create this version under. Example: apps/myapp/services/default.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta/apps/{appsId}/services/{servicesId}/versions",
- "request": {
- "$ref": "Version"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "delete": {
- "description": "Deletes an existing Version resource.",
- "httpMethod": "DELETE",
- "id": "appengine.apps.services.versions.delete",
- "parameterOrder": [
- "appsId",
- "servicesId",
- "versionsId"
- ],
- "parameters": {
- "servicesId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "appsId": {
- "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "versionsId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}",
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "list": {
- "description": "Lists the versions of a service.",
- "httpMethod": "GET",
- "id": "appengine.apps.services.versions.list",
- "parameterOrder": [
- "appsId",
- "servicesId"
- ],
- "parameters": {
- "servicesId": {
- "description": "Part of `parent`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "appsId": {
- "description": "Part of `parent`. Name of the parent Service resource. Example: apps/myapp/services/default.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "pageToken": {
- "description": "Continuation token for fetching the next page of results.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Maximum results to return per page.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "view": {
- "description": "Controls the set of fields returned in the List response.",
- "enum": [
- "BASIC",
- "FULL"
- ],
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1beta/apps/{appsId}/services/{servicesId}/versions",
- "response": {
- "$ref": "ListVersionsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/appengine.admin",
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only"
- ]
- },
- "get": {
- "description": "Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.",
- "httpMethod": "GET",
- "id": "appengine.apps.services.versions.get",
- "parameterOrder": [
- "appsId",
- "servicesId",
- "versionsId"
- ],
- "parameters": {
- "versionsId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "view": {
- "description": "Controls the set of fields returned in the Get response.",
- "enum": [
- "BASIC",
- "FULL"
- ],
- "location": "query",
- "type": "string"
- },
- "servicesId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "appsId": {
- "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}",
- "response": {
- "$ref": "Version"
- },
- "scopes": [
- "https://www.googleapis.com/auth/appengine.admin",
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only"
- ]
- },
- "patch": {
- "description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment.\ninstance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine standard environment.\nautomatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.",
- "httpMethod": "PATCH",
- "id": "appengine.apps.services.versions.patch",
- "parameterOrder": [
- "appsId",
- "servicesId",
- "versionsId"
- ],
- "parameters": {
- "servicesId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "appsId": {
- "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/services/default/versions/1.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "versionsId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "updateMask": {
- "description": "Standard field mask for the set of fields to be updated.",
- "format": "google-fieldmask",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}",
- "request": {
- "$ref": "Version"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- }
- },
- "resources": {
- "instances": {
- "methods": {
- "delete": {
- "description": "Stops a running instance.",
- "httpMethod": "DELETE",
- "id": "appengine.apps.services.versions.instances.delete",
- "parameterOrder": [
- "appsId",
- "servicesId",
- "versionsId",
- "instancesId"
- ],
- "parameters": {
- "servicesId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "appsId": {
- "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "instancesId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "versionsId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}",
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "list": {
- "description": "Lists the instances of a version.",
- "httpMethod": "GET",
- "id": "appengine.apps.services.versions.instances.list",
- "parameterOrder": [
- "appsId",
- "servicesId",
- "versionsId"
- ],
- "parameters": {
- "appsId": {
- "description": "Part of `parent`. Name of the parent Version resource. Example: apps/myapp/services/default/versions/v1.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "pageToken": {
- "description": "Continuation token for fetching the next page of results.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Maximum results to return per page.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "versionsId": {
- "description": "Part of `parent`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "servicesId": {
- "description": "Part of `parent`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances",
- "response": {
- "$ref": "ListInstancesResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/appengine.admin",
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only"
- ]
- },
- "get": {
- "description": "Gets instance information.",
- "httpMethod": "GET",
- "id": "appengine.apps.services.versions.instances.get",
- "parameterOrder": [
- "appsId",
- "servicesId",
- "versionsId",
- "instancesId"
- ],
- "parameters": {
- "servicesId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "appsId": {
- "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "instancesId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "versionsId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}",
- "response": {
- "$ref": "Instance"
- },
- "scopes": [
- "https://www.googleapis.com/auth/appengine.admin",
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only"
- ]
- },
- "debug": {
- "description": "Enables debugging on a VM instance. This allows you to use the SSH command to connect to the virtual machine where the instance lives. While in \"debug mode\", the instance continues to serve live traffic. You should delete the instance when you are done debugging and then allow the system to take over and determine if another instance should be started.Only applicable for instances in App Engine flexible environment.",
- "httpMethod": "POST",
- "id": "appengine.apps.services.versions.instances.debug",
- "parameterOrder": [
- "appsId",
- "servicesId",
- "versionsId",
- "instancesId"
- ],
- "parameters": {
- "versionsId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "servicesId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "appsId": {
- "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "instancesId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug",
- "request": {
- "$ref": "DebugInstanceRequest"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- }
- }
- }
- }
- }
- }
- },
- "operations": {
- "methods": {
- "list": {
- "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding below allows API services to override the binding to use different resource name schemes, such as users/*/operations.",
- "httpMethod": "GET",
- "id": "appengine.apps.operations.list",
- "parameterOrder": [
- "appsId"
- ],
- "parameters": {
- "filter": {
- "description": "The standard list filter.",
- "location": "query",
- "type": "string"
- },
- "appsId": {
- "description": "Part of `name`. The name of the operation collection.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "pageToken": {
- "description": "The standard list page token.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "The standard list page size.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- }
- },
- "path": "v1beta/apps/{appsId}/operations",
- "response": {
- "$ref": "ListOperationsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/appengine.admin",
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only"
- ]
- },
- "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.",
- "httpMethod": "GET",
- "id": "appengine.apps.operations.get",
- "parameterOrder": [
- "appsId",
- "operationsId"
- ],
- "parameters": {
- "appsId": {
- "description": "Part of `name`. The name of the operation resource.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "operationsId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta/apps/{appsId}/operations/{operationsId}",
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/appengine.admin",
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only"
- ]
- }
- }
}
}
}
},
- "revision": "20170221",
+ "revision": "20170324",
"rootUrl": "https://appengine.googleapis.com/",
"schemas": {
- "ListLocationsResponse": {
- "description": "The response message for Locations.ListLocations.",
- "id": "ListLocationsResponse",
+ "ListOperationsResponse": {
+ "description": "The response message for Operations.ListOperations.",
+ "id": "ListOperationsResponse",
"properties": {
- "nextPageToken": {
- "description": "The standard List next-page token.",
- "type": "string"
- },
- "locations": {
- "description": "A list of locations that matches the specified filter in the request.",
+ "operations": {
+ "description": "A list of operations that matches the specified filter in the request.",
"items": {
- "$ref": "Location"
+ "$ref": "Operation"
},
"type": "array"
- }
- },
- "type": "object"
- },
- "ContainerInfo": {
- "description": "Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment.",
- "id": "ContainerInfo",
- "properties": {
- "image": {
- "description": "URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: \"gcr.io/my-project/image:tag\" or \"gcr.io/my-project/image@digest\"",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RequestUtilization": {
- "description": "Target scaling by request utilization. Only applicable for VM runtimes.",
- "id": "RequestUtilization",
- "properties": {
- "targetRequestCountPerSecond": {
- "description": "Target requests per second.",
- "format": "int32",
- "type": "integer"
},
- "targetConcurrentRequests": {
- "description": "Target number of concurrent requests.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "EndpointsApiService": {
- "description": "Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy.The fields here refer to the name and configuration id of a \"service\" resource in the Service Management API (https://cloud.google.com/service-management/overview).",
- "id": "EndpointsApiService",
- "properties": {
- "name": {
- "description": "Endpoints service name which is the name of the \"service\" resource in the Service Management API. For example \"myapi.endpoints.myproject.cloud.goog\"",
- "type": "string"
- },
- "configId": {
- "description": "Endpoints service configuration id as specified by the Service Management API. For example \"2016-09-19r1\"",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UrlMap": {
- "description": "URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript.",
- "id": "UrlMap",
- "properties": {
- "apiEndpoint": {
- "$ref": "ApiEndpointHandler",
- "description": "Uses API Endpoints to handle requests."
- },
- "staticFiles": {
- "$ref": "StaticFilesHandler",
- "description": "Returns the contents of a file, such as an image, as the response."
- },
- "redirectHttpResponseCode": {
- "description": "30x code to use when performing redirects for the secure field. Defaults to 302.",
- "enum": [
- "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED",
- "REDIRECT_HTTP_RESPONSE_CODE_301",
- "REDIRECT_HTTP_RESPONSE_CODE_302",
- "REDIRECT_HTTP_RESPONSE_CODE_303",
- "REDIRECT_HTTP_RESPONSE_CODE_307"
- ],
- "enumDescriptions": [
- "Not specified. 302 is assumed.",
- "301 Moved Permanently code.",
- "302 Moved Temporarily code.",
- "303 See Other code.",
- "307 Temporary Redirect code."
- ],
- "type": "string"
- },
- "securityLevel": {
- "description": "Security (HTTPS) enforcement for this URL.",
- "enum": [
- "SECURE_UNSPECIFIED",
- "SECURE_DEFAULT",
- "SECURE_NEVER",
- "SECURE_OPTIONAL",
- "SECURE_ALWAYS"
- ],
- "enumDescriptions": [
- "Not specified.",
- "Both HTTP and HTTPS requests with URLs that match the handler succeed without redirects. The application can examine the request to determine which protocol was used, and respond accordingly.",
- "Requests for a URL that match this handler that use HTTPS are automatically redirected to the HTTP equivalent URL.",
- "Both HTTP and HTTPS requests with URLs that match the handler succeed without redirects. The application can examine the request to determine which protocol was used and respond accordingly.",
- "Requests for a URL that match this handler that do not use HTTPS are automatically redirected to the HTTPS URL with the same path. Query parameters are reserved for the redirect."
- ],
- "type": "string"
- },
- "authFailAction": {
- "description": "Action to take when users access resources that require authentication. Defaults to redirect.",
- "enum": [
- "AUTH_FAIL_ACTION_UNSPECIFIED",
- "AUTH_FAIL_ACTION_REDIRECT",
- "AUTH_FAIL_ACTION_UNAUTHORIZED"
- ],
- "enumDescriptions": [
- "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.",
- "Redirects user to \"accounts.google.com\". The user is redirected back to the application URL after signing in or creating an account.",
- "Rejects request with a 401 HTTP status code and an error message."
- ],
- "type": "string"
- },
- "script": {
- "$ref": "ScriptHandler",
- "description": "Executes a script to handle the request that matches this URL pattern."
- },
- "urlRegex": {
- "description": "URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.",
- "type": "string"
- },
- "login": {
- "description": "Level of login required to access this resource.",
- "enum": [
- "LOGIN_UNSPECIFIED",
- "LOGIN_OPTIONAL",
- "LOGIN_ADMIN",
- "LOGIN_REQUIRED"
- ],
- "enumDescriptions": [
- "Not specified. LOGIN_OPTIONAL is assumed.",
- "Does not require that the user is signed in.",
- "If the user is not signed in, the auth_fail_action is taken. In addition, if the user is not an administrator for the application, they are given an error message regardless of auth_fail_action. If the user is an administrator, the handler proceeds.",
- "If the user has signed in, the handler proceeds normally. Otherwise, the auth_fail_action is taken."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "ApiConfigHandler": {
- "description": "Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/) configuration for API handlers.",
- "id": "ApiConfigHandler",
- "properties": {
- "login": {
- "description": "Level of login required to access this resource. Defaults to optional.",
- "enum": [
- "LOGIN_UNSPECIFIED",
- "LOGIN_OPTIONAL",
- "LOGIN_ADMIN",
- "LOGIN_REQUIRED"
- ],
- "enumDescriptions": [
- "Not specified. LOGIN_OPTIONAL is assumed.",
- "Does not require that the user is signed in.",
- "If the user is not signed in, the auth_fail_action is taken. In addition, if the user is not an administrator for the application, they are given an error message regardless of auth_fail_action. If the user is an administrator, the handler proceeds.",
- "If the user has signed in, the handler proceeds normally. Otherwise, the auth_fail_action is taken."
- ],
- "type": "string"
- },
- "url": {
- "description": "URL to serve the endpoint at.",
- "type": "string"
- },
- "securityLevel": {
- "description": "Security (HTTPS) enforcement for this URL.",
- "enum": [
- "SECURE_UNSPECIFIED",
- "SECURE_DEFAULT",
- "SECURE_NEVER",
- "SECURE_OPTIONAL",
- "SECURE_ALWAYS"
- ],
- "enumDescriptions": [
- "Not specified.",
- "Both HTTP and HTTPS requests with URLs that match the handler succeed without redirects. The application can examine the request to determine which protocol was used, and respond accordingly.",
- "Requests for a URL that match this handler that use HTTPS are automatically redirected to the HTTP equivalent URL.",
- "Both HTTP and HTTPS requests with URLs that match the handler succeed without redirects. The application can examine the request to determine which protocol was used and respond accordingly.",
- "Requests for a URL that match this handler that do not use HTTPS are automatically redirected to the HTTPS URL with the same path. Query parameters are reserved for the redirect."
- ],
- "type": "string"
- },
- "authFailAction": {
- "description": "Action to take when users access resources that require authentication. Defaults to redirect.",
- "enum": [
- "AUTH_FAIL_ACTION_UNSPECIFIED",
- "AUTH_FAIL_ACTION_REDIRECT",
- "AUTH_FAIL_ACTION_UNAUTHORIZED"
- ],
- "enumDescriptions": [
- "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.",
- "Redirects user to \"accounts.google.com\". The user is redirected back to the application URL after signing in or creating an account.",
- "Rejects request with a 401 HTTP status code and an error message."
- ],
- "type": "string"
- },
- "script": {
- "description": "Path to the script from the application root directory.",
+ "nextPageToken": {
+ "description": "The standard List next-page token.",
"type": "string"
}
},
@@ -1165,10 +1338,6 @@
"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 have the format of operations/some/unique/name.",
"type": "string"
},
- "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.",
@@ -1181,6 +1350,10 @@
"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."
+ },
"response": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
@@ -1192,108 +1365,8 @@
},
"type": "object"
},
- "StaticFilesHandler": {
- "description": "Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them.",
- "id": "StaticFilesHandler",
- "properties": {
- "path": {
- "description": "Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.",
- "type": "string"
- },
- "mimeType": {
- "description": "MIME type used to serve all files served by this handler.Defaults to file-specific MIME types, which are derived from each file's filename extension.",
- "type": "string"
- },
- "requireMatchingFile": {
- "description": "Whether this handler should match the request if the file referenced by the handler does not exist.",
- "type": "boolean"
- },
- "expiration": {
- "description": "Time a static file served by this handler should be cached by web proxies and browsers.",
- "format": "google-duration",
- "type": "string"
- },
- "applicationReadable": {
- "description": "Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.",
- "type": "boolean"
- },
- "httpHeaders": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "HTTP headers to use for all responses from these URLs.",
- "type": "object"
- },
- "uploadPathRegex": {
- "description": "Regular expression that matches the file paths for all files that should be referenced by this handler.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "BasicScaling": {
- "description": "A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.",
- "id": "BasicScaling",
- "properties": {
- "maxInstances": {
- "description": "Maximum number of instances to create for this version.",
- "format": "int32",
- "type": "integer"
- },
- "idleTimeout": {
- "description": "Duration of time after the last request that an instance must wait before the instance is shut down.",
- "format": "google-duration",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DiskUtilization": {
- "description": "Target scaling by disk usage. Only applicable for VM runtimes.",
- "id": "DiskUtilization",
- "properties": {
- "targetReadBytesPerSecond": {
- "description": "Target bytes read per second.",
- "format": "int32",
- "type": "integer"
- },
- "targetReadOpsPerSecond": {
- "description": "Target ops read per seconds.",
- "format": "int32",
- "type": "integer"
- },
- "targetWriteOpsPerSecond": {
- "description": "Target ops written per second.",
- "format": "int32",
- "type": "integer"
- },
- "targetWriteBytesPerSecond": {
- "description": "Target bytes written per second.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "CpuUtilization": {
- "description": "Target scaling by CPU usage.",
- "id": "CpuUtilization",
- "properties": {
- "targetUtilization": {
- "description": "Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.",
- "format": "double",
- "type": "number"
- },
- "aggregationWindowLength": {
- "description": "Period of time over which CPU utilization is calculated.",
- "format": "google-duration",
- "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). The error model is designed to be:\nSimple to use and understand for most users\nFlexible enough to meet unexpected needsOverviewThe Status message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers understand and resolve the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package google.rpc which can be used for common error conditions.Language mappingThe Status message is the logical representation of the error model, but it is not necessarily the actual wire format. When the Status message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model include:\nPartial errors. If a service needs to return partial errors to the client, it may embed the Status in the normal response to indicate the partial errors.\nWorkflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting purpose.\nBatch operations. If a client uses batch request and batch response, the Status message should be used directly inside batch response, one for each error sub-response.\nAsynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the Status message.\nLogging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons.",
+ "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). The error model is designed to be: Simple to use and understand for most users Flexible enough to meet unexpected needsOverviewThe Status message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers understand and resolve the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package google.rpc which can be used for common error conditions.Language mappingThe Status message is the logical representation of the error model, but it is not necessarily the actual wire format. When the Status message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model include: Partial errors. If a service needs to return partial errors to the client, it may embed the Status in the normal response to indicate the partial errors. Workflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting purpose. Batch operations. If a client uses batch request and batch response, the Status message should be used directly inside batch response, one for each error sub-response. Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the Status message. Logging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons.",
"id": "Status",
"properties": {
"code": {
@@ -1319,52 +1392,130 @@
},
"type": "object"
},
+ "Application": {
+ "description": "An Application resource contains the top-level configuration of an App Engine application.",
+ "id": "Application",
+ "properties": {
+ "name": {
+ "description": "Full path to the Application resource in the API. Example: apps/myapp.@OutputOnly",
+ "type": "string"
+ },
+ "id": {
+ "description": "Identifier of the Application resource. This identifier is equivalent to the project ID of the Google Cloud Platform project where you want to deploy your application. Example: myapp.",
+ "type": "string"
+ },
+ "dispatchRules": {
+ "description": "HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. Up to 20 dispatch rules can be supported.@OutputOnly",
+ "items": {
+ "$ref": "UrlDispatchRule"
+ },
+ "type": "array"
+ },
+ "authDomain": {
+ "description": "Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account.",
+ "type": "string"
+ },
+ "locationId": {
+ "description": "Location from which this application will be run. Application instances will run out of data centers in the chosen location, which is also where all of the application's end user content is stored.Defaults to us-central.Options are:us-central - Central USeurope-west - Western Europeus-east1 - Eastern US",
+ "type": "string"
+ },
+ "codeBucket": {
+ "description": "Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated with the application and can be used by the gcloud deployment commands.@OutputOnly",
+ "type": "string"
+ },
+ "defaultCookieExpiration": {
+ "description": "Cookie expiration policy for this application.",
+ "type": "string"
+ },
+ "servingStatus": {
+ "description": "Serving status of this application.",
+ "enum": [
+ "UNSPECIFIED",
+ "SERVING",
+ "USER_DISABLED",
+ "SYSTEM_DISABLED"
+ ],
+ "type": "string"
+ },
+ "defaultHostname": {
+ "description": "Hostname used to reach this application, as resolved by App Engine.@OutputOnly",
+ "type": "string"
+ },
+ "defaultBucket": {
+ "description": "Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly",
+ "type": "string"
+ },
+ "iap": {
+ "$ref": "IdentityAwareProxy"
+ },
+ "gcrDomain": {
+ "description": "The Google Container Registry domain used for storing managed build docker images for this application.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "UrlDispatchRule": {
+ "description": "Rules to match an HTTP request and dispatch that request to a service.",
+ "id": "UrlDispatchRule",
+ "properties": {
+ "domain": {
+ "description": "Domain name to match against. The wildcard \"*\" is supported if specified before a period: \"*.\".Defaults to matching all domains: \"*\".",
+ "type": "string"
+ },
+ "path": {
+ "description": "Pathname within the host. Must start with a \"/\". A single \"*\" can be included at the end of the path.The sum of the lengths of the domain and path may not exceed 100 characters.",
+ "type": "string"
+ },
+ "service": {
+ "description": "Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"IdentityAwareProxy": {
"description": "Identity-Aware Proxy",
"id": "IdentityAwareProxy",
"properties": {
- "oauth2ClientSecretSha256": {
- "description": "Hex-encoded SHA-256 hash of the client secret.@OutputOnly",
- "type": "string"
- },
"enabled": {
"description": "Whether the serving infrastructure will authenticate and authorize all incoming requests.If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty.",
"type": "boolean"
},
+ "oauth2ClientId": {
+ "description": "OAuth2 client ID to use for the authentication flow.",
+ "type": "string"
+ },
"oauth2ClientSecret": {
"description": "OAuth2 client secret to use for the authentication flow.For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha256 field.@InputOnly",
"type": "string"
},
- "oauth2ClientId": {
- "description": "OAuth2 client ID to use for the authentication flow.",
+ "oauth2ClientSecretSha256": {
+ "description": "Hex-encoded SHA-256 hash of the client secret.@OutputOnly",
"type": "string"
}
},
"type": "object"
},
- "ManualScaling": {
- "description": "A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.",
- "id": "ManualScaling",
- "properties": {
- "instances": {
- "description": "Number of instances to assign to the service at the start. This number can later be altered by using the Modules API (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function.",
- "format": "int32",
- "type": "integer"
- }
- },
+ "RepairApplicationRequest": {
+ "description": "Request message for 'Applications.RepairApplication'.",
+ "id": "RepairApplicationRequest",
"type": "object"
},
- "LocationMetadata": {
- "description": "Metadata for the given google.cloud.location.Location.",
- "id": "LocationMetadata",
+ "ListServicesResponse": {
+ "description": "Response message for Services.ListServices.",
+ "id": "ListServicesResponse",
"properties": {
- "flexibleEnvironmentAvailable": {
- "description": "App Engine Flexible Environment is available in the given location.@OutputOnly",
- "type": "boolean"
+ "services": {
+ "description": "The services belonging to the requested application.",
+ "items": {
+ "$ref": "Service"
+ },
+ "type": "array"
},
- "standardEnvironmentAvailable": {
- "description": "App Engine Standard Environment is available in the given location.@OutputOnly",
- "type": "boolean"
+ "nextPageToken": {
+ "description": "Continuation token for fetching the next page of results.",
+ "type": "string"
}
},
"type": "object"
@@ -1377,511 +1528,55 @@
"description": "Full path to the Service resource in the API. Example: apps/myapp/services/default.@OutputOnly",
"type": "string"
},
- "split": {
- "$ref": "TrafficSplit",
- "description": "Mapping that defines fractional HTTP traffic diversion to different versions within the service."
- },
"id": {
"description": "Relative name of the service within the application. Example: default.@OutputOnly",
"type": "string"
+ },
+ "split": {
+ "$ref": "TrafficSplit",
+ "description": "Mapping that defines fractional HTTP traffic diversion to different versions within the service."
}
},
"type": "object"
},
- "ListOperationsResponse": {
- "description": "The response message for Operations.ListOperations.",
- "id": "ListOperationsResponse",
+ "TrafficSplit": {
+ "description": "Traffic routing configuration for versions within a single service. Traffic splits define how traffic directed to the service is assigned to versions.",
+ "id": "TrafficSplit",
"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"
- },
- "OperationMetadata": {
- "description": "Metadata for the given google.longrunning.Operation.",
- "id": "OperationMetadata",
- "properties": {
- "operationType": {
- "description": "Type of this operation. Deprecated, use method field instead. Example: \"create_version\".@OutputOnly",
- "type": "string"
- },
- "insertTime": {
- "description": "Timestamp that this operation was created.@OutputOnly",
- "format": "google-datetime",
- "type": "string"
- },
- "user": {
- "description": "User who requested this operation.@OutputOnly",
- "type": "string"
- },
- "target": {
- "description": "Name of the resource that this operation is acting on. Example: apps/myapp/modules/default.@OutputOnly",
- "type": "string"
- },
- "method": {
- "description": "API method that initiated this operation. Example: google.appengine.v1beta4.Version.CreateVersion.@OutputOnly",
- "type": "string"
- },
- "endTime": {
- "description": "Timestamp that this operation completed.@OutputOnly",
- "format": "google-datetime",
- "type": "string"
- }
- },
- "type": "object"
- },
- "OperationMetadataV1": {
- "description": "Metadata for the given google.longrunning.Operation.",
- "id": "OperationMetadataV1",
- "properties": {
- "method": {
- "description": "API method that initiated this operation. Example: google.appengine.v1.Versions.CreateVersion.@OutputOnly",
- "type": "string"
- },
- "endTime": {
- "description": "Time that this operation completed.@OutputOnly",
- "format": "google-datetime",
- "type": "string"
- },
- "insertTime": {
- "description": "Time that this operation was created.@OutputOnly",
- "format": "google-datetime",
- "type": "string"
- },
- "warning": {
- "description": "Durable messages that persist on every operation poll. @OutputOnly",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "user": {
- "description": "User who requested this operation.@OutputOnly",
- "type": "string"
- },
- "target": {
- "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
- "type": "string"
- },
- "ephemeralMessage": {
- "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ErrorHandler": {
- "description": "Custom static error page to be served when an error occurs.",
- "id": "ErrorHandler",
- "properties": {
- "errorCode": {
- "description": "Error condition this handler applies to.",
- "enum": [
- "ERROR_CODE_UNSPECIFIED",
- "ERROR_CODE_DEFAULT",
- "ERROR_CODE_OVER_QUOTA",
- "ERROR_CODE_DOS_API_DENIAL",
- "ERROR_CODE_TIMEOUT"
- ],
- "enumDescriptions": [
- "Not specified. ERROR_CODE_DEFAULT is assumed.",
- "All other error types.",
- "Application has exceeded a resource quota.",
- "Client blocked by the application's Denial of Service protection configuration.",
- "Deadline reached before the application responds."
- ],
- "type": "string"
- },
- "mimeType": {
- "description": "MIME type of file. Defaults to text/html.",
- "type": "string"
- },
- "staticFile": {
- "description": "Static file content to be served for this error.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Network": {
- "description": "Extra network settings. Only applicable for VM runtimes.",
- "id": "Network",
- "properties": {
- "forwardedPorts": {
- "description": "List of ports, or port pairs, to forward from the virtual machine to the application container.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "instanceTag": {
- "description": "Tag to apply to the VM instance during creation.",
- "type": "string"
- },
- "subnetworkName": {
- "description": "Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path.If a subnetwork name is specified, a network name will also be required unless it is for the default network.\nIf the network the VM instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range.\nIf the network the VM instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetwork_name) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network.\nIf the network the VM instance is being created in is a custom Subnet Mode Network, then the subnetwork_name must be specified and the IP address is created from the IPCidrRange of the subnetwork.If specified, the subnetwork must exist in the same region as the Flex app.",
- "type": "string"
- },
- "name": {
- "description": "Google Cloud Platform network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Application": {
- "description": "An Application resource contains the top-level configuration of an App Engine application.",
- "id": "Application",
- "properties": {
- "defaultHostname": {
- "description": "Hostname used to reach this application, as resolved by App Engine.@OutputOnly",
- "type": "string"
- },
- "name": {
- "description": "Full path to the Application resource in the API. Example: apps/myapp.@OutputOnly",
- "type": "string"
- },
- "iap": {
- "$ref": "IdentityAwareProxy"
- },
- "authDomain": {
- "description": "Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account.",
- "type": "string"
- },
- "defaultCookieExpiration": {
- "description": "Cookie expiration policy for this application.",
- "format": "google-duration",
- "type": "string"
- },
- "id": {
- "description": "Identifier of the Application resource. This identifier is equivalent to the project ID of the Google Cloud Platform project where you want to deploy your application. Example: myapp.",
- "type": "string"
- },
- "codeBucket": {
- "description": "Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated with the application and can be used by the gcloud deployment commands.@OutputOnly",
- "type": "string"
- },
- "defaultBucket": {
- "description": "Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly",
- "type": "string"
- },
- "locationId": {
- "description": "Location from which this application will be run. Application instances will run out of data centers in the chosen location, which is also where all of the application's end user content is stored.Defaults to us-central.Options are:us-central - Central USeurope-west - Western Europeus-east1 - Eastern US",
- "type": "string"
- },
- "dispatchRules": {
- "description": "HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent.@OutputOnly",
- "items": {
- "$ref": "UrlDispatchRule"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Instance": {
- "description": "An Instance resource is the computing unit that App Engine uses to automatically scale an application.",
- "id": "Instance",
- "properties": {
- "vmName": {
- "description": "Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.@OutputOnly",
- "type": "string"
- },
- "vmId": {
- "description": "Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment.@OutputOnly",
- "type": "string"
- },
- "qps": {
- "description": "Average queries per second (QPS) over the last minute.@OutputOnly",
- "format": "float",
- "type": "number"
- },
- "name": {
- "description": "Full path to the Instance resource in the API. Example: apps/myapp/services/default/versions/v1/instances/instance-1.@OutputOnly",
- "type": "string"
- },
- "vmZoneName": {
- "description": "Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment.@OutputOnly",
- "type": "string"
- },
- "averageLatency": {
- "description": "Average latency (ms) over the last minute.@OutputOnly",
- "format": "int32",
- "type": "integer"
- },
- "vmIp": {
- "description": "The IP address of this instance. Only applicable for instances in App Engine flexible environment.@OutputOnly",
- "type": "string"
- },
- "id": {
- "description": "Relative name of the instance within the version. Example: instance-1.@OutputOnly",
- "type": "string"
- },
- "memoryUsage": {
- "description": "Total memory in use (bytes).@OutputOnly",
- "format": "int64",
- "type": "string"
- },
- "errors": {
- "description": "Number of errors since this instance was started.@OutputOnly",
- "format": "int32",
- "type": "integer"
- },
- "availability": {
- "description": "Availability of the instance.@OutputOnly",
+ "shardBy": {
+ "description": "Mechanism used to determine which version a request is sent to. The traffic selection algorithm will be stable for either type until allocations are changed.",
"enum": [
"UNSPECIFIED",
- "RESIDENT",
- "DYNAMIC"
- ],
- "enumDescriptions": [
- "",
- "",
- ""
+ "COOKIE",
+ "IP",
+ "RANDOM"
],
"type": "string"
},
- "vmStatus": {
- "description": "Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.@OutputOnly",
- "type": "string"
- },
- "startTime": {
- "description": "Time that this instance was started.@OutputOnly",
- "format": "google-datetime",
- "type": "string"
- },
- "vmDebugEnabled": {
- "description": "Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment.@OutputOnly",
- "type": "boolean"
- },
- "requests": {
- "description": "Number of requests since this instance was started.@OutputOnly",
- "format": "int32",
- "type": "integer"
- },
- "appEngineRelease": {
- "description": "App Engine release this instance is running on.@OutputOnly",
- "type": "string"
- }
- },
- "type": "object"
- },
- "LivenessCheck": {
- "description": "Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.",
- "id": "LivenessCheck",
- "properties": {
- "timeout": {
- "description": "Time before the check is considered failed.",
- "format": "google-duration",
- "type": "string"
- },
- "initialDelay": {
- "description": "The initial delay before starting to execute the checks.",
- "format": "google-duration",
- "type": "string"
- },
- "unhealthyThreshold": {
- "description": "Number of consecutive failed checks required before considering the VM unhealthy.",
- "format": "uint32",
- "type": "integer"
- },
- "path": {
- "description": "The request path.",
- "type": "string"
- },
- "host": {
- "description": "Host header to send when performing a HTTP Liveness check. Example: \"myapp.appspot.com\"",
- "type": "string"
- },
- "healthyThreshold": {
- "description": "Number of consecutive successful checks required before considering the VM healthy.",
- "format": "uint32",
- "type": "integer"
- },
- "checkInterval": {
- "description": "Interval between health checks.",
- "format": "google-duration",
- "type": "string"
- }
- },
- "type": "object"
- },
- "NetworkUtilization": {
- "description": "Target scaling by network usage. Only applicable for VM runtimes.",
- "id": "NetworkUtilization",
- "properties": {
- "targetSentPacketsPerSecond": {
- "description": "Target packets sent per second.",
- "format": "int32",
- "type": "integer"
- },
- "targetReceivedBytesPerSecond": {
- "description": "Target bytes received per second.",
- "format": "int32",
- "type": "integer"
- },
- "targetReceivedPacketsPerSecond": {
- "description": "Target packets received per second.",
- "format": "int32",
- "type": "integer"
- },
- "targetSentBytesPerSecond": {
- "description": "Target bytes sent per second.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "Location": {
- "description": "A resource that represents Google Cloud Platform location.",
- "id": "Location",
- "properties": {
- "labels": {
+ "allocations": {
"additionalProperties": {
- "type": "string"
+ "format": "double",
+ "type": "number"
},
- "description": "Cross-service attributes for the location. For example\n{\"cloud.googleapis.com/region\": \"us-east1\"}\n",
- "type": "object"
- },
- "name": {
- "description": "Resource name for the location, which may vary between implementations. For example: \"projects/example-project/locations/us-east1\"",
- "type": "string"
- },
- "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.",
+ "description": "Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the service may not have any traffic allocation. Services that have traffic allocated cannot be deleted until either the service is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up to three decimal places is supported for cookie-based splits.",
"type": "object"
}
},
"type": "object"
},
- "HealthCheck": {
- "description": "Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.",
- "id": "HealthCheck",
+ "ListVersionsResponse": {
+ "description": "Response message for Versions.ListVersions.",
+ "id": "ListVersionsResponse",
"properties": {
- "checkInterval": {
- "description": "Interval between health checks.",
- "format": "google-duration",
- "type": "string"
+ "versions": {
+ "description": "The versions belonging to the requested service.",
+ "items": {
+ "$ref": "Version"
+ },
+ "type": "array"
},
- "timeout": {
- "description": "Time before the health check is considered failed.",
- "format": "google-duration",
- "type": "string"
- },
- "unhealthyThreshold": {
- "description": "Number of consecutive failed health checks required before removing traffic.",
- "format": "uint32",
- "type": "integer"
- },
- "disableHealthCheck": {
- "description": "Whether to explicitly disable health checks for this instance.",
- "type": "boolean"
- },
- "host": {
- "description": "Host header to send when performing an HTTP health check. Example: \"myapp.appspot.com\"",
- "type": "string"
- },
- "restartThreshold": {
- "description": "Number of consecutive failed health checks required before an instance is restarted.",
- "format": "uint32",
- "type": "integer"
- },
- "healthyThreshold": {
- "description": "Number of consecutive successful health checks required before receiving traffic.",
- "format": "uint32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "ReadinessCheck": {
- "description": "Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.",
- "id": "ReadinessCheck",
- "properties": {
- "path": {
- "description": "The request path.",
- "type": "string"
- },
- "host": {
- "description": "Host header to send when performing a HTTP Readiness check. Example: \"myapp.appspot.com\"",
- "type": "string"
- },
- "healthyThreshold": {
- "description": "Number of consecutive successful checks required before receiving traffic.",
- "format": "uint32",
- "type": "integer"
- },
- "checkInterval": {
- "description": "Interval between health checks.",
- "format": "google-duration",
- "type": "string"
- },
- "timeout": {
- "description": "Time before the check is considered failed.",
- "format": "google-duration",
- "type": "string"
- },
- "unhealthyThreshold": {
- "description": "Number of consecutive failed checks required before removing traffic.",
- "format": "uint32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "DebugInstanceRequest": {
- "description": "Request message for Instances.DebugInstance.",
- "id": "DebugInstanceRequest",
- "properties": {
- "sshKey": {
- "description": "Public SSH key to add to the instance. Examples:\n[USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]\n[USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {\"userName\":\"[USERNAME]\",\"expireOn\":\"[EXPIRE_TIME]\"}For more information, see Adding and Removing SSH Keys (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys).",
- "type": "string"
- }
- },
- "type": "object"
- },
- "OperationMetadataV1Beta5": {
- "description": "Metadata for the given google.longrunning.Operation.",
- "id": "OperationMetadataV1Beta5",
- "properties": {
- "endTime": {
- "description": "Timestamp that this operation completed.@OutputOnly",
- "format": "google-datetime",
- "type": "string"
- },
- "user": {
- "description": "User who requested this operation.@OutputOnly",
- "type": "string"
- },
- "target": {
- "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
- "type": "string"
- },
- "method": {
- "description": "API method name that initiated this operation. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly",
- "type": "string"
- },
- "insertTime": {
- "description": "Timestamp that this operation was created.@OutputOnly",
- "format": "google-datetime",
+ "nextPageToken": {
+ "description": "Continuation token for fetching the next page of results.",
"type": "string"
}
},
@@ -1891,123 +1586,26 @@
"description": "A Version resource is a specific set of source code and configuration files that are deployed into a service.",
"id": "Version",
"properties": {
- "createdBy": {
- "description": "Email address of the user who created this version.@OutputOnly",
+ "name": {
+ "description": "Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly",
"type": "string"
},
"id": {
"description": "Relative name of the version within the service. Example: v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: \"default\", \"latest\", and any name with the prefix \"ah-\".",
"type": "string"
},
- "envVariables": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Environment variables available to the application.Only returned in GET requests if view=FULL is set.",
- "type": "object"
- },
- "livenessCheck": {
- "$ref": "LivenessCheck",
- "description": "Configures liveness health checking for VM instances. Unhealthy instances are stopped and replaced with new instancesOnly returned in GET requests if view=FULL is set."
- },
- "network": {
- "$ref": "Network",
- "description": "Extra network settings. Only applicable for VM runtimes."
- },
- "betaSettings": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Metadata settings that are supplied to this version to enable beta runtime features.",
- "type": "object"
- },
- "env": {
- "description": "App Engine execution environment for this version.Defaults to standard.",
- "type": "string"
- },
- "handlers": {
- "description": "An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.Only returned in GET requests if view=FULL is set.",
- "items": {
- "$ref": "UrlMap"
- },
- "type": "array"
- },
"automaticScaling": {
"$ref": "AutomaticScaling",
"description": "Automatic scaling is based on request rate, response latencies, and other application metrics."
},
- "diskUsageBytes": {
- "description": "Total size in bytes of all the files that are included in this version and curerntly hosted on the App Engine disk.@OutputOnly",
- "format": "int64",
- "type": "string"
- },
- "healthCheck": {
- "$ref": "HealthCheck",
- "description": "Configures health checking for VM instances. Unhealthy instances are stopped and replaced with new instances. Only applicable for VM runtimes.Only returned in GET requests if view=FULL is set."
- },
- "threadsafe": {
- "description": "Whether multiple requests can be dispatched to this version at once.",
- "type": "boolean"
- },
- "readinessCheck": {
- "$ref": "ReadinessCheck",
- "description": "Configures readiness health checking for VM instances. Unhealthy instances are not put into the backend traffic rotation.Only returned in GET requests if view=FULL is set."
+ "basicScaling": {
+ "$ref": "BasicScaling",
+ "description": "A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity."
},
"manualScaling": {
"$ref": "ManualScaling",
"description": "A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time."
},
- "name": {
- "description": "Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly",
- "type": "string"
- },
- "apiConfig": {
- "$ref": "ApiConfigHandler",
- "description": "Serving configuration for Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if view=FULL is set."
- },
- "endpointsApiService": {
- "$ref": "EndpointsApiService",
- "description": "Cloud Endpoints configuration.If endpoints_api_service is set, the Cloud Endpoints Extensible Service Proxy will be provided to serve the API implemented by the app."
- },
- "versionUrl": {
- "description": "Serving URL for this version. Example: \"https://myversion-dot-myservice-dot-myapp.appspot.com\"@OutputOnly",
- "type": "string"
- },
- "vm": {
- "description": "Whether to deploy this version in a container on a virtual machine.",
- "type": "boolean"
- },
- "instanceClass": {
- "description": "Instance class that is used to run this version. Valid values are:\nAutomaticScaling: F1, F2, F4, F4_1G\nManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.",
- "type": "string"
- },
- "servingStatus": {
- "description": "Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.",
- "enum": [
- "SERVING_STATUS_UNSPECIFIED",
- "SERVING",
- "STOPPED"
- ],
- "enumDescriptions": [
- "Not specified.",
- "Currently serving. Instances are created according to the scaling settings of the version.",
- "Disabled. No instances will be created and the scaling settings are ignored until the state of the version changes to SERVING."
- ],
- "type": "string"
- },
- "deployment": {
- "$ref": "Deployment",
- "description": "Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set."
- },
- "createTime": {
- "description": "Time that this version was created.@OutputOnly",
- "format": "google-datetime",
- "type": "string"
- },
- "resources": {
- "$ref": "Resources",
- "description": "Machine resources for this version. Only applicable for VM runtimes."
- },
"inboundServices": {
"description": "Before an application can receive email or XMPP messages, the application must be configured to enable the service.",
"enumDescriptions": [
@@ -2037,6 +1635,70 @@
},
"type": "array"
},
+ "instanceClass": {
+ "description": "Instance class that is used to run this version. Valid values are: AutomaticScaling: F1, F2, F4, F4_1G ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.",
+ "type": "string"
+ },
+ "network": {
+ "$ref": "Network",
+ "description": "Extra network settings. Only applicable for VM runtimes."
+ },
+ "resources": {
+ "$ref": "Resources",
+ "description": "Machine resources for this version. Only applicable for VM runtimes."
+ },
+ "runtime": {
+ "description": "Desired runtime. Example: python27.",
+ "type": "string"
+ },
+ "threadsafe": {
+ "description": "Whether multiple requests can be dispatched to this version at once.",
+ "type": "boolean"
+ },
+ "vm": {
+ "description": "Whether to deploy this version in a container on a virtual machine.",
+ "type": "boolean"
+ },
+ "betaSettings": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Metadata settings that are supplied to this version to enable beta runtime features.",
+ "type": "object"
+ },
+ "env": {
+ "description": "App Engine execution environment for this version.Defaults to standard.",
+ "type": "string"
+ },
+ "servingStatus": {
+ "description": "Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.",
+ "enum": [
+ "SERVING_STATUS_UNSPECIFIED",
+ "SERVING",
+ "STOPPED"
+ ],
+ "type": "string"
+ },
+ "createdBy": {
+ "description": "Email address of the user who created this version.@OutputOnly",
+ "type": "string"
+ },
+ "createTime": {
+ "description": "Time that this version was created.@OutputOnly",
+ "type": "string"
+ },
+ "diskUsageBytes": {
+ "description": "Total size in bytes of all the files that are included in this version and curerntly hosted on the App Engine disk.@OutputOnly",
+ "format": "int64",
+ "type": "string"
+ },
+ "handlers": {
+ "description": "An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.Only returned in GET requests if view=FULL is set.",
+ "items": {
+ "$ref": "UrlMap"
+ },
+ "type": "array"
+ },
"errorHandlers": {
"description": "Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.",
"items": {
@@ -2044,11 +1706,6 @@
},
"type": "array"
},
- "defaultExpiration": {
- "description": "Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#staticfileshandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.",
- "format": "google-duration",
- "type": "string"
- },
"libraries": {
"description": "Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set.",
"items": {
@@ -2056,42 +1713,400 @@
},
"type": "array"
},
+ "apiConfig": {
+ "$ref": "ApiConfigHandler",
+ "description": "Serving configuration for Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if view=FULL is set."
+ },
+ "envVariables": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Environment variables available to the application.Only returned in GET requests if view=FULL is set.",
+ "type": "object"
+ },
+ "defaultExpiration": {
+ "description": "Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#staticfileshandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.",
+ "type": "string"
+ },
+ "healthCheck": {
+ "$ref": "HealthCheck",
+ "description": "Configures health checking for VM instances. Unhealthy instances are stopped and replaced with new instances. Only applicable for VM runtimes.Only returned in GET requests if view=FULL is set."
+ },
+ "readinessCheck": {
+ "$ref": "ReadinessCheck",
+ "description": "Configures readiness health checking for VM instances. Unhealthy instances are not put into the backend traffic rotation.Only returned in GET requests if view=FULL is set."
+ },
+ "livenessCheck": {
+ "$ref": "LivenessCheck",
+ "description": "Configures liveness health checking for VM instances. Unhealthy instances are stopped and replaced with new instancesOnly returned in GET requests if view=FULL is set."
+ },
"nobuildFilesRegex": {
"description": "Files that match this pattern will not be built into this version. Only applicable for Go runtimes.Only returned in GET requests if view=FULL is set.",
"type": "string"
},
- "basicScaling": {
- "$ref": "BasicScaling",
- "description": "A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity."
+ "deployment": {
+ "$ref": "Deployment",
+ "description": "Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set."
},
- "runtime": {
- "description": "Desired runtime. Example: python27.",
+ "versionUrl": {
+ "description": "Serving URL for this version. Example: \"https://myversion-dot-myservice-dot-myapp.appspot.com\"@OutputOnly",
+ "type": "string"
+ },
+ "endpointsApiService": {
+ "$ref": "EndpointsApiService",
+ "description": "Cloud Endpoints configuration.If endpoints_api_service is set, the Cloud Endpoints Extensible Service Proxy will be provided to serve the API implemented by the app."
+ }
+ },
+ "type": "object"
+ },
+ "AutomaticScaling": {
+ "description": "Automatic scaling is based on request rate, response latencies, and other application metrics.",
+ "id": "AutomaticScaling",
+ "properties": {
+ "coolDownPeriod": {
+ "description": "Amount of time that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait between changes to the number of virtual machines. Only applicable for VM runtimes.",
+ "type": "string"
+ },
+ "cpuUtilization": {
+ "$ref": "CpuUtilization",
+ "description": "Target scaling by CPU usage."
+ },
+ "maxConcurrentRequests": {
+ "description": "Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "maxIdleInstances": {
+ "description": "Maximum number of idle instances that should be maintained for this version.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "maxTotalInstances": {
+ "description": "Maximum number of instances that should be started to handle requests.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "maxPendingLatency": {
+ "description": "Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.",
+ "type": "string"
+ },
+ "minIdleInstances": {
+ "description": "Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "minTotalInstances": {
+ "description": "Minimum number of instances that should be maintained for this version.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "minPendingLatency": {
+ "description": "Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.",
+ "type": "string"
+ },
+ "requestUtilization": {
+ "$ref": "RequestUtilization",
+ "description": "Target scaling by request utilization."
+ },
+ "diskUtilization": {
+ "$ref": "DiskUtilization",
+ "description": "Target scaling by disk usage."
+ },
+ "networkUtilization": {
+ "$ref": "NetworkUtilization",
+ "description": "Target scaling by network usage."
+ }
+ },
+ "type": "object"
+ },
+ "CpuUtilization": {
+ "description": "Target scaling by CPU usage.",
+ "id": "CpuUtilization",
+ "properties": {
+ "aggregationWindowLength": {
+ "description": "Period of time over which CPU utilization is calculated.",
+ "type": "string"
+ },
+ "targetUtilization": {
+ "description": "Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.",
+ "format": "double",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "RequestUtilization": {
+ "description": "Target scaling by request utilization. Only applicable for VM runtimes.",
+ "id": "RequestUtilization",
+ "properties": {
+ "targetRequestCountPerSecond": {
+ "description": "Target requests per second.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "targetConcurrentRequests": {
+ "description": "Target number of concurrent requests.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "DiskUtilization": {
+ "description": "Target scaling by disk usage. Only applicable for VM runtimes.",
+ "id": "DiskUtilization",
+ "properties": {
+ "targetWriteBytesPerSecond": {
+ "description": "Target bytes written per second.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "targetWriteOpsPerSecond": {
+ "description": "Target ops written per second.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "targetReadBytesPerSecond": {
+ "description": "Target bytes read per second.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "targetReadOpsPerSecond": {
+ "description": "Target ops read per seconds.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "NetworkUtilization": {
+ "description": "Target scaling by network usage. Only applicable for VM runtimes.",
+ "id": "NetworkUtilization",
+ "properties": {
+ "targetSentBytesPerSecond": {
+ "description": "Target bytes sent per second.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "targetSentPacketsPerSecond": {
+ "description": "Target packets sent per second.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "targetReceivedBytesPerSecond": {
+ "description": "Target bytes received per second.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "targetReceivedPacketsPerSecond": {
+ "description": "Target packets received per second.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "BasicScaling": {
+ "description": "A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.",
+ "id": "BasicScaling",
+ "properties": {
+ "idleTimeout": {
+ "description": "Duration of time after the last request that an instance must wait before the instance is shut down.",
+ "type": "string"
+ },
+ "maxInstances": {
+ "description": "Maximum number of instances to create for this version.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "ManualScaling": {
+ "description": "A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.",
+ "id": "ManualScaling",
+ "properties": {
+ "instances": {
+ "description": "Number of instances to assign to the service at the start. This number can later be altered by using the Modules API (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "Network": {
+ "description": "Extra network settings. Only applicable for VM runtimes.",
+ "id": "Network",
+ "properties": {
+ "forwardedPorts": {
+ "description": "List of ports, or port pairs, to forward from the virtual machine to the application container.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "instanceTag": {
+ "description": "Tag to apply to the VM instance during creation.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Google Cloud Platform network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default.",
+ "type": "string"
+ },
+ "subnetworkName": {
+ "description": "Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path.If a subnetwork name is specified, a network name will also be required unless it is for the default network. If the network the VM instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If the network the VM instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetwork_name) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network the VM instance is being created in is a custom Subnet Mode Network, then the subnetwork_name must be specified and the IP address is created from the IPCidrRange of the subnetwork.If specified, the subnetwork must exist in the same region as the Flex app.",
"type": "string"
}
},
"type": "object"
},
- "RepairApplicationRequest": {
- "description": "Request message for 'Applications.RepairApplication'.",
- "id": "RepairApplicationRequest",
- "properties": {},
+ "Resources": {
+ "description": "Machine resources for a version.",
+ "id": "Resources",
+ "properties": {
+ "cpu": {
+ "description": "Number of CPU cores needed.",
+ "format": "double",
+ "type": "number"
+ },
+ "diskGb": {
+ "description": "Disk size (GB) needed.",
+ "format": "double",
+ "type": "number"
+ },
+ "memoryGb": {
+ "description": "Memory (GB) needed.",
+ "format": "double",
+ "type": "number"
+ },
+ "volumes": {
+ "description": "User specified volumes.",
+ "items": {
+ "$ref": "Volume"
+ },
+ "type": "array"
+ }
+ },
"type": "object"
},
- "FileInfo": {
- "description": "Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.",
- "id": "FileInfo",
+ "Volume": {
+ "description": "Volumes mounted within the app container. Only applicable for VM runtimes.",
+ "id": "Volume",
"properties": {
+ "name": {
+ "description": "Unique name for the volume.",
+ "type": "string"
+ },
+ "volumeType": {
+ "description": "Underlying volume type, e.g. 'tmpfs'.",
+ "type": "string"
+ },
+ "sizeGb": {
+ "description": "Volume size in gigabytes.",
+ "format": "double",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "UrlMap": {
+ "description": "URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript.",
+ "id": "UrlMap",
+ "properties": {
+ "urlRegex": {
+ "description": "URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.",
+ "type": "string"
+ },
+ "staticFiles": {
+ "$ref": "StaticFilesHandler",
+ "description": "Returns the contents of a file, such as an image, as the response."
+ },
+ "script": {
+ "$ref": "ScriptHandler",
+ "description": "Executes a script to handle the request that matches this URL pattern."
+ },
+ "apiEndpoint": {
+ "$ref": "ApiEndpointHandler",
+ "description": "Uses API Endpoints to handle requests."
+ },
+ "securityLevel": {
+ "description": "Security (HTTPS) enforcement for this URL.",
+ "enum": [
+ "SECURE_UNSPECIFIED",
+ "SECURE_DEFAULT",
+ "SECURE_NEVER",
+ "SECURE_OPTIONAL",
+ "SECURE_ALWAYS"
+ ],
+ "type": "string"
+ },
+ "login": {
+ "description": "Level of login required to access this resource.",
+ "enum": [
+ "LOGIN_UNSPECIFIED",
+ "LOGIN_OPTIONAL",
+ "LOGIN_ADMIN",
+ "LOGIN_REQUIRED"
+ ],
+ "type": "string"
+ },
+ "authFailAction": {
+ "description": "Action to take when users access resources that require authentication. Defaults to redirect.",
+ "enum": [
+ "AUTH_FAIL_ACTION_UNSPECIFIED",
+ "AUTH_FAIL_ACTION_REDIRECT",
+ "AUTH_FAIL_ACTION_UNAUTHORIZED"
+ ],
+ "type": "string"
+ },
+ "redirectHttpResponseCode": {
+ "description": "30x code to use when performing redirects for the secure field. Defaults to 302.",
+ "enum": [
+ "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED",
+ "REDIRECT_HTTP_RESPONSE_CODE_301",
+ "REDIRECT_HTTP_RESPONSE_CODE_302",
+ "REDIRECT_HTTP_RESPONSE_CODE_303",
+ "REDIRECT_HTTP_RESPONSE_CODE_307"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "StaticFilesHandler": {
+ "description": "Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them.",
+ "id": "StaticFilesHandler",
+ "properties": {
+ "path": {
+ "description": "Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.",
+ "type": "string"
+ },
+ "uploadPathRegex": {
+ "description": "Regular expression that matches the file paths for all files that should be referenced by this handler.",
+ "type": "string"
+ },
+ "httpHeaders": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "HTTP headers to use for all responses from these URLs.",
+ "type": "object"
+ },
"mimeType": {
- "description": "The MIME type of the file.Defaults to the value from Google Cloud Storage.",
+ "description": "MIME type used to serve all files served by this handler.Defaults to file-specific MIME types, which are derived from each file's filename extension.",
"type": "string"
},
- "sourceUrl": {
- "description": "URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.",
+ "expiration": {
+ "description": "Time a static file served by this handler should be cached by web proxies and browsers.",
"type": "string"
},
- "sha1Sum": {
- "description": "The SHA1 hash of the file, in hex.",
- "type": "string"
+ "requireMatchingFile": {
+ "description": "Whether this handler should match the request if the file referenced by the handler does not exist.",
+ "type": "boolean"
+ },
+ "applicationReadable": {
+ "description": "Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.",
+ "type": "boolean"
}
},
"type": "object"
@@ -2107,147 +2122,207 @@
},
"type": "object"
},
- "OperationMetadataExperimental": {
- "description": "Metadata for the given google.longrunning.Operation.",
- "id": "OperationMetadataExperimental",
+ "ApiEndpointHandler": {
+ "description": "Uses Google Cloud Endpoints to handle requests.",
+ "id": "ApiEndpointHandler",
"properties": {
- "user": {
- "description": "User who requested this operation.@OutputOnly",
- "type": "string"
- },
- "target": {
- "description": "Name of the resource that this operation is acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly",
- "type": "string"
- },
- "method": {
- "description": "API method that initiated this operation. Example: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnly",
- "type": "string"
- },
- "insertTime": {
- "description": "Time that this operation was created.@OutputOnly",
- "format": "google-datetime",
- "type": "string"
- },
- "endTime": {
- "description": "Time that this operation completed.@OutputOnly",
- "format": "google-datetime",
+ "scriptPath": {
+ "description": "Path to the script from the application root directory.",
"type": "string"
}
},
"type": "object"
},
- "TrafficSplit": {
- "description": "Traffic routing configuration for versions within a single service. Traffic splits define how traffic directed to the service is assigned to versions.",
- "id": "TrafficSplit",
+ "ErrorHandler": {
+ "description": "Custom static error page to be served when an error occurs.",
+ "id": "ErrorHandler",
"properties": {
- "shardBy": {
- "description": "Mechanism used to determine which version a request is sent to. The traffic selection algorithm will be stable for either type until allocations are changed.",
+ "errorCode": {
+ "description": "Error condition this handler applies to.",
"enum": [
- "UNSPECIFIED",
- "COOKIE",
- "IP"
- ],
- "enumDescriptions": [
- "Diversion method unspecified.",
- "Diversion based on a specially named cookie, \"GOOGAPPUID.\" The cookie must be set by the application itself or no diversion will occur.",
- "Diversion based on applying the modulus operation to a fingerprint of the IP address."
+ "ERROR_CODE_UNSPECIFIED",
+ "ERROR_CODE_DEFAULT",
+ "ERROR_CODE_OVER_QUOTA",
+ "ERROR_CODE_DOS_API_DENIAL",
+ "ERROR_CODE_TIMEOUT"
],
"type": "string"
},
- "allocations": {
- "additionalProperties": {
- "format": "double",
- "type": "number"
- },
- "description": "Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the service may not have any traffic allocation. Services that have traffic allocated cannot be deleted until either the service is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up to three decimal places is supported for cookie-based splits.",
- "type": "object"
- }
- },
- "type": "object"
- },
- "OperationMetadataV1Beta": {
- "description": "Metadata for the given google.longrunning.Operation.",
- "id": "OperationMetadataV1Beta",
- "properties": {
- "warning": {
- "description": "Durable messages that persist on every operation poll. @OutputOnly",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "insertTime": {
- "description": "Time that this operation was created.@OutputOnly",
- "format": "google-datetime",
+ "staticFile": {
+ "description": "Static file content to be served for this error.",
"type": "string"
},
- "target": {
- "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
- "type": "string"
- },
- "user": {
- "description": "User who requested this operation.@OutputOnly",
- "type": "string"
- },
- "ephemeralMessage": {
- "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly",
- "type": "string"
- },
- "method": {
- "description": "API method that initiated this operation. Example: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly",
- "type": "string"
- },
- "endTime": {
- "description": "Time that this operation completed.@OutputOnly",
- "format": "google-datetime",
+ "mimeType": {
+ "description": "MIME type of file. Defaults to text/html.",
"type": "string"
}
},
"type": "object"
},
- "ListServicesResponse": {
- "description": "Response message for Services.ListServices.",
- "id": "ListServicesResponse",
+ "Library": {
+ "description": "Third-party Python runtime library that is required by the application.",
+ "id": "Library",
"properties": {
- "services": {
- "description": "The services belonging to the requested application.",
- "items": {
- "$ref": "Service"
- },
- "type": "array"
+ "name": {
+ "description": "Name of the library. Example: \"django\".",
+ "type": "string"
},
- "nextPageToken": {
- "description": "Continuation token for fetching the next page of results.",
+ "version": {
+ "description": "Version of the library to select, or \"latest\".",
"type": "string"
}
},
"type": "object"
},
- "Resources": {
- "description": "Machine resources for a version.",
- "id": "Resources",
+ "ApiConfigHandler": {
+ "description": "Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/) configuration for API handlers.",
+ "id": "ApiConfigHandler",
"properties": {
- "volumes": {
- "description": "User specified volumes.",
- "items": {
- "$ref": "Volume"
- },
- "type": "array"
+ "authFailAction": {
+ "description": "Action to take when users access resources that require authentication. Defaults to redirect.",
+ "enum": [
+ "AUTH_FAIL_ACTION_UNSPECIFIED",
+ "AUTH_FAIL_ACTION_REDIRECT",
+ "AUTH_FAIL_ACTION_UNAUTHORIZED"
+ ],
+ "type": "string"
},
- "diskGb": {
- "description": "Disk size (GB) needed.",
- "format": "double",
- "type": "number"
+ "login": {
+ "description": "Level of login required to access this resource. Defaults to optional.",
+ "enum": [
+ "LOGIN_UNSPECIFIED",
+ "LOGIN_OPTIONAL",
+ "LOGIN_ADMIN",
+ "LOGIN_REQUIRED"
+ ],
+ "type": "string"
},
- "cpu": {
- "description": "Number of CPU cores needed.",
- "format": "double",
- "type": "number"
+ "script": {
+ "description": "Path to the script from the application root directory.",
+ "type": "string"
},
- "memoryGb": {
- "description": "Memory (GB) needed.",
- "format": "double",
- "type": "number"
+ "securityLevel": {
+ "description": "Security (HTTPS) enforcement for this URL.",
+ "enum": [
+ "SECURE_UNSPECIFIED",
+ "SECURE_DEFAULT",
+ "SECURE_NEVER",
+ "SECURE_OPTIONAL",
+ "SECURE_ALWAYS"
+ ],
+ "type": "string"
+ },
+ "url": {
+ "description": "URL to serve the endpoint at.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "HealthCheck": {
+ "description": "Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.",
+ "id": "HealthCheck",
+ "properties": {
+ "disableHealthCheck": {
+ "description": "Whether to explicitly disable health checks for this instance.",
+ "type": "boolean"
+ },
+ "host": {
+ "description": "Host header to send when performing an HTTP health check. Example: \"myapp.appspot.com\"",
+ "type": "string"
+ },
+ "healthyThreshold": {
+ "description": "Number of consecutive successful health checks required before receiving traffic.",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "unhealthyThreshold": {
+ "description": "Number of consecutive failed health checks required before removing traffic.",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "restartThreshold": {
+ "description": "Number of consecutive failed health checks required before an instance is restarted.",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "checkInterval": {
+ "description": "Interval between health checks.",
+ "type": "string"
+ },
+ "timeout": {
+ "description": "Time before the health check is considered failed.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ReadinessCheck": {
+ "description": "Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.",
+ "id": "ReadinessCheck",
+ "properties": {
+ "path": {
+ "description": "The request path.",
+ "type": "string"
+ },
+ "host": {
+ "description": "Host header to send when performing a HTTP Readiness check. Example: \"myapp.appspot.com\"",
+ "type": "string"
+ },
+ "failureThreshold": {
+ "description": "Number of consecutive failed checks required before removing traffic.",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "successThreshold": {
+ "description": "Number of consecutive successful checks required before receiving traffic.",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "checkInterval": {
+ "description": "Interval between health checks.",
+ "type": "string"
+ },
+ "timeout": {
+ "description": "Time before the check is considered failed.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "LivenessCheck": {
+ "description": "Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.",
+ "id": "LivenessCheck",
+ "properties": {
+ "path": {
+ "description": "The request path.",
+ "type": "string"
+ },
+ "host": {
+ "description": "Host header to send when performing a HTTP Liveness check. Example: \"myapp.appspot.com\"",
+ "type": "string"
+ },
+ "failureThreshold": {
+ "description": "Number of consecutive failed checks required before considering the VM unhealthy.",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "successThreshold": {
+ "description": "Number of consecutive successful checks required before considering the VM healthy.",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "checkInterval": {
+ "description": "Interval between health checks.",
+ "type": "string"
+ },
+ "timeout": {
+ "description": "Time before the check is considered failed.",
+ "type": "string"
+ },
+ "initialDelay": {
+ "description": "The initial delay before starting to execute the checks.",
+ "type": "string"
}
},
"type": "object"
@@ -2256,39 +2331,80 @@
"description": "Code and application artifacts used to deploy a version to App Engine.",
"id": "Deployment",
"properties": {
- "zip": {
- "$ref": "ZipInfo",
- "description": "The zip file for this deployment, if this is a zip deployment."
- },
- "container": {
- "$ref": "ContainerInfo",
- "description": "The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment."
- },
"files": {
"additionalProperties": {
"$ref": "FileInfo"
},
"description": "Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.",
"type": "object"
+ },
+ "container": {
+ "$ref": "ContainerInfo",
+ "description": "The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment."
+ },
+ "zip": {
+ "$ref": "ZipInfo",
+ "description": "The zip file for this deployment, if this is a zip deployment."
}
},
"type": "object"
},
- "Volume": {
- "description": "Volumes mounted within the app container. Only applicable for VM runtimes.",
- "id": "Volume",
+ "FileInfo": {
+ "description": "Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.",
+ "id": "FileInfo",
"properties": {
- "sizeGb": {
- "description": "Volume size in gigabytes.",
- "format": "double",
- "type": "number"
- },
- "name": {
- "description": "Unique name for the volume.",
+ "sourceUrl": {
+ "description": "URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com//'.",
"type": "string"
},
- "volumeType": {
- "description": "Underlying volume type, e.g. 'tmpfs'.",
+ "sha1Sum": {
+ "description": "The SHA1 hash of the file, in hex.",
+ "type": "string"
+ },
+ "mimeType": {
+ "description": "The MIME type of the file.Defaults to the value from Google Cloud Storage.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ContainerInfo": {
+ "description": "Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment.",
+ "id": "ContainerInfo",
+ "properties": {
+ "image": {
+ "description": "URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: \"gcr.io/my-project/image:tag\" or \"gcr.io/my-project/image@digest\"",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ZipInfo": {
+ "description": "The zip file information for a zip deployment.",
+ "id": "ZipInfo",
+ "properties": {
+ "sourceUrl": {
+ "description": "URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com//'.",
+ "type": "string"
+ },
+ "filesCount": {
+ "description": "An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "EndpointsApiService": {
+ "description": "Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy.The fields here refer to the name and configuration id of a \"service\" resource in the Service Management API (https://cloud.google.com/service-management/overview).",
+ "id": "EndpointsApiService",
+ "properties": {
+ "name": {
+ "description": "Endpoints service name which is the name of the \"service\" resource in the Service Management API. For example \"myapi.endpoints.myproject.cloud.goog\"",
+ "type": "string"
+ },
+ "configId": {
+ "description": "Endpoints service configuration id as specified by the Service Management API. For example \"2016-09-19r1\"",
"type": "string"
}
},
@@ -2312,22 +2428,443 @@
},
"type": "object"
},
- "OperationMetadataV1Alpha": {
- "description": "Metadata for the given google.longrunning.Operation.",
- "id": "OperationMetadataV1Alpha",
+ "Instance": {
+ "description": "An Instance resource is the computing unit that App Engine uses to automatically scale an application.",
+ "id": "Instance",
"properties": {
- "insertTime": {
- "description": "Time that this operation was created.@OutputOnly",
- "format": "google-datetime",
+ "name": {
+ "description": "Full path to the Instance resource in the API. Example: apps/myapp/services/default/versions/v1/instances/instance-1.@OutputOnly",
"type": "string"
},
- "warning": {
- "description": "Durable messages that persist on every operation poll. @OutputOnly",
+ "id": {
+ "description": "Relative name of the instance within the version. Example: instance-1.@OutputOnly",
+ "type": "string"
+ },
+ "appEngineRelease": {
+ "description": "App Engine release this instance is running on.@OutputOnly",
+ "type": "string"
+ },
+ "availability": {
+ "description": "Availability of the instance.@OutputOnly",
+ "enum": [
+ "UNSPECIFIED",
+ "RESIDENT",
+ "DYNAMIC"
+ ],
+ "type": "string"
+ },
+ "vmName": {
+ "description": "Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.@OutputOnly",
+ "type": "string"
+ },
+ "vmZoneName": {
+ "description": "Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment.@OutputOnly",
+ "type": "string"
+ },
+ "vmId": {
+ "description": "Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment.@OutputOnly",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "Time that this instance was started.@OutputOnly",
+ "type": "string"
+ },
+ "requests": {
+ "description": "Number of requests since this instance was started.@OutputOnly",
+ "format": "int32",
+ "type": "integer"
+ },
+ "errors": {
+ "description": "Number of errors since this instance was started.@OutputOnly",
+ "format": "int32",
+ "type": "integer"
+ },
+ "qps": {
+ "description": "Average queries per second (QPS) over the last minute.@OutputOnly",
+ "format": "float",
+ "type": "number"
+ },
+ "averageLatency": {
+ "description": "Average latency (ms) over the last minute.@OutputOnly",
+ "format": "int32",
+ "type": "integer"
+ },
+ "memoryUsage": {
+ "description": "Total memory in use (bytes).@OutputOnly",
+ "format": "int64",
+ "type": "string"
+ },
+ "vmStatus": {
+ "description": "Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.@OutputOnly",
+ "type": "string"
+ },
+ "vmDebugEnabled": {
+ "description": "Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment.@OutputOnly",
+ "type": "boolean"
+ },
+ "vmIp": {
+ "description": "The IP address of this instance. Only applicable for instances in App Engine flexible environment.@OutputOnly",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DebugInstanceRequest": {
+ "description": "Request message for Instances.DebugInstance.",
+ "id": "DebugInstanceRequest",
+ "properties": {
+ "sshKey": {
+ "description": "Public SSH key to add to the instance. Examples: [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME] [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {\"userName\":\"[USERNAME]\",\"expireOn\":\"[EXPIRE_TIME]\"}For more information, see Adding and Removing SSH Keys (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys).",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListAuthorizedDomainsResponse": {
+ "description": "Response message for AuthorizedDomains.ListAuthorizedDomains.",
+ "id": "ListAuthorizedDomainsResponse",
+ "properties": {
+ "domains": {
+ "description": "The authorized domains belonging to the user.",
+ "items": {
+ "$ref": "AuthorizedDomain"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Continuation token for fetching the next page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AuthorizedDomain": {
+ "description": "A domain that a user has been authorized to administer. To authorize use of a domain, verify ownership via Webmaster Central (https://www.google.com/webmasters/verification/home).",
+ "id": "AuthorizedDomain",
+ "properties": {
+ "name": {
+ "description": "Full path to the AuthorizedDomain resource in the API. Example: apps/myapp/authorizedDomains/example.com.@OutputOnly",
+ "type": "string"
+ },
+ "id": {
+ "description": "Fully qualified domain name of the domain authorized for use. Example: example.com.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListAuthorizedCertificatesResponse": {
+ "description": "Response message for AuthorizedCertificates.ListAuthorizedCertificates.",
+ "id": "ListAuthorizedCertificatesResponse",
+ "properties": {
+ "certificates": {
+ "description": "The SSL certificates the user is authorized to administer.",
+ "items": {
+ "$ref": "AuthorizedCertificate"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Continuation token for fetching the next page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AuthorizedCertificate": {
+ "description": "An SSL certificate that a user has been authorized to administer. A user is authorized to administer any certificate that applies to one of their authorized domains.",
+ "id": "AuthorizedCertificate",
+ "properties": {
+ "name": {
+ "description": "Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.@OutputOnly",
+ "type": "string"
+ },
+ "id": {
+ "description": "Relative name of the certificate. This is a unique value autogenerated on AuthorizedCertificate resource creation. Example: 12345.@OutputOnly",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.",
+ "type": "string"
+ },
+ "domainNames": {
+ "description": "Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.@OutputOnly",
"items": {
"type": "string"
},
"type": "array"
},
+ "expireTime": {
+ "description": "The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.@OutputOnly",
+ "type": "string"
+ },
+ "certificateRawData": {
+ "$ref": "CertificateRawData",
+ "description": "The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority."
+ },
+ "visibleDomainMappings": {
+ "description": "The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET requests when specifically requested by the view=FULL option.@OutputOnly",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "domainMappingsCount": {
+ "description": "Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET requests when specifically requested by the view=FULL option.@OutputOnly",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "CertificateRawData": {
+ "description": "An SSL certificate obtained from a certificate authority.",
+ "id": "CertificateRawData",
+ "properties": {
+ "publicCertificate": {
+ "description": "PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example:\n-----BEGIN CERTIFICATE----- -----END CERTIFICATE-----",
+ "type": "string"
+ },
+ "privateKey": {
+ "description": "Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example:\n-----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY-----\n@InputOnly",
+ "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); } The JSON representation for Empty is empty JSON object {}.",
+ "id": "Empty",
+ "type": "object"
+ },
+ "ListDomainMappingsResponse": {
+ "description": "Response message for DomainMappings.ListDomainMappings.",
+ "id": "ListDomainMappingsResponse",
+ "properties": {
+ "domainMappings": {
+ "description": "The domain mappings for the application.",
+ "items": {
+ "$ref": "DomainMapping"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Continuation token for fetching the next page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DomainMapping": {
+ "description": "A domain serving an App Engine application.",
+ "id": "DomainMapping",
+ "properties": {
+ "name": {
+ "description": "Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.@OutputOnly",
+ "type": "string"
+ },
+ "id": {
+ "description": "Relative name of the domain serving the application. Example: example.com.",
+ "type": "string"
+ },
+ "sslSettings": {
+ "$ref": "SslSettings",
+ "description": "SSL configuration for this domain. If unconfigured, this domain will not serve with SSL."
+ },
+ "resourceRecords": {
+ "description": "The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping.@OutputOnly",
+ "items": {
+ "$ref": "ResourceRecord"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SslSettings": {
+ "description": "SSL configuration for a DomainMapping resource.",
+ "id": "SslSettings",
+ "properties": {
+ "certificateId": {
+ "description": "ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support. Example: 12345.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ResourceRecord": {
+ "description": "A DNS resource record.",
+ "id": "ResourceRecord",
+ "properties": {
+ "name": {
+ "description": "Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.",
+ "type": "string"
+ },
+ "rrdata": {
+ "description": "Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).",
+ "type": "string"
+ },
+ "type": {
+ "description": "Resource record type. Example: AAAA.",
+ "enum": [
+ "A",
+ "AAAA",
+ "CNAME"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListLocationsResponse": {
+ "description": "The response message for Locations.ListLocations.",
+ "id": "ListLocationsResponse",
+ "properties": {
+ "locations": {
+ "description": "A list of locations that matches the specified filter in the request.",
+ "items": {
+ "$ref": "Location"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "The standard List next-page token.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Location": {
+ "description": "A resource that represents Google Cloud Platform location.",
+ "id": "Location",
+ "properties": {
+ "name": {
+ "description": "Resource name for the location, which may vary between implementations. For example: \"projects/example-project/locations/us-east1\"",
+ "type": "string"
+ },
+ "locationId": {
+ "description": "The canonical id for this location. For example: \"us-east1\".",
+ "type": "string"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}",
+ "type": "object"
+ },
+ "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"
+ }
+ },
+ "type": "object"
+ },
+ "OperationMetadataExperimental": {
+ "description": "Metadata for the given google.longrunning.Operation.",
+ "id": "OperationMetadataExperimental",
+ "properties": {
+ "method": {
+ "description": "API method that initiated this operation. Example: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnly",
+ "type": "string"
+ },
+ "insertTime": {
+ "description": "Time that this operation was created.@OutputOnly",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Time that this operation completed.@OutputOnly",
+ "type": "string"
+ },
+ "user": {
+ "description": "User who requested this operation.@OutputOnly",
+ "type": "string"
+ },
+ "target": {
+ "description": "Name of the resource that this operation is acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OperationMetadata": {
+ "description": "Metadata for the given google.longrunning.Operation.",
+ "id": "OperationMetadata",
+ "properties": {
+ "operationType": {
+ "description": "Type of this operation. Deprecated, use method field instead. Example: \"create_version\".@OutputOnly",
+ "type": "string"
+ },
+ "insertTime": {
+ "description": "Timestamp that this operation was created.@OutputOnly",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Timestamp that this operation completed.@OutputOnly",
+ "type": "string"
+ },
+ "user": {
+ "description": "User who requested this operation.@OutputOnly",
+ "type": "string"
+ },
+ "target": {
+ "description": "Name of the resource that this operation is acting on. Example: apps/myapp/modules/default.@OutputOnly",
+ "type": "string"
+ },
+ "method": {
+ "description": "API method that initiated this operation. Example: google.appengine.v1beta4.Version.CreateVersion.@OutputOnly",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OperationMetadataV1Beta5": {
+ "description": "Metadata for the given google.longrunning.Operation.",
+ "id": "OperationMetadataV1Beta5",
+ "properties": {
+ "method": {
+ "description": "API method name that initiated this operation. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly",
+ "type": "string"
+ },
+ "insertTime": {
+ "description": "Timestamp that this operation was created.@OutputOnly",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Timestamp that this operation completed.@OutputOnly",
+ "type": "string"
+ },
+ "user": {
+ "description": "User who requested this operation.@OutputOnly",
+ "type": "string"
+ },
+ "target": {
+ "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OperationMetadataV1Beta": {
+ "description": "Metadata for the given google.longrunning.Operation.",
+ "id": "OperationMetadataV1Beta",
+ "properties": {
+ "method": {
+ "description": "API method that initiated this operation. Example: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly",
+ "type": "string"
+ },
+ "insertTime": {
+ "description": "Time that this operation was created.@OutputOnly",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Time that this operation completed.@OutputOnly",
+ "type": "string"
+ },
"user": {
"description": "User who requested this operation.@OutputOnly",
"type": "string"
@@ -2340,156 +2877,65 @@
"description": "Ephemeral message that may change every time the operation is polled. @OutputOnly",
"type": "string"
},
+ "warning": {
+ "description": "Durable messages that persist on every operation poll. @OutputOnly",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "OperationMetadataV1": {
+ "description": "Metadata for the given google.longrunning.Operation.",
+ "id": "OperationMetadataV1",
+ "properties": {
"method": {
- "description": "API method that initiated this operation. Example: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly",
+ "description": "API method that initiated this operation. Example: google.appengine.v1.Versions.CreateVersion.@OutputOnly",
+ "type": "string"
+ },
+ "insertTime": {
+ "description": "Time that this operation was created.@OutputOnly",
"type": "string"
},
"endTime": {
"description": "Time that this operation completed.@OutputOnly",
- "format": "google-datetime",
- "type": "string"
- }
- },
- "type": "object"
- },
- "UrlDispatchRule": {
- "description": "Rules to match an HTTP request and dispatch that request to a service.",
- "id": "UrlDispatchRule",
- "properties": {
- "path": {
- "description": "Pathname within the host. Must start with a \"/\". A single \"*\" can be included at the end of the path. The sum of the lengths of the domain and path may not exceed 100 characters.",
"type": "string"
},
- "domain": {
- "description": "Domain name to match against. The wildcard \"*\" is supported if specified before a period: \"*.\".Defaults to matching all domains: \"*\".",
+ "user": {
+ "description": "User who requested this operation.@OutputOnly",
"type": "string"
},
- "service": {
- "description": "Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.",
+ "target": {
+ "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
"type": "string"
- }
- },
- "type": "object"
- },
- "ListVersionsResponse": {
- "description": "Response message for Versions.ListVersions.",
- "id": "ListVersionsResponse",
- "properties": {
- "versions": {
- "description": "The versions belonging to the requested service.",
+ },
+ "ephemeralMessage": {
+ "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly",
+ "type": "string"
+ },
+ "warning": {
+ "description": "Durable messages that persist on every operation poll. @OutputOnly",
"items": {
- "$ref": "Version"
+ "type": "string"
},
"type": "array"
- },
- "nextPageToken": {
- "description": "Continuation token for fetching the next page of results.",
- "type": "string"
}
},
"type": "object"
},
- "ApiEndpointHandler": {
- "description": "Uses Google Cloud Endpoints to handle requests.",
- "id": "ApiEndpointHandler",
+ "LocationMetadata": {
+ "description": "Metadata for the given google.cloud.location.Location.",
+ "id": "LocationMetadata",
"properties": {
- "scriptPath": {
- "description": "Path to the script from the application root directory.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ZipInfo": {
- "description": "The zip file information for a zip deployment.",
- "id": "ZipInfo",
- "properties": {
- "sourceUrl": {
- "description": "URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.",
- "type": "string"
+ "standardEnvironmentAvailable": {
+ "description": "App Engine Standard Environment is available in the given location.@OutputOnly",
+ "type": "boolean"
},
- "filesCount": {
- "description": "An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "AutomaticScaling": {
- "description": "Automatic scaling is based on request rate, response latencies, and other application metrics.",
- "id": "AutomaticScaling",
- "properties": {
- "minPendingLatency": {
- "description": "Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.",
- "format": "google-duration",
- "type": "string"
- },
- "requestUtilization": {
- "$ref": "RequestUtilization",
- "description": "Target scaling by request utilization."
- },
- "maxIdleInstances": {
- "description": "Maximum number of idle instances that should be maintained for this version.",
- "format": "int32",
- "type": "integer"
- },
- "minIdleInstances": {
- "description": "Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.",
- "format": "int32",
- "type": "integer"
- },
- "maxTotalInstances": {
- "description": "Maximum number of instances that should be started to handle requests.",
- "format": "int32",
- "type": "integer"
- },
- "minTotalInstances": {
- "description": "Minimum number of instances that should be maintained for this version.",
- "format": "int32",
- "type": "integer"
- },
- "networkUtilization": {
- "$ref": "NetworkUtilization",
- "description": "Target scaling by network usage."
- },
- "maxConcurrentRequests": {
- "description": "Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value.",
- "format": "int32",
- "type": "integer"
- },
- "coolDownPeriod": {
- "description": "Amount of time that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait between changes to the number of virtual machines. Only applicable for VM runtimes.",
- "format": "google-duration",
- "type": "string"
- },
- "maxPendingLatency": {
- "description": "Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.",
- "format": "google-duration",
- "type": "string"
- },
- "cpuUtilization": {
- "$ref": "CpuUtilization",
- "description": "Target scaling by CPU usage."
- },
- "diskUtilization": {
- "$ref": "DiskUtilization",
- "description": "Target scaling by disk usage."
- }
- },
- "type": "object"
- },
- "Library": {
- "description": "Third-party Python runtime library that is required by the application.",
- "id": "Library",
- "properties": {
- "version": {
- "description": "Version of the library to select, or \"latest\".",
- "type": "string"
- },
- "name": {
- "description": "Name of the library. Example: \"django\".",
- "type": "string"
+ "flexibleEnvironmentAvailable": {
+ "description": "App Engine Flexible Environment is available in the given location.@OutputOnly",
+ "type": "boolean"
}
},
"type": "object"
diff --git a/discovery/googleapis_beta/appengine__v1beta4.json b/discovery/googleapis_beta/appengine__v1beta4.json
index 6972199..82b13ae 100644
--- a/discovery/googleapis_beta/appengine__v1beta4.json
+++ b/discovery/googleapis_beta/appengine__v1beta4.json
@@ -20,7 +20,7 @@
"description": "Provisions and manages App Engine applications.",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/appengine/docs/admin-api/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/WPOHGBs1fdHtwU9urrOWmhzm9OM\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Se7Ars-pJUGCXY_MujlPxE-KCds\"",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
@@ -114,7 +114,7 @@
"apps": {
"methods": {
"create": {
- "description": "Creates an App Engine application for a Google Cloud Platform project. This requires a project that excludes an App Engine application. For details about creating a project without an application, see the Google Cloud Resource Manager create project topic (https://cloud.google.com/resource-manager/docs/creating-project).",
+ "description": "Creates an App Engine application for a Google Cloud Platform project. Required fields: id - The ID of the target Cloud Platform project. location - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/python/console/).",
"httpMethod": "POST",
"id": "appengine.apps.create",
"path": "v1beta4/apps",
@@ -393,7 +393,7 @@
"type": "string"
},
"migrateTraffic": {
- "description": "Set to true to gradually shift traffic from one version to another single version. By default, traffic is shifted immediately. For gradual traffic migration, the target version must be located within instances that are configured for both warmup requests (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.versions#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.versions#automaticscaling). You must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules#shardby) field in the Module resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).",
+ "description": "Set to true to gradually shift traffic to one or more versions that you specify. By default, traffic is shifted immediately. For gradual traffic migration, the target versions must be located within instances that are configured for both warmup requests (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.versions#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.versions#automaticscaling). You must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules#shardby) field in the Module resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).",
"location": "query",
"type": "boolean"
}
@@ -723,7 +723,7 @@
]
},
"list": {
- "description": "Lists the instances of a version.",
+ "description": "Lists the instances of a version.Tip: To aggregate details about instances over time, see the Stackdriver Monitoring API (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).",
"httpMethod": "GET",
"id": "appengine.apps.modules.versions.instances.list",
"parameterOrder": [
@@ -905,7 +905,7 @@
}
}
},
- "revision": "20161208",
+ "revision": "20170324",
"rootUrl": "https://appengine.googleapis.com/",
"schemas": {
"ListOperationsResponse": {
@@ -1030,6 +1030,9 @@
"defaultBucket": {
"description": "Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly",
"type": "string"
+ },
+ "iap": {
+ "$ref": "IdentityAwareProxy"
}
},
"type": "object"
@@ -1053,6 +1056,29 @@
},
"type": "object"
},
+ "IdentityAwareProxy": {
+ "description": "Identity-Aware Proxy",
+ "id": "IdentityAwareProxy",
+ "properties": {
+ "enabled": {
+ "description": "Whether the serving infrastructure will authenticate and authorize all incoming requests.If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty.",
+ "type": "boolean"
+ },
+ "oauth2ClientId": {
+ "description": "OAuth2 client ID to use for the authentication flow.",
+ "type": "string"
+ },
+ "oauth2ClientSecret": {
+ "description": "For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha256 field.@InputOnly",
+ "type": "string"
+ },
+ "oauth2ClientSecretSha256": {
+ "description": "Hex-encoded SHA-256 hash of the client secret.@OutputOnly",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Version": {
"description": "A Version resource is a specific set of source code and configuration files that are deployed into a module.",
"id": "Version",
@@ -1754,7 +1780,7 @@
},
"container": {
"$ref": "ContainerInfo",
- "description": "A Docker image that App Engine uses the run the version. Only applicable for instances in App Engine flexible environment."
+ "description": "The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment."
},
"sourceReferences": {
"description": "Origin of the source code for this deployment. There can be more than one source reference per version if source code is distributed among multiple repositories.",
@@ -1786,11 +1812,11 @@
"type": "object"
},
"ContainerInfo": {
- "description": "Docker image that is used to start a VM container for the version you deploy.",
+ "description": "Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment.",
"id": "ContainerInfo",
"properties": {
"image": {
- "description": "URI to the hosted container image in a Docker repository. The URI must be fully qualified and include a tag or digest. Examples: \"gcr.io/my-project/image:tag\" or \"gcr.io/my-project/image@digest\"",
+ "description": "URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: \"gcr.io/my-project/image:tag\" or \"gcr.io/my-project/image@digest\"",
"type": "string"
}
},
@@ -2001,7 +2027,7 @@
"type": "object"
},
"ListLocationsResponse": {
- "description": "The response message for LocationService.ListLocations.",
+ "description": "The response message for Locations.ListLocations.",
"id": "ListLocationsResponse",
"properties": {
"locations": {
@@ -2133,6 +2159,44 @@
},
"type": "object"
},
+ "OperationMetadataV1Beta": {
+ "description": "Metadata for the given google.longrunning.Operation.",
+ "id": "OperationMetadataV1Beta",
+ "properties": {
+ "method": {
+ "description": "API method that initiated this operation. Example: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly",
+ "type": "string"
+ },
+ "insertTime": {
+ "description": "Time that this operation was created.@OutputOnly",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Time that this operation completed.@OutputOnly",
+ "type": "string"
+ },
+ "user": {
+ "description": "User who requested this operation.@OutputOnly",
+ "type": "string"
+ },
+ "target": {
+ "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
+ "type": "string"
+ },
+ "ephemeralMessage": {
+ "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly",
+ "type": "string"
+ },
+ "warning": {
+ "description": "Durable messages that persist on every operation poll. @OutputOnly",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"OperationMetadataV1": {
"description": "Metadata for the given google.longrunning.Operation.",
"id": "OperationMetadataV1",
diff --git a/discovery/googleapis_beta/appengine__v1beta5.json b/discovery/googleapis_beta/appengine__v1beta5.json
index 9f0dc5f..15b0062 100644
--- a/discovery/googleapis_beta/appengine__v1beta5.json
+++ b/discovery/googleapis_beta/appengine__v1beta5.json
@@ -20,7 +20,7 @@
"description": "Provisions and manages App Engine applications.",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/appengine/docs/admin-api/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/UEz2jJACNpYPzXjVH7xBeGPwZAM\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/AFji6hGPcc-FYE_lDpM9fS8tpbM\"",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
@@ -114,7 +114,7 @@
"apps": {
"methods": {
"create": {
- "description": "Creates an App Engine application for a Google Cloud Platform project. This requires a project that excludes an App Engine application. For details about creating a project without an application, see the Google Cloud Resource Manager create project topic (https://cloud.google.com/resource-manager/docs/creating-project).",
+ "description": "Creates an App Engine application for a Google Cloud Platform project. Required fields: id - The ID of the target Cloud Platform project. location - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/python/console/).",
"httpMethod": "POST",
"id": "appengine.apps.create",
"path": "v1beta5/apps",
@@ -393,7 +393,7 @@
"type": "string"
},
"migrateTraffic": {
- "description": "Set to true to gradually shift traffic from one version to another single version. By default, traffic is shifted immediately. For gradual traffic migration, the target version must be located within instances that are configured for both warmup requests (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/apps.services.versions#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/apps.services.versions#automaticscaling). You must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/apps.services#shardby) field in the Service resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).",
+ "description": "Set to true to gradually shift traffic to one or more versions that you specify. By default, traffic is shifted immediately. For gradual traffic migration, the target versions must be located within instances that are configured for both warmup requests (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/apps.services.versions#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/apps.services.versions#automaticscaling). You must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/apps.services#shardby) field in the Service resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).",
"location": "query",
"type": "boolean"
}
@@ -723,7 +723,7 @@
]
},
"list": {
- "description": "Lists the instances of a version.",
+ "description": "Lists the instances of a version.Tip: To aggregate details about instances over time, see the Stackdriver Monitoring API (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).",
"httpMethod": "GET",
"id": "appengine.apps.services.versions.instances.list",
"parameterOrder": [
@@ -905,7 +905,7 @@
}
}
},
- "revision": "20161208",
+ "revision": "20170324",
"rootUrl": "https://appengine.googleapis.com/",
"schemas": {
"ListOperationsResponse": {
@@ -1030,6 +1030,9 @@
"defaultBucket": {
"description": "A Google Cloud Storage bucket that can be used by the application to store content.@OutputOnly",
"type": "string"
+ },
+ "iap": {
+ "$ref": "IdentityAwareProxy"
}
},
"type": "object"
@@ -1053,6 +1056,29 @@
},
"type": "object"
},
+ "IdentityAwareProxy": {
+ "description": "Identity-Aware Proxy",
+ "id": "IdentityAwareProxy",
+ "properties": {
+ "enabled": {
+ "description": "Whether the serving infrastructure will authenticate and authorize all incoming requests.If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty.",
+ "type": "boolean"
+ },
+ "oauth2ClientId": {
+ "description": "OAuth2 client ID to use for the authentication flow.",
+ "type": "string"
+ },
+ "oauth2ClientSecret": {
+ "description": "For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha256 field.@InputOnly",
+ "type": "string"
+ },
+ "oauth2ClientSecretSha256": {
+ "description": "Hex-encoded SHA-256 hash of the client secret.@OutputOnly",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Version": {
"description": "A Version resource is a specific set of source code and configuration files that are deployed into a service.",
"id": "Version",
@@ -1729,7 +1755,7 @@
},
"container": {
"$ref": "ContainerInfo",
- "description": "A Docker image that App Engine uses the run the version. Only applicable for instances in App Engine flexible environment."
+ "description": "The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment."
},
"sourceReferences": {
"description": "Origin of the source code for this deployment. There can be more than one source reference per version if source code is distributed among multiple repositories.",
@@ -1761,11 +1787,11 @@
"type": "object"
},
"ContainerInfo": {
- "description": "Docker image that is used to start a VM container for the version you deploy.",
+ "description": "Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment.",
"id": "ContainerInfo",
"properties": {
"image": {
- "description": "URI to the hosted container image in a Docker repository. The URI must be fully qualified and include a tag or digest. Examples: \"gcr.io/my-project/image:tag\" or \"gcr.io/my-project/image@digest\"",
+ "description": "URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: \"gcr.io/my-project/image:tag\" or \"gcr.io/my-project/image@digest\"",
"type": "string"
}
},
@@ -1991,7 +2017,7 @@
"type": "object"
},
"ListLocationsResponse": {
- "description": "The response message for LocationService.ListLocations.",
+ "description": "The response message for Locations.ListLocations.",
"id": "ListLocationsResponse",
"properties": {
"locations": {
@@ -2123,6 +2149,44 @@
},
"type": "object"
},
+ "OperationMetadataV1Beta": {
+ "description": "Metadata for the given google.longrunning.Operation.",
+ "id": "OperationMetadataV1Beta",
+ "properties": {
+ "method": {
+ "description": "API method that initiated this operation. Example: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly",
+ "type": "string"
+ },
+ "insertTime": {
+ "description": "Time that this operation was created.@OutputOnly",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Time that this operation completed.@OutputOnly",
+ "type": "string"
+ },
+ "user": {
+ "description": "User who requested this operation.@OutputOnly",
+ "type": "string"
+ },
+ "target": {
+ "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
+ "type": "string"
+ },
+ "ephemeralMessage": {
+ "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly",
+ "type": "string"
+ },
+ "warning": {
+ "description": "Durable messages that persist on every operation poll. @OutputOnly",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"OperationMetadataV1": {
"description": "Metadata for the given google.longrunning.Operation.",
"id": "OperationMetadataV1",
diff --git a/discovery/googleapis_beta/clouderrorreporting__v1beta1.json b/discovery/googleapis_beta/clouderrorreporting__v1beta1.json
index 91e67d9..5ab14b5 100644
--- a/discovery/googleapis_beta/clouderrorreporting__v1beta1.json
+++ b/discovery/googleapis_beta/clouderrorreporting__v1beta1.json
@@ -25,55 +25,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "bearer_token": {
- "description": "OAuth bearer token.",
- "location": "query",
- "type": "string"
- },
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
- },
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
- "$.xgafv": {
- "description": "V1 error format.",
- "enum": [
- "1",
- "2"
- ],
- "enumDescriptions": [
- "v1 error format",
- "v2 error format"
- ],
- "location": "query",
- "type": "string"
- },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -90,13 +41,13 @@
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
+ "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"
},
- "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.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
},
@@ -110,6 +61,55 @@
"description": "Pretty-print response.",
"location": "query",
"type": "boolean"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
}
},
"protocol": "rest",
@@ -247,6 +247,11 @@
"location": "query",
"type": "integer"
},
+ "serviceFilter.version": {
+ "description": "[Optional] The exact value to match against\n[`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).",
+ "location": "query",
+ "type": "string"
+ },
"order": {
"description": "[Optional] The sort order in which the results are returned.\nDefault is `COUNT_DESC`.",
"enum": [
@@ -259,11 +264,6 @@
"location": "query",
"type": "string"
},
- "serviceFilter.version": {
- "description": "[Optional] The exact value to match against\n[`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).",
- "location": "query",
- "type": "string"
- },
"serviceFilter.resourceType": {
"description": "[Optional] The exact value to match against\n[`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).",
"location": "query",
@@ -306,33 +306,6 @@
},
"events": {
"methods": {
- "report": {
- "description": "Report an individual error event.\n\nThis endpoint accepts <strong>either</strong> an OAuth token,\n<strong>or</strong> an\n<a href=\"https://support.google.com/cloud/answer/6158862\">API key</a>\nfor authentication. To use an API key, append it to the URL as the value of\na `key` parameter. For example:\n<pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>",
- "httpMethod": "POST",
- "id": "clouderrorreporting.projects.events.report",
- "parameterOrder": [
- "projectName"
- ],
- "parameters": {
- "projectName": {
- "description": "[Required] The resource name of the Google Cloud Platform project. Written\nas `projects/` plus the\n[Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).\nExample: `projects/my-project-123`.",
- "location": "path",
- "pattern": "^projects/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+projectName}/events:report",
- "request": {
- "$ref": "ReportedErrorEvent"
- },
- "response": {
- "$ref": "ReportErrorEventResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
"list": {
"description": "Lists the specified events.",
"httpMethod": "GET",
@@ -341,6 +314,11 @@
"projectName"
],
"parameters": {
+ "serviceFilter.version": {
+ "description": "[Optional] The exact value to match against\n[`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).",
+ "location": "query",
+ "type": "string"
+ },
"serviceFilter.resourceType": {
"description": "[Optional] The exact value to match against\n[`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).",
"location": "query",
@@ -371,13 +349,13 @@
"location": "query",
"type": "string"
},
- "serviceFilter.service": {
- "description": "[Optional] The exact value to match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).",
+ "pageToken": {
+ "description": "[Optional] A `next_page_token` provided by a previous response.",
"location": "query",
"type": "string"
},
- "pageToken": {
- "description": "[Optional] A `next_page_token` provided by a previous response.",
+ "serviceFilter.service": {
+ "description": "[Optional] The exact value to match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).",
"location": "query",
"type": "string"
},
@@ -386,11 +364,6 @@
"format": "int32",
"location": "query",
"type": "integer"
- },
- "serviceFilter.version": {
- "description": "[Optional] The exact value to match against\n[`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).",
- "location": "query",
- "type": "string"
}
},
"path": "v1beta1/{+projectName}/events",
@@ -400,19 +373,56 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
+ },
+ "report": {
+ "description": "Report an individual error event.\n\nThis endpoint accepts <strong>either</strong> an OAuth token,\n<strong>or</strong> an\n<a href=\"https://support.google.com/cloud/answer/6158862\">API key</a>\nfor authentication. To use an API key, append it to the URL as the value of\na `key` parameter. For example:\n<pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>",
+ "httpMethod": "POST",
+ "id": "clouderrorreporting.projects.events.report",
+ "parameterOrder": [
+ "projectName"
+ ],
+ "parameters": {
+ "projectName": {
+ "description": "[Required] The resource name of the Google Cloud Platform project. Written\nas `projects/` plus the\n[Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).\nExample: `projects/my-project-123`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+projectName}/events:report",
+ "request": {
+ "$ref": "ReportedErrorEvent"
+ },
+ "response": {
+ "$ref": "ReportErrorEventResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
}
}
}
}
}
},
- "revision": "20170206",
+ "revision": "20170220",
"rootUrl": "https://clouderrorreporting.googleapis.com/",
"schemas": {
+ "DeleteEventsResponse": {
+ "description": "Response message for deleting error events.",
+ "id": "DeleteEventsResponse",
+ "properties": {},
+ "type": "object"
+ },
"ErrorEvent": {
"description": "An error event which is returned by the Error Reporting system.",
"id": "ErrorEvent",
"properties": {
+ "serviceContext": {
+ "$ref": "ServiceContext",
+ "description": "The `ServiceContext` for which this error was reported."
+ },
"eventTime": {
"description": "Time when the event occurred as provided in the error report.\nIf the report did not contain a timestamp, the time the error was received\nby the Error Reporting system is used.",
"format": "google-datetime",
@@ -425,10 +435,6 @@
"message": {
"description": "The stack trace that was reported or logged by the service.",
"type": "string"
- },
- "serviceContext": {
- "$ref": "ServiceContext",
- "description": "The `ServiceContext` for which this error was reported."
}
},
"type": "object"
@@ -437,6 +443,14 @@
"description": "An error event which is reported to the Error Reporting system.",
"id": "ReportedErrorEvent",
"properties": {
+ "context": {
+ "$ref": "ErrorContext",
+ "description": "[Optional] A description of the context in which the error occurred."
+ },
+ "message": {
+ "description": "[Required] The error message.\nIf no `context.reportLocation` is provided, the message must contain a\nheader (typically consisting of the exception type name and an error\nmessage) and an exception stack trace in one of the supported programming\nlanguages and formats.\nSupported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.\nSupported stack trace formats are:\n\n* **Java**: Must be the return value of [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29).\n* **Python**: Must be the return value of [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc).\n* **JavaScript**: Must be the value of [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API)\nas returned by V8.\n* **Ruby**: Must contain frames returned by [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace).\n* **C#**: Must be the return value of [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx).\n* **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`\nand contain the result of [`(string)$exception`](http://php.net/manual/en/exception.tostring.php).\n* **Go**: Must be the return value of [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack).",
+ "type": "string"
+ },
"serviceContext": {
"$ref": "ServiceContext",
"description": "[Required] The service context in which this error has occurred."
@@ -445,14 +459,6 @@
"description": "[Optional] Time when the event occurred.\nIf not provided, the time when the event was received by the\nError Reporting system will be used.",
"format": "google-datetime",
"type": "string"
- },
- "context": {
- "$ref": "ErrorContext",
- "description": "[Optional] A description of the context in which the error occurred."
- },
- "message": {
- "description": "[Required] The error message.\nIf no `context.reportLocation` is provided, the message must contain a\nheader (typically consisting of the exception type name and an error\nmessage) and an exception stack trace in one of the supported programming\nlanguages and formats.\nSupported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.\nSupported stack trace formats are:\n\n* **Java**: Must be the return value of [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29).\n* **Python**: Must be the return value of [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc).\n* **JavaScript**: Must be the value of [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API)\nas returned by V8.\n* **Ruby**: Must contain frames returned by [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace).\n* **C#**: Must be the return value of [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx).\n* **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`\nand contain the result of [`(string)$exception`](http://php.net/manual/en/exception.tostring.php).\n* **Go**: Must be the return value of [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack).",
- "type": "string"
}
},
"type": "object"
@@ -491,6 +497,18 @@
"description": "Data extracted for a specific group based on certain filter criteria,\nsuch as a given time period and/or service filter.",
"id": "ErrorGroupStats",
"properties": {
+ "affectedServices": {
+ "description": "Service contexts with a non-zero error count for the given filter\ncriteria. This list can be truncated if multiple services are affected.\nRefer to `num_affected_services` for the total count.",
+ "items": {
+ "$ref": "ServiceContext"
+ },
+ "type": "array"
+ },
+ "numAffectedServices": {
+ "description": "The total number of services with a non-zero error count for the given\nfilter criteria.",
+ "format": "int32",
+ "type": "integer"
+ },
"representative": {
"$ref": "ErrorEvent",
"description": "An arbitrary event that is chosen as representative for the whole group.\nThe representative event is intended to be used as a quick preview for\nthe whole group. Events in the group are usually sufficiently similar\nto each other such that showing an arbitrary representative provides\ninsight into the characteristics of the group as a whole."
@@ -525,18 +543,6 @@
"description": "Approximate number of affected users in the given group that\nmatch the filter criteria.\nUsers are distinguished by data in the `ErrorContext` of the\nindividual error events, such as their login name or their remote\nIP address in case of HTTP requests.\nThe number of affected users can be zero even if the number of\nerrors is non-zero if no data was provided from which the\naffected user could be deduced.\nUsers are counted based on data in the request\ncontext that was provided in the error report. If more users are\nimplicitly affected, such as due to a crash of the whole service,\nthis is not reflected here.",
"format": "int64",
"type": "string"
- },
- "affectedServices": {
- "description": "Service contexts with a non-zero error count for the given filter\ncriteria. This list can be truncated if multiple services are affected.\nRefer to `num_affected_services` for the total count.",
- "items": {
- "$ref": "ServiceContext"
- },
- "type": "array"
- },
- "numAffectedServices": {
- "description": "The total number of services with a non-zero error count for the given\nfilter criteria.",
- "format": "int32",
- "type": "integer"
}
},
"type": "object"
@@ -545,13 +551,6 @@
"description": "Contains a set of requested error events.",
"id": "ListEventsResponse",
"properties": {
- "errorEvents": {
- "description": "The error events which match the given request.",
- "items": {
- "$ref": "ErrorEvent"
- },
- "type": "array"
- },
"nextPageToken": {
"description": "If non-empty, more results are available.\nPass this token, along with the same query parameters as the first\nrequest, to view the next page of results.",
"type": "string"
@@ -560,6 +559,13 @@
"description": "The timestamp specifies the start time to which the request was restricted.",
"format": "google-datetime",
"type": "string"
+ },
+ "errorEvents": {
+ "description": "The error events which match the given request.",
+ "items": {
+ "$ref": "ErrorEvent"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -590,6 +596,10 @@
"description": "Description of a group of similar error events.",
"id": "ErrorGroup",
"properties": {
+ "name": {
+ "description": "The group resource name.\nExample: <code>projects/my-project-123/groups/my-groupid</code>",
+ "type": "string"
+ },
"groupId": {
"description": "Group IDs are unique for a given project. If the same kind of error\noccurs in different service contexts, it will receive the same group ID.",
"type": "string"
@@ -600,10 +610,6 @@
"$ref": "TrackingIssue"
},
"type": "array"
- },
- "name": {
- "description": "The group resource name.\nExample: <code>projects/my-project-123/groups/my-groupid</code>",
- "type": "string"
}
},
"type": "object"
@@ -612,11 +618,6 @@
"description": "Indicates a location in the source code of the service for which\nerrors are reported.\nThis data should be provided by the application when reporting an error,\nunless the error report has been generated automatically from Google App\nEngine logs. All fields are optional.",
"id": "SourceLocation",
"properties": {
- "lineNumber": {
- "description": "1-based. 0 indicates that the line number is unknown.",
- "format": "int32",
- "type": "integer"
- },
"functionName": {
"description": "Human-readable name of a function or method.\nThe value can include optional context like the class or package name.\nFor example, `my.package.MyClass.method` in case of Java.",
"type": "string"
@@ -624,6 +625,11 @@
"filePath": {
"description": "The source code filename, which can include a truncated relative\npath, or a full path from a production machine.",
"type": "string"
+ },
+ "lineNumber": {
+ "description": "1-based. 0 indicates that the line number is unknown.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -632,10 +638,6 @@
"description": "Describes a running service that sends errors.\nIts version changes over time and multiple versions can run in parallel.",
"id": "ServiceContext",
"properties": {
- "service": {
- "description": "An identifier of the service, such as the name of the\nexecutable, job, or Google App Engine service name. This field is expected\nto have a low number of values that are relatively stable over time, as\nopposed to `version`, which can be changed whenever new code is deployed.\n\nContains the service name for error reports extracted from Google\nApp Engine logs or `default` if the App Engine default service is used.",
- "type": "string"
- },
"resourceType": {
"description": "Type of the MonitoredResource. List of possible values:\nhttps://cloud.google.com/monitoring/api/resources\n\nValue is set automatically for incoming errors and must not be set when\nreporting errors.",
"type": "string"
@@ -643,6 +645,10 @@
"version": {
"description": "Represents the source code version that the developer provided,\nwhich could represent a version label or a Git SHA-1 hash, for example.",
"type": "string"
+ },
+ "service": {
+ "description": "An identifier of the service, such as the name of the\nexecutable, job, or Google App Engine service name. This field is expected\nto have a low number of values that are relatively stable over time, as\nopposed to `version`, which can be changed whenever new code is deployed.\n\nContains the service name for error reports extracted from Google\nApp Engine logs or `default` if the App Engine default service is used.",
+ "type": "string"
}
},
"type": "object"
@@ -657,6 +663,14 @@
"description": "HTTP request data that is related to a reported error.\nThis data should be provided by the application when reporting an error,\nunless the\nerror report has been generated automatically from Google App Engine logs.",
"id": "HttpRequestContext",
"properties": {
+ "method": {
+ "description": "The type of HTTP request, such as `GET`, `POST`, etc.",
+ "type": "string"
+ },
+ "remoteIp": {
+ "description": "The IP address from which the request originated.\nThis can be IPv4, IPv6, or a token which is derived from the\nIP address, depending on the data that has been provided\nin the error report.",
+ "type": "string"
+ },
"referrer": {
"description": "The referrer information that is provided with the request.",
"type": "string"
@@ -673,14 +687,6 @@
"description": "The HTTP response status code for the request.",
"format": "int32",
"type": "integer"
- },
- "method": {
- "description": "The type of HTTP request, such as `GET`, `POST`, etc.",
- "type": "string"
- },
- "remoteIp": {
- "description": "The IP address from which the request originated.\nThis can be IPv4, IPv6, or a token which is derived from the\nIP address, depending on the data that has been provided\nin the error report.",
- "type": "string"
}
},
"type": "object"
@@ -707,12 +713,6 @@
}
},
"type": "object"
- },
- "DeleteEventsResponse": {
- "description": "Response message for deleting error events.",
- "id": "DeleteEventsResponse",
- "properties": {},
- "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis_beta/cloudmonitoring__v2beta2.json b/discovery/googleapis_beta/cloudmonitoring__v2beta2.json
index 01b9af8..a9bc8c6 100644
--- a/discovery/googleapis_beta/cloudmonitoring__v2beta2.json
+++ b/discovery/googleapis_beta/cloudmonitoring__v2beta2.json
@@ -18,7 +18,7 @@
"description": "Accesses Google Cloud Monitoring data.",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/monitoring/v2beta2/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/G2aSt2tRL91TtYseboiMo8dfL84\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/dLDZTdl1jn1shJ_QgCYpv_Kevvc\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -411,7 +411,7 @@
}
}
},
- "revision": "20170219",
+ "revision": "20170323",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"DeleteMetricDescriptorResponse": {
diff --git a/discovery/googleapis_beta/cloudresourcemanager__v1beta1.json b/discovery/googleapis_beta/cloudresourcemanager__v1beta1.json
index 9a46e5c..04c1b7b 100644
--- a/discovery/googleapis_beta/cloudresourcemanager__v1beta1.json
+++ b/discovery/googleapis_beta/cloudresourcemanager__v1beta1.json
@@ -28,58 +28,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "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"
- },
- "access_token": {
- "description": "OAuth access token.",
- "location": "query",
- "type": "string"
- },
- "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"
- },
- "pp": {
- "default": "true",
- "description": "Pretty-print response.",
- "location": "query",
- "type": "boolean"
- },
- "bearer_token": {
- "description": "OAuth bearer token.",
- "location": "query",
- "type": "string"
- },
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
- },
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
"$.xgafv": {
"description": "V1 error format.",
"enum": [
@@ -113,34 +61,172 @@
],
"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"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "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"
+ },
+ "pp": {
+ "default": "true",
+ "description": "Pretty-print response.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
}
},
"protocol": "rest",
"resources": {
"organizations": {
"methods": {
- "getIamPolicy": {
- "description": "Gets the access control policy for an Organization resource. May be empty\nif no such policy or resource exists. The `resource` field should be the\norganization's resource name, e.g. \"organizations/123\".",
+ "list": {
+ "description": "Lists Organization resources that are visible to the user and satisfy\nthe specified filter. This method returns Organizations in an unspecified\norder. New Organizations do not necessarily appear at the end of the list.",
+ "httpMethod": "GET",
+ "id": "cloudresourcemanager.organizations.list",
+ "parameterOrder": [],
+ "parameters": {
+ "pageSize": {
+ "description": "The maximum number of Organizations to return in the response.\nThis field is optional.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "filter": {
+ "description": "An optional query string used to filter the Organizations to return in\nthe response. Filter rules are case-insensitive.\n\n\nOrganizations may be filtered by `owner.directoryCustomerId` or by\n`domain`, where the domain is a Google for Work domain, for example:\n\n|Filter|Description|\n|------|-----------|\n|owner.directorycustomerid:123456789|Organizations with `owner.directory_customer_id` equal to `123456789`.|\n|domain:google.com|Organizations corresponding to the domain `google.com`.|\n\nThis field is optional.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "A pagination token returned from a previous call to `ListOrganizations`\nthat indicates from where listing should continue.\nThis field is optional.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/organizations",
+ "response": {
+ "$ref": "ListOrganizationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "setOrgPolicy": {
+ "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.",
"httpMethod": "POST",
- "id": "cloudresourcemanager.organizations.getIamPolicy",
+ "id": "cloudresourcemanager.organizations.setOrgPolicy",
"parameterOrder": [
"resource"
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
+ "description": "Resource name of the resource to attach the `Policy`.",
"location": "path",
"pattern": "^organizations/[^/]+$",
"required": true,
"type": "string"
}
},
- "path": "v1beta1/{+resource}:getIamPolicy",
+ "path": "v1beta1/{+resource}:setOrgPolicy",
"request": {
- "$ref": "GetIamPolicyRequest"
+ "$ref": "SetOrgPolicyRequest"
},
"response": {
- "$ref": "Policy"
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "clearOrgPolicyV1": {
+ "description": "Clears a `Policy` from a resource.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.clearOrgPolicyV1",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource for the `Policy` to clear.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+resource}:clearOrgPolicyV1",
+ "request": {
+ "$ref": "ClearOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "listOrgPolicies": {
+ "description": "Lists all the `Policies` set for a particular resource.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.listOrgPolicies",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource to list Policies for.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+resource}:listOrgPolicies",
+ "request": {
+ "$ref": "ListOrgPoliciesRequest"
+ },
+ "response": {
+ "$ref": "ListOrgPoliciesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
@@ -177,33 +263,6 @@
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
},
- "update": {
- "description": "Updates an Organization resource identified by the specified resource name.",
- "httpMethod": "PUT",
- "id": "cloudresourcemanager.organizations.update",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "Output Only. The resource name of the organization. This is the\norganization's relative path in the API. Its format is\n\"organizations/[organization_id]\". For example, \"organizations/1234\".",
- "location": "path",
- "pattern": "^organizations/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+name}",
- "request": {
- "$ref": "Organization"
- },
- "response": {
- "$ref": "Organization"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
"testIamPermissions": {
"description": "Returns permissions that a caller has on the specified Organization.\nThe `resource` field should be the organization's resource name,\ne.g. \"organizations/123\".",
"httpMethod": "POST",
@@ -232,38 +291,61 @@
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
},
- "list": {
- "description": "Lists Organization resources that are visible to the user and satisfy\nthe specified filter. This method returns Organizations in an unspecified\norder. New Organizations do not necessarily appear at the end of the list.",
- "httpMethod": "GET",
- "id": "cloudresourcemanager.organizations.list",
- "parameterOrder": [],
+ "getEffectiveOrgPolicyV1": {
+ "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.getEffectiveOrgPolicyV1",
+ "parameterOrder": [
+ "resource"
+ ],
"parameters": {
- "pageSize": {
- "description": "The maximum number of Organizations to return in the response.\nThis field is optional.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "filter": {
- "description": "An optional query string used to filter the Organizations to return in\nthe response. Filter rules are case-insensitive.\n\n\nOrganizations may be filtered by `owner.directoryCustomerId` or by\n`domain`, where the domain is a Google for Work domain, for example:\n\n|Filter|Description|\n|------|-----------|\n|owner.directorycustomerid:123456789|Organizations with `owner.directory_customer_id` equal to `123456789`.|\n|domain:google.com|Organizations corresponding to the domain `google.com`.|\n\nThis field is optional.",
- "location": "query",
- "type": "string"
- },
- "pageToken": {
- "description": "A pagination token returned from a previous call to `ListOrganizations`\nthat indicates from where listing should continue.\nThis field is optional.",
- "location": "query",
+ "resource": {
+ "description": "The name of the resource to start computing the effective `Policy`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
"type": "string"
}
},
- "path": "v1beta1/organizations",
+ "path": "v1beta1/{+resource}:getEffectiveOrgPolicyV1",
+ "request": {
+ "$ref": "GetEffectiveOrgPolicyRequest"
+ },
"response": {
- "$ref": "ListOrganizationsResponse"
+ "$ref": "OrgPolicy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
},
+ "clearOrgPolicy": {
+ "description": "Clears a `Policy` from a resource.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.clearOrgPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource for the `Policy` to clear.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+resource}:clearOrgPolicy",
+ "request": {
+ "$ref": "ClearOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"setIamPolicy": {
"description": "Sets the access control policy on an Organization resource. Replaces any\nexisting policy. The `resource` field should be the organization's resource\nname, e.g. \"organizations/123\".",
"httpMethod": "POST",
@@ -290,11 +372,308 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
+ },
+ "listAvailableOrgPolicyConstraints": {
+ "description": "Lists `Constraints` that could be applied on the specified resource.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource to list `Constraints` for.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+resource}:listAvailableOrgPolicyConstraints",
+ "request": {
+ "$ref": "ListAvailableOrgPolicyConstraintsRequest"
+ },
+ "response": {
+ "$ref": "ListAvailableOrgPolicyConstraintsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "getIamPolicy": {
+ "description": "Gets the access control policy for an Organization resource. May be empty\nif no such policy or resource exists. The `resource` field should be the\norganization's resource name, e.g. \"organizations/123\".",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.getIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+resource}:getIamPolicy",
+ "request": {
+ "$ref": "GetIamPolicyRequest"
+ },
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "getOrgPolicy": {
+ "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.getOrgPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource the `Policy` is set on.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+resource}:getOrgPolicy",
+ "request": {
+ "$ref": "GetOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "getOrgPolicyV1": {
+ "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.getOrgPolicyV1",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Name of the resource the `Policy` is set on.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+resource}:getOrgPolicyV1",
+ "request": {
+ "$ref": "GetOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "getEffectiveOrgPolicy": {
+ "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.getEffectiveOrgPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "The name of the resource to start computing the effective `Policy`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+resource}:getEffectiveOrgPolicy",
+ "request": {
+ "$ref": "GetEffectiveOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "update": {
+ "description": "Updates an Organization resource identified by the specified resource name.",
+ "httpMethod": "PUT",
+ "id": "cloudresourcemanager.organizations.update",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Output Only. The resource name of the organization. This is the\norganization's relative path in the API. Its format is\n\"organizations/[organization_id]\". For example, \"organizations/1234\".",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "request": {
+ "$ref": "Organization"
+ },
+ "response": {
+ "$ref": "Organization"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "setOrgPolicyV1": {
+ "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.organizations.setOrgPolicyV1",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "Resource name of the resource to attach the `Policy`.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+resource}:setOrgPolicyV1",
+ "request": {
+ "$ref": "SetOrgPolicyRequest"
+ },
+ "response": {
+ "$ref": "OrgPolicy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
}
}
},
"projects": {
"methods": {
+ "undelete": {
+ "description": "Restores the Project identified by the specified\n`project_id` (for example, `my-project-123`).\nYou can only use this method for a Project that has a lifecycle state of\nDELETE_REQUESTED.\nAfter deletion starts, the Project cannot be restored.\n\nThe caller must have modify permissions for this Project.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.projects.undelete",
+ "parameterOrder": [
+ "projectId"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "The project ID (for example, `foo-bar-123`).\n\nRequired.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/projects/{projectId}:undelete",
+ "request": {
+ "$ref": "UndeleteProjectRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Retrieves the Project identified by the specified\n`project_id` (for example, `my-project-123`).\n\nThe caller must have read permissions for this Project.",
+ "httpMethod": "GET",
+ "id": "cloudresourcemanager.projects.get",
+ "parameterOrder": [
+ "projectId"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "The Project ID (for example, `my-project-123`).\n\nRequired.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/projects/{projectId}",
+ "response": {
+ "$ref": "Project"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "getAncestry": {
+ "description": "Gets a list of ancestors in the resource hierarchy for the Project\nidentified by the specified `project_id` (for example, `my-project-123`).\n\nThe caller must have read permissions for this Project.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.projects.getAncestry",
+ "parameterOrder": [
+ "projectId"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "The Project ID (for example, `my-project-123`).\n\nRequired.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/projects/{projectId}:getAncestry",
+ "request": {
+ "$ref": "GetAncestryRequest"
+ },
+ "response": {
+ "$ref": "GetAncestryResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "update": {
+ "description": "Updates the attributes of the Project identified by the specified\n`project_id` (for example, `my-project-123`).\n\nThe caller must have modify permissions for this Project.",
+ "httpMethod": "PUT",
+ "id": "cloudresourcemanager.projects.update",
+ "parameterOrder": [
+ "projectId"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "The project ID (for example, `my-project-123`).\n\nRequired.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/projects/{projectId}",
+ "request": {
+ "$ref": "Project"
+ },
+ "response": {
+ "$ref": "Project"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"testIamPermissions": {
"description": "Returns permissions that a caller has on the specified Project.",
"httpMethod": "POST",
@@ -358,7 +737,7 @@
"type": "integer"
},
"filter": {
- "description": "An expression for filtering the results of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n+ `name`\n+ `id`\n+ <code>labels.<em>key</em></code> where *key* is the name of a label\n\nSome examples of using labels as filters:\n\n|Filter|Description|\n|------|-----------|\n|name:*|The project has a name.|\n|name:Howl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equivalent to above.|\n|NAME:howl|Equivalent to above.|\n|labels.color:*|The project has the label `color`.|\n|labels.color:red|The project's label `color` has the value `red`.|\n|labels.color:red label.size:big|The project's label `color` has the value `red` and its label `size` has the value `big`.\n\nOptional.",
+ "description": "An expression for filtering the results of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n+ `name`\n+ `id`\n+ <code>labels.<em>key</em></code> where *key* is the name of a label\n\nSome examples of using labels as filters:\n\n|Filter|Description|\n|------|-----------|\n|name:*|The project has a name.|\n|name:Howl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equivalent to above.|\n|NAME:howl|Equivalent to above.|\n|labels.color:*|The project has the label `color`.|\n|labels.color:red|The project's label `color` has the value `red`.|\n|labels.color:red labels.size:big|The project's label `color` has the value `red` and its label `size` has the value `big`.\n\nOptional.",
"location": "query",
"type": "string"
},
@@ -377,32 +756,6 @@
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
},
- "setIamPolicy": {
- "description": "Sets the IAM access control policy for the specified Project. Replaces\nany existing policy.\n\nThe following constraints apply when using `setIamPolicy()`:\n\n+ Project does not support `allUsers` and `allAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner role can be granted only to `user` and `serviceAccount`.\n\n+ Service accounts can be made owners of a project directly\nwithout any restrictions. However, to be added as an owner, a user must be\ninvited via Cloud Platform console and must accept the invitation.\n\n+ A user cannot be granted the owner role using `setIamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform Console and must\nexplicitly accept the invitation.\n\n+ Invitations to grant the owner role cannot be sent using `setIamPolicy()`;\nthey must be sent only using the Cloud Platform Console.\n\n+ Membership changes that leave the project without any owners that have\naccepted the Terms of Service (ToS) will be rejected.\n\n+ There must be at least one owner who has accepted the Terms of\nService (ToS) agreement in the policy. Calling `setIamPolicy()` to\nto remove the last ToS-accepted owner from the policy will fail. This\nrestriction also applies to legacy projects that no longer have owners\nwho have accepted the ToS. Edits to IAM policies will be rejected until\nthe lack of a ToS-accepting owner is rectified.\n\n+ Calling this method requires enabling the App Engine Admin API.\n\nNote: Removing service accounts from policies or changing their roles\ncan render services completely inoperable. It is important to understand\nhow the service account is being used before removing or updating its roles.",
- "httpMethod": "POST",
- "id": "cloudresourcemanager.projects.setIamPolicy",
- "parameterOrder": [
- "resource"
- ],
- "parameters": {
- "resource": {
- "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/projects/{resource}:setIamPolicy",
- "request": {
- "$ref": "SetIamPolicyRequest"
- },
- "response": {
- "$ref": "Policy"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
"create": {
"description": "Creates a Project resource.\n\nInitially, the Project resource is owned by its creator exclusively.\nThe creator can later grant permission to others to read or update the\nProject.\n\nSeveral APIs are activated automatically for the Project, including\nGoogle Cloud Storage.",
"httpMethod": "POST",
@@ -426,6 +779,32 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
+ "setIamPolicy": {
+ "description": "Sets the IAM access control policy for the specified Project. Replaces\nany existing policy.\n\nThe following constraints apply when using `setIamPolicy()`:\n\n+ Project does not support `allUsers` and `allAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner role can be granted only to `user` and `serviceAccount`.\n\n+ Service accounts can be made owners of a project directly\nwithout any restrictions. However, to be added as an owner, a user must be\ninvited via Cloud Platform console and must accept the invitation.\n\n+ A user cannot be granted the owner role using `setIamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform Console and must\nexplicitly accept the invitation.\n\n+ Invitations to grant the owner role cannot be sent using\n`setIamPolicy()`; they must be sent only using the Cloud Platform Console.\n\n+ Membership changes that leave the project without any owners that have\naccepted the Terms of Service (ToS) will be rejected.\n\n+ There must be at least one owner who has accepted the Terms of\nService (ToS) agreement in the policy. Calling `setIamPolicy()` to\nremove the last ToS-accepted owner from the policy will fail. This\nrestriction also applies to legacy projects that no longer have owners\nwho have accepted the ToS. Edits to IAM policies will be rejected until\nthe lack of a ToS-accepting owner is rectified.\n\n+ Calling this method requires enabling the App Engine Admin API.\n\nNote: Removing service accounts from policies or changing their roles\ncan render services completely inoperable. It is important to understand\nhow the service account is being used before removing or updating its\nroles.",
+ "httpMethod": "POST",
+ "id": "cloudresourcemanager.projects.setIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/projects/{resource}:setIamPolicy",
+ "request": {
+ "$ref": "SetIamPolicyRequest"
+ },
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"getIamPolicy": {
"description": "Returns the IAM access control policy for the specified Project.\nPermission is denied if the policy or the resource does not exist.",
"httpMethod": "POST",
@@ -452,340 +831,13 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
- },
- "get": {
- "description": "Retrieves the Project identified by the specified\n`project_id` (for example, `my-project-123`).\n\nThe caller must have read permissions for this Project.",
- "httpMethod": "GET",
- "id": "cloudresourcemanager.projects.get",
- "parameterOrder": [
- "projectId"
- ],
- "parameters": {
- "projectId": {
- "description": "The Project ID (for example, `my-project-123`).\n\nRequired.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/projects/{projectId}",
- "response": {
- "$ref": "Project"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only"
- ]
- },
- "undelete": {
- "description": "Restores the Project identified by the specified\n`project_id` (for example, `my-project-123`).\nYou can only use this method for a Project that has a lifecycle state of\nDELETE_REQUESTED.\nAfter deletion starts, the Project cannot be restored.\n\nThe caller must have modify permissions for this Project.",
- "httpMethod": "POST",
- "id": "cloudresourcemanager.projects.undelete",
- "parameterOrder": [
- "projectId"
- ],
- "parameters": {
- "projectId": {
- "description": "The project ID (for example, `foo-bar-123`).\n\nRequired.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/projects/{projectId}:undelete",
- "request": {
- "$ref": "UndeleteProjectRequest"
- },
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "update": {
- "description": "Updates the attributes of the Project identified by the specified\n`project_id` (for example, `my-project-123`).\n\nThe caller must have modify permissions for this Project.",
- "httpMethod": "PUT",
- "id": "cloudresourcemanager.projects.update",
- "parameterOrder": [
- "projectId"
- ],
- "parameters": {
- "projectId": {
- "description": "The project ID (for example, `my-project-123`).\n\nRequired.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/projects/{projectId}",
- "request": {
- "$ref": "Project"
- },
- "response": {
- "$ref": "Project"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "getAncestry": {
- "description": "Gets a list of ancestors in the resource hierarchy for the Project\nidentified by the specified `project_id` (for example, `my-project-123`).\n\nThe caller must have read permissions for this Project.",
- "httpMethod": "POST",
- "id": "cloudresourcemanager.projects.getAncestry",
- "parameterOrder": [
- "projectId"
- ],
- "parameters": {
- "projectId": {
- "description": "The Project ID (for example, `my-project-123`).\n\nRequired.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/projects/{projectId}:getAncestry",
- "request": {
- "$ref": "GetAncestryRequest"
- },
- "response": {
- "$ref": "GetAncestryResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only"
- ]
}
}
}
},
- "revision": "20170227",
+ "revision": "20170324",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
- "ListProjectsResponse": {
- "description": "A page of the response received from the\nListProjects\nmethod.\n\nA paginated response where more pages are available has\n`next_page_token` set. This token can be used in a subsequent request to\nretrieve the next request page.",
- "id": "ListProjectsResponse",
- "properties": {
- "projects": {
- "description": "The list of Projects that matched the list filter. This list can\nbe paginated.",
- "items": {
- "$ref": "Project"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "Pagination token.\n\nIf the result set is too large to fit in a single response, this token\nis returned. It encodes the position of the current result cursor.\nFeeding this value into a new list request with the `page_token` parameter\ngives the next page of the results.\n\nWhen `next_page_token` is not filled in, there is no next page and\nthe list returned is the last page in the result set.\n\nPagination tokens have a limited lifetime.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "GetAncestryRequest": {
- "description": "The request sent to the\nGetAncestry\nmethod.",
- "id": "GetAncestryRequest",
- "properties": {},
- "type": "object"
- },
- "Project": {
- "description": "A Project is a high-level Google Cloud Platform entity. It is a\ncontainer for ACLs, APIs, App Engine Apps, VMs, and other\nGoogle Cloud Platform resources.",
- "id": "Project",
- "properties": {
- "lifecycleState": {
- "description": "The Project lifecycle state.\n\nRead-only.",
- "enum": [
- "LIFECYCLE_STATE_UNSPECIFIED",
- "ACTIVE",
- "DELETE_REQUESTED",
- "DELETE_IN_PROGRESS"
- ],
- "enumDescriptions": [
- "Unspecified state. This is only used/useful for distinguishing\nunset values.",
- "The normal and active state.",
- "The project has been marked for deletion by the user\n(by invoking DeleteProject)\nor by the system (Google Cloud Platform).\nThis can generally be reversed by invoking UndeleteProject.",
- "This lifecycle state is no longer used and is not returned by the API."
- ],
- "type": "string"
- },
- "projectNumber": {
- "description": "The number uniquely identifying the project.\n\nExample: <code>415104041262</code>\nRead-only.",
- "format": "int64",
- "type": "string"
- },
- "parent": {
- "$ref": "ResourceId",
- "description": "An optional reference to a parent Resource.\n\nThe only supported parent type is \"organization\". Once set, the parent\ncannot be modified. The `parent` can be set on creation or using the\n`UpdateProject` method; the end user must have the\n`resourcemanager.projects.create` permission on the parent.\n\nRead-write."
- },
- "createTime": {
- "description": "Creation time.\n\nRead-only.",
- "format": "google-datetime",
- "type": "string"
- },
- "labels": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "The labels associated with this Project.\n\nLabel keys must be between 1 and 63 characters long and must conform\nto the following regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?.\n\nLabel values must be between 0 and 63 characters long and must conform\nto the regular expression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?.\n\nNo more than 256 labels can be associated with a given resource.\n\nClients should store labels in a representation such as JSON that does not\ndepend on specific characters being disallowed.\n\nExample: <code>\"environment\" : \"dev\"</code>\nRead-write.",
- "type": "object"
- },
- "name": {
- "description": "The user-assigned display name of the Project.\nIt must be 4 to 30 characters.\nAllowed characters are: lowercase and uppercase letters, numbers,\nhyphen, single-quote, double-quote, space, and exclamation point.\n\nExample: <code>My Project</code>\nRead-write.",
- "type": "string"
- },
- "projectId": {
- "description": "The unique, user-assigned ID of the Project.\nIt must be 6 to 30 lowercase letters, digits, or hyphens.\nIt must start with a letter.\nTrailing hyphens are prohibited.\n\nExample: <code>tokyo-rain-123</code>\nRead-only after creation.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TestIamPermissionsRequest": {
- "description": "Request message for `TestIamPermissions` method.",
- "id": "TestIamPermissionsRequest",
- "properties": {
- "permissions": {
- "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Policy": {
- "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).",
- "id": "Policy",
- "properties": {
- "version": {
- "description": "Version of the `Policy`. The default version is 0.",
- "format": "int32",
- "type": "integer"
- },
- "bindings": {
- "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.",
- "items": {
- "$ref": "Binding"
- },
- "type": "array"
- },
- "etag": {
- "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.",
- "format": "byte",
- "type": "string"
- }
- },
- "type": "object"
- },
- "FolderOperation": {
- "description": "Metadata describing a long running folder operation",
- "id": "FolderOperation",
- "properties": {
- "destinationParent": {
- "description": "The resource name of the folder or organization we are either creating\nthe folder under or moving the folder to.",
- "type": "string"
- },
- "operationType": {
- "description": "The type of this operation.",
- "enum": [
- "OPERATION_TYPE_UNSPECIFIED",
- "CREATE",
- "MOVE"
- ],
- "enumDescriptions": [
- "Operation type not specified.",
- "A create folder operation.",
- "A move folder operation."
- ],
- "type": "string"
- },
- "displayName": {
- "description": "The display name of the folder.",
- "type": "string"
- },
- "sourceParent": {
- "description": "The resource name of the folder's parent.\nOnly applicable when the operation_type is MOVE.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "FolderOperationError": {
- "description": "A classification of the Folder Operation error.",
- "id": "FolderOperationError",
- "properties": {
- "errorMessageId": {
- "description": "The type of operation error experienced.",
- "enum": [
- "ERROR_TYPE_UNSPECIFIED",
- "FOLDER_HEIGHT_VIOLATION",
- "MAX_CHILD_FOLDERS_VIOLATION",
- "FOLDER_NAME_UNIQUENESS_VIOLATION",
- "RESOURCE_DELETED",
- "PARENT_DELETED",
- "CYCLE_INTRODUCED_ERROR",
- "FOLDER_ALREADY_BEING_MOVED",
- "FOLDER_TO_DELETE_NON_EMPTY"
- ],
- "enumDescriptions": [
- "The error type was unrecognized or unspecified.",
- "The attempted action would violate the max folder depth constraint.",
- "The attempted action would violate the max child folders constraint.",
- "The attempted action would violate the locally-unique folder\ndisplay_name constraint.",
- "The resource being moved has been deleted.",
- "The resource a folder was being added to has been deleted.",
- "The attempted action would introduce cycle in resource path.",
- "The attempted action would move a folder that is already being moved.",
- "The folder the caller is trying to delete contains active resources."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "ResourceId": {
- "description": "A container to reference an id for any resource type. A `resource` in Google\nCloud Platform is a generic term for something you (a developer) may want to\ninteract with through one of our API's. Some examples are an App Engine app,\na Compute Engine instance, a Cloud SQL database, and so on.",
- "id": "ResourceId",
- "properties": {
- "type": {
- "description": "Required field representing the resource type this id is for.\nAt present, the valid types are \"project\" and \"organization\".",
- "type": "string"
- },
- "id": {
- "description": "Required field for the type-specific id. This should correspond to the id\nused in the type-specific API's.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Ancestor": {
- "description": "Identifying information for a single ancestor of a project.",
- "id": "Ancestor",
- "properties": {
- "resourceId": {
- "$ref": "ResourceId",
- "description": "Resource id of the ancestor."
- }
- },
- "type": "object"
- },
- "ListOrganizationsResponse": {
- "description": "The response returned from the `ListOrganizations` method.",
- "id": "ListOrganizationsResponse",
- "properties": {
- "nextPageToken": {
- "description": "A pagination token to be used to retrieve the next page of results. If the\nresult is too large to fit within the page size specified in the request,\nthis field will be set with a token that can be used to fetch the next page\nof results. If this field is empty, it indicates that this response\ncontains the last page of results.",
- "type": "string"
- },
- "organizations": {
- "description": "The list of Organizations that matched the list query, possibly paginated.",
- "items": {
- "$ref": "Organization"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"SetIamPolicyRequest": {
"description": "Request message for `SetIamPolicy` method.",
"id": "SetIamPolicyRequest",
@@ -793,23 +845,10 @@
"policy": {
"$ref": "Policy",
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
- }
- },
- "type": "object"
- },
- "Binding": {
- "description": "Associates `members` with a `role`.",
- "id": "Binding",
- "properties": {
- "members": {
- "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
- "items": {
- "type": "string"
- },
- "type": "array"
},
- "role": {
- "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
+ "updateMask": {
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
+ "format": "google-fieldmask",
"type": "string"
}
},
@@ -825,6 +864,14 @@
"description": "The root node in the resource hierarchy to which a particular entity's\n(e.g., company) resources belong.",
"id": "Organization",
"properties": {
+ "owner": {
+ "$ref": "OrganizationOwner",
+ "description": "The owner of this Organization. The owner should be specified on\ncreation. Once set, it cannot be changed.\nThis field is required."
+ },
+ "name": {
+ "description": "Output Only. The resource name of the organization. This is the\norganization's relative path in the API. Its format is\n\"organizations/[organization_id]\". For example, \"organizations/1234\".",
+ "type": "string"
+ },
"organizationId": {
"description": "An immutable id for the Organization that is assigned on creation. This\nshould be omitted when creating a new Organization.\nThis field is read-only.\nThis field is deprecated and will be removed in v1. Use name instead.",
"type": "string"
@@ -851,13 +898,385 @@
"description": "Timestamp when the Organization was created. Assigned by the server.\n@OutputOnly",
"format": "google-datetime",
"type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListAvailableOrgPolicyConstraintsResponse": {
+ "description": "The response returned from the ListAvailableOrgPolicyConstraints method.\nReturns all `Constraints` that could be set at this level of the hierarchy\n(contrast with the response from `ListPolicies`, which returns all policies\nwhich are set).",
+ "id": "ListAvailableOrgPolicyConstraintsResponse",
+ "properties": {
+ "constraints": {
+ "description": "The collection of constraints that are settable on the request resource.",
+ "items": {
+ "$ref": "Constraint"
+ },
+ "type": "array"
},
- "owner": {
- "$ref": "OrganizationOwner",
- "description": "The owner of this Organization. The owner should be specified on\ncreation. Once set, it cannot be changed.\nThis field is required."
+ "nextPageToken": {
+ "description": "Page token used to retrieve the next page. This is currently not used.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListPolicy": {
+ "description": "Used in `policy_type` to specify how `list_policy` behaves at this\nresource.\n\nA `ListPolicy` can define specific values that are allowed or denied by\nsetting either the `allowed_values` or `denied_values` fields. It can also\nbe used to allow or deny all values, by setting the `all_values` field. If\n`all_values` is `ALL_VALUES_UNSPECIFIED`, exactly one of `allowed_values`\nor `denied_values` must be set (attempting to set both or neither will\nresult in a failed request). If `all_values` is set to either `ALLOW` or\n`DENY`, `allowed_values` and `denied_values` must be unset.",
+ "id": "ListPolicy",
+ "properties": {
+ "deniedValues": {
+ "description": "List of values denied at this resource. Can only be set if no values are\nset for `allowed_values` and `all_values` is set to\n`ALL_VALUES_UNSPECIFIED`.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "allValues": {
+ "description": "The policy all_values state.",
+ "enum": [
+ "ALL_VALUES_UNSPECIFIED",
+ "ALLOW",
+ "DENY"
+ ],
+ "enumDescriptions": [
+ "Indicates that either allowed_values or denied_values must be set.",
+ "A policy with this set allows all values.",
+ "A policy with this set denies all values."
+ ],
+ "type": "string"
+ },
+ "allowedValues": {
+ "description": "List of values allowed at this resource. an only be set if no values are\nset for `denied_values` and `all_values` is set to\n`ALL_VALUES_UNSPECIFIED`.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "suggestedValue": {
+ "description": "Optional. The Google Cloud Console will try to default to a configuration\nthat matches the value specified in this `Policy`. If `suggested_value`\nis not set, it will inherit the value specified higher in the hierarchy,\nunless `inherit_from_parent` is `false`.",
+ "type": "string"
+ },
+ "inheritFromParent": {
+ "description": "Determines the inheritance behavior for this `Policy`.\n\nBy default, a `ListPolicy` set at a resource supercedes any `Policy` set\nanywhere up the resource hierarchy. However, if `inherit_from_parent` is\nset to `true`, then the values from the effective `Policy` of the parent\nresource are inherited, meaning the values set in this `Policy` are\nadded to the values inherited up the hierarchy.\n\nSetting `Policy` hierarchies that inherit both allowed values and denied\nvalues isn't recommended in most circumstances to keep the configuration\nsimple and understandable. However, it is possible to set a `Policy` with\n`allowed_values` set that inherits a `Policy` with `denied_values` set.\nIn this case, the values that are allowed must be in `allowed_values` and\nnot present in `denied_values`.\n\nFor example, suppose you have a `Constraint`\n`constraints/serviceuser.services`, which has a `constraint_type` of\n`list_constraint`, and with `constraint_default` set to `ALLOW`.\nSuppose that at the Organization level, a `Policy` is applied that\nrestricts the allowed API activations to {`E1`, `E2`}. Then, if a\n`Policy` is applied to a project below the Organization that has\n`inherit_from_parent` set to `false` and field all_values set to DENY,\nthen an attempt to activate any API will be denied.\n\nThe following examples demonstrate different possible layerings:\n\nExample 1 (no inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n ``projects/bar`` has `inherit_from_parent` `false` and values:\n {allowed_values: \"E3\" allowed_values: \"E4\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E3`, and `E4`.\n\nExample 2 (inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar` has a `Policy` with values:\n {value: “E3” value: ”E4” inherit_from_parent: true}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.\n\nExample 3 (inheriting both allowed and denied values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {denied_values: \"E1\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe value accepted at `projects/bar` is `E2`.\n\nExample 4 (RestoreDefault):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar` has a `Policy` with values:\n {RestoreDefault: {}}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 5 (no policy inherits parent policy):\n `organizations/foo` has no `Policy` set.\n `projects/bar` has no `Policy` set.\nThe accepted values at both levels are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 6 (ListConstraint allowing all):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:\n {all: ALLOW}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nAny value is accepted at `projects/bar`.\n\nExample 7 (ListConstraint allowing none):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:\n {all: DENY}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nNo value is accepted at `projects/bar`.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "GetAncestryResponse": {
+ "description": "Response from the GetAncestry method.",
+ "id": "GetAncestryResponse",
+ "properties": {
+ "ancestor": {
+ "description": "Ancestors are ordered from bottom to top of the resource hierarchy. The\nfirst ancestor is the project itself, followed by the project's parent,\netc.",
+ "items": {
+ "$ref": "Ancestor"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "AuditLogConfig": {
+ "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.",
+ "id": "AuditLogConfig",
+ "properties": {
+ "logType": {
+ "description": "The log type that this config enables.",
+ "enum": [
+ "LOG_TYPE_UNSPECIFIED",
+ "ADMIN_READ",
+ "DATA_WRITE",
+ "DATA_READ"
+ ],
+ "enumDescriptions": [
+ "Default case. Should never be this.",
+ "Admin reads. Example: CloudIAM getIamPolicy",
+ "Data writes. Example: CloudSQL Users create",
+ "Data reads. Example: CloudSQL Users list"
+ ],
+ "type": "string"
+ },
+ "exemptedMembers": {
+ "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GetAncestryRequest": {
+ "description": "The request sent to the\nGetAncestry\nmethod.",
+ "id": "GetAncestryRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "TestIamPermissionsRequest": {
+ "description": "Request message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsRequest",
+ "properties": {
+ "permissions": {
+ "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListAvailableOrgPolicyConstraintsRequest": {
+ "description": "The request sent to the [ListAvailableOrgPolicyConstraints]\ngoogle.cloud.OrgPolicy.v1.ListAvailableOrgPolicyConstraints] method.",
+ "id": "ListAvailableOrgPolicyConstraintsRequest",
+ "properties": {
+ "pageSize": {
+ "description": "Size of the pages to be returned. This is currently unsupported and will\nbe ignored. The server may at any point start using this field to limit\npage size.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Page token used to retrieve the next page. This is currently unsupported\nand will be ignored. The server may at any point start using this field.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Policy": {
+ "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).",
+ "id": "Policy",
+ "properties": {
+ "auditConfigs": {
+ "description": "Specifies cloud audit logging configuration for this policy.",
+ "items": {
+ "$ref": "AuditConfig"
+ },
+ "type": "array"
+ },
+ "bindings": {
+ "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.",
+ "items": {
+ "$ref": "Binding"
+ },
+ "type": "array"
+ },
+ "etag": {
+ "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.",
+ "format": "byte",
+ "type": "string"
+ },
+ "version": {
+ "description": "Version of the `Policy`. The default version is 0.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "FolderOperation": {
+ "description": "Metadata describing a long running folder operation",
+ "id": "FolderOperation",
+ "properties": {
+ "operationType": {
+ "description": "The type of this operation.",
+ "enum": [
+ "OPERATION_TYPE_UNSPECIFIED",
+ "CREATE",
+ "MOVE"
+ ],
+ "enumDescriptions": [
+ "Operation type not specified.",
+ "A create folder operation.",
+ "A move folder operation."
+ ],
+ "type": "string"
+ },
+ "displayName": {
+ "description": "The display name of the folder.",
+ "type": "string"
+ },
+ "sourceParent": {
+ "description": "The resource name of the folder's parent.\nOnly applicable when the operation_type is MOVE.",
+ "type": "string"
+ },
+ "destinationParent": {
+ "description": "The resource name of the folder or organization we are either creating\nthe folder under or moving the folder to.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ResourceId": {
+ "description": "A container to reference an id for any resource type. A `resource` in Google\nCloud Platform is a generic term for something you (a developer) may want to\ninteract with through one of our API's. Some examples are an App Engine app,\na Compute Engine instance, a Cloud SQL database, and so on.",
+ "id": "ResourceId",
+ "properties": {
+ "type": {
+ "description": "Required field representing the resource type this id is for.\nAt present, the valid types are \"project\" and \"organization\".",
+ "type": "string"
+ },
+ "id": {
+ "description": "Required field for the type-specific id. This should correspond to the id\nused in the type-specific API's.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GetEffectiveOrgPolicyRequest": {
+ "description": "The request sent to the GetEffectiveOrgPolicy method.",
+ "id": "GetEffectiveOrgPolicyRequest",
+ "properties": {
+ "constraint": {
+ "description": "The name of the `Constraint` to compute the effective `Policy`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListOrgPoliciesRequest": {
+ "description": "The request sent to the ListOrgPolicies method.",
+ "id": "ListOrgPoliciesRequest",
+ "properties": {
+ "pageToken": {
+ "description": "Page token used to retrieve the next page. This is currently unsupported\nand will be ignored. The server may at any point start using this field.",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Size of the pages to be returned. This is currently unsupported and will\nbe ignored. The server may at any point start using this field to limit\npage size.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "AuditConfig": {
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.",
+ "id": "AuditConfig",
+ "properties": {
+ "service": {
+ "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.",
+ "type": "string"
+ },
+ "auditLogConfigs": {
+ "description": "The configuration for logging of each type of permission.\nNext ID: 4",
+ "items": {
+ "$ref": "AuditLogConfig"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListOrganizationsResponse": {
+ "description": "The response returned from the `ListOrganizations` method.",
+ "id": "ListOrganizationsResponse",
+ "properties": {
+ "organizations": {
+ "description": "The list of Organizations that matched the list query, possibly paginated.",
+ "items": {
+ "$ref": "Organization"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "A pagination token to be used to retrieve the next page of results. If the\nresult is too large to fit within the page size specified in the request,\nthis field will be set with a token that can be used to fetch the next page\nof results. If this field is empty, it indicates that this response\ncontains the last page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Constraint": {
+ "description": "A `Constraint` describes a way in which a resource's configuration can be\nrestricted. For example, it controls which cloud services can be activated\nacross an organization, or whether a Compute Engine instance can have\nserial port connections established. `Constraints` can be configured by the\norganization's policy adminstrator to fit the needs of the organzation by\nsetting Policies for `Constraints` at different locations in the\norganization's resource hierarchy. Policies are inherited down the resource\nhierarchy from higher levels, but can also be overridden. For details about\nthe inheritance rules please read about\nPolicies.\n\n`Constraints` have a default behavior determined by the `constraint_default`\nfield, which is the enforcement behavior that is used in the absence of a\n`Policy` being defined or inherited for the resource in question.",
+ "id": "Constraint",
+ "properties": {
+ "description": {
+ "description": "Detailed description of what this `Constraint` controls as well as how and\nwhere it is enforced.\n\nMutable.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "The human readable name.\n\nMutable.",
+ "type": "string"
+ },
+ "booleanConstraint": {
+ "$ref": "BooleanConstraint",
+ "description": "Defines this constraint as being a BooleanConstraint."
+ },
+ "constraintDefault": {
+ "description": "The evaluation behavior of this constraint in the absense of 'Policy'.",
+ "enum": [
+ "CONSTRAINT_DEFAULT_UNSPECIFIED",
+ "ALLOW",
+ "DENY"
+ ],
+ "enumDescriptions": [
+ "This is only used for distinguishing unset values and should never be\nused.",
+ "Indicate that all values are allowed for list constraints.\nIndicate that enforcement is off for boolean constraints.",
+ "Indicate that all values are denied for list constraints.\nIndicate that enforcement is on for boolean constraints."
+ ],
+ "type": "string"
},
"name": {
- "description": "Output Only. The resource name of the organization. This is the\norganization's relative path in the API. Its format is\n\"organizations/[organization_id]\". For example, \"organizations/1234\".",
+ "description": "Immutable value, required to globally be unique. For example,\n`constraints/serviceuser.services`",
+ "type": "string"
+ },
+ "version": {
+ "description": "Version of the `Constraint`. Default version is 0;",
+ "format": "int32",
+ "type": "integer"
+ },
+ "listConstraint": {
+ "$ref": "ListConstraint",
+ "description": "Defines this constraint as being a ListConstraint."
+ }
+ },
+ "type": "object"
+ },
+ "Binding": {
+ "description": "Associates `members` with a `role`.",
+ "id": "Binding",
+ "properties": {
+ "members": {
+ "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "role": {
+ "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RestoreDefault": {
+ "description": "Ignores policies set above this resource and restores the\n`constraint_default` enforcement behavior of the specific `Constraint` at\nthis resource.\n\nSuppose that `constraint_default` is set to `ALLOW` for the\n`Constraint` `constraints/serviceuser.services`. Suppose that organization\nfoo.com sets a `Policy` at their Organization resource node that restricts\nthe allowed service activations to deny all service activations. They\ncould then set a `Policy` with the `policy_type` `restore_default` on\nseveral experimental projects, restoring the `constraint_default`\nenforcement of the `Constraint` for only those projects, allowing those\nprojects to have all services activated.",
+ "id": "RestoreDefault",
+ "properties": {},
+ "type": "object"
+ },
+ "GetOrgPolicyRequest": {
+ "description": "The request sent to the GetOrgPolicy method.",
+ "id": "GetOrgPolicyRequest",
+ "properties": {
+ "constraint": {
+ "description": "Name of the `Constraint` to get the `Policy`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ClearOrgPolicyRequest": {
+ "description": "The request sent to the ClearOrgPolicy method.",
+ "id": "ClearOrgPolicyRequest",
+ "properties": {
+ "etag": {
+ "description": "The current version, for concurrency control. Not sending an `etag`\nwill cause the `Policy` to be cleared blindly.",
+ "format": "byte",
+ "type": "string"
+ },
+ "constraint": {
+ "description": "Name of the `Constraint` of the `Policy` to clear.",
"type": "string"
}
},
@@ -889,9 +1308,9 @@
},
"type": "object"
},
- "GetIamPolicyRequest": {
- "description": "Request message for `GetIamPolicy` method.",
- "id": "GetIamPolicyRequest",
+ "BooleanConstraint": {
+ "description": "A `Constraint` that is either enforced or not.\n\nFor example a constraint `constraints/compute.disableSerialPortAccess`.\nIf it is enforced on a VM instance, serial port connections will not be\nopened to that instance.",
+ "id": "BooleanConstraint",
"properties": {},
"type": "object"
},
@@ -909,18 +1328,10 @@
},
"type": "object"
},
- "GetAncestryResponse": {
- "description": "Response from the GetAncestry method.",
- "id": "GetAncestryResponse",
- "properties": {
- "ancestor": {
- "description": "Ancestors are ordered from bottom to top of the resource hierarchy. The\nfirst ancestor is the project itself, followed by the project's parent,\netc.",
- "items": {
- "$ref": "Ancestor"
- },
- "type": "array"
- }
- },
+ "GetIamPolicyRequest": {
+ "description": "Request message for `GetIamPolicy` method.",
+ "id": "GetIamPolicyRequest",
+ "properties": {},
"type": "object"
},
"OrganizationOwner": {
@@ -933,6 +1344,209 @@
}
},
"type": "object"
+ },
+ "ListProjectsResponse": {
+ "description": "A page of the response received from the\nListProjects\nmethod.\n\nA paginated response where more pages are available has\n`next_page_token` set. This token can be used in a subsequent request to\nretrieve the next request page.",
+ "id": "ListProjectsResponse",
+ "properties": {
+ "projects": {
+ "description": "The list of Projects that matched the list filter. This list can\nbe paginated.",
+ "items": {
+ "$ref": "Project"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Pagination token.\n\nIf the result set is too large to fit in a single response, this token\nis returned. It encodes the position of the current result cursor.\nFeeding this value into a new list request with the `page_token` parameter\ngives the next page of the results.\n\nWhen `next_page_token` is not filled in, there is no next page and\nthe list returned is the last page in the result set.\n\nPagination tokens have a limited lifetime.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Project": {
+ "description": "A Project is a high-level Google Cloud Platform entity. It is a\ncontainer for ACLs, APIs, App Engine Apps, VMs, and other\nGoogle Cloud Platform resources.",
+ "id": "Project",
+ "properties": {
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The labels associated with this Project.\n\nLabel keys must be between 1 and 63 characters long and must conform\nto the following regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?.\n\nLabel values must be between 0 and 63 characters long and must conform\nto the regular expression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?.\n\nNo more than 256 labels can be associated with a given resource.\n\nClients should store labels in a representation such as JSON that does not\ndepend on specific characters being disallowed.\n\nExample: <code>\"environment\" : \"dev\"</code>\nRead-write.",
+ "type": "object"
+ },
+ "createTime": {
+ "description": "Creation time.\n\nRead-only.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "name": {
+ "description": "The user-assigned display name of the Project.\nIt must be 4 to 30 characters.\nAllowed characters are: lowercase and uppercase letters, numbers,\nhyphen, single-quote, double-quote, space, and exclamation point.\n\nExample: <code>My Project</code>\nRead-write.",
+ "type": "string"
+ },
+ "projectId": {
+ "description": "The unique, user-assigned ID of the Project.\nIt must be 6 to 30 lowercase letters, digits, or hyphens.\nIt must start with a letter.\nTrailing hyphens are prohibited.\n\nExample: <code>tokyo-rain-123</code>\nRead-only after creation.",
+ "type": "string"
+ },
+ "lifecycleState": {
+ "description": "The Project lifecycle state.\n\nRead-only.",
+ "enum": [
+ "LIFECYCLE_STATE_UNSPECIFIED",
+ "ACTIVE",
+ "DELETE_REQUESTED",
+ "DELETE_IN_PROGRESS"
+ ],
+ "enumDescriptions": [
+ "Unspecified state. This is only used/useful for distinguishing\nunset values.",
+ "The normal and active state.",
+ "The project has been marked for deletion by the user\n(by invoking DeleteProject)\nor by the system (Google Cloud Platform).\nThis can generally be reversed by invoking UndeleteProject.",
+ "This lifecycle state is no longer used and is not returned by the API."
+ ],
+ "type": "string"
+ },
+ "projectNumber": {
+ "description": "The number uniquely identifying the project.\n\nExample: <code>415104041262</code>\nRead-only.",
+ "format": "int64",
+ "type": "string"
+ },
+ "parent": {
+ "$ref": "ResourceId",
+ "description": "An optional reference to a parent Resource.\n\nThe only supported parent type is \"organization\". Once set, the parent\ncannot be modified. The `parent` can be set on creation or using the\n`UpdateProject` method; the end user must have the\n`resourcemanager.projects.create` permission on the parent.\n\nRead-write."
+ }
+ },
+ "type": "object"
+ },
+ "ListOrgPoliciesResponse": {
+ "description": "The response returned from the ListOrgPolicies method. It will be empty\nif no `Policies` are set on the resource.",
+ "id": "ListOrgPoliciesResponse",
+ "properties": {
+ "policies": {
+ "description": "The `Policies` that are set on the resource. It will be empty if no\n`Policies` are set.",
+ "items": {
+ "$ref": "OrgPolicy"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Page token used to retrieve the next page. This is currently not used, but\nthe server may at any point start supplying a valid token.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FolderOperationError": {
+ "description": "A classification of the Folder Operation error.",
+ "id": "FolderOperationError",
+ "properties": {
+ "errorMessageId": {
+ "description": "The type of operation error experienced.",
+ "enum": [
+ "ERROR_TYPE_UNSPECIFIED",
+ "FOLDER_HEIGHT_VIOLATION",
+ "MAX_CHILD_FOLDERS_VIOLATION",
+ "FOLDER_NAME_UNIQUENESS_VIOLATION",
+ "RESOURCE_DELETED",
+ "PARENT_DELETED",
+ "CYCLE_INTRODUCED_ERROR",
+ "FOLDER_BEING_MOVED",
+ "FOLDER_TO_DELETE_NON_EMPTY"
+ ],
+ "enumDescriptions": [
+ "The error type was unrecognized or unspecified.",
+ "The attempted action would violate the max folder depth constraint.",
+ "The attempted action would violate the max child folders constraint.",
+ "The attempted action would violate the locally-unique folder\ndisplay_name constraint.",
+ "The resource being moved has been deleted.",
+ "The resource a folder was being added to has been deleted.",
+ "The attempted action would introduce cycle in resource path.",
+ "The attempted action would move a folder that is already being moved.",
+ "The folder the caller is trying to delete contains active resources."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OrgPolicy": {
+ "description": "Defines a Cloud Organization `Policy` which is used to specify `Constraints`\nfor configurations of Cloud Platform resources.",
+ "id": "OrgPolicy",
+ "properties": {
+ "version": {
+ "description": "Version of the `Policy`. Default version is 0;",
+ "format": "int32",
+ "type": "integer"
+ },
+ "restoreDefault": {
+ "$ref": "RestoreDefault",
+ "description": "Restores the default behavior of the constraint; independent of\n`Constraint` type."
+ },
+ "listPolicy": {
+ "$ref": "ListPolicy",
+ "description": "List of values either allowed or disallowed."
+ },
+ "etag": {
+ "description": "An opaque tag indicating the current version of the `Policy`, used for\nconcurrency control.\n\nWhen the `Policy` is returned from either a `GetPolicy` or a\n`ListOrgPolicy` request, this `etag` indicates the version of the current\n`Policy` to use when executing a read-modify-write loop.\n\nWhen the `Policy` is returned from a `GetEffectivePolicy` request, the\n`etag` will be unset.\n\nWhen the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value\nthat was returned from a `GetOrgPolicy` request as part of a\nread-modify-write loop for concurrency control. Not setting the `etag`in a\n`SetOrgPolicy` request will result in an unconditional write of the\n`Policy`.",
+ "format": "byte",
+ "type": "string"
+ },
+ "constraint": {
+ "description": "The name of the `Constraint` the `Policy` is configuring, for example,\n`constraints/serviceuser.services`.\n\nImmutable after creation.",
+ "type": "string"
+ },
+ "booleanPolicy": {
+ "$ref": "BooleanPolicy",
+ "description": "For boolean `Constraints`, whether to enforce the `Constraint` or not."
+ },
+ "updateTime": {
+ "description": "The time stamp the `Policy` was previously updated. This is set by the\nserver, not specified by the caller, and represents the last time a call to\n`SetOrgPolicy` was made for that `Policy`. Any value set by the client will\nbe ignored.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BooleanPolicy": {
+ "description": "Used in `policy_type` to specify how `boolean_policy` will behave at this\nresource.",
+ "id": "BooleanPolicy",
+ "properties": {
+ "enforced": {
+ "description": "If `true`, then the `Policy` is enforced. If `false`, then any\nconfiguration is acceptable.\n\nSuppose you have a `Constraint` `constraints/compute.disableSerialPortAccess`\nwith `constraint_default` set to `ALLOW`. A `Policy` for that\n`Constraint` exhibits the following behavior:\n - If the `Policy` at this resource has enforced set to `false`, serial\n port connection attempts will be allowed.\n - If the `Policy` at this resource has enforced set to `true`, serial\n port connection attempts will be refused.\n - If the `Policy` at this resource is `RestoreDefault`, serial port\n connection attempts will be allowed.\n - If no `Policy` is set at this resource or anywhere higher in the\n resource hierarchy, serial port connection attempts will be allowed.\n - If no `Policy` is set at this resource, but one exists higher in the\n resource hierarchy, the behavior is as if the`Policy` were set at\n this resource.\n\nThe following examples demonstrate the different possible layerings:\n\nExample 1 (nearest `Constraint` wins):\n `organizations/foo` has a `Policy` with:\n {enforced: false}\n `projects/bar` has no `Policy` set.\nThe constraint at `projects/bar` and `organizations/foo` will not be\nenforced.\n\nExample 2 (enforcement gets replaced):\n `organizations/foo` has a `Policy` with:\n {enforced: false}\n `projects/bar` has a `Policy` with:\n {enforced: true}\nThe constraint at `organizations/foo` is not enforced.\nThe constraint at `projects/bar` is enforced.\n\nExample 3 (RestoreDefault):\n `organizations/foo` has a `Policy` with:\n {enforced: true}\n `projects/bar` has a `Policy` with:\n {RestoreDefault: {}}\nThe constraint at `organizations/foo` is enforced.\nThe constraint at `projects/bar` is not enforced, because\n`constraint_default` for the `Constraint` is `ALLOW`.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "Ancestor": {
+ "description": "Identifying information for a single ancestor of a project.",
+ "id": "Ancestor",
+ "properties": {
+ "resourceId": {
+ "$ref": "ResourceId",
+ "description": "Resource id of the ancestor."
+ }
+ },
+ "type": "object"
+ },
+ "ListConstraint": {
+ "description": "A `Constraint` that allows or disallows a list of string values, which are\nconfigured by an Organization's policy administrator with a `Policy`.",
+ "id": "ListConstraint",
+ "properties": {
+ "suggestedValue": {
+ "description": "Optional. The Google Cloud Console will try to default to a configuration\nthat matches the value specified in this `Constraint`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SetOrgPolicyRequest": {
+ "description": "The request sent to the SetOrgPolicyRequest method.",
+ "id": "SetOrgPolicyRequest",
+ "properties": {
+ "policy": {
+ "$ref": "OrgPolicy",
+ "description": "`Policy` to set on the resource."
+ }
+ },
+ "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis_beta/dataflow__v1b3.json b/discovery/googleapis_beta/dataflow__v1b3.json
index c5e51a9..8b85330 100644
--- a/discovery/googleapis_beta/dataflow__v1b3.json
+++ b/discovery/googleapis_beta/dataflow__v1b3.json
@@ -27,19 +27,13 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
@@ -112,6 +106,12 @@
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
}
},
"protocol": "rest",
@@ -161,12 +161,6 @@
"jobId"
],
"parameters": {
- "location": {
- "description": "The location that contains this job.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"projectId": {
"description": "The ID of the Cloud Platform project that the job belongs to.",
"location": "path",
@@ -189,6 +183,12 @@
],
"location": "query",
"type": "string"
+ },
+ "location": {
+ "description": "The location that contains this job.",
+ "location": "path",
+ "required": true,
+ "type": "string"
}
},
"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}",
@@ -209,6 +209,23 @@
"location"
],
"parameters": {
+ "pageSize": {
+ "description": "If there are many jobs, limit response to at most this many.\nThe actual number of jobs returned will be the lesser of max_responses\nand an unspecified server-defined limit.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "view": {
+ "description": "Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.",
+ "enum": [
+ "JOB_VIEW_UNKNOWN",
+ "JOB_VIEW_SUMMARY",
+ "JOB_VIEW_ALL",
+ "JOB_VIEW_DESCRIPTION"
+ ],
+ "location": "query",
+ "type": "string"
+ },
"projectId": {
"description": "The project which owns the jobs.",
"location": "path",
@@ -236,23 +253,6 @@
"description": "Set this to the 'next_page_token' field of a previous response\nto request additional results in a long list.",
"location": "query",
"type": "string"
- },
- "pageSize": {
- "description": "If there are many jobs, limit response to at most this many.\nThe actual number of jobs returned will be the lesser of max_responses\nand an unspecified server-defined limit.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "view": {
- "description": "Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.",
- "enum": [
- "JOB_VIEW_UNKNOWN",
- "JOB_VIEW_SUMMARY",
- "JOB_VIEW_ALL",
- "JOB_VIEW_DESCRIPTION"
- ],
- "location": "query",
- "type": "string"
}
},
"path": "v1b3/projects/{projectId}/locations/{location}/jobs",
@@ -314,11 +314,6 @@
"location"
],
"parameters": {
- "replaceJobId": {
- "description": "Deprecated. This field is now in the Job message.",
- "location": "query",
- "type": "string"
- },
"projectId": {
"description": "The ID of the Cloud Platform project that the job belongs to.",
"location": "path",
@@ -341,6 +336,11 @@
"location": "path",
"required": true,
"type": "string"
+ },
+ "replaceJobId": {
+ "description": "Deprecated. This field is now in the Job message.",
+ "location": "query",
+ "type": "string"
}
},
"path": "v1b3/projects/{projectId}/locations/{location}/jobs",
@@ -365,18 +365,6 @@
"jobId"
],
"parameters": {
- "projectId": {
- "description": "A project id.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "jobId": {
- "description": "The job to get messages for.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"location": {
"description": "The location which contains the job specified by job_id.",
"location": "path",
@@ -388,6 +376,18 @@
"format": "google-datetime",
"location": "query",
"type": "string"
+ },
+ "projectId": {
+ "description": "A project id.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "jobId": {
+ "description": "The job to get messages for.",
+ "location": "path",
+ "required": true,
+ "type": "string"
}
},
"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics",
@@ -401,6 +401,92 @@
}
},
"resources": {
+ "workItems": {
+ "methods": {
+ "reportStatus": {
+ "description": "Reports the status of dataflow WorkItems leased by a worker.",
+ "httpMethod": "POST",
+ "id": "dataflow.projects.locations.jobs.workItems.reportStatus",
+ "parameterOrder": [
+ "projectId",
+ "location",
+ "jobId"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "The project which owns the WorkItem's job.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "jobId": {
+ "description": "The job which the WorkItem is part of.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "location": {
+ "description": "The location which contains the WorkItem's job.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus",
+ "request": {
+ "$ref": "ReportWorkItemStatusRequest"
+ },
+ "response": {
+ "$ref": "ReportWorkItemStatusResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/userinfo.email"
+ ]
+ },
+ "lease": {
+ "description": "Leases a dataflow WorkItem to run.",
+ "httpMethod": "POST",
+ "id": "dataflow.projects.locations.jobs.workItems.lease",
+ "parameterOrder": [
+ "projectId",
+ "location",
+ "jobId"
+ ],
+ "parameters": {
+ "location": {
+ "description": "The location which contains the WorkItem's job.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "projectId": {
+ "description": "Identifies the project this worker belongs to.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "jobId": {
+ "description": "Identifies the workflow job this worker belongs to.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease",
+ "request": {
+ "$ref": "LeaseWorkItemRequest"
+ },
+ "response": {
+ "$ref": "LeaseWorkItemResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/userinfo.email"
+ ]
+ }
+ }
+ },
"messages": {
"methods": {
"list": {
@@ -478,92 +564,6 @@
]
}
}
- },
- "workItems": {
- "methods": {
- "lease": {
- "description": "Leases a dataflow WorkItem to run.",
- "httpMethod": "POST",
- "id": "dataflow.projects.locations.jobs.workItems.lease",
- "parameterOrder": [
- "projectId",
- "location",
- "jobId"
- ],
- "parameters": {
- "projectId": {
- "description": "Identifies the project this worker belongs to.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "jobId": {
- "description": "Identifies the workflow job this worker belongs to.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "location": {
- "description": "The location which contains the WorkItem's job.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease",
- "request": {
- "$ref": "LeaseWorkItemRequest"
- },
- "response": {
- "$ref": "LeaseWorkItemResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/userinfo.email"
- ]
- },
- "reportStatus": {
- "description": "Reports the status of dataflow WorkItems leased by a worker.",
- "httpMethod": "POST",
- "id": "dataflow.projects.locations.jobs.workItems.reportStatus",
- "parameterOrder": [
- "projectId",
- "location",
- "jobId"
- ],
- "parameters": {
- "location": {
- "description": "The location which contains the WorkItem's job.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "projectId": {
- "description": "The project which owns the WorkItem's job.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "jobId": {
- "description": "The job which the WorkItem is part of.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus",
- "request": {
- "$ref": "ReportWorkItemStatusRequest"
- },
- "response": {
- "$ref": "ReportWorkItemStatusResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/userinfo.email"
- ]
- }
- }
}
}
}
@@ -571,6 +571,43 @@
},
"templates": {
"methods": {
+ "launch": {
+ "description": "Launch a template.",
+ "httpMethod": "POST",
+ "id": "dataflow.projects.templates.launch",
+ "parameterOrder": [
+ "projectId"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "Required. The ID of the Cloud Platform project that the job belongs to.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "gcsPath": {
+ "description": "Required. A Cloud Storage path to the template from which to create\nthe job.\nMust be valid Cloud Storage URL, beginning with 'gs://'.",
+ "location": "query",
+ "type": "string"
+ },
+ "dryRun": {
+ "description": "Whether or not the job should actually be executed after\nvalidating parameters. Defaults to false. Validation errors do\nnot cause the HTTP request to fail if true.",
+ "location": "query",
+ "type": "boolean"
+ }
+ },
+ "path": "v1b3/projects/{projectId}/templates:launch",
+ "request": {
+ "$ref": "LaunchTemplateParameters"
+ },
+ "response": {
+ "$ref": "LaunchTemplateResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/userinfo.email"
+ ]
+ },
"get": {
"description": "Get the template associated with a template.",
"httpMethod": "GET",
@@ -634,43 +671,6 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/userinfo.email"
]
- },
- "launch": {
- "description": "Launch a template.",
- "httpMethod": "POST",
- "id": "dataflow.projects.templates.launch",
- "parameterOrder": [
- "projectId"
- ],
- "parameters": {
- "dryRun": {
- "description": "Whether or not the job should actually be executed after\nvalidating parameters. Defaults to false. Validation errors do\nnot cause the HTTP request to fail if true.",
- "location": "query",
- "type": "boolean"
- },
- "projectId": {
- "description": "Required. The ID of the Cloud Platform project that the job belongs to.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "gcsPath": {
- "description": "Required. A Cloud Storage path to the template from which to create\nthe job.\nMust be valid Cloud Storage URL, beginning with 'gs://'.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1b3/projects/{projectId}/templates:launch",
- "request": {
- "$ref": "LaunchTemplateParameters"
- },
- "response": {
- "$ref": "LaunchTemplateResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/userinfo.email"
- ]
}
}
},
@@ -685,17 +685,6 @@
"jobId"
],
"parameters": {
- "location": {
- "description": "The location which contains the job specified by job_id.",
- "location": "query",
- "type": "string"
- },
- "startTime": {
- "description": "Return only metric data that has changed since this time.\nDefault is to return all information about all metrics for the job.",
- "format": "google-datetime",
- "location": "query",
- "type": "string"
- },
"projectId": {
"description": "A project id.",
"location": "path",
@@ -707,6 +696,17 @@
"location": "path",
"required": true,
"type": "string"
+ },
+ "location": {
+ "description": "The location which contains the job specified by job_id.",
+ "location": "query",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "Return only metric data that has changed since this time.\nDefault is to return all information about all metrics for the job.",
+ "format": "google-datetime",
+ "location": "query",
+ "type": "string"
}
},
"path": "v1b3/projects/{projectId}/jobs/{jobId}/metrics",
@@ -727,11 +727,6 @@
"jobId"
],
"parameters": {
- "location": {
- "description": "The location that contains this job.",
- "location": "query",
- "type": "string"
- },
"projectId": {
"description": "The ID of the Cloud Platform project that the job belongs to.",
"location": "path",
@@ -754,6 +749,11 @@
],
"location": "query",
"type": "string"
+ },
+ "location": {
+ "description": "The location that contains this job.",
+ "location": "query",
+ "type": "string"
}
},
"path": "v1b3/projects/{projectId}/jobs/{jobId}",
@@ -916,82 +916,6 @@
}
},
"resources": {
- "messages": {
- "methods": {
- "list": {
- "description": "Request the job status.",
- "httpMethod": "GET",
- "id": "dataflow.projects.jobs.messages.list",
- "parameterOrder": [
- "projectId",
- "jobId"
- ],
- "parameters": {
- "startTime": {
- "description": "If specified, return only messages with timestamps >= start_time.\nThe default is the job creation time (i.e. beginning of messages).",
- "format": "google-datetime",
- "location": "query",
- "type": "string"
- },
- "pageToken": {
- "description": "If supplied, this should be the value of next_page_token returned\nby an earlier call. This will cause the next page of results to\nbe returned.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "If specified, determines the maximum number of messages to\nreturn. If unspecified, the service may choose an appropriate\ndefault, or may return an arbitrarily large number of results.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "minimumImportance": {
- "description": "Filter to only get messages with importance >= level",
- "enum": [
- "JOB_MESSAGE_IMPORTANCE_UNKNOWN",
- "JOB_MESSAGE_DEBUG",
- "JOB_MESSAGE_DETAILED",
- "JOB_MESSAGE_BASIC",
- "JOB_MESSAGE_WARNING",
- "JOB_MESSAGE_ERROR"
- ],
- "location": "query",
- "type": "string"
- },
- "jobId": {
- "description": "The job to get messages about.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "projectId": {
- "description": "A project id.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "location": {
- "description": "The location which contains the job specified by job_id.",
- "location": "query",
- "type": "string"
- },
- "endTime": {
- "description": "Return only messages with timestamps < end_time. The default is now\n(i.e. return up to the latest messages available).",
- "format": "google-datetime",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1b3/projects/{projectId}/jobs/{jobId}/messages",
- "response": {
- "$ref": "ListJobMessagesResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/userinfo.email"
- ]
- }
- }
- },
"debug": {
"methods": {
"getConfig": {
@@ -1135,254 +1059,107 @@
]
}
}
+ },
+ "messages": {
+ "methods": {
+ "list": {
+ "description": "Request the job status.",
+ "httpMethod": "GET",
+ "id": "dataflow.projects.jobs.messages.list",
+ "parameterOrder": [
+ "projectId",
+ "jobId"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "If specified, determines the maximum number of messages to\nreturn. If unspecified, the service may choose an appropriate\ndefault, or may return an arbitrarily large number of results.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "minimumImportance": {
+ "description": "Filter to only get messages with importance >= level",
+ "enum": [
+ "JOB_MESSAGE_IMPORTANCE_UNKNOWN",
+ "JOB_MESSAGE_DEBUG",
+ "JOB_MESSAGE_DETAILED",
+ "JOB_MESSAGE_BASIC",
+ "JOB_MESSAGE_WARNING",
+ "JOB_MESSAGE_ERROR"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "projectId": {
+ "description": "A project id.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "jobId": {
+ "description": "The job to get messages about.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Return only messages with timestamps < end_time. The default is now\n(i.e. return up to the latest messages available).",
+ "format": "google-datetime",
+ "location": "query",
+ "type": "string"
+ },
+ "location": {
+ "description": "The location which contains the job specified by job_id.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "If supplied, this should be the value of next_page_token returned\nby an earlier call. This will cause the next page of results to\nbe returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "If specified, return only messages with timestamps >= start_time.\nThe default is the job creation time (i.e. beginning of messages).",
+ "format": "google-datetime",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1b3/projects/{projectId}/jobs/{jobId}/messages",
+ "response": {
+ "$ref": "ListJobMessagesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/userinfo.email"
+ ]
+ }
+ }
}
}
}
}
}
},
- "revision": "20170303",
+ "revision": "20170318",
"rootUrl": "https://dataflow.googleapis.com/",
"schemas": {
- "SeqMapTaskOutputInfo": {
- "description": "Information about an output of a SeqMapTask.",
- "id": "SeqMapTaskOutputInfo",
- "properties": {
- "sink": {
- "$ref": "Sink",
- "description": "The sink to write the output value to."
- },
- "tag": {
- "description": "The id of the TupleTag the user code will tag the output value by.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "JobExecutionStageInfo": {
- "description": "Contains information about how a particular\ngoogle.dataflow.v1beta3.Step will be executed.",
- "id": "JobExecutionStageInfo",
- "properties": {
- "stepName": {
- "description": "The steps associated with the execution stage.\nNote that stages may have several steps, and that a given step\nmight be run by more than one stage.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "KeyRangeLocation": {
- "description": "Location information for a specific key-range of a sharded computation.\nCurrently we only support UTF-8 character splits to simplify encoding into\nJSON.",
- "id": "KeyRangeLocation",
- "properties": {
- "deliveryEndpoint": {
- "description": "The physical location of this range assignment to be used for\nstreaming computation cross-worker message delivery.",
- "type": "string"
- },
- "start": {
- "description": "The start (inclusive) of the key range.",
- "type": "string"
- },
- "dataDisk": {
- "description": "The name of the data disk where data for this range is stored.\nThis name is local to the Google Cloud Platform project and uniquely\nidentifies the disk within that project, for example\n\"myproject-1014-104817-4c2-harness-0-disk-1\".",
- "type": "string"
- },
- "persistentDirectory": {
- "description": "The location of the persistent state for this range, as a\npersistent directory in the worker local filesystem.",
- "type": "string"
- },
- "end": {
- "description": "The end (exclusive) of the key range.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SourceGetMetadataRequest": {
- "description": "A request to compute the SourceMetadata of a Source.",
- "id": "SourceGetMetadataRequest",
- "properties": {
- "source": {
- "$ref": "Source",
- "description": "Specification of the source whose metadata should be computed."
- }
- },
- "type": "object"
- },
- "NameAndKind": {
- "description": "Basic metadata about a counter.",
- "id": "NameAndKind",
- "properties": {
- "name": {
- "description": "Name of the counter.",
- "type": "string"
- },
- "kind": {
- "description": "Counter aggregation kind.",
- "enum": [
- "INVALID",
- "SUM",
- "MAX",
- "MIN",
- "MEAN",
- "OR",
- "AND",
- "SET",
- "DISTRIBUTION"
- ],
- "enumDescriptions": [
- "Counter aggregation kind was not set.",
- "Aggregated value is the sum of all contributed values.",
- "Aggregated value is the max of all contributed values.",
- "Aggregated value is the min of all contributed values.",
- "Aggregated value is the mean of all contributed values.",
- "Aggregated value represents the logical 'or' of all contributed values.",
- "Aggregated value represents the logical 'and' of all contributed values.",
- "Aggregated value is a set of unique contributed values.",
- "Aggregated value captures statistics about a distribution."
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "SeqMapTask": {
- "description": "Describes a particular function to invoke.",
- "id": "SeqMapTask",
- "properties": {
- "inputs": {
- "description": "Information about each of the inputs.",
- "items": {
- "$ref": "SideInputInfo"
- },
- "type": "array"
- },
- "systemName": {
- "description": "System-defined name of the SeqDo operation.\nUnique across the workflow.",
- "type": "string"
- },
- "stageName": {
- "description": "System-defined name of the stage containing the SeqDo operation.\nUnique across the workflow.",
- "type": "string"
- },
- "userFn": {
- "additionalProperties": {
- "description": "Properties of the object.",
- "type": "any"
- },
- "description": "The user function to invoke.",
- "type": "object"
- },
- "name": {
- "description": "The user-provided name of the SeqDo operation.",
- "type": "string"
- },
- "outputInfos": {
- "description": "Information about each of the outputs.",
- "items": {
- "$ref": "SeqMapTaskOutputInfo"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "WorkerMessageCode": {
- "description": "A message code is used to report status and error messages to the service.\nThe message codes are intended to be machine readable. The service will\ntake care of translating these into user understandable messages if\nnecessary.\n\nExample use cases:\n 1. Worker processes reporting successful startup.\n 2. Worker processes reporting specific errors (e.g. package staging\n failure).",
- "id": "WorkerMessageCode",
- "properties": {
- "code": {
- "description": "The code is a string intended for consumption by a machine that identifies\nthe type of message being sent.\nExamples:\n 1. \"HARNESS_STARTED\" might be used to indicate the worker harness has\n started.\n 2. \"GCS_DOWNLOAD_ERROR\" might be used to indicate an error downloading\n a GCS file as part of the boot process of one of the worker containers.\n\nThis is a string and not an enum to make it easy to add new codes without\nwaiting for an API change.",
- "type": "string"
- },
- "parameters": {
- "additionalProperties": {
- "description": "Properties of the object.",
- "type": "any"
- },
- "description": "Parameters contains specific information about the code.\n\nThis is a struct to allow parameters of different types.\n\nExamples:\n 1. For a \"HARNESS_STARTED\" message parameters might provide the name\n of the worker and additional data like timing information.\n 2. For a \"GCS_DOWNLOAD_ERROR\" parameters might contain fields listing\n the GCS objects being downloaded and fields containing errors.\n\nIn general complex data structures should be avoided. If a worker\nneeds to send a specific and complicated data structure then please\nconsider defining a new proto and adding it to the data oneof in\nWorkerMessageResponse.\n\nConventions:\n Parameters should only be used for information that isn't typically passed\n as a label.\n hostname and other worker identifiers should almost always be passed\n as labels since they will be included on most messages.",
- "type": "object"
- }
- },
- "type": "object"
- },
- "CustomSourceLocation": {
- "description": "Identifies the location of a custom souce.",
- "id": "CustomSourceLocation",
- "properties": {
- "stateful": {
- "description": "Whether this source is stateful.",
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "MapTask": {
- "description": "MapTask consists of an ordered set of instructions, each of which\ndescribes one particular low-level operation for the worker to\nperform in order to accomplish the MapTask's WorkItem.\n\nEach instruction must appear in the list before any instructions which\ndepends on its output.",
- "id": "MapTask",
- "properties": {
- "systemName": {
- "description": "System-defined name of this MapTask.\nUnique across the workflow.",
- "type": "string"
- },
- "stageName": {
- "description": "System-defined name of the stage containing this MapTask.\nUnique across the workflow.",
- "type": "string"
- },
- "instructions": {
- "description": "The instructions in the MapTask.",
- "items": {
- "$ref": "ParallelInstruction"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "FloatingPointMean": {
- "description": "A representation of a floating point mean metric contribution.",
- "id": "FloatingPointMean",
- "properties": {
- "count": {
- "$ref": "SplitInt64",
- "description": "The number of values being aggregated."
- },
- "sum": {
- "description": "The sum of all values being aggregated.",
- "format": "double",
- "type": "number"
- }
- },
- "type": "object"
- },
- "ReportWorkItemStatusResponse": {
- "description": "Response from a request to report the status of WorkItems.",
- "id": "ReportWorkItemStatusResponse",
- "properties": {
- "workItemServiceStates": {
- "description": "A set of messages indicating the service-side state for each\nWorkItem whose status was reported, in the same order as the\nWorkItemStatus messages in the ReportWorkItemStatusRequest which\nresulting in this response.",
- "items": {
- "$ref": "WorkItemServiceState"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"InstructionOutput": {
"description": "An output of an instruction.",
"id": "InstructionOutput",
"properties": {
- "systemName": {
- "description": "System-defined name of this output.\nUnique across the workflow.",
+ "originalName": {
+ "description": "System-defined name for this output in the original workflow graph.\nOutputs that do not contribute to an original instruction do not set this.",
"type": "string"
},
"onlyCountKeyBytes": {
"description": "For system-generated byte and mean byte metrics, certain instructions\nshould only report the key size.",
"type": "boolean"
},
+ "systemName": {
+ "description": "System-defined name of this output.\nUnique across the workflow.",
+ "type": "string"
+ },
"onlyCountValueBytes": {
"description": "For system-generated byte and mean byte metrics, certain instructions\nshould only report the value size.",
"type": "boolean"
@@ -1398,10 +1175,6 @@
"name": {
"description": "The user-provided name of this output.",
"type": "string"
- },
- "originalName": {
- "description": "System-defined name for this output in the original workflow graph.\nOutputs that do not contribute to an original instruction do not set this.",
- "type": "string"
}
},
"type": "object"
@@ -1410,6 +1183,10 @@
"description": "A request to create a Cloud Dataflow job from a template.",
"id": "CreateJobFromTemplateRequest",
"properties": {
+ "jobName": {
+ "description": "Required. The job name to use for the created job.",
+ "type": "string"
+ },
"gcsPath": {
"description": "Required. A Cloud Storage path to the template from which to\ncreate the job.\nMust be a valid Cloud Storage URL, beginning with `gs://`.",
"type": "string"
@@ -1424,10 +1201,6 @@
},
"description": "The runtime parameters to pass to the job.",
"type": "object"
- },
- "jobName": {
- "description": "Required. The job name to use for the created job.",
- "type": "string"
}
},
"type": "object"
@@ -1436,13 +1209,13 @@
"description": "A representation of an integer mean metric contribution.",
"id": "IntegerMean",
"properties": {
- "sum": {
- "$ref": "SplitInt64",
- "description": "The sum of all values being aggregated."
- },
"count": {
"$ref": "SplitInt64",
"description": "The number of values being aggregated."
+ },
+ "sum": {
+ "$ref": "SplitInt64",
+ "description": "The sum of all values being aggregated."
}
},
"type": "object"
@@ -1451,13 +1224,6 @@
"description": "Response to a request to list Cloud Dataflow jobs. This may be a partial\nresponse, depending on the page size in the ListJobsRequest.",
"id": "ListJobsResponse",
"properties": {
- "jobs": {
- "description": "A subset of the requested job information.",
- "items": {
- "$ref": "Job"
- },
- "type": "array"
- },
"nextPageToken": {
"description": "Set if there may be more results than fit in this response.",
"type": "string"
@@ -1468,6 +1234,13 @@
"$ref": "FailedLocation"
},
"type": "array"
+ },
+ "jobs": {
+ "description": "A subset of the requested job information.",
+ "items": {
+ "$ref": "Job"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -1476,28 +1249,6 @@
"description": "All configuration data for a particular Computation.",
"id": "ComputationTopology",
"properties": {
- "systemStageName": {
- "description": "The system stage name.",
- "type": "string"
- },
- "inputs": {
- "description": "The inputs to the computation.",
- "items": {
- "$ref": "StreamLocation"
- },
- "type": "array"
- },
- "computationId": {
- "description": "The ID of the computation.",
- "type": "string"
- },
- "keyRanges": {
- "description": "The key ranges processed by the computation.",
- "items": {
- "$ref": "KeyRangeLocation"
- },
- "type": "array"
- },
"userStageName": {
"description": "The user stage name.",
"type": "string"
@@ -1515,6 +1266,28 @@
"$ref": "StateFamilyConfig"
},
"type": "array"
+ },
+ "systemStageName": {
+ "description": "The system stage name.",
+ "type": "string"
+ },
+ "computationId": {
+ "description": "The ID of the computation.",
+ "type": "string"
+ },
+ "inputs": {
+ "description": "The inputs to the computation.",
+ "items": {
+ "$ref": "StreamLocation"
+ },
+ "type": "array"
+ },
+ "keyRanges": {
+ "description": "The key ranges processed by the computation.",
+ "items": {
+ "$ref": "KeyRangeLocation"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -1523,15 +1296,6 @@
"description": "The environment values to set at runtime.",
"id": "RuntimeEnvironment",
"properties": {
- "maxWorkers": {
- "description": "The maximum number of Google Compute Engine instances to be made\navailable to your pipeline during execution, from 1 to 1000.",
- "format": "int32",
- "type": "integer"
- },
- "zone": {
- "description": "The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones)\nfor launching worker instances to run your pipeline.",
- "type": "string"
- },
"serviceAccountEmail": {
"description": "The email address of the service account to run the job as.",
"type": "string"
@@ -1543,20 +1307,14 @@
"bypassTempDirValidation": {
"description": "Whether to bypass the safety checks for the job's temporary directory.\nUse with caution.",
"type": "boolean"
- }
- },
- "type": "object"
- },
- "StreamingSideInputLocation": {
- "description": "Identifies the location of a streaming side input.",
- "id": "StreamingSideInputLocation",
- "properties": {
- "stateFamily": {
- "description": "Identifies the state family where this side input is stored.",
- "type": "string"
},
- "tag": {
- "description": "Identifies the particular side input within the streaming Dataflow job.",
+ "maxWorkers": {
+ "description": "The maximum number of Google Compute Engine instances to be made\navailable to your pipeline during execution, from 1 to 1000.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "zone": {
+ "description": "The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones)\nfor launching worker instances to run your pipeline.",
"type": "string"
}
},
@@ -1573,14 +1331,25 @@
},
"type": "object"
},
+ "StreamingSideInputLocation": {
+ "description": "Identifies the location of a streaming side input.",
+ "id": "StreamingSideInputLocation",
+ "properties": {
+ "tag": {
+ "description": "Identifies the particular side input within the streaming Dataflow job.",
+ "type": "string"
+ },
+ "stateFamily": {
+ "description": "Identifies the state family where this side input is stored.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"LaunchTemplateResponse": {
"description": "Response to the request to launch a template.",
"id": "LaunchTemplateResponse",
"properties": {
- "status": {
- "$ref": "Status",
- "description": "The status of the launch template request. Any problems with the request\nwill be indicated in the error_details."
- },
"job": {
"$ref": "Job",
"description": "The job that was launched, if the request was not a dry run and\nthe job was successfully launched."
@@ -1634,6 +1403,89 @@
"description": "Defines a job to be run by the Cloud Dataflow service.",
"id": "Job",
"properties": {
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "User-defined labels for this job.\n\nThe labels map can contain no more than 64 entries. Entries of the labels\nmap are UTF8 strings that comply with the following restrictions:\n\n* Keys must conform to regexp: \\p{Ll}\\p{Lo}{0,62}\n* Values must conform to regexp: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}\n* Both keys and values are additionally constrained to be <= 128 bytes in\nsize.",
+ "type": "object"
+ },
+ "environment": {
+ "$ref": "Environment",
+ "description": "The environment for the job."
+ },
+ "createTime": {
+ "description": "The timestamp when the job was initially created. Immutable and set by the\nCloud Dataflow service.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "projectId": {
+ "description": "The ID of the Cloud Platform project that the job belongs to.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The type of Cloud Dataflow job.",
+ "enum": [
+ "JOB_TYPE_UNKNOWN",
+ "JOB_TYPE_BATCH",
+ "JOB_TYPE_STREAMING"
+ ],
+ "enumDescriptions": [
+ "The type of the job is unspecified, or unknown.",
+ "A batch job with a well-defined end point: data is read, data is\nprocessed, data is written, and the job is done.",
+ "A continuously streaming job with no end: data is read,\nprocessed, and written continuously."
+ ],
+ "type": "string"
+ },
+ "pipelineDescription": {
+ "$ref": "PipelineDescription",
+ "description": "Preliminary field: The format of this data may change at any time.\nA description of the user pipeline and stages through which it is executed.\nCreated by Cloud Dataflow service. Only retrieved with\nJOB_VIEW_DESCRIPTION or JOB_VIEW_ALL."
+ },
+ "replaceJobId": {
+ "description": "If this job is an update of an existing job, this field is the job ID\nof the job it replaced.\n\nWhen sending a `CreateJobRequest`, you can update a job by specifying it\nhere. The job named here is stopped, and its intermediate state is\ntransferred to this job.",
+ "type": "string"
+ },
+ "requestedState": {
+ "description": "The job's requested state.\n\n`UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and\n`JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may\nalso be used to directly set a job's requested state to\n`JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the\njob if it has not already reached a terminal state.",
+ "enum": [
+ "JOB_STATE_UNKNOWN",
+ "JOB_STATE_STOPPED",
+ "JOB_STATE_RUNNING",
+ "JOB_STATE_DONE",
+ "JOB_STATE_FAILED",
+ "JOB_STATE_CANCELLED",
+ "JOB_STATE_UPDATED",
+ "JOB_STATE_DRAINING",
+ "JOB_STATE_DRAINED"
+ ],
+ "enumDescriptions": [
+ "The job's run state isn't specified.",
+ "`JOB_STATE_STOPPED` indicates that the job has not\nyet started to run.",
+ "`JOB_STATE_RUNNING` indicates that the job is currently running.",
+ "`JOB_STATE_DONE` indicates that the job has successfully completed.\nThis is a terminal job state. This state may be set by the Cloud Dataflow\nservice, as a transition from `JOB_STATE_RUNNING`. It may also be set via a\nCloud Dataflow `UpdateJob` call, if the job has not yet reached a terminal\nstate.",
+ "`JOB_STATE_FAILED` indicates that the job has failed. This is a\nterminal job state. This state may only be set by the Cloud Dataflow\nservice, and only as a transition from `JOB_STATE_RUNNING`.",
+ "`JOB_STATE_CANCELLED` indicates that the job has been explicitly\ncancelled. This is a terminal job state. This state may only be\nset via a Cloud Dataflow `UpdateJob` call, and only if the job has not\nyet reached another terminal state.",
+ "`JOB_STATE_UPDATED` indicates that the job was successfully updated,\nmeaning that this job was stopped and another job was started, inheriting\nstate from this one. This is a terminal job state. This state may only be\nset by the Cloud Dataflow service, and only as a transition from\n`JOB_STATE_RUNNING`.",
+ "`JOB_STATE_DRAINING` indicates that the job is in the process of draining.\nA draining job has stopped pulling from its input sources and is processing\nany data that remains in-flight. This state may be set via a Cloud Dataflow\n`UpdateJob` call, but only as a transition from `JOB_STATE_RUNNING`. Jobs\nthat are draining may only transition to `JOB_STATE_DRAINED`,\n`JOB_STATE_CANCELLED`, or `JOB_STATE_FAILED`.",
+ "`JOB_STATE_DRAINED` indicates that the job has been drained.\nA drained job terminated by stopping pulling from its input sources and\nprocessing any data that remained in-flight when draining was requested.\nThis state is a terminal state, may only be set by the Cloud Dataflow\nservice, and only as a transition from `JOB_STATE_DRAINING`."
+ ],
+ "type": "string"
+ },
+ "tempFiles": {
+ "description": "A set of files the system should be aware of that are used\nfor temporary storage. These temporary files will be\nremoved on job completion.\nNo duplicates are allowed.\nNo file patterns are supported.\n\nThe supported files are:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.googleapis.com/{object}",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "clientRequestId": {
+ "description": "The client's unique identifier of the job, re-used across retried attempts.\nIf this field is set, the service will ensure its uniqueness.\nThe request to create a job will fail if the service has knowledge of a\npreviously submitted job with the same client's ID and job name.\nThe caller may use this field to ensure idempotence of job\ncreation across retried attempts to create a job.\nBy default, the field is empty and, in that case, the service ignores it.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The user-specified Cloud Dataflow job name.\n\nOnly one Job with a given name may exist in a project at any\ngiven time. If a caller attempts to create a Job with the same\nname as an already-existing Job, the attempt returns the\nexisting Job.\n\nThe name must match the regular expression\n`[a-z]([-a-z0-9]{0,38}[a-z0-9])?`",
+ "type": "string"
+ },
"steps": {
"description": "The top-level steps that constitute the entire job.",
"items": {
@@ -1694,89 +1546,6 @@
},
"description": "The map of transform name prefixes of the job to be replaced to the\ncorresponding name prefixes of the new job.",
"type": "object"
- },
- "labels": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "User-defined labels for this job.\n\nThe labels map can contain no more than 64 entries. Entries of the labels\nmap are UTF8 strings that comply with the following restrictions:\n\n* Keys must conform to regexp: \\p{Ll}\\p{Lo}{0,62}\n* Values must conform to regexp: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}\n* Both keys and values are additionally constrained to be <= 128 bytes in\nsize.",
- "type": "object"
- },
- "environment": {
- "$ref": "Environment",
- "description": "The environment for the job."
- },
- "createTime": {
- "description": "The timestamp when the job was initially created. Immutable and set by the\nCloud Dataflow service.",
- "format": "google-datetime",
- "type": "string"
- },
- "type": {
- "description": "The type of Cloud Dataflow job.",
- "enum": [
- "JOB_TYPE_UNKNOWN",
- "JOB_TYPE_BATCH",
- "JOB_TYPE_STREAMING"
- ],
- "enumDescriptions": [
- "The type of the job is unspecified, or unknown.",
- "A batch job with a well-defined end point: data is read, data is\nprocessed, data is written, and the job is done.",
- "A continuously streaming job with no end: data is read,\nprocessed, and written continuously."
- ],
- "type": "string"
- },
- "projectId": {
- "description": "The ID of the Cloud Platform project that the job belongs to.",
- "type": "string"
- },
- "pipelineDescription": {
- "$ref": "PipelineDescription",
- "description": "Preliminary field: The format of this data may change at any time.\nA description of the user pipeline and stages through which it is executed.\nCreated by Cloud Dataflow service. Only retrieved with\nJOB_VIEW_DESCRIPTION or JOB_VIEW_ALL."
- },
- "replaceJobId": {
- "description": "If this job is an update of an existing job, this field is the job ID\nof the job it replaced.\n\nWhen sending a `CreateJobRequest`, you can update a job by specifying it\nhere. The job named here is stopped, and its intermediate state is\ntransferred to this job.",
- "type": "string"
- },
- "requestedState": {
- "description": "The job's requested state.\n\n`UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and\n`JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may\nalso be used to directly set a job's requested state to\n`JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the\njob if it has not already reached a terminal state.",
- "enum": [
- "JOB_STATE_UNKNOWN",
- "JOB_STATE_STOPPED",
- "JOB_STATE_RUNNING",
- "JOB_STATE_DONE",
- "JOB_STATE_FAILED",
- "JOB_STATE_CANCELLED",
- "JOB_STATE_UPDATED",
- "JOB_STATE_DRAINING",
- "JOB_STATE_DRAINED"
- ],
- "enumDescriptions": [
- "The job's run state isn't specified.",
- "`JOB_STATE_STOPPED` indicates that the job has not\nyet started to run.",
- "`JOB_STATE_RUNNING` indicates that the job is currently running.",
- "`JOB_STATE_DONE` indicates that the job has successfully completed.\nThis is a terminal job state. This state may be set by the Cloud Dataflow\nservice, as a transition from `JOB_STATE_RUNNING`. It may also be set via a\nCloud Dataflow `UpdateJob` call, if the job has not yet reached a terminal\nstate.",
- "`JOB_STATE_FAILED` indicates that the job has failed. This is a\nterminal job state. This state may only be set by the Cloud Dataflow\nservice, and only as a transition from `JOB_STATE_RUNNING`.",
- "`JOB_STATE_CANCELLED` indicates that the job has been explicitly\ncancelled. This is a terminal job state. This state may only be\nset via a Cloud Dataflow `UpdateJob` call, and only if the job has not\nyet reached another terminal state.",
- "`JOB_STATE_UPDATED` indicates that the job was successfully updated,\nmeaning that this job was stopped and another job was started, inheriting\nstate from this one. This is a terminal job state. This state may only be\nset by the Cloud Dataflow service, and only as a transition from\n`JOB_STATE_RUNNING`.",
- "`JOB_STATE_DRAINING` indicates that the job is in the process of draining.\nA draining job has stopped pulling from its input sources and is processing\nany data that remains in-flight. This state may be set via a Cloud Dataflow\n`UpdateJob` call, but only as a transition from `JOB_STATE_RUNNING`. Jobs\nthat are draining may only transition to `JOB_STATE_DRAINED`,\n`JOB_STATE_CANCELLED`, or `JOB_STATE_FAILED`.",
- "`JOB_STATE_DRAINED` indicates that the job has been drained.\nA drained job terminated by stopping pulling from its input sources and\nprocessing any data that remained in-flight when draining was requested.\nThis state is a terminal state, may only be set by the Cloud Dataflow\nservice, and only as a transition from `JOB_STATE_DRAINING`."
- ],
- "type": "string"
- },
- "tempFiles": {
- "description": "A set of files the system should be aware of that are used\nfor temporary storage. These temporary files will be\nremoved on job completion.\nNo duplicates are allowed.\nNo file patterns are supported.\n\nThe supported files are:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.googleapis.com/{object}",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "clientRequestId": {
- "description": "The client's unique identifier of the job, re-used across retried attempts.\nIf this field is set, the service will ensure its uniqueness.\nThe request to create a job will fail if the service has knowledge of a\npreviously submitted job with the same client's ID and job name.\nThe caller may use this field to ensure idempotence of job\ncreation across retried attempts to create a job.\nBy default, the field is empty and, in that case, the service ignores it.",
- "type": "string"
- },
- "name": {
- "description": "The user-specified Cloud Dataflow job name.\n\nOnly one Job with a given name may exist in a project at any\ngiven time. If a caller attempts to create a Job with the same\nname as an already-existing Job, the attempt returns the\nexisting Job.\n\nThe name must match the regular expression\n`[a-z]([-a-z0-9]{0,38}[a-z0-9])?`",
- "type": "string"
}
},
"type": "object"
@@ -1785,17 +1554,23 @@
"description": "The result of a SourceOperationRequest, specified in\nReportWorkItemStatusRequest.source_operation when the work item\nis completed.",
"id": "SourceOperationResponse",
"properties": {
- "split": {
- "$ref": "SourceSplitResponse",
- "description": "A response to a request to split a source."
- },
"getMetadata": {
"$ref": "SourceGetMetadataResponse",
"description": "A response to a request to get metadata about a source."
+ },
+ "split": {
+ "$ref": "SourceSplitResponse",
+ "description": "A response to a request to split a source."
}
},
"type": "object"
},
+ "SendDebugCaptureResponse": {
+ "description": "Response to a send capture request.\nnothing",
+ "id": "SendDebugCaptureResponse",
+ "properties": {},
+ "type": "object"
+ },
"SideInputInfo": {
"description": "Information about a side input of a DoFn or an input of a SeqDoFn.",
"id": "SideInputInfo",
@@ -1822,12 +1597,6 @@
},
"type": "object"
},
- "SendDebugCaptureResponse": {
- "description": "Response to a send capture request.\nnothing",
- "id": "SendDebugCaptureResponse",
- "properties": {},
- "type": "object"
- },
"WriteInstruction": {
"description": "An instruction that writes records.\nTakes one input, produces no outputs.",
"id": "WriteInstruction",
@@ -1843,6 +1612,21 @@
},
"type": "object"
},
+ "CounterStructuredNameAndMetadata": {
+ "description": "A single message which encapsulates structured name and metadata for a given\ncounter.",
+ "id": "CounterStructuredNameAndMetadata",
+ "properties": {
+ "metadata": {
+ "$ref": "CounterMetadata",
+ "description": "Metadata associated with a counter"
+ },
+ "name": {
+ "$ref": "CounterStructuredName",
+ "description": "Structured name of the counter."
+ }
+ },
+ "type": "object"
+ },
"ConcatPosition": {
"description": "A position that encapsulates an inner position and an index for the inner\nposition. A ConcatPosition can be used by a reader of a source that\nencapsulates a set of other sources.",
"id": "ConcatPosition",
@@ -1859,21 +1643,6 @@
},
"type": "object"
},
- "CounterStructuredNameAndMetadata": {
- "description": "A single message which encapsulates structured name and metadata for a given\ncounter.",
- "id": "CounterStructuredNameAndMetadata",
- "properties": {
- "name": {
- "$ref": "CounterStructuredName",
- "description": "Structured name of the counter."
- },
- "metadata": {
- "$ref": "CounterMetadata",
- "description": "Metadata associated with a counter"
- }
- },
- "type": "object"
- },
"AutoscalingSettings": {
"description": "Settings for WorkerPool autoscaling.",
"id": "AutoscalingSettings",
@@ -1904,16 +1673,16 @@
"description": "Describes full or partial data disk assignment information of the computation\nranges.",
"id": "StreamingComputationRanges",
"properties": {
+ "computationId": {
+ "description": "The ID of the computation.",
+ "type": "string"
+ },
"rangeAssignments": {
"description": "Data disk assignments for ranges from this computation.",
"items": {
"$ref": "KeyRangeDataDiskAssignment"
},
"type": "array"
- },
- "computationId": {
- "description": "The ID of the computation.",
- "type": "string"
}
},
"type": "object"
@@ -1922,6 +1691,32 @@
"description": "Description of the composing transforms, names/ids, and input/outputs of a\nstage of execution. Some composing transforms and sources may have been\ngenerated by the Dataflow service during execution planning.",
"id": "ExecutionStageSummary",
"properties": {
+ "kind": {
+ "description": "Type of tranform this stage is executing.",
+ "enum": [
+ "UNKNOWN_KIND",
+ "PAR_DO_KIND",
+ "GROUP_BY_KEY_KIND",
+ "FLATTEN_KIND",
+ "READ_KIND",
+ "WRITE_KIND",
+ "CONSTANT_KIND",
+ "SINGLETON_KIND",
+ "SHUFFLE_KIND"
+ ],
+ "enumDescriptions": [
+ "Unrecognized transform type.",
+ "ParDo transform.",
+ "Group By Key transform.",
+ "Flatten transform.",
+ "Read transform.",
+ "Write transform.",
+ "Constructs from a constant value, such as with Create.of.",
+ "Creates a Singleton view of a collection.",
+ "Opening or closing a shuffle session, often as part of a GroupByKey."
+ ],
+ "type": "string"
+ },
"outputSource": {
"description": "Output sources for this stage.",
"items": {
@@ -1957,32 +1752,6 @@
"$ref": "ComponentSource"
},
"type": "array"
- },
- "kind": {
- "description": "Type of tranform this stage is executing.",
- "enum": [
- "UNKNOWN_KIND",
- "PAR_DO_KIND",
- "GROUP_BY_KEY_KIND",
- "FLATTEN_KIND",
- "READ_KIND",
- "WRITE_KIND",
- "CONSTANT_KIND",
- "SINGLETON_KIND",
- "SHUFFLE_KIND"
- ],
- "enumDescriptions": [
- "Unrecognized transform type.",
- "ParDo transform.",
- "Group By Key transform.",
- "Flatten transform.",
- "Read transform.",
- "Write transform.",
- "Constructs from a constant value, such as with Create.of.",
- "Creates a Singleton view of a collection.",
- "Opening or closing a shuffle session, often as part of a GroupByKey."
- ],
- "type": "string"
}
},
"type": "object"
@@ -2032,11 +1801,6 @@
"description": "Modeled after information exposed by /proc/stat.",
"id": "CPUTime",
"properties": {
- "rate": {
- "description": "Average CPU utilization rate (% non-idle cpu / second) since previous\nsample.",
- "format": "double",
- "type": "number"
- },
"timestamp": {
"description": "Timestamp of the measurement.",
"format": "google-datetime",
@@ -2046,6 +1810,11 @@
"description": "Total active CPU time across all cores (ie., non-idle) in milliseconds\nsince start-up.",
"format": "uint64",
"type": "string"
+ },
+ "rate": {
+ "description": "Average CPU utilization rate (% non-idle cpu / second) since previous\nsample.",
+ "format": "double",
+ "type": "number"
}
},
"type": "object"
@@ -2054,6 +1823,33 @@
"description": "Describes the environment in which a Dataflow Job runs.",
"id": "Environment",
"properties": {
+ "dataset": {
+ "description": "The dataset for the current project where various workflow\nrelated tables are stored.\n\nThe supported resource type is:\n\nGoogle BigQuery:\n bigquery.googleapis.com/{dataset}",
+ "type": "string"
+ },
+ "experiments": {
+ "description": "The list of experiments to enable.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "version": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "A structure describing which components and their versions of the service\nare required in order to run the job.",
+ "type": "object"
+ },
+ "internalExperiments": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "Experimental settings.",
+ "type": "object"
+ },
"serviceAccountEmail": {
"description": "Identity to run virtual machines as. Defaults to the default account.",
"type": "string"
@@ -2088,33 +1884,6 @@
"$ref": "WorkerPool"
},
"type": "array"
- },
- "dataset": {
- "description": "The dataset for the current project where various workflow\nrelated tables are stored.\n\nThe supported resource type is:\n\nGoogle BigQuery:\n bigquery.googleapis.com/{dataset}",
- "type": "string"
- },
- "experiments": {
- "description": "The list of experiments to enable.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "version": {
- "additionalProperties": {
- "description": "Properties of the object.",
- "type": "any"
- },
- "description": "A structure describing which components and their versions of the service\nare required in order to run the job.",
- "type": "object"
- },
- "internalExperiments": {
- "additionalProperties": {
- "description": "Properties of the object. Contains field @type with type URL.",
- "type": "any"
- },
- "description": "Experimental settings.",
- "type": "object"
}
},
"type": "object"
@@ -2123,6 +1892,13 @@
"description": "A task which describes what action should be performed for the specified\nstreaming computation ranges.",
"id": "StreamingComputationTask",
"properties": {
+ "dataDisks": {
+ "description": "Describes the set of data disks this task should apply to.",
+ "items": {
+ "$ref": "MountedDataDisk"
+ },
+ "type": "array"
+ },
"taskType": {
"description": "A type of streaming computation task.",
"enum": [
@@ -2143,13 +1919,6 @@
"$ref": "StreamingComputationRanges"
},
"type": "array"
- },
- "dataDisks": {
- "description": "Describes the set of data disks this task should apply to.",
- "items": {
- "$ref": "MountedDataDisk"
- },
- "type": "array"
}
},
"type": "object"
@@ -2158,10 +1927,6 @@
"description": "Request to send encoded debug information.",
"id": "SendDebugCaptureRequest",
"properties": {
- "data": {
- "description": "The encoded debug information.",
- "type": "string"
- },
"componentId": {
"description": "The internal component id for which debug information is sent.",
"type": "string"
@@ -2169,6 +1934,10 @@
"workerId": {
"description": "The worker id, i.e., VM hostname.",
"type": "string"
+ },
+ "data": {
+ "description": "The encoded debug information.",
+ "type": "string"
}
},
"type": "object"
@@ -2188,10 +1957,6 @@
"description": "Description of a transform executed as part of an execution stage.",
"id": "ComponentTransform",
"properties": {
- "name": {
- "description": "Dataflow service generated name for this source.",
- "type": "string"
- },
"userName": {
"description": "Human-readable name for this transform; may be user or system generated.",
"type": "string"
@@ -2199,6 +1964,10 @@
"originalTransform": {
"description": "User name for the original user transform with which this transform is\nmost closely associated.",
"type": "string"
+ },
+ "name": {
+ "description": "Dataflow service generated name for this source.",
+ "type": "string"
}
},
"type": "object"
@@ -2232,22 +2001,14 @@
"description": "Identifies a pubsub location to use for transferring data into or\nout of a streaming Dataflow job.",
"id": "PubsubLocation",
"properties": {
- "withAttributes": {
- "description": "If true, then the client has requested to get pubsub attributes.",
- "type": "boolean"
- },
- "idLabel": {
- "description": "If set, contains a pubsub label from which to extract record ids.\nIf left empty, record deduplication will be strictly best effort.",
+ "topic": {
+ "description": "A pubsub topic, in the form of\n\"pubsub.googleapis.com/topics/<project-id>/<topic-name>\"",
"type": "string"
},
"timestampLabel": {
"description": "If set, contains a pubsub label from which to extract record timestamps.\nIf left empty, record timestamps will be generated upon arrival.",
"type": "string"
},
- "topic": {
- "description": "A pubsub topic, in the form of\n\"pubsub.googleapis.com/topics/<project-id>/<topic-name>\"",
- "type": "string"
- },
"subscription": {
"description": "A pubsub subscription, in the form of\n\"pubsub.googleapis.com/subscriptions/<project-id>/<subscription-name>\"",
"type": "string"
@@ -2259,6 +2020,14 @@
"trackingSubscription": {
"description": "If set, specifies the pubsub subscription that will be used for tracking\ncustom time timestamps for watermark estimation.",
"type": "string"
+ },
+ "withAttributes": {
+ "description": "If true, then the client has requested to get pubsub attributes.",
+ "type": "boolean"
+ },
+ "idLabel": {
+ "description": "If set, contains a pubsub label from which to extract record ids.\nIf left empty, record deduplication will be strictly best effort.",
+ "type": "string"
}
},
"type": "object"
@@ -2299,6 +2068,11 @@
"description": "A particular message pertaining to a Dataflow job.",
"id": "JobMessage",
"properties": {
+ "time": {
+ "description": "The timestamp of the message.",
+ "format": "google-datetime",
+ "type": "string"
+ },
"id": {
"description": "Identifies the message. This is automatically generated by the\nservice; the caller should treat it as an opaque string.",
"type": "string"
@@ -2326,11 +2100,6 @@
"The message is at the 'error' level: indicating a condition\npreventing a job from succeeding. Typically, Dataflow pipeline\nrunners display log messages at this level by default, and these\nmessages are displayed by default in the Dataflow monitoring UI."
],
"type": "string"
- },
- "time": {
- "description": "The timestamp of the message.",
- "format": "google-datetime",
- "type": "string"
}
},
"type": "object"
@@ -2339,6 +2108,13 @@
"description": "Metadata for a specific parameter.",
"id": "ParameterMetadata",
"properties": {
+ "regexes": {
+ "description": "Optional. Regexes that the parameter must match.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"label": {
"description": "Required. The label to display for the parameter.",
"type": "string"
@@ -2354,13 +2130,6 @@
"name": {
"description": "Required. The name of the parameter.",
"type": "string"
- },
- "regexes": {
- "description": "Optional. Regexes that the parameter must match.",
- "items": {
- "type": "string"
- },
- "type": "array"
}
},
"type": "object"
@@ -2482,14 +2251,14 @@
"description": "The location on the worker for task-specific subdirectories.",
"type": "string"
},
- "languageHint": {
- "description": "The suggested backend language.",
- "type": "string"
- },
"commandlinesFileName": {
"description": "The file to store preprocessing commands in.",
"type": "string"
},
+ "languageHint": {
+ "description": "The suggested backend language.",
+ "type": "string"
+ },
"baseUrl": {
"description": "The base URL for the taskrunner to use when accessing Google Cloud APIs.\n\nWhen workers access Google Cloud APIs, they logically do so via\nrelative URLs. If this field is specified, it supplies the base\nURL to use for resolving these relative URLs. The normative\nalgorithm used is defined by RFC 1808, \"Relative Uniform Resource\nLocators\".\n\nIf not specified, the default value is \"http://www.googleapis.com/\"",
"type": "string"
@@ -2534,15 +2303,15 @@
"description": "CloudPosition is a base64 encoded BatchShufflePosition (with FIXED\nsharding).",
"type": "string"
},
- "concatPosition": {
- "$ref": "ConcatPosition",
- "description": "CloudPosition is a concat position."
- },
"byteOffset": {
"description": "Position is a byte offset.",
"format": "int64",
"type": "string"
},
+ "concatPosition": {
+ "$ref": "ConcatPosition",
+ "description": "CloudPosition is a concat position."
+ },
"end": {
"description": "Position is past all other positions. Also useful for the end\nposition of an unbounded range.",
"type": "boolean"
@@ -2575,21 +2344,6 @@
"description": "A source that records can be read and decoded from.",
"id": "Source",
"properties": {
- "metadata": {
- "$ref": "SourceMetadata",
- "description": "Optionally, metadata for this source can be supplied right away,\navoiding a SourceGetMetadataOperation roundtrip\n(see SourceOperationRequest).\n\nThis field is meaningful only in the Source objects populated\nby the user (e.g. when filling in a DerivedSource).\nSource objects supplied by the framework to the user don't have\nthis field populated."
- },
- "baseSpecs": {
- "description": "While splitting, sources may specify the produced bundles\nas differences against another source, in order to save backend-side\nmemory and allow bigger jobs. For details, see SourceSplitRequest.\nTo support this use case, the full set of parameters of the source\nis logically obtained by taking the latest explicitly specified value\nof each parameter in the order:\nbase_specs (later items win), spec (overrides anything in base_specs).",
- "items": {
- "additionalProperties": {
- "description": "Properties of the object.",
- "type": "any"
- },
- "type": "object"
- },
- "type": "array"
- },
"codec": {
"additionalProperties": {
"description": "Properties of the object.",
@@ -2609,6 +2363,21 @@
},
"description": "The source to read from, plus its parameters.",
"type": "object"
+ },
+ "metadata": {
+ "$ref": "SourceMetadata",
+ "description": "Optionally, metadata for this source can be supplied right away,\navoiding a SourceGetMetadataOperation roundtrip\n(see SourceOperationRequest).\n\nThis field is meaningful only in the Source objects populated\nby the user (e.g. when filling in a DerivedSource).\nSource objects supplied by the framework to the user don't have\nthis field populated."
+ },
+ "baseSpecs": {
+ "description": "While splitting, sources may specify the produced bundles\nas differences against another source, in order to save backend-side\nmemory and allow bigger jobs. For details, see SourceSplitRequest.\nTo support this use case, the full set of parameters of the source\nis logically obtained by taking the latest explicitly specified value\nof each parameter in the order:\nbase_specs (later items win), spec (overrides anything in base_specs).",
+ "items": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "type": "object"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -2617,24 +2386,6 @@
"description": "Describes one particular pool of Cloud Dataflow workers to be\ninstantiated by the Cloud Dataflow service in order to perform the\ncomputations required by a job. Note that a workflow job may use\nmultiple pools, in order to match the various computational\nrequirements of the various stages of the job.",
"id": "WorkerPool",
"properties": {
- "numThreadsPerWorker": {
- "description": "The number of threads per worker harness. If empty or unspecified, the\nservice will choose a number of threads (according to the number of cores\non the selected machine type for batch, or 1 by convention for streaming).",
- "format": "int32",
- "type": "integer"
- },
- "zone": {
- "description": "Zone to run the worker pools in. If empty or unspecified, the service\nwill attempt to choose a reasonable default.",
- "type": "string"
- },
- "numWorkers": {
- "description": "Number of Google Compute Engine workers in this pool needed to\nexecute the job. If zero or unspecified, the service will\nattempt to choose a reasonable default.",
- "format": "int32",
- "type": "integer"
- },
- "diskSourceImage": {
- "description": "Fully qualified source image for disks.",
- "type": "string"
- },
"packages": {
"description": "Packages to be installed on workers.",
"items": {
@@ -2679,14 +2430,14 @@
"description": "Required. Docker container image that executes the Cloud Dataflow worker\nharness, residing in Google Container Registry.",
"type": "string"
},
- "machineType": {
- "description": "Machine type (e.g. \"n1-standard-1\"). If empty or unspecified, the\nservice will attempt to choose a reasonable default.",
- "type": "string"
- },
"diskType": {
"description": "Type of root disk for VMs. If empty or unspecified, the service will\nattempt to choose a reasonable default.",
"type": "string"
},
+ "machineType": {
+ "description": "Machine type (e.g. \"n1-standard-1\"). If empty or unspecified, the\nservice will attempt to choose a reasonable default.",
+ "type": "string"
+ },
"kind": {
"description": "The kind of the worker pool; currently only `harness` and `shuffle`\nare supported.",
"type": "string"
@@ -2716,14 +2467,14 @@
],
"type": "string"
},
- "autoscalingSettings": {
- "$ref": "AutoscalingSettings",
- "description": "Settings for autoscaling of this WorkerPool."
- },
"taskrunnerSettings": {
"$ref": "TaskRunnerSettings",
"description": "Settings passed through to Google Compute Engine workers when\nusing the standard Dataflow task runner. Users should ignore\nthis field."
},
+ "autoscalingSettings": {
+ "$ref": "AutoscalingSettings",
+ "description": "Settings for autoscaling of this WorkerPool."
+ },
"metadata": {
"additionalProperties": {
"type": "string"
@@ -2750,6 +2501,24 @@
"network": {
"description": "Network to which VMs will be assigned. If empty or unspecified,\nthe service will use the network \"default\".",
"type": "string"
+ },
+ "zone": {
+ "description": "Zone to run the worker pools in. If empty or unspecified, the service\nwill attempt to choose a reasonable default.",
+ "type": "string"
+ },
+ "numWorkers": {
+ "description": "Number of Google Compute Engine workers in this pool needed to\nexecute the job. If zero or unspecified, the service will\nattempt to choose a reasonable default.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "numThreadsPerWorker": {
+ "description": "The number of threads per worker harness. If empty or unspecified, the\nservice will choose a number of threads (according to the number of cores\non the selected machine type for batch, or 1 by convention for streaming).",
+ "format": "int32",
+ "type": "integer"
+ },
+ "diskSourceImage": {
+ "description": "Fully qualified source image for disks.",
+ "type": "string"
}
},
"type": "object"
@@ -2773,14 +2542,45 @@
"description": "WorkItem represents basic information about a WorkItem to be executed\nin the cloud.",
"id": "WorkItem",
"properties": {
- "shellTask": {
- "$ref": "ShellTask",
- "description": "Additional information for ShellTask WorkItems."
+ "projectId": {
+ "description": "Identifies the cloud project this WorkItem belongs to.",
+ "type": "string"
+ },
+ "reportStatusInterval": {
+ "description": "Recommended reporting interval.",
+ "format": "google-duration",
+ "type": "string"
+ },
+ "sourceOperationTask": {
+ "$ref": "SourceOperationRequest",
+ "description": "Additional information for source operation WorkItems."
+ },
+ "streamingSetupTask": {
+ "$ref": "StreamingSetupTask",
+ "description": "Additional information for StreamingSetupTask WorkItems."
+ },
+ "streamingConfigTask": {
+ "$ref": "StreamingConfigTask",
+ "description": "Additional information for StreamingConfigTask WorkItems."
+ },
+ "leaseExpireTime": {
+ "description": "Time when the lease on this Work will expire.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "initialReportIndex": {
+ "description": "The initial index to use when reporting the status of the WorkItem.",
+ "format": "int64",
+ "type": "string"
},
"streamingComputationTask": {
"$ref": "StreamingComputationTask",
"description": "Additional information for StreamingComputationTask WorkItems."
},
+ "shellTask": {
+ "$ref": "ShellTask",
+ "description": "Additional information for ShellTask WorkItems."
+ },
"jobId": {
"description": "Identifies the workflow job this WorkItem belongs to.",
"type": "string"
@@ -2808,53 +2608,6 @@
"$ref": "Package"
},
"type": "array"
- },
- "projectId": {
- "description": "Identifies the cloud project this WorkItem belongs to.",
- "type": "string"
- },
- "sourceOperationTask": {
- "$ref": "SourceOperationRequest",
- "description": "Additional information for source operation WorkItems."
- },
- "streamingSetupTask": {
- "$ref": "StreamingSetupTask",
- "description": "Additional information for StreamingSetupTask WorkItems."
- },
- "reportStatusInterval": {
- "description": "Recommended reporting interval.",
- "format": "google-duration",
- "type": "string"
- },
- "streamingConfigTask": {
- "$ref": "StreamingConfigTask",
- "description": "Additional information for StreamingConfigTask WorkItems."
- },
- "leaseExpireTime": {
- "description": "Time when the lease on this Work will expire.",
- "format": "google-datetime",
- "type": "string"
- },
- "initialReportIndex": {
- "description": "The initial index to use when reporting the status of the WorkItem.",
- "format": "int64",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ReportedParallelism": {
- "description": "Represents the level of parallelism in a WorkItem's input,\nreported by the worker.",
- "id": "ReportedParallelism",
- "properties": {
- "value": {
- "description": "Specifies the level of parallelism in case it is finite.",
- "format": "double",
- "type": "number"
- },
- "isInfinite": {
- "description": "Specifies whether the parallelism is infinite. If true, \"value\" is\nignored.\nInfinite parallelism means the service will assume that the work item\ncan always be split into more non-empty work items by dynamic splitting.\nThis is a work-around for lack of support for infinity by the current\nJSON-based Java RPC stack.",
- "type": "boolean"
}
},
"type": "object"
@@ -2873,10 +2626,38 @@
},
"type": "object"
},
+ "ReportedParallelism": {
+ "description": "Represents the level of parallelism in a WorkItem's input,\nreported by the worker.",
+ "id": "ReportedParallelism",
+ "properties": {
+ "isInfinite": {
+ "description": "Specifies whether the parallelism is infinite. If true, \"value\" is\nignored.\nInfinite parallelism means the service will assume that the work item\ncan always be split into more non-empty work items by dynamic splitting.\nThis is a work-around for lack of support for infinity by the current\nJSON-based Java RPC stack.",
+ "type": "boolean"
+ },
+ "value": {
+ "description": "Specifies the level of parallelism in case it is finite.",
+ "format": "double",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
"TopologyConfig": {
"description": "Global topology of the streaming Dataflow job, including all\ncomputations and their sharded locations.",
"id": "TopologyConfig",
"properties": {
+ "forwardingKeyBits": {
+ "description": "The size (in bits) of keys that will be assigned to source messages.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "userStageToComputationNameMap": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Maps user stage names to stable computation names.",
+ "type": "object"
+ },
"computations": {
"description": "The computations associated with a streaming Dataflow job.",
"items": {
@@ -2895,18 +2676,6 @@
"description": "Version number for persistent state.",
"format": "int32",
"type": "integer"
- },
- "forwardingKeyBits": {
- "description": "The size (in bits) of keys that will be assigned to source messages.",
- "format": "int32",
- "type": "integer"
- },
- "userStageToComputationNameMap": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Maps user stage names to stable computation names.",
- "type": "object"
}
},
"type": "object"
@@ -2943,6 +2712,18 @@
"description": "Provides data to pass through to the worker harness.",
"id": "WorkerSettings",
"properties": {
+ "servicePath": {
+ "description": "The Cloud Dataflow service path relative to the root URL, for example,\n\"dataflow/v1b3/projects\".",
+ "type": "string"
+ },
+ "shuffleServicePath": {
+ "description": "The Shuffle service path relative to the root URL, for example,\n\"shuffle/v1beta1\".",
+ "type": "string"
+ },
+ "workerId": {
+ "description": "The ID of the worker running this pipeline.",
+ "type": "string"
+ },
"tempStoragePrefix": {
"description": "The prefix of the resources the system should use for temporary\nstorage.\n\nThe supported resource type is:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.googleapis.com/{object}",
"type": "string"
@@ -2954,17 +2735,23 @@
"reportingEnabled": {
"description": "Whether to send work progress updates to the service.",
"type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "DataDiskAssignment": {
+ "description": "Data disk assignment for a given VM instance.",
+ "id": "DataDiskAssignment",
+ "properties": {
+ "dataDisks": {
+ "description": "Mounted data disks. The order is important a data disk's 0-based index in\nthis list defines which persistent directory the disk is mounted to, for\nexample the list of { \"myproject-1014-104817-4c2-harness-0-disk-0\" },\n{ \"myproject-1014-104817-4c2-harness-0-disk-1\" }.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
},
- "servicePath": {
- "description": "The Cloud Dataflow service path relative to the root URL, for example,\n\"dataflow/v1b3/projects\".",
- "type": "string"
- },
- "shuffleServicePath": {
- "description": "The Shuffle service path relative to the root URL, for example,\n\"shuffle/v1beta1\".",
- "type": "string"
- },
- "workerId": {
- "description": "The ID of the worker running this pipeline.",
+ "vmInstance": {
+ "description": "VM instance name the data disks mounted to, for example\n\"myproject-1014-104817-4c2-harness-0\".",
"type": "string"
}
},
@@ -2981,24 +2768,6 @@
},
"type": "object"
},
- "DataDiskAssignment": {
- "description": "Data disk assignment for a given VM instance.",
- "id": "DataDiskAssignment",
- "properties": {
- "vmInstance": {
- "description": "VM instance name the data disks mounted to, for example\n\"myproject-1014-104817-4c2-harness-0\".",
- "type": "string"
- },
- "dataDisks": {
- "description": "Mounted data disks. The order is important a data disk's 0-based index in\nthis list defines which persistent directory the disk is mounted to, for\nexample the list of { \"myproject-1014-104817-4c2-harness-0-disk-0\" },\n{ \"myproject-1014-104817-4c2-harness-0-disk-1\" }.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"ApproximateSplitRequest": {
"description": "A suggestion by the service to the worker to dynamically split the WorkItem.",
"id": "ApproximateSplitRequest",
@@ -3019,6 +2788,15 @@
"description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
"id": "Status",
"properties": {
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ },
"details": {
"description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.",
"items": {
@@ -3029,15 +2807,6 @@
"type": "object"
},
"type": "array"
- },
- "code": {
- "description": "The status code, which should be an enum value of google.rpc.Code.",
- "format": "int32",
- "type": "integer"
- },
- "message": {
- "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
- "type": "string"
}
},
"type": "object"
@@ -3079,14 +2848,26 @@
},
"type": "object"
},
- "LeaseWorkItemResponse": {
- "description": "Response to a request to lease WorkItems.",
- "id": "LeaseWorkItemResponse",
+ "StreamingComputationConfig": {
+ "description": "Configuration information for a single streaming computation.",
+ "id": "StreamingComputationConfig",
"properties": {
- "workItems": {
- "description": "A list of the leased WorkItems.",
+ "computationId": {
+ "description": "Unique identifier for this computation.",
+ "type": "string"
+ },
+ "systemName": {
+ "description": "System defined name for this computation.",
+ "type": "string"
+ },
+ "stageName": {
+ "description": "Stage name of this computation.",
+ "type": "string"
+ },
+ "instructions": {
+ "description": "Instructions that comprise the computation.",
"items": {
- "$ref": "WorkItem"
+ "$ref": "ParallelInstruction"
},
"type": "array"
}
@@ -3097,21 +2878,10 @@
"description": "Description of the type, names/ids, and input/outputs for a transform.",
"id": "TransformSummary",
"properties": {
- "name": {
- "description": "User provided name for this transform instance.",
- "type": "string"
- },
"id": {
"description": "SDK generated id of this transform instance.",
"type": "string"
},
- "displayData": {
- "description": "Transform-specific display data.",
- "items": {
- "$ref": "DisplayData"
- },
- "type": "array"
- },
"outputCollectionName": {
"description": "User names for all collection outputs to this transform.",
"items": {
@@ -3119,6 +2889,13 @@
},
"type": "array"
},
+ "displayData": {
+ "description": "Transform-specific display data.",
+ "items": {
+ "$ref": "DisplayData"
+ },
+ "type": "array"
+ },
"kind": {
"description": "Type of transform.",
"enum": [
@@ -3151,36 +2928,50 @@
"type": "string"
},
"type": "array"
+ },
+ "name": {
+ "description": "User provided name for this transform instance.",
+ "type": "string"
}
},
"type": "object"
},
- "StreamingComputationConfig": {
- "description": "Configuration information for a single streaming computation.",
- "id": "StreamingComputationConfig",
+ "LeaseWorkItemResponse": {
+ "description": "Response to a request to lease WorkItems.",
+ "id": "LeaseWorkItemResponse",
"properties": {
- "computationId": {
- "description": "Unique identifier for this computation.",
- "type": "string"
- },
- "systemName": {
- "description": "System defined name for this computation.",
- "type": "string"
- },
- "stageName": {
- "description": "Stage name of this computation.",
- "type": "string"
- },
- "instructions": {
- "description": "Instructions that comprise the computation.",
+ "workItems": {
+ "description": "A list of the leased WorkItems.",
"items": {
- "$ref": "ParallelInstruction"
+ "$ref": "WorkItem"
},
"type": "array"
}
},
"type": "object"
},
+ "LaunchTemplateParameters": {
+ "description": "Parameters to provide to the template being launched.",
+ "id": "LaunchTemplateParameters",
+ "properties": {
+ "jobName": {
+ "description": "Required. The job name to use for the created job.",
+ "type": "string"
+ },
+ "environment": {
+ "$ref": "RuntimeEnvironment",
+ "description": "The runtime environment for the job."
+ },
+ "parameters": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The runtime parameters to pass to the job.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
"Sink": {
"description": "A sink that records can be encoded and written to.",
"id": "Sink",
@@ -3204,28 +2995,6 @@
},
"type": "object"
},
- "LaunchTemplateParameters": {
- "description": "Parameters to provide to the template being launched.",
- "id": "LaunchTemplateParameters",
- "properties": {
- "environment": {
- "$ref": "RuntimeEnvironment",
- "description": "The runtime environment for the job."
- },
- "parameters": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "The runtime parameters to pass to the job.",
- "type": "object"
- },
- "jobName": {
- "description": "Required. The job name to use for the created job.",
- "type": "string"
- }
- },
- "type": "object"
- },
"FlattenInstruction": {
"description": "An instruction that copies its inputs (zero or more) to its (single) output.",
"id": "FlattenInstruction",
@@ -3244,26 +3013,14 @@
"description": "An instruction that does a partial group-by-key.\nOne input and one output.",
"id": "PartialGroupByKeyInstruction",
"properties": {
- "valueCombiningFn": {
- "additionalProperties": {
- "description": "Properties of the object.",
- "type": "any"
- },
- "description": "The value combining function to invoke.",
- "type": "object"
- },
- "inputElementCodec": {
- "additionalProperties": {
- "description": "Properties of the object.",
- "type": "any"
- },
- "description": "The codec to use for interpreting an element in the input PTable.",
- "type": "object"
- },
"originalCombineValuesInputStoreName": {
"description": "If this instruction includes a combining function this is the name of the\nintermediate store between the GBK and the CombineValues.",
"type": "string"
},
+ "originalCombineValuesStepName": {
+ "description": "If this instruction includes a combining function, this is the name of the\nCombineValues instruction lifted into this instruction.",
+ "type": "string"
+ },
"sideInputs": {
"description": "Zero or more side inputs.",
"items": {
@@ -3271,13 +3028,25 @@
},
"type": "array"
},
- "originalCombineValuesStepName": {
- "description": "If this instruction includes a combining function, this is the name of the\nCombineValues instruction lifted into this instruction.",
- "type": "string"
- },
"input": {
"$ref": "InstructionInput",
"description": "Describes the input to the partial group-by-key instruction."
+ },
+ "inputElementCodec": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "The codec to use for interpreting an element in the input PTable.",
+ "type": "object"
+ },
+ "valueCombiningFn": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "The value combining function to invoke.",
+ "type": "object"
}
},
"type": "object"
@@ -3303,10 +3072,6 @@
"description": "Description of an input or output of an execution stage.",
"id": "StageSource",
"properties": {
- "originalTransformOrCollection": {
- "description": "User name for the original user transform or collection with which this\nsource is most closely associated.",
- "type": "string"
- },
"name": {
"description": "Dataflow service generated name for this source.",
"type": "string"
@@ -3319,6 +3084,10 @@
"userName": {
"description": "Human-readable name for this source; may be user or system generated.",
"type": "string"
+ },
+ "originalTransformOrCollection": {
+ "description": "User name for the original user transform or collection with which this\nsource is most closely associated.",
+ "type": "string"
}
},
"type": "object"
@@ -3341,6 +3110,10 @@
"description": "Data provided with a pipeline or transform to provide descriptive info.",
"id": "DisplayData",
"properties": {
+ "strValue": {
+ "description": "Contains value if the data is of string type.",
+ "type": "string"
+ },
"durationValue": {
"description": "Contains value if the data is of duration type.",
"format": "google-duration",
@@ -3381,21 +3154,56 @@
"format": "google-datetime",
"type": "string"
},
- "javaClassValue": {
- "description": "Contains value if the data is of java class type.",
- "type": "string"
- },
"boolValue": {
"description": "Contains value if the data is of a boolean type.",
"type": "boolean"
},
- "strValue": {
- "description": "Contains value if the data is of string type.",
+ "javaClassValue": {
+ "description": "Contains value if the data is of java class type.",
"type": "string"
}
},
"type": "object"
},
+ "LeaseWorkItemRequest": {
+ "description": "Request to lease WorkItems.",
+ "id": "LeaseWorkItemRequest",
+ "properties": {
+ "workerCapabilities": {
+ "description": "Worker capabilities. WorkItems might be limited to workers with specific\ncapabilities.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "workerId": {
+ "description": "Identifies the worker leasing work -- typically the ID of the\nvirtual machine running the worker.",
+ "type": "string"
+ },
+ "requestedLeaseDuration": {
+ "description": "The initial lease period.",
+ "format": "google-duration",
+ "type": "string"
+ },
+ "currentWorkerTime": {
+ "description": "The current timestamp at the worker.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "location": {
+ "description": "The location which contains the WorkItem's job.",
+ "type": "string"
+ },
+ "workItemTypes": {
+ "description": "Filter for WorkItem type.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GetDebugConfigRequest": {
"description": "Request to get updated debug configuration for component.",
"id": "GetDebugConfigRequest",
@@ -3411,56 +3219,17 @@
},
"type": "object"
},
- "LeaseWorkItemRequest": {
- "description": "Request to lease WorkItems.",
- "id": "LeaseWorkItemRequest",
- "properties": {
- "currentWorkerTime": {
- "description": "The current timestamp at the worker.",
- "format": "google-datetime",
- "type": "string"
- },
- "location": {
- "description": "The location which contains the WorkItem's job.",
- "type": "string"
- },
- "workItemTypes": {
- "description": "Filter for WorkItem type.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "workerCapabilities": {
- "description": "Worker capabilities. WorkItems might be limited to workers with specific\ncapabilities.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "workerId": {
- "description": "Identifies the worker leasing work -- typically the ID of the\nvirtual machine running the worker.",
- "type": "string"
- },
- "requestedLeaseDuration": {
- "description": "The initial lease period.",
- "format": "google-duration",
- "type": "string"
- }
- },
- "type": "object"
- },
"GetTemplateResponse": {
"description": "The response to a GetTemplate request.",
"id": "GetTemplateResponse",
"properties": {
- "status": {
- "$ref": "Status",
- "description": "The status of the get template request. Any problems with the\nrequest will be indicated in the error_details."
- },
"metadata": {
"$ref": "TemplateMetadata",
"description": "The template metadata describing the template name, available\nparameters, etc."
+ },
+ "status": {
+ "$ref": "Status",
+ "description": "The status of the get template request. Any problems with the\nrequest will be indicated in the error_details."
}
},
"type": "object"
@@ -3492,6 +3261,34 @@
},
"type": "object"
},
+ "PipelineDescription": {
+ "description": "A descriptive representation of submitted pipeline as well as the executed\nform. This data is provided by the Dataflow service for ease of visualizing\nthe pipeline and interpretting Dataflow provided metrics.",
+ "id": "PipelineDescription",
+ "properties": {
+ "displayData": {
+ "description": "Pipeline level display data.",
+ "items": {
+ "$ref": "DisplayData"
+ },
+ "type": "array"
+ },
+ "executionPipelineStage": {
+ "description": "Description of each stage of execution of the pipeline.",
+ "items": {
+ "$ref": "ExecutionStageSummary"
+ },
+ "type": "array"
+ },
+ "originalPipelineTransform": {
+ "description": "Description of each transform in the pipeline and collections between them.",
+ "items": {
+ "$ref": "TransformSummary"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"StreamingConfigTask": {
"description": "A task that carries configuration information for streaming computations.",
"id": "StreamingConfigTask",
@@ -3513,30 +3310,16 @@
},
"type": "object"
},
- "PipelineDescription": {
- "description": "A descriptive representation of submitted pipeline as well as the executed\nform. This data is provided by the Dataflow service for ease of visualizing\nthe pipeline and interpretting Dataflow provided metrics.",
- "id": "PipelineDescription",
+ "JobExecutionInfo": {
+ "description": "Additional information about how a Cloud Dataflow job will be executed that\nisn't contained in the submitted job.",
+ "id": "JobExecutionInfo",
"properties": {
- "originalPipelineTransform": {
- "description": "Description of each transform in the pipeline and collections between them.",
- "items": {
- "$ref": "TransformSummary"
+ "stages": {
+ "additionalProperties": {
+ "$ref": "JobExecutionStageInfo"
},
- "type": "array"
- },
- "displayData": {
- "description": "Pipeline level display data.",
- "items": {
- "$ref": "DisplayData"
- },
- "type": "array"
- },
- "executionPipelineStage": {
- "description": "Description of each stage of execution of the pipeline.",
- "items": {
- "$ref": "ExecutionStageSummary"
- },
- "type": "array"
+ "description": "A mapping from each stage to the information about that stage.",
+ "type": "object"
}
},
"type": "object"
@@ -3564,20 +3347,6 @@
},
"type": "object"
},
- "JobExecutionInfo": {
- "description": "Additional information about how a Cloud Dataflow job will be executed that\nisn't contained in the submitted job.",
- "id": "JobExecutionInfo",
- "properties": {
- "stages": {
- "additionalProperties": {
- "$ref": "JobExecutionStageInfo"
- },
- "description": "A mapping from each stage to the information about that stage.",
- "type": "object"
- }
- },
- "type": "object"
- },
"FailedLocation": {
"description": "Indicates which location failed to respond to a request for data.",
"id": "FailedLocation",
@@ -3613,34 +3382,6 @@
"description": "CounterMetadata includes all static non-name non-value counter attributes.",
"id": "CounterMetadata",
"properties": {
- "standardUnits": {
- "description": "System defined Units, see above enum.",
- "enum": [
- "BYTES",
- "BYTES_PER_SEC",
- "MILLISECONDS",
- "MICROSECONDS",
- "NANOSECONDS",
- "TIMESTAMP_MSEC",
- "TIMESTAMP_USEC",
- "TIMESTAMP_NSEC"
- ],
- "enumDescriptions": [
- "Counter returns a value in bytes.",
- "Counter returns a value in bytes per second.",
- "Counter returns a value in milliseconds.",
- "Counter returns a value in microseconds.",
- "Counter returns a value in nanoseconds.",
- "Counter returns a timestamp in milliseconds.",
- "Counter returns a timestamp in microseconds.",
- "Counter returns a timestamp in nanoseconds."
- ],
- "type": "string"
- },
- "otherUnits": {
- "description": "A string referring to the unit type.",
- "type": "string"
- },
"kind": {
"description": "Counter aggregation kind.",
"enum": [
@@ -3670,6 +3411,34 @@
"description": {
"description": "Human-readable description of the counter semantics.",
"type": "string"
+ },
+ "standardUnits": {
+ "description": "System defined Units, see above enum.",
+ "enum": [
+ "BYTES",
+ "BYTES_PER_SEC",
+ "MILLISECONDS",
+ "MICROSECONDS",
+ "NANOSECONDS",
+ "TIMESTAMP_MSEC",
+ "TIMESTAMP_USEC",
+ "TIMESTAMP_NSEC"
+ ],
+ "enumDescriptions": [
+ "Counter returns a value in bytes.",
+ "Counter returns a value in bytes per second.",
+ "Counter returns a value in milliseconds.",
+ "Counter returns a value in microseconds.",
+ "Counter returns a value in nanoseconds.",
+ "Counter returns a timestamp in milliseconds.",
+ "Counter returns a timestamp in microseconds.",
+ "Counter returns a timestamp in nanoseconds."
+ ],
+ "type": "string"
+ },
+ "otherUnits": {
+ "description": "A string referring to the unit type.",
+ "type": "string"
}
},
"type": "object"
@@ -3696,6 +3465,14 @@
"description": "A progress measurement of a WorkItem by a worker.",
"id": "ApproximateReportedProgress",
"properties": {
+ "consumedParallelism": {
+ "$ref": "ReportedParallelism",
+ "description": "Total amount of parallelism in the portion of input of this task that has\nalready been consumed and is no longer active. In the first two examples\nabove (see remaining_parallelism), the value should be 29 or 2\nrespectively. The sum of remaining_parallelism and consumed_parallelism\nshould equal the total amount of parallelism in this work item. If\nspecified, must be finite."
+ },
+ "remainingParallelism": {
+ "$ref": "ReportedParallelism",
+ "description": "Total amount of parallelism in the input of this task that remains,\n(i.e. can be delegated to this task and any new tasks via dynamic\nsplitting). Always at least 1 for non-finished work items and 0 for\nfinished.\n\n\"Amount of parallelism\" refers to how many non-empty parts of the input\ncan be read in parallel. This does not necessarily equal number\nof records. An input that can be read in parallel down to the\nindividual records is called \"perfectly splittable\".\nAn example of non-perfectly parallelizable input is a block-compressed\nfile format where a block of records has to be read as a whole,\nbut different blocks can be read in parallel.\n\nExamples:\n* If we are processing record #30 (starting at 1) out of 50 in a perfectly\n splittable 50-record input, this value should be 21 (20 remaining + 1\n current).\n* If we are reading through block 3 in a block-compressed file consisting\n of 5 blocks, this value should be 3 (since blocks 4 and 5 can be\n processed in parallel by new tasks via dynamic splitting and the current\n task remains processing block 3).\n* If we are reading through the last block in a block-compressed file,\n or reading or processing the last record in a perfectly splittable\n input, this value should be 1, because apart from the current task, no\n additional remainder can be split off."
+ },
"position": {
"$ref": "Position",
"description": "A Position within the work to represent a progress."
@@ -3704,29 +3481,6 @@
"description": "Completion as fraction of the input consumed, from 0.0 (beginning, nothing\nconsumed), to 1.0 (end of the input, entire input consumed).",
"format": "double",
"type": "number"
- },
- "consumedParallelism": {
- "$ref": "ReportedParallelism",
- "description": "Total amount of parallelism in the portion of input of this task that has\nalready been consumed and is no longer active. In the first two examples\nabove (see remaining_parallelism), the value should be 29 or 2\nrespectively. The sum of remaining_parallelism and consumed_parallelism\nshould equal the total amount of parallelism in this work item. If\nspecified, must be finite."
- },
- "remainingParallelism": {
- "$ref": "ReportedParallelism",
- "description": "Total amount of parallelism in the input of this task that remains,\n(i.e. can be delegated to this task and any new tasks via dynamic\nsplitting). Always at least 1 for non-finished work items and 0 for\nfinished.\n\n\"Amount of parallelism\" refers to how many non-empty parts of the input\ncan be read in parallel. This does not necessarily equal number\nof records. An input that can be read in parallel down to the\nindividual records is called \"perfectly splittable\".\nAn example of non-perfectly parallelizable input is a block-compressed\nfile format where a block of records has to be read as a whole,\nbut different blocks can be read in parallel.\n\nExamples:\n* If we are processing record #30 (starting at 1) out of 50 in a perfectly\n splittable 50-record input, this value should be 21 (20 remaining + 1\n current).\n* If we are reading through block 3 in a block-compressed file consisting\n of 5 blocks, this value should be 3 (since blocks 4 and 5 can be\n processed in parallel by new tasks via dynamic splitting and the current\n task remains processing block 3).\n* If we are reading through the last block in a block-compressed file,\n or reading or processing the last record in a perfectly splittable\n input, this value should be 1, because apart from the current task, no\n additional remainder can be split off."
- }
- },
- "type": "object"
- },
- "StateFamilyConfig": {
- "description": "State family configuration.",
- "id": "StateFamilyConfig",
- "properties": {
- "stateFamily": {
- "description": "The state family value.",
- "type": "string"
- },
- "isRead": {
- "description": "If true, this family corresponds to a read operation.",
- "type": "boolean"
}
},
"type": "object"
@@ -3745,6 +3499,21 @@
},
"type": "object"
},
+ "StateFamilyConfig": {
+ "description": "State family configuration.",
+ "id": "StateFamilyConfig",
+ "properties": {
+ "isRead": {
+ "description": "If true, this family corresponds to a read operation.",
+ "type": "boolean"
+ },
+ "stateFamily": {
+ "description": "The state family value.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"ResourceUtilizationReportResponse": {
"description": "Service-side response to WorkerMessage reporting resource utilization.",
"id": "ResourceUtilizationReportResponse",
@@ -3755,6 +3524,13 @@
"description": "The response to a SourceSplitRequest.",
"id": "SourceSplitResponse",
"properties": {
+ "shards": {
+ "description": "DEPRECATED in favor of bundles.",
+ "items": {
+ "$ref": "SourceSplitShard"
+ },
+ "type": "array"
+ },
"outcome": {
"description": "Indicates whether splitting happened and produced a list of bundles.\nIf this is USE_CURRENT_SOURCE_AS_IS, the current source should\nbe processed \"as is\" without splitting. \"bundles\" is ignored in this case.\nIf this is SPLITTING_HAPPENED, then \"bundles\" contains a list of\nbundles into which the source was split.",
"enum": [
@@ -3775,13 +3551,6 @@
"$ref": "DerivedSource"
},
"type": "array"
- },
- "shards": {
- "description": "DEPRECATED in favor of bundles.",
- "items": {
- "$ref": "SourceSplitShard"
- },
- "type": "array"
}
},
"type": "object"
@@ -3790,22 +3559,6 @@
"description": "Describes a particular operation comprising a MapTask.",
"id": "ParallelInstruction",
"properties": {
- "flatten": {
- "$ref": "FlattenInstruction",
- "description": "Additional information for Flatten instructions."
- },
- "originalName": {
- "description": "System-defined name for the operation in the original workflow graph.",
- "type": "string"
- },
- "write": {
- "$ref": "WriteInstruction",
- "description": "Additional information for Write instructions."
- },
- "systemName": {
- "description": "System-defined name of this operation.\nUnique across the workflow.",
- "type": "string"
- },
"partialGroupByKey": {
"$ref": "PartialGroupByKeyInstruction",
"description": "Additional information for PartialGroupByKey instructions."
@@ -3821,13 +3574,29 @@
"description": "User-provided name of this operation.",
"type": "string"
},
+ "read": {
+ "$ref": "ReadInstruction",
+ "description": "Additional information for Read instructions."
+ },
"parDo": {
"$ref": "ParDoInstruction",
"description": "Additional information for ParDo instructions."
},
- "read": {
- "$ref": "ReadInstruction",
- "description": "Additional information for Read instructions."
+ "originalName": {
+ "description": "System-defined name for the operation in the original workflow graph.",
+ "type": "string"
+ },
+ "flatten": {
+ "$ref": "FlattenInstruction",
+ "description": "Additional information for Flatten instructions."
+ },
+ "systemName": {
+ "description": "System-defined name of this operation.\nUnique across the workflow.",
+ "type": "string"
+ },
+ "write": {
+ "$ref": "WriteInstruction",
+ "description": "Additional information for Write instructions."
}
},
"type": "object"
@@ -3965,6 +3734,18 @@
"description": "Describes the state of a metric.",
"id": "MetricUpdate",
"properties": {
+ "set": {
+ "description": "Worker-computed aggregate value for the \"Set\" aggregation kind. The only\npossible value type is a list of Values whose type can be Long, Double,\nor String, according to the metric's type. All Values in the list must\nbe of the same type.",
+ "type": "any"
+ },
+ "internal": {
+ "description": "Worker-computed aggregate value for internal use by the Dataflow\nservice.",
+ "type": "any"
+ },
+ "cumulative": {
+ "description": "True if this metric is reported as the total cumulative aggregate\nvalue accumulated since the worker started working on this WorkItem.\nBy default this is false, indicating that this metric is reported\nas a delta that is not associated with any WorkItem.",
+ "type": "boolean"
+ },
"kind": {
"description": "Metric aggregation kind. The possible metric aggregation kinds are\n\"Sum\", \"Max\", \"Min\", \"Mean\", \"Set\", \"And\", and \"Or\".\nThe specified aggregation kind is case-insensitive.\n\nIf omitted, this is not an aggregated value but instead\na single metric sample value.",
"type": "string"
@@ -3989,18 +3770,6 @@
"name": {
"$ref": "MetricStructuredName",
"description": "Name of the metric."
- },
- "set": {
- "description": "Worker-computed aggregate value for the \"Set\" aggregation kind. The only\npossible value type is a list of Values whose type can be Long, Double,\nor String, according to the metric's type. All Values in the list must\nbe of the same type.",
- "type": "any"
- },
- "cumulative": {
- "description": "True if this metric is reported as the total cumulative aggregate\nvalue accumulated since the worker started working on this WorkItem.\nBy default this is false, indicating that this metric is reported\nas a delta that is not associated with any WorkItem.",
- "type": "boolean"
- },
- "internal": {
- "description": "Worker-computed aggregate value for internal use by the Dataflow\nservice.",
- "type": "any"
}
},
"type": "object"
@@ -4009,10 +3778,6 @@
"description": "Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest.",
"id": "ApproximateProgress",
"properties": {
- "position": {
- "$ref": "Position",
- "description": "Obsolete."
- },
"percentComplete": {
"description": "Obsolete.",
"format": "float",
@@ -4022,6 +3787,10 @@
"description": "Obsolete.",
"format": "google-duration",
"type": "string"
+ },
+ "position": {
+ "$ref": "Position",
+ "description": "Obsolete."
}
},
"type": "object"
@@ -4045,6 +3814,10 @@
"description": "Metadata describing a template.",
"id": "TemplateMetadata",
"properties": {
+ "bypassTempDirValidation": {
+ "description": "If true, will bypass the validation that the temp directory is\nwritable. This should only be used with templates for pipelines\nthat are guaranteed not to need to write to the temp directory,\nwhich is subject to change based on the optimizer.",
+ "type": "boolean"
+ },
"name": {
"description": "Required. The name of the template.",
"type": "string"
@@ -4059,10 +3832,6 @@
"description": {
"description": "Optional. A description of the template.",
"type": "string"
- },
- "bypassTempDirValidation": {
- "description": "If true, will bypass the validation that the temp directory is\nwritable. This should only be used with templates for pipelines\nthat are guaranteed not to need to write to the temp directory,\nwhich is subject to change based on the optimizer.",
- "type": "boolean"
}
},
"type": "object"
@@ -4071,14 +3840,6 @@
"description": "WorkerMessage provides information to the backend about a worker.",
"id": "WorkerMessage",
"properties": {
- "workerMessageCode": {
- "$ref": "WorkerMessageCode",
- "description": "A worker message code."
- },
- "workerMetrics": {
- "$ref": "ResourceUtilizationReport",
- "description": "Resource metrics reported by workers."
- },
"labels": {
"additionalProperties": {
"type": "string"
@@ -4094,6 +3855,14 @@
"workerHealthReport": {
"$ref": "WorkerHealthReport",
"description": "The health of a worker."
+ },
+ "workerMessageCode": {
+ "$ref": "WorkerMessageCode",
+ "description": "A worker message code."
+ },
+ "workerMetrics": {
+ "$ref": "ResourceUtilizationReport",
+ "description": "Resource metrics reported by workers."
}
},
"type": "object"
@@ -4136,14 +3905,6 @@
"description": "An update to a Counter sent from a worker.",
"id": "CounterUpdate",
"properties": {
- "structuredNameAndMetadata": {
- "$ref": "CounterStructuredNameAndMetadata",
- "description": "Counter structured name and metadata."
- },
- "integerList": {
- "$ref": "IntegerList",
- "description": "List of integers, for Set."
- },
"floatingPoint": {
"description": "Floating point value for Sum, Max, Min.",
"format": "double",
@@ -4193,6 +3954,14 @@
"integer": {
"$ref": "SplitInt64",
"description": "Integer value for Sum, Max, Min."
+ },
+ "structuredNameAndMetadata": {
+ "$ref": "CounterStructuredNameAndMetadata",
+ "description": "Counter structured name and metadata."
+ },
+ "integerList": {
+ "$ref": "IntegerList",
+ "description": "List of integers, for Set."
}
},
"type": "object"
@@ -4284,10 +4053,6 @@
"description": "Conveys a worker's progress through the work described by a WorkItem.",
"id": "WorkItemStatus",
"properties": {
- "sourceFork": {
- "$ref": "SourceFork",
- "description": "DEPRECATED in favor of dynamic_source_split."
- },
"counterUpdates": {
"description": "Worker output counters for this WorkItem.",
"items": {
@@ -4346,6 +4111,10 @@
"reportedProgress": {
"$ref": "ApproximateReportedProgress",
"description": "The worker's progress through this WorkItem."
+ },
+ "sourceFork": {
+ "$ref": "SourceFork",
+ "description": "DEPRECATED in favor of dynamic_source_split."
}
},
"type": "object"
@@ -4354,10 +4123,6 @@
"description": "Description of an interstitial value between transforms in an execution\nstage.",
"id": "ComponentSource",
"properties": {
- "originalTransformOrCollection": {
- "description": "User name for the original user transform or collection with which this\nsource is most closely associated.",
- "type": "string"
- },
"name": {
"description": "Dataflow service generated name for this source.",
"type": "string"
@@ -4365,6 +4130,10 @@
"userName": {
"description": "Human-readable name for this transform; may be user or system generated.",
"type": "string"
+ },
+ "originalTransformOrCollection": {
+ "description": "User name for the original user transform or collection with which this\nsource is most closely associated.",
+ "type": "string"
}
},
"type": "object"
@@ -4373,6 +4142,19 @@
"description": "The Dataflow service's idea of the current state of a WorkItem\nbeing processed by a worker.",
"id": "WorkItemServiceState",
"properties": {
+ "nextReportIndex": {
+ "description": "The index value to use for the next report sent by the worker.\nNote: If the report call fails for whatever reason, the worker should\nreuse this index for subsequent report attempts.",
+ "format": "int64",
+ "type": "string"
+ },
+ "suggestedStopPoint": {
+ "$ref": "ApproximateProgress",
+ "description": "DEPRECATED in favor of split_request."
+ },
+ "splitRequest": {
+ "$ref": "ApproximateSplitRequest",
+ "description": "The progress point in the WorkItem where the Dataflow service\nsuggests that the worker truncate the task."
+ },
"suggestedStopPosition": {
"$ref": "Position",
"description": "Obsolete, always empty."
@@ -4401,19 +4183,6 @@
"$ref": "MetricShortId"
},
"type": "array"
- },
- "nextReportIndex": {
- "description": "The index value to use for the next report sent by the worker.\nNote: If the report call fails for whatever reason, the worker should\nreuse this index for subsequent report attempts.",
- "format": "int64",
- "type": "string"
- },
- "suggestedStopPoint": {
- "$ref": "ApproximateProgress",
- "description": "DEPRECATED in favor of split_request."
- },
- "splitRequest": {
- "$ref": "ApproximateSplitRequest",
- "description": "The progress point in the WorkItem where the Dataflow service\nsuggests that the worker truncate the task."
}
},
"type": "object"
@@ -4439,6 +4208,233 @@
}
},
"type": "object"
+ },
+ "SeqMapTaskOutputInfo": {
+ "description": "Information about an output of a SeqMapTask.",
+ "id": "SeqMapTaskOutputInfo",
+ "properties": {
+ "tag": {
+ "description": "The id of the TupleTag the user code will tag the output value by.",
+ "type": "string"
+ },
+ "sink": {
+ "$ref": "Sink",
+ "description": "The sink to write the output value to."
+ }
+ },
+ "type": "object"
+ },
+ "JobExecutionStageInfo": {
+ "description": "Contains information about how a particular\ngoogle.dataflow.v1beta3.Step will be executed.",
+ "id": "JobExecutionStageInfo",
+ "properties": {
+ "stepName": {
+ "description": "The steps associated with the execution stage.\nNote that stages may have several steps, and that a given step\nmight be run by more than one stage.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "KeyRangeLocation": {
+ "description": "Location information for a specific key-range of a sharded computation.\nCurrently we only support UTF-8 character splits to simplify encoding into\nJSON.",
+ "id": "KeyRangeLocation",
+ "properties": {
+ "deliveryEndpoint": {
+ "description": "The physical location of this range assignment to be used for\nstreaming computation cross-worker message delivery.",
+ "type": "string"
+ },
+ "start": {
+ "description": "The start (inclusive) of the key range.",
+ "type": "string"
+ },
+ "dataDisk": {
+ "description": "The name of the data disk where data for this range is stored.\nThis name is local to the Google Cloud Platform project and uniquely\nidentifies the disk within that project, for example\n\"myproject-1014-104817-4c2-harness-0-disk-1\".",
+ "type": "string"
+ },
+ "end": {
+ "description": "The end (exclusive) of the key range.",
+ "type": "string"
+ },
+ "deprecatedPersistentDirectory": {
+ "description": "DEPRECATED. The location of the persistent state for this range, as a\npersistent directory in the worker local filesystem.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SourceGetMetadataRequest": {
+ "description": "A request to compute the SourceMetadata of a Source.",
+ "id": "SourceGetMetadataRequest",
+ "properties": {
+ "source": {
+ "$ref": "Source",
+ "description": "Specification of the source whose metadata should be computed."
+ }
+ },
+ "type": "object"
+ },
+ "NameAndKind": {
+ "description": "Basic metadata about a counter.",
+ "id": "NameAndKind",
+ "properties": {
+ "kind": {
+ "description": "Counter aggregation kind.",
+ "enum": [
+ "INVALID",
+ "SUM",
+ "MAX",
+ "MIN",
+ "MEAN",
+ "OR",
+ "AND",
+ "SET",
+ "DISTRIBUTION"
+ ],
+ "enumDescriptions": [
+ "Counter aggregation kind was not set.",
+ "Aggregated value is the sum of all contributed values.",
+ "Aggregated value is the max of all contributed values.",
+ "Aggregated value is the min of all contributed values.",
+ "Aggregated value is the mean of all contributed values.",
+ "Aggregated value represents the logical 'or' of all contributed values.",
+ "Aggregated value represents the logical 'and' of all contributed values.",
+ "Aggregated value is a set of unique contributed values.",
+ "Aggregated value captures statistics about a distribution."
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the counter.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SeqMapTask": {
+ "description": "Describes a particular function to invoke.",
+ "id": "SeqMapTask",
+ "properties": {
+ "inputs": {
+ "description": "Information about each of the inputs.",
+ "items": {
+ "$ref": "SideInputInfo"
+ },
+ "type": "array"
+ },
+ "systemName": {
+ "description": "System-defined name of the SeqDo operation.\nUnique across the workflow.",
+ "type": "string"
+ },
+ "stageName": {
+ "description": "System-defined name of the stage containing the SeqDo operation.\nUnique across the workflow.",
+ "type": "string"
+ },
+ "userFn": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "The user function to invoke.",
+ "type": "object"
+ },
+ "name": {
+ "description": "The user-provided name of the SeqDo operation.",
+ "type": "string"
+ },
+ "outputInfos": {
+ "description": "Information about each of the outputs.",
+ "items": {
+ "$ref": "SeqMapTaskOutputInfo"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "WorkerMessageCode": {
+ "description": "A message code is used to report status and error messages to the service.\nThe message codes are intended to be machine readable. The service will\ntake care of translating these into user understandable messages if\nnecessary.\n\nExample use cases:\n 1. Worker processes reporting successful startup.\n 2. Worker processes reporting specific errors (e.g. package staging\n failure).",
+ "id": "WorkerMessageCode",
+ "properties": {
+ "code": {
+ "description": "The code is a string intended for consumption by a machine that identifies\nthe type of message being sent.\nExamples:\n 1. \"HARNESS_STARTED\" might be used to indicate the worker harness has\n started.\n 2. \"GCS_DOWNLOAD_ERROR\" might be used to indicate an error downloading\n a GCS file as part of the boot process of one of the worker containers.\n\nThis is a string and not an enum to make it easy to add new codes without\nwaiting for an API change.",
+ "type": "string"
+ },
+ "parameters": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Parameters contains specific information about the code.\n\nThis is a struct to allow parameters of different types.\n\nExamples:\n 1. For a \"HARNESS_STARTED\" message parameters might provide the name\n of the worker and additional data like timing information.\n 2. For a \"GCS_DOWNLOAD_ERROR\" parameters might contain fields listing\n the GCS objects being downloaded and fields containing errors.\n\nIn general complex data structures should be avoided. If a worker\nneeds to send a specific and complicated data structure then please\nconsider defining a new proto and adding it to the data oneof in\nWorkerMessageResponse.\n\nConventions:\n Parameters should only be used for information that isn't typically passed\n as a label.\n hostname and other worker identifiers should almost always be passed\n as labels since they will be included on most messages.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "CustomSourceLocation": {
+ "description": "Identifies the location of a custom souce.",
+ "id": "CustomSourceLocation",
+ "properties": {
+ "stateful": {
+ "description": "Whether this source is stateful.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "MapTask": {
+ "description": "MapTask consists of an ordered set of instructions, each of which\ndescribes one particular low-level operation for the worker to\nperform in order to accomplish the MapTask's WorkItem.\n\nEach instruction must appear in the list before any instructions which\ndepends on its output.",
+ "id": "MapTask",
+ "properties": {
+ "systemName": {
+ "description": "System-defined name of this MapTask.\nUnique across the workflow.",
+ "type": "string"
+ },
+ "stageName": {
+ "description": "System-defined name of the stage containing this MapTask.\nUnique across the workflow.",
+ "type": "string"
+ },
+ "instructions": {
+ "description": "The instructions in the MapTask.",
+ "items": {
+ "$ref": "ParallelInstruction"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "FloatingPointMean": {
+ "description": "A representation of a floating point mean metric contribution.",
+ "id": "FloatingPointMean",
+ "properties": {
+ "count": {
+ "$ref": "SplitInt64",
+ "description": "The number of values being aggregated."
+ },
+ "sum": {
+ "description": "The sum of all values being aggregated.",
+ "format": "double",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "ReportWorkItemStatusResponse": {
+ "description": "Response from a request to report the status of WorkItems.",
+ "id": "ReportWorkItemStatusResponse",
+ "properties": {
+ "workItemServiceStates": {
+ "description": "A set of messages indicating the service-side state for each\nWorkItem whose status was reported, in the same order as the\nWorkItemStatus messages in the ReportWorkItemStatusRequest which\nresulting in this response.",
+ "items": {
+ "$ref": "WorkItemServiceState"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis_beta/dataproc__v1beta1.json b/discovery/googleapis_beta/dataproc__v1beta1.json
index 9c5bf10..f41f927 100644
--- a/discovery/googleapis_beta/dataproc__v1beta1.json
+++ b/discovery/googleapis_beta/dataproc__v1beta1.json
@@ -24,71 +24,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
- },
- "bearer_token": {
- "description": "OAuth bearer token.",
- "location": "query",
- "type": "string"
- },
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
- "$.xgafv": {
- "description": "V1 error format.",
- "enum": [
- "1",
- "2"
- ],
- "enumDescriptions": [
- "v1 error format",
- "v2 error format"
- ],
- "location": "query",
- "type": "string"
- },
- "callback": {
- "description": "JSONP",
- "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"
- },
"access_token": {
"description": "OAuth access token.",
"location": "query",
@@ -109,6 +44,71 @@
"description": "Pretty-print response.",
"location": "query",
"type": "boolean"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "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"
}
},
"protocol": "rest",
@@ -234,118 +234,209 @@
},
"projects": {
"resources": {
- "jobs": {
+ "clusters": {
"methods": {
- "submit": {
- "description": "Submits a job to a cluster.",
- "httpMethod": "POST",
- "id": "dataproc.projects.jobs.submit",
+ "delete": {
+ "description": "Deletes a cluster in a project.",
+ "httpMethod": "DELETE",
+ "id": "dataproc.projects.clusters.delete",
"parameterOrder": [
- "projectId"
+ "projectId",
+ "clusterName"
],
"parameters": {
+ "clusterName": {
+ "description": "Required The cluster name.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
"projectId": {
- "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
+ "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1beta1/projects/{projectId}/jobs:submit",
- "request": {
- "$ref": "SubmitJobRequest"
- },
+ "path": "v1beta1/projects/{projectId}/clusters/{clusterName}",
"response": {
- "$ref": "Job"
+ "$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
- "delete": {
- "description": "Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION.",
- "httpMethod": "DELETE",
- "id": "dataproc.projects.jobs.delete",
+ "diagnose": {
+ "description": "Gets cluster diagnostic information. After the operation completes, the Operation.response field contains DiagnoseClusterOutputLocation.",
+ "httpMethod": "POST",
+ "id": "dataproc.projects.clusters.diagnose",
"parameterOrder": [
"projectId",
- "jobId"
+ "clusterName"
],
"parameters": {
- "projectId": {
- "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
+ "clusterName": {
+ "description": "Required The cluster name.",
"location": "path",
"required": true,
"type": "string"
},
- "jobId": {
- "description": "Required The job ID.",
+ "projectId": {
+ "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1beta1/projects/{projectId}/jobs/{jobId}",
+ "path": "v1beta1/projects/{projectId}/clusters/{clusterName}:diagnose",
+ "request": {
+ "$ref": "DiagnoseClusterRequest"
+ },
"response": {
- "$ref": "Empty"
+ "$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
- "description": "Lists jobs in a project.",
+ "description": "Lists all clusters in a project.",
"httpMethod": "GET",
- "id": "dataproc.projects.jobs.list",
+ "id": "dataproc.projects.clusters.list",
"parameterOrder": [
"projectId"
],
"parameters": {
- "filter": {
- "description": "Optional A filter constraining which jobs to list. Valid filters contain job state and label terms such as: labels.key1 = val1 AND (labels.k2 = val2 OR labels.k3 = val3)",
- "location": "query",
- "type": "string"
- },
- "jobStateMatcher": {
- "description": "Optional Specifies enumerated categories of jobs to list.",
- "enum": [
- "ALL",
- "ACTIVE",
- "NON_ACTIVE"
- ],
- "location": "query",
- "type": "string"
- },
"pageToken": {
- "description": "Optional The page token, returned by a previous call, to request the next page of results.",
+ "description": "The standard List page token.",
"location": "query",
"type": "string"
},
"pageSize": {
- "description": "Optional The number of results to return in each response.",
+ "description": "The standard List page size.",
"format": "int32",
"location": "query",
"type": "integer"
},
- "clusterName": {
- "description": "Optional If set, the returned jobs list includes only jobs that were submitted to the named cluster.",
- "location": "query",
- "type": "string"
- },
"projectId": {
- "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
+ "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
"location": "path",
"required": true,
"type": "string"
+ },
+ "filter": {
+ "description": "Optional A filter constraining which clusters to list. Valid filters contain label terms such as: labels.key1 = val1 AND (-labels.k2 = val2 OR labels.k3 = val3)",
+ "location": "query",
+ "type": "string"
}
},
- "path": "v1beta1/projects/{projectId}/jobs",
+ "path": "v1beta1/projects/{projectId}/clusters",
"response": {
- "$ref": "ListJobsResponse"
+ "$ref": "ListClustersResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
+ "create": {
+ "description": "Creates a cluster in a project.",
+ "httpMethod": "POST",
+ "id": "dataproc.projects.clusters.create",
+ "parameterOrder": [
+ "projectId"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/projects/{projectId}/clusters",
+ "request": {
+ "$ref": "Cluster"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "patch": {
+ "description": "Updates a cluster in a project.",
+ "httpMethod": "PATCH",
+ "id": "dataproc.projects.clusters.patch",
+ "parameterOrder": [
+ "projectId",
+ "clusterName"
+ ],
+ "parameters": {
+ "updateMask": {
+ "description": "Required Specifies the path, relative to <code>Cluster</code>, of the field to update. For example, to change the number of workers in a cluster to 5, the <code>update_mask</code> parameter would be specified as <code>configuration.worker_configuration.num_instances</code>, and the PATCH request body would specify the new value, as follows:\n{\n \"configuration\":{\n \"workerConfiguration\":{\n \"numInstances\":\"5\"\n }\n }\n}\nSimilarly, to change the number of preemptible workers in a cluster to 5, the <code>update_mask</code> parameter would be <code>config.secondary_worker_config.num_instances</code>, and the PATCH request body would be set as follows:\n{\n \"config\":{\n \"secondaryWorkerConfig\":{\n \"numInstances\":\"5\"\n }\n }\n}\n<strong>Note:</strong> Currently, <code>config.worker_config.num_instances</code> and <code>config.secondary_worker_config.num_instances</code> are the only fields that can be updated.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ },
+ "clusterName": {
+ "description": "Required The cluster name.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "projectId": {
+ "description": "Required The ID of the Google Cloud Platform project the cluster belongs to.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/projects/{projectId}/clusters/{clusterName}",
+ "request": {
+ "$ref": "Cluster"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets the resource representation for a cluster in a project.",
+ "httpMethod": "GET",
+ "id": "dataproc.projects.clusters.get",
+ "parameterOrder": [
+ "projectId",
+ "clusterName"
+ ],
+ "parameters": {
+ "clusterName": {
+ "description": "Required The cluster name.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "projectId": {
+ "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/projects/{projectId}/clusters/{clusterName}",
+ "response": {
+ "$ref": "Cluster"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "jobs": {
+ "methods": {
"cancel": {
"description": "Starts a job cancellation request. To access the job resource after cancellation, call jobs.list or jobs.get.",
"httpMethod": "POST",
@@ -447,203 +538,112 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
- }
- }
- },
- "clusters": {
- "methods": {
- "get": {
- "description": "Gets the resource representation for a cluster in a project.",
- "httpMethod": "GET",
- "id": "dataproc.projects.clusters.get",
- "parameterOrder": [
- "projectId",
- "clusterName"
- ],
- "parameters": {
- "clusterName": {
- "description": "Required The cluster name.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "projectId": {
- "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/projects/{projectId}/clusters/{clusterName}",
- "response": {
- "$ref": "Cluster"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
},
- "patch": {
- "description": "Updates a cluster in a project.",
- "httpMethod": "PATCH",
- "id": "dataproc.projects.clusters.patch",
- "parameterOrder": [
- "projectId",
- "clusterName"
- ],
- "parameters": {
- "clusterName": {
- "description": "Required The cluster name.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "projectId": {
- "description": "Required The ID of the Google Cloud Platform project the cluster belongs to.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "updateMask": {
- "description": "Required Specifies the path, relative to <code>Cluster</code>, of the field to update. For example, to change the number of workers in a cluster to 5, the <code>update_mask</code> parameter would be specified as <code>configuration.worker_configuration.num_instances</code>, and the PATCH request body would specify the new value, as follows:\n{\n \"configuration\":{\n \"workerConfiguration\":{\n \"numInstances\":\"5\"\n }\n }\n}\nSimilarly, to change the number of preemptible workers in a cluster to 5, the <code>update_mask</code> parameter would be <code>config.secondary_worker_config.num_instances</code>, and the PATCH request body would be set as follows:\n{\n \"config\":{\n \"secondaryWorkerConfig\":{\n \"numInstances\":\"5\"\n }\n }\n}\n<strong>Note:</strong> Currently, <code>config.worker_config.num_instances</code> and <code>config.secondary_worker_config.num_instances</code> are the only fields that can be updated.",
- "format": "google-fieldmask",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1beta1/projects/{projectId}/clusters/{clusterName}",
- "request": {
- "$ref": "Cluster"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "diagnose": {
- "description": "Gets cluster diagnostic information. After the operation completes, the Operation.response field contains DiagnoseClusterOutputLocation.",
+ "submit": {
+ "description": "Submits a job to a cluster.",
"httpMethod": "POST",
- "id": "dataproc.projects.clusters.diagnose",
+ "id": "dataproc.projects.jobs.submit",
"parameterOrder": [
- "projectId",
- "clusterName"
+ "projectId"
],
"parameters": {
- "clusterName": {
- "description": "Required The cluster name.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"projectId": {
- "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
+ "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1beta1/projects/{projectId}/clusters/{clusterName}:diagnose",
+ "path": "v1beta1/projects/{projectId}/jobs:submit",
"request": {
- "$ref": "DiagnoseClusterRequest"
+ "$ref": "SubmitJobRequest"
},
"response": {
- "$ref": "Operation"
+ "$ref": "Job"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
- "description": "Deletes a cluster in a project.",
+ "description": "Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION.",
"httpMethod": "DELETE",
- "id": "dataproc.projects.clusters.delete",
+ "id": "dataproc.projects.jobs.delete",
"parameterOrder": [
"projectId",
- "clusterName"
+ "jobId"
],
"parameters": {
- "clusterName": {
- "description": "Required The cluster name.",
+ "projectId": {
+ "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
"location": "path",
"required": true,
"type": "string"
},
- "projectId": {
- "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
+ "jobId": {
+ "description": "Required The job ID.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1beta1/projects/{projectId}/clusters/{clusterName}",
+ "path": "v1beta1/projects/{projectId}/jobs/{jobId}",
"response": {
- "$ref": "Operation"
+ "$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
- "description": "Lists all clusters in a project.",
+ "description": "Lists jobs in a project.",
"httpMethod": "GET",
- "id": "dataproc.projects.clusters.list",
+ "id": "dataproc.projects.jobs.list",
"parameterOrder": [
"projectId"
],
"parameters": {
- "filter": {
- "description": "Optional A filter constraining which clusters to list. Valid filters contain label terms such as: labels.key1 = val1 AND (-labels.k2 = val2 OR labels.k3 = val3)",
- "location": "query",
- "type": "string"
- },
"pageToken": {
- "description": "The standard List page token.",
+ "description": "Optional The page token, returned by a previous call, to request the next page of results.",
"location": "query",
"type": "string"
},
"pageSize": {
- "description": "The standard List page size.",
+ "description": "Optional The number of results to return in each response.",
"format": "int32",
"location": "query",
"type": "integer"
},
+ "clusterName": {
+ "description": "Optional If set, the returned jobs list includes only jobs that were submitted to the named cluster.",
+ "location": "query",
+ "type": "string"
+ },
"projectId": {
- "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
+ "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
"location": "path",
"required": true,
"type": "string"
- }
- },
- "path": "v1beta1/projects/{projectId}/clusters",
- "response": {
- "$ref": "ListClustersResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "create": {
- "description": "Creates a cluster in a project.",
- "httpMethod": "POST",
- "id": "dataproc.projects.clusters.create",
- "parameterOrder": [
- "projectId"
- ],
- "parameters": {
- "projectId": {
- "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.",
- "location": "path",
- "required": true,
+ },
+ "filter": {
+ "description": "Optional A filter constraining which jobs to list. Valid filters contain job state and label terms such as: labels.key1 = val1 AND (labels.k2 = val2 OR labels.k3 = val3)",
+ "location": "query",
+ "type": "string"
+ },
+ "jobStateMatcher": {
+ "description": "Optional Specifies enumerated categories of jobs to list.",
+ "enum": [
+ "ALL",
+ "ACTIVE",
+ "NON_ACTIVE"
+ ],
+ "location": "query",
"type": "string"
}
},
- "path": "v1beta1/projects/{projectId}/clusters",
- "request": {
- "$ref": "Cluster"
- },
+ "path": "v1beta1/projects/{projectId}/jobs",
"response": {
- "$ref": "Operation"
+ "$ref": "ListJobsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
@@ -654,9 +654,707 @@
}
}
},
- "revision": "20170228",
+ "revision": "20170321",
"rootUrl": "https://dataproc.googleapis.com/",
"schemas": {
+ "PigJob": {
+ "description": "A Cloud Dataproc job for running Pig queries on YARN.",
+ "id": "PigJob",
+ "properties": {
+ "continueOnFailure": {
+ "description": "Optional Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.",
+ "type": "boolean"
+ },
+ "queryList": {
+ "$ref": "QueryList",
+ "description": "A list of queries."
+ },
+ "queryFileUri": {
+ "description": "The HCFS URI of the script that contains the Pig queries.",
+ "type": "string"
+ },
+ "jarFileUris": {
+ "description": "Optional HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "scriptVariables": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Optional Mapping of query variable names to values (equivalent to the Pig command: name=[value]).",
+ "type": "object"
+ },
+ "loggingConfiguration": {
+ "$ref": "LoggingConfiguration",
+ "description": "Optional The runtime log configuration for job execution."
+ },
+ "properties": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Optional A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "ClusterStatus": {
+ "description": "The status of a cluster and its instances.",
+ "id": "ClusterStatus",
+ "properties": {
+ "state": {
+ "description": "The cluster's state.",
+ "enum": [
+ "UNKNOWN",
+ "CREATING",
+ "RUNNING",
+ "ERROR",
+ "DELETING",
+ "UPDATING"
+ ],
+ "enumDescriptions": [
+ "The cluster state is unknown.",
+ "The cluster is being created and set up. It is not ready for use.",
+ "The cluster is currently running and healthy. It is ready for use.",
+ "The cluster encountered an error. It is not ready for use.",
+ "The cluster is being deleted. It cannot be used.",
+ "The cluster is being updated. It continues to accept and process jobs."
+ ],
+ "type": "string"
+ },
+ "stateStartTime": {
+ "description": "Time when this state was entered.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "substate": {
+ "description": "Output-only Additional state information that includes status reported by the agent.",
+ "enum": [
+ "UNSPECIFIED",
+ "UNHEALTHY",
+ "STALE_STATUS"
+ ],
+ "enumDescriptions": [
+ "",
+ "The cluster is known to be in an unhealthy state (for example, critical daemons are not running or HDFS capacity is exhausted).Applies to RUNNING state.",
+ "The agent-reported status is out of date (may occur if Cloud Dataproc loses communication with Agent).Applies to RUNNING state."
+ ],
+ "type": "string"
+ },
+ "detail": {
+ "description": "Optional details of cluster's state.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AcceleratorConfiguration": {
+ "description": "Specifies the type and number of accelerator cards attached to the instances of an instance group (see GPUs on Compute Engine).",
+ "id": "AcceleratorConfiguration",
+ "properties": {
+ "acceleratorCount": {
+ "description": "The number of the accelerator cards of this type exposed to this instance.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "acceleratorTypeUri": {
+ "description": "Full or partial URI of the accelerator type resource to expose to this instance. See Google Compute Engine AcceleratorTypes( /compute/docs/reference/beta/acceleratorTypes)",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ManagedGroupConfiguration": {
+ "description": "Specifies the resources used to actively manage an instance group.",
+ "id": "ManagedGroupConfiguration",
+ "properties": {
+ "instanceGroupManagerName": {
+ "description": "Output-only The name of the Instance Group Manager for this group.",
+ "type": "string"
+ },
+ "instanceTemplateName": {
+ "description": "Output-only The name of the Instance Template used for the Managed Instance Group.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListClustersResponse": {
+ "description": "The list of all clusters in a project.",
+ "id": "ListClustersResponse",
+ "properties": {
+ "clusters": {
+ "description": "Output-only The clusters in the project.",
+ "items": {
+ "$ref": "Cluster"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "The standard List next-page token.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SparkJob": {
+ "description": "A Cloud Dataproc job for running Spark applications on YARN.",
+ "id": "SparkJob",
+ "properties": {
+ "mainJarFileUri": {
+ "description": "The Hadoop Compatible Filesystem (HCFS) URI of the jar file that contains the main class.",
+ "type": "string"
+ },
+ "jarFileUris": {
+ "description": "Optional HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "loggingConfiguration": {
+ "$ref": "LoggingConfiguration",
+ "description": "Optional The runtime log configuration for job execution."
+ },
+ "properties": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Optional A mapping of property names to values, used to configure Spark. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.",
+ "type": "object"
+ },
+ "args": {
+ "description": "Optional The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "fileUris": {
+ "description": "Optional HCFS URIs of files to be copied to the working directory of Spark drivers and distributed tasks. Useful for naively parallel tasks.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "mainClass": {
+ "description": "The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris.",
+ "type": "string"
+ },
+ "archiveUris": {
+ "description": "Optional HCFS URIs of archives to be extracted in the working directory of Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Job": {
+ "description": "A Cloud Dataproc job resource.",
+ "id": "Job",
+ "properties": {
+ "interactive": {
+ "description": "Optional If set to true, the driver's stdin will be kept open and driver_input_uri will be set to provide a path at which additional input can be sent to the driver.",
+ "type": "boolean"
+ },
+ "driverInputResourceUri": {
+ "description": "Output-only A URI pointing to the location of the stdin of the job's driver program, only set if the job is interactive.",
+ "type": "string"
+ },
+ "hadoopJob": {
+ "$ref": "HadoopJob",
+ "description": "Job is a Hadoop job."
+ },
+ "status": {
+ "$ref": "JobStatus",
+ "description": "Output-only The job status. Additional application-specific status information may be contained in the <code>type_job</code> and <code>yarn_applications</code> fields."
+ },
+ "placement": {
+ "$ref": "JobPlacement",
+ "description": "Required Job information, including how, when, and where to run the job."
+ },
+ "driverControlFilesUri": {
+ "description": "Output-only If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as driver_output_uri.",
+ "type": "string"
+ },
+ "submittedBy": {
+ "description": "Output-only The email address of the user submitting the job. For jobs submitted on the cluster, the address is <code>username@hostname</code>.",
+ "type": "string"
+ },
+ "scheduling": {
+ "$ref": "JobScheduling",
+ "description": "Optional Job scheduling configuration."
+ },
+ "pigJob": {
+ "$ref": "PigJob",
+ "description": "Job is a Pig job."
+ },
+ "hiveJob": {
+ "$ref": "HiveJob",
+ "description": "Job is a Hive job."
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Optional The labels to associate with this job.Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 64 labels can be associated with a given job.",
+ "type": "object"
+ },
+ "driverOutputResourceUri": {
+ "description": "Output-only A URI pointing to the location of the stdout of the job's driver program.",
+ "type": "string"
+ },
+ "sparkSqlJob": {
+ "$ref": "SparkSqlJob",
+ "description": "Job is a SparkSql job."
+ },
+ "sparkJob": {
+ "$ref": "SparkJob",
+ "description": "Job is a Spark job."
+ },
+ "statusHistory": {
+ "description": "Output-only The previous job status.",
+ "items": {
+ "$ref": "JobStatus"
+ },
+ "type": "array"
+ },
+ "yarnApplications": {
+ "description": "Output-only The collection of YARN applications spun up by this job.",
+ "items": {
+ "$ref": "YarnApplication"
+ },
+ "type": "array"
+ },
+ "pysparkJob": {
+ "$ref": "PySparkJob",
+ "description": "Job is a Pyspark job."
+ },
+ "reference": {
+ "$ref": "JobReference",
+ "description": "Optional The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a <code>job_id</code>."
+ }
+ },
+ "type": "object"
+ },
+ "JobStatus": {
+ "description": "Cloud Dataproc job status.",
+ "id": "JobStatus",
+ "properties": {
+ "stateStartTime": {
+ "description": "Output-only The time when this state was entered.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "substate": {
+ "description": "Output-only Additional state information, which includes status reported by the agent.",
+ "enum": [
+ "UNSPECIFIED",
+ "SUBMITTED",
+ "QUEUED",
+ "STALE_STATUS"
+ ],
+ "enumDescriptions": [
+ "",
+ "The Job is submitted to the agent.Applies to RUNNING state.",
+ "The Job has been received and is awaiting execution (it may be waiting for a condition to be met). See the \"details\" field for the reason for the delay.Applies to RUNNING state.",
+ "The agent-reported status is out of date, which may be caused by a loss of communication between the agent and Cloud Dataproc. If the agent does not send a timely update, the job will fail.Applies to RUNNING state."
+ ],
+ "type": "string"
+ },
+ "state": {
+ "description": "Required A state message specifying the overall job state.",
+ "enum": [
+ "STATE_UNSPECIFIED",
+ "PENDING",
+ "SETUP_DONE",
+ "RUNNING",
+ "CANCEL_PENDING",
+ "CANCEL_STARTED",
+ "CANCELLED",
+ "DONE",
+ "ERROR",
+ "ATTEMPT_FAILURE"
+ ],
+ "enumDescriptions": [
+ "The job state is unknown.",
+ "The job is pending; it has been submitted, but is not yet running.",
+ "Job has been received by the service and completed initial setup; it will shortly be submitted to the cluster.",
+ "The job is running on the cluster.",
+ "A CancelJob request has been received, but is pending.",
+ "Transient in-flight resources have been canceled, and the request to cancel the running job has been issued to the cluster.",
+ "The job cancelation was successful.",
+ "The job has completed successfully.",
+ "The job has completed, but encountered an error.",
+ "Job attempt has failed. The detail field contains failure details for this attempt.Applies to restartable jobs only."
+ ],
+ "type": "string"
+ },
+ "details": {
+ "description": "Optional Job state details, such as an error description if the state is <code>ERROR</code>.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DiskConfiguration": {
+ "description": "Specifies the configuration of disk options for a group of VM instances.",
+ "id": "DiskConfiguration",
+ "properties": {
+ "numLocalSsds": {
+ "description": "Optional Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic configuration and installed binaries.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "bootDiskSizeGb": {
+ "description": "Optional Size in GB of the boot disk (default is 500GB).",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "ClusterOperationStatus": {
+ "description": "The status of the operation.",
+ "id": "ClusterOperationStatus",
+ "properties": {
+ "state": {
+ "description": "Output-only A message containing the operation state.",
+ "enum": [
+ "UNKNOWN",
+ "PENDING",
+ "RUNNING",
+ "DONE"
+ ],
+ "enumDescriptions": [
+ "Unused.",
+ "The operation has been created.",
+ "The operation is running.",
+ "The operation is done; either cancelled or completed."
+ ],
+ "type": "string"
+ },
+ "details": {
+ "description": "Output-onlyA message containing any operation metadata details.",
+ "type": "string"
+ },
+ "innerState": {
+ "description": "Output-only A message containing the detailed operation state.",
+ "type": "string"
+ },
+ "stateStartTime": {
+ "description": "Output-only The time this state was entered.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "YarnApplication": {
+ "description": "A YARN application created by a job. Application information is a subset of <code>org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto</code>.",
+ "id": "YarnApplication",
+ "properties": {
+ "state": {
+ "description": "Required The application state.",
+ "enum": [
+ "STATE_UNSPECIFIED",
+ "NEW",
+ "NEW_SAVING",
+ "SUBMITTED",
+ "ACCEPTED",
+ "RUNNING",
+ "FINISHED",
+ "FAILED",
+ "KILLED"
+ ],
+ "enumDescriptions": [
+ "Status is unspecified.",
+ "Status is NEW.",
+ "Status is NEW_SAVING.",
+ "Status is SUBMITTED.",
+ "Status is ACCEPTED.",
+ "Status is RUNNING.",
+ "Status is FINISHED.",
+ "Status is FAILED.",
+ "Status is KILLED."
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "Required The application name.",
+ "type": "string"
+ },
+ "trackingUrl": {
+ "description": "Optional The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information. The URL uses the internal hostname, and requires a proxy server for resolution and, possibly, access.",
+ "type": "string"
+ },
+ "progress": {
+ "description": "Required The numerical progress of the application, from 1 to 100.",
+ "format": "float",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "QueryList": {
+ "description": "A list of queries to run on a cluster.",
+ "id": "QueryList",
+ "properties": {
+ "queries": {
+ "description": "Required The queries to execute. You do not need to terminate a query with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of an Cloud Dataproc API snippet that uses a QueryList to specify a HiveJob:\n\"hiveJob\": {\n \"queryList\": {\n \"queries\": [\n \"query1\",\n \"query2\",\n \"query3;query4\",\n ]\n }\n}\n",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "HadoopJob": {
+ "description": "A Cloud Dataproc job for running Hadoop MapReduce jobs on YARN.",
+ "id": "HadoopJob",
+ "properties": {
+ "mainClass": {
+ "description": "The name of the driver's main class. The jar file containing the class must be in the default CLASSPATH or specified in jar_file_uris.",
+ "type": "string"
+ },
+ "archiveUris": {
+ "description": "Optional HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "mainJarFileUri": {
+ "description": "The Hadoop Compatible Filesystem (HCFS) URI of the jar file containing the main class. Examples: 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test-samples/custom-wordcount.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'",
+ "type": "string"
+ },
+ "jarFileUris": {
+ "description": "Optional Jar file URIs to add to the CLASSPATHs of the Hadoop driver and tasks.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "loggingConfiguration": {
+ "$ref": "LoggingConfiguration",
+ "description": "Optional The runtime log configuration for job execution."
+ },
+ "properties": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Optional A mapping of property names to values, used to configure Hadoop. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes in user code.",
+ "type": "object"
+ },
+ "args": {
+ "description": "Optional The arguments to pass to the driver. Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as job properties, since a collision may occur that causes an incorrect job submission.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "fileUris": {
+ "description": "Optional HCFS URIs of files to be copied to the working directory of Hadoop drivers and distributed tasks. Useful for naively parallel tasks.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "DiagnoseClusterRequest": {
+ "description": "A request to collect cluster diagnostic information.",
+ "id": "DiagnoseClusterRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "ClusterOperationMetadata": {
+ "description": "Metadata describing the operation.",
+ "id": "ClusterOperationMetadata",
+ "properties": {
+ "statusHistory": {
+ "description": "Output-only The previous operation status.",
+ "items": {
+ "$ref": "ClusterOperationStatus"
+ },
+ "type": "array"
+ },
+ "clusterName": {
+ "description": "Output-only Name of the cluster for the operation.",
+ "type": "string"
+ },
+ "clusterUuid": {
+ "description": "Output-only Cluster UUID for the operation.",
+ "type": "string"
+ },
+ "operationType": {
+ "description": "Output-only The operation type.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Output-only Short description of operation.",
+ "type": "string"
+ },
+ "warnings": {
+ "description": "Output-only Errors encountered during operation execution.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Output-only Labels associated with the operation",
+ "type": "object"
+ },
+ "status": {
+ "$ref": "ClusterOperationStatus",
+ "description": "Output-only Current operation status."
+ }
+ },
+ "type": "object"
+ },
+ "HiveJob": {
+ "description": "A Cloud Dataproc job for running Hive queries on YARN.",
+ "id": "HiveJob",
+ "properties": {
+ "properties": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Optional A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.",
+ "type": "object"
+ },
+ "continueOnFailure": {
+ "description": "Optional Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.",
+ "type": "boolean"
+ },
+ "queryList": {
+ "$ref": "QueryList",
+ "description": "A list of queries."
+ },
+ "queryFileUri": {
+ "description": "The HCFS URI of the script that contains Hive queries.",
+ "type": "string"
+ },
+ "jarFileUris": {
+ "description": "Optional HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "scriptVariables": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Optional Mapping of query variable names to values (equivalent to the Hive command: SET name=\"value\";).",
+ "type": "object"
+ }
+ },
+ "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:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
+ "DiagnoseClusterResults": {
+ "description": "The location of diagnostic output.",
+ "id": "DiagnoseClusterResults",
+ "properties": {
+ "outputUri": {
+ "description": "Output-only The Google Cloud Storage URI of the diagnostic output. The output report is a plain text file with a summary of collected diagnostics.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SoftwareConfiguration": {
+ "description": "Specifies the selection and configuration of software inside the cluster.",
+ "id": "SoftwareConfiguration",
+ "properties": {
+ "properties": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Optional The properties to set on daemon configuration files.Property keys are specified in \"prefix:property\" format, such as \"core:fs.defaultFS\". The following are supported prefixes and their mappings: core - core-site.xml hdfs - hdfs-site.xml mapred - mapred-site.xml yarn - yarn-site.xml hive - hive-site.xml pig - pig.properties spark - spark-defaults.conf",
+ "type": "object"
+ },
+ "imageVersion": {
+ "description": "Optional The version of software inside the cluster. It must match the regular expression [0-9]+\\.[0-9]+. If unspecified, it defaults to the latest version (see Cloud Dataproc Versioning).",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "PySparkJob": {
+ "description": "A Cloud Dataproc job for running PySpark applications on YARN.",
+ "id": "PySparkJob",
+ "properties": {
+ "properties": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Optional A mapping of property names to values, used to configure PySpark. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.",
+ "type": "object"
+ },
+ "args": {
+ "description": "Optional The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "fileUris": {
+ "description": "Optional HCFS URIs of files to be copied to the working directory of Python drivers and distributed tasks. Useful for naively parallel tasks.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "pythonFileUris": {
+ "description": "Optional HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "mainPythonFileUri": {
+ "description": "Required The Hadoop Compatible Filesystem (HCFS) URI of the main Python file to use as the driver. Must be a .py file.",
+ "type": "string"
+ },
+ "archiveUris": {
+ "description": "Optional HCFS URIs of archives to be extracted in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "jarFileUris": {
+ "description": "Optional HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "loggingConfiguration": {
+ "$ref": "LoggingConfiguration",
+ "description": "Optional The runtime log configuration for job execution."
+ }
+ },
+ "type": "object"
+ },
"ClusterMetrics": {
"description": "Contains cluster daemon metrics, such as HDFS and YARN stats.",
"id": "ClusterMetrics",
@@ -684,14 +1382,6 @@
"description": "The cluster configuration.",
"id": "ClusterConfiguration",
"properties": {
- "masterConfiguration": {
- "$ref": "InstanceGroupConfiguration",
- "description": "Optional The Google Compute Engine configuration settings for the master instance in a cluster."
- },
- "secondaryWorkerConfiguration": {
- "$ref": "InstanceGroupConfiguration",
- "description": "Optional The Google Compute Engine configuration settings for additional worker instances in a cluster."
- },
"initializationActions": {
"description": "Optional Commands to execute on each node after configuration is completed. By default, executables are run on master and all worker nodes. You can test a node's <code>role</code> metadata to run an executable on a master or worker node, as shown below:\nROLE=$(/usr/share/google/get_metadata_value attributes/role)\nif [[ \"${ROLE}\" == 'Master' ]]; then\n ... master specific actions ...\nelse\n ... worker specific actions ...\nfi\n",
"items": {
@@ -703,17 +1393,25 @@
"$ref": "InstanceGroupConfiguration",
"description": "Optional The Google Compute Engine configuration settings for worker instances in a cluster."
},
- "softwareConfiguration": {
- "$ref": "SoftwareConfiguration",
- "description": "Optional The configuration settings for software inside the cluster."
- },
"gceClusterConfiguration": {
"$ref": "GceClusterConfiguration",
"description": "Required The shared Google Compute Engine configuration settings for all instances in a cluster."
},
+ "softwareConfiguration": {
+ "$ref": "SoftwareConfiguration",
+ "description": "Optional The configuration settings for software inside the cluster."
+ },
"configurationBucket": {
"description": "Optional A Google Cloud Storage staging bucket used for sharing generated SSH keys and configuration. If you do not specify a staging bucket, Cloud Dataproc will determine an appropriate Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Google Compute Engine zone where your cluster is deployed, and then it will create and manage this project-level, per-location bucket for you.",
"type": "string"
+ },
+ "masterConfiguration": {
+ "$ref": "InstanceGroupConfiguration",
+ "description": "Optional The Google Compute Engine configuration settings for the master instance in a cluster."
+ },
+ "secondaryWorkerConfiguration": {
+ "$ref": "InstanceGroupConfiguration",
+ "description": "Optional The Google Compute Engine configuration settings for additional worker instances in a cluster."
}
},
"type": "object"
@@ -747,30 +1445,21 @@
"description": "The configuration settings for Google Compute Engine resources in an instance group, such as a master or worker group.",
"id": "InstanceGroupConfiguration",
"properties": {
- "numInstances": {
- "description": "The number of VM instances in the instance group. For master instance groups, must be set to 1.",
- "format": "int32",
- "type": "integer"
- },
"diskConfiguration": {
"$ref": "DiskConfiguration",
"description": "Disk option configuration settings."
},
- "isPreemptible": {
- "description": "Specifies that this instance group contains Preemptible Instances.",
- "type": "boolean"
- },
- "imageUri": {
- "description": "Output-only The Google Compute Engine image resource used for cluster instances. Inferred from SoftwareConfiguration.image_version.",
- "type": "string"
- },
"machineTypeUri": {
"description": "The Google Compute Engine machine type used for cluster instances. Example: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2.",
"type": "string"
},
- "managedGroupConfiguration": {
- "$ref": "ManagedGroupConfiguration",
- "description": "Output-only The configuration for Google Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups."
+ "imageUri": {
+ "description": "Output-only The Google Compute Engine image resource used for cluster instances. Inferred from SoftwareConfiguration.image_version.",
+ "type": "string"
+ },
+ "isPreemptible": {
+ "description": "Specifies that this instance group contains Preemptible Instances.",
+ "type": "boolean"
},
"instanceNames": {
"description": "The list of instance names. Dataproc derives the names from cluster_name, num_instances, and the instance group if not set by user (recommended practice is to let Dataproc derive the name).",
@@ -779,12 +1468,21 @@
},
"type": "array"
},
+ "managedGroupConfiguration": {
+ "$ref": "ManagedGroupConfiguration",
+ "description": "Output-only The configuration for Google Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups."
+ },
"accelerators": {
"description": "Optional The Google Compute Engine accelerator configuration for these instances.",
"items": {
"$ref": "AcceleratorConfiguration"
},
"type": "array"
+ },
+ "numInstances": {
+ "description": "The number of VM instances in the instance group. For master instance groups, must be set to 1.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -858,10 +1556,6 @@
"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"
- },
"response": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
@@ -885,6 +1579,10 @@
},
"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"
+ },
+ "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"
}
},
"type": "object"
@@ -893,11 +1591,6 @@
"description": "The status of the operation.",
"id": "OperationStatus",
"properties": {
- "stateStartTime": {
- "description": "The time this state was entered.",
- "format": "google-datetime",
- "type": "string"
- },
"state": {
"description": "A message containing the operation state.",
"enum": [
@@ -921,6 +1614,11 @@
"innerState": {
"description": "A message containing the detailed operation state.",
"type": "string"
+ },
+ "stateStartTime": {
+ "description": "The time this state was entered.",
+ "format": "google-datetime",
+ "type": "string"
}
},
"type": "object"
@@ -994,14 +1692,14 @@
"description": "Specifies an executable to run on a fully configured node and a timeout period for executable completion.",
"id": "NodeInitializationAction",
"properties": {
+ "executableFile": {
+ "description": "Required Google Cloud Storage URI of executable file.",
+ "type": "string"
+ },
"executionTimeout": {
"description": "Optional Amount of time executable has to complete. Default is 10 minutes. Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period.",
"format": "google-duration",
"type": "string"
- },
- "executableFile": {
- "description": "Required Google Cloud Storage URI of executable file.",
- "type": "string"
}
},
"type": "object"
@@ -1034,6 +1732,13 @@
"description": "A Cloud Dataproc job for running Spark SQL queries.",
"id": "SparkSqlJob",
"properties": {
+ "properties": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Optional A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Cloud Dataproc API may be overwritten.",
+ "type": "object"
+ },
"queryFileUri": {
"description": "The HCFS URI of the script that contains SQL queries.",
"type": "string"
@@ -1059,13 +1764,6 @@
"loggingConfiguration": {
"$ref": "LoggingConfiguration",
"description": "Optional The runtime log configuration for job execution."
- },
- "properties": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Optional A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Cloud Dataproc API may be overwritten.",
- "type": "object"
}
},
"type": "object"
@@ -1188,674 +1886,6 @@
}
},
"type": "object"
- },
- "ClusterStatus": {
- "description": "The status of a cluster and its instances.",
- "id": "ClusterStatus",
- "properties": {
- "state": {
- "description": "The cluster's state.",
- "enum": [
- "UNKNOWN",
- "CREATING",
- "RUNNING",
- "ERROR",
- "DELETING",
- "UPDATING"
- ],
- "enumDescriptions": [
- "The cluster state is unknown.",
- "The cluster is being created and set up. It is not ready for use.",
- "The cluster is currently running and healthy. It is ready for use.",
- "The cluster encountered an error. It is not ready for use.",
- "The cluster is being deleted. It cannot be used.",
- "The cluster is being updated. It continues to accept and process jobs."
- ],
- "type": "string"
- },
- "stateStartTime": {
- "description": "Time when this state was entered.",
- "format": "google-datetime",
- "type": "string"
- },
- "detail": {
- "description": "Optional details of cluster's state.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "PigJob": {
- "description": "A Cloud Dataproc job for running Pig queries on YARN.",
- "id": "PigJob",
- "properties": {
- "continueOnFailure": {
- "description": "Optional Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.",
- "type": "boolean"
- },
- "queryFileUri": {
- "description": "The HCFS URI of the script that contains the Pig queries.",
- "type": "string"
- },
- "queryList": {
- "$ref": "QueryList",
- "description": "A list of queries."
- },
- "scriptVariables": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Optional Mapping of query variable names to values (equivalent to the Pig command: name=[value]).",
- "type": "object"
- },
- "jarFileUris": {
- "description": "Optional HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "loggingConfiguration": {
- "$ref": "LoggingConfiguration",
- "description": "Optional The runtime log configuration for job execution."
- },
- "properties": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Optional A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.",
- "type": "object"
- }
- },
- "type": "object"
- },
- "AcceleratorConfiguration": {
- "description": "Specifies the type and number of accelerator cards attached to the instances of an instance group (see GPUs on Compute Engine).",
- "id": "AcceleratorConfiguration",
- "properties": {
- "acceleratorTypeUri": {
- "description": "Full or partial URI of the accelerator type resource to expose to this instance. See Google Compute Engine AcceleratorTypes( /compute/docs/reference/beta/acceleratorTypes)",
- "type": "string"
- },
- "acceleratorCount": {
- "description": "The number of the accelerator cards of this type exposed to this instance.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "ListClustersResponse": {
- "description": "The list of all clusters in a project.",
- "id": "ListClustersResponse",
- "properties": {
- "clusters": {
- "description": "Output-only The clusters in the project.",
- "items": {
- "$ref": "Cluster"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "The standard List next-page token.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ManagedGroupConfiguration": {
- "description": "Specifies the resources used to actively manage an instance group.",
- "id": "ManagedGroupConfiguration",
- "properties": {
- "instanceGroupManagerName": {
- "description": "Output-only The name of the Instance Group Manager for this group.",
- "type": "string"
- },
- "instanceTemplateName": {
- "description": "Output-only The name of the Instance Template used for the Managed Instance Group.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Job": {
- "description": "A Cloud Dataproc job resource.",
- "id": "Job",
- "properties": {
- "hadoopJob": {
- "$ref": "HadoopJob",
- "description": "Job is a Hadoop job."
- },
- "placement": {
- "$ref": "JobPlacement",
- "description": "Required Job information, including how, when, and where to run the job."
- },
- "status": {
- "$ref": "JobStatus",
- "description": "Output-only The job status. Additional application-specific status information may be contained in the <code>type_job</code> and <code>yarn_applications</code> fields."
- },
- "driverControlFilesUri": {
- "description": "Output-only If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as driver_output_uri.",
- "type": "string"
- },
- "submittedBy": {
- "description": "Output-only The email address of the user submitting the job. For jobs submitted on the cluster, the address is <code>username@hostname</code>.",
- "type": "string"
- },
- "scheduling": {
- "$ref": "JobScheduling",
- "description": "Optional Job scheduling configuration."
- },
- "pigJob": {
- "$ref": "PigJob",
- "description": "Job is a Pig job."
- },
- "hiveJob": {
- "$ref": "HiveJob",
- "description": "Job is a Hive job."
- },
- "labels": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Optional The labels to associate with this job.Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 64 labels can be associated with a given job.",
- "type": "object"
- },
- "driverOutputResourceUri": {
- "description": "Output-only A URI pointing to the location of the stdout of the job's driver program.",
- "type": "string"
- },
- "sparkSqlJob": {
- "$ref": "SparkSqlJob",
- "description": "Job is a SparkSql job."
- },
- "sparkJob": {
- "$ref": "SparkJob",
- "description": "Job is a Spark job."
- },
- "statusHistory": {
- "description": "Output-only The previous job status.",
- "items": {
- "$ref": "JobStatus"
- },
- "type": "array"
- },
- "yarnApplications": {
- "description": "Output-only The collection of YARN applications spun up by this job.",
- "items": {
- "$ref": "YarnApplication"
- },
- "type": "array"
- },
- "pysparkJob": {
- "$ref": "PySparkJob",
- "description": "Job is a Pyspark job."
- },
- "reference": {
- "$ref": "JobReference",
- "description": "Optional The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a <code>job_id</code>."
- },
- "interactive": {
- "description": "Optional If set to true, the driver's stdin will be kept open and driver_input_uri will be set to provide a path at which additional input can be sent to the driver.",
- "type": "boolean"
- },
- "driverInputResourceUri": {
- "description": "Output-only A URI pointing to the location of the stdin of the job's driver program, only set if the job is interactive.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SparkJob": {
- "description": "A Cloud Dataproc job for running Spark applications on YARN.",
- "id": "SparkJob",
- "properties": {
- "mainClass": {
- "description": "The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris.",
- "type": "string"
- },
- "archiveUris": {
- "description": "Optional HCFS URIs of archives to be extracted in the working directory of Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "mainJarFileUri": {
- "description": "The Hadoop Compatible Filesystem (HCFS) URI of the jar file that contains the main class.",
- "type": "string"
- },
- "jarFileUris": {
- "description": "Optional HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "loggingConfiguration": {
- "$ref": "LoggingConfiguration",
- "description": "Optional The runtime log configuration for job execution."
- },
- "properties": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Optional A mapping of property names to values, used to configure Spark. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.",
- "type": "object"
- },
- "args": {
- "description": "Optional The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "fileUris": {
- "description": "Optional HCFS URIs of files to be copied to the working directory of Spark drivers and distributed tasks. Useful for naively parallel tasks.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "DiskConfiguration": {
- "description": "Specifies the configuration of disk options for a group of VM instances.",
- "id": "DiskConfiguration",
- "properties": {
- "bootDiskSizeGb": {
- "description": "Optional Size in GB of the boot disk (default is 500GB).",
- "format": "int32",
- "type": "integer"
- },
- "numLocalSsds": {
- "description": "Optional Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic configuration and installed binaries.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "JobStatus": {
- "description": "Cloud Dataproc job status.",
- "id": "JobStatus",
- "properties": {
- "state": {
- "description": "Required A state message specifying the overall job state.",
- "enum": [
- "STATE_UNSPECIFIED",
- "PENDING",
- "SETUP_DONE",
- "RUNNING",
- "CANCEL_PENDING",
- "CANCEL_STARTED",
- "CANCELLED",
- "DONE",
- "ERROR",
- "ATTEMPT_FAILURE"
- ],
- "enumDescriptions": [
- "The job state is unknown.",
- "The job is pending; it has been submitted, but is not yet running.",
- "Job has been received by the service and completed initial setup; it will shortly be submitted to the cluster.",
- "The job is running on the cluster.",
- "A CancelJob request has been received, but is pending.",
- "Transient in-flight resources have been canceled, and the request to cancel the running job has been issued to the cluster.",
- "The job cancelation was successful.",
- "The job has completed successfully.",
- "The job has completed, but encountered an error.",
- "Job attempt has failed. The detail field contains failure details for this attempt.Applies to restartable jobs only."
- ],
- "type": "string"
- },
- "details": {
- "description": "Optional Job state details, such as an error description if the state is <code>ERROR</code>.",
- "type": "string"
- },
- "stateStartTime": {
- "description": "Output-only The time when this state was entered.",
- "format": "google-datetime",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ClusterOperationStatus": {
- "description": "The status of the operation.",
- "id": "ClusterOperationStatus",
- "properties": {
- "state": {
- "description": "Output-only A message containing the operation state.",
- "enum": [
- "UNKNOWN",
- "PENDING",
- "RUNNING",
- "DONE"
- ],
- "enumDescriptions": [
- "Unused.",
- "The operation has been created.",
- "The operation is running.",
- "The operation is done; either cancelled or completed."
- ],
- "type": "string"
- },
- "details": {
- "description": "Output-onlyA message containing any operation metadata details.",
- "type": "string"
- },
- "innerState": {
- "description": "Output-only A message containing the detailed operation state.",
- "type": "string"
- },
- "stateStartTime": {
- "description": "Output-only The time this state was entered.",
- "format": "google-datetime",
- "type": "string"
- }
- },
- "type": "object"
- },
- "HadoopJob": {
- "description": "A Cloud Dataproc job for running Hadoop MapReduce jobs on YARN.",
- "id": "HadoopJob",
- "properties": {
- "jarFileUris": {
- "description": "Optional Jar file URIs to add to the CLASSPATHs of the Hadoop driver and tasks.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "loggingConfiguration": {
- "$ref": "LoggingConfiguration",
- "description": "Optional The runtime log configuration for job execution."
- },
- "properties": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Optional A mapping of property names to values, used to configure Hadoop. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes in user code.",
- "type": "object"
- },
- "args": {
- "description": "Optional The arguments to pass to the driver. Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as job properties, since a collision may occur that causes an incorrect job submission.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "fileUris": {
- "description": "Optional HCFS URIs of files to be copied to the working directory of Hadoop drivers and distributed tasks. Useful for naively parallel tasks.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "mainClass": {
- "description": "The name of the driver's main class. The jar file containing the class must be in the default CLASSPATH or specified in jar_file_uris.",
- "type": "string"
- },
- "archiveUris": {
- "description": "Optional HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "mainJarFileUri": {
- "description": "The Hadoop Compatible Filesystem (HCFS) URI of the jar file containing the main class. Examples: 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test-samples/custom-wordcount.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'",
- "type": "string"
- }
- },
- "type": "object"
- },
- "QueryList": {
- "description": "A list of queries to run on a cluster.",
- "id": "QueryList",
- "properties": {
- "queries": {
- "description": "Required The queries to execute. You do not need to terminate a query with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of an Cloud Dataproc API snippet that uses a QueryList to specify a HiveJob:\n\"hiveJob\": {\n \"queryList\": {\n \"queries\": [\n \"query1\",\n \"query2\",\n \"query3;query4\",\n ]\n }\n}\n",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "YarnApplication": {
- "description": "A YARN application created by a job. Application information is a subset of <code>org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto</code>.",
- "id": "YarnApplication",
- "properties": {
- "state": {
- "description": "Required The application state.",
- "enum": [
- "STATE_UNSPECIFIED",
- "NEW",
- "NEW_SAVING",
- "SUBMITTED",
- "ACCEPTED",
- "RUNNING",
- "FINISHED",
- "FAILED",
- "KILLED"
- ],
- "enumDescriptions": [
- "Status is unspecified.",
- "Status is NEW.",
- "Status is NEW_SAVING.",
- "Status is SUBMITTED.",
- "Status is ACCEPTED.",
- "Status is RUNNING.",
- "Status is FINISHED.",
- "Status is FAILED.",
- "Status is KILLED."
- ],
- "type": "string"
- },
- "name": {
- "description": "Required The application name.",
- "type": "string"
- },
- "trackingUrl": {
- "description": "Optional The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information. The URL uses the internal hostname, and requires a proxy server for resolution and, possibly, access.",
- "type": "string"
- },
- "progress": {
- "description": "Required The numerical progress of the application, from 1 to 100.",
- "format": "float",
- "type": "number"
- }
- },
- "type": "object"
- },
- "DiagnoseClusterRequest": {
- "description": "A request to collect cluster diagnostic information.",
- "id": "DiagnoseClusterRequest",
- "properties": {},
- "type": "object"
- },
- "ClusterOperationMetadata": {
- "description": "Metadata describing the operation.",
- "id": "ClusterOperationMetadata",
- "properties": {
- "operationType": {
- "description": "Output-only The operation type.",
- "type": "string"
- },
- "description": {
- "description": "Output-only Short description of operation.",
- "type": "string"
- },
- "warnings": {
- "description": "Output-only Errors encountered during operation execution.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "labels": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Output-only Labels associated with the operation",
- "type": "object"
- },
- "status": {
- "$ref": "ClusterOperationStatus",
- "description": "Output-only Current operation status."
- },
- "statusHistory": {
- "description": "Output-only The previous operation status.",
- "items": {
- "$ref": "ClusterOperationStatus"
- },
- "type": "array"
- },
- "clusterUuid": {
- "description": "Output-only Cluster UUID for the operation.",
- "type": "string"
- },
- "clusterName": {
- "description": "Output-only Name of the cluster for the operation.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "HiveJob": {
- "description": "A Cloud Dataproc job for running Hive queries on YARN.",
- "id": "HiveJob",
- "properties": {
- "continueOnFailure": {
- "description": "Optional Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.",
- "type": "boolean"
- },
- "queryList": {
- "$ref": "QueryList",
- "description": "A list of queries."
- },
- "queryFileUri": {
- "description": "The HCFS URI of the script that contains Hive queries.",
- "type": "string"
- },
- "scriptVariables": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Optional Mapping of query variable names to values (equivalent to the Hive command: SET name=\"value\";).",
- "type": "object"
- },
- "jarFileUris": {
- "description": "Optional HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "properties": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Optional A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.",
- "type": "object"
- }
- },
- "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:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}.",
- "id": "Empty",
- "properties": {},
- "type": "object"
- },
- "DiagnoseClusterResults": {
- "description": "The location of diagnostic output.",
- "id": "DiagnoseClusterResults",
- "properties": {
- "outputUri": {
- "description": "Output-only The Google Cloud Storage URI of the diagnostic output. The output report is a plain text file with a summary of collected diagnostics.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SoftwareConfiguration": {
- "description": "Specifies the selection and configuration of software inside the cluster.",
- "id": "SoftwareConfiguration",
- "properties": {
- "imageVersion": {
- "description": "Optional The version of software inside the cluster. It must match the regular expression [0-9]+\\.[0-9]+. If unspecified, it defaults to the latest version (see Cloud Dataproc Versioning).",
- "type": "string"
- },
- "properties": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Optional The properties to set on daemon configuration files.Property keys are specified in \"prefix:property\" format, such as \"core:fs.defaultFS\". The following are supported prefixes and their mappings: core - core-site.xml hdfs - hdfs-site.xml mapred - mapred-site.xml yarn - yarn-site.xml hive - hive-site.xml pig - pig.properties spark - spark-defaults.conf",
- "type": "object"
- }
- },
- "type": "object"
- },
- "PySparkJob": {
- "description": "A Cloud Dataproc job for running PySpark applications on YARN.",
- "id": "PySparkJob",
- "properties": {
- "jarFileUris": {
- "description": "Optional HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "loggingConfiguration": {
- "$ref": "LoggingConfiguration",
- "description": "Optional The runtime log configuration for job execution."
- },
- "properties": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Optional A mapping of property names to values, used to configure PySpark. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.",
- "type": "object"
- },
- "args": {
- "description": "Optional The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "fileUris": {
- "description": "Optional HCFS URIs of files to be copied to the working directory of Python drivers and distributed tasks. Useful for naively parallel tasks.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "pythonFileUris": {
- "description": "Optional HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "mainPythonFileUri": {
- "description": "Required The Hadoop Compatible Filesystem (HCFS) URI of the main Python file to use as the driver. Must be a .py file.",
- "type": "string"
- },
- "archiveUris": {
- "description": "Optional HCFS URIs of archives to be extracted in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis_beta/dlp__v2beta1.json b/discovery/googleapis_beta/dlp__v2beta1.json
new file mode 100644
index 0000000..acd3a46
--- /dev/null
+++ b/discovery/googleapis_beta/dlp__v2beta1.json
@@ -0,0 +1,1090 @@
+{
+ "auth": {
+ "oauth2": {
+ "scopes": {
+ "https://www.googleapis.com/auth/cloud-platform": {
+ "description": "View and manage your data across Google Cloud Platform services"
+ }
+ }
+ }
+ },
+ "basePath": "",
+ "baseUrl": "https://dlp.googleapis.com/",
+ "batchPath": "batch",
+ "canonicalName": "DLP",
+ "description": "The Google Data Loss Prevention API provides methods for detection of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.",
+ "discoveryVersion": "v1",
+ "documentationLink": "https://cloud.google.com/dlp/docs/",
+ "icons": {
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
+ },
+ "id": "dlp:v2beta1",
+ "kind": "discovery#restDescription",
+ "name": "dlp",
+ "ownerDomain": "google.com",
+ "ownerName": "Google",
+ "parameters": {
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "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"
+ },
+ "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"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "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"
+ },
+ "pp": {
+ "default": "true",
+ "description": "Pretty-print response.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "protocol": "rest",
+ "resources": {
+ "content": {
+ "methods": {
+ "inspect": {
+ "description": "Find potentially sensitive info in a list of strings.\nThis method has limits on input size, processing time, and output size.",
+ "httpMethod": "POST",
+ "id": "dlp.content.inspect",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v2beta1/content:inspect",
+ "request": {
+ "$ref": "InspectContentRequest"
+ },
+ "response": {
+ "$ref": "InspectContentResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "redact": {
+ "description": "Redact potentially sensitive info from a list of strings.\nThis method has limits on input size, processing time, and output size.",
+ "httpMethod": "POST",
+ "id": "dlp.content.redact",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v2beta1/content:redact",
+ "request": {
+ "$ref": "RedactContentRequest"
+ },
+ "response": {
+ "$ref": "RedactContentResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
+ "rootCategories": {
+ "methods": {
+ "list": {
+ "description": "Returns the list of root categories of sensitive information.",
+ "httpMethod": "GET",
+ "id": "dlp.rootCategories.list",
+ "parameterOrder": [],
+ "parameters": {
+ "languageCode": {
+ "description": "Optional language code for localized friendly category names.\nIf omitted or if localized strings are not available,\nen-US strings will be returned.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/rootCategories",
+ "response": {
+ "$ref": "ListRootCategoriesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ },
+ "resources": {
+ "infoTypes": {
+ "methods": {
+ "list": {
+ "description": "Returns sensitive information types for given category.",
+ "httpMethod": "GET",
+ "id": "dlp.rootCategories.infoTypes.list",
+ "parameterOrder": [
+ "category"
+ ],
+ "parameters": {
+ "languageCode": {
+ "description": "Optional BCP-47 language code for localized info type friendly\nnames. If omitted, or if localized strings are not available,\nen-US strings will be returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "category": {
+ "description": "Category name as returned by ListRootCategories.",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/rootCategories/{+category}/infoTypes",
+ "response": {
+ "$ref": "ListInfoTypesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "inspect": {
+ "resources": {
+ "results": {
+ "resources": {
+ "findings": {
+ "methods": {
+ "list": {
+ "description": "Returns list of results for given inspect operation result set id.",
+ "httpMethod": "GET",
+ "id": "dlp.inspect.results.findings.list",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Identifier of the results set returned as metadata of\nthe longrunning operation created by a call to CreateInspectOperation.\nShould be in the format of `inspect/results/{id}.",
+ "location": "path",
+ "pattern": "^inspect/results/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "The value returned by the last `ListInspectFindingsResponse`; indicates\nthat this is a continuation of a prior `ListInspectFindings` call, and that\nthe system should return the next page of data.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Maximum number of results to return.\nIf 0, the implementation will select a reasonable value.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ }
+ },
+ "path": "v2beta1/{+name}/findings",
+ "response": {
+ "$ref": "ListInspectFindingsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "operations": {
+ "methods": {
+ "cancel": {
+ "description": "Cancels an operation. Use the get method to check whether the cancellation succeeded or whether the operation completed despite cancellation.",
+ "httpMethod": "POST",
+ "id": "dlp.inspect.operations.cancel",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource to be cancelled.",
+ "location": "path",
+ "pattern": "^inspect/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/{+name}:cancel",
+ "request": {
+ "$ref": "CancelOperationRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "This method is not supported and the server returns `UNIMPLEMENTED`.",
+ "httpMethod": "DELETE",
+ "id": "dlp.inspect.operations.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource to be deleted.",
+ "location": "path",
+ "pattern": "^inspect/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/{+name}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`.",
+ "httpMethod": "GET",
+ "id": "dlp.inspect.operations.list",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "The list page size. The max allowed value is 256 and default is 100.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "filter": {
+ "description": "This parameter supports filtering by done, ie done=true or done=false.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the operation collection.",
+ "location": "path",
+ "pattern": "^inspect/operations$",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "The list page token.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/{+name}",
+ "response": {
+ "$ref": "ListOperationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
+ "httpMethod": "GET",
+ "id": "dlp.inspect.operations.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource.",
+ "location": "path",
+ "pattern": "^inspect/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/{+name}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "create": {
+ "description": "Schedule a job scanning content in a Google Cloud Platform data repository.",
+ "httpMethod": "POST",
+ "id": "dlp.inspect.operations.create",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v2beta1/inspect/operations",
+ "request": {
+ "$ref": "CreateInspectOperationRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "revision": "20170321",
+ "rootUrl": "https://dlp.googleapis.com/",
+ "schemas": {
+ "CategoryDescription": {
+ "description": "Info Type Category description.",
+ "id": "CategoryDescription",
+ "properties": {
+ "displayName": {
+ "description": "Human readable form of the category name.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Internal name of the category.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CancelOperationRequest": {
+ "description": "The request message for Operations.CancelOperation.",
+ "id": "CancelOperationRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "Operation": {
+ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
+ "id": "Operation",
+ "properties": {
+ "done": {
+ "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.",
+ "type": "boolean"
+ },
+ "response": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "This field will contain an `InspectOperationResult` object.",
+ "type": "object"
+ },
+ "name": {
+ "description": "The server-assigned name, The `name` should have the format of `inspect/operations/<identifier>`.",
+ "type": "string"
+ },
+ "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": "This field will contain an `InspectOperationMetdata` object.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "CloudStorageOptions": {
+ "description": "Options defining a file or a set of files (path ending with *) within\na Google Cloud Storage bucket.",
+ "id": "CloudStorageOptions",
+ "properties": {
+ "fileSet": {
+ "$ref": "FileSet"
+ }
+ },
+ "type": "object"
+ },
+ "PathElement": {
+ "description": "A (kind, ID/name) pair used to construct a key path.\n\nIf either name or ID is set, the element is complete.\nIf neither is set, the element is incomplete.",
+ "id": "PathElement",
+ "properties": {
+ "name": {
+ "description": "The name of the entity.\nA name matching regex `__.*__` is reserved/read-only.\nA name must not be more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "The kind of the entity.\nA kind matching regex `__.*__` is reserved/read-only.\nA kind must not contain more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.",
+ "type": "string"
+ },
+ "id": {
+ "description": "The auto-allocated ID of the entity.\nNever equal to zero. Values less than zero are discouraged and may not\nbe supported in the future.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "InspectResult": {
+ "description": "All the findings for a single scanned item.",
+ "id": "InspectResult",
+ "properties": {
+ "findings": {
+ "description": "List of findings for an item.",
+ "items": {
+ "$ref": "Finding"
+ },
+ "type": "array"
+ },
+ "findingsTruncated": {
+ "description": "If true, then this item might have more findings than were returned,\nand the findings returned are an arbitrary subset of all findings.\nThe findings list might be truncated because the input items were too\nlarge, or because the server reached the maximum amount of resources\nallowed for a single API call. For best results, divide the input into\nsmaller batches.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "Status": {
+ "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
+ "id": "Status",
+ "properties": {
+ "details": {
+ "description": "A list of messages that carry the error details. There will be a\ncommon 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"
+ },
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RedactContentResponse": {
+ "description": "Results of deidentifying a list of items.",
+ "id": "RedactContentResponse",
+ "properties": {
+ "items": {
+ "description": "The redacted content.",
+ "items": {
+ "$ref": "ContentItem"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Range": {
+ "description": "Generic half-open interval [start, end)",
+ "id": "Range",
+ "properties": {
+ "start": {
+ "description": "Index of the first character of the range (inclusive).",
+ "format": "int64",
+ "type": "string"
+ },
+ "end": {
+ "description": "Index of the last character of the range (exclusive).",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FieldId": {
+ "description": "General identifier of a data field in a storage service.",
+ "id": "FieldId",
+ "properties": {
+ "columnName": {
+ "description": "Column name describing the field.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "KindExpression": {
+ "description": "A representation of a Datastore kind.",
+ "id": "KindExpression",
+ "properties": {
+ "name": {
+ "description": "The name of the kind.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListInfoTypesResponse": {
+ "description": "Response to the ListInfoTypes request.",
+ "id": "ListInfoTypesResponse",
+ "properties": {
+ "infoTypes": {
+ "description": "Set of sensitive info types belonging to a category.",
+ "items": {
+ "$ref": "InfoTypeDescription"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Key": {
+ "description": "A unique identifier for a Datastore entity.\nIf a key's partition ID or any of its path kinds or names are\nreserved/read-only, the key is reserved/read-only.\nA reserved/read-only key is forbidden in certain documented contexts.",
+ "id": "Key",
+ "properties": {
+ "partitionId": {
+ "$ref": "PartitionId",
+ "description": "Entities are partitioned into subsets, currently identified by a project\nID and namespace ID.\nQueries are scoped to a single partition."
+ },
+ "path": {
+ "description": "The entity path.\nAn entity path consists of one or more elements composed of a kind and a\nstring or numerical identifier, which identify entities. The first\nelement identifies a _root entity_, the second element identifies\na _child_ of the root entity, the third element identifies a child of the\nsecond entity, and so forth. The entities identified by all prefixes of\nthe path are called the element's _ancestors_.\n\nA path can never be empty, and a path can have at most 100 elements.",
+ "items": {
+ "$ref": "PathElement"
+ },
+ "type": "array"
+ }
+ },
+ "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"
+ },
+ "InspectContentRequest": {
+ "description": "Request to search for potentially sensitive info in a list of items.",
+ "id": "InspectContentRequest",
+ "properties": {
+ "inspectConfig": {
+ "$ref": "InspectConfig",
+ "description": "Configuration for the inspector."
+ },
+ "items": {
+ "description": "The list of items to inspect. Items in a single request are\nconsidered \"related\" unless inspect_config.independent_inputs is true.\nUp to 100 are allowed per request.",
+ "items": {
+ "$ref": "ContentItem"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "PropertyReference": {
+ "description": "A reference to a property relative to the Datastore kind expressions.",
+ "id": "PropertyReference",
+ "properties": {
+ "name": {
+ "description": "The name of the property.\nIf name includes \".\"s, it may be interpreted as a property name path.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Projection": {
+ "description": "A representation of a Datastore property in a projection.",
+ "id": "Projection",
+ "properties": {
+ "property": {
+ "$ref": "PropertyReference",
+ "description": "The property to project."
+ }
+ },
+ "type": "object"
+ },
+ "InfoTypeDescription": {
+ "description": "Info type description.",
+ "id": "InfoTypeDescription",
+ "properties": {
+ "displayName": {
+ "description": "Human readable form of the info type name.",
+ "type": "string"
+ },
+ "categories": {
+ "description": "List of categories this info type belongs to.",
+ "items": {
+ "$ref": "CategoryDescription"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "Internal name of the info type.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ImageLocation": {
+ "description": "Bounding box encompassing detected text within an image.",
+ "id": "ImageLocation",
+ "properties": {
+ "height": {
+ "description": "Height of the bounding box in pixels.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "top": {
+ "description": "Top coordinate of the bounding box. (0,0) is upper left.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "left": {
+ "description": "Left coordinate of the bounding box. (0,0) is upper left.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "width": {
+ "description": "Width of the bounding box in pixels.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "CloudStorageKey": {
+ "description": "Record key for a finding in a Cloud Storage file.",
+ "id": "CloudStorageKey",
+ "properties": {
+ "startOffset": {
+ "description": "Byte offset of the referenced data in the file.",
+ "format": "int64",
+ "type": "string"
+ },
+ "filePath": {
+ "description": "Path to the file.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DatastoreOptions": {
+ "description": "Options defining a data set within Google Cloud Datastore.",
+ "id": "DatastoreOptions",
+ "properties": {
+ "partitionId": {
+ "$ref": "PartitionId",
+ "description": "A partition ID identifies a grouping of entities. The grouping is always\nby project and namespace, however the namespace ID may be empty."
+ },
+ "kind": {
+ "$ref": "KindExpression",
+ "description": "The kind to process."
+ },
+ "projection": {
+ "description": "Properties to scan. If none are specified, all properties will be scanned\nby default.",
+ "items": {
+ "$ref": "Projection"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
+ "ListRootCategoriesResponse": {
+ "description": "Response for ListRootCategories request.",
+ "id": "ListRootCategoriesResponse",
+ "properties": {
+ "categories": {
+ "description": "List of all into type categories supported by the API.",
+ "items": {
+ "$ref": "CategoryDescription"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "DatastoreKey": {
+ "description": "Record key for a finding in Cloud Datastore.",
+ "id": "DatastoreKey",
+ "properties": {
+ "entityKey": {
+ "$ref": "Key",
+ "description": "Datastore entity key."
+ }
+ },
+ "type": "object"
+ },
+ "Location": {
+ "description": "Specifies the location of a finding within its source item.",
+ "id": "Location",
+ "properties": {
+ "recordKey": {
+ "$ref": "RecordKey",
+ "description": "Key of the finding."
+ },
+ "codepointRange": {
+ "$ref": "Range",
+ "description": "Character offsets within a content item, included when content type\nis a text. Default charset assumed to be UTF-8."
+ },
+ "fieldId": {
+ "$ref": "FieldId",
+ "description": "Field id of the field containing the finding."
+ },
+ "imageBoxes": {
+ "description": "Location within an image's pixels.",
+ "items": {
+ "$ref": "ImageLocation"
+ },
+ "type": "array"
+ },
+ "byteRange": {
+ "$ref": "Range",
+ "description": "Zero-based byte offsets within a content item."
+ }
+ },
+ "type": "object"
+ },
+ "ListInspectFindingsResponse": {
+ "description": "Response to the ListInspectFindings request.",
+ "id": "ListInspectFindingsResponse",
+ "properties": {
+ "result": {
+ "$ref": "InspectResult",
+ "description": "The results."
+ },
+ "nextPageToken": {
+ "description": "If not empty, indicates that there may be more results that match the\nrequest; this value should be passed in a new `ListInspectFindingsRequest`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RecordKey": {
+ "description": "Message for a unique key indicating a record that contains a finding.",
+ "id": "RecordKey",
+ "properties": {
+ "datastoreKey": {
+ "$ref": "DatastoreKey"
+ },
+ "cloudStorageKey": {
+ "$ref": "CloudStorageKey"
+ }
+ },
+ "type": "object"
+ },
+ "ContentItem": {
+ "description": "Container structure for the content to inspect.",
+ "id": "ContentItem",
+ "properties": {
+ "type": {
+ "description": "Type of the content, as defined in Content-Type HTTP header.\nSupported types are: all \"text\" types, octet streams, PNG images,\nJPEG images.",
+ "type": "string"
+ },
+ "value": {
+ "description": "String data to inspect or redact.",
+ "type": "string"
+ },
+ "data": {
+ "description": "Content data to inspect or redact.",
+ "format": "byte",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "InspectContentResponse": {
+ "description": "Results of inspecting a list of items.",
+ "id": "InspectContentResponse",
+ "properties": {
+ "results": {
+ "description": "Each content_item from the request will have a result in this list, in the\nsame order as the request.",
+ "items": {
+ "$ref": "InspectResult"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "CreateInspectOperationRequest": {
+ "description": "Request for scheduling a scan of a data subset from a Google Platform data\nrepository.",
+ "id": "CreateInspectOperationRequest",
+ "properties": {
+ "inspectConfig": {
+ "$ref": "InspectConfig",
+ "description": "Configuration for the inspector."
+ },
+ "storageConfig": {
+ "$ref": "StorageConfig",
+ "description": "Specification of the data set to process."
+ }
+ },
+ "type": "object"
+ },
+ "Finding": {
+ "description": "Container structure describing a single finding within a string or image.",
+ "id": "Finding",
+ "properties": {
+ "infoType": {
+ "$ref": "InfoType",
+ "description": "The specific type of info the string might be."
+ },
+ "createTime": {
+ "description": "Timestamp when finding was detected.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "quote": {
+ "description": "The specific string that may be potentially sensitive info.",
+ "type": "string"
+ },
+ "location": {
+ "$ref": "Location",
+ "description": "Location of the info found."
+ },
+ "likelihood": {
+ "description": "Estimate of how likely it is that the info_type is correct.",
+ "enum": [
+ "LIKELIHOOD_UNSPECIFIED",
+ "VERY_UNLIKELY",
+ "UNLIKELY",
+ "POSSIBLE",
+ "LIKELY",
+ "VERY_LIKELY"
+ ],
+ "enumDescriptions": [
+ "Default value; information with all likelihoods will be included.",
+ "Few matching elements.",
+ "",
+ "Some matching elements.",
+ "",
+ "Many matching elements."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "InspectConfig": {
+ "description": "Configuration description of the scanning process.\nWhen used with redactContent only info_types and min_likelihood are currently\nused.",
+ "id": "InspectConfig",
+ "properties": {
+ "infoTypes": {
+ "description": "Restrict what info_types to look for. The values must correspond to\nInfoType values returned by ListInfoTypes or found in documentation.\nEmpty info_types runs all enabled detectors.",
+ "items": {
+ "$ref": "InfoType"
+ },
+ "type": "array"
+ },
+ "excludeTypes": {
+ "description": "When true, exclude type information of the findings.",
+ "type": "boolean"
+ },
+ "includeQuote": {
+ "description": "When true, a contextual quote from the data that triggered a finding will\nbe included in the response; see Finding.quote.",
+ "type": "boolean"
+ },
+ "minLikelihood": {
+ "description": "Only return findings equal or above this threshold.",
+ "enum": [
+ "LIKELIHOOD_UNSPECIFIED",
+ "VERY_UNLIKELY",
+ "UNLIKELY",
+ "POSSIBLE",
+ "LIKELY",
+ "VERY_LIKELY"
+ ],
+ "enumDescriptions": [
+ "Default value; information with all likelihoods will be included.",
+ "Few matching elements.",
+ "",
+ "Some matching elements.",
+ "",
+ "Many matching elements."
+ ],
+ "type": "string"
+ },
+ "maxFindings": {
+ "description": "Limit the number of findings per content item.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "InfoType": {
+ "description": "Type of information detected by the API.",
+ "id": "InfoType",
+ "properties": {
+ "name": {
+ "description": "Name of the information type, provided by the API call ListInfoTypes.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ReplaceConfig": {
+ "id": "ReplaceConfig",
+ "properties": {
+ "infoType": {
+ "$ref": "InfoType",
+ "description": "Type of information to replace. Only one ReplaceConfig per info_type\nshould be provided. If ReplaceConfig does not have an info_type, we'll\nmatch it against all info_types that are found but not specified in\nanother ReplaceConfig."
+ },
+ "replaceWith": {
+ "description": "Content replacing sensitive information of given type. Max 256 chars.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FileSet": {
+ "description": "Set of files to scan.",
+ "id": "FileSet",
+ "properties": {
+ "url": {
+ "description": "The url, in the format gs://<bucket>/<path>. Trailing wildcard in the\npath is allowed.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "StorageConfig": {
+ "description": "Shared message indicating Cloud storage type.",
+ "id": "StorageConfig",
+ "properties": {
+ "cloudStorageOptions": {
+ "$ref": "CloudStorageOptions",
+ "description": "Google Cloud Storage options specification."
+ },
+ "datastoreOptions": {
+ "$ref": "DatastoreOptions",
+ "description": "Google Cloud Datastore options specification."
+ }
+ },
+ "type": "object"
+ },
+ "RedactContentRequest": {
+ "description": "Request to search for potentially sensitive info in a list of items\nand replace it with a default or provided content.",
+ "id": "RedactContentRequest",
+ "properties": {
+ "inspectConfig": {
+ "$ref": "InspectConfig",
+ "description": "Configuration for the inspector."
+ },
+ "items": {
+ "description": "The list of items to inspect. Up to 100 are allowed per request.",
+ "items": {
+ "$ref": "ContentItem"
+ },
+ "type": "array"
+ },
+ "replaceConfigs": {
+ "description": "The strings to replace findings with. Must specify at least one.",
+ "items": {
+ "$ref": "ReplaceConfig"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "PartitionId": {
+ "description": "Datastore partition ID.\nA partition ID identifies a grouping of entities. The grouping is always\nby project and namespace, however the namespace ID may be empty.\n\nA partition ID contains several dimensions:\nproject ID and namespace ID.",
+ "id": "PartitionId",
+ "properties": {
+ "databaseId": {
+ "description": "If not empty, the ID of the database to which the entities\nbelong.",
+ "type": "string"
+ },
+ "namespaceId": {
+ "description": "If not empty, the ID of the namespace to which the entities belong.",
+ "type": "string"
+ },
+ "projectId": {
+ "description": "The ID of the project to which the entities belong.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "",
+ "title": "DLP API",
+ "version": "v2beta1"
+}
\ No newline at end of file
diff --git a/discovery/googleapis_beta/language__v1beta1.json b/discovery/googleapis_beta/language__v1beta1.json
index e85f5f2..4621db3 100644
--- a/discovery/googleapis_beta/language__v1beta1.json
+++ b/discovery/googleapis_beta/language__v1beta1.json
@@ -25,34 +25,18 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
- "bearer_token": {
- "description": "OAuth bearer token.",
- "location": "query",
- "type": "string"
- },
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "callback": {
+ "description": "JSONP",
"location": "query",
"type": "string"
},
@@ -69,11 +53,6 @@
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -110,6 +89,27 @@
"description": "Pretty-print response.",
"location": "query",
"type": "boolean"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
}
},
"protocol": "rest",
@@ -117,7 +117,7 @@
"documents": {
"methods": {
"analyzeEntities": {
- "description": "Finds named entities (currently finds proper names) in the text,\nentity types, salience, mentions for each entity, and other properties.",
+ "description": "Finds named entities (currently proper names and common nouns) in the text\nalong with entity types, salience, mentions for each entity, and\nother properties.",
"httpMethod": "POST",
"id": "language.documents.analyzeEntities",
"parameterOrder": [],
@@ -187,220 +187,137 @@
}
}
},
- "revision": "20170301",
+ "revision": "20170320",
"rootUrl": "https://language.googleapis.com/",
"schemas": {
- "TextSpan": {
- "description": "Represents an output piece of text.",
- "id": "TextSpan",
- "properties": {
- "beginOffset": {
- "description": "The API calculates the beginning offset of the content in the original\ndocument according to the EncodingType specified in the API request.",
- "format": "int32",
- "type": "integer"
- },
- "content": {
- "description": "The content of the output text.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Token": {
- "description": "Represents the smallest syntactic building block of the text.",
- "id": "Token",
- "properties": {
- "partOfSpeech": {
- "$ref": "PartOfSpeech",
- "description": "Parts of speech tag for this token."
- },
- "text": {
- "$ref": "TextSpan",
- "description": "The token text."
- },
- "dependencyEdge": {
- "$ref": "DependencyEdge",
- "description": "Dependency tree parse for this token."
- },
- "lemma": {
- "description": "[Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Status": {
- "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
- "id": "Status",
- "properties": {
- "message": {
- "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
- "type": "string"
- },
- "details": {
- "description": "A list of messages that carry the error details. There will be a\ncommon 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"
- },
- "code": {
- "description": "The status code, which should be an enum value of google.rpc.Code.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "Features": {
- "description": "All available features for sentiment, syntax, and semantic analysis.\nSetting each one to true will enable that specific analysis for the input.",
- "id": "Features",
- "properties": {
- "extractSyntax": {
- "description": "Extract syntax information.",
- "type": "boolean"
- },
- "extractDocumentSentiment": {
- "description": "Extract document-level sentiment.",
- "type": "boolean"
- },
- "extractEntities": {
- "description": "Extract entities.",
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "EntityMention": {
- "description": "Represents a mention for an entity in the text. Currently, proper noun\nmentions are supported.",
- "id": "EntityMention",
- "properties": {
- "text": {
- "$ref": "TextSpan",
- "description": "The mention text."
- },
- "type": {
- "description": "The type of the entity mention.",
- "enum": [
- "TYPE_UNKNOWN",
- "PROPER",
- "COMMON"
- ],
- "enumDescriptions": [
- "Unknown",
- "Proper name",
- "Common noun (or noun compound)"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "Document": {
- "description": "################################################################ #\n\nRepresents the input to API methods.",
- "id": "Document",
- "properties": {
- "gcsContentUri": {
- "description": "The Google Cloud Storage URI where the file content is located.\nThis URI must be of the form: gs://bucket_name/object_name. For more\ndetails, see https://cloud.google.com/storage/docs/reference-uris.\nNOTE: Cloud Storage object versioning is not supported.",
- "type": "string"
- },
- "language": {
- "description": "The language of the document (if not specified, the language is\nautomatically detected). Both ISO and BCP-47 language codes are\naccepted.<br>\n**Current Language Restrictions:**\n\n * Only English, Spanish, and Japanese textual content are supported.\nIf the language (either specified by the caller or automatically detected)\nis not supported by the called API method, an `INVALID_ARGUMENT` error\nis returned.",
- "type": "string"
- },
- "type": {
- "description": "Required. If the type is not set or is `TYPE_UNSPECIFIED`,\nreturns an `INVALID_ARGUMENT` error.",
- "enum": [
- "TYPE_UNSPECIFIED",
- "PLAIN_TEXT",
- "HTML"
- ],
- "enumDescriptions": [
- "The content type is not specified.",
- "Plain text",
- "HTML"
- ],
- "type": "string"
- },
- "content": {
- "description": "The content of the input in string format.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Sentence": {
- "description": "Represents a sentence in the input document.",
- "id": "Sentence",
- "properties": {
- "sentiment": {
- "$ref": "Sentiment",
- "description": "For calls to AnalyzeSentiment or if\nAnnotateTextRequest.Features.extract_document_sentiment is set to\ntrue, this field will contain the sentiment for the sentence."
- },
- "text": {
- "$ref": "TextSpan",
- "description": "The sentence text."
- }
- },
- "type": "object"
- },
- "AnalyzeEntitiesRequest": {
- "description": "The entity analysis request message.",
- "id": "AnalyzeEntitiesRequest",
- "properties": {
- "encodingType": {
- "description": "The encoding type used by the API to calculate offsets.",
- "enum": [
- "NONE",
- "UTF8",
- "UTF16",
- "UTF32"
- ],
- "enumDescriptions": [
- "If `EncodingType` is not specified, encoding-dependent information (such as\n`begin_offset`) will be set at `-1`.",
- "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-8 encoding of the input. C++ and Go are examples of languages\nthat use this encoding natively.",
- "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-16 encoding of the input. Java and Javascript are examples of\nlanguages that use this encoding natively.",
- "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-32 encoding of the input. Python is an example of a language\nthat uses this encoding natively."
- ],
- "type": "string"
- },
- "document": {
- "$ref": "Document",
- "description": "Input document."
- }
- },
- "type": "object"
- },
- "Sentiment": {
- "description": "Represents the feeling associated with the entire text or entities in\nthe text.",
- "id": "Sentiment",
- "properties": {
- "magnitude": {
- "description": "A non-negative number in the [0, +inf) range, which represents\nthe absolute magnitude of sentiment regardless of score (positive or\nnegative).",
- "format": "float",
- "type": "number"
- },
- "polarity": {
- "description": "DEPRECATED FIELD - This field is being deprecated in\nfavor of score. Please refer to our documentation at\nhttps://cloud.google.com/natural-language/docs for more information.",
- "format": "float",
- "type": "number"
- },
- "score": {
- "description": "Sentiment score between -1.0 (negative sentiment) and 1.0\n(positive sentiment).",
- "format": "float",
- "type": "number"
- }
- },
- "type": "object"
- },
"PartOfSpeech": {
"description": "Represents part of speech information for a token.",
"id": "PartOfSpeech",
"properties": {
+ "voice": {
+ "description": "The grammatical voice.",
+ "enum": [
+ "VOICE_UNKNOWN",
+ "ACTIVE",
+ "CAUSATIVE",
+ "PASSIVE"
+ ],
+ "enumDescriptions": [
+ "Voice is not applicable in the analyzed language or is not predicted.",
+ "Active",
+ "Causative",
+ "Passive"
+ ],
+ "type": "string"
+ },
+ "aspect": {
+ "description": "The grammatical aspect.",
+ "enum": [
+ "ASPECT_UNKNOWN",
+ "PERFECTIVE",
+ "IMPERFECTIVE",
+ "PROGRESSIVE"
+ ],
+ "enumDescriptions": [
+ "Aspect is not applicable in the analyzed language or is not predicted.",
+ "Perfective",
+ "Imperfective",
+ "Progressive"
+ ],
+ "type": "string"
+ },
+ "mood": {
+ "description": "The grammatical mood.",
+ "enum": [
+ "MOOD_UNKNOWN",
+ "CONDITIONAL_MOOD",
+ "IMPERATIVE",
+ "INDICATIVE",
+ "INTERROGATIVE",
+ "JUSSIVE",
+ "SUBJUNCTIVE"
+ ],
+ "enumDescriptions": [
+ "Mood is not applicable in the analyzed language or is not predicted.",
+ "Conditional",
+ "Imperative",
+ "Indicative",
+ "Interrogative",
+ "Jussive",
+ "Subjunctive"
+ ],
+ "type": "string"
+ },
+ "tag": {
+ "description": "The part of speech tag.",
+ "enum": [
+ "UNKNOWN",
+ "ADJ",
+ "ADP",
+ "ADV",
+ "CONJ",
+ "DET",
+ "NOUN",
+ "NUM",
+ "PRON",
+ "PRT",
+ "PUNCT",
+ "VERB",
+ "X",
+ "AFFIX"
+ ],
+ "enumDescriptions": [
+ "Unknown",
+ "Adjective",
+ "Adposition (preposition and postposition)",
+ "Adverb",
+ "Conjunction",
+ "Determiner",
+ "Noun (common and proper)",
+ "Cardinal number",
+ "Pronoun",
+ "Particle or other function word",
+ "Punctuation",
+ "Verb (all tenses and modes)",
+ "Other: foreign words, typos, abbreviations",
+ "Affix"
+ ],
+ "type": "string"
+ },
+ "gender": {
+ "description": "The grammatical gender.",
+ "enum": [
+ "GENDER_UNKNOWN",
+ "FEMININE",
+ "MASCULINE",
+ "NEUTER"
+ ],
+ "enumDescriptions": [
+ "Gender is not applicable in the analyzed language or is not predicted.",
+ "Feminine",
+ "Masculine",
+ "Neuter"
+ ],
+ "type": "string"
+ },
+ "person": {
+ "description": "The grammatical person.",
+ "enum": [
+ "PERSON_UNKNOWN",
+ "FIRST",
+ "SECOND",
+ "THIRD",
+ "REFLEXIVE_PERSON"
+ ],
+ "enumDescriptions": [
+ "Person is not applicable in the analyzed language or is not predicted.",
+ "First",
+ "Second",
+ "Third",
+ "Reflexive"
+ ],
+ "type": "string"
+ },
"proper": {
"description": "The grammatical properness.",
"enum": [
@@ -536,130 +453,6 @@
"Dual"
],
"type": "string"
- },
- "voice": {
- "description": "The grammatical voice.",
- "enum": [
- "VOICE_UNKNOWN",
- "ACTIVE",
- "CAUSATIVE",
- "PASSIVE"
- ],
- "enumDescriptions": [
- "Voice is not applicable in the analyzed language or is not predicted.",
- "Active",
- "Causative",
- "Passive"
- ],
- "type": "string"
- },
- "aspect": {
- "description": "The grammatical aspect.",
- "enum": [
- "ASPECT_UNKNOWN",
- "PERFECTIVE",
- "IMPERFECTIVE",
- "PROGRESSIVE"
- ],
- "enumDescriptions": [
- "Aspect is not applicable in the analyzed language or is not predicted.",
- "Perfective",
- "Imperfective",
- "Progressive"
- ],
- "type": "string"
- },
- "mood": {
- "description": "The grammatical mood.",
- "enum": [
- "MOOD_UNKNOWN",
- "CONDITIONAL_MOOD",
- "IMPERATIVE",
- "INDICATIVE",
- "INTERROGATIVE",
- "JUSSIVE",
- "SUBJUNCTIVE"
- ],
- "enumDescriptions": [
- "Mood is not applicable in the analyzed language or is not predicted.",
- "Conditional",
- "Imperative",
- "Indicative",
- "Interrogative",
- "Jussive",
- "Subjunctive"
- ],
- "type": "string"
- },
- "tag": {
- "description": "The part of speech tag.",
- "enum": [
- "UNKNOWN",
- "ADJ",
- "ADP",
- "ADV",
- "CONJ",
- "DET",
- "NOUN",
- "NUM",
- "PRON",
- "PRT",
- "PUNCT",
- "VERB",
- "X",
- "AFFIX"
- ],
- "enumDescriptions": [
- "Unknown",
- "Adjective",
- "Adposition (preposition and postposition)",
- "Adverb",
- "Conjunction",
- "Determiner",
- "Noun (common and proper)",
- "Cardinal number",
- "Pronoun",
- "Particle or other function word",
- "Punctuation",
- "Verb (all tenses and modes)",
- "Other: foreign words, typos, abbreviations",
- "Affix"
- ],
- "type": "string"
- },
- "gender": {
- "description": "The grammatical gender.",
- "enum": [
- "GENDER_UNKNOWN",
- "FEMININE",
- "MASCULINE",
- "NEUTER"
- ],
- "enumDescriptions": [
- "Gender is not applicable in the analyzed language or is not predicted.",
- "Feminine",
- "Masculine",
- "Neuter"
- ],
- "type": "string"
- },
- "person": {
- "description": "The grammatical person.",
- "enum": [
- "PERSON_UNKNOWN",
- "FIRST",
- "SECOND",
- "THIRD",
- "REFLEXIVE_PERSON"
- ],
- "enumDescriptions": [
- "Person is not applicable in the analyzed language or is not predicted.",
- "First",
- "Second",
- "Third",
- "Reflexive"
- ],
- "type": "string"
}
},
"type": "object"
@@ -717,16 +510,41 @@
"description": "The entity analysis response message.",
"id": "AnalyzeEntitiesResponse",
"properties": {
+ "language": {
+ "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.\nSee Document.language field for more details.",
+ "type": "string"
+ },
"entities": {
"description": "The recognized entities in the input document.",
"items": {
"$ref": "Entity"
},
"type": "array"
- },
+ }
+ },
+ "type": "object"
+ },
+ "AnalyzeSyntaxResponse": {
+ "description": "The syntax analysis response message.",
+ "id": "AnalyzeSyntaxResponse",
+ "properties": {
"language": {
"description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.\nSee Document.language field for more details.",
"type": "string"
+ },
+ "sentences": {
+ "description": "Sentences in the input document.",
+ "items": {
+ "$ref": "Sentence"
+ },
+ "type": "array"
+ },
+ "tokens": {
+ "description": "Tokens, along with their syntactic information, in the input document.",
+ "items": {
+ "$ref": "Token"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -785,31 +603,6 @@
},
"type": "object"
},
- "AnalyzeSyntaxResponse": {
- "description": "The syntax analysis response message.",
- "id": "AnalyzeSyntaxResponse",
- "properties": {
- "language": {
- "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.\nSee Document.language field for more details.",
- "type": "string"
- },
- "sentences": {
- "description": "Sentences in the input document.",
- "items": {
- "$ref": "Sentence"
- },
- "type": "array"
- },
- "tokens": {
- "description": "Tokens, along with their syntactic information, in the input document.",
- "items": {
- "$ref": "Token"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"AnnotateTextRequest": {
"description": "The request message for the text annotation API, which can perform multiple\nanalysis types (sentiment, entities, and syntax) in one call.",
"id": "AnnotateTextRequest",
@@ -841,33 +634,6 @@
},
"type": "object"
},
- "AnalyzeSentimentRequest": {
- "description": "The sentiment analysis request message.",
- "id": "AnalyzeSentimentRequest",
- "properties": {
- "encodingType": {
- "description": "The encoding type used by the API to calculate sentence offsets for the\nsentence sentiment.",
- "enum": [
- "NONE",
- "UTF8",
- "UTF16",
- "UTF32"
- ],
- "enumDescriptions": [
- "If `EncodingType` is not specified, encoding-dependent information (such as\n`begin_offset`) will be set at `-1`.",
- "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-8 encoding of the input. C++ and Go are examples of languages\nthat use this encoding natively.",
- "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-16 encoding of the input. Java and Javascript are examples of\nlanguages that use this encoding natively.",
- "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-32 encoding of the input. Python is an example of a language\nthat uses this encoding natively."
- ],
- "type": "string"
- },
- "document": {
- "$ref": "Document",
- "description": "Input document. Currently, `analyzeSentiment` only supports English text\n(Document.language=\"EN\")."
- }
- },
- "type": "object"
- },
"AnnotateTextResponse": {
"description": "The text annotations response message.",
"id": "AnnotateTextResponse",
@@ -904,6 +670,33 @@
},
"type": "object"
},
+ "AnalyzeSentimentRequest": {
+ "description": "The sentiment analysis request message.",
+ "id": "AnalyzeSentimentRequest",
+ "properties": {
+ "encodingType": {
+ "description": "The encoding type used by the API to calculate sentence offsets for the\nsentence sentiment.",
+ "enum": [
+ "NONE",
+ "UTF8",
+ "UTF16",
+ "UTF32"
+ ],
+ "enumDescriptions": [
+ "If `EncodingType` is not specified, encoding-dependent information (such as\n`begin_offset`) will be set at `-1`.",
+ "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-8 encoding of the input. C++ and Go are examples of languages\nthat use this encoding natively.",
+ "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-16 encoding of the input. Java and Javascript are examples of\nlanguages that use this encoding natively.",
+ "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-32 encoding of the input. Python is an example of a language\nthat uses this encoding natively."
+ ],
+ "type": "string"
+ },
+ "document": {
+ "$ref": "Document",
+ "description": "Input document. Currently, `analyzeSentiment` only supports English text\n(Document.language=\"EN\")."
+ }
+ },
+ "type": "object"
+ },
"DependencyEdge": {
"description": "Represents dependency parse tree information for a token.",
"id": "DependencyEdge",
@@ -1077,6 +870,213 @@
}
},
"type": "object"
+ },
+ "Token": {
+ "description": "Represents the smallest syntactic building block of the text.",
+ "id": "Token",
+ "properties": {
+ "text": {
+ "$ref": "TextSpan",
+ "description": "The token text."
+ },
+ "dependencyEdge": {
+ "$ref": "DependencyEdge",
+ "description": "Dependency tree parse for this token."
+ },
+ "lemma": {
+ "description": "[Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.",
+ "type": "string"
+ },
+ "partOfSpeech": {
+ "$ref": "PartOfSpeech",
+ "description": "Parts of speech tag for this token."
+ }
+ },
+ "type": "object"
+ },
+ "TextSpan": {
+ "description": "Represents an output piece of text.",
+ "id": "TextSpan",
+ "properties": {
+ "content": {
+ "description": "The content of the output text.",
+ "type": "string"
+ },
+ "beginOffset": {
+ "description": "The API calculates the beginning offset of the content in the original\ndocument according to the EncodingType specified in the API request.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "Status": {
+ "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
+ "id": "Status",
+ "properties": {
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ },
+ "details": {
+ "description": "A list of messages that carry the error details. There will be a\ncommon 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"
+ },
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "Features": {
+ "description": "All available features for sentiment, syntax, and semantic analysis.\nSetting each one to true will enable that specific analysis for the input.",
+ "id": "Features",
+ "properties": {
+ "extractSyntax": {
+ "description": "Extract syntax information.",
+ "type": "boolean"
+ },
+ "extractDocumentSentiment": {
+ "description": "Extract document-level sentiment.",
+ "type": "boolean"
+ },
+ "extractEntities": {
+ "description": "Extract entities.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "EntityMention": {
+ "description": "Represents a mention for an entity in the text. Currently, proper noun\nmentions are supported.",
+ "id": "EntityMention",
+ "properties": {
+ "text": {
+ "$ref": "TextSpan",
+ "description": "The mention text."
+ },
+ "type": {
+ "description": "The type of the entity mention.",
+ "enum": [
+ "TYPE_UNKNOWN",
+ "PROPER",
+ "COMMON"
+ ],
+ "enumDescriptions": [
+ "Unknown",
+ "Proper name",
+ "Common noun (or noun compound)"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Document": {
+ "description": "################################################################ #\n\nRepresents the input to API methods.",
+ "id": "Document",
+ "properties": {
+ "language": {
+ "description": "The language of the document (if not specified, the language is\nautomatically detected). Both ISO and BCP-47 language codes are\naccepted.<br>\n**Current Language Restrictions:**\n\n * Only English, Spanish, and Japanese textual content are supported.\nIf the language (either specified by the caller or automatically detected)\nis not supported by the called API method, an `INVALID_ARGUMENT` error\nis returned.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Required. If the type is not set or is `TYPE_UNSPECIFIED`,\nreturns an `INVALID_ARGUMENT` error.",
+ "enum": [
+ "TYPE_UNSPECIFIED",
+ "PLAIN_TEXT",
+ "HTML"
+ ],
+ "enumDescriptions": [
+ "The content type is not specified.",
+ "Plain text",
+ "HTML"
+ ],
+ "type": "string"
+ },
+ "content": {
+ "description": "The content of the input in string format.",
+ "type": "string"
+ },
+ "gcsContentUri": {
+ "description": "The Google Cloud Storage URI where the file content is located.\nThis URI must be of the form: gs://bucket_name/object_name. For more\ndetails, see https://cloud.google.com/storage/docs/reference-uris.\nNOTE: Cloud Storage object versioning is not supported.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Sentence": {
+ "description": "Represents a sentence in the input document.",
+ "id": "Sentence",
+ "properties": {
+ "text": {
+ "$ref": "TextSpan",
+ "description": "The sentence text."
+ },
+ "sentiment": {
+ "$ref": "Sentiment",
+ "description": "For calls to AnalyzeSentiment or if\nAnnotateTextRequest.Features.extract_document_sentiment is set to\ntrue, this field will contain the sentiment for the sentence."
+ }
+ },
+ "type": "object"
+ },
+ "Sentiment": {
+ "description": "Represents the feeling associated with the entire text or entities in\nthe text.",
+ "id": "Sentiment",
+ "properties": {
+ "polarity": {
+ "description": "DEPRECATED FIELD - This field is being deprecated in\nfavor of score. Please refer to our documentation at\nhttps://cloud.google.com/natural-language/docs for more information.",
+ "format": "float",
+ "type": "number"
+ },
+ "score": {
+ "description": "Sentiment score between -1.0 (negative sentiment) and 1.0\n(positive sentiment).",
+ "format": "float",
+ "type": "number"
+ },
+ "magnitude": {
+ "description": "A non-negative number in the [0, +inf) range, which represents\nthe absolute magnitude of sentiment regardless of score (positive or\nnegative).",
+ "format": "float",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "AnalyzeEntitiesRequest": {
+ "description": "The entity analysis request message.",
+ "id": "AnalyzeEntitiesRequest",
+ "properties": {
+ "document": {
+ "$ref": "Document",
+ "description": "Input document."
+ },
+ "encodingType": {
+ "description": "The encoding type used by the API to calculate offsets.",
+ "enum": [
+ "NONE",
+ "UTF8",
+ "UTF16",
+ "UTF32"
+ ],
+ "enumDescriptions": [
+ "If `EncodingType` is not specified, encoding-dependent information (such as\n`begin_offset`) will be set at `-1`.",
+ "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-8 encoding of the input. C++ and Go are examples of languages\nthat use this encoding natively.",
+ "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-16 encoding of the input. Java and Javascript are examples of\nlanguages that use this encoding natively.",
+ "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-32 encoding of the input. Python is an example of a language\nthat uses this encoding natively."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis_beta/logging__v2beta1.json b/discovery/googleapis_beta/logging__v2beta1.json
index 51ec6a2..1bc61f8 100644
--- a/discovery/googleapis_beta/logging__v2beta1.json
+++ b/discovery/googleapis_beta/logging__v2beta1.json
@@ -37,6 +37,16 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
+ "access_token": {
+ "description": "OAuth access token.",
+ "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"
+ },
"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",
@@ -69,13 +79,13 @@
"location": "query",
"type": "boolean"
},
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
@@ -112,16 +122,6 @@
],
"location": "query",
"type": "string"
- },
- "access_token": {
- "description": "OAuth access token.",
- "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"
}
},
"protocol": "rest",
@@ -130,31 +130,6 @@
"resources": {
"logs": {
"methods": {
- "delete": {
- "description": "Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted.",
- "httpMethod": "DELETE",
- "id": "logging.organizations.logs.delete",
- "parameterOrder": [
- "logName"
- ],
- "parameters": {
- "logName": {
- "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry.",
- "location": "path",
- "pattern": "^organizations/[^/]+/logs/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v2beta1/{+logName}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/logging.admin"
- ]
- },
"list": {
"description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.",
"httpMethod": "GET",
@@ -192,6 +167,31 @@
"https://www.googleapis.com/auth/logging.admin",
"https://www.googleapis.com/auth/logging.read"
]
+ },
+ "delete": {
+ "description": "Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted.",
+ "httpMethod": "DELETE",
+ "id": "logging.organizations.logs.delete",
+ "parameterOrder": [
+ "logName"
+ ],
+ "parameters": {
+ "logName": {
+ "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/logs/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/{+logName}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ]
}
}
}
@@ -199,25 +199,6 @@
},
"entries": {
"methods": {
- "write": {
- "description": "Writes log entries to Stackdriver Logging. All log entries are written by this method.",
- "httpMethod": "POST",
- "id": "logging.entries.write",
- "parameterOrder": [],
- "parameters": {},
- "path": "v2beta1/entries:write",
- "request": {
- "$ref": "WriteLogEntriesRequest"
- },
- "response": {
- "$ref": "WriteLogEntriesResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/logging.admin",
- "https://www.googleapis.com/auth/logging.write"
- ]
- },
"list": {
"description": "Lists log entries. Use this method to retrieve log entries from Stackdriver Logging. For ways to export log entries, see Exporting Logs.",
"httpMethod": "POST",
@@ -237,6 +218,25 @@
"https://www.googleapis.com/auth/logging.admin",
"https://www.googleapis.com/auth/logging.read"
]
+ },
+ "write": {
+ "description": "Writes log entries to Stackdriver Logging.",
+ "httpMethod": "POST",
+ "id": "logging.entries.write",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v2beta1/entries:write",
+ "request": {
+ "$ref": "WriteLogEntriesRequest"
+ },
+ "response": {
+ "$ref": "WriteLogEntriesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.write"
+ ]
}
}
},
@@ -244,6 +244,32 @@
"resources": {
"metrics": {
"methods": {
+ "delete": {
+ "description": "Deletes a logs-based metric.",
+ "httpMethod": "DELETE",
+ "id": "logging.projects.metrics.delete",
+ "parameterOrder": [
+ "metricName"
+ ],
+ "parameters": {
+ "metricName": {
+ "description": "The resource name of the metric to delete:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n",
+ "location": "path",
+ "pattern": "^projects/[^/]+/metrics/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/{+metricName}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.write"
+ ]
+ },
"list": {
"description": "Lists logs-based metrics.",
"httpMethod": "GET",
@@ -252,11 +278,6 @@
"parent"
],
"parameters": {
- "pageToken": {
- "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
- "location": "query",
- "type": "string"
- },
"pageSize": {
"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
"format": "int32",
@@ -269,6 +290,11 @@
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
+ },
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query",
+ "type": "string"
}
},
"path": "v2beta1/{+parent}/metrics",
@@ -366,75 +392,11 @@
"https://www.googleapis.com/auth/logging.admin",
"https://www.googleapis.com/auth/logging.write"
]
- },
- "delete": {
- "description": "Deletes a logs-based metric.",
- "httpMethod": "DELETE",
- "id": "logging.projects.metrics.delete",
- "parameterOrder": [
- "metricName"
- ],
- "parameters": {
- "metricName": {
- "description": "The resource name of the metric to delete:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n",
- "location": "path",
- "pattern": "^projects/[^/]+/metrics/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v2beta1/{+metricName}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/logging.admin",
- "https://www.googleapis.com/auth/logging.write"
- ]
}
}
},
"logs": {
"methods": {
- "list": {
- "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.",
- "httpMethod": "GET",
- "id": "logging.projects.logs.list",
- "parameterOrder": [
- "parent"
- ],
- "parameters": {
- "parent": {
- "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n",
- "location": "path",
- "pattern": "^projects/[^/]+$",
- "required": true,
- "type": "string"
- },
- "pageToken": {
- "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- }
- },
- "path": "v2beta1/{+parent}/logs",
- "response": {
- "$ref": "ListLogsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only",
- "https://www.googleapis.com/auth/logging.admin",
- "https://www.googleapis.com/auth/logging.read"
- ]
- },
"delete": {
"description": "Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted.",
"httpMethod": "DELETE",
@@ -459,6 +421,44 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/logging.admin"
]
+ },
+ "list": {
+ "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.",
+ "httpMethod": "GET",
+ "id": "logging.projects.logs.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "parent": {
+ "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta1/{+parent}/logs",
+ "response": {
+ "$ref": "ListLogsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ]
}
}
},
@@ -472,13 +472,6 @@
"parent"
],
"parameters": {
- "parent": {
- "description": "Required. The parent resource whose sinks are to be listed:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n",
- "location": "path",
- "pattern": "^projects/[^/]+$",
- "required": true,
- "type": "string"
- },
"pageToken": {
"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
"location": "query",
@@ -489,6 +482,13 @@
"format": "int32",
"location": "query",
"type": "integer"
+ },
+ "parent": {
+ "description": "Required. The parent resource whose sinks are to be listed:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
}
},
"path": "v2beta1/{+parent}/sinks",
@@ -570,17 +570,17 @@
"parent"
],
"parameters": {
+ "uniqueWriterIdentity": {
+ "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Stackdriver Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.",
+ "location": "query",
+ "type": "boolean"
+ },
"parent": {
"description": "Required. The resource in which to create the sink:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\nExamples: \"projects/my-logging-project\", \"organizations/123456789\".",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
- },
- "uniqueWriterIdentity": {
- "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Stackdriver Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.",
- "location": "query",
- "type": "boolean"
}
},
"path": "v2beta1/{+parent}/sinks",
@@ -729,107 +729,9 @@
}
}
},
- "revision": "20170228",
+ "revision": "20170320",
"rootUrl": "https://logging.googleapis.com/",
"schemas": {
- "MonitoredResource": {
- "description": "An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for \"gce_instance\" has labels \"instance_id\" and \"zone\":\n{ \"type\": \"gce_instance\",\n \"labels\": { \"instance_id\": \"12345678901234\",\n \"zone\": \"us-central1-a\" }}\n",
- "id": "MonitoredResource",
- "properties": {
- "labels": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Cloud SQL databases use the labels \"database_id\" and \"zone\".",
- "type": "object"
- },
- "type": {
- "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL database is \"cloudsql_database\".",
- "type": "string"
- }
- },
- "type": "object"
- },
- "LogSink": {
- "description": "Describes a sink used to export log entries to one of the following destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a Cloud Pub/Sub topic. A logs filter controls which log entries are exported. The sink must be created within a project, organization, billing account, or folder.",
- "id": "LogSink",
- "properties": {
- "filter": {
- "description": "Optional. An advanced logs filter. The only exported log entries are those that are in the resource owning the sink and that match the filter. The filter must use the log entry format specified by the output_version_format parameter. For example, in the v2 format:\nlogName=\"projects/[PROJECT_ID]/logs/[LOG_ID]\" AND severity>=ERROR\n",
- "type": "string"
- },
- "destination": {
- "description": "Required. The export destination:\n\"storage.googleapis.com/[GCS_BUCKET]\"\n\"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]\"\n\"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]\"\nThe sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs With Sinks.",
- "type": "string"
- },
- "endTime": {
- "description": "Optional. The time at which this sink will stop exporting log entries. Log entries are exported only if their timestamp is earlier than the end time. If this field is not supplied, there is no end time. If both a start time and an end time are provided, then the end time must be later than the start time.",
- "format": "google-datetime",
- "type": "string"
- },
- "writerIdentity": {
- "description": "Output only. An IAM identity—a service account or group—under which Stackdriver Logging writes the exported log entries to the sink's destination. This field is set by sinks.create and sinks.update, based on the setting of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting access for a resource. Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.",
- "type": "string"
- },
- "startTime": {
- "description": "Optional. The time at which this sink will begin exporting log entries. Log entries are exported only if their timestamp is not earlier than the start time. The default value of this field is the time the sink is created or updated.",
- "format": "google-datetime",
- "type": "string"
- },
- "outputVersionFormat": {
- "description": "Optional. The log entry format to use for this sink's exported log entries. The v2 format is used by default. The v1 format is deprecated and should be used only as part of a migration effort to v2. See Migration to the v2 API.",
- "enum": [
- "VERSION_FORMAT_UNSPECIFIED",
- "V2",
- "V1"
- ],
- "enumDescriptions": [
- "An unspecified format version that will default to V2.",
- "LogEntry version 2 format.",
- "LogEntry version 1 format."
- ],
- "type": "string"
- },
- "name": {
- "description": "Required. The client-assigned sink identifier, unique within the project. Example: \"my-syslog-errors-to-pubsub\". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "WriteLogEntriesRequest": {
- "description": "The parameters to WriteLogEntries.",
- "id": "WriteLogEntriesRequest",
- "properties": {
- "logName": {
- "description": "Optional. A default log resource name that is assigned to all log entries in entries that do not specify a value for log_name:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\" or \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry.",
- "type": "string"
- },
- "entries": {
- "description": "Required. The log entries to write. Values supplied for the fields log_name, resource, and labels in this entries.write request are added to those log entries that do not provide their own values for the fields.To improve throughput and to avoid exceeding the quota limit for calls to entries.write, you should write multiple log entries at once rather than calling this method for each individual log entry.",
- "items": {
- "$ref": "LogEntry"
- },
- "type": "array"
- },
- "partialSuccess": {
- "description": "Optional. Whether valid entries should be written even if some other entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not written, the response status will be the error associated with one of the failed entries and include error details in the form of WriteLogEntriesPartialErrors.",
- "type": "boolean"
- },
- "labels": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Optional. Default labels that are added to the labels field of all log entries in entries. If a log entry already has a label with the same key as a label in this parameter, then the log entry's label is not changed. See LogEntry.",
- "type": "object"
- },
- "resource": {
- "$ref": "MonitoredResource",
- "description": "Optional. A default monitored resource object that is assigned to all log entries in entries that do not specify a value for resource. Example:\n{ \"type\": \"gce_instance\",\n \"labels\": {\n \"zone\": \"us-central1-a\", \"instance_id\": \"00000000000000000000\" }}\nSee LogEntry."
- }
- },
- "type": "object"
- },
"ListLogsResponse": {
"description": "Result returned from ListLogs.",
"id": "ListLogsResponse",
@@ -870,34 +772,6 @@
"description": "A common proto for logging HTTP requests. Only contains semantics defined by the HTTP specification. Product-specific logging information MUST be defined in a separate message.",
"id": "HttpRequest",
"properties": {
- "userAgent": {
- "description": "The user agent sent by the client. Example: \"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\".",
- "type": "string"
- },
- "latency": {
- "description": "The request processing latency on the server, from the time the request was received until the response was sent.",
- "format": "google-duration",
- "type": "string"
- },
- "cacheFillBytes": {
- "description": "The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted.",
- "format": "int64",
- "type": "string"
- },
- "requestMethod": {
- "description": "The request method. Examples: \"GET\", \"HEAD\", \"PUT\", \"POST\".",
- "type": "string"
- },
- "responseSize": {
- "description": "The size of the HTTP response message sent back to the client, in bytes, including the response headers and the response body.",
- "format": "int64",
- "type": "string"
- },
- "requestSize": {
- "description": "The size of the HTTP request message in bytes, including the request headers and the request body.",
- "format": "int64",
- "type": "string"
- },
"requestUrl": {
"description": "The scheme (http, https), the host name, the path and the query portion of the URL that was requested. Example: \"http://example.com/some/info?color=red\".",
"type": "string"
@@ -930,6 +804,34 @@
"referer": {
"description": "The referer URL of the request, as defined in HTTP/1.1 Header Field Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).",
"type": "string"
+ },
+ "latency": {
+ "description": "The request processing latency on the server, from the time the request was received until the response was sent.",
+ "format": "google-duration",
+ "type": "string"
+ },
+ "userAgent": {
+ "description": "The user agent sent by the client. Example: \"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\".",
+ "type": "string"
+ },
+ "cacheFillBytes": {
+ "description": "The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted.",
+ "format": "int64",
+ "type": "string"
+ },
+ "requestMethod": {
+ "description": "The request method. Examples: \"GET\", \"HEAD\", \"PUT\", \"POST\".",
+ "type": "string"
+ },
+ "responseSize": {
+ "description": "The size of the HTTP response message sent back to the client, in bytes, including the response headers and the response body.",
+ "format": "int64",
+ "type": "string"
+ },
+ "requestSize": {
+ "description": "The size of the HTTP request message in bytes, including the request headers and the request body.",
+ "format": "int64",
+ "type": "string"
}
},
"type": "object"
@@ -967,6 +869,13 @@
"description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of \"gce_instance\" and specifies the use of the labels \"instance_id\" and \"zone\" to identify particular VM instances.Different APIs can support different monitored resource types. APIs generally provide a list method that returns the monitored resource descriptors used by the API.",
"id": "MonitoredResourceDescriptor",
"properties": {
+ "labels": {
+ "description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels \"database_id\" and \"zone\".",
+ "items": {
+ "$ref": "LabelDescriptor"
+ },
+ "type": "array"
+ },
"name": {
"description": "Optional. The resource name of the monitored resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type}\" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format \"monitoredResourceDescriptors/{type}\".",
"type": "string"
@@ -982,13 +891,6 @@
"type": {
"description": "Required. The monitored resource type. For example, the type \"cloudsql_database\" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.",
"type": "string"
- },
- "labels": {
- "description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels \"database_id\" and \"zone\".",
- "items": {
- "$ref": "LabelDescriptor"
- },
- "type": "array"
}
},
"type": "object"
@@ -997,11 +899,6 @@
"description": "Additional information about the source code location that produced the log entry.",
"id": "LogEntrySourceLocation",
"properties": {
- "line": {
- "description": "Optional. Line within the source file. 1-based; 0 indicates no line number available.",
- "format": "int64",
- "type": "string"
- },
"file": {
"description": "Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.",
"type": "string"
@@ -1009,6 +906,11 @@
"function": {
"description": "Optional. Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information may be used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python).",
"type": "string"
+ },
+ "line": {
+ "description": "Optional. Line within the source file. 1-based; 0 indicates no line number available.",
+ "format": "int64",
+ "type": "string"
}
},
"type": "object"
@@ -1017,16 +919,16 @@
"description": "Result returned from ListLogEntries.",
"id": "ListLogEntriesResponse",
"properties": {
+ "nextPageToken": {
+ "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.If a value for next_page_token appears and the entries field is empty, it means that the search found no log entries so far but it did not have time to search all the possible log entries. Retry the method with this value for page_token to continue the search. Alternatively, consider speeding up the search by changing your filter to specify a single log name or resource type, or to narrow the time range of the search.",
+ "type": "string"
+ },
"entries": {
"description": "A list of log entries.",
"items": {
"$ref": "LogEntry"
},
"type": "array"
- },
- "nextPageToken": {
- "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.If a value for next_page_token appears and the entries field is empty, it means that the search found no log entries so far but it did not have time to search all the possible log entries. Retry the method with this value for page_token to continue the search. Alternatively, consider speeding up the search by changing your filter to specify a single log name or resource type, or to narrow the time range of the search.",
- "type": "string"
}
},
"type": "object"
@@ -1099,22 +1001,6 @@
"description": "An individual entry in a log.",
"id": "LogEntry",
"properties": {
- "textPayload": {
- "description": "The log entry payload, represented as a Unicode string (UTF-8).",
- "type": "string"
- },
- "protoPayload": {
- "additionalProperties": {
- "description": "Properties of the object. Contains field @type with type URL.",
- "type": "any"
- },
- "description": "The log entry payload, represented as a protocol buffer. Some Google Cloud Platform services use this field for their log entry payloads.",
- "type": "object"
- },
- "trace": {
- "description": "Optional. Resource name of the trace associated with the log entry, if any. If it contains a relative resource name, the name is assumed to be relative to //tracing.googleapis.com. Example: projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824",
- "type": "string"
- },
"labels": {
"additionalProperties": {
"type": "string"
@@ -1122,6 +1008,10 @@
"description": "Optional. A set of user-defined (key, value) data that provides additional information about the log entry.",
"type": "object"
},
+ "trace": {
+ "description": "Optional. Resource name of the trace associated with the log entry, if any. If it contains a relative resource name, the name is assumed to be relative to //tracing.googleapis.com. Example: projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824",
+ "type": "string"
+ },
"severity": {
"description": "Optional. The severity of the log entry. The default value is LogSeverity.DEFAULT.",
"enum": [
@@ -1153,7 +1043,7 @@
"description": "Optional. Source code location information associated with the log entry, if any."
},
"timestamp": {
- "description": "Optional. The time the event described by the log entry occurred. If omitted, Stackdriver Logging will use the time the log entry is received.",
+ "description": "Optional. The time the event described by the log entry occurred. If omitted in a new log entry, Stackdriver Logging will insert the time the log entry is received. Stackdriver Logging might reject log entries whose time stamps are more than a couple of hours in the future. Log entries with time stamps in the past are accepted.",
"format": "google-datetime",
"type": "string"
},
@@ -1161,14 +1051,14 @@
"description": "Required. The resource name of the log to which this log entry belongs:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded within log_name. Example: \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". [LOG_ID] must be less than 512 characters long and can only include the following characters: upper and lower case alphanumeric characters, forward-slash, underscore, hyphen, and period.For backward compatibility, if log_name begins with a forward-slash, such as /projects/..., then the log entry is ingested as usual but the forward-slash is removed. Listing the log entry will not show the leading slash and filtering for a log name with a leading slash will never return any results.",
"type": "string"
},
- "httpRequest": {
- "$ref": "HttpRequest",
- "description": "Optional. Information about the HTTP request associated with this log entry, if applicable."
- },
"resource": {
"$ref": "MonitoredResource",
"description": "Required. The monitored resource associated with this log entry. Example: a log entry that reports a database error would be associated with the monitored resource designating the particular database that reported the error."
},
+ "httpRequest": {
+ "$ref": "HttpRequest",
+ "description": "Optional. Information about the HTTP request associated with this log entry, if applicable."
+ },
"jsonPayload": {
"additionalProperties": {
"description": "Properties of the object.",
@@ -1177,13 +1067,25 @@
"description": "The log entry payload, represented as a structure that is expressed as a JSON object.",
"type": "object"
},
+ "insertId": {
+ "description": "Optional. A unique identifier for the log entry. If you provide a value, then Stackdriver Logging considers other log entries in the same project, with the same timestamp, and with the same insert_id to be duplicates which can be removed. If omitted in new log entries, then Stackdriver Logging will insert its own unique identifier. The insert_id is used to order log entries that have the same timestamp value.",
+ "type": "string"
+ },
"operation": {
"$ref": "LogEntryOperation",
"description": "Optional. Information about an operation associated with the log entry, if applicable."
},
- "insertId": {
- "description": "Optional. A unique ID for the log entry. If you provide this field, the logging service considers other log entries in the same project with the same ID as duplicates which can be removed. If omitted, Stackdriver Logging will generate a unique ID for this log entry.",
+ "textPayload": {
+ "description": "The log entry payload, represented as a Unicode string (UTF-8).",
"type": "string"
+ },
+ "protoPayload": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The log entry payload, represented as a protocol buffer. Some Google Cloud Platform services use this field for their log entry payloads.",
+ "type": "object"
}
},
"type": "object"
@@ -1218,8 +1120,13 @@
"description": "The parameters to ListLogEntries.",
"id": "ListLogEntriesRequest",
"properties": {
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of next_page_token in the response indicates that more results might be available.",
+ "format": "int32",
+ "type": "integer"
+ },
"orderBy": {
- "description": "Optional. How the results should be sorted. Presently, the only permitted values are \"timestamp asc\" (default) and \"timestamp desc\". The first option returns entries in order of increasing values of LogEntry.timestamp (oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are returned in order of LogEntry.insertId.",
+ "description": "Optional. How the results should be sorted. Presently, the only permitted values are \"timestamp asc\" (default) and \"timestamp desc\". The first option returns entries in order of increasing values of LogEntry.timestamp (oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are returned in order of their insert_id values.",
"type": "string"
},
"resourceNames": {
@@ -1229,10 +1136,6 @@
},
"type": "array"
},
- "filter": {
- "description": "Optional. A filter that chooses which log entries to return. See Advanced Logs Filters. Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of the filter is 20000 characters.",
- "type": "string"
- },
"projectIds": {
"description": "Deprecated. Use resource_names instead. One or more project identifiers or project numbers from which to retrieve log entries. Example: \"my-project-1A\". If present, these project identifiers are converted to resource name format and added to the list of resources in resource_names.",
"items": {
@@ -1240,14 +1143,13 @@
},
"type": "array"
},
- "pageToken": {
- "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "filter": {
+ "description": "Optional. A filter that chooses which log entries to return. See Advanced Logs Filters. Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of the filter is 20000 characters.",
"type": "string"
},
- "pageSize": {
- "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
- "format": "int32",
- "type": "integer"
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. page_token must be the value of next_page_token from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "type": "string"
}
},
"type": "object"
@@ -1256,73 +1158,6 @@
"description": "Complete log information about a single HTTP request to an App Engine application.",
"id": "RequestLog",
"properties": {
- "line": {
- "description": "A list of log lines emitted by the application while serving this request.",
- "items": {
- "$ref": "LogLine"
- },
- "type": "array"
- },
- "taskQueueName": {
- "description": "Queue name of the request, in the case of an offline request.",
- "type": "string"
- },
- "referrer": {
- "description": "Referrer URL of request.",
- "type": "string"
- },
- "requestId": {
- "description": "Globally unique identifier for a request, which is based on the request start time. Request IDs for requests which started later will compare greater as strings than those for requests which started earlier.",
- "type": "string"
- },
- "nickname": {
- "description": "The logged-in user who made the request.Most likely, this is the part of the user's email before the @ sign. The field value is the same for different requests from the same user, but different users can have similar names. This information is also available to the application via the App Engine Users API.This field will be populated starting with App Engine 1.9.21.",
- "type": "string"
- },
- "status": {
- "description": "HTTP response status code. Example: 200, 404.",
- "format": "int32",
- "type": "integer"
- },
- "pendingTime": {
- "description": "Time this request spent in the pending request queue.",
- "format": "google-duration",
- "type": "string"
- },
- "resource": {
- "description": "Contains the path and query portion of the URL that was requested. For example, if the URL was \"http://example.com/app?name=val\", the resource would be \"/app?name=val\". The fragment identifier, which is identified by the # character, is not included.",
- "type": "string"
- },
- "taskName": {
- "description": "Task name of the request, in the case of an offline request.",
- "type": "string"
- },
- "urlMapEntry": {
- "description": "File or class that handled the request.",
- "type": "string"
- },
- "instanceIndex": {
- "description": "If the instance processing this request belongs to a manually scaled module, then this is the 0-based index of the instance. Otherwise, this value is -1.",
- "format": "int32",
- "type": "integer"
- },
- "finished": {
- "description": "Whether this request is finished or active.",
- "type": "boolean"
- },
- "host": {
- "description": "Internet host and port number of the resource being requested.",
- "type": "string"
- },
- "httpVersion": {
- "description": "HTTP version of request. Example: \"HTTP/1.1\".",
- "type": "string"
- },
- "startTime": {
- "description": "Time when the request started.",
- "format": "google-datetime",
- "type": "string"
- },
"latency": {
"description": "Latency of the request.",
"format": "google-duration",
@@ -1398,6 +1233,73 @@
"traceId": {
"description": "Stackdriver Trace identifier for this request.",
"type": "string"
+ },
+ "line": {
+ "description": "A list of log lines emitted by the application while serving this request.",
+ "items": {
+ "$ref": "LogLine"
+ },
+ "type": "array"
+ },
+ "referrer": {
+ "description": "Referrer URL of request.",
+ "type": "string"
+ },
+ "taskQueueName": {
+ "description": "Queue name of the request, in the case of an offline request.",
+ "type": "string"
+ },
+ "requestId": {
+ "description": "Globally unique identifier for a request, which is based on the request start time. Request IDs for requests which started later will compare greater as strings than those for requests which started earlier.",
+ "type": "string"
+ },
+ "nickname": {
+ "description": "The logged-in user who made the request.Most likely, this is the part of the user's email before the @ sign. The field value is the same for different requests from the same user, but different users can have similar names. This information is also available to the application via the App Engine Users API.This field will be populated starting with App Engine 1.9.21.",
+ "type": "string"
+ },
+ "pendingTime": {
+ "description": "Time this request spent in the pending request queue.",
+ "format": "google-duration",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Contains the path and query portion of the URL that was requested. For example, if the URL was \"http://example.com/app?name=val\", the resource would be \"/app?name=val\". The fragment identifier, which is identified by the # character, is not included.",
+ "type": "string"
+ },
+ "status": {
+ "description": "HTTP response status code. Example: 200, 404.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "taskName": {
+ "description": "Task name of the request, in the case of an offline request.",
+ "type": "string"
+ },
+ "urlMapEntry": {
+ "description": "File or class that handled the request.",
+ "type": "string"
+ },
+ "instanceIndex": {
+ "description": "If the instance processing this request belongs to a manually scaled module, then this is the 0-based index of the instance. Otherwise, this value is -1.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "finished": {
+ "description": "Whether this request is finished or active.",
+ "type": "boolean"
+ },
+ "host": {
+ "description": "Internet host and port number of the resource being requested.",
+ "type": "string"
+ },
+ "httpVersion": {
+ "description": "HTTP version of request. Example: \"HTTP/1.1\".",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "Time when the request started.",
+ "format": "google-datetime",
+ "type": "string"
}
},
"type": "object"
@@ -1406,16 +1308,16 @@
"description": "Result returned from ListMonitoredResourceDescriptors.",
"id": "ListMonitoredResourceDescriptorsResponse",
"properties": {
- "nextPageToken": {
- "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.",
- "type": "string"
- },
"resourceDescriptors": {
"description": "A list of resource descriptors.",
"items": {
"$ref": "MonitoredResourceDescriptor"
},
"type": "array"
+ },
+ "nextPageToken": {
+ "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.",
+ "type": "string"
}
},
"type": "object"
@@ -1435,12 +1337,6 @@
},
"type": "object"
},
- "WriteLogEntriesResponse": {
- "description": "Result returned from WriteLogEntries. empty",
- "id": "WriteLogEntriesResponse",
- "properties": {},
- "type": "object"
- },
"LogMetric": {
"description": "Describes a logs-based metric. The value of the metric is the number of log entries that match a logs filter in a given time interval.",
"id": "LogMetric",
@@ -1476,14 +1372,6 @@
"description": "Additional information about a potentially long-running operation with which a log entry is associated.",
"id": "LogEntryOperation",
"properties": {
- "last": {
- "description": "Optional. Set this to True if this is the last log entry in the operation.",
- "type": "boolean"
- },
- "id": {
- "description": "Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.",
- "type": "string"
- },
"producer": {
"description": "Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: \"MyDivision.MyBigCompany.com\", \"github.com/MyProject/MyApplication\".",
"type": "string"
@@ -1491,6 +1379,118 @@
"first": {
"description": "Optional. Set this to True if this is the first log entry in the operation.",
"type": "boolean"
+ },
+ "last": {
+ "description": "Optional. Set this to True if this is the last log entry in the operation.",
+ "type": "boolean"
+ },
+ "id": {
+ "description": "Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "WriteLogEntriesResponse": {
+ "description": "Result returned from WriteLogEntries. empty",
+ "id": "WriteLogEntriesResponse",
+ "properties": {},
+ "type": "object"
+ },
+ "MonitoredResource": {
+ "description": "An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for \"gce_instance\" has labels \"instance_id\" and \"zone\":\n{ \"type\": \"gce_instance\",\n \"labels\": { \"instance_id\": \"12345678901234\",\n \"zone\": \"us-central1-a\" }}\n",
+ "id": "MonitoredResource",
+ "properties": {
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Cloud SQL databases use the labels \"database_id\" and \"zone\".",
+ "type": "object"
+ },
+ "type": {
+ "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL database is \"cloudsql_database\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "LogSink": {
+ "description": "Describes a sink used to export log entries to one of the following destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a Cloud Pub/Sub topic. A logs filter controls which log entries are exported. The sink must be created within a project, organization, billing account, or folder.",
+ "id": "LogSink",
+ "properties": {
+ "name": {
+ "description": "Required. The client-assigned sink identifier, unique within the project. Example: \"my-syslog-errors-to-pubsub\". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.",
+ "type": "string"
+ },
+ "destination": {
+ "description": "Required. The export destination:\n\"storage.googleapis.com/[GCS_BUCKET]\"\n\"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]\"\n\"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]\"\nThe sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs With Sinks.",
+ "type": "string"
+ },
+ "filter": {
+ "description": "Optional. An advanced logs filter. The only exported log entries are those that are in the resource owning the sink and that match the filter. The filter must use the log entry format specified by the output_version_format parameter. For example, in the v2 format:\nlogName=\"projects/[PROJECT_ID]/logs/[LOG_ID]\" AND severity>=ERROR\n",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Optional. The time at which this sink will stop exporting log entries. Log entries are exported only if their timestamp is earlier than the end time. If this field is not supplied, there is no end time. If both a start time and an end time are provided, then the end time must be later than the start time.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "writerIdentity": {
+ "description": "Output only. An IAM identity—a service account or group—under which Stackdriver Logging writes the exported log entries to the sink's destination. This field is set by sinks.create and sinks.update, based on the setting of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting access for a resource. Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "Optional. The time at which this sink will begin exporting log entries. Log entries are exported only if their timestamp is not earlier than the start time. The default value of this field is the time the sink is created or updated.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "outputVersionFormat": {
+ "description": "Optional. The log entry format to use for this sink's exported log entries. The v2 format is used by default. The v1 format is deprecated and should be used only as part of a migration effort to v2. See Migration to the v2 API.",
+ "enum": [
+ "VERSION_FORMAT_UNSPECIFIED",
+ "V2",
+ "V1"
+ ],
+ "enumDescriptions": [
+ "An unspecified format version that will default to V2.",
+ "LogEntry version 2 format.",
+ "LogEntry version 1 format."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "WriteLogEntriesRequest": {
+ "description": "The parameters to WriteLogEntries.",
+ "id": "WriteLogEntriesRequest",
+ "properties": {
+ "logName": {
+ "description": "Optional. A default log resource name that is assigned to all log entries in entries that do not specify a value for log_name:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\" or \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry.",
+ "type": "string"
+ },
+ "entries": {
+ "description": "Required. The log entries to write. Values supplied for the fields log_name, resource, and labels in this entries.write request are inserted into those log entries in this list that do not provide their own values.Stackdriver Logging also creates and inserts values for timestamp and insert_id if the entries do not provide them. The created insert_id for the N'th entry in this list will be greater than earlier entries and less than later entries. Otherwise, the order of log entries in this list does not matter.To improve throughput and to avoid exceeding the quota limit for calls to entries.write, you should write multiple log entries at once rather than calling this method for each individual log entry.",
+ "items": {
+ "$ref": "LogEntry"
+ },
+ "type": "array"
+ },
+ "partialSuccess": {
+ "description": "Optional. Whether valid entries should be written even if some other entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not written, then the response status is the error associated with one of the failed entries and the response includes error details keyed by the entries' zero-based index in the entries.write method.",
+ "type": "boolean"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Optional. Default labels that are added to the labels field of all log entries in entries. If a log entry already has a label with the same key as a label in this parameter, then the log entry's label is not changed. See LogEntry.",
+ "type": "object"
+ },
+ "resource": {
+ "$ref": "MonitoredResource",
+ "description": "Optional. A default monitored resource object that is assigned to all log entries in entries that do not specify a value for resource. Example:\n{ \"type\": \"gce_instance\",\n \"labels\": {\n \"zone\": \"us-central1-a\", \"instance_id\": \"00000000000000000000\" }}\nSee LogEntry."
}
},
"type": "object"
diff --git a/discovery/googleapis_beta/proximitybeacon__v1beta1.json b/discovery/googleapis_beta/proximitybeacon__v1beta1.json
index f48f229..86a780e 100644
--- a/discovery/googleapis_beta/proximitybeacon__v1beta1.json
+++ b/discovery/googleapis_beta/proximitybeacon__v1beta1.json
@@ -14,7 +14,6 @@
"description": "Registers, manages, indexes, and searches beacons.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/beacons/proximity/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/InJfaYgEs4kvxVpfe1cZDPrjhv0\"",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
@@ -25,24 +24,24 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "access_token": {
- "description": "OAuth access token.",
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
},
- "alt": {
- "default": "json",
- "description": "Data format for response.",
- "enumDescriptions": [
- "Responses with Content-Type of application/json",
- "Media download with context-dependent Content-Type",
- "Responses with Content-Type of application/x-protobuf"
- ],
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
- "bearer_token": {
- "description": "OAuth bearer token.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
@@ -51,8 +50,32 @@
"location": "query",
"type": "string"
},
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "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"
},
@@ -61,8 +84,13 @@
"location": "query",
"type": "string"
},
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "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"
},
@@ -72,433 +100,33 @@
"location": "query",
"type": "boolean"
},
- "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.",
+ "bearer_token": {
+ "description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "$.xgafv": {
- "description": "V1 error format.",
- "enumDescriptions": [
- "v1 error format",
- "v2 error format"
- ],
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
}
},
"protocol": "rest",
"resources": {
- "beacons": {
+ "beaconinfo": {
"methods": {
- "register": {
- "description": "Registers a previously unregistered beacon given its `advertisedId`. These IDs are unique within the system. An ID can be registered only once. Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) from a signed-in user with **Is owner** or **Can edit** permissions in the Google Developers Console project.",
+ "getforobserved": {
+ "description": "Given one or more beacon observations, returns any beacon information\nand attachments accessible to your application. Authorize by using the\n[API key](https://developers.google.com/beacons/proximity/how-tos/authorizing#APIKey)\nfor the application.",
"httpMethod": "POST",
- "id": "proximitybeacon.beacons.register",
- "parameters": {
- "projectId": {
- "description": "The project id of the project the beacon will be registered to. If the project id is not specified then the project making the request is used. Optional.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1beta1/beacons:register",
+ "id": "proximitybeacon.beaconinfo.getforobserved",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1beta1/beaconinfo:getforobserved",
"request": {
- "$ref": "Beacon"
+ "$ref": "GetInfoForObservedBeaconsRequest"
},
"response": {
- "$ref": "Beacon"
- },
- "scopes": [
- "https://www.googleapis.com/auth/userlocation.beacon.registry"
- ]
- },
- "decommission": {
- "description": "Decommissions the specified beacon in the service. This beacon will no longer be returned from `beaconinfo.getforobserved`. This operation is permanent -- you will not be able to re-register a beacon with this ID again. Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) from a signed-in user with **Is owner** or **Can edit** permissions in the Google Developers Console project.",
- "httpMethod": "POST",
- "id": "proximitybeacon.beacons.decommission",
- "parameterOrder": [
- "beaconName"
- ],
- "parameters": {
- "beaconName": {
- "description": "Beacon that should be decommissioned. A beacon name has the format \"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for AltBeacon. For Eddystone-EID beacons, you may use either the current EID of the beacon's \"stable\" UID. Required.",
- "location": "path",
- "pattern": "^beacons/[^/]*$",
- "required": true,
- "type": "string"
- },
- "projectId": {
- "description": "The project id of the beacon to decommission. If the project id is not specified then the project making the request is used. The project id must match the project that owns the beacon. Optional.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1beta1/{+beaconName}:decommission",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/userlocation.beacon.registry"
- ]
- },
- "get": {
- "description": "Returns detailed information about the specified beacon. Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) from a signed-in user with **viewer**, **Is owner** or **Can edit** permissions in the Google Developers Console project. Requests may supply an Eddystone-EID beacon name in the form: `beacons/4!beaconId` where the `beaconId` is the base16 ephemeral ID broadcast by the beacon. The returned `Beacon` object will contain the beacon's stable Eddystone-UID. Clients not authorized to resolve the beacon's ephemeral Eddystone-EID broadcast will receive an error.",
- "httpMethod": "GET",
- "id": "proximitybeacon.beacons.get",
- "parameterOrder": [
- "beaconName"
- ],
- "parameters": {
- "beaconName": {
- "description": "Resource name of this beacon. A beacon name has the format \"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for AltBeacon. For Eddystone-EID beacons, you may use either the current EID or the beacon's \"stable\" UID. Required.",
- "location": "path",
- "pattern": "^beacons/[^/]*$",
- "required": true,
- "type": "string"
- },
- "projectId": {
- "description": "The project id of the beacon to request. If the project id is not specified then the project making the request is used. The project id must match the project that owns the beacon. Optional.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1beta1/{+beaconName}",
- "response": {
- "$ref": "Beacon"
- },
- "scopes": [
- "https://www.googleapis.com/auth/userlocation.beacon.registry"
- ]
- },
- "list": {
- "description": "Searches the beacon registry for beacons that match the given search criteria. Only those beacons that the client has permission to list will be returned. Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) from a signed-in user with **viewer**, **Is owner** or **Can edit** permissions in the Google Developers Console project.",
- "httpMethod": "GET",
- "id": "proximitybeacon.beacons.list",
- "parameters": {
- "q": {
- "description": "Filter query string that supports the following field filters: * `description:\"\"` For example: `description:\"Room 3\"` Returns beacons whose description matches tokens in the string \"Room 3\" (not necessarily that exact string). The string must be double-quoted. * `status:` For example: `status:active` Returns beacons whose status matches the given value. Values must be one of the Beacon.Status enum values (case insensitive). Accepts multiple filters which will be combined with OR logic. * `stability:` For example: `stability:mobile` Returns beacons whose expected stability matches the given value. Values must be one of the Beacon.Stability enum values (case insensitive). Accepts multiple filters which will be combined with OR logic. * `place_id:\"\"` For example: `place_id:\"ChIJVSZzVR8FdkgRXGmmm6SslKw=\"` Returns beacons explicitly registered at the given place, expressed as a Place ID obtained from [Google Places API](/places/place-id). Does not match places inside the given place. Does not consider the beacon's actual location (which may be different from its registered place). Accepts multiple filters that will be combined with OR logic. The place ID must be double-quoted. * `registration_time[|=]` For example: `registration_time>=1433116800` Returns beacons whose registration time matches the given filter. Supports the operators: , =. Timestamp must be expressed as an integer number of seconds since midnight January 1, 1970 UTC. Accepts at most two filters that will be combined with AND logic, to support \"between\" semantics. If more than two are supplied, the latter ones are ignored. * `lat: lng: radius:` For example: `lat:51.1232343 lng:-1.093852 radius:1000` Returns beacons whose registered location is within the given circle. When any of these fields are given, all are required. Latitude and longitude must be decimal degrees between -90.0 and 90.0 and between -180.0 and 180.0 respectively. Radius must be an integer number of meters between 10 and 1,000,000 (1000 km). * `property:\"=\"` For example: `property:\"battery-type=CR2032\"` Returns beacons which have a property of the given name and value. Supports multiple filters which will be combined with OR logic. The entire name=value string must be double-quoted as one string. * `attachment_type:\"\"` For example: `attachment_type:\"my-namespace/my-type\"` Returns beacons having at least one attachment of the given namespaced type. Supports \"any within this namespace\" via the partial wildcard syntax: \"my-namespace/*\". Supports multiple filters which will be combined with OR logic. The string must be double-quoted. Multiple filters on the same field are combined with OR logic (except registration_time which is combined with AND logic). Multiple filters on different fields are combined with AND logic. Filters should be separated by spaces. As with any HTTP query string parameter, the whole filter expression must be URL-encoded. Example REST request: `GET /v1beta1/beacons?q=status:active%20lat:51.123%20lng:-1.095%20radius:1000`",
- "location": "query",
- "type": "string"
- },
- "pageToken": {
- "description": "A pagination token obtained from a previous request to list beacons.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "The maximum number of records to return for this request, up to a server-defined upper limit.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "projectId": {
- "description": "The project id to list beacons under. If not present then the project credential that made the request is used as the project. Optional.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1beta1/beacons",
- "response": {
- "$ref": "ListBeaconsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/userlocation.beacon.registry"
- ]
- },
- "update": {
- "description": "Updates the information about the specified beacon. **Any field that you do not populate in the submitted beacon will be permanently erased**, so you should follow the \"read, modify, write\" pattern to avoid inadvertently destroying data. Changes to the beacon status via this method will be silently ignored. To update beacon status, use the separate methods on this API for activation, deactivation, and decommissioning. Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) from a signed-in user with **Is owner** or **Can edit** permissions in the Google Developers Console project.",
- "httpMethod": "PUT",
- "id": "proximitybeacon.beacons.update",
- "parameterOrder": [
- "beaconName"
- ],
- "parameters": {
- "beaconName": {
- "description": "Resource name of this beacon. A beacon name has the format \"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon. This field must be left empty when registering. After reading a beacon, clients can use the name for future operations.",
- "location": "path",
- "pattern": "^beacons/[^/]*$",
- "required": true,
- "type": "string"
- },
- "projectId": {
- "description": "The project id of the beacon to update. If the project id is not specified then the project making the request is used. The project id must match the project that owns the beacon. Optional.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1beta1/{+beaconName}",
- "request": {
- "$ref": "Beacon"
- },
- "response": {
- "$ref": "Beacon"
- },
- "scopes": [
- "https://www.googleapis.com/auth/userlocation.beacon.registry"
- ]
- },
- "activate": {
- "description": "Activates a beacon. A beacon that is active will return information and attachment data when queried via `beaconinfo.getforobserved`. Calling this method on an already active beacon will do nothing (but will return a successful response code). Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) from a signed-in user with **Is owner** or **Can edit** permissions in the Google Developers Console project.",
- "httpMethod": "POST",
- "id": "proximitybeacon.beacons.activate",
- "parameterOrder": [
- "beaconName"
- ],
- "parameters": {
- "beaconName": {
- "description": "Beacon that should be activated. A beacon name has the format \"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for AltBeacon. For Eddystone-EID beacons, you may use either the current EID or the beacon's \"stable\" UID. Required.",
- "location": "path",
- "pattern": "^beacons/[^/]*$",
- "required": true,
- "type": "string"
- },
- "projectId": {
- "description": "The project id of the beacon to activate. If the project id is not specified then the project making the request is used. The project id must match the project that owns the beacon. Optional.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1beta1/{+beaconName}:activate",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/userlocation.beacon.registry"
- ]
- },
- "deactivate": {
- "description": "Deactivates a beacon. Once deactivated, the API will not return information nor attachment data for the beacon when queried via `beaconinfo.getforobserved`. Calling this method on an already inactive beacon will do nothing (but will return a successful response code). Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) from a signed-in user with **Is owner** or **Can edit** permissions in the Google Developers Console project.",
- "httpMethod": "POST",
- "id": "proximitybeacon.beacons.deactivate",
- "parameterOrder": [
- "beaconName"
- ],
- "parameters": {
- "beaconName": {
- "description": "Beacon that should be deactivated. A beacon name has the format \"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for AltBeacon. For Eddystone-EID beacons, you may use either the current EID or the beacon's \"stable\" UID. Required.",
- "location": "path",
- "pattern": "^beacons/[^/]*$",
- "required": true,
- "type": "string"
- },
- "projectId": {
- "description": "The project id of the beacon to deactivate. If the project id is not specified then the project making the request is used. The project id must match the project that owns the beacon. Optional.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1beta1/{+beaconName}:deactivate",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/userlocation.beacon.registry"
- ]
- }
- },
- "resources": {
- "attachments": {
- "methods": {
- "create": {
- "description": "Associates the given data with the specified beacon. Attachment data must contain two parts: \n- A namespaced type. \n- The actual attachment data itself. The namespaced type consists of two parts, the namespace and the type. The namespace must be one of the values returned by the `namespaces` endpoint, while the type can be a string of any characters except for the forward slash (`/`) up to 100 characters in length. Attachment data can be up to 1024 bytes long. Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) from a signed-in user with **Is owner** or **Can edit** permissions in the Google Developers Console project.",
- "httpMethod": "POST",
- "id": "proximitybeacon.beacons.attachments.create",
- "parameterOrder": [
- "beaconName"
- ],
- "parameters": {
- "beaconName": {
- "description": "Beacon on which the attachment should be created. A beacon name has the format \"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for AltBeacon. For Eddystone-EID beacons, you may use either the current EID or the beacon's \"stable\" UID. Required.",
- "location": "path",
- "pattern": "^beacons/[^/]*$",
- "required": true,
- "type": "string"
- },
- "projectId": {
- "description": "The project id of the project the attachment will belong to. If the project id is not specified then the project making the request is used. Optional.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1beta1/{+beaconName}/attachments",
- "request": {
- "$ref": "BeaconAttachment"
- },
- "response": {
- "$ref": "BeaconAttachment"
- },
- "scopes": [
- "https://www.googleapis.com/auth/userlocation.beacon.registry"
- ]
- },
- "list": {
- "description": "Returns the attachments for the specified beacon that match the specified namespaced-type pattern. To control which namespaced types are returned, you add the `namespacedType` query parameter to the request. You must either use `*/*`, to return all attachments, or the namespace must be one of the ones returned from the `namespaces` endpoint. Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) from a signed-in user with **viewer**, **Is owner** or **Can edit** permissions in the Google Developers Console project.",
- "httpMethod": "GET",
- "id": "proximitybeacon.beacons.attachments.list",
- "parameterOrder": [
- "beaconName"
- ],
- "parameters": {
- "beaconName": {
- "description": "Beacon whose attachments should be fetched. A beacon name has the format \"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for AltBeacon. For Eddystone-EID beacons, you may use either the current EID or the beacon's \"stable\" UID. Required.",
- "location": "path",
- "pattern": "^beacons/[^/]*$",
- "required": true,
- "type": "string"
- },
- "namespacedType": {
- "description": "Specifies the namespace and type of attachment to include in response in namespace/type format. Accepts `*/*` to specify \"all types in all namespaces\".",
- "location": "query",
- "type": "string"
- },
- "projectId": {
- "description": "The project id to list beacon attachments under. This field can be used when \"*\" is specified to mean all attachment namespaces. Projects may have multiple attachments with multiple namespaces. If \"*\" is specified and the projectId string is empty, then the project making the request is used. Optional.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1beta1/{+beaconName}/attachments",
- "response": {
- "$ref": "ListBeaconAttachmentsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/userlocation.beacon.registry"
- ]
- },
- "delete": {
- "description": "Deletes the specified attachment for the given beacon. Each attachment has a unique attachment name (`attachmentName`) which is returned when you fetch the attachment data via this API. You specify this with the delete request to control which attachment is removed. This operation cannot be undone. Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) from a signed-in user with **Is owner** or **Can edit** permissions in the Google Developers Console project.",
- "httpMethod": "DELETE",
- "id": "proximitybeacon.beacons.attachments.delete",
- "parameterOrder": [
- "attachmentName"
- ],
- "parameters": {
- "attachmentName": {
- "description": "The attachment name (`attachmentName`) of the attachment to remove. For example: `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`. For Eddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the beacon's current EID, or its \"stable\" Eddystone-UID. Required.",
- "location": "path",
- "pattern": "^beacons/[^/]*/attachments/[^/]*$",
- "required": true,
- "type": "string"
- },
- "projectId": {
- "description": "The project id of the attachment to delete. If not provided, the project that is making the request is used. Optional.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1beta1/{+attachmentName}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/userlocation.beacon.registry"
- ]
- },
- "batchDelete": {
- "description": "Deletes multiple attachments on a given beacon. This operation is permanent and cannot be undone. You can optionally specify `namespacedType` to choose which attachments should be deleted. If you do not specify `namespacedType`, all your attachments on the given beacon will be deleted. You also may explicitly specify `*/*` to delete all. Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) from a signed-in user with **Is owner** or **Can edit** permissions in the Google Developers Console project.",
- "httpMethod": "POST",
- "id": "proximitybeacon.beacons.attachments.batchDelete",
- "parameterOrder": [
- "beaconName"
- ],
- "parameters": {
- "beaconName": {
- "description": "The beacon whose attachments should be deleted. A beacon name has the format \"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for AltBeacon. For Eddystone-EID beacons, you may use either the current EID or the beacon's \"stable\" UID. Required.",
- "location": "path",
- "pattern": "^beacons/[^/]*$",
- "required": true,
- "type": "string"
- },
- "namespacedType": {
- "description": "Specifies the namespace and type of attachments to delete in `namespace/type` format. Accepts `*/*` to specify \"all types in all namespaces\". Optional.",
- "location": "query",
- "type": "string"
- },
- "projectId": {
- "description": "The project id to delete beacon attachments under. This field can be used when \"*\" is specified to mean all attachment namespaces. Projects may have multiple attachments with multiple namespaces. If \"*\" is specified and the projectId string is empty, then the project making the request is used. Optional.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1beta1/{+beaconName}/attachments:batchDelete",
- "response": {
- "$ref": "DeleteAttachmentsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/userlocation.beacon.registry"
- ]
- }
- }
- },
- "diagnostics": {
- "methods": {
- "list": {
- "description": "List the diagnostics for a single beacon. You can also list diagnostics for all the beacons owned by your Google Developers Console project by using the beacon name `beacons/-`. Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) from a signed-in user with **viewer**, **Is owner** or **Can edit** permissions in the Google Developers Console project.",
- "httpMethod": "GET",
- "id": "proximitybeacon.beacons.diagnostics.list",
- "parameterOrder": [
- "beaconName"
- ],
- "parameters": {
- "beaconName": {
- "description": "Beacon that the diagnostics are for.",
- "location": "path",
- "pattern": "^beacons/[^/]*$",
- "required": true,
- "type": "string"
- },
- "pageSize": {
- "description": "Specifies the maximum number of results to return. Defaults to 10. Maximum 1000. Optional.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "pageToken": {
- "description": "Requests results that occur after the `page_token`, obtained from the response to a previous request. Optional.",
- "location": "query",
- "type": "string"
- },
- "alertFilter": {
- "description": "Requests only beacons that have the given alert. For example, to find beacons that have low batteries use `alert_filter=LOW_BATTERY`.",
- "enum": [
- "ALERT_UNSPECIFIED",
- "WRONG_LOCATION",
- "LOW_BATTERY"
- ],
- "location": "query",
- "type": "string"
- },
- "projectId": {
- "description": "Requests only diagnostic records for the given project id. If not set, then the project making the request will be used for looking up diagnostic records. Optional.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1beta1/{+beaconName}/diagnostics",
- "response": {
- "$ref": "ListDiagnosticsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/userlocation.beacon.registry"
- ]
- }
+ "$ref": "GetInfoForObservedBeaconsResponse"
}
}
}
@@ -506,12 +134,13 @@
"namespaces": {
"methods": {
"list": {
- "description": "Lists all attachment namespaces owned by your Google Developers Console project. Attachment data associated with a beacon must include a namespaced type, and the namespace must be owned by your project. Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) from a signed-in user with **viewer**, **Is owner** or **Can edit** permissions in the Google Developers Console project.",
+ "description": "Lists all attachment namespaces owned by your Google Developers Console\nproject. Attachment data associated with a beacon must include a\nnamespaced type, and the namespace must be owned by your project.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **viewer**, **Is owner** or **Can edit**\npermissions in the Google Developers Console project.",
"httpMethod": "GET",
"id": "proximitybeacon.namespaces.list",
+ "parameterOrder": [],
"parameters": {
"projectId": {
- "description": "The project id to list namespaces under. Optional.",
+ "description": "The project id to list namespaces under.\nOptional.",
"location": "query",
"type": "string"
}
@@ -525,7 +154,7 @@
]
},
"update": {
- "description": "Updates the information about the specified namespace. Only the namespace visibility can be updated.",
+ "description": "Updates the information about the specified namespace. Only the namespace\nvisibility can be updated.",
"httpMethod": "PUT",
"id": "proximitybeacon.namespaces.update",
"parameterOrder": [
@@ -533,14 +162,14 @@
],
"parameters": {
"namespaceName": {
- "description": "Resource name of this namespace. Namespaces names have the format: namespaces/namespace.",
+ "description": "Resource name of this namespace. Namespaces names have the format:\n<code>namespaces/<var>namespace</var></code>.",
"location": "path",
- "pattern": "^namespaces/[^/]*$",
+ "pattern": "^namespaces/[^/]+$",
"required": true,
"type": "string"
},
"projectId": {
- "description": "The project id of the namespace to update. If the project id is not specified then the project making the request is used. The project id must match the project that owns the beacon. Optional.",
+ "description": "The project id of the namespace to update. If the project id is not\nspecified then the project making the request is used. The project id\nmust match the project that owns the beacon.\nOptional.",
"location": "query",
"type": "string"
}
@@ -561,9 +190,11 @@
"v1beta1": {
"methods": {
"getEidparams": {
- "description": "Gets the Proximity Beacon API's current public key and associated parameters used to initiate the Diffie-Hellman key exchange required to register a beacon that broadcasts the Eddystone-EID format. This key changes periodically; clients may cache it and re-use the same public key to provision and register multiple beacons. However, clients should be prepared to refresh this key when they encounter an error registering an Eddystone-EID beacon.",
+ "description": "Gets the Proximity Beacon API's current public key and associated\nparameters used to initiate the Diffie-Hellman key exchange required to\nregister a beacon that broadcasts the Eddystone-EID format. This key\nchanges periodically; clients may cache it and re-use the same public key\nto provision and register multiple beacons. However, clients should be\nprepared to refresh this key when they encounter an error registering an\nEddystone-EID beacon.",
"httpMethod": "GET",
"id": "proximitybeacon.getEidparams",
+ "parameterOrder": [],
+ "parameters": {},
"path": "v1beta1/eidparams",
"response": {
"$ref": "EphemeralIdRegistrationParams"
@@ -574,62 +205,502 @@
}
}
},
- "beaconinfo": {
+ "beacons": {
"methods": {
- "getforobserved": {
- "description": "Given one or more beacon observations, returns any beacon information and attachments accessible to your application. Authorize by using the [API key](https://developers.google.com/beacons/proximity/how-tos/authorizing#APIKey) for the application.",
+ "activate": {
+ "description": "Activates a beacon. A beacon that is active will return information\nand attachment data when queried via `beaconinfo.getforobserved`.\nCalling this method on an already active beacon will do nothing (but\nwill return a successful response code).\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project.",
"httpMethod": "POST",
- "id": "proximitybeacon.beaconinfo.getforobserved",
- "path": "v1beta1/beaconinfo:getforobserved",
+ "id": "proximitybeacon.beacons.activate",
+ "parameterOrder": [
+ "beaconName"
+ ],
+ "parameters": {
+ "beaconName": {
+ "description": "Beacon that should be activated. A beacon name has the format\n\"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by\nthe beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`\nfor AltBeacon. For Eddystone-EID beacons, you may use either the\ncurrent EID or the beacon's \"stable\" UID.\nRequired.",
+ "location": "path",
+ "pattern": "^beacons/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "projectId": {
+ "description": "The project id of the beacon to activate. If the project id is not\nspecified then the project making the request is used. The project id\nmust match the project that owns the beacon.\nOptional.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+beaconName}:activate",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/userlocation.beacon.registry"
+ ]
+ },
+ "get": {
+ "description": "Returns detailed information about the specified beacon.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **viewer**, **Is owner** or **Can edit**\npermissions in the Google Developers Console project.\n\nRequests may supply an Eddystone-EID beacon name in the form:\n`beacons/4!beaconId` where the `beaconId` is the base16 ephemeral ID\nbroadcast by the beacon. The returned `Beacon` object will contain the\nbeacon's stable Eddystone-UID. Clients not authorized to resolve the\nbeacon's ephemeral Eddystone-EID broadcast will receive an error.",
+ "httpMethod": "GET",
+ "id": "proximitybeacon.beacons.get",
+ "parameterOrder": [
+ "beaconName"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "The project id of the beacon to request. If the project id is not specified\nthen the project making the request is used. The project id must match the\nproject that owns the beacon.\nOptional.",
+ "location": "query",
+ "type": "string"
+ },
+ "beaconName": {
+ "description": "Resource name of this beacon. A beacon name has the format\n\"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by\nthe beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`\nfor AltBeacon. For Eddystone-EID beacons, you may use either the\ncurrent EID or the beacon's \"stable\" UID.\nRequired.",
+ "location": "path",
+ "pattern": "^beacons/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+beaconName}",
+ "response": {
+ "$ref": "Beacon"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/userlocation.beacon.registry"
+ ]
+ },
+ "update": {
+ "description": "Updates the information about the specified beacon. **Any field that you do\nnot populate in the submitted beacon will be permanently erased**, so you\nshould follow the \"read, modify, write\" pattern to avoid inadvertently\ndestroying data.\n\nChanges to the beacon status via this method will be silently ignored.\nTo update beacon status, use the separate methods on this API for\nactivation, deactivation, and decommissioning.\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project.",
+ "httpMethod": "PUT",
+ "id": "proximitybeacon.beacons.update",
+ "parameterOrder": [
+ "beaconName"
+ ],
+ "parameters": {
+ "beaconName": {
+ "description": "Resource name of this beacon. A beacon name has the format\n\"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by\nthe beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon.\n\nThis field must be left empty when registering. After reading a beacon,\nclients can use the name for future operations.",
+ "location": "path",
+ "pattern": "^beacons/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "projectId": {
+ "description": "The project id of the beacon to update. If the project id is not\nspecified then the project making the request is used. The project id\nmust match the project that owns the beacon.\nOptional.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+beaconName}",
"request": {
- "$ref": "GetInfoForObservedBeaconsRequest"
+ "$ref": "Beacon"
},
"response": {
- "$ref": "GetInfoForObservedBeaconsResponse"
+ "$ref": "Beacon"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/userlocation.beacon.registry"
+ ]
+ },
+ "decommission": {
+ "description": "Decommissions the specified beacon in the service. This beacon will no\nlonger be returned from `beaconinfo.getforobserved`. This operation is\npermanent -- you will not be able to re-register a beacon with this ID\nagain.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project.",
+ "httpMethod": "POST",
+ "id": "proximitybeacon.beacons.decommission",
+ "parameterOrder": [
+ "beaconName"
+ ],
+ "parameters": {
+ "beaconName": {
+ "description": "Beacon that should be decommissioned. A beacon name has the format\n\"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by\nthe beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`\nfor AltBeacon. For Eddystone-EID beacons, you may use either the\ncurrent EID of the beacon's \"stable\" UID.\nRequired.",
+ "location": "path",
+ "pattern": "^beacons/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "projectId": {
+ "description": "The project id of the beacon to decommission. If the project id is not\nspecified then the project making the request is used. The project id\nmust match the project that owns the beacon.\nOptional.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+beaconName}:decommission",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/userlocation.beacon.registry"
+ ]
+ },
+ "delete": {
+ "description": "Deletes the specified beacon including all diagnostics data for the beacon\nas well as any attachments on the beacon (including those belonging to\nother projects). This operation cannot be undone.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project.",
+ "httpMethod": "DELETE",
+ "id": "proximitybeacon.beacons.delete",
+ "parameterOrder": [
+ "beaconName"
+ ],
+ "parameters": {
+ "beaconName": {
+ "description": "Beacon that should be deleted. A beacon name has the format\n\"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by\nthe beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`\nfor AltBeacon. For Eddystone-EID beacons, you may use either the\ncurrent EID or the beacon's \"stable\" UID.\nRequired.",
+ "location": "path",
+ "pattern": "^beacons/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "projectId": {
+ "description": "The project id of the beacon to delete. If not provided, the project\nthat is making the request is used.\nOptional.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+beaconName}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/userlocation.beacon.registry"
+ ]
+ },
+ "deactivate": {
+ "description": "Deactivates a beacon. Once deactivated, the API will not return\ninformation nor attachment data for the beacon when queried via\n`beaconinfo.getforobserved`. Calling this method on an already inactive\nbeacon will do nothing (but will return a successful response code).\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project.",
+ "httpMethod": "POST",
+ "id": "proximitybeacon.beacons.deactivate",
+ "parameterOrder": [
+ "beaconName"
+ ],
+ "parameters": {
+ "beaconName": {
+ "description": "Beacon that should be deactivated. A beacon name has the format\n\"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by\nthe beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`\nfor AltBeacon. For Eddystone-EID beacons, you may use either the\ncurrent EID or the beacon's \"stable\" UID.\nRequired.",
+ "location": "path",
+ "pattern": "^beacons/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "projectId": {
+ "description": "The project id of the beacon to deactivate. If the project id is not\nspecified then the project making the request is used. The project id must\nmatch the project that owns the beacon.\nOptional.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+beaconName}:deactivate",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/userlocation.beacon.registry"
+ ]
+ },
+ "register": {
+ "description": "Registers a previously unregistered beacon given its `advertisedId`.\nThese IDs are unique within the system. An ID can be registered only once.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project.",
+ "httpMethod": "POST",
+ "id": "proximitybeacon.beacons.register",
+ "parameterOrder": [],
+ "parameters": {
+ "projectId": {
+ "description": "The project id of the project the beacon will be registered to. If\nthe project id is not specified then the project making the request\nis used.\nOptional.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/beacons:register",
+ "request": {
+ "$ref": "Beacon"
+ },
+ "response": {
+ "$ref": "Beacon"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/userlocation.beacon.registry"
+ ]
+ },
+ "list": {
+ "description": "Searches the beacon registry for beacons that match the given search\ncriteria. Only those beacons that the client has permission to list\nwill be returned.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **viewer**, **Is owner** or **Can edit**\npermissions in the Google Developers Console project.",
+ "httpMethod": "GET",
+ "id": "proximitybeacon.beacons.list",
+ "parameterOrder": [],
+ "parameters": {
+ "pageToken": {
+ "description": "A pagination token obtained from a previous request to list beacons.",
+ "location": "query",
+ "type": "string"
+ },
+ "q": {
+ "description": "Filter query string that supports the following field filters:\n\n* **description:`\"<string>\"`**\n For example: **description:\"Room 3\"**\n Returns beacons whose description matches tokens in the string \"Room 3\"\n (not necessarily that exact string).\n The string must be double-quoted.\n* **status:`<enum>`**\n For example: **status:active**\n Returns beacons whose status matches the given value. Values must be\n one of the Beacon.Status enum values (case insensitive). Accepts\n multiple filters which will be combined with OR logic.\n* **stability:`<enum>`**\n For example: **stability:mobile**\n Returns beacons whose expected stability matches the given value.\n Values must be one of the Beacon.Stability enum values (case\n insensitive). Accepts multiple filters which will be combined with\n OR logic.\n* **place\\_id:`\"<string>\"`**\n For example: **place\\_id:\"ChIJVSZzVR8FdkgRXGmmm6SslKw=\"**\n Returns beacons explicitly registered at the given place, expressed as\n a Place ID obtained from [Google Places API](/places/place-id). Does not\n match places inside the given place. Does not consider the beacon's\n actual location (which may be different from its registered place).\n Accepts multiple filters that will be combined with OR logic. The place\n ID must be double-quoted.\n* **registration\\_time`[<|>|<=|>=]<integer>`**\n For example: **registration\\_time>=1433116800**\n Returns beacons whose registration time matches the given filter.\n Supports the operators: <, >, <=, and >=. Timestamp must be expressed as\n an integer number of seconds since midnight January 1, 1970 UTC. Accepts\n at most two filters that will be combined with AND logic, to support\n \"between\" semantics. If more than two are supplied, the latter ones are\n ignored.\n* **lat:`<double> lng:<double> radius:<integer>`**\n For example: **lat:51.1232343 lng:-1.093852 radius:1000**\n Returns beacons whose registered location is within the given circle.\n When any of these fields are given, all are required. Latitude and\n longitude must be decimal degrees between -90.0 and 90.0 and between\n -180.0 and 180.0 respectively. Radius must be an integer number of\n meters between 10 and 1,000,000 (1000 km).\n* **property:`\"<string>=<string>\"`**\n For example: **property:\"battery-type=CR2032\"**\n Returns beacons which have a property of the given name and value.\n Supports multiple filters which will be combined with OR logic.\n The entire name=value string must be double-quoted as one string.\n* **attachment\\_type:`\"<string>\"`**\n For example: **attachment_type:\"my-namespace/my-type\"**\n Returns beacons having at least one attachment of the given namespaced\n type. Supports \"any within this namespace\" via the partial wildcard\n syntax: \"my-namespace/*\". Supports multiple filters which will be\n combined with OR logic. The string must be double-quoted.\n* **indoor\\_level:`\"<string>\"`**\n For example: **indoor\\_level:\"1\"**\n Returns beacons which are located on the given indoor level. Accepts\n multiple filters that will be combined with OR logic.\n\nMultiple filters on the same field are combined with OR logic (except\nregistration_time which is combined with AND logic).\nMultiple filters on different fields are combined with AND logic.\nFilters should be separated by spaces.\n\nAs with any HTTP query string parameter, the whole filter expression must\nbe URL-encoded.\n\nExample REST request:\n`GET /v1beta1/beacons?q=status:active%20lat:51.123%20lng:-1.095%20radius:1000`",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The maximum number of records to return for this request, up to a\nserver-defined upper limit.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "projectId": {
+ "description": "The project id to list beacons under. If not present then the project\ncredential that made the request is used as the project.\nOptional.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/beacons",
+ "response": {
+ "$ref": "ListBeaconsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/userlocation.beacon.registry"
+ ]
+ }
+ },
+ "resources": {
+ "attachments": {
+ "methods": {
+ "delete": {
+ "description": "Deletes the specified attachment for the given beacon. Each attachment has\na unique attachment name (`attachmentName`) which is returned when you\nfetch the attachment data via this API. You specify this with the delete\nrequest to control which attachment is removed. This operation cannot be\nundone.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project.",
+ "httpMethod": "DELETE",
+ "id": "proximitybeacon.beacons.attachments.delete",
+ "parameterOrder": [
+ "attachmentName"
+ ],
+ "parameters": {
+ "attachmentName": {
+ "description": "The attachment name (`attachmentName`) of\nthe attachment to remove. For example:\n`beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`. For\nEddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the\nbeacon's current EID, or its \"stable\" Eddystone-UID.\nRequired.",
+ "location": "path",
+ "pattern": "^beacons/[^/]+/attachments/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "projectId": {
+ "description": "The project id of the attachment to delete. If not provided, the project\nthat is making the request is used.\nOptional.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+attachmentName}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/userlocation.beacon.registry"
+ ]
+ },
+ "list": {
+ "description": "Returns the attachments for the specified beacon that match the specified\nnamespaced-type pattern.\n\nTo control which namespaced types are returned, you add the\n`namespacedType` query parameter to the request. You must either use\n`*/*`, to return all attachments, or the namespace must be one of\nthe ones returned from the `namespaces` endpoint.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **viewer**, **Is owner** or **Can edit**\npermissions in the Google Developers Console project.",
+ "httpMethod": "GET",
+ "id": "proximitybeacon.beacons.attachments.list",
+ "parameterOrder": [
+ "beaconName"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "The project id to list beacon attachments under. This field can be\nused when \"*\" is specified to mean all attachment namespaces. Projects\nmay have multiple attachments with multiple namespaces. If \"*\" is\nspecified and the projectId string is empty, then the project\nmaking the request is used.\nOptional.",
+ "location": "query",
+ "type": "string"
+ },
+ "namespacedType": {
+ "description": "Specifies the namespace and type of attachment to include in response in\n<var>namespace/type</var> format. Accepts `*/*` to specify\n\"all types in all namespaces\".",
+ "location": "query",
+ "type": "string"
+ },
+ "beaconName": {
+ "description": "Beacon whose attachments should be fetched. A beacon name has the\nformat \"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast\nby the beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`\nfor AltBeacon. For Eddystone-EID beacons, you may use either the\ncurrent EID or the beacon's \"stable\" UID.\nRequired.",
+ "location": "path",
+ "pattern": "^beacons/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+beaconName}/attachments",
+ "response": {
+ "$ref": "ListBeaconAttachmentsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/userlocation.beacon.registry"
+ ]
+ },
+ "create": {
+ "description": "Associates the given data with the specified beacon. Attachment data must\ncontain two parts:\n<ul>\n<li>A namespaced type.</li>\n<li>The actual attachment data itself.</li>\n</ul>\nThe namespaced type consists of two parts, the namespace and the type.\nThe namespace must be one of the values returned by the `namespaces`\nendpoint, while the type can be a string of any characters except for the\nforward slash (`/`) up to 100 characters in length.\n\nAttachment data can be up to 1024 bytes long.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project.",
+ "httpMethod": "POST",
+ "id": "proximitybeacon.beacons.attachments.create",
+ "parameterOrder": [
+ "beaconName"
+ ],
+ "parameters": {
+ "projectId": {
+ "description": "The project id of the project the attachment will belong to. If\nthe project id is not specified then the project making the request\nis used.\nOptional.",
+ "location": "query",
+ "type": "string"
+ },
+ "beaconName": {
+ "description": "Beacon on which the attachment should be created. A beacon name has the\nformat \"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast\nby the beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`\nfor AltBeacon. For Eddystone-EID beacons, you may use either the\ncurrent EID or the beacon's \"stable\" UID.\nRequired.",
+ "location": "path",
+ "pattern": "^beacons/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+beaconName}/attachments",
+ "request": {
+ "$ref": "BeaconAttachment"
+ },
+ "response": {
+ "$ref": "BeaconAttachment"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/userlocation.beacon.registry"
+ ]
+ },
+ "batchDelete": {
+ "description": "Deletes multiple attachments on a given beacon. This operation is\npermanent and cannot be undone.\n\nYou can optionally specify `namespacedType` to choose which attachments\nshould be deleted. If you do not specify `namespacedType`, all your\nattachments on the given beacon will be deleted. You also may explicitly\nspecify `*/*` to delete all.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project.",
+ "httpMethod": "POST",
+ "id": "proximitybeacon.beacons.attachments.batchDelete",
+ "parameterOrder": [
+ "beaconName"
+ ],
+ "parameters": {
+ "namespacedType": {
+ "description": "Specifies the namespace and type of attachments to delete in\n`namespace/type` format. Accepts `*/*` to specify\n\"all types in all namespaces\".\nOptional.",
+ "location": "query",
+ "type": "string"
+ },
+ "beaconName": {
+ "description": "The beacon whose attachments should be deleted. A beacon name has the\nformat \"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast\nby the beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`\nfor AltBeacon. For Eddystone-EID beacons, you may use either the\ncurrent EID or the beacon's \"stable\" UID.\nRequired.",
+ "location": "path",
+ "pattern": "^beacons/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "projectId": {
+ "description": "The project id to delete beacon attachments under. This field can be\nused when \"*\" is specified to mean all attachment namespaces. Projects\nmay have multiple attachments with multiple namespaces. If \"*\" is\nspecified and the projectId string is empty, then the project\nmaking the request is used.\nOptional.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+beaconName}/attachments:batchDelete",
+ "response": {
+ "$ref": "DeleteAttachmentsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/userlocation.beacon.registry"
+ ]
+ }
+ }
+ },
+ "diagnostics": {
+ "methods": {
+ "list": {
+ "description": "List the diagnostics for a single beacon. You can also list diagnostics for\nall the beacons owned by your Google Developers Console project by using\nthe beacon name `beacons/-`.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **viewer**, **Is owner** or **Can edit**\npermissions in the Google Developers Console project.",
+ "httpMethod": "GET",
+ "id": "proximitybeacon.beacons.diagnostics.list",
+ "parameterOrder": [
+ "beaconName"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "Specifies the maximum number of results to return. Defaults to\n10. Maximum 1000. Optional.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "alertFilter": {
+ "description": "Requests only beacons that have the given alert. For example, to find\nbeacons that have low batteries use `alert_filter=LOW_BATTERY`.",
+ "enum": [
+ "ALERT_UNSPECIFIED",
+ "WRONG_LOCATION",
+ "LOW_BATTERY"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "projectId": {
+ "description": "Requests only diagnostic records for the given project id. If not set,\nthen the project making the request will be used for looking up\ndiagnostic records. Optional.",
+ "location": "query",
+ "type": "string"
+ },
+ "beaconName": {
+ "description": "Beacon that the diagnostics are for.",
+ "location": "path",
+ "pattern": "^beacons/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "Requests results that occur after the `page_token`, obtained from the\nresponse to a previous request. Optional.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+beaconName}/diagnostics",
+ "response": {
+ "$ref": "ListDiagnosticsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/userlocation.beacon.registry"
+ ]
+ }
}
}
}
}
},
- "revision": "20160429",
+ "revision": "20170320",
"rootUrl": "https://proximitybeacon.googleapis.com/",
"schemas": {
+ "Observation": {
+ "description": "Represents one beacon observed once.",
+ "id": "Observation",
+ "properties": {
+ "timestampMs": {
+ "description": "Time when the beacon was observed.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "advertisedId": {
+ "$ref": "AdvertisedId",
+ "description": "The ID advertised by the beacon the client has encountered.\n\nIf the submitted `advertised_id` type is Eddystone-EID, then the client\nmust be authorized to resolve the given beacon. Otherwise no data will be\nreturned for that beacon.\nRequired."
+ },
+ "telemetry": {
+ "description": "The array of telemetry bytes received from the beacon. The server is\nresponsible for parsing it. This field may frequently be empty, as\nwith a beacon that transmits telemetry only occasionally.",
+ "format": "byte",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListDiagnosticsResponse": {
+ "description": "Response that contains the requested diagnostics.",
+ "id": "ListDiagnosticsResponse",
+ "properties": {
+ "diagnostics": {
+ "description": "The diagnostics matching the given request.",
+ "items": {
+ "$ref": "Diagnostics"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Token that can be used for pagination. Returned only if the\nrequest matches more beacons than can be returned in this response.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GetInfoForObservedBeaconsResponse": {
+ "description": "Information about the requested beacons, optionally including attachment\ndata.",
+ "id": "GetInfoForObservedBeaconsResponse",
+ "properties": {
+ "beacons": {
+ "description": "Public information about beacons.\nMay be empty if the request matched no beacons.",
+ "items": {
+ "$ref": "BeaconInfo"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"Beacon": {
"description": "Details of a beacon device.",
"id": "Beacon",
"properties": {
"beaconName": {
- "description": "Resource name of this beacon. A beacon name has the format \"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon. This field must be left empty when registering. After reading a beacon, clients can use the name for future operations.",
+ "description": "Resource name of this beacon. A beacon name has the format\n\"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by\nthe beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon.\n\nThis field must be left empty when registering. After reading a beacon,\nclients can use the name for future operations.",
"type": "string"
},
- "advertisedId": {
- "$ref": "AdvertisedId",
- "description": "The identifier of a beacon as advertised by it. This field must be populated when registering. It may be empty when updating a beacon record because it is ignored in updates. When registering a beacon that broadcasts Eddystone-EID, this field should contain a \"stable\" Eddystone-UID that identifies the beacon and links it to its attachments. The stable Eddystone-UID is only used for administering the beacon."
- },
- "status": {
- "description": "Current status of the beacon. Required.",
- "enum": [
- "STATUS_UNSPECIFIED",
- "ACTIVE",
- "DECOMMISSIONED",
- "INACTIVE"
- ],
- "type": "string"
- },
- "placeId": {
- "description": "The [Google Places API](/places/place-id) Place ID of the place where the beacon is deployed. This is given when the beacon is registered or updated, not automatically detected in any way. Optional.",
- "type": "string"
- },
- "latLng": {
- "$ref": "LatLng",
- "description": "The location of the beacon, expressed as a latitude and longitude pair. This location is given when the beacon is registered or updated. It does not necessarily indicate the actual current location of the beacon. Optional."
- },
- "indoorLevel": {
- "$ref": "IndoorLevel",
- "description": "The indoor level information for this beacon, if known. As returned by the Google Maps API. Optional."
- },
"expectedStability": {
- "description": "Expected location stability. This is set when the beacon is registered or updated, not automatically detected in any way. Optional.",
+ "description": "Expected location stability. This is set when the beacon is registered or\nupdated, not automatically detected in any way.\nOptional.",
"enum": [
"STABILITY_UNSPECIFIED",
"STABLE",
@@ -637,27 +708,66 @@
"MOBILE",
"ROVING"
],
+ "enumDescriptions": [
+ "Do not use this value.",
+ "Not expected to move, for example a store's front door.",
+ "Usually stable but may move rarely, usually within a single place,\nfor example a store display.",
+ "Moves frequently, for example a personal item or food truck.",
+ "Moves continuously in service, for example a bus or train."
+ ],
+ "type": "string"
+ },
+ "advertisedId": {
+ "$ref": "AdvertisedId",
+ "description": "The identifier of a beacon as advertised by it. This field must be\npopulated when registering. It may be empty when updating a beacon\nrecord because it is ignored in updates.\n\nWhen registering a beacon that broadcasts Eddystone-EID, this field\nshould contain a \"stable\" Eddystone-UID that identifies the beacon and\nlinks it to its attachments. The stable Eddystone-UID is only used for\nadministering the beacon."
+ },
+ "provisioningKey": {
+ "description": "Some beacons may require a user to provide an authorization key before\nchanging any of its configuration (e.g. broadcast frames, transmit power).\nThis field provides a place to store and control access to that key.\nThis field is populated in responses to `GET /v1beta1/beacons/3!beaconId`\nfrom users with write access to the given beacon. That is to say: If the\nuser is authorized to write the beacon's confidential data in the service,\nthe service considers them authorized to configure the beacon. Note\nthat this key grants nothing on the service, only on the beacon itself.",
+ "format": "byte",
+ "type": "string"
+ },
+ "ephemeralIdRegistration": {
+ "$ref": "EphemeralIdRegistration",
+ "description": "Write-only registration parameters for beacons using Eddystone-EID\n(remotely resolved ephemeral ID) format. This information will not be\npopulated in API responses. When submitting this data, the `advertised_id`\nfield must contain an ID of type Eddystone-UID. Any other ID type will\nresult in an error."
+ },
+ "latLng": {
+ "$ref": "LatLng",
+ "description": "The location of the beacon, expressed as a latitude and longitude pair.\nThis location is given when the beacon is registered or updated. It does\nnot necessarily indicate the actual current location of the beacon.\nOptional."
+ },
+ "placeId": {
+ "description": "The [Google Places API](/places/place-id) Place ID of the place where\nthe beacon is deployed. This is given when the beacon is registered or\nupdated, not automatically detected in any way.\nOptional.",
"type": "string"
},
"description": {
- "description": "Free text used to identify and describe the beacon. Maximum length 140 characters. Optional.",
+ "description": "Free text used to identify and describe the beacon. Maximum length 140\ncharacters.\nOptional.",
"type": "string"
},
"properties": {
"additionalProperties": {
"type": "string"
},
- "description": "Properties of the beacon device, for example battery type or firmware version. Optional.",
+ "description": "Properties of the beacon device, for example battery type or firmware\nversion.\nOptional.",
"type": "object"
},
- "ephemeralIdRegistration": {
- "$ref": "EphemeralIdRegistration",
- "description": "Write-only registration parameters for beacons using Eddystone-EID (remotely resolved ephemeral ID) format. This information will not be populated in API responses. When submitting this data, the `advertised_id` field must contain an ID of type Eddystone-UID. Any other ID type will result in an error."
- },
- "provisioningKey": {
- "description": "Some beacons may require a user to provide an authorization key before changing any of its configuration (e.g. broadcast frames, transmit power). This field provides a place to store and control access to that key. This field is populated in responses to `GET /v1beta1/beacons/3!beaconId` from users with write access to the given beacon. That is to say: If the user is authorized to write the beacon's confidential data in the service, the service considers them authorized to configure the beacon. Note that this key grants nothing on the service, only on the beacon itself.",
- "format": "byte",
+ "status": {
+ "description": "Current status of the beacon.\nRequired.",
+ "enum": [
+ "STATUS_UNSPECIFIED",
+ "ACTIVE",
+ "DECOMMISSIONED",
+ "INACTIVE"
+ ],
+ "enumDescriptions": [
+ "Do not use this value.",
+ "The \"normal\" in-use state of a beacon.",
+ "Beacon should no longer be used for any purpose. This is irreversible.",
+ "The beacon should not be visible to mobile devices. This is reversible."
+ ],
"type": "string"
+ },
+ "indoorLevel": {
+ "$ref": "IndoorLevel",
+ "description": "The indoor level information for this beacon, if known. As returned by the\nGoogle Maps API.\nOptional."
}
},
"type": "object"
@@ -666,8 +776,13 @@
"description": "Defines a unique identifier of a beacon as broadcast by the device.",
"id": "AdvertisedId",
"properties": {
+ "id": {
+ "description": "The actual beacon identifier, as broadcast by the beacon hardware. Must be\n[base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP\nrequests, and will be so encoded (with padding) in responses. The base64\nencoding should be of the binary byte-stream and not any textual (such as\nhex) representation thereof.\nRequired.",
+ "format": "byte",
+ "type": "string"
+ },
"type": {
- "description": "Specifies the identifier type. Required.",
+ "description": "Specifies the identifier type.\nRequired.",
"enum": [
"TYPE_UNSPECIFIED",
"EDDYSTONE",
@@ -675,35 +790,20 @@
"ALTBEACON",
"EDDYSTONE_EID"
],
+ "enumDescriptions": [
+ "Do not use this value.",
+ "Eddystone, an open beacon format that supports Android and iOS devices\nhttps://github.com/google/eddystone/wiki/Beacon-Specification",
+ "Apple iBeacon compatible beacon",
+ "See http://altbeacon.org and/or https://github.com/AltBeacon/spec.",
+ "Eddystone Ephemeral ID"
+ ],
"type": "string"
- },
- "id": {
- "description": "The actual beacon identifier, as broadcast by the beacon hardware. Must be [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP requests, and will be so encoded (with padding) in responses. The base64 encoding should be of the binary byte-stream and not any textual (such as hex) representation thereof. Required.",
- "format": "byte",
- "type": "string"
- }
- },
- "type": "object"
- },
- "LatLng": {
- "description": "An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges. Example of normalization code in Python: def NormalizeLongitude(longitude): \"\"\"Wraps decimal degrees longitude to [-180.0, 180.0].\"\"\" q, r = divmod(longitude, 360.0) if r > 180.0 or (r == 180.0 and q <= -1.0): return r - 360.0 return r def NormalizeLatLng(latitude, longitude): \"\"\"Wraps decimal degrees latitude and longitude to [-90.0, 90.0] and [-180.0, 180.0], respectively.\"\"\" r = latitude % 360.0 if r = 270.0: return r - 360, NormalizeLongitude(longitude) else: return 180 - r, NormalizeLongitude(longitude + 180.0) assert 180.0 == NormalizeLongitude(180.0) assert -180.0 == NormalizeLongitude(-180.0) assert -179.0 == NormalizeLongitude(181.0) assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0) assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0) assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0) assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0) assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0) assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)",
- "id": "LatLng",
- "properties": {
- "latitude": {
- "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].",
- "format": "double",
- "type": "number"
- },
- "longitude": {
- "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].",
- "format": "double",
- "type": "number"
}
},
"type": "object"
},
"IndoorLevel": {
- "description": "Indoor level, a human-readable string as returned by Google Maps APIs, useful to indicate which floor of a building a beacon is located on.",
+ "description": "Indoor level, a human-readable string as returned by Google Maps APIs,\nuseful to indicate which floor of a building a beacon is located on.",
"id": "IndoorLevel",
"properties": {
"name": {
@@ -713,111 +813,22 @@
},
"type": "object"
},
- "EphemeralIdRegistration": {
- "description": "Write-only registration parameters for beacons using Eddystone-EID format. Two ways of securely registering an Eddystone-EID beacon with the service are supported: 1. Perform an ECDH key exchange via this API, including a previous call to `GET /v1beta1/eidparams`. In this case the fields `beacon_ecdh_public_key` and `service_ecdh_public_key` should be populated and `beacon_identity_key` should not be populated. This method ensures that only the two parties in the ECDH key exchange can compute the identity key, which becomes a secret between them. 2. Derive or obtain the beacon's identity key via other secure means (perhaps an ECDH key exchange between the beacon and a mobile device or any other secure method), and then submit the resulting identity key to the service. In this case `beacon_identity_key` field should be populated, and neither of `beacon_ecdh_public_key` nor `service_ecdh_public_key` fields should be. The security of this method depends on how securely the parties involved (in particular the bluetooth client) handle the identity key, and obviously on how securely the identity key was generated. See [the Eddystone specification](https://github.com/google/eddystone/tree/master/eddystone-eid) at GitHub.",
- "id": "EphemeralIdRegistration",
+ "Date": {
+ "description": "Represents a whole calendar date, e.g. date of birth. The time of day and\ntime zone are either specified elsewhere or are not significant. The date\nis relative to the Proleptic Gregorian Calendar. The day may be 0 to\nrepresent a year and month where the day is not significant, e.g. credit card\nexpiration date. The year may be 0 to represent a month and day independent\nof year, e.g. anniversary date. Related types are google.type.TimeOfDay\nand `google.protobuf.Timestamp`.",
+ "id": "Date",
"properties": {
- "beaconEcdhPublicKey": {
- "description": "The beacon's public key used for the Elliptic curve Diffie-Hellman key exchange. When this field is populated, `service_ecdh_public_key` must also be populated, and `beacon_identity_key` must not be.",
- "format": "byte",
- "type": "string"
- },
- "serviceEcdhPublicKey": {
- "description": "The service's public key used for the Elliptic curve Diffie-Hellman key exchange. When this field is populated, `beacon_ecdh_public_key` must also be populated, and `beacon_identity_key` must not be.",
- "format": "byte",
- "type": "string"
- },
- "beaconIdentityKey": {
- "description": "The private key of the beacon. If this field is populated, `beacon_ecdh_public_key` and `service_ecdh_public_key` must not be populated.",
- "format": "byte",
- "type": "string"
- },
- "rotationPeriodExponent": {
- "description": "Indicates the nominal period between each rotation of the beacon's ephemeral ID. \"Nominal\" because the beacon should randomize the actual interval. See [the spec at github](https://github.com/google/eddystone/tree/master/eddystone-eid) for details. This value corresponds to a power-of-two scaler on the beacon's clock: when the scaler value is K, the beacon will begin broadcasting a new ephemeral ID on average every 2^K seconds.",
- "format": "uint32",
+ "month": {
+ "description": "Month of year. Must be from 1 to 12.",
+ "format": "int32",
"type": "integer"
},
- "initialClockValue": {
- "description": "The initial clock value of the beacon. The beacon's clock must have begun counting at this value immediately prior to transmitting this value to the resolving service. Significant delay in transmitting this value to the service risks registration or resolution failures. If a value is not provided, the default is zero.",
- "format": "uint64",
- "type": "string"
+ "year": {
+ "description": "Year of date. Must be from 1 to 9999, or 0 if specifying a date without\na year.",
+ "format": "int32",
+ "type": "integer"
},
- "initialEid": {
- "description": "An initial ephemeral ID calculated using the clock value submitted as `initial_clock_value`, and the secret key generated by the Diffie-Hellman key exchange using `service_ecdh_public_key` and `service_ecdh_public_key`. This initial EID value will be used by the service to confirm that the key exchange process was successful.",
- "format": "byte",
- "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); } The JSON representation for `Empty` is empty JSON object `{}`.",
- "id": "Empty",
- "type": "object"
- },
- "ListBeaconsResponse": {
- "description": "Response that contains list beacon results and pagination help.",
- "id": "ListBeaconsResponse",
- "properties": {
- "beacons": {
- "description": "The beacons that matched the search criteria.",
- "items": {
- "$ref": "Beacon"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "An opaque pagination token that the client may provide in their next request to retrieve the next page of results.",
- "type": "string"
- },
- "totalCount": {
- "description": "Estimate of the total number of beacons matched by the query. Higher values may be less accurate.",
- "format": "int64",
- "type": "string"
- }
- },
- "type": "object"
- },
- "BeaconAttachment": {
- "description": "Project-specific data associated with a beacon.",
- "id": "BeaconAttachment",
- "properties": {
- "attachmentName": {
- "description": "Resource name of this attachment. Attachment names have the format: beacons/beacon_id/attachments/attachment_id. Leave this empty on creation.",
- "type": "string"
- },
- "namespacedType": {
- "description": "Specifies what kind of attachment this is. Tells a client how to interpret the `data` field. Format is namespace/type. Namespace provides type separation between clients. Type describes the type of `data`, for use by the client when parsing the `data` field. Required.",
- "type": "string"
- },
- "data": {
- "description": "An opaque data container for client-provided data. Must be [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP requests, and will be so encoded (with padding) in responses. Required.",
- "format": "byte",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListBeaconAttachmentsResponse": {
- "description": "Response to ListBeaconAttachments that contains the requested attachments.",
- "id": "ListBeaconAttachmentsResponse",
- "properties": {
- "attachments": {
- "description": "The attachments that corresponded to the request params.",
- "items": {
- "$ref": "BeaconAttachment"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "DeleteAttachmentsResponse": {
- "description": "Response for a request to delete attachments.",
- "id": "DeleteAttachmentsResponse",
- "properties": {
- "numDeleted": {
- "description": "The number of attachments that were deleted.",
+ "day": {
+ "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0\nif specifying a year/month where the day is not significant.",
"format": "int32",
"type": "integer"
}
@@ -838,61 +849,24 @@
},
"type": "object"
},
- "Namespace": {
- "description": "An attachment namespace defines read and write access for all the attachments created under it. Each namespace is globally unique, and owned by one project which is the only project that can create attachments under it.",
- "id": "Namespace",
+ "ListBeaconsResponse": {
+ "description": "Response that contains list beacon results and pagination help.",
+ "id": "ListBeaconsResponse",
"properties": {
- "namespaceName": {
- "description": "Resource name of this namespace. Namespaces names have the format: namespaces/namespace.",
+ "nextPageToken": {
+ "description": "An opaque pagination token that the client may provide in their next\nrequest to retrieve the next page of results.",
"type": "string"
},
- "servingVisibility": {
- "description": "Specifies what clients may receive attachments under this namespace via `beaconinfo.getforobserved`.",
- "enum": [
- "VISIBILITY_UNSPECIFIED",
- "UNLISTED",
- "PUBLIC"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "EphemeralIdRegistrationParams": {
- "description": "Information a client needs to provision and register beacons that broadcast Eddystone-EID format beacon IDs, using Elliptic curve Diffie-Hellman key exchange. See [the Eddystone specification](https://github.com/google/eddystone/tree/master/eddystone-eid) at GitHub.",
- "id": "EphemeralIdRegistrationParams",
- "properties": {
- "serviceEcdhPublicKey": {
- "description": "The beacon service's public key for use by a beacon to derive its Identity Key using Elliptic Curve Diffie-Hellman key exchange.",
- "format": "byte",
- "type": "string"
- },
- "minRotationPeriodExponent": {
- "description": "Indicates the minimum rotation period supported by the service. See EddystoneEidRegistration.rotation_period_exponent",
- "format": "uint32",
- "type": "integer"
- },
- "maxRotationPeriodExponent": {
- "description": "Indicates the maximum rotation period supported by the service. See EddystoneEidRegistration.rotation_period_exponent",
- "format": "uint32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "ListDiagnosticsResponse": {
- "description": "Response that contains the requested diagnostics.",
- "id": "ListDiagnosticsResponse",
- "properties": {
- "diagnostics": {
- "description": "The diagnostics matching the given request.",
+ "beacons": {
+ "description": "The beacons that matched the search criteria.",
"items": {
- "$ref": "Diagnostics"
+ "$ref": "Beacon"
},
"type": "array"
},
- "nextPageToken": {
- "description": "Token that can be used for pagination. Returned only if the request matches more beacons than can be returned in this response.",
+ "totalCount": {
+ "description": "Estimate of the total number of beacons matched by the query. Higher\nvalues may be less accurate.",
+ "format": "int64",
"type": "string"
}
},
@@ -903,19 +877,15 @@
"id": "Diagnostics",
"properties": {
"beaconName": {
- "description": "Resource name of the beacon. For Eddystone-EID beacons, this may be the beacon's current EID, or the beacon's \"stable\" Eddystone-UID.",
+ "description": "Resource name of the beacon. For Eddystone-EID beacons, this may\nbe the beacon's current EID, or the beacon's \"stable\" Eddystone-UID.",
"type": "string"
},
- "estimatedLowBatteryDate": {
- "$ref": "Date",
- "description": "The date when the battery is expected to be low. If the value is missing then there is no estimate for when the battery will be low. This value is only an estimate, not an exact date."
- },
"alerts": {
"description": "An unordered list of Alerts that the beacon has.",
"enumDescriptions": [
"Invalid value. Should never appear.",
- "The beacon has been reported in a location different than its registered location. This may indicate that the beacon has been moved. This signal is not 100% accurate, but indicates that further investigation is worth while.",
- "The battery level for the beacon is low enough that, given the beacon's current use, its battery will run out with in the next 60 days. This indicates that the battery should be replaced soon."
+ "The beacon has been reported in a location different than its registered\nlocation. This may indicate that the beacon has been moved. This signal\nis not 100% accurate, but indicates that further investigation is worth\nwhile.",
+ "The battery level for the beacon is low enough that, given the beacon's\ncurrent use, its battery will run out with in the next 60 days. This\nindicates that the battery should be replaced soon."
],
"items": {
"enum": [
@@ -926,45 +896,27 @@
"type": "string"
},
"type": "array"
- }
- },
- "type": "object"
- },
- "Date": {
- "description": "Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.",
- "id": "Date",
- "properties": {
- "year": {
- "description": "Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.",
- "format": "int32",
- "type": "integer"
},
- "month": {
- "description": "Month of year. Must be from 1 to 12.",
- "format": "int32",
- "type": "integer"
- },
- "day": {
- "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not significant.",
- "format": "int32",
- "type": "integer"
+ "estimatedLowBatteryDate": {
+ "$ref": "Date",
+ "description": "The date when the battery is expected to be low. If the value is missing\nthen there is no estimate for when the battery will be low.\nThis value is only an estimate, not an exact date."
}
},
"type": "object"
},
"GetInfoForObservedBeaconsRequest": {
- "description": "Request for beacon and attachment information about beacons that a mobile client has encountered \"in the wild\".",
+ "description": "Request for beacon and attachment information about beacons that\na mobile client has encountered \"in the wild\".",
"id": "GetInfoForObservedBeaconsRequest",
"properties": {
"observations": {
- "description": "The beacons that the client has encountered. At least one must be given.",
+ "description": "The beacons that the client has encountered.\nAt least one must be given.",
"items": {
"$ref": "Observation"
},
"type": "array"
},
"namespacedTypes": {
- "description": "Specifies what kind of attachments to include in the response. When given, the response will include only attachments of the given types. When empty, no attachments will be returned. Must be in the format namespace/type. Accepts `*` to specify all types in all namespaces. Optional.",
+ "description": "Specifies what kind of attachments to include in the response.\nWhen given, the response will include only attachments of the given types.\nWhen empty, no attachments will be returned. Must be in the format\n<var>namespace/type</var>. Accepts `*` to specify all types in\nall namespaces owned by the client.\nOptional.",
"items": {
"type": "string"
},
@@ -973,54 +925,144 @@
},
"type": "object"
},
- "Observation": {
- "description": "Represents one beacon observed once.",
- "id": "Observation",
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
+ "BeaconAttachment": {
+ "description": "Project-specific data associated with a beacon.",
+ "id": "BeaconAttachment",
"properties": {
- "advertisedId": {
- "$ref": "AdvertisedId",
- "description": "The ID advertised by the beacon the client has encountered. Clients may submit an Eddystone-EID `advertised_id`. If the client is not authorized to resolve the given Eddystone-EID, no data will be returned for that beacon. Required."
+ "namespacedType": {
+ "description": "Specifies what kind of attachment this is. Tells a client how to\ninterpret the `data` field. Format is <var>namespace/type</var>. Namespace\nprovides type separation between clients. Type describes the type of\n`data`, for use by the client when parsing the `data` field.\nRequired.",
+ "type": "string"
},
- "telemetry": {
- "description": "The array of telemetry bytes received from the beacon. The server is responsible for parsing it. This field may frequently be empty, as with a beacon that transmits telemetry only occasionally.",
+ "data": {
+ "description": "An opaque data container for client-provided data. Must be\n[base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP\nrequests, and will be so encoded (with padding) in responses.\nRequired.",
"format": "byte",
"type": "string"
},
- "timestampMs": {
- "description": "Time when the beacon was observed.",
+ "creationTimeMs": {
+ "description": "The UTC time when this attachment was created, in milliseconds since the\nUNIX epoch.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "attachmentName": {
+ "description": "Resource name of this attachment. Attachment names have the format:\n<code>beacons/<var>beacon_id</var>/attachments/<var>attachment_id</var></code>.\nLeave this empty on creation.",
"type": "string"
}
},
"type": "object"
},
- "GetInfoForObservedBeaconsResponse": {
- "description": "Information about the requested beacons, optionally including attachment data.",
- "id": "GetInfoForObservedBeaconsResponse",
+ "EphemeralIdRegistration": {
+ "description": "Write-only registration parameters for beacons using Eddystone-EID format.\nTwo ways of securely registering an Eddystone-EID beacon with the service\nare supported:\n\n1. Perform an ECDH key exchange via this API, including a previous call\n to `GET /v1beta1/eidparams`. In this case the fields\n `beacon_ecdh_public_key` and `service_ecdh_public_key` should be\n populated and `beacon_identity_key` should not be populated. This\n method ensures that only the two parties in the ECDH key exchange can\n compute the identity key, which becomes a secret between them.\n2. Derive or obtain the beacon's identity key via other secure means\n (perhaps an ECDH key exchange between the beacon and a mobile device\n or any other secure method), and then submit the resulting identity key\n to the service. In this case `beacon_identity_key` field should be\n populated, and neither of `beacon_ecdh_public_key` nor\n `service_ecdh_public_key` fields should be. The security of this method\n depends on how securely the parties involved (in particular the\n bluetooth client) handle the identity key, and obviously on how\n securely the identity key was generated.\n\nSee [the Eddystone specification](https://github.com/google/eddystone/tree/master/eddystone-eid) at GitHub.",
+ "id": "EphemeralIdRegistration",
"properties": {
- "beacons": {
- "description": "Public information about beacons. May be empty if the request matched no beacons.",
+ "serviceEcdhPublicKey": {
+ "description": "The service's public key used for the Elliptic curve Diffie-Hellman\nkey exchange. When this field is populated, `beacon_ecdh_public_key`\nmust also be populated, and `beacon_identity_key` must not be.",
+ "format": "byte",
+ "type": "string"
+ },
+ "beaconIdentityKey": {
+ "description": "The private key of the beacon. If this field is populated,\n`beacon_ecdh_public_key` and `service_ecdh_public_key` must not be\npopulated.",
+ "format": "byte",
+ "type": "string"
+ },
+ "initialEid": {
+ "description": "An initial ephemeral ID calculated using the clock value submitted as\n`initial_clock_value`, and the secret key generated by the\nDiffie-Hellman key exchange using `service_ecdh_public_key` and\n`service_ecdh_public_key`. This initial EID value will be used by the\nservice to confirm that the key exchange process was successful.",
+ "format": "byte",
+ "type": "string"
+ },
+ "initialClockValue": {
+ "description": "The initial clock value of the beacon. The beacon's clock must have\nbegun counting at this value immediately prior to transmitting this\nvalue to the resolving service. Significant delay in transmitting this\nvalue to the service risks registration or resolution failures. If a\nvalue is not provided, the default is zero.",
+ "format": "uint64",
+ "type": "string"
+ },
+ "beaconEcdhPublicKey": {
+ "description": "The beacon's public key used for the Elliptic curve Diffie-Hellman\nkey exchange. When this field is populated, `service_ecdh_public_key`\nmust also be populated, and `beacon_identity_key` must not be.",
+ "format": "byte",
+ "type": "string"
+ },
+ "rotationPeriodExponent": {
+ "description": "Indicates the nominal period between each rotation of the beacon's\nephemeral ID. \"Nominal\" because the beacon should randomize the\nactual interval. See [the spec at github](https://github.com/google/eddystone/tree/master/eddystone-eid)\nfor details. This value corresponds to a power-of-two scaler on the\nbeacon's clock: when the scaler value is K, the beacon will begin\nbroadcasting a new ephemeral ID on average every 2^K seconds.",
+ "format": "uint32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "LatLng": {
+ "description": "An object representing a latitude/longitude pair. This is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n<a href=\"http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\">WGS84\nstandard</a>. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n\n def NormalizeLongitude(longitude):\n \"\"\"Wraps decimal degrees longitude to [-180.0, 180.0].\"\"\"\n q, r = divmod(longitude, 360.0)\n if r > 180.0 or (r == 180.0 and q <= -1.0):\n return r - 360.0\n return r\n\n def NormalizeLatLng(latitude, longitude):\n \"\"\"Wraps decimal degrees latitude and longitude to\n [-90.0, 90.0] and [-180.0, 180.0], respectively.\"\"\"\n r = latitude % 360.0\n if r <= 90.0:\n return r, NormalizeLongitude(longitude)\n elif r >= 270.0:\n return r - 360, NormalizeLongitude(longitude)\n else:\n return 180 - r, NormalizeLongitude(longitude + 180.0)\n\n assert 180.0 == NormalizeLongitude(180.0)\n assert -180.0 == NormalizeLongitude(-180.0)\n assert -179.0 == NormalizeLongitude(181.0)\n assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)\n assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)\n assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)\n assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)\n\nThe code in logs/storage/validator/logs_validator_traits.cc treats this type\nas if it were annotated as ST_LOCATION.",
+ "id": "LatLng",
+ "properties": {
+ "latitude": {
+ "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].",
+ "format": "double",
+ "type": "number"
+ },
+ "longitude": {
+ "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].",
+ "format": "double",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "ListBeaconAttachmentsResponse": {
+ "description": "Response to `ListBeaconAttachments` that contains the requested attachments.",
+ "id": "ListBeaconAttachmentsResponse",
+ "properties": {
+ "attachments": {
+ "description": "The attachments that corresponded to the request params.",
"items": {
- "$ref": "BeaconInfo"
+ "$ref": "BeaconAttachment"
},
"type": "array"
}
},
"type": "object"
},
+ "Namespace": {
+ "description": "An attachment namespace defines read and write access for all the attachments\ncreated under it. Each namespace is globally unique, and owned by one\nproject which is the only project that can create attachments under it.",
+ "id": "Namespace",
+ "properties": {
+ "servingVisibility": {
+ "description": "Specifies what clients may receive attachments under this namespace\nvia `beaconinfo.getforobserved`.",
+ "enum": [
+ "VISIBILITY_UNSPECIFIED",
+ "UNLISTED",
+ "PUBLIC"
+ ],
+ "enumDescriptions": [
+ "Do not use this value.",
+ "Served only to the project that owns the namespace.",
+ "Any project can subscribe to attachments under the namespace."
+ ],
+ "type": "string"
+ },
+ "namespaceName": {
+ "description": "Resource name of this namespace. Namespaces names have the format:\n<code>namespaces/<var>namespace</var></code>.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"BeaconInfo": {
- "description": "A subset of beacon information served via the `beaconinfo.getforobserved` method, which you call when users of your app encounter your beacons.",
+ "description": "A subset of beacon information served via the `beaconinfo.getforobserved`\nmethod, which you call when users of your app encounter your beacons.",
"id": "BeaconInfo",
"properties": {
- "advertisedId": {
- "$ref": "AdvertisedId",
- "description": "The ID advertised by the beacon."
- },
"beaconName": {
"description": "The name under which the beacon is registered.",
"type": "string"
},
+ "advertisedId": {
+ "$ref": "AdvertisedId",
+ "description": "The ID advertised by the beacon."
+ },
"attachments": {
- "description": "Attachments matching the type(s) requested. May be empty if no attachment types were requested, or if none matched.",
+ "description": "Attachments matching the type(s) requested.\nMay be empty if no attachment types were requested.",
"items": {
"$ref": "AttachmentInfo"
},
@@ -1030,17 +1072,51 @@
"type": "object"
},
"AttachmentInfo": {
- "description": "A subset of attachment information served via the `beaconinfo.getforobserved` method, used when your users encounter your beacons.",
+ "description": "A subset of attachment information served via the\n`beaconinfo.getforobserved` method, used when your users encounter your\nbeacons.",
"id": "AttachmentInfo",
"properties": {
- "namespacedType": {
- "description": "Specifies what kind of attachment this is. Tells a client how to interpret the `data` field. Format is namespace/type, for example scrupulous-wombat-12345/welcome-message",
- "type": "string"
- },
"data": {
"description": "An opaque data container for client-provided data.",
"format": "byte",
"type": "string"
+ },
+ "namespacedType": {
+ "description": "Specifies what kind of attachment this is. Tells a client how to\ninterpret the `data` field. Format is <var>namespace/type</var>, for\nexample <code>scrupulous-wombat-12345/welcome-message</code>",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DeleteAttachmentsResponse": {
+ "description": "Response for a request to delete attachments.",
+ "id": "DeleteAttachmentsResponse",
+ "properties": {
+ "numDeleted": {
+ "description": "The number of attachments that were deleted.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "EphemeralIdRegistrationParams": {
+ "description": "Information a client needs to provision and register beacons that\nbroadcast Eddystone-EID format beacon IDs, using Elliptic curve\nDiffie-Hellman key exchange. See\n[the Eddystone specification](https://github.com/google/eddystone/tree/master/eddystone-eid) at GitHub.",
+ "id": "EphemeralIdRegistrationParams",
+ "properties": {
+ "minRotationPeriodExponent": {
+ "description": "Indicates the minimum rotation period supported by the service.\nSee EddystoneEidRegistration.rotation_period_exponent",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "maxRotationPeriodExponent": {
+ "description": "Indicates the maximum rotation period supported by the service.\nSee EddystoneEidRegistration.rotation_period_exponent",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "serviceEcdhPublicKey": {
+ "description": "The beacon service's public key for use by a beacon to derive its\nIdentity Key using Elliptic Curve Diffie-Hellman key exchange.",
+ "format": "byte",
+ "type": "string"
}
},
"type": "object"
diff --git a/discovery/googleapis_beta/pubsub__v1beta2.json b/discovery/googleapis_beta/pubsub__v1beta2.json
index dea711f..4f99f9c 100644
--- a/discovery/googleapis_beta/pubsub__v1beta2.json
+++ b/discovery/googleapis_beta/pubsub__v1beta2.json
@@ -2,11 +2,11 @@
"auth": {
"oauth2": {
"scopes": {
- "https://www.googleapis.com/auth/cloud-platform": {
- "description": "View and manage your data across Google Cloud Platform services"
- },
"https://www.googleapis.com/auth/pubsub": {
"description": "View and manage Pub/Sub topics and subscriptions"
+ },
+ "https://www.googleapis.com/auth/cloud-platform": {
+ "description": "View and manage your data across Google Cloud Platform services"
}
}
}
@@ -28,71 +28,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "bearer_token": {
- "description": "OAuth bearer token.",
- "location": "query",
- "type": "string"
- },
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
- },
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
- "$.xgafv": {
- "description": "V1 error format.",
- "enum": [
- "1",
- "2"
- ],
- "enumDescriptions": [
- "v1 error format",
- "v2 error format"
- ],
- "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"
- },
"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",
@@ -113,406 +48,79 @@
"description": "Pretty-print response.",
"location": "query",
"type": "boolean"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "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"
}
},
"protocol": "rest",
"resources": {
"projects": {
"resources": {
- "subscriptions": {
- "methods": {
- "acknowledge": {
- "description": "Acknowledges the messages associated with the `ack_ids` in the\n`AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages\nfrom the subscription.\n\nAcknowledging a message whose ack deadline has expired may succeed,\nbut such a message may be redelivered later. Acknowledging a message more\nthan once will not result in an error.",
- "httpMethod": "POST",
- "id": "pubsub.projects.subscriptions.acknowledge",
- "parameterOrder": [
- "subscription"
- ],
- "parameters": {
- "subscription": {
- "description": "The subscription whose message is being acknowledged.",
- "location": "path",
- "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta2/{+subscription}:acknowledge",
- "request": {
- "$ref": "AcknowledgeRequest"
- },
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/pubsub"
- ]
- },
- "modifyAckDeadline": {
- "description": "Modifies the ack deadline for a specific message. This method is useful\nto indicate that more time is needed to process a message by the\nsubscriber, or to make the message available for redelivery if the\nprocessing was interrupted. Note that this does not modify the\nsubscription-level `ackDeadlineSeconds` used for subsequent messages.",
- "httpMethod": "POST",
- "id": "pubsub.projects.subscriptions.modifyAckDeadline",
- "parameterOrder": [
- "subscription"
- ],
- "parameters": {
- "subscription": {
- "description": "The name of the subscription.",
- "location": "path",
- "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta2/{+subscription}:modifyAckDeadline",
- "request": {
- "$ref": "ModifyAckDeadlineRequest"
- },
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/pubsub"
- ]
- },
- "getIamPolicy": {
- "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.",
- "httpMethod": "GET",
- "id": "pubsub.projects.subscriptions.getIamPolicy",
- "parameterOrder": [
- "resource"
- ],
- "parameters": {
- "resource": {
- "description": "REQUIRED: The resource for which the policy is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
- "location": "path",
- "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta2/{+resource}:getIamPolicy",
- "response": {
- "$ref": "Policy"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/pubsub"
- ]
- },
- "get": {
- "description": "Gets the configuration details of a subscription.",
- "httpMethod": "GET",
- "id": "pubsub.projects.subscriptions.get",
- "parameterOrder": [
- "subscription"
- ],
- "parameters": {
- "subscription": {
- "description": "The name of the subscription to get.",
- "location": "path",
- "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta2/{+subscription}",
- "response": {
- "$ref": "Subscription"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/pubsub"
- ]
- },
- "testIamPermissions": {
- "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
- "httpMethod": "POST",
- "id": "pubsub.projects.subscriptions.testIamPermissions",
- "parameterOrder": [
- "resource"
- ],
- "parameters": {
- "resource": {
- "description": "REQUIRED: The resource for which the policy detail is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
- "location": "path",
- "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta2/{+resource}:testIamPermissions",
- "request": {
- "$ref": "TestIamPermissionsRequest"
- },
- "response": {
- "$ref": "TestIamPermissionsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/pubsub"
- ]
- },
- "modifyPushConfig": {
- "description": "Modifies the `PushConfig` for a specified subscription.\n\nThis may be used to change a push subscription to a pull one (signified by\nan empty `PushConfig`) or vice versa, or change the endpoint URL and other\nattributes of a push subscription. Messages will accumulate for delivery\ncontinuously through the call regardless of changes to the `PushConfig`.",
- "httpMethod": "POST",
- "id": "pubsub.projects.subscriptions.modifyPushConfig",
- "parameterOrder": [
- "subscription"
- ],
- "parameters": {
- "subscription": {
- "description": "The name of the subscription.",
- "location": "path",
- "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta2/{+subscription}:modifyPushConfig",
- "request": {
- "$ref": "ModifyPushConfigRequest"
- },
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/pubsub"
- ]
- },
- "delete": {
- "description": "Deletes an existing subscription. All pending messages in the subscription\nare immediately dropped. Calls to `Pull` after deletion will return\n`NOT_FOUND`. After a subscription is deleted, a new one may be created with\nthe same name, but the new one has no association with the old\nsubscription, or its topic unless the same topic is specified.",
- "httpMethod": "DELETE",
- "id": "pubsub.projects.subscriptions.delete",
- "parameterOrder": [
- "subscription"
- ],
- "parameters": {
- "subscription": {
- "description": "The subscription to delete.",
- "location": "path",
- "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta2/{+subscription}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/pubsub"
- ]
- },
- "pull": {
- "description": "Pulls messages from the server. Returns an empty list if there are no\nmessages available in the backlog. The server may return `UNAVAILABLE` if\nthere are too many concurrent pull requests pending for the given\nsubscription.",
- "httpMethod": "POST",
- "id": "pubsub.projects.subscriptions.pull",
- "parameterOrder": [
- "subscription"
- ],
- "parameters": {
- "subscription": {
- "description": "The subscription from which messages should be pulled.",
- "location": "path",
- "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta2/{+subscription}:pull",
- "request": {
- "$ref": "PullRequest"
- },
- "response": {
- "$ref": "PullResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/pubsub"
- ]
- },
- "list": {
- "description": "Lists matching subscriptions.",
- "httpMethod": "GET",
- "id": "pubsub.projects.subscriptions.list",
- "parameterOrder": [
- "project"
- ],
- "parameters": {
- "pageToken": {
- "description": "The value returned by the last `ListSubscriptionsResponse`; indicates that\nthis is a continuation of a prior `ListSubscriptions` call, and that the\nsystem should return the next page of data.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Maximum number of subscriptions to return.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "project": {
- "description": "The name of the cloud project that subscriptions belong to.",
- "location": "path",
- "pattern": "^projects/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta2/{+project}/subscriptions",
- "response": {
- "$ref": "ListSubscriptionsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/pubsub"
- ]
- },
- "create": {
- "description": "Creates a subscription to a given topic.\nIf the subscription already exists, returns `ALREADY_EXISTS`.\nIf the corresponding topic doesn't exist, returns `NOT_FOUND`.\n\nIf the name is not provided in the request, the server will assign a random\nname for this subscription on the same project as the topic. Note that\nfor REST API requests, you must specify a name.",
- "httpMethod": "PUT",
- "id": "pubsub.projects.subscriptions.create",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`.",
- "location": "path",
- "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta2/{+name}",
- "request": {
- "$ref": "Subscription"
- },
- "response": {
- "$ref": "Subscription"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/pubsub"
- ]
- },
- "setIamPolicy": {
- "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.",
- "httpMethod": "POST",
- "id": "pubsub.projects.subscriptions.setIamPolicy",
- "parameterOrder": [
- "resource"
- ],
- "parameters": {
- "resource": {
- "description": "REQUIRED: The resource for which the policy is being specified.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
- "location": "path",
- "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta2/{+resource}:setIamPolicy",
- "request": {
- "$ref": "SetIamPolicyRequest"
- },
- "response": {
- "$ref": "Policy"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/pubsub"
- ]
- }
- }
- },
"topics": {
"methods": {
- "publish": {
- "description": "Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic\ndoes not exist. The message payload must not be empty; it must contain\n either a non-empty data field, or at least one attribute.",
- "httpMethod": "POST",
- "id": "pubsub.projects.topics.publish",
- "parameterOrder": [
- "topic"
- ],
- "parameters": {
- "topic": {
- "description": "The messages in the request will be published on this topic.",
- "location": "path",
- "pattern": "^projects/[^/]+/topics/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta2/{+topic}:publish",
- "request": {
- "$ref": "PublishRequest"
- },
- "response": {
- "$ref": "PublishResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/pubsub"
- ]
- },
- "testIamPermissions": {
- "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
- "httpMethod": "POST",
- "id": "pubsub.projects.topics.testIamPermissions",
- "parameterOrder": [
- "resource"
- ],
- "parameters": {
- "resource": {
- "description": "REQUIRED: The resource for which the policy detail is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
- "location": "path",
- "pattern": "^projects/[^/]+/topics/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta2/{+resource}:testIamPermissions",
- "request": {
- "$ref": "TestIamPermissionsRequest"
- },
- "response": {
- "$ref": "TestIamPermissionsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/pubsub"
- ]
- },
- "delete": {
- "description": "Deletes the topic with the given name. Returns `NOT_FOUND` if the topic\ndoes not exist. After a topic is deleted, a new topic may be created with\nthe same name; this is an entirely new topic with none of the old\nconfiguration or subscriptions. Existing subscriptions to this topic are\nnot deleted, but their `topic` field is set to `_deleted-topic_`.",
- "httpMethod": "DELETE",
- "id": "pubsub.projects.topics.delete",
- "parameterOrder": [
- "topic"
- ],
- "parameters": {
- "topic": {
- "description": "Name of the topic to delete.",
- "location": "path",
- "pattern": "^projects/[^/]+/topics/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta2/{+topic}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/pubsub"
- ]
- },
"list": {
"description": "Lists matching topics.",
"httpMethod": "GET",
@@ -558,7 +166,7 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy is being specified.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
+ "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/topics/[^/]+$",
"required": true,
@@ -614,7 +222,7 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
+ "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/topics/[^/]+$",
"required": true,
@@ -654,6 +262,87 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/pubsub"
]
+ },
+ "publish": {
+ "description": "Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic\ndoes not exist. The message payload must not be empty; it must contain\n either a non-empty data field, or at least one attribute.",
+ "httpMethod": "POST",
+ "id": "pubsub.projects.topics.publish",
+ "parameterOrder": [
+ "topic"
+ ],
+ "parameters": {
+ "topic": {
+ "description": "The messages in the request will be published on this topic.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/topics/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+topic}:publish",
+ "request": {
+ "$ref": "PublishRequest"
+ },
+ "response": {
+ "$ref": "PublishResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/pubsub"
+ ]
+ },
+ "testIamPermissions": {
+ "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
+ "httpMethod": "POST",
+ "id": "pubsub.projects.topics.testIamPermissions",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/topics/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+resource}:testIamPermissions",
+ "request": {
+ "$ref": "TestIamPermissionsRequest"
+ },
+ "response": {
+ "$ref": "TestIamPermissionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/pubsub"
+ ]
+ },
+ "delete": {
+ "description": "Deletes the topic with the given name. Returns `NOT_FOUND` if the topic\ndoes not exist. After a topic is deleted, a new topic may be created with\nthe same name; this is an entirely new topic with none of the old\nconfiguration or subscriptions. Existing subscriptions to this topic are\nnot deleted, but their `topic` field is set to `_deleted-topic_`.",
+ "httpMethod": "DELETE",
+ "id": "pubsub.projects.topics.delete",
+ "parameterOrder": [
+ "topic"
+ ],
+ "parameters": {
+ "topic": {
+ "description": "Name of the topic to delete.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/topics/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+topic}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/pubsub"
+ ]
}
},
"resources": {
@@ -667,11 +356,6 @@
"topic"
],
"parameters": {
- "pageToken": {
- "description": "The value returned by the last `ListTopicSubscriptionsResponse`; indicates\nthat this is a continuation of a prior `ListTopicSubscriptions` call, and\nthat the system should return the next page of data.",
- "location": "query",
- "type": "string"
- },
"pageSize": {
"description": "Maximum number of subscription names to return.",
"format": "int32",
@@ -684,6 +368,11 @@
"pattern": "^projects/[^/]+/topics/[^/]+$",
"required": true,
"type": "string"
+ },
+ "pageToken": {
+ "description": "The value returned by the last `ListTopicSubscriptionsResponse`; indicates\nthat this is a continuation of a prior `ListTopicSubscriptions` call, and\nthat the system should return the next page of data.",
+ "location": "query",
+ "type": "string"
}
},
"path": "v1beta2/{+topic}/subscriptions",
@@ -698,306 +387,336 @@
}
}
}
+ },
+ "subscriptions": {
+ "methods": {
+ "get": {
+ "description": "Gets the configuration details of a subscription.",
+ "httpMethod": "GET",
+ "id": "pubsub.projects.subscriptions.get",
+ "parameterOrder": [
+ "subscription"
+ ],
+ "parameters": {
+ "subscription": {
+ "description": "The name of the subscription to get.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+subscription}",
+ "response": {
+ "$ref": "Subscription"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/pubsub"
+ ]
+ },
+ "testIamPermissions": {
+ "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
+ "httpMethod": "POST",
+ "id": "pubsub.projects.subscriptions.testIamPermissions",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+resource}:testIamPermissions",
+ "request": {
+ "$ref": "TestIamPermissionsRequest"
+ },
+ "response": {
+ "$ref": "TestIamPermissionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/pubsub"
+ ]
+ },
+ "modifyPushConfig": {
+ "description": "Modifies the `PushConfig` for a specified subscription.\n\nThis may be used to change a push subscription to a pull one (signified by\nan empty `PushConfig`) or vice versa, or change the endpoint URL and other\nattributes of a push subscription. Messages will accumulate for delivery\ncontinuously through the call regardless of changes to the `PushConfig`.",
+ "httpMethod": "POST",
+ "id": "pubsub.projects.subscriptions.modifyPushConfig",
+ "parameterOrder": [
+ "subscription"
+ ],
+ "parameters": {
+ "subscription": {
+ "description": "The name of the subscription.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+subscription}:modifyPushConfig",
+ "request": {
+ "$ref": "ModifyPushConfigRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/pubsub"
+ ]
+ },
+ "pull": {
+ "description": "Pulls messages from the server. Returns an empty list if there are no\nmessages available in the backlog. The server may return `UNAVAILABLE` if\nthere are too many concurrent pull requests pending for the given\nsubscription.",
+ "httpMethod": "POST",
+ "id": "pubsub.projects.subscriptions.pull",
+ "parameterOrder": [
+ "subscription"
+ ],
+ "parameters": {
+ "subscription": {
+ "description": "The subscription from which messages should be pulled.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+subscription}:pull",
+ "request": {
+ "$ref": "PullRequest"
+ },
+ "response": {
+ "$ref": "PullResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/pubsub"
+ ]
+ },
+ "delete": {
+ "description": "Deletes an existing subscription. All pending messages in the subscription\nare immediately dropped. Calls to `Pull` after deletion will return\n`NOT_FOUND`. After a subscription is deleted, a new one may be created with\nthe same name, but the new one has no association with the old\nsubscription, or its topic unless the same topic is specified.",
+ "httpMethod": "DELETE",
+ "id": "pubsub.projects.subscriptions.delete",
+ "parameterOrder": [
+ "subscription"
+ ],
+ "parameters": {
+ "subscription": {
+ "description": "The subscription to delete.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+subscription}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/pubsub"
+ ]
+ },
+ "list": {
+ "description": "Lists matching subscriptions.",
+ "httpMethod": "GET",
+ "id": "pubsub.projects.subscriptions.list",
+ "parameterOrder": [
+ "project"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "Maximum number of subscriptions to return.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "project": {
+ "description": "The name of the cloud project that subscriptions belong to.",
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "The value returned by the last `ListSubscriptionsResponse`; indicates that\nthis is a continuation of a prior `ListSubscriptions` call, and that the\nsystem should return the next page of data.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+project}/subscriptions",
+ "response": {
+ "$ref": "ListSubscriptionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/pubsub"
+ ]
+ },
+ "setIamPolicy": {
+ "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.",
+ "httpMethod": "POST",
+ "id": "pubsub.projects.subscriptions.setIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+resource}:setIamPolicy",
+ "request": {
+ "$ref": "SetIamPolicyRequest"
+ },
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/pubsub"
+ ]
+ },
+ "create": {
+ "description": "Creates a subscription to a given topic.\nIf the subscription already exists, returns `ALREADY_EXISTS`.\nIf the corresponding topic doesn't exist, returns `NOT_FOUND`.\n\nIf the name is not provided in the request, the server will assign a random\nname for this subscription on the same project as the topic. Note that\nfor REST API requests, you must specify a name.",
+ "httpMethod": "PUT",
+ "id": "pubsub.projects.subscriptions.create",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+name}",
+ "request": {
+ "$ref": "Subscription"
+ },
+ "response": {
+ "$ref": "Subscription"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/pubsub"
+ ]
+ },
+ "modifyAckDeadline": {
+ "description": "Modifies the ack deadline for a specific message. This method is useful\nto indicate that more time is needed to process a message by the\nsubscriber, or to make the message available for redelivery if the\nprocessing was interrupted. Note that this does not modify the\nsubscription-level `ackDeadlineSeconds` used for subsequent messages.",
+ "httpMethod": "POST",
+ "id": "pubsub.projects.subscriptions.modifyAckDeadline",
+ "parameterOrder": [
+ "subscription"
+ ],
+ "parameters": {
+ "subscription": {
+ "description": "The name of the subscription.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+subscription}:modifyAckDeadline",
+ "request": {
+ "$ref": "ModifyAckDeadlineRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/pubsub"
+ ]
+ },
+ "acknowledge": {
+ "description": "Acknowledges the messages associated with the `ack_ids` in the\n`AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages\nfrom the subscription.\n\nAcknowledging a message whose ack deadline has expired may succeed,\nbut such a message may be redelivered later. Acknowledging a message more\nthan once will not result in an error.",
+ "httpMethod": "POST",
+ "id": "pubsub.projects.subscriptions.acknowledge",
+ "parameterOrder": [
+ "subscription"
+ ],
+ "parameters": {
+ "subscription": {
+ "description": "The subscription whose message is being acknowledged.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+subscription}:acknowledge",
+ "request": {
+ "$ref": "AcknowledgeRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/pubsub"
+ ]
+ },
+ "getIamPolicy": {
+ "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.",
+ "httpMethod": "GET",
+ "id": "pubsub.projects.subscriptions.getIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/subscriptions/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta2/{+resource}:getIamPolicy",
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/pubsub"
+ ]
+ }
+ }
}
}
}
},
- "revision": "20170214",
+ "revision": "20170308",
"rootUrl": "https://pubsub.googleapis.com/",
"schemas": {
- "Subscription": {
- "description": "A subscription resource.",
- "id": "Subscription",
- "properties": {
- "pushConfig": {
- "$ref": "PushConfig",
- "description": "If push delivery is used with this subscription, this field is\nused to configure it. An empty `pushConfig` signifies that the subscriber\nwill pull and ack messages using API methods."
- },
- "ackDeadlineSeconds": {
- "description": "This value is the maximum time after a subscriber receives a message\nbefore the subscriber should acknowledge the message. After message\ndelivery but before the ack deadline expires and before the message is\nacknowledged, it is an outstanding message and will not be delivered\nagain during that time (on a best-effort basis).\n\nFor pull subscriptions, this value is used as the initial value for the ack\ndeadline. To override this value for a given message, call\n`ModifyAckDeadline` with the corresponding `ack_id` if using pull.\nThe maximum custom deadline you can specify is 600 seconds (10 minutes).\n\nFor push delivery, this value is also used to set the request timeout for\nthe call to the push endpoint.\n\nIf the subscriber never acknowledges the message, the Pub/Sub\nsystem will eventually redeliver the message.\n\nIf this parameter is 0, a default value of 10 seconds is used.",
- "format": "int32",
- "type": "integer"
- },
- "name": {
- "description": "The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`.",
- "type": "string"
- },
- "topic": {
- "description": "The name of the topic from which this subscription is receiving messages.\nThe value of this field will be `_deleted-topic_` if the topic has been\ndeleted.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "TestIamPermissionsRequest": {
- "description": "Request message for `TestIamPermissions` method.",
- "id": "TestIamPermissionsRequest",
- "properties": {
- "permissions": {
- "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Topic": {
- "description": "A topic resource.",
- "id": "Topic",
- "properties": {
- "name": {
- "description": "The name of the topic. It must have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust not start with `\"goog\"`.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Policy": {
- "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).",
- "id": "Policy",
- "properties": {
- "etag": {
- "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.",
- "format": "byte",
- "type": "string"
- },
- "version": {
- "description": "Version of the `Policy`. The default version is 0.",
- "format": "int32",
- "type": "integer"
- },
- "bindings": {
- "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.",
- "items": {
- "$ref": "Binding"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "ModifyAckDeadlineRequest": {
- "description": "Request for the ModifyAckDeadline method.",
- "id": "ModifyAckDeadlineRequest",
- "properties": {
- "ackId": {
- "description": "The acknowledgment ID. Either this or ack_ids must be populated, but not\nboth.",
- "type": "string"
- },
- "ackDeadlineSeconds": {
- "description": "The new ack deadline with respect to the time this request was sent to\nthe Pub/Sub system. Must be >= 0. For example, if the value is 10, the new\nack deadline will expire 10 seconds after the `ModifyAckDeadline` call\nwas made. Specifying zero may immediately make the message available for\nanother pull request.",
- "format": "int32",
- "type": "integer"
- },
- "ackIds": {
- "description": "List of acknowledgment IDs.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "SetIamPolicyRequest": {
- "description": "Request message for `SetIamPolicy` method.",
- "id": "SetIamPolicyRequest",
- "properties": {
- "policy": {
- "$ref": "Policy",
- "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
- }
- },
- "type": "object"
- },
- "PubsubMessage": {
- "description": "A message data and its attributes. The message payload must not be empty;\nit must contain either a non-empty data field, or at least one attribute.",
- "id": "PubsubMessage",
- "properties": {
- "attributes": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Optional attributes for this message.",
- "type": "object"
- },
- "messageId": {
- "description": "ID of this message, assigned by the server when the message is published.\nGuaranteed to be unique within the topic. This value may be read by a\nsubscriber that receives a `PubsubMessage` via a `Pull` call or a push\ndelivery. It must not be populated by the publisher in a `Publish` call.",
- "type": "string"
- },
- "publishTime": {
- "description": "The time at which the message was published, populated by the server when\nit receives the `Publish` call. It must not be populated by the\npublisher in a `Publish` call.",
- "format": "google-datetime",
- "type": "string"
- },
- "data": {
- "description": "The message payload. For JSON requests, the value of this field must be\n[base64-encoded](https://tools.ietf.org/html/rfc4648).",
- "format": "byte",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ModifyPushConfigRequest": {
- "description": "Request for the ModifyPushConfig method.",
- "id": "ModifyPushConfigRequest",
- "properties": {
- "pushConfig": {
- "$ref": "PushConfig",
- "description": "The push configuration for future deliveries.\n\nAn empty `pushConfig` indicates that the Pub/Sub system should\nstop pushing messages from the given subscription and allow\nmessages to be pulled and acknowledged - effectively pausing\nthe subscription if `Pull` is not called."
- }
- },
- "type": "object"
- },
- "Binding": {
- "description": "Associates `members` with a `role`.",
- "id": "Binding",
- "properties": {
- "members": {
- "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "role": {
- "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AcknowledgeRequest": {
- "description": "Request for the Acknowledge method.",
- "id": "AcknowledgeRequest",
- "properties": {
- "ackIds": {
- "description": "The acknowledgment ID for the messages being acknowledged that was returned\nby the Pub/Sub system in the `Pull` response. Must not be empty.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "Empty": {
- "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
- "id": "Empty",
- "properties": {},
- "type": "object"
- },
- "ListTopicsResponse": {
- "description": "Response for the `ListTopics` method.",
- "id": "ListTopicsResponse",
- "properties": {
- "nextPageToken": {
- "description": "If not empty, indicates that there may be more topics that match the\nrequest; this value should be passed in a new `ListTopicsRequest`.",
- "type": "string"
- },
- "topics": {
- "description": "The resulting topics.",
- "items": {
- "$ref": "Topic"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "ListTopicSubscriptionsResponse": {
- "description": "Response for the `ListTopicSubscriptions` method.",
- "id": "ListTopicSubscriptionsResponse",
- "properties": {
- "nextPageToken": {
- "description": "If not empty, indicates that there may be more subscriptions that match\nthe request; this value should be passed in a new\n`ListTopicSubscriptionsRequest` to get more subscriptions.",
- "type": "string"
- },
- "subscriptions": {
- "description": "The names of the subscriptions that match the request.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "PullResponse": {
- "description": "Response for the `Pull` method.",
- "id": "PullResponse",
- "properties": {
- "receivedMessages": {
- "description": "Received Pub/Sub messages. The Pub/Sub system will return zero messages if\nthere are no more available in the backlog. The Pub/Sub system may return\nfewer than the `maxMessages` requested even if there are more messages\navailable in the backlog.",
- "items": {
- "$ref": "ReceivedMessage"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "ReceivedMessage": {
- "description": "A message and its corresponding acknowledgment ID.",
- "id": "ReceivedMessage",
- "properties": {
- "message": {
- "$ref": "PubsubMessage",
- "description": "The message."
- },
- "ackId": {
- "description": "This ID can be used to acknowledge the received message.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "PushConfig": {
- "description": "Configuration for a push delivery endpoint.",
- "id": "PushConfig",
- "properties": {
- "pushEndpoint": {
- "description": "A URL locating the endpoint to which messages should be pushed.\nFor example, a Webhook endpoint might use \"https://example.com/push\".",
- "type": "string"
- },
- "attributes": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Endpoint configuration attributes.\n\nEvery endpoint has a set of API supported attributes that can be used to\ncontrol different aspects of the message delivery.\n\nThe currently supported attribute is `x-goog-version`, which you can\nuse to change the format of the push message. This attribute\nindicates the version of the data expected by the endpoint. This\ncontrols the shape of the envelope (i.e. its fields and metadata).\nThe endpoint version is based on the version of the Pub/Sub\nAPI.\n\nIf not present during the `CreateSubscription` call, it will default to\nthe version of the API used to make such call. If not present during a\n`ModifyPushConfig` call, its value will not be changed. `GetSubscription`\ncalls will always return a valid version, even if the subscription was\ncreated without this attribute.\n\nThe possible values for this attribute are:\n\n* `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API.\n* `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.",
- "type": "object"
- }
- },
- "type": "object"
- },
- "TestIamPermissionsResponse": {
- "description": "Response message for `TestIamPermissions` method.",
- "id": "TestIamPermissionsResponse",
- "properties": {
- "permissions": {
- "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"PullRequest": {
"description": "Request for the `Pull` method.",
"id": "PullRequest",
"properties": {
- "returnImmediately": {
- "description": "If this is specified as true the system will respond immediately even if\nit is not able to return a message in the `Pull` response. Otherwise the\nsystem is allowed to wait until at least one message is available rather\nthan returning no messages. The client may cancel the request if it does\nnot wish to wait any longer for the response.",
- "type": "boolean"
- },
"maxMessages": {
"description": "The maximum number of messages returned for this request. The Pub/Sub\nsystem may return fewer than the number specified.",
"format": "int32",
"type": "integer"
+ },
+ "returnImmediately": {
+ "description": "If this is specified as true the system will respond immediately even if\nit is not able to return a message in the `Pull` response. Otherwise the\nsystem is allowed to wait until at least one message is available rather\nthan returning no messages. The client may cancel the request if it does\nnot wish to wait any longer for the response.",
+ "type": "boolean"
}
},
"type": "object"
@@ -1047,6 +766,287 @@
}
},
"type": "object"
+ },
+ "Subscription": {
+ "description": "A subscription resource.",
+ "id": "Subscription",
+ "properties": {
+ "topic": {
+ "description": "The name of the topic from which this subscription is receiving messages.\nThe value of this field will be `_deleted-topic_` if the topic has been\ndeleted.",
+ "type": "string"
+ },
+ "pushConfig": {
+ "$ref": "PushConfig",
+ "description": "If push delivery is used with this subscription, this field is\nused to configure it. An empty `pushConfig` signifies that the subscriber\nwill pull and ack messages using API methods."
+ },
+ "ackDeadlineSeconds": {
+ "description": "This value is the maximum time after a subscriber receives a message\nbefore the subscriber should acknowledge the message. After message\ndelivery but before the ack deadline expires and before the message is\nacknowledged, it is an outstanding message and will not be delivered\nagain during that time (on a best-effort basis).\n\nFor pull subscriptions, this value is used as the initial value for the ack\ndeadline. To override this value for a given message, call\n`ModifyAckDeadline` with the corresponding `ack_id` if using pull.\nThe maximum custom deadline you can specify is 600 seconds (10 minutes).\n\nFor push delivery, this value is also used to set the request timeout for\nthe call to the push endpoint.\n\nIf the subscriber never acknowledges the message, the Pub/Sub\nsystem will eventually redeliver the message.\n\nIf this parameter is 0, a default value of 10 seconds is used.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "name": {
+ "description": "The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "TestIamPermissionsRequest": {
+ "description": "Request message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsRequest",
+ "properties": {
+ "permissions": {
+ "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Policy": {
+ "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).",
+ "id": "Policy",
+ "properties": {
+ "bindings": {
+ "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.",
+ "items": {
+ "$ref": "Binding"
+ },
+ "type": "array"
+ },
+ "etag": {
+ "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.",
+ "format": "byte",
+ "type": "string"
+ },
+ "version": {
+ "description": "Version of the `Policy`. The default version is 0.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "Topic": {
+ "description": "A topic resource.",
+ "id": "Topic",
+ "properties": {
+ "name": {
+ "description": "The name of the topic. It must have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust not start with `\"goog\"`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ModifyAckDeadlineRequest": {
+ "description": "Request for the ModifyAckDeadline method.",
+ "id": "ModifyAckDeadlineRequest",
+ "properties": {
+ "ackId": {
+ "description": "The acknowledgment ID. Either this or ack_ids must be populated, but not\nboth.",
+ "type": "string"
+ },
+ "ackDeadlineSeconds": {
+ "description": "The new ack deadline with respect to the time this request was sent to\nthe Pub/Sub system. Must be >= 0. For example, if the value is 10, the new\nack deadline will expire 10 seconds after the `ModifyAckDeadline` call\nwas made. Specifying zero may immediately make the message available for\nanother pull request.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "ackIds": {
+ "description": "List of acknowledgment IDs.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SetIamPolicyRequest": {
+ "description": "Request message for `SetIamPolicy` method.",
+ "id": "SetIamPolicyRequest",
+ "properties": {
+ "policy": {
+ "$ref": "Policy",
+ "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
+ }
+ },
+ "type": "object"
+ },
+ "PubsubMessage": {
+ "description": "A message data and its attributes. The message payload must not be empty;\nit must contain either a non-empty data field, or at least one attribute.",
+ "id": "PubsubMessage",
+ "properties": {
+ "data": {
+ "description": "The message payload. For JSON requests, the value of this field must be\n[base64-encoded](https://tools.ietf.org/html/rfc4648).",
+ "format": "byte",
+ "type": "string"
+ },
+ "attributes": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Optional attributes for this message.",
+ "type": "object"
+ },
+ "messageId": {
+ "description": "ID of this message, assigned by the server when the message is published.\nGuaranteed to be unique within the topic. This value may be read by a\nsubscriber that receives a `PubsubMessage` via a `Pull` call or a push\ndelivery. It must not be populated by the publisher in a `Publish` call.",
+ "type": "string"
+ },
+ "publishTime": {
+ "description": "The time at which the message was published, populated by the server when\nit receives the `Publish` call. It must not be populated by the\npublisher in a `Publish` call.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ModifyPushConfigRequest": {
+ "description": "Request for the ModifyPushConfig method.",
+ "id": "ModifyPushConfigRequest",
+ "properties": {
+ "pushConfig": {
+ "$ref": "PushConfig",
+ "description": "The push configuration for future deliveries.\n\nAn empty `pushConfig` indicates that the Pub/Sub system should\nstop pushing messages from the given subscription and allow\nmessages to be pulled and acknowledged - effectively pausing\nthe subscription if `Pull` is not called."
+ }
+ },
+ "type": "object"
+ },
+ "Binding": {
+ "description": "Associates `members` with a `role`.",
+ "id": "Binding",
+ "properties": {
+ "members": {
+ "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "role": {
+ "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListTopicsResponse": {
+ "description": "Response for the `ListTopics` method.",
+ "id": "ListTopicsResponse",
+ "properties": {
+ "topics": {
+ "description": "The resulting topics.",
+ "items": {
+ "$ref": "Topic"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "If not empty, indicates that there may be more topics that match the\nrequest; this value should be passed in a new `ListTopicsRequest`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
+ "AcknowledgeRequest": {
+ "description": "Request for the Acknowledge method.",
+ "id": "AcknowledgeRequest",
+ "properties": {
+ "ackIds": {
+ "description": "The acknowledgment ID for the messages being acknowledged that was returned\nby the Pub/Sub system in the `Pull` response. Must not be empty.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListTopicSubscriptionsResponse": {
+ "description": "Response for the `ListTopicSubscriptions` method.",
+ "id": "ListTopicSubscriptionsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "If not empty, indicates that there may be more subscriptions that match\nthe request; this value should be passed in a new\n`ListTopicSubscriptionsRequest` to get more subscriptions.",
+ "type": "string"
+ },
+ "subscriptions": {
+ "description": "The names of the subscriptions that match the request.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "PullResponse": {
+ "description": "Response for the `Pull` method.",
+ "id": "PullResponse",
+ "properties": {
+ "receivedMessages": {
+ "description": "Received Pub/Sub messages. The Pub/Sub system will return zero messages if\nthere are no more available in the backlog. The Pub/Sub system may return\nfewer than the `maxMessages` requested even if there are more messages\navailable in the backlog.",
+ "items": {
+ "$ref": "ReceivedMessage"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ReceivedMessage": {
+ "description": "A message and its corresponding acknowledgment ID.",
+ "id": "ReceivedMessage",
+ "properties": {
+ "ackId": {
+ "description": "This ID can be used to acknowledge the received message.",
+ "type": "string"
+ },
+ "message": {
+ "$ref": "PubsubMessage",
+ "description": "The message."
+ }
+ },
+ "type": "object"
+ },
+ "PushConfig": {
+ "description": "Configuration for a push delivery endpoint.",
+ "id": "PushConfig",
+ "properties": {
+ "pushEndpoint": {
+ "description": "A URL locating the endpoint to which messages should be pushed.\nFor example, a Webhook endpoint might use \"https://example.com/push\".",
+ "type": "string"
+ },
+ "attributes": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Endpoint configuration attributes.\n\nEvery endpoint has a set of API supported attributes that can be used to\ncontrol different aspects of the message delivery.\n\nThe currently supported attribute is `x-goog-version`, which you can\nuse to change the format of the push message. This attribute\nindicates the version of the data expected by the endpoint. This\ncontrols the shape of the envelope (i.e. its fields and metadata).\nThe endpoint version is based on the version of the Pub/Sub\nAPI.\n\nIf not present during the `CreateSubscription` call, it will default to\nthe version of the API used to make such call. If not present during a\n`ModifyPushConfig` call, its value will not be changed. `GetSubscription`\ncalls will always return a valid version, even if the subscription was\ncreated without this attribute.\n\nThe possible values for this attribute are:\n\n* `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API.\n* `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "TestIamPermissionsResponse": {
+ "description": "Response message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsResponse",
+ "properties": {
+ "permissions": {
+ "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis_beta/runtimeconfig__v1beta1.json b/discovery/googleapis_beta/runtimeconfig__v1beta1.json
index c8ea298..b9367e8 100644
--- a/discovery/googleapis_beta/runtimeconfig__v1beta1.json
+++ b/discovery/googleapis_beta/runtimeconfig__v1beta1.json
@@ -28,6 +28,11 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"$.xgafv": {
"description": "V1 error format.",
"enum": [
@@ -41,11 +46,6 @@
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -62,13 +62,13 @@
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
+ "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"
},
- "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.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
},
@@ -83,13 +83,13 @@
"location": "query",
"type": "boolean"
},
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
+ "bearer_token": {
+ "description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
- "bearer_token": {
- "description": "OAuth bearer token.",
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
@@ -121,6 +121,31 @@
"resources": {
"configs": {
"methods": {
+ "getIamPolicy": {
+ "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.",
+ "httpMethod": "GET",
+ "id": "runtimeconfig.projects.configs.getIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/configs/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+resource}:getIamPolicy",
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloudruntimeconfig"
+ ]
+ },
"get": {
"description": "Gets information about a RuntimeConfig resource.",
"httpMethod": "GET",
@@ -323,250 +348,36 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloudruntimeconfig"
]
- },
- "getIamPolicy": {
- "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.",
- "httpMethod": "GET",
- "id": "runtimeconfig.projects.configs.getIamPolicy",
- "parameterOrder": [
- "resource"
- ],
- "parameters": {
- "resource": {
- "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
- "location": "path",
- "pattern": "^projects/[^/]+/configs/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+resource}:getIamPolicy",
- "response": {
- "$ref": "Policy"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloudruntimeconfig"
- ]
}
},
"resources": {
- "operations": {
- "methods": {
- "get": {
- "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
- "httpMethod": "GET",
- "id": "runtimeconfig.projects.configs.operations.get",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The name of the operation resource.",
- "location": "path",
- "pattern": "^projects/[^/]+/configs/[^/]+/operations/.+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+name}",
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloudruntimeconfig"
- ]
- },
- "testIamPermissions": {
- "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
- "httpMethod": "GET",
- "id": "runtimeconfig.projects.configs.operations.testIamPermissions",
- "parameterOrder": [
- "resource"
- ],
- "parameters": {
- "resource": {
- "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
- "location": "path",
- "pattern": "^projects/[^/]+/configs/[^/]+/operations/.+$",
- "required": true,
- "type": "string"
- },
- "permissions": {
- "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
- "location": "query",
- "repeated": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+resource}:testIamPermissions",
- "response": {
- "$ref": "TestIamPermissionsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloudruntimeconfig"
- ]
- }
- }
- },
- "waiters": {
- "methods": {
- "testIamPermissions": {
- "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
- "httpMethod": "GET",
- "id": "runtimeconfig.projects.configs.waiters.testIamPermissions",
- "parameterOrder": [
- "resource"
- ],
- "parameters": {
- "resource": {
- "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
- "location": "path",
- "pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$",
- "required": true,
- "type": "string"
- },
- "permissions": {
- "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
- "location": "query",
- "repeated": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+resource}:testIamPermissions",
- "response": {
- "$ref": "TestIamPermissionsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloudruntimeconfig"
- ]
- },
- "delete": {
- "description": "Deletes the waiter with the specified name.",
- "httpMethod": "DELETE",
- "id": "runtimeconfig.projects.configs.waiters.delete",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The Waiter resource to delete, in the format:\n\n `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`",
- "location": "path",
- "pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+name}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloudruntimeconfig"
- ]
- },
- "list": {
- "description": "List waiters within the given configuration.",
- "httpMethod": "GET",
- "id": "runtimeconfig.projects.configs.waiters.list",
- "parameterOrder": [
- "parent"
- ],
- "parameters": {
- "pageToken": {
- "description": "Specifies a page token to use. Set `pageToken` to a `nextPageToken`\nreturned by a previous list request to get the next page of results.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "Specifies the number of results to return per page. If there are fewer\nelements than the specified number, returns all elements.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "parent": {
- "description": "The path to the configuration for which you want to get a list of waiters.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`",
- "location": "path",
- "pattern": "^projects/[^/]+/configs/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+parent}/waiters",
- "response": {
- "$ref": "ListWaitersResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloudruntimeconfig"
- ]
- },
- "get": {
- "description": "Gets information about a single waiter.",
- "httpMethod": "GET",
- "id": "runtimeconfig.projects.configs.waiters.get",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The fully-qualified name of the Waiter resource object to retrieve, in the\nformat:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`",
- "location": "path",
- "pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+name}",
- "response": {
- "$ref": "Waiter"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloudruntimeconfig"
- ]
- },
- "create": {
- "description": "Creates a Waiter resource. This operation returns a long-running Operation\nresource which can be polled for completion. However, a waiter with the\ngiven name will exist (and can be retrieved) prior to the operation\ncompleting. If the operation fails, the failed Waiter resource will\nstill exist and must be deleted prior to subsequent creation attempts.",
- "httpMethod": "POST",
- "id": "runtimeconfig.projects.configs.waiters.create",
- "parameterOrder": [
- "parent"
- ],
- "parameters": {
- "requestId": {
- "description": "An optional but recommended unique `request_id`. If the server\nreceives two `create()` requests with the same\n`request_id`, then the second request will be ignored and the\nfirst resource created and stored in the backend is returned.\nEmpty `request_id` fields are ignored.\n\nIt is responsibility of the client to ensure uniqueness of the\n`request_id` strings.\n\n`request_id` strings are limited to 64 characters.",
- "location": "query",
- "type": "string"
- },
- "parent": {
- "description": "The path to the configuration that will own the waiter.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.",
- "location": "path",
- "pattern": "^projects/[^/]+/configs/[^/]+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+parent}/waiters",
- "request": {
- "$ref": "Waiter"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloudruntimeconfig"
- ]
- }
- }
- },
"variables": {
"methods": {
+ "get": {
+ "description": "Gets information about a single variable.",
+ "httpMethod": "GET",
+ "id": "runtimeconfig.projects.configs.variables.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the variable to return, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIBLE_NAME]`",
+ "location": "path",
+ "pattern": "^projects/[^/]+/configs/[^/]+/variables/.+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "Variable"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloudruntimeconfig"
+ ]
+ },
"watch": {
"description": "Watches a specific variable and waits for a change in the variable's value.\nWhen there is a change, this method returns the new value or times out.\n\nIf a variable is deleted while being watched, the `variableState` state is\nset to `DELETED` and the method returns the last known variable `value`.\n\nIf you set the deadline for watching to a larger value than internal timeout\n(60 seconds), the current variable value is returned and the `variableState`\nwill be `VARIABLE_STATE_UNSPECIFIED`.\n\nTo learn more about creating a watcher, read the\n[Watching a Variable for Changes](/deployment-manager/runtime-configurator/watching-a-variable)\ndocumentation.",
"httpMethod": "POST",
@@ -595,31 +406,6 @@
"https://www.googleapis.com/auth/cloudruntimeconfig"
]
},
- "get": {
- "description": "Gets information about a single variable.",
- "httpMethod": "GET",
- "id": "runtimeconfig.projects.configs.variables.get",
- "parameterOrder": [
- "name"
- ],
- "parameters": {
- "name": {
- "description": "The name of the variable to return, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIBLE_NAME]`",
- "location": "path",
- "pattern": "^projects/[^/]+/configs/[^/]+/variables/.+$",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta1/{+name}",
- "response": {
- "$ref": "Variable"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloudruntimeconfig"
- ]
- },
"update": {
"description": "Updates an existing variable with a new value.",
"httpMethod": "PUT",
@@ -717,19 +503,6 @@
"parent"
],
"parameters": {
- "pageSize": {
- "description": "Specifies the number of results to return per page. If there are fewer\nelements than the specified number, returns all elements.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "parent": {
- "description": "The path to the RuntimeConfig resource for which you want to list variables.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`",
- "location": "path",
- "pattern": "^projects/[^/]+/configs/[^/]+$",
- "required": true,
- "type": "string"
- },
"filter": {
"description": "Filters variables by matching the specified filter. For example:\n\n`projects/example-project/config/[CONFIG_NAME]/variables/example-variable`.",
"location": "query",
@@ -744,6 +517,19 @@
"description": "The flag indicates whether the user wants to return values of variables.\nIf true, then only those variables that user has IAM GetVariable permission\nwill be returned along with their values.",
"location": "query",
"type": "boolean"
+ },
+ "pageSize": {
+ "description": "Specifies the number of results to return per page. If there are fewer\nelements than the specified number, returns all elements.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "parent": {
+ "description": "The path to the RuntimeConfig resource for which you want to list variables.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`",
+ "location": "path",
+ "pattern": "^projects/[^/]+/configs/[^/]+$",
+ "required": true,
+ "type": "string"
}
},
"path": "v1beta1/{+parent}/variables",
@@ -789,6 +575,220 @@
]
}
}
+ },
+ "operations": {
+ "methods": {
+ "testIamPermissions": {
+ "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
+ "httpMethod": "GET",
+ "id": "runtimeconfig.projects.configs.operations.testIamPermissions",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/configs/[^/]+/operations/.+$",
+ "required": true,
+ "type": "string"
+ },
+ "permissions": {
+ "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+resource}:testIamPermissions",
+ "response": {
+ "$ref": "TestIamPermissionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloudruntimeconfig"
+ ]
+ },
+ "get": {
+ "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
+ "httpMethod": "GET",
+ "id": "runtimeconfig.projects.configs.operations.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/configs/[^/]+/operations/.+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloudruntimeconfig"
+ ]
+ }
+ }
+ },
+ "waiters": {
+ "methods": {
+ "list": {
+ "description": "List waiters within the given configuration.",
+ "httpMethod": "GET",
+ "id": "runtimeconfig.projects.configs.waiters.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "Specifies the number of results to return per page. If there are fewer\nelements than the specified number, returns all elements.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "parent": {
+ "description": "The path to the configuration for which you want to get a list of waiters.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`",
+ "location": "path",
+ "pattern": "^projects/[^/]+/configs/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "Specifies a page token to use. Set `pageToken` to a `nextPageToken`\nreturned by a previous list request to get the next page of results.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+parent}/waiters",
+ "response": {
+ "$ref": "ListWaitersResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloudruntimeconfig"
+ ]
+ },
+ "get": {
+ "description": "Gets information about a single waiter.",
+ "httpMethod": "GET",
+ "id": "runtimeconfig.projects.configs.waiters.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The fully-qualified name of the Waiter resource object to retrieve, in the\nformat:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`",
+ "location": "path",
+ "pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "Waiter"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloudruntimeconfig"
+ ]
+ },
+ "create": {
+ "description": "Creates a Waiter resource. This operation returns a long-running Operation\nresource which can be polled for completion. However, a waiter with the\ngiven name will exist (and can be retrieved) prior to the operation\ncompleting. If the operation fails, the failed Waiter resource will\nstill exist and must be deleted prior to subsequent creation attempts.",
+ "httpMethod": "POST",
+ "id": "runtimeconfig.projects.configs.waiters.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "requestId": {
+ "description": "An optional but recommended unique `request_id`. If the server\nreceives two `create()` requests with the same\n`request_id`, then the second request will be ignored and the\nfirst resource created and stored in the backend is returned.\nEmpty `request_id` fields are ignored.\n\nIt is responsibility of the client to ensure uniqueness of the\n`request_id` strings.\n\n`request_id` strings are limited to 64 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "The path to the configuration that will own the waiter.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/configs/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+parent}/waiters",
+ "request": {
+ "$ref": "Waiter"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloudruntimeconfig"
+ ]
+ },
+ "testIamPermissions": {
+ "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
+ "httpMethod": "GET",
+ "id": "runtimeconfig.projects.configs.waiters.testIamPermissions",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "permissions": {
+ "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+resource}:testIamPermissions",
+ "response": {
+ "$ref": "TestIamPermissionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloudruntimeconfig"
+ ]
+ },
+ "delete": {
+ "description": "Deletes the waiter with the specified name.",
+ "httpMethod": "DELETE",
+ "id": "runtimeconfig.projects.configs.waiters.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The Waiter resource to delete, in the format:\n\n `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`",
+ "location": "path",
+ "pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloudruntimeconfig"
+ ]
+ }
+ }
}
}
}
@@ -798,6 +798,127 @@
"revision": "20170224",
"rootUrl": "https://runtimeconfig.googleapis.com/",
"schemas": {
+ "SetIamPolicyRequest": {
+ "description": "Request message for `SetIamPolicy` method.",
+ "id": "SetIamPolicyRequest",
+ "properties": {
+ "policy": {
+ "$ref": "Policy",
+ "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
+ }
+ },
+ "type": "object"
+ },
+ "Status": {
+ "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
+ "id": "Status",
+ "properties": {
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ },
+ "details": {
+ "description": "A list of messages that carry the error details. There will be a\ncommon 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"
+ }
+ },
+ "type": "object"
+ },
+ "Binding": {
+ "description": "Associates `members` with a `role`.",
+ "id": "Binding",
+ "properties": {
+ "members": {
+ "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "role": {
+ "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Cardinality": {
+ "description": "A Cardinality condition for the Waiter resource. A cardinality condition is\nmet when the number of variables under a specified path prefix reaches a\npredefined number. For example, if you set a Cardinality condition where\nthe `path` is set to `/foo` and the number of paths is set to 2, the\nfollowing variables would meet the condition in a RuntimeConfig resource:\n\n+ `/foo/variable1 = \"value1\"`\n+ `/foo/variable2 = \"value2\"`\n+ `/bar/variable3 = \"value3\"`\n\nIt would not would not satisify the same condition with the `number` set to\n3, however, because there is only 2 paths that start with `/foo`.\nCardinality conditions are recursive; all subtrees under the specific\npath prefix are counted.",
+ "id": "Cardinality",
+ "properties": {
+ "path": {
+ "description": "The root of the variable subtree to monitor. For example, `/foo`.",
+ "type": "string"
+ },
+ "number": {
+ "description": "The number variables under the `path` that must exist to meet this\ncondition. Defaults to 1 if not specified.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
+ "ListConfigsResponse": {
+ "description": "`ListConfigs()` returns the following response. The order of returned\nobjects is arbitrary; that is, it is not ordered in any particular way.",
+ "id": "ListConfigsResponse",
+ "properties": {
+ "configs": {
+ "description": "A list of the configurations in the project. The order of returned\nobjects is arbitrary; that is, it is not ordered in any particular way.",
+ "items": {
+ "$ref": "RuntimeConfig"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "This token allows you to get the next page of results for list requests.\nIf the number of results is larger than `pageSize`, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the next list request.\nSubsequent list requests will have their own `nextPageToken` to continue\npaging through the results",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "EndCondition": {
+ "description": "The condition that a Waiter resource is waiting for.",
+ "id": "EndCondition",
+ "properties": {
+ "cardinality": {
+ "$ref": "Cardinality",
+ "description": "The cardinality of the `EndCondition`."
+ }
+ },
+ "type": "object"
+ },
+ "TestIamPermissionsResponse": {
+ "description": "Response message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsResponse",
+ "properties": {
+ "permissions": {
+ "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"ListVariablesResponse": {
"description": "Response for the `ListVariables()` method.",
"id": "ListVariablesResponse",
@@ -861,20 +982,6 @@
},
"type": "object"
},
- "TestIamPermissionsRequest": {
- "description": "Request message for `TestIamPermissions` method.",
- "id": "TestIamPermissionsRequest",
- "properties": {
- "permissions": {
- "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
"Waiter": {
"description": "A Waiter resource waits for some end condition within a RuntimeConfig resource\nto be met before it returns. For example, assume you have a distributed\nsystem where each node writes to a Variable resource indidicating the node's\nreadiness as part of the startup process.\n\nYou then configure a Waiter resource with the success condition set to wait\nuntil some number of nodes have checked in. Afterwards, your application\nruns some arbitrary code after the condition has been met and the waiter\nreturns successfully.\n\nOnce created, a Waiter resource is immutable.\n\nTo learn more about using waiters, read the\n[Creating a Waiter](/deployment-manager/runtime-configurator/creating-a-waiter)\ndocumentation.",
"id": "Waiter",
@@ -891,15 +998,15 @@
"$ref": "EndCondition",
"description": "[Required] The success condition. If this condition is met, `done` will be\nset to `true` and the `error` value will remain unset. The failure condition\ntakes precedence over the success condition. If both conditions are met, a\nfailure will be indicated."
},
+ "done": {
+ "description": "[Output Only] If the value is `false`, it means the waiter is still waiting\nfor one of its conditions to be met.\n\nIf true, the waiter has finished. If the waiter finished due to a timeout\nor failure, `error` will be set.",
+ "type": "boolean"
+ },
"createTime": {
"description": "[Output Only] The instant at which this Waiter resource was created. Adding\nthe value of `timeout` to this instant yields the timeout deadline for the\nwaiter.",
"format": "google-datetime",
"type": "string"
},
- "done": {
- "description": "[Output Only] If the value is `false`, it means the waiter is still waiting\nfor one of its conditions to be met.\n\nIf true, the waiter has finished. If the waiter finished due to a timeout\nor failure, `error` will be set.",
- "type": "boolean"
- },
"timeout": {
"description": "[Required] Specifies the timeout of the waiter in seconds, beginning from\nthe instant that `waiters().create` method is called. If this time elapses\nbefore the success or failure conditions are met, the waiter fails and sets\nthe `error` code to `DEADLINE_EXCEEDED`.",
"format": "google-duration",
@@ -912,24 +1019,14 @@
},
"type": "object"
},
- "Policy": {
- "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).",
- "id": "Policy",
+ "TestIamPermissionsRequest": {
+ "description": "Request message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsRequest",
"properties": {
- "etag": {
- "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.",
- "format": "byte",
- "type": "string"
- },
- "version": {
- "description": "Version of the `Policy`. The default version is 0.",
- "format": "int32",
- "type": "integer"
- },
- "bindings": {
- "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.",
+ "permissions": {
+ "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
"items": {
- "$ref": "Binding"
+ "type": "string"
},
"type": "array"
}
@@ -940,6 +1037,15 @@
"description": "Describes a single variable within a RuntimeConfig resource.\nThe name denotes the hierarchical variable name. For example,\n`ports/serving_port` is a valid variable name. The variable value is an\nopaque string and only leaf variables can have values (that is, variables\nthat do not have any child variables).",
"id": "Variable",
"properties": {
+ "text": {
+ "description": "The string value of the variable. The length of the value must be less\nthan 4096 bytes. Empty values are also accepted. For example,\n`text: \"my text value\"`. The string must be valid UTF-8.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The binary value of the variable. The length of the value must be less\nthan 4096 bytes. Empty values are also accepted. The value must be\nbase64 encoded. Only one of `value` or `text` can be set.",
+ "format": "byte",
+ "type": "string"
+ },
"updateTime": {
"description": "[Output Only] The time of the last variable update.",
"format": "google-datetime",
@@ -962,15 +1068,30 @@
"name": {
"description": "The name of the variable resource, in the format:\n\n projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]\n\nThe `[PROJECT_ID]` must be a valid project ID, `[CONFIG_NAME]` must be a\nvalid RuntimeConfig reource and `[VARIABLE_NAME]` follows Unix file system\nfile path naming.\n\nThe `[VARIABLE_NAME]` can contain ASCII letters, numbers, slashes and\ndashes. Slashes are used as path element separators and are not part of the\n`[VARIABLE_NAME]` itself, so `[VARIABLE_NAME]` must contain at least one\nnon-slash character. Multiple slashes are coalesced into single slash\ncharacter. Each path segment should follow RFC 1035 segment specification.\nThe length of a `[VARIABLE_NAME]` must be less than 256 bytes.\n\nOnce you create a variable, you cannot change the variable name.",
"type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Policy": {
+ "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).",
+ "id": "Policy",
+ "properties": {
+ "bindings": {
+ "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.",
+ "items": {
+ "$ref": "Binding"
+ },
+ "type": "array"
},
- "text": {
- "description": "The string value of the variable. The length of the value must be less\nthan 4096 bytes. Empty values are also accepted. For example,\n`text: \"my text value\"`. The string must be valid UTF-8.",
- "type": "string"
- },
- "value": {
- "description": "The binary value of the variable. The length of the value must be less\nthan 4096 bytes. Empty values are also accepted. The value must be\nbase64 encoded. Only one of `value` or `text` can be set.",
+ "etag": {
+ "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.",
"format": "byte",
"type": "string"
+ },
+ "version": {
+ "description": "Version of the `Policy`. The default version is 0.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -1009,127 +1130,6 @@
}
},
"type": "object"
- },
- "SetIamPolicyRequest": {
- "description": "Request message for `SetIamPolicy` method.",
- "id": "SetIamPolicyRequest",
- "properties": {
- "policy": {
- "$ref": "Policy",
- "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
- }
- },
- "type": "object"
- },
- "Status": {
- "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
- "id": "Status",
- "properties": {
- "details": {
- "description": "A list of messages that carry the error details. There will be a\ncommon 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"
- },
- "code": {
- "description": "The status code, which should be an enum value of google.rpc.Code.",
- "format": "int32",
- "type": "integer"
- },
- "message": {
- "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Binding": {
- "description": "Associates `members` with a `role`.",
- "id": "Binding",
- "properties": {
- "members": {
- "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "role": {
- "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Empty": {
- "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
- "id": "Empty",
- "properties": {},
- "type": "object"
- },
- "Cardinality": {
- "description": "A Cardinality condition for the Waiter resource. A cardinality condition is\nmet when the number of variables under a specified path prefix reaches a\npredefined number. For example, if you set a Cardinality condition where\nthe `path` is set to `/foo` and the number of paths is set to 2, the\nfollowing variables would meet the condition in a RuntimeConfig resource:\n\n+ `/foo/variable1 = \"value1\"`\n+ `/foo/variable2 = \"value2\"`\n+ `/bar/variable3 = \"value3\"`\n\nIt would not would not satisify the same condition with the `number` set to\n3, however, because there is only 2 paths that start with `/foo`.\nCardinality conditions are recursive; all subtrees under the specific\npath prefix are counted.",
- "id": "Cardinality",
- "properties": {
- "path": {
- "description": "The root of the variable subtree to monitor. For example, `/foo`.",
- "type": "string"
- },
- "number": {
- "description": "The number variables under the `path` that must exist to meet this\ncondition. Defaults to 1 if not specified.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "ListConfigsResponse": {
- "description": "`ListConfigs()` returns the following response. The order of returned\nobjects is arbitrary; that is, it is not ordered in any particular way.",
- "id": "ListConfigsResponse",
- "properties": {
- "configs": {
- "description": "A list of the configurations in the project. The order of returned\nobjects is arbitrary; that is, it is not ordered in any particular way.",
- "items": {
- "$ref": "RuntimeConfig"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "This token allows you to get the next page of results for list requests.\nIf the number of results is larger than `pageSize`, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the next list request.\nSubsequent list requests will have their own `nextPageToken` to continue\npaging through the results",
- "type": "string"
- }
- },
- "type": "object"
- },
- "EndCondition": {
- "description": "The condition that a Waiter resource is waiting for.",
- "id": "EndCondition",
- "properties": {
- "cardinality": {
- "$ref": "Cardinality",
- "description": "The cardinality of the `EndCondition`."
- }
- },
- "type": "object"
- },
- "TestIamPermissionsResponse": {
- "description": "Response message for `TestIamPermissions` method.",
- "id": "TestIamPermissionsResponse",
- "properties": {
- "permissions": {
- "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis_beta/speech__v1beta1.json b/discovery/googleapis_beta/speech__v1beta1.json
index af82a13..e515b75 100644
--- a/discovery/googleapis_beta/speech__v1beta1.json
+++ b/discovery/googleapis_beta/speech__v1beta1.json
@@ -24,6 +24,16 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
@@ -35,18 +45,13 @@
"location": "query",
"type": "boolean"
},
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
@@ -63,6 +68,11 @@
"location": "query",
"type": "string"
},
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -79,13 +89,13 @@
"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.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
+ "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"
},
@@ -99,16 +109,6 @@
"description": "Pretty-print response.",
"location": "query",
"type": "boolean"
- },
- "bearer_token": {
- "description": "OAuth bearer token.",
- "location": "query",
- "type": "string"
- },
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
}
},
"protocol": "rest",
@@ -169,11 +169,6 @@
"id": "speech.operations.list",
"parameterOrder": [],
"parameters": {
- "filter": {
- "description": "The standard list filter.",
- "location": "query",
- "type": "string"
- },
"name": {
"description": "The name of the operation collection.",
"location": "query",
@@ -189,6 +184,11 @@
"format": "int32",
"location": "query",
"type": "integer"
+ },
+ "filter": {
+ "description": "The standard list filter.",
+ "location": "query",
+ "type": "string"
}
},
"path": "v1beta1/operations",
@@ -264,9 +264,40 @@
}
}
},
- "revision": "20170303",
+ "revision": "20170323",
"rootUrl": "https://speech.googleapis.com/",
"schemas": {
+ "RecognitionAudio": {
+ "description": "Contains audio data in the encoding specified in the `RecognitionConfig`.\nEither `content` or `uri` must be supplied. Supplying both or neither\nreturns google.rpc.Code.INVALID_ARGUMENT. See\n[audio limits](https://cloud.google.com/speech/limits#content).",
+ "id": "RecognitionAudio",
+ "properties": {
+ "content": {
+ "description": "The audio data bytes encoded as specified in\n`RecognitionConfig`. Note: as with all bytes fields, protobuffers use a\npure binary representation, whereas JSON representations use base64.",
+ "format": "byte",
+ "type": "string"
+ },
+ "uri": {
+ "description": "URI that points to a file that contains audio data bytes as specified in\n`RecognitionConfig`. Currently, only Google Cloud Storage URIs are\nsupported, which must be specified in the following format:\n`gs://bucket_name/object_name` (other URI formats return\ngoogle.rpc.Code.INVALID_ARGUMENT). For more information, see\n[Request URIs](https://cloud.google.com/storage/docs/reference-uris).",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AsyncRecognizeRequest": {
+ "description": "The top-level message sent by the client for the `AsyncRecognize` method.",
+ "id": "AsyncRecognizeRequest",
+ "properties": {
+ "config": {
+ "$ref": "RecognitionConfig",
+ "description": "*Required* Provides information to the recognizer that specifies how to\nprocess the request."
+ },
+ "audio": {
+ "$ref": "RecognitionAudio",
+ "description": "*Required* The audio data to be recognized."
+ }
+ },
+ "type": "object"
+ },
"Operation": {
"description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
"id": "Operation",
@@ -306,20 +337,6 @@
"description": "Provides information to the recognizer that specifies how to process the\nrequest.",
"id": "RecognitionConfig",
"properties": {
- "maxAlternatives": {
- "description": "*Optional* Maximum number of recognition hypotheses to be returned.\nSpecifically, the maximum number of `SpeechRecognitionAlternative` messages\nwithin each `SpeechRecognitionResult`.\nThe server may return fewer than `max_alternatives`.\nValid values are `0`-`30`. A value of `0` or `1` will return a maximum of\none. If omitted, will return a maximum of one.",
- "format": "int32",
- "type": "integer"
- },
- "sampleRate": {
- "description": "*Required* Sample rate in Hertz of the audio data sent in all\n`RecognitionAudio` messages. Valid values are: 8000-48000.\n16000 is optimal. For best results, set the sampling rate of the audio\nsource to 16000 Hz. If that's not possible, use the native sample rate of\nthe audio source (instead of re-sampling).",
- "format": "int32",
- "type": "integer"
- },
- "languageCode": {
- "description": "*Optional* The language of the supplied audio as a BCP-47 language tag.\nExample: \"en-GB\" https://www.rfc-editor.org/rfc/bcp/bcp47.txt\nIf omitted, defaults to \"en-US\". See\n[Language Support](https://cloud.google.com/speech/docs/languages)\nfor a list of the currently supported language codes.",
- "type": "string"
- },
"speechContext": {
"$ref": "SpeechContext",
"description": "*Optional* A means to provide context to assist the speech recognition."
@@ -347,6 +364,20 @@
"profanityFilter": {
"description": "*Optional* If set to `true`, the server will attempt to filter out\nprofanities, replacing all but the initial character in each filtered word\nwith asterisks, e.g. \"f***\". If set to `false` or omitted, profanities\nwon't be filtered out.",
"type": "boolean"
+ },
+ "maxAlternatives": {
+ "description": "*Optional* Maximum number of recognition hypotheses to be returned.\nSpecifically, the maximum number of `SpeechRecognitionAlternative` messages\nwithin each `SpeechRecognitionResult`.\nThe server may return fewer than `max_alternatives`.\nValid values are `0`-`30`. A value of `0` or `1` will return a maximum of\none. If omitted, will return a maximum of one.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "sampleRate": {
+ "description": "*Required* Sample rate in Hertz of the audio data sent in all\n`RecognitionAudio` messages. Valid values are: 8000-48000.\n16000 is optimal. For best results, set the sampling rate of the audio\nsource to 16000 Hz. If that's not possible, use the native sample rate of\nthe audio source (instead of re-sampling).",
+ "format": "int32",
+ "type": "integer"
+ },
+ "languageCode": {
+ "description": "*Optional* The language of the supplied audio as a BCP-47 language tag.\nExample: \"en-GB\" https://www.rfc-editor.org/rfc/bcp/bcp47.txt\nIf omitted, defaults to \"en-US\". See\n[Language Support](https://cloud.google.com/speech/docs/languages)\nfor a list of the currently supported language codes.",
+ "type": "string"
}
},
"type": "object"
@@ -447,16 +478,16 @@
"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"
+ },
+ "nextPageToken": {
+ "description": "The standard List next-page token.",
+ "type": "string"
}
},
"type": "object"
@@ -474,37 +505,6 @@
}
},
"type": "object"
- },
- "AsyncRecognizeRequest": {
- "description": "The top-level message sent by the client for the `AsyncRecognize` method.",
- "id": "AsyncRecognizeRequest",
- "properties": {
- "config": {
- "$ref": "RecognitionConfig",
- "description": "*Required* Provides information to the recognizer that specifies how to\nprocess the request."
- },
- "audio": {
- "$ref": "RecognitionAudio",
- "description": "*Required* The audio data to be recognized."
- }
- },
- "type": "object"
- },
- "RecognitionAudio": {
- "description": "Contains audio data in the encoding specified in the `RecognitionConfig`.\nEither `content` or `uri` must be supplied. Supplying both or neither\nreturns google.rpc.Code.INVALID_ARGUMENT. See\n[audio limits](https://cloud.google.com/speech/limits#content).",
- "id": "RecognitionAudio",
- "properties": {
- "content": {
- "description": "The audio data bytes encoded as specified in\n`RecognitionConfig`. Note: as with all bytes fields, protobuffers use a\npure binary representation, whereas JSON representations use base64.",
- "format": "byte",
- "type": "string"
- },
- "uri": {
- "description": "URI that points to a file that contains audio data bytes as specified in\n`RecognitionConfig`. Currently, only Google Cloud Storage URIs are\nsupported, which must be specified in the following format:\n`gs://bucket_name/object_name` (other URI formats return\ngoogle.rpc.Code.INVALID_ARGUMENT). For more information, see\n[Request URIs](https://cloud.google.com/storage/docs/reference-uris).",
- "type": "string"
- }
- },
- "type": "object"
}
},
"servicePath": "",
diff --git a/discovery/googleapis_beta/toolresults__v1beta3.json b/discovery/googleapis_beta/toolresults__v1beta3.json
index 9745c3c..781e134 100644
--- a/discovery/googleapis_beta/toolresults__v1beta3.json
+++ b/discovery/googleapis_beta/toolresults__v1beta3.json
@@ -15,7 +15,7 @@
"description": "Reads and publishes results from Firebase Test Lab.",
"discoveryVersion": "v1",
"documentationLink": "https://firebase.google.com/docs/test-lab/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/NzKUQu6v7g0rUrostDgJQFvSU28\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/fe58Z_wMQi0Hq_VNeSHkv3uJtPg\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -1080,7 +1080,7 @@
}
}
},
- "revision": "20170303",
+ "revision": "20170324",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Any": {
@@ -1120,6 +1120,7 @@
},
"perfUnit": {
"enum": [
+ "bytesPerSecond",
"kibibyte",
"percent",
"perfUnitUnspecified"
@@ -1127,6 +1128,7 @@
"enumDescriptions": [
"",
"",
+ "",
""
],
"type": "string"
@@ -1139,6 +1141,9 @@
"memoryRssPrivate",
"memoryRssShared",
"memoryRssTotal",
+ "memoryTotal",
+ "networkReceived",
+ "networkSent",
"ntBytesReceived",
"ntBytesTransferred",
"sampleSeriesTypeUnspecified"
@@ -1152,6 +1157,9 @@
"",
"",
"",
+ "",
+ "",
+ "",
""
],
"type": "string"
@@ -1215,7 +1223,7 @@
"type": "integer"
},
"seconds": {
- "description": "Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive.",
+ "description": "Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years",
"format": "int64",
"type": "string"
}
diff --git a/generated/googleapis/CHANGELOG.md b/generated/googleapis/CHANGELOG.md
index 96a6b20..d4dc530 100644
--- a/generated/googleapis/CHANGELOG.md
+++ b/generated/googleapis/CHANGELOG.md
@@ -1,3 +1,32 @@
+## 0.37.0
+
+* [api-new] cloudfunctions:v1
+* [api-new] cloudkms:v1
+* [api-new] ml:v1
+* [api] admin:directory_v1
+* [api] analytics:v3
+* [api] appengine:v1
+* [api] calendar:v3
+* [api] cloudresourcemanager:v1
+* [api] compute:v1
+* [api] dataproc:v1
+* [api] firebasedynamiclinks:v1
+* [api] firebaserules:v1
+* [api] identitytoolkit:v3
+* [api] licensing:v1
+* [api] manufacturers:v1
+* [api] partners:v2
+* [api] people:v1
+* [api] reseller:v1
+* [api] safebrowsing:v4
+* [api] servicemanagement:v1
+* [api] serviceuser:v1
+* [api] sheets:v4
+* [api] slides:v1
+* [api] storage:v1
+* [api] vision:v1
+* [api-breaking] classroom:v1
+
## 0.36.0
* [api-new] sourcerepo:v1
diff --git a/generated/googleapis/README.md b/generated/googleapis/README.md
index 944d436..9fddfcc 100644
--- a/generated/googleapis/README.md
+++ b/generated/googleapis/README.md
@@ -113,7 +113,7 @@
####  Admin Reports API - admin reports_v1
-Fetches reports for the administrators of Google Apps customers about the usage, collaboration, security, and risk for their users.
+Fetches reports for the administrators of G Suite customers about the usage, collaboration, security, and risk for their users.
Official API documentation: https://developers.google.com/admin-sdk/reports/
@@ -209,7 +209,8 @@
####  Google Cloud Billing API - cloudbilling v1
-Retrieves Google Developers Console billing accounts and associates them with projects.
+Allows developers to manage billing for their Google Cloud Platform projects
+ programmatically.
Official API documentation: https://cloud.google.com/billing/
@@ -226,6 +227,18 @@
Official API documentation: http://cloud.google.com/debugger
+####  Google Cloud Functions API - cloudfunctions v1
+
+API for managing lightweight user-provided functions executed in response to events.
+
+Official API documentation: https://cloud.google.com/functions
+
+####  Google Cloud Key Management Service (KMS) API - cloudkms v1
+
+Manages encryption for your cloud services the same way you do on-premise. You can generate, use, rotate, and destroy AES256 encryption keys.
+
+Official API documentation: https://cloud.google.com/kms/
+
####  Google Cloud Resource Manager API - cloudresourcemanager v1
The Google Cloud Resource Manager API provides methods for creating, reading, and updating project metadata.
@@ -439,7 +452,7 @@
####  Enterprise License Manager API - licensing v1
-Licensing API to view and manage license for your domain.
+Views and manages licenses for your domain.
Official API documentation: https://developers.google.com/google-apps/licensing/
@@ -461,6 +474,12 @@
Official API documentation: https://developers.google.com/glass
+####  Google Cloud Machine Learning Engine - ml v1
+
+An API to enable creating and using machine learning models.
+
+Official API documentation: https://cloud.google.com/ml/
+
####  Stackdriver Monitoring API - monitoring v3
Manages your Stackdriver Monitoring data and configurations. Most projects must be associated with a Stackdriver account, with a few exceptions as noted on the individual method pages.
@@ -487,7 +506,7 @@
####  Google Partners API - partners v2
-Lets advertisers search certified companies and create contact leads with them, and also audits the usage of clients.
+Searches certified companies and creates contact leads with them, and also audits the usage of clients.
Official API documentation: https://developers.google.com/partners/
@@ -547,9 +566,9 @@
Official API documentation: https://cloud.google.com/deployment-manager/runtime-configurator/
-####  Safe Browsing APIs - safebrowsing v4
+####  Google Safe Browsing API - safebrowsing v4
-Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources.
+The Safe Browsing API is an experimental API that allows client applications to check URLs against Google's constantly-updated blacklists of suspected phishing and malware pages. Your client application can use the API to download an encrypted table for local, client-side lookups of URLs.
Official API documentation: https://developers.google.com/safe-browsing/
diff --git a/generated/googleapis/lib/admin/directory_v1.dart b/generated/googleapis/lib/admin/directory_v1.dart
index 05d1524..c3e91b8 100644
--- a/generated/googleapis/lib/admin/directory_v1.dart
+++ b/generated/googleapis/lib/admin/directory_v1.dart
@@ -8035,6 +8035,13 @@
* `String`, `bool` and `null` as well as `Map` and `List` values.
*/
core.Object phones;
+ /**
+ *
+ *
+ * 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.Object posixAccounts;
/** username of User */
core.String primaryEmail;
/**
@@ -8044,6 +8051,13 @@
* `String`, `bool` and `null` as well as `Map` and `List` values.
*/
core.Object relations;
+ /**
+ *
+ *
+ * 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.Object sshPublicKeys;
/** Indicates if user is suspended */
core.bool suspended;
/** Suspension reason if user is suspended (Read-only) */
@@ -8153,12 +8167,18 @@
if (_json.containsKey("phones")) {
phones = _json["phones"];
}
+ if (_json.containsKey("posixAccounts")) {
+ posixAccounts = _json["posixAccounts"];
+ }
if (_json.containsKey("primaryEmail")) {
primaryEmail = _json["primaryEmail"];
}
if (_json.containsKey("relations")) {
relations = _json["relations"];
}
+ if (_json.containsKey("sshPublicKeys")) {
+ sshPublicKeys = _json["sshPublicKeys"];
+ }
if (_json.containsKey("suspended")) {
suspended = _json["suspended"];
}
@@ -8268,12 +8288,18 @@
if (phones != null) {
_json["phones"] = phones;
}
+ if (posixAccounts != null) {
+ _json["posixAccounts"] = posixAccounts;
+ }
if (primaryEmail != null) {
_json["primaryEmail"] = primaryEmail;
}
if (relations != null) {
_json["relations"] = relations;
}
+ if (sshPublicKeys != null) {
+ _json["sshPublicKeys"] = sshPublicKeys;
+ }
if (suspended != null) {
_json["suspended"] = suspended;
}
@@ -8972,6 +8998,87 @@
}
}
+/**
+ * JSON template for a POSIX account entry. Description of the field family:
+ * go/fbs-posix.
+ */
+class UserPosixAccount {
+ /** The GECOS (user information) entry for this account. */
+ core.String gecos;
+ /** The default group ID. */
+ core.int gid;
+ /** The path to the home directory for this account. */
+ core.String homeDirectory;
+ /** If this is user's primary account within the SystemId. */
+ core.bool primary;
+ /** The path to the login shell for this account. */
+ core.String shell;
+ /** System identifier for which account Username or Uid apply to. */
+ core.String systemId;
+ /** The user ID. */
+ core.int uid;
+ /** The username of the account. */
+ core.String username;
+
+ UserPosixAccount();
+
+ UserPosixAccount.fromJson(core.Map _json) {
+ if (_json.containsKey("gecos")) {
+ gecos = _json["gecos"];
+ }
+ if (_json.containsKey("gid")) {
+ gid = _json["gid"];
+ }
+ if (_json.containsKey("homeDirectory")) {
+ homeDirectory = _json["homeDirectory"];
+ }
+ if (_json.containsKey("primary")) {
+ primary = _json["primary"];
+ }
+ if (_json.containsKey("shell")) {
+ shell = _json["shell"];
+ }
+ if (_json.containsKey("systemId")) {
+ systemId = _json["systemId"];
+ }
+ if (_json.containsKey("uid")) {
+ uid = _json["uid"];
+ }
+ if (_json.containsKey("username")) {
+ username = _json["username"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (gecos != null) {
+ _json["gecos"] = gecos;
+ }
+ if (gid != null) {
+ _json["gid"] = gid;
+ }
+ if (homeDirectory != null) {
+ _json["homeDirectory"] = homeDirectory;
+ }
+ if (primary != null) {
+ _json["primary"] = primary;
+ }
+ if (shell != null) {
+ _json["shell"] = shell;
+ }
+ if (systemId != null) {
+ _json["systemId"] = systemId;
+ }
+ if (uid != null) {
+ _json["uid"] = uid;
+ }
+ if (username != null) {
+ _json["username"] = username;
+ }
+ return _json;
+ }
+}
+
/** JSON template for a relation entry. */
class UserRelation {
/** Custom Type. */
@@ -9013,6 +9120,44 @@
}
}
+/** JSON template for a POSIX account entry. */
+class UserSshPublicKey {
+ /** An expiration time in microseconds since epoch. */
+ core.String expirationTimeUsec;
+ /** A SHA-256 fingerprint of the SSH public key. (Read-only) */
+ core.String fingerprint;
+ /** An SSH public key. */
+ core.String key;
+
+ UserSshPublicKey();
+
+ UserSshPublicKey.fromJson(core.Map _json) {
+ if (_json.containsKey("expirationTimeUsec")) {
+ expirationTimeUsec = _json["expirationTimeUsec"];
+ }
+ if (_json.containsKey("fingerprint")) {
+ fingerprint = _json["fingerprint"];
+ }
+ if (_json.containsKey("key")) {
+ key = _json["key"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (expirationTimeUsec != null) {
+ _json["expirationTimeUsec"] = expirationTimeUsec;
+ }
+ if (fingerprint != null) {
+ _json["fingerprint"] = fingerprint;
+ }
+ if (key != null) {
+ _json["key"] = key;
+ }
+ return _json;
+ }
+}
+
/** JSON request template to undelete a user in Directory API. */
class UserUndelete {
/** OrgUnit of User */
diff --git a/generated/googleapis/lib/admin/reports_v1.dart b/generated/googleapis/lib/admin/reports_v1.dart
index 03b3526..a7c0798 100644
--- a/generated/googleapis/lib/admin/reports_v1.dart
+++ b/generated/googleapis/lib/admin/reports_v1.dart
@@ -15,8 +15,8 @@
const core.String USER_AGENT = 'dart-api-client admin/reports_v1';
/**
- * Fetches reports for the administrators of Google Apps customers about the
- * usage, collaboration, security, and risk for their users.
+ * Fetches reports for the administrators of G Suite customers about the usage,
+ * collaboration, security, and risk for their users.
*/
class AdminApi {
/** View audit reports for your G Suite domain */
@@ -56,7 +56,7 @@
* [applicationName] - Application name for which the events are to be
* retrieved.
* Value must have pattern
- * "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)".
+ * "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)".
*
* [actorIpAddress] - IP Address of host where the event was performed.
* Supports both IPv4 and IPv6 addresses.
@@ -64,7 +64,7 @@
* [customerId] - Represents the customer for which the data is to be fetched.
* Value must have pattern "C.+".
*
- * [endTime] - Return events which occured at or before this time.
+ * [endTime] - Return events which occurred at or before this time.
* Value must have pattern
* "(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)(?:\.(\d+))?(?:(Z)|([-+])(\d\d):(\d\d))".
*
@@ -80,7 +80,7 @@
*
* [pageToken] - Token to specify next page.
*
- * [startTime] - Return events which occured at or after this time.
+ * [startTime] - Return events which occurred at or after this time.
* Value must have pattern
* "(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)(?:\.(\d+))?(?:(Z)|([-+])(\d\d):(\d\d))".
*
@@ -157,7 +157,7 @@
* [applicationName] - Application name for which the events are to be
* retrieved.
* Value must have pattern
- * "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)".
+ * "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)".
*
* [actorIpAddress] - IP Address of host where the event was performed.
* Supports both IPv4 and IPv6 addresses.
@@ -165,7 +165,7 @@
* [customerId] - Represents the customer for which the data is to be fetched.
* Value must have pattern "C.+".
*
- * [endTime] - Return events which occured at or before this time.
+ * [endTime] - Return events which occurred at or before this time.
* Value must have pattern
* "(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)(?:\.(\d+))?(?:(Z)|([-+])(\d\d):(\d\d))".
*
@@ -181,7 +181,7 @@
*
* [pageToken] - Token to specify next page.
*
- * [startTime] - Return events which occured at or after this time.
+ * [startTime] - Return events which occurred at or after this time.
* Value must have pattern
* "(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)(?:\.(\d+))?(?:(Z)|([-+])(\d\d):(\d\d))".
*
@@ -322,7 +322,7 @@
* [parameters] - Represents the application name, parameter name pairs to
* fetch in csv as app_name1:param_name1, app_name2:param_name2.
* Value must have pattern
- * "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)):[^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)):[^,]+)".
+ * "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)".
*
* Completes with a [UsageReports].
*
@@ -393,7 +393,7 @@
* [filters] - Represents the set of filters including parameter operator
* value.
* Value must have pattern
- * "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+)".
+ * "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+)".
*
* [maxResults] - Maximum number of results to return. Maximum allowed is 1000
*
@@ -402,7 +402,7 @@
* [parameters] - Represents the application name, parameter name pairs to
* fetch in csv as app_name1:param_name1, app_name2:param_name2.
* Value must have pattern
- * "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)):[^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)):[^,]+)".
+ * "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)".
*
* Completes with a [UsageReports].
*
diff --git a/generated/googleapis/lib/analytics/v3.dart b/generated/googleapis/lib/analytics/v3.dart
index 99a862a..2491f25 100644
--- a/generated/googleapis/lib/analytics/v3.dart
+++ b/generated/googleapis/lib/analytics/v3.dart
@@ -3285,6 +3285,56 @@
_requester = client;
/**
+ * Delete a remarketing audience.
+ *
+ * Request parameters:
+ *
+ * [accountId] - Account ID to which the remarketing audience belongs.
+ *
+ * [webPropertyId] - Web property ID to which the remarketing audience
+ * belongs.
+ *
+ * [remarketingAudienceId] - The ID of the remarketing audience to delete.
+ *
+ * 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 accountId, core.String webPropertyId, core.String remarketingAudienceId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (accountId == null) {
+ throw new core.ArgumentError("Parameter accountId is required.");
+ }
+ if (webPropertyId == null) {
+ throw new core.ArgumentError("Parameter webPropertyId is required.");
+ }
+ if (remarketingAudienceId == null) {
+ throw new core.ArgumentError("Parameter remarketingAudienceId is required.");
+ }
+
+ _downloadOptions = null;
+
+ _url = 'management/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/webproperties/' + commons.Escaper.ecapeVariable('$webPropertyId') + '/remarketingAudiences/' + commons.Escaper.ecapeVariable('$remarketingAudienceId');
+
+ var _response = _requester.request(_url,
+ "DELETE",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => null);
+ }
+
+ /**
* Gets a remarketing audience to which the user has access.
*
* Request parameters:
diff --git a/generated/googleapis/lib/appengine/v1.dart b/generated/googleapis/lib/appengine/v1.dart
index e3cff48..a28db0c 100644
--- a/generated/googleapis/lib/appengine/v1.dart
+++ b/generated/googleapis/lib/appengine/v1.dart
@@ -46,11 +46,12 @@
_requester = client;
/**
- * Creates an App Engine application for a Google Cloud Platform project. This
- * requires a project that excludes an App Engine application. For details
- * about creating a project without an application, see the Google Cloud
- * Resource Manager create project topic
- * (https://cloud.google.com/resource-manager/docs/creating-project).
+ * Creates an App Engine application for a Google Cloud Platform project.
+ * Required fields: id - The ID of the target Cloud Platform project. location
+ * - The region (https://cloud.google.com/appengine/docs/locations) where you
+ * want the App Engine application located.For more information about App
+ * Engine applications, see Managing Projects, Applications, and Billing
+ * (https://cloud.google.com/appengine/docs/python/console/).
*
* [request] - The metadata request object.
*
@@ -130,10 +131,9 @@
/**
* Updates the specified Application resource. You can update the following
- * fields: auth_domain
- * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps#Application.FIELDS.auth_domain)
- * default_cookie_expiration
- * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps#Application.FIELDS.default_cookie_expiration)
+ * fields: auth_domain - Google authentication domain for controlling user
+ * access to the application. default_cookie_expiration - Cookie expiration
+ * policy for the application.
*
* [request] - The metadata request object.
*
@@ -615,9 +615,9 @@
*
* [updateMask] - Standard field mask for the set of fields to be updated.
*
- * [migrateTraffic] - Set to true to gradually shift traffic from one version
- * to another single version. By default, traffic is shifted immediately. For
- * gradual traffic migration, the target version must be located within
+ * [migrateTraffic] - Set to true to gradually shift traffic to one or more
+ * versions that you specify. By default, traffic is shifted immediately. For
+ * gradual traffic migration, the target versions must be located within
* instances that are configured for both warmup requests
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#inboundservicetype)
* and automatic scaling
@@ -1165,7 +1165,9 @@
}
/**
- * Lists the instances of a version.
+ * Lists the instances of a version.Tip: To aggregate details about instances
+ * over time, see the Stackdriver Monitoring API
+ * (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).
*
* Request parameters:
*
@@ -1360,11 +1362,17 @@
core.String defaultHostname;
/**
* HTTP path dispatch rules for requests to the application that do not
- * explicitly target a service or version. Rules are
- * order-dependent.@OutputOnly
+ * explicitly target a service or version. Rules are order-dependent. Up to 20
+ * dispatch rules can be supported.@OutputOnly
*/
core.List<UrlDispatchRule> dispatchRules;
/**
+ * The Google Container Registry domain used for storing managed build docker
+ * images for this application.
+ */
+ core.String gcrDomain;
+ IdentityAwareProxy iap;
+ /**
* Identifier of the Application resource. This identifier is equivalent to
* the project ID of the Google Cloud Platform project where you want to
* deploy your application. Example: myapp.
@@ -1383,6 +1391,15 @@
* apps/myapp.@OutputOnly
*/
core.String name;
+ /**
+ * Serving status of this application.
+ * Possible string values are:
+ * - "UNSPECIFIED" : A UNSPECIFIED.
+ * - "SERVING" : A SERVING.
+ * - "USER_DISABLED" : A USER_DISABLED.
+ * - "SYSTEM_DISABLED" : A SYSTEM_DISABLED.
+ */
+ core.String servingStatus;
Application();
@@ -1405,6 +1422,12 @@
if (_json.containsKey("dispatchRules")) {
dispatchRules = _json["dispatchRules"].map((value) => new UrlDispatchRule.fromJson(value)).toList();
}
+ if (_json.containsKey("gcrDomain")) {
+ gcrDomain = _json["gcrDomain"];
+ }
+ if (_json.containsKey("iap")) {
+ iap = new IdentityAwareProxy.fromJson(_json["iap"]);
+ }
if (_json.containsKey("id")) {
id = _json["id"];
}
@@ -1414,6 +1437,9 @@
if (_json.containsKey("name")) {
name = _json["name"];
}
+ if (_json.containsKey("servingStatus")) {
+ servingStatus = _json["servingStatus"];
+ }
}
core.Map toJson() {
@@ -1436,6 +1462,12 @@
if (dispatchRules != null) {
_json["dispatchRules"] = dispatchRules.map((value) => (value).toJson()).toList();
}
+ if (gcrDomain != null) {
+ _json["gcrDomain"] = gcrDomain;
+ }
+ if (iap != null) {
+ _json["iap"] = (iap).toJson();
+ }
if (id != null) {
_json["id"] = id;
}
@@ -1445,6 +1477,9 @@
if (name != null) {
_json["name"] = name;
}
+ if (servingStatus != null) {
+ _json["servingStatus"] = servingStatus;
+ }
return _json;
}
}
@@ -1623,12 +1658,14 @@
}
/**
- * Docker image that is used to start a VM container for the version you deploy.
+ * Docker image that is used to create a container and start a VM instance for
+ * the version that you deploy. Only applicable for instances running in the App
+ * Engine flexible environment.
*/
class ContainerInfo {
/**
- * URI to the hosted container image in a Docker repository. The URI must be
- * fully qualified and include a tag or digest. Examples:
+ * URI to the hosted container image in Google Container Registry. The URI
+ * must be fully qualified and include a tag or digest. Examples:
* "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
*/
core.String image;
@@ -1714,8 +1751,8 @@
/** Code and application artifacts used to deploy a version to App Engine. */
class Deployment {
/**
- * A Docker image that App Engine uses to run the version. Only applicable for
- * instances in App Engine flexible environment.
+ * The Docker image for the container that runs the version. Only applicable
+ * for instances running in the App Engine flexible environment.
*/
ContainerInfo container;
/**
@@ -2022,6 +2059,61 @@
}
}
+/** Identity-Aware Proxy */
+class IdentityAwareProxy {
+ /**
+ * Whether the serving infrastructure will authenticate and authorize all
+ * incoming requests.If true, the oauth2_client_id and oauth2_client_secret
+ * fields must be non-empty.
+ */
+ core.bool enabled;
+ /** OAuth2 client ID to use for the authentication flow. */
+ core.String oauth2ClientId;
+ /**
+ * OAuth2 client secret to use for the authentication flow.For security
+ * reasons, this value cannot be retrieved via the API. Instead, the SHA-256
+ * hash of the value is returned in the oauth2_client_secret_sha256
+ * field.@InputOnly
+ */
+ core.String oauth2ClientSecret;
+ /** Hex-encoded SHA-256 hash of the client secret.@OutputOnly */
+ core.String oauth2ClientSecretSha256;
+
+ IdentityAwareProxy();
+
+ IdentityAwareProxy.fromJson(core.Map _json) {
+ if (_json.containsKey("enabled")) {
+ enabled = _json["enabled"];
+ }
+ if (_json.containsKey("oauth2ClientId")) {
+ oauth2ClientId = _json["oauth2ClientId"];
+ }
+ if (_json.containsKey("oauth2ClientSecret")) {
+ oauth2ClientSecret = _json["oauth2ClientSecret"];
+ }
+ if (_json.containsKey("oauth2ClientSecretSha256")) {
+ oauth2ClientSecretSha256 = _json["oauth2ClientSecretSha256"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (enabled != null) {
+ _json["enabled"] = enabled;
+ }
+ if (oauth2ClientId != null) {
+ _json["oauth2ClientId"] = oauth2ClientId;
+ }
+ if (oauth2ClientSecret != null) {
+ _json["oauth2ClientSecret"] = oauth2ClientSecret;
+ }
+ if (oauth2ClientSecretSha256 != null) {
+ _json["oauth2ClientSecretSha256"] = oauth2ClientSecretSha256;
+ }
+ return _json;
+ }
+}
+
/**
* An Instance resource is the computing unit that App Engine uses to
* automatically scale an application.
@@ -2257,7 +2349,7 @@
}
}
-/** The response message for LocationService.ListLocations. */
+/** The response message for Locations.ListLocations. */
class ListLocationsResponse {
/** A list of locations that matches the specified filter in the request. */
core.List<Location> locations;
@@ -2377,6 +2469,88 @@
}
}
+/**
+ * Health checking configuration for VM instances. Unhealthy instances are
+ * killed and replaced with new instances.
+ */
+class LivenessCheck {
+ /** Interval between health checks. */
+ core.String checkInterval;
+ /**
+ * Number of consecutive failed checks required before considering the VM
+ * unhealthy.
+ */
+ core.int failureThreshold;
+ /**
+ * Host header to send when performing a HTTP Liveness check. Example:
+ * "myapp.appspot.com"
+ */
+ core.String host;
+ /** The initial delay before starting to execute the checks. */
+ core.String initialDelay;
+ /** The request path. */
+ core.String path;
+ /**
+ * Number of consecutive successful checks required before considering the VM
+ * healthy.
+ */
+ core.int successThreshold;
+ /** Time before the check is considered failed. */
+ core.String timeout;
+
+ LivenessCheck();
+
+ LivenessCheck.fromJson(core.Map _json) {
+ if (_json.containsKey("checkInterval")) {
+ checkInterval = _json["checkInterval"];
+ }
+ if (_json.containsKey("failureThreshold")) {
+ failureThreshold = _json["failureThreshold"];
+ }
+ if (_json.containsKey("host")) {
+ host = _json["host"];
+ }
+ if (_json.containsKey("initialDelay")) {
+ initialDelay = _json["initialDelay"];
+ }
+ if (_json.containsKey("path")) {
+ path = _json["path"];
+ }
+ if (_json.containsKey("successThreshold")) {
+ successThreshold = _json["successThreshold"];
+ }
+ if (_json.containsKey("timeout")) {
+ timeout = _json["timeout"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (checkInterval != null) {
+ _json["checkInterval"] = checkInterval;
+ }
+ if (failureThreshold != null) {
+ _json["failureThreshold"] = failureThreshold;
+ }
+ if (host != null) {
+ _json["host"] = host;
+ }
+ if (initialDelay != null) {
+ _json["initialDelay"] = initialDelay;
+ }
+ if (path != null) {
+ _json["path"] = path;
+ }
+ if (successThreshold != null) {
+ _json["successThreshold"] = successThreshold;
+ }
+ if (timeout != null) {
+ _json["timeout"] = timeout;
+ }
+ return _json;
+ }
+}
+
/** A resource that represents Google Cloud Platform location. */
class Location {
/**
@@ -2908,6 +3082,85 @@
}
/** Metadata for the given google.longrunning.Operation. */
+class OperationMetadataV1Beta {
+ /** Time that this operation completed.@OutputOnly */
+ core.String endTime;
+ /**
+ * Ephemeral message that may change every time the operation is polled.
+ * @OutputOnly
+ */
+ core.String ephemeralMessage;
+ /** Time that this operation was created.@OutputOnly */
+ core.String insertTime;
+ /**
+ * API method that initiated this operation. Example:
+ * google.appengine.v1beta.Versions.CreateVersion.@OutputOnly
+ */
+ core.String method;
+ /**
+ * Name of the resource that this operation is acting on. Example:
+ * apps/myapp/services/default.@OutputOnly
+ */
+ core.String target;
+ /** User who requested this operation.@OutputOnly */
+ core.String user;
+ /** Durable messages that persist on every operation poll. @OutputOnly */
+ core.List<core.String> warning;
+
+ OperationMetadataV1Beta();
+
+ OperationMetadataV1Beta.fromJson(core.Map _json) {
+ if (_json.containsKey("endTime")) {
+ endTime = _json["endTime"];
+ }
+ if (_json.containsKey("ephemeralMessage")) {
+ ephemeralMessage = _json["ephemeralMessage"];
+ }
+ if (_json.containsKey("insertTime")) {
+ insertTime = _json["insertTime"];
+ }
+ if (_json.containsKey("method")) {
+ method = _json["method"];
+ }
+ if (_json.containsKey("target")) {
+ target = _json["target"];
+ }
+ if (_json.containsKey("user")) {
+ user = _json["user"];
+ }
+ if (_json.containsKey("warning")) {
+ warning = _json["warning"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (endTime != null) {
+ _json["endTime"] = endTime;
+ }
+ if (ephemeralMessage != null) {
+ _json["ephemeralMessage"] = ephemeralMessage;
+ }
+ if (insertTime != null) {
+ _json["insertTime"] = insertTime;
+ }
+ if (method != null) {
+ _json["method"] = method;
+ }
+ if (target != null) {
+ _json["target"] = target;
+ }
+ if (user != null) {
+ _json["user"] = user;
+ }
+ if (warning != null) {
+ _json["warning"] = warning;
+ }
+ return _json;
+ }
+}
+
+/** Metadata for the given google.longrunning.Operation. */
class OperationMetadataV1Beta5 {
/** Timestamp that this operation completed.@OutputOnly */
core.String endTime;
@@ -2967,6 +3220,76 @@
}
}
+/**
+ * Readiness checking configuration for VM instances. Unhealthy instances are
+ * removed from traffic rotation.
+ */
+class ReadinessCheck {
+ /** Interval between health checks. */
+ core.String checkInterval;
+ /** Number of consecutive failed checks required before removing traffic. */
+ core.int failureThreshold;
+ /**
+ * Host header to send when performing a HTTP Readiness check. Example:
+ * "myapp.appspot.com"
+ */
+ core.String host;
+ /** The request path. */
+ core.String path;
+ /**
+ * Number of consecutive successful checks required before receiving traffic.
+ */
+ core.int successThreshold;
+ /** Time before the check is considered failed. */
+ core.String timeout;
+
+ ReadinessCheck();
+
+ ReadinessCheck.fromJson(core.Map _json) {
+ if (_json.containsKey("checkInterval")) {
+ checkInterval = _json["checkInterval"];
+ }
+ if (_json.containsKey("failureThreshold")) {
+ failureThreshold = _json["failureThreshold"];
+ }
+ if (_json.containsKey("host")) {
+ host = _json["host"];
+ }
+ if (_json.containsKey("path")) {
+ path = _json["path"];
+ }
+ if (_json.containsKey("successThreshold")) {
+ successThreshold = _json["successThreshold"];
+ }
+ if (_json.containsKey("timeout")) {
+ timeout = _json["timeout"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (checkInterval != null) {
+ _json["checkInterval"] = checkInterval;
+ }
+ if (failureThreshold != null) {
+ _json["failureThreshold"] = failureThreshold;
+ }
+ if (host != null) {
+ _json["host"] = host;
+ }
+ if (path != null) {
+ _json["path"] = path;
+ }
+ if (successThreshold != null) {
+ _json["successThreshold"] = successThreshold;
+ }
+ if (timeout != null) {
+ _json["timeout"] = timeout;
+ }
+ return _json;
+ }
+}
+
/** Request message for 'Applications.RepairApplication'. */
class RepairApplicationRequest {
@@ -3335,6 +3658,7 @@
* - "UNSPECIFIED" : A UNSPECIFIED.
* - "COOKIE" : A COOKIE.
* - "IP" : A IP.
+ * - "RANDOM" : A RANDOM.
*/
core.String shardBy;
@@ -3370,7 +3694,7 @@
core.String domain;
/**
* Pathname within the host. Must start with a "/". A single "*" can be
- * included at the end of the path. The sum of the lengths of the domain and
+ * included at the end of the path.The sum of the lengths of the domain and
* path may not exceed 100 characters.
*/
core.String path;
@@ -3635,6 +3959,12 @@
*/
core.List<Library> libraries;
/**
+ * Configures liveness health checking for VM instances. Unhealthy instances
+ * are stopped and replaced with new instancesOnly returned in GET requests if
+ * view=FULL is set.
+ */
+ LivenessCheck livenessCheck;
+ /**
* A service with manual scaling runs continuously, allowing you to perform
* complex initialization and rely on the state of its memory over time.
*/
@@ -3652,6 +3982,12 @@
* set.
*/
core.String nobuildFilesRegex;
+ /**
+ * Configures readiness health checking for VM instances. Unhealthy instances
+ * are not put into the backend traffic rotation.Only returned in GET requests
+ * if view=FULL is set.
+ */
+ ReadinessCheck readinessCheck;
/** Machine resources for this version. Only applicable for VM runtimes. */
Resources resources;
/** Desired runtime. Example: python27. */
@@ -3736,6 +4072,9 @@
if (_json.containsKey("libraries")) {
libraries = _json["libraries"].map((value) => new Library.fromJson(value)).toList();
}
+ if (_json.containsKey("livenessCheck")) {
+ livenessCheck = new LivenessCheck.fromJson(_json["livenessCheck"]);
+ }
if (_json.containsKey("manualScaling")) {
manualScaling = new ManualScaling.fromJson(_json["manualScaling"]);
}
@@ -3748,6 +4087,9 @@
if (_json.containsKey("nobuildFilesRegex")) {
nobuildFilesRegex = _json["nobuildFilesRegex"];
}
+ if (_json.containsKey("readinessCheck")) {
+ readinessCheck = new ReadinessCheck.fromJson(_json["readinessCheck"]);
+ }
if (_json.containsKey("resources")) {
resources = new Resources.fromJson(_json["resources"]);
}
@@ -3827,6 +4169,9 @@
if (libraries != null) {
_json["libraries"] = libraries.map((value) => (value).toJson()).toList();
}
+ if (livenessCheck != null) {
+ _json["livenessCheck"] = (livenessCheck).toJson();
+ }
if (manualScaling != null) {
_json["manualScaling"] = (manualScaling).toJson();
}
@@ -3839,6 +4184,9 @@
if (nobuildFilesRegex != null) {
_json["nobuildFilesRegex"] = nobuildFilesRegex;
}
+ if (readinessCheck != null) {
+ _json["readinessCheck"] = (readinessCheck).toJson();
+ }
if (resources != null) {
_json["resources"] = (resources).toJson();
}
diff --git a/generated/googleapis/lib/bigquery/v2.dart b/generated/googleapis/lib/bigquery/v2.dart
index bfa308f..2795b3b 100644
--- a/generated/googleapis/lib/bigquery/v2.dart
+++ b/generated/googleapis/lib/bigquery/v2.dart
@@ -848,6 +848,9 @@
* [pageToken] - Page token, returned by a previous call, identifying the
* result set
*
+ * [selectedFields] - List of fields to return (comma-separated). If
+ * unspecified, all fields are returned
+ *
* [startIndex] - Zero-based index of the starting row to read
*
* Completes with a [TableDataList].
@@ -858,7 +861,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<TableDataList> list(core.String projectId, core.String datasetId, core.String tableId, {core.int maxResults, core.String pageToken, core.String startIndex}) {
+ async.Future<TableDataList> list(core.String projectId, core.String datasetId, core.String tableId, {core.int maxResults, core.String pageToken, core.String selectedFields, core.String startIndex}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -881,6 +884,9 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (selectedFields != null) {
+ _queryParams["selectedFields"] = [selectedFields];
+ }
if (startIndex != null) {
_queryParams["startIndex"] = [startIndex];
}
@@ -969,6 +975,9 @@
*
* [tableId] - Table ID of the requested table
*
+ * [selectedFields] - List of fields to return (comma-separated). If
+ * unspecified, all fields are returned
+ *
* Completes with a [Table].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -977,7 +986,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Table> get(core.String projectId, core.String datasetId, core.String tableId) {
+ async.Future<Table> get(core.String projectId, core.String datasetId, core.String tableId, {core.String selectedFields}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -994,6 +1003,9 @@
if (tableId == null) {
throw new core.ArgumentError("Parameter tableId is required.");
}
+ if (selectedFields != null) {
+ _queryParams["selectedFields"] = [selectedFields];
+ }
_url = 'projects/' + commons.Escaper.ecapeVariable('$projectId') + '/datasets/' + commons.Escaper.ecapeVariable('$datasetId') + '/tables/' + commons.Escaper.ecapeVariable('$tableId');
@@ -1682,10 +1694,9 @@
/** [Output-only] The resource type. */
core.String kind;
/**
- * [Experimental] The labels associated with this dataset. You can use these
- * to organize and group your datasets. You can set this property when
- * inserting or updating a dataset. See Labeling Datasets for more
- * information.
+ * The labels associated with this dataset. You can use these to organize and
+ * group your datasets. You can set this property when inserting or updating a
+ * dataset. See Labeling Datasets for more information.
*/
core.Map<core.String, core.String> labels;
/**
@@ -1694,8 +1705,8 @@
*/
core.String lastModifiedTime;
/**
- * [Experimental] The geographic location where the dataset should reside.
- * Possible values include EU and US. The default value is US.
+ * The geographic location where the dataset should reside. Possible values
+ * include EU and US. The default value is US.
*/
core.String location;
/**
@@ -1809,8 +1820,8 @@
*/
core.String kind;
/**
- * [Experimental] The labels associated with this dataset. You can use these
- * to organize and group your datasets.
+ * The labels associated with this dataset. You can use these to organize and
+ * group your datasets.
*/
core.Map<core.String, core.String> labels;
@@ -2158,8 +2169,8 @@
class ExternalDataConfiguration {
/**
- * [Experimental] Try to detect schema and format options automatically. Any
- * option specified explicitly will be honored.
+ * Try to detect schema and format options automatically. Any option specified
+ * explicitly will be honored.
*/
core.bool autodetect;
/** [Optional] Additional options if sourceFormat is set to BIGTABLE. */
@@ -2204,10 +2215,8 @@
* [Required] The data format. For CSV files, specify "CSV". For Google
* sheets, specify "GOOGLE_SHEETS". For newline-delimited JSON, specify
* "NEWLINE_DELIMITED_JSON". For Avro files, specify "AVRO". For Google Cloud
- * Datastore backups, specify "DATASTORE_BACKUP". [Experimental] For Google
- * Cloud Bigtable, specify "BIGTABLE". Please note that reading from Google
- * Cloud Bigtable is experimental and has to be enabled for your project.
- * Please contact Google Cloud Support to enable this for your project.
+ * Datastore backups, specify "DATASTORE_BACKUP". [Beta] For Google Cloud
+ * Bigtable, specify "BIGTABLE".
*/
core.String sourceFormat;
/**
@@ -2321,8 +2330,8 @@
/** The resource type of the response. */
core.String kind;
/**
- * [Output-only, Experimental] The number of rows affected by a DML statement.
- * Present only for DML statements INSERT, UPDATE or DELETE.
+ * [Output-only] The number of rows affected by a DML statement. Present only
+ * for DML statements INSERT, UPDATE or DELETE.
*/
core.String numDmlAffectedRows;
/** A token used for paging results. */
@@ -2761,8 +2770,8 @@
*/
core.bool allowQuotedNewlines;
/**
- * [Experimental] Indicates if we should automatically infer the options and
- * schema for CSV and JSON sources.
+ * Indicates if we should automatically infer the options and schema for CSV
+ * and JSON sources.
*/
core.bool autodetect;
/**
@@ -2820,12 +2829,12 @@
*/
core.String nullMarker;
/**
- * [Experimental] If sourceFormat is set to "DATASTORE_BACKUP", indicates
- * which entity properties to load into BigQuery from a Cloud Datastore
- * backup. Property names are case sensitive and must be top-level properties.
- * If no properties are specified, BigQuery loads all properties. If any named
- * property isn't found in the Cloud Datastore backup, an invalid error is
- * returned in the job result.
+ * If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity
+ * properties to load into BigQuery from a Cloud Datastore backup. Property
+ * names are case sensitive and must be top-level properties. If no properties
+ * are specified, BigQuery loads all properties. If any named property isn't
+ * found in the Cloud Datastore backup, an invalid error is returned in the
+ * job result.
*/
core.List<core.String> projectionFields;
/**
@@ -3071,9 +3080,8 @@
*/
core.String maximumBytesBilled;
/**
- * [Experimental] Standard SQL only. Set to POSITIONAL to use positional (?)
- * query parameters or to NAMED to use named (@myparam) query parameters in
- * this query.
+ * Standard SQL only. Set to POSITIONAL to use positional (?) query parameters
+ * or to NAMED to use named (@myparam) query parameters in this query.
*/
core.String parameterMode;
/** [Deprecated] This property is deprecated. */
@@ -3123,9 +3131,7 @@
* true.
*/
core.bool useQueryCache;
- /**
- * [Experimental] Describes user-defined function resources used in the query.
- */
+ /** Describes user-defined function resources used in the query. */
core.List<UserDefinedFunctionResource> userDefinedFunctionResources;
/**
* [Optional] Specifies the action that occurs if the destination table
@@ -3588,11 +3594,11 @@
*/
core.bool cacheHit;
/**
- * [Output-only, Experimental] The number of rows affected by a DML statement.
- * Present only for DML statements INSERT, UPDATE or DELETE.
+ * [Output-only] The number of rows affected by a DML statement. Present only
+ * for DML statements INSERT, UPDATE or DELETE.
*/
core.String numDmlAffectedRows;
- /** [Output-only, Experimental] Describes execution plan for the query. */
+ /** [Output-only] Describes execution plan for the query. */
core.List<ExplainQueryStage> queryPlan;
/**
* [Output-only, Experimental] Referenced tables for the job. Queries that
@@ -4156,9 +4162,8 @@
*/
core.int maxResults;
/**
- * [Experimental] Standard SQL only. Set to POSITIONAL to use positional (?)
- * query parameters or to NAMED to use named (@myparam) query parameters in
- * this query.
+ * Standard SQL only. Set to POSITIONAL to use positional (?) query parameters
+ * or to NAMED to use named (@myparam) query parameters in this query.
*/
core.String parameterMode;
/** [Deprecated] This property is deprecated. */
@@ -4169,7 +4174,7 @@
* [myProjectId:myDatasetId.myTableId]".
*/
core.String query;
- /** [Experimental] Query parameters for Standard SQL queries. */
+ /** Query parameters for Standard SQL queries. */
core.List<QueryParameter> queryParameters;
/**
* [Optional] How long to wait for the query to complete, in milliseconds,
@@ -4300,8 +4305,8 @@
/** The resource type. */
core.String kind;
/**
- * [Output-only, Experimental] The number of rows affected by a DML statement.
- * Present only for DML statements INSERT, UPDATE or DELETE.
+ * [Output-only] The number of rows affected by a DML statement. Present only
+ * for DML statements INSERT, UPDATE or DELETE.
*/
core.String numDmlAffectedRows;
/** A token used for paging results. */
@@ -5310,9 +5315,7 @@
* reference this view must use the same flag value.
*/
core.bool useLegacySql;
- /**
- * [Experimental] Describes user-defined function resources used in the query.
- */
+ /** Describes user-defined function resources used in the query. */
core.List<UserDefinedFunctionResource> userDefinedFunctionResources;
ViewDefinition();
diff --git a/generated/googleapis/lib/calendar/v3.dart b/generated/googleapis/lib/calendar/v3.dart
index e17b36c..183bd61 100644
--- a/generated/googleapis/lib/calendar/v3.dart
+++ b/generated/googleapis/lib/calendar/v3.dart
@@ -3212,6 +3212,81 @@
}
}
+class DeepLinkData {
+ core.List<Link> links;
+ core.String url;
+
+ DeepLinkData();
+
+ DeepLinkData.fromJson(core.Map _json) {
+ if (_json.containsKey("links")) {
+ links = _json["links"].map((value) => new Link.fromJson(value)).toList();
+ }
+ if (_json.containsKey("url")) {
+ url = _json["url"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (links != null) {
+ _json["links"] = links.map((value) => (value).toJson()).toList();
+ }
+ if (url != null) {
+ _json["url"] = url;
+ }
+ return _json;
+ }
+}
+
+class DisplayInfo {
+ core.String appIconUrl;
+ core.String appShortTitle;
+ core.String appTitle;
+ core.String linkShortTitle;
+ core.String linkTitle;
+
+ DisplayInfo();
+
+ DisplayInfo.fromJson(core.Map _json) {
+ if (_json.containsKey("appIconUrl")) {
+ appIconUrl = _json["appIconUrl"];
+ }
+ if (_json.containsKey("appShortTitle")) {
+ appShortTitle = _json["appShortTitle"];
+ }
+ if (_json.containsKey("appTitle")) {
+ appTitle = _json["appTitle"];
+ }
+ if (_json.containsKey("linkShortTitle")) {
+ linkShortTitle = _json["linkShortTitle"];
+ }
+ if (_json.containsKey("linkTitle")) {
+ linkTitle = _json["linkTitle"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (appIconUrl != null) {
+ _json["appIconUrl"] = appIconUrl;
+ }
+ if (appShortTitle != null) {
+ _json["appShortTitle"] = appShortTitle;
+ }
+ if (appTitle != null) {
+ _json["appTitle"] = appTitle;
+ }
+ if (linkShortTitle != null) {
+ _json["linkShortTitle"] = linkShortTitle;
+ }
+ if (linkTitle != null) {
+ _json["linkTitle"] = linkTitle;
+ }
+ return _json;
+ }
+}
+
class Error {
/** Domain, or broad category, of the error. */
core.String domain;
@@ -4210,6 +4285,35 @@
}
}
+class EventHabitInstance {
+ /** Metadata specific to this instance. */
+ HabitInstanceData data;
+ /** Id of the habit this instance belongs to. */
+ core.String parentId;
+
+ EventHabitInstance();
+
+ EventHabitInstance.fromJson(core.Map _json) {
+ if (_json.containsKey("data")) {
+ data = new HabitInstanceData.fromJson(_json["data"]);
+ }
+ if (_json.containsKey("parentId")) {
+ parentId = _json["parentId"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (data != null) {
+ _json["data"] = (data).toJson();
+ }
+ if (parentId != null) {
+ _json["parentId"] = parentId;
+ }
+ return _json;
+ }
+}
+
class EventReminder {
/**
* The method used by this reminder. Possible values are:
@@ -4577,6 +4681,129 @@
}
}
+class HabitInstanceData {
+ core.String status;
+ core.bool statusInferred;
+ core.String type;
+
+ HabitInstanceData();
+
+ HabitInstanceData.fromJson(core.Map _json) {
+ if (_json.containsKey("status")) {
+ status = _json["status"];
+ }
+ if (_json.containsKey("statusInferred")) {
+ statusInferred = _json["statusInferred"];
+ }
+ if (_json.containsKey("type")) {
+ type = _json["type"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (status != null) {
+ _json["status"] = status;
+ }
+ if (statusInferred != null) {
+ _json["statusInferred"] = statusInferred;
+ }
+ if (type != null) {
+ _json["type"] = type;
+ }
+ return _json;
+ }
+}
+
+class LaunchInfo {
+ core.String appId;
+ core.String installUrl;
+ core.String intentAction;
+ core.String uri;
+
+ LaunchInfo();
+
+ LaunchInfo.fromJson(core.Map _json) {
+ if (_json.containsKey("appId")) {
+ appId = _json["appId"];
+ }
+ if (_json.containsKey("installUrl")) {
+ installUrl = _json["installUrl"];
+ }
+ if (_json.containsKey("intentAction")) {
+ intentAction = _json["intentAction"];
+ }
+ if (_json.containsKey("uri")) {
+ uri = _json["uri"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (appId != null) {
+ _json["appId"] = appId;
+ }
+ if (installUrl != null) {
+ _json["installUrl"] = installUrl;
+ }
+ if (intentAction != null) {
+ _json["intentAction"] = intentAction;
+ }
+ if (uri != null) {
+ _json["uri"] = uri;
+ }
+ return _json;
+ }
+}
+
+class Link {
+ core.String applinkingSource;
+ DisplayInfo displayInfo;
+ LaunchInfo launchInfo;
+ core.String platform;
+ core.String url;
+
+ Link();
+
+ Link.fromJson(core.Map _json) {
+ if (_json.containsKey("applinkingSource")) {
+ applinkingSource = _json["applinkingSource"];
+ }
+ if (_json.containsKey("displayInfo")) {
+ displayInfo = new DisplayInfo.fromJson(_json["displayInfo"]);
+ }
+ if (_json.containsKey("launchInfo")) {
+ launchInfo = new LaunchInfo.fromJson(_json["launchInfo"]);
+ }
+ if (_json.containsKey("platform")) {
+ platform = _json["platform"];
+ }
+ if (_json.containsKey("url")) {
+ url = _json["url"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (applinkingSource != null) {
+ _json["applinkingSource"] = applinkingSource;
+ }
+ if (displayInfo != null) {
+ _json["displayInfo"] = (displayInfo).toJson();
+ }
+ if (launchInfo != null) {
+ _json["launchInfo"] = (launchInfo).toJson();
+ }
+ if (platform != null) {
+ _json["platform"] = platform;
+ }
+ if (url != null) {
+ _json["url"] = url;
+ }
+ return _json;
+ }
+}
+
class Setting {
/** ETag of the resource. */
core.String etag;
diff --git a/generated/googleapis/lib/classroom/v1.dart b/generated/googleapis/lib/classroom/v1.dart
index 4e975a7..d399175 100644
--- a/generated/googleapis/lib/classroom/v1.dart
+++ b/generated/googleapis/lib/classroom/v1.dart
@@ -16,12 +16,6 @@
/** Manages classes, rosters, and invitations in Google Classroom. */
class ClassroomApi {
- /**
- * View instructions for teacher-assigned work in your Google Classroom
- * classes
- */
- static const ClassroomCourseWorkReadonlyScope = "https://www.googleapis.com/auth/classroom.course-work.readonly";
-
/** Manage your Google Classroom classes */
static const ClassroomCoursesScope = "https://www.googleapis.com/auth/classroom.courses";
@@ -91,14 +85,21 @@
_requester = client;
/**
- * Creates a course. The user specified in `ownerId` is the owner of the
- * created course and added as a teacher. This method returns the following
- * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted
- * to create courses or for access errors. * `NOT_FOUND` if the primary
- * teacher is not a valid user. * `FAILED_PRECONDITION` if the course owner's
- * account is disabled or for the following request errors: *
- * UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if an alias was
- * specified in the `id` and already exists.
+ * Creates a course.
+ *
+ * The user specified in `ownerId` is the owner of the created course
+ * and added as a teacher.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to create
+ * courses or for access errors.
+ * * `NOT_FOUND` if the primary teacher is not a valid user.
+ * * `FAILED_PRECONDITION` if the course owner's account is disabled or for
+ * the following request errors:
+ * * UserGroupsMembershipLimitReached
+ * * `ALREADY_EXISTS` if an alias was specified in the `id` and
+ * already exists.
*
* [request] - The metadata request object.
*
@@ -137,15 +138,19 @@
}
/**
- * Deletes a course. This method returns the following error codes: *
- * `PERMISSION_DENIED` if the requesting user is not permitted to delete the
- * requested course or for access errors. * `NOT_FOUND` if no course exists
- * with the requested ID.
+ * Deletes a course.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to delete the
+ * requested course or for access errors.
+ * * `NOT_FOUND` if no course exists with the requested ID.
*
* Request parameters:
*
- * [id] - Identifier of the course to delete. This identifier can be either
- * the Classroom-assigned identifier or an alias.
+ * [id] - Identifier of the course to delete.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* Completes with a [Empty].
*
@@ -180,15 +185,19 @@
}
/**
- * Returns a course. This method returns the following error codes: *
- * `PERMISSION_DENIED` if the requesting user is not permitted to access the
- * requested course or for access errors. * `NOT_FOUND` if no course exists
- * with the requested ID.
+ * Returns a course.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to access the
+ * requested course or for access errors.
+ * * `NOT_FOUND` if no course exists with the requested ID.
*
* Request parameters:
*
- * [id] - Identifier of the course to return. This identifier can be either
- * the Classroom-assigned identifier or an alias.
+ * [id] - Identifier of the course to return.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* Completes with a [Course].
*
@@ -224,33 +233,49 @@
/**
* Returns a list of courses that the requesting user is permitted to view,
- * restricted to those that match the request. This method returns the
- * following error codes: * `PERMISSION_DENIED` for access errors. *
- * `INVALID_ARGUMENT` if the query argument is malformed. * `NOT_FOUND` if any
- * users specified in the query arguments do not exist.
+ * restricted to those that match the request.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` for access errors.
+ * * `INVALID_ARGUMENT` if the query argument is malformed.
+ * * `NOT_FOUND` if any users specified in the query arguments do not exist.
*
* Request parameters:
*
- * [studentId] - Restricts returned courses to those having a student with the
- * specified identifier. The identifier can be one of the following: * the
- * numeric identifier for the user * the email address of the user * the
- * string literal `"me"`, indicating the requesting user
- *
- * [teacherId] - Restricts returned courses to those having a teacher with the
- * specified identifier. The identifier can be one of the following: * the
- * numeric identifier for the user * the email address of the user * the
- * string literal `"me"`, indicating the requesting user
- *
* [courseStates] - Restricts returned courses to those in one of the
* specified states
+ * The default value is ACTIVE, ARCHIVED, PROVISIONED, DECLINED.
*
* [pageSize] - Maximum number of items to return. Zero or unspecified
- * indicates that the server may assign a maximum. The server may return fewer
- * than the specified number of results.
+ * indicates that the
+ * server may assign a maximum.
*
- * [pageToken] - nextPageToken value returned from a previous list call,
- * indicating that the subsequent page of results should be returned. The list
- * request must be otherwise identical to the one that resulted in this token.
+ * The server may return fewer than the specified number of results.
+ *
+ * [teacherId] - Restricts returned courses to those having a teacher with the
+ * specified
+ * identifier. The identifier can be one of the following:
+ *
+ * * the numeric identifier for the user
+ * * the email address of the user
+ * * the string literal `"me"`, indicating the requesting user
+ *
+ * [studentId] - Restricts returned courses to those having a student with the
+ * specified
+ * identifier. The identifier can be one of the following:
+ *
+ * * the numeric identifier for the user
+ * * the email address of the user
+ * * the string literal `"me"`, indicating the requesting user
+ *
+ * [pageToken] - nextPageToken
+ * value returned from a previous
+ * list call,
+ * indicating that the subsequent page of results should be returned.
+ *
+ * The list request must be
+ * otherwise identical to the one that resulted in this token.
*
* Completes with a [ListCoursesResponse].
*
@@ -260,7 +285,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListCoursesResponse> list({core.String studentId, core.String teacherId, core.List<core.String> courseStates, core.int pageSize, core.String pageToken}) {
+ async.Future<ListCoursesResponse> list({core.List<core.String> courseStates, core.int pageSize, core.String teacherId, core.String studentId, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -268,18 +293,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (studentId != null) {
- _queryParams["studentId"] = [studentId];
- }
- if (teacherId != null) {
- _queryParams["teacherId"] = [teacherId];
- }
if (courseStates != null) {
_queryParams["courseStates"] = courseStates;
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (teacherId != null) {
+ _queryParams["teacherId"] = [teacherId];
+ }
+ if (studentId != null) {
+ _queryParams["studentId"] = [studentId];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -297,26 +322,40 @@
}
/**
- * Updates one or more fields in a course. This method returns the following
- * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted
- * to modify the requested course or for access errors. * `NOT_FOUND` if no
- * course exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields
- * are specified in the update mask or if no update mask is supplied. *
- * `FAILED_PRECONDITION` for the following request errors: *
- * CourseNotModifiable
+ * Updates one or more fields in a course.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to modify the
+ * requested course or for access errors.
+ * * `NOT_FOUND` if no course exists with the requested ID.
+ * * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or
+ * if no update mask is supplied.
+ * * `FAILED_PRECONDITION` for the following request errors:
+ * * CourseNotModifiable
*
* [request] - The metadata request object.
*
* Request parameters:
*
- * [id] - Identifier of the course to update. This identifier can be either
- * the Classroom-assigned identifier or an alias.
+ * [id] - Identifier of the course to update.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* [updateMask] - Mask that identifies which fields on the course to update.
* This field is required to do an update. The update will fail if invalid
- * fields are specified. The following fields are valid: * `name` * `section`
- * * `descriptionHeading` * `description` * `room` * `courseState` When set in
- * a query parameter, this field should be specified as `updateMask=,,...`
+ * fields are specified. The following fields are valid:
+ *
+ * * `name`
+ * * `section`
+ * * `descriptionHeading`
+ * * `description`
+ * * `room`
+ * * `courseState`
+ *
+ * When set in a query parameter, this field should be specified as
+ *
+ * `updateMask=<field1>,<field2>,...`
*
* Completes with a [Course].
*
@@ -357,18 +396,23 @@
}
/**
- * Updates a course. This method returns the following error codes: *
- * `PERMISSION_DENIED` if the requesting user is not permitted to modify the
- * requested course or for access errors. * `NOT_FOUND` if no course exists
- * with the requested ID. * `FAILED_PRECONDITION` for the following request
- * errors: * CourseNotModifiable
+ * Updates a course.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to modify the
+ * requested course or for access errors.
+ * * `NOT_FOUND` if no course exists with the requested ID.
+ * * `FAILED_PRECONDITION` for the following request errors:
+ * * CourseNotModifiable
*
* [request] - The metadata request object.
*
* Request parameters:
*
- * [id] - Identifier of the course to update. This identifier can be either
- * the Classroom-assigned identifier or an alias.
+ * [id] - Identifier of the course to update.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* Completes with a [Course].
*
@@ -415,17 +459,25 @@
_requester = client;
/**
- * Creates an alias for a course. This method returns the following error
- * codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
- * create the alias or for access errors. * `NOT_FOUND` if the course does not
- * exist. * `ALREADY_EXISTS` if the alias already exists.
+ * Creates an alias for a course.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to create the
+ * alias or for access errors.
+ * * `NOT_FOUND` if the course does not exist.
+ * * `ALREADY_EXISTS` if the alias already exists.
+ * * `FAILED_PRECONDITION` if the alias requested does not make sense for the
+ * requesting user or course (for example, if a user not in a domain
+ * attempts to access a domain-scoped alias).
*
* [request] - The metadata request object.
*
* Request parameters:
*
- * [courseId] - Identifier of the course to alias. This identifier can be
- * either the Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course to alias.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* Completes with a [CourseAlias].
*
@@ -463,18 +515,25 @@
}
/**
- * Deletes an alias of a course. This method returns the following error
- * codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
- * remove the alias or for access errors. * `NOT_FOUND` if the alias does not
- * exist.
+ * Deletes an alias of a course.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to remove the
+ * alias or for access errors.
+ * * `NOT_FOUND` if the alias does not exist.
+ * * `FAILED_PRECONDITION` if the alias requested does not make sense for the
+ * requesting user or course (for example, if a user not in a domain
+ * attempts to delete a domain-scoped alias).
*
* Request parameters:
*
- * [courseId] - Identifier of the course whose alias should be deleted. This
- * identifier can be either the Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course whose alias should be deleted.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
- * [alias] - Alias to delete. This may not be the Classroom-assigned
- * identifier.
+ * [alias] - Alias to delete.
+ * This may not be the Classroom-assigned identifier.
*
* Completes with a [Empty].
*
@@ -512,23 +571,33 @@
}
/**
- * Returns a list of aliases for a course. This method returns the following
- * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted
- * to access the course or for access errors. * `NOT_FOUND` if the course does
- * not exist.
+ * Returns a list of aliases for a course.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to access the
+ * course or for access errors.
+ * * `NOT_FOUND` if the course does not exist.
*
* Request parameters:
*
- * [courseId] - The identifier of the course. This identifier can be either
- * the Classroom-assigned identifier or an alias.
+ * [courseId] - The identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* [pageSize] - Maximum number of items to return. Zero or unspecified
- * indicates that the server may assign a maximum. The server may return fewer
- * than the specified number of results.
+ * indicates that the
+ * server may assign a maximum.
*
- * [pageToken] - nextPageToken value returned from a previous list call,
- * indicating that the subsequent page of results should be returned. The list
- * request must be otherwise identical to the one that resulted in this token.
+ * The server may return fewer than the specified number of results.
+ *
+ * [pageToken] - nextPageToken
+ * value returned from a previous
+ * list call,
+ * indicating that the subsequent page of results should be returned.
+ *
+ * The list request
+ * must be otherwise identical to the one that resulted in this token.
*
* Completes with a [ListCourseAliasesResponse].
*
@@ -580,25 +649,32 @@
_requester = client;
/**
- * Creates course work. The resulting course work (and corresponding student
- * submissions) are associated with the Developer Console project of the
+ * Creates course work.
+ *
+ * The resulting course work (and corresponding student submissions) are
+ * associated with the Developer Console project of the
* [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
* make the request. Classroom API requests to modify course work and student
* submissions must be made with an OAuth client ID from the associated
- * Developer Console project. This method returns the following error codes: *
- * `PERMISSION_DENIED` if the requesting user is not permitted to access the
- * requested course, create course work in the requested course, share a Drive
- * attachment, or for access errors. * `INVALID_ARGUMENT` if the request is
- * malformed. * `NOT_FOUND` if the requested course does not exist. *
- * `FAILED_PRECONDITION` for the following request error: *
- * AttachmentNotVisible
+ * Developer Console project.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to access the
+ * requested course, create course work in the requested course, share a
+ * Drive attachment, or for access errors.
+ * * `INVALID_ARGUMENT` if the request is malformed.
+ * * `NOT_FOUND` if the requested course does not exist.
+ * * `FAILED_PRECONDITION` for the following request error:
+ * * AttachmentNotVisible
*
* [request] - The metadata request object.
*
* Request parameters:
*
- * [courseId] - Identifier of the course. This identifier can be either the
- * Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* Completes with a [CourseWork].
*
@@ -636,23 +712,29 @@
}
/**
- * Deletes a course work. This request must be made by the Developer Console
- * project of the [OAuth client
- * ID](https://support.google.com/cloud/answer/6158849) used to create the
- * corresponding course work item. This method returns the following error
- * codes: * `PERMISSION_DENIED` if the requesting developer project did not
- * create the corresponding course work, if the requesting user is not
- * permitted to delete the requested course or for access errors. *
- * `FAILED_PRECONDITION` if the requested course work has already been
- * deleted. * `NOT_FOUND` if no course exists with the requested ID.
+ * Deletes a course work.
+ *
+ * This request must be made by the Developer Console project of the
+ * [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
+ * create the corresponding course work item.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting developer project did not create
+ * the corresponding course work, if the requesting user is not permitted
+ * to delete the requested course or for access errors.
+ * * `FAILED_PRECONDITION` if the requested course work has already been
+ * deleted.
+ * * `NOT_FOUND` if no course exists with the requested ID.
*
* Request parameters:
*
- * [courseId] - Identifier of the course. This identifier can be either the
- * Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
- * [id] - Identifier of the course work to delete. This identifier is a
- * Classroom-assigned identifier.
+ * [id] - Identifier of the course work to delete.
+ * This identifier is a Classroom-assigned identifier.
*
* Completes with a [Empty].
*
@@ -690,16 +772,20 @@
}
/**
- * Returns course work. This method returns the following error codes: *
- * `PERMISSION_DENIED` if the requesting user is not permitted to access the
- * requested course or course work, or for access errors. * `INVALID_ARGUMENT`
- * if the request is malformed. * `NOT_FOUND` if the requested course or
- * course work does not exist.
+ * Returns course work.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to access the
+ * requested course or course work, or for access errors.
+ * * `INVALID_ARGUMENT` if the request is malformed.
+ * * `NOT_FOUND` if the requested course or course work does not exist.
*
* Request parameters:
*
- * [courseId] - Identifier of the course. This identifier can be either the
- * Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* [id] - Identifier of the course work.
*
@@ -740,35 +826,48 @@
/**
* Returns a list of course work that the requester is permitted to view.
- * Course students may only view `PUBLISHED` course work. Course teachers and
- * domain administrators may view all course work. This method returns the
- * following error codes: * `PERMISSION_DENIED` if the requesting user is not
- * permitted to access the requested course or for access errors. *
- * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the
- * requested course does not exist.
+ *
+ * Course students may only view `PUBLISHED` course work. Course teachers
+ * and domain administrators may view all course work.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to access
+ * the requested course or for access errors.
+ * * `INVALID_ARGUMENT` if the request is malformed.
+ * * `NOT_FOUND` if the requested course does not exist.
*
* Request parameters:
*
- * [courseId] - Identifier of the course. This identifier can be either the
- * Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* [courseWorkStates] - Restriction on the work status to return. Only
- * courseWork that matches is returned. If unspecified, items with a work
- * status of `PUBLISHED` is returned.
- *
- * [orderBy] - Optional sort ordering for results. A comma-separated list of
- * fields with an optional sort direction keyword. Supported fields are
- * `updateTime` and `dueDate`. Supported direction keywords are `asc` and
- * `desc`. If not specified, `updateTime desc` is the default behavior.
- * Examples: `dueDate asc,updateTime desc`, `updateTime,dueDate desc`
+ * courseWork that matches
+ * is returned. If unspecified, items with a work status of `PUBLISHED`
+ * is returned.
*
* [pageSize] - Maximum number of items to return. Zero or unspecified
- * indicates that the server may assign a maximum. The server may return fewer
- * than the specified number of results.
+ * indicates that the
+ * server may assign a maximum.
*
- * [pageToken] - nextPageToken value returned from a previous list call,
- * indicating that the subsequent page of results should be returned. The list
- * request must be otherwise identical to the one that resulted in this token.
+ * The server may return fewer than the specified number of results.
+ *
+ * [orderBy] - Optional sort ordering for results. A comma-separated list of
+ * fields with
+ * an optional sort direction keyword. Supported fields are `updateTime`
+ * and `dueDate`. Supported direction keywords are `asc` and `desc`.
+ * If not specified, `updateTime desc` is the default behavior.
+ * Examples: `dueDate asc,updateTime desc`, `updateTime,dueDate desc`
+ *
+ * [pageToken] - nextPageToken
+ * value returned from a previous
+ * list call,
+ * indicating that the subsequent page of results should be returned.
+ *
+ * The list request
+ * must be otherwise identical to the one that resulted in this token.
*
* Completes with a [ListCourseWorkResponse].
*
@@ -778,7 +877,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListCourseWorkResponse> list(core.String courseId, {core.List<core.String> courseWorkStates, core.String orderBy, core.int pageSize, core.String pageToken}) {
+ async.Future<ListCourseWorkResponse> list(core.String courseId, {core.List<core.String> courseWorkStates, core.int pageSize, core.String orderBy, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -792,12 +891,12 @@
if (courseWorkStates != null) {
_queryParams["courseWorkStates"] = courseWorkStates;
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -815,37 +914,54 @@
}
/**
- * Updates one or more fields of a course work. See
- * google.classroom.v1.CourseWork for details of which fields may be updated
- * and who may change them. This request must be made by the Developer Console
- * project of the [OAuth client
- * ID](https://support.google.com/cloud/answer/6158849) used to create the
- * corresponding course work item. This method returns the following error
- * codes: * `PERMISSION_DENIED` if the requesting developer project did not
- * create the corresponding course work, if the user is not permitted to make
- * the requested modification to the student submission, or for access errors.
- * * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION`
- * if the requested course work has already been deleted. * `NOT_FOUND` if the
- * requested course, course work, or student submission does not exist.
+ * Updates one or more fields of a course work.
+ *
+ * See google.classroom.v1.CourseWork for details
+ * of which fields may be updated and who may change them.
+ *
+ * This request must be made by the Developer Console project of the
+ * [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
+ * create the corresponding course work item.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting developer project did not create
+ * the corresponding course work, if the user is not permitted to make the
+ * requested modification to the student submission, or for
+ * access errors.
+ * * `INVALID_ARGUMENT` if the request is malformed.
+ * * `FAILED_PRECONDITION` if the requested course work has already been
+ * deleted.
+ * * `NOT_FOUND` if the requested course, course work, or student submission
+ * does not exist.
*
* [request] - The metadata request object.
*
* Request parameters:
*
- * [courseId] - Identifier of the course. This identifier can be either the
- * Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* [id] - Identifier of the course work.
*
* [updateMask] - Mask that identifies which fields on the course work to
- * update. This field is required to do an update. The update fails if invalid
+ * update.
+ * This field is required to do an update. The update fails if invalid
* fields are specified. If a field supports empty values, it can be cleared
* by specifying it in the update mask and not in the CourseWork object. If a
* field that does not support empty values is included in the update mask and
* not set in the CourseWork object, an `INVALID_ARGUMENT` error will be
- * returned. The following fields may be specified by teachers: * `title` *
- * `description` * `state` * `due_date` * `due_time` * `max_points` *
- * `submission_modification_mode`
+ * returned.
+ *
+ * The following fields may be specified by teachers:
+ * * `title`
+ * * `description`
+ * * `state`
+ * * `due_date`
+ * * `due_time`
+ * * `max_points`
+ * * `submission_modification_mode`
*
* Completes with a [CourseWork].
*
@@ -898,16 +1014,20 @@
_requester = client;
/**
- * Returns a student submission. * `PERMISSION_DENIED` if the requesting user
- * is not permitted to access the requested course, course work, or student
- * submission or for access errors. * `INVALID_ARGUMENT` if the request is
- * malformed. * `NOT_FOUND` if the requested course, course work, or student
- * submission does not exist.
+ * Returns a student submission.
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to access the
+ * requested course, course work, or student submission or for
+ * access errors.
+ * * `INVALID_ARGUMENT` if the request is malformed.
+ * * `NOT_FOUND` if the requested course, course work, or student submission
+ * does not exist.
*
* Request parameters:
*
- * [courseId] - Identifier of the course. This identifier can be either the
- * Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* [courseWorkId] - Identifier of the course work.
*
@@ -953,48 +1073,65 @@
/**
* Returns a list of student submissions that the requester is permitted to
- * view, factoring in the OAuth scopes of the request. `-` may be specified as
- * the `course_work_id` to include student submissions for multiple course
- * work items. Course students may only view their own work. Course teachers
- * and domain administrators may view all student submissions. This method
- * returns the following error codes: * `PERMISSION_DENIED` if the requesting
- * user is not permitted to access the requested course or course work, or for
- * access errors. * `INVALID_ARGUMENT` if the request is malformed. *
- * `NOT_FOUND` if the requested course does not exist.
+ * view, factoring in the OAuth scopes of the request.
+ * `-` may be specified as the `course_work_id` to include student
+ * submissions for multiple course work items.
+ *
+ * Course students may only view their own work. Course teachers
+ * and domain administrators may view all student submissions.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to access the
+ * requested course or course work, or for access errors.
+ * * `INVALID_ARGUMENT` if the request is malformed.
+ * * `NOT_FOUND` if the requested course does not exist.
*
* Request parameters:
*
- * [courseId] - Identifier of the course. This identifier can be either the
- * Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
- * [courseWorkId] - Identifer of the student work to request. This may be set
- * to the string literal `"-"` to request student work for all course work in
- * the specified course.
- *
- * [userId] - Optional argument to restrict returned student work to those
- * owned by the student with the specified identifier. The identifier can be
- * one of the following: * the numeric identifier for the user * the email
- * address of the user * the string literal `"me"`, indicating the requesting
- * user
+ * [courseWorkId] - Identifer of the student work to request.
+ * This may be set to the string literal `"-"` to request student work for
+ * all course work in the specified course.
*
* [states] - Requested submission states. If specified, returned student
- * submissions match one of the specified submission states.
+ * submissions
+ * match one of the specified submission states.
+ *
+ * [userId] - Optional argument to restrict returned student work to those
+ * owned by the
+ * student with the specified identifier. The identifier can be one of the
+ * following:
+ *
+ * * the numeric identifier for the user
+ * * the email address of the user
+ * * the string literal `"me"`, indicating the requesting user
+ *
+ * [pageSize] - Maximum number of items to return. Zero or unspecified
+ * indicates that the
+ * server may assign a maximum.
+ *
+ * The server may return fewer than the specified number of results.
*
* [late] - Requested lateness value. If specified, returned student
- * submissions are restricted by the requested value. If unspecified,
- * submissions are returned regardless of `late` value.
+ * submissions are
+ * restricted by the requested value.
+ * If unspecified, submissions are returned regardless of `late` value.
* Possible string values are:
* - "LATE_VALUES_UNSPECIFIED" : A LATE_VALUES_UNSPECIFIED.
* - "LATE_ONLY" : A LATE_ONLY.
* - "NOT_LATE_ONLY" : A NOT_LATE_ONLY.
*
- * [pageSize] - Maximum number of items to return. Zero or unspecified
- * indicates that the server may assign a maximum. The server may return fewer
- * than the specified number of results.
+ * [pageToken] - nextPageToken
+ * value returned from a previous
+ * list call,
+ * indicating that the subsequent page of results should be returned.
*
- * [pageToken] - nextPageToken value returned from a previous list call,
- * indicating that the subsequent page of results should be returned. The list
- * request must be otherwise identical to the one that resulted in this token.
+ * The list request
+ * must be otherwise identical to the one that resulted in this token.
*
* Completes with a [ListStudentSubmissionsResponse].
*
@@ -1004,7 +1141,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListStudentSubmissionsResponse> list(core.String courseId, core.String courseWorkId, {core.String userId, core.List<core.String> states, core.String late, core.int pageSize, core.String pageToken}) {
+ async.Future<ListStudentSubmissionsResponse> list(core.String courseId, core.String courseWorkId, {core.List<core.String> states, core.String userId, core.int pageSize, core.String late, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1018,18 +1155,18 @@
if (courseWorkId == null) {
throw new core.ArgumentError("Parameter courseWorkId is required.");
}
- if (userId != null) {
- _queryParams["userId"] = [userId];
- }
if (states != null) {
_queryParams["states"] = states;
}
- if (late != null) {
- _queryParams["late"] = [late];
+ if (userId != null) {
+ _queryParams["userId"] = [userId];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (late != null) {
+ _queryParams["late"] = [late];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -1047,24 +1184,32 @@
}
/**
- * Modifies attachments of student submission. Attachments may only be added
- * to student submissions belonging to course work objects with a `workType`
- * of `ASSIGNMENT`. This request must be made by the Developer Console project
- * of the [OAuth client ID](https://support.google.com/cloud/answer/6158849)
- * used to create the corresponding course work item. This method returns the
- * following error codes: * `PERMISSION_DENIED` if the requesting user is not
- * permitted to access the requested course or course work, if the user is not
- * permitted to modify attachments on the requested student submission, or for
- * access errors. * `INVALID_ARGUMENT` if the request is malformed. *
- * `NOT_FOUND` if the requested course, course work, or student submission
+ * Modifies attachments of student submission.
+ *
+ * Attachments may only be added to student submissions belonging to course
+ * work objects with a `workType` of `ASSIGNMENT`.
+ *
+ * This request must be made by the Developer Console project of the
+ * [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
+ * create the corresponding course work item.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to access the
+ * requested course or course work, if the user is not permitted to modify
+ * attachments on the requested student submission, or for
+ * access errors.
+ * * `INVALID_ARGUMENT` if the request is malformed.
+ * * `NOT_FOUND` if the requested course, course work, or student submission
* does not exist.
*
* [request] - The metadata request object.
*
* Request parameters:
*
- * [courseId] - Identifier of the course. This identifier can be either the
- * Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* [courseWorkId] - Identifier of the course work.
*
@@ -1112,33 +1257,45 @@
}
/**
- * Updates one or more fields of a student submission. See
- * google.classroom.v1.StudentSubmission for details of which fields may be
- * updated and who may change them. This request must be made by the Developer
- * Console project of the [OAuth client
- * ID](https://support.google.com/cloud/answer/6158849) used to create the
- * corresponding course work item. This method returns the following error
- * codes: * `PERMISSION_DENIED` if the requesting developer project did not
- * create the corresponding course work, if the user is not permitted to make
- * the requested modification to the student submission, or for access errors.
- * * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the
- * requested course, course work, or student submission does not exist.
+ * Updates one or more fields of a student submission.
+ *
+ * See google.classroom.v1.StudentSubmission for details
+ * of which fields may be updated and who may change them.
+ *
+ * This request must be made by the Developer Console project of the
+ * [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
+ * create the corresponding course work item.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting developer project did not create
+ * the corresponding course work, if the user is not permitted to make the
+ * requested modification to the student submission, or for
+ * access errors.
+ * * `INVALID_ARGUMENT` if the request is malformed.
+ * * `NOT_FOUND` if the requested course, course work, or student submission
+ * does not exist.
*
* [request] - The metadata request object.
*
* Request parameters:
*
- * [courseId] - Identifier of the course. This identifier can be either the
- * Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* [courseWorkId] - Identifier of the course work.
*
* [id] - Identifier of the student submission.
*
* [updateMask] - Mask that identifies which fields on the student submission
- * to update. This field is required to do an update. The update fails if
- * invalid fields are specified. The following fields may be specified by
- * teachers: * `draft_grade` * `assigned_grade`
+ * to update.
+ * This field is required to do an update. The update fails if invalid
+ * fields are specified.
+ *
+ * The following fields may be specified by teachers:
+ * * `draft_grade`
+ * * `assigned_grade`
*
* Completes with a [StudentSubmission].
*
@@ -1186,26 +1343,34 @@
/**
* Reclaims a student submission on behalf of the student that owns it.
- * Reclaiming a student submission transfers ownership of attached Drive files
- * to the student and update the submission state. Only the student that owns
- * the requested student submission may call this method, and only for a
- * student submission that has been turned in. This request must be made by
- * the Developer Console project of the [OAuth client
- * ID](https://support.google.com/cloud/answer/6158849) used to create the
- * corresponding course work item. This method returns the following error
- * codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
- * access the requested course or course work, unsubmit the requested student
- * submission, or for access errors. * `FAILED_PRECONDITION` if the student
- * submission has not been turned in. * `INVALID_ARGUMENT` if the request is
- * malformed. * `NOT_FOUND` if the requested course, course work, or student
- * submission does not exist.
+ *
+ * Reclaiming a student submission transfers ownership of attached Drive
+ * files to the student and update the submission state.
+ *
+ * Only the student that owns the requested student submission may call this
+ * method, and only for a student submission that has been turned in.
+ *
+ * This request must be made by the Developer Console project of the
+ * [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
+ * create the corresponding course work item.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to access the
+ * requested course or course work, unsubmit the requested student submission,
+ * or for access errors.
+ * * `FAILED_PRECONDITION` if the student submission has not been turned in.
+ * * `INVALID_ARGUMENT` if the request is malformed.
+ * * `NOT_FOUND` if the requested course, course work, or student submission
+ * does not exist.
*
* [request] - The metadata request object.
*
* Request parameters:
*
- * [courseId] - Identifier of the course. This identifier can be either the
- * Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* [courseWorkId] - Identifier of the course work.
*
@@ -1253,27 +1418,36 @@
}
/**
- * Returns a student submission. Returning a student submission transfers
- * ownership of attached Drive files to the student and may also update the
- * submission state. Unlike the Classroom application, returning a student
- * submission does not set assignedGrade to the draftGrade value. Only a
- * teacher of the course that contains the requested student submission may
- * call this method. This request must be made by the Developer Console
- * project of the [OAuth client
- * ID](https://support.google.com/cloud/answer/6158849) used to create the
- * corresponding course work item. This method returns the following error
- * codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
- * access the requested course or course work, return the requested student
- * submission, or for access errors. * `INVALID_ARGUMENT` if the request is
- * malformed. * `NOT_FOUND` if the requested course, course work, or student
- * submission does not exist.
+ * Returns a student submission.
+ *
+ * Returning a student submission transfers ownership of attached Drive
+ * files to the student and may also update the submission state.
+ * Unlike the Classroom application, returning a student submission does not
+ * set assignedGrade to the draftGrade value.
+ *
+ * Only a teacher of the course that contains the requested student submission
+ * may call this method.
+ *
+ * This request must be made by the Developer Console project of the
+ * [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
+ * create the corresponding course work item.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to access the
+ * requested course or course work, return the requested student submission,
+ * or for access errors.
+ * * `INVALID_ARGUMENT` if the request is malformed.
+ * * `NOT_FOUND` if the requested course, course work, or student submission
+ * does not exist.
*
* [request] - The metadata request object.
*
* Request parameters:
*
- * [courseId] - Identifier of the course. This identifier can be either the
- * Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* [courseWorkId] - Identifier of the course work.
*
@@ -1321,25 +1495,34 @@
}
/**
- * Turns in a student submission. Turning in a student submission transfers
- * ownership of attached Drive files to the teacher and may also update the
- * submission state. This may only be called by the student that owns the
- * specified student submission. This request must be made by the Developer
- * Console project of the [OAuth client
- * ID](https://support.google.com/cloud/answer/6158849) used to create the
- * corresponding course work item. This method returns the following error
- * codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
- * access the requested course or course work, turn in the requested student
- * submission, or for access errors. * `INVALID_ARGUMENT` if the request is
- * malformed. * `NOT_FOUND` if the requested course, course work, or student
- * submission does not exist.
+ * Turns in a student submission.
+ *
+ * Turning in a student submission transfers ownership of attached Drive
+ * files to the teacher and may also update the submission state.
+ *
+ * This may only be called by the student that owns the specified student
+ * submission.
+ *
+ * This request must be made by the Developer Console project of the
+ * [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
+ * create the corresponding course work item.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to access the
+ * requested course or course work, turn in the requested student submission,
+ * or for access errors.
+ * * `INVALID_ARGUMENT` if the request is malformed.
+ * * `NOT_FOUND` if the requested course, course work, or student submission
+ * does not exist.
*
* [request] - The metadata request object.
*
* Request parameters:
*
- * [courseId] - Identifier of the course. This identifier can be either the
- * Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* [courseWorkId] - Identifier of the course work.
*
@@ -1396,26 +1579,33 @@
_requester = client;
/**
- * Adds a user as a student of a course. This method returns the following
- * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted
- * to create students in this course or for access errors. * `NOT_FOUND` if
- * the requested course ID does not exist. * `FAILED_PRECONDITION` if the
- * requested user's account is disabled, for the following request errors: *
- * CourseMemberLimitReached * CourseNotModifiable *
- * UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if the user is already
- * a student or teacher in the course.
+ * Adds a user as a student of a course.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to create
+ * students in this course or for access errors.
+ * * `NOT_FOUND` if the requested course ID does not exist.
+ * * `FAILED_PRECONDITION` if the requested user's account is disabled,
+ * for the following request errors:
+ * * CourseMemberLimitReached
+ * * CourseNotModifiable
+ * * UserGroupsMembershipLimitReached
+ * * `ALREADY_EXISTS` if the user is already a student or teacher in the
+ * course.
*
* [request] - The metadata request object.
*
* Request parameters:
*
- * [courseId] - Identifier of the course to create the student in. This
- * identifier can be either the Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course to create the student in.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* [enrollmentCode] - Enrollment code of the course to create the student in.
- * This code is required if userId corresponds to the requesting user; it may
- * be omitted if the requesting user has administrative permissions to create
- * students for any user.
+ * This code is required if userId
+ * corresponds to the requesting user; it may be omitted if the requesting
+ * user has administrative permissions to create students for any user.
*
* Completes with a [Student].
*
@@ -1456,20 +1646,28 @@
}
/**
- * Deletes a student of a course. This method returns the following error
- * codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
- * delete students of this course or for access errors. * `NOT_FOUND` if no
- * student of this course has the requested ID or if the course does not
- * exist.
+ * Deletes a student of a course.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to delete
+ * students of this course or for access errors.
+ * * `NOT_FOUND` if no student of this course has the requested ID or if the
+ * course does not exist.
*
* Request parameters:
*
- * [courseId] - Identifier of the course. This identifier can be either the
- * Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* [userId] - Identifier of the student to delete. The identifier can be one
- * of the following: * the numeric identifier for the user * the email address
- * of the user * the string literal `"me"`, indicating the requesting user
+ * of the
+ * following:
+ *
+ * * the numeric identifier for the user
+ * * the email address of the user
+ * * the string literal `"me"`, indicating the requesting user
*
* Completes with a [Empty].
*
@@ -1507,20 +1705,28 @@
}
/**
- * Returns a student of a course. This method returns the following error
- * codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
- * view students of this course or for access errors. * `NOT_FOUND` if no
- * student of this course has the requested ID or if the course does not
- * exist.
+ * Returns a student of a course.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to view
+ * students of this course or for access errors.
+ * * `NOT_FOUND` if no student of this course has the requested ID or if the
+ * course does not exist.
*
* Request parameters:
*
- * [courseId] - Identifier of the course. This identifier can be either the
- * Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* [userId] - Identifier of the student to return. The identifier can be one
- * of the following: * the numeric identifier for the user * the email address
- * of the user * the string literal `"me"`, indicating the requesting user
+ * of the
+ * following:
+ *
+ * * the numeric identifier for the user
+ * * the email address of the user
+ * * the string literal `"me"`, indicating the requesting user
*
* Completes with a [Student].
*
@@ -1558,21 +1764,31 @@
}
/**
- * Returns a list of students of this course that the requester is permitted
- * to view. This method returns the following error codes: * `NOT_FOUND` if
- * the course does not exist. * `PERMISSION_DENIED` for access errors.
+ * Returns a list of students of this course that the requester
+ * is permitted to view.
+ *
+ * This method returns the following error codes:
+ *
+ * * `NOT_FOUND` if the course does not exist.
+ * * `PERMISSION_DENIED` for access errors.
*
* Request parameters:
*
- * [courseId] - Identifier of the course. This identifier can be either the
- * Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
- * [pageSize] - Maximum number of items to return. Zero means no maximum. The
- * server may return fewer than the specified number of results.
+ * [pageSize] - Maximum number of items to return. Zero means no maximum.
*
- * [pageToken] - nextPageToken value returned from a previous list call,
- * indicating that the subsequent page of results should be returned. The list
- * request must be otherwise identical to the one that resulted in this token.
+ * The server may return fewer than the specified number of results.
+ *
+ * [pageToken] - nextPageToken
+ * value returned from a previous
+ * list call, indicating that
+ * the subsequent page of results should be returned.
+ *
+ * The list request must be
+ * otherwise identical to the one that resulted in this token.
*
* Completes with a [ListStudentsResponse].
*
@@ -1622,21 +1838,29 @@
_requester = client;
/**
- * Creates a teacher of a course. This method returns the following error
- * codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
- * create teachers in this course or for access errors. * `NOT_FOUND` if the
- * requested course ID does not exist. * `FAILED_PRECONDITION` if the
- * requested user's account is disabled, for the following request errors: *
- * CourseMemberLimitReached * CourseNotModifiable * CourseTeacherLimitReached
- * * UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if the user is
- * already a teacher or student in the course.
+ * Creates a teacher of a course.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to create
+ * teachers in this course or for access errors.
+ * * `NOT_FOUND` if the requested course ID does not exist.
+ * * `FAILED_PRECONDITION` if the requested user's account is disabled,
+ * for the following request errors:
+ * * CourseMemberLimitReached
+ * * CourseNotModifiable
+ * * CourseTeacherLimitReached
+ * * UserGroupsMembershipLimitReached
+ * * `ALREADY_EXISTS` if the user is already a teacher or student in the
+ * course.
*
* [request] - The metadata request object.
*
* Request parameters:
*
- * [courseId] - Identifier of the course. This identifier can be either the
- * Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* Completes with a [Teacher].
*
@@ -1674,21 +1898,30 @@
}
/**
- * Deletes a teacher of a course. This method returns the following error
- * codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
- * delete teachers of this course or for access errors. * `NOT_FOUND` if no
- * teacher of this course has the requested ID or if the course does not
- * exist. * `FAILED_PRECONDITION` if the requested ID belongs to the primary
- * teacher of this course.
+ * Deletes a teacher of a course.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to delete
+ * teachers of this course or for access errors.
+ * * `NOT_FOUND` if no teacher of this course has the requested ID or if the
+ * course does not exist.
+ * * `FAILED_PRECONDITION` if the requested ID belongs to the primary teacher
+ * of this course.
*
* Request parameters:
*
- * [courseId] - Identifier of the course. This identifier can be either the
- * Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* [userId] - Identifier of the teacher to delete. The identifier can be one
- * of the following: * the numeric identifier for the user * the email address
- * of the user * the string literal `"me"`, indicating the requesting user
+ * of the
+ * following:
+ *
+ * * the numeric identifier for the user
+ * * the email address of the user
+ * * the string literal `"me"`, indicating the requesting user
*
* Completes with a [Empty].
*
@@ -1726,20 +1959,28 @@
}
/**
- * Returns a teacher of a course. This method returns the following error
- * codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
- * view teachers of this course or for access errors. * `NOT_FOUND` if no
- * teacher of this course has the requested ID or if the course does not
- * exist.
+ * Returns a teacher of a course.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to view
+ * teachers of this course or for access errors.
+ * * `NOT_FOUND` if no teacher of this course has the requested ID or if the
+ * course does not exist.
*
* Request parameters:
*
- * [courseId] - Identifier of the course. This identifier can be either the
- * Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
* [userId] - Identifier of the teacher to return. The identifier can be one
- * of the following: * the numeric identifier for the user * the email address
- * of the user * the string literal `"me"`, indicating the requesting user
+ * of the
+ * following:
+ *
+ * * the numeric identifier for the user
+ * * the email address of the user
+ * * the string literal `"me"`, indicating the requesting user
*
* Completes with a [Teacher].
*
@@ -1777,21 +2018,31 @@
}
/**
- * Returns a list of teachers of this course that the requester is permitted
- * to view. This method returns the following error codes: * `NOT_FOUND` if
- * the course does not exist. * `PERMISSION_DENIED` for access errors.
+ * Returns a list of teachers of this course that the requester
+ * is permitted to view.
+ *
+ * This method returns the following error codes:
+ *
+ * * `NOT_FOUND` if the course does not exist.
+ * * `PERMISSION_DENIED` for access errors.
*
* Request parameters:
*
- * [courseId] - Identifier of the course. This identifier can be either the
- * Classroom-assigned identifier or an alias.
+ * [courseId] - Identifier of the course.
+ * This identifier can be either the Classroom-assigned identifier or an
+ * alias.
*
- * [pageSize] - Maximum number of items to return. Zero means no maximum. The
- * server may return fewer than the specified number of results.
+ * [pageSize] - Maximum number of items to return. Zero means no maximum.
*
- * [pageToken] - nextPageToken value returned from a previous list call,
- * indicating that the subsequent page of results should be returned. The list
- * request must be otherwise identical to the one that resulted in this token.
+ * The server may return fewer than the specified number of results.
+ *
+ * [pageToken] - nextPageToken
+ * value returned from a previous
+ * list call, indicating that
+ * the subsequent page of results should be returned.
+ *
+ * The list request must be
+ * otherwise identical to the one that resulted in this token.
*
* Completes with a [ListTeachersResponse].
*
@@ -1843,13 +2094,18 @@
/**
* Accepts an invitation, removing it and adding the invited user to the
* teachers or students (as appropriate) of the specified course. Only the
- * invited user may accept an invitation. This method returns the following
- * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted
- * to accept the requested invitation or for access errors. *
- * `FAILED_PRECONDITION` for the following request errors: *
- * CourseMemberLimitReached * CourseNotModifiable * CourseTeacherLimitReached
- * * UserGroupsMembershipLimitReached * `NOT_FOUND` if no invitation exists
- * with the requested ID.
+ * invited user may accept an invitation.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to accept the
+ * requested invitation or for access errors.
+ * * `FAILED_PRECONDITION` for the following request errors:
+ * * CourseMemberLimitReached
+ * * CourseNotModifiable
+ * * CourseTeacherLimitReached
+ * * UserGroupsMembershipLimitReached
+ * * `NOT_FOUND` if no invitation exists with the requested ID.
*
* Request parameters:
*
@@ -1889,14 +2145,17 @@
/**
* Creates an invitation. Only one invitation for a user and course may exist
- * at a time. Delete and re-create an invitation to make changes. This method
- * returns the following error codes: * `PERMISSION_DENIED` if the requesting
- * user is not permitted to create invitations for this course or for access
- * errors. * `NOT_FOUND` if the course or the user does not exist. *
- * `FAILED_PRECONDITION` if the requested user's account is disabled or if the
- * user already has this role or a role with greater permissions. *
- * `ALREADY_EXISTS` if an invitation for the specified user and course already
- * exists.
+ * at a time. Delete and re-create an invitation to make changes.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to create
+ * invitations for this course or for access errors.
+ * * `NOT_FOUND` if the course or the user does not exist.
+ * * `FAILED_PRECONDITION` if the requested user's account is disabled or if
+ * the user already has this role or a role with greater permissions.
+ * * `ALREADY_EXISTS` if an invitation for the specified user and course
+ * already exists.
*
* [request] - The metadata request object.
*
@@ -1935,10 +2194,13 @@
}
/**
- * Deletes an invitation. This method returns the following error codes: *
- * `PERMISSION_DENIED` if the requesting user is not permitted to delete the
- * requested invitation or for access errors. * `NOT_FOUND` if no invitation
- * exists with the requested ID.
+ * Deletes an invitation.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to delete the
+ * requested invitation or for access errors.
+ * * `NOT_FOUND` if no invitation exists with the requested ID.
*
* Request parameters:
*
@@ -1977,10 +2239,13 @@
}
/**
- * Returns an invitation. This method returns the following error codes: *
- * `PERMISSION_DENIED` if the requesting user is not permitted to view the
- * requested invitation or for access errors. * `NOT_FOUND` if no invitation
- * exists with the requested ID.
+ * Returns an invitation.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to view the
+ * requested invitation or for access errors.
+ * * `NOT_FOUND` if no invitation exists with the requested ID.
*
* Request parameters:
*
@@ -2020,27 +2285,40 @@
/**
* Returns a list of invitations that the requesting user is permitted to
- * view, restricted to those that match the list request. *Note:* At least one
- * of `user_id` or `course_id` must be supplied. Both fields can be supplied.
- * This method returns the following error codes: * `PERMISSION_DENIED` for
- * access errors.
+ * view, restricted to those that match the list request.
+ *
+ * *Note:* At least one of `user_id` or `course_id` must be supplied. Both
+ * fields can be supplied.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` for access errors.
*
* Request parameters:
*
- * [userId] - Restricts returned invitations to those for a specific user. The
- * identifier can be one of the following: * the numeric identifier for the
- * user * the email address of the user * the string literal `"me"`,
- * indicating the requesting user
- *
* [courseId] - Restricts returned invitations to those for a course with the
- * specified identifier.
+ * specified
+ * identifier.
*
- * [pageSize] - Maximum number of items to return. Zero means no maximum. The
- * server may return fewer than the specified number of results.
+ * [pageSize] - Maximum number of items to return. Zero means no maximum.
*
- * [pageToken] - nextPageToken value returned from a previous list call,
- * indicating that the subsequent page of results should be returned. The list
- * request must be otherwise identical to the one that resulted in this token.
+ * The server may return fewer than the specified number of results.
+ *
+ * [userId] - Restricts returned invitations to those for a specific user. The
+ * identifier
+ * can be one of the following:
+ *
+ * * the numeric identifier for the user
+ * * the email address of the user
+ * * the string literal `"me"`, indicating the requesting user
+ *
+ * [pageToken] - nextPageToken
+ * value returned from a previous
+ * list call, indicating
+ * that the subsequent page of results should be returned.
+ *
+ * The list request must be
+ * otherwise identical to the one that resulted in this token.
*
* Completes with a [ListInvitationsResponse].
*
@@ -2050,7 +2328,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListInvitationsResponse> list({core.String userId, core.String courseId, core.int pageSize, core.String pageToken}) {
+ async.Future<ListInvitationsResponse> list({core.String courseId, core.int pageSize, core.String userId, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2058,15 +2336,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (userId != null) {
- _queryParams["userId"] = [userId];
- }
if (courseId != null) {
_queryParams["courseId"] = [courseId];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (userId != null) {
+ _queryParams["userId"] = [userId];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -2096,16 +2374,23 @@
_requester = client;
/**
- * Returns a user profile. This method returns the following error codes: *
- * `PERMISSION_DENIED` if the requesting user is not permitted to access this
- * user profile, if no profile exists with the requested ID, or for access
- * errors.
+ * Returns a user profile.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to access
+ * this user profile, if no profile exists with the requested ID, or for
+ * access errors.
*
* Request parameters:
*
* [userId] - Identifier of the profile to return. The identifier can be one
- * of the following: * the numeric identifier for the user * the email address
- * of the user * the string literal `"me"`, indicating the requesting user
+ * of the
+ * following:
+ *
+ * * the numeric identifier for the user
+ * * the email address of the user
+ * * the string literal `"me"`, indicating the requesting user
*
* Completes with a [UserProfile].
*
@@ -2150,28 +2435,35 @@
/**
* Creates a guardian invitation, and sends an email to the guardian asking
- * them to confirm that they are the student's guardian. Once the guardian
- * accepts the invitation, their `state` will change to `COMPLETED` and they
- * will start receiving guardian notifications. A `Guardian` resource will
- * also be created to represent the active guardian. The request object must
- * have the `student_id` and `invited_email_address` fields set. Failing to
- * set these fields, or setting any other fields in the request, will result
- * in an error. This method returns the following error codes: *
- * `PERMISSION_DENIED` if the current user does not have permission to manage
- * guardians, if the guardian in question has already rejected too many
- * requests for that student, if guardians are not enabled for the domain in
- * question, or for other access errors. * `RESOURCE_EXHAUSTED` if the student
- * or guardian has exceeded the guardian link limit. * `INVALID_ARGUMENT` if
- * the guardian email address is not valid (for example, if it is too long),
- * or if the format of the student ID provided cannot be recognized (it is not
- * an email address, nor a `user_id` from this API). This error will also be
- * returned if read-only fields are set, or if the `state` field is set to to
- * a value other than `PENDING`. * `NOT_FOUND` if the student ID provided is a
- * valid student ID, but Classroom has no record of that student. *
- * `ALREADY_EXISTS` if there is already a pending guardian invitation for the
- * student and `invited_email_address` provided, or if the provided
- * `invited_email_address` matches the Google account of an existing
- * `Guardian` for this user.
+ * them to confirm that they are the student's guardian.
+ *
+ * Once the guardian accepts the invitation, their `state` will change to
+ * `COMPLETED` and they will start receiving guardian notifications. A
+ * `Guardian` resource will also be created to represent the active guardian.
+ *
+ * The request object must have the `student_id` and
+ * `invited_email_address` fields set. Failing to set these fields, or
+ * setting any other fields in the request, will result in an error.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the current user does not have permission to
+ * manage guardians, if the guardian in question has already rejected
+ * too many requests for that student, if guardians are not enabled for the
+ * domain in question, or for other access errors.
+ * * `RESOURCE_EXHAUSTED` if the student or guardian has exceeded the guardian
+ * link limit.
+ * * `INVALID_ARGUMENT` if the guardian email address is not valid (for
+ * example, if it is too long), or if the format of the student ID provided
+ * cannot be recognized (it is not an email address, nor a `user_id` from
+ * this API). This error will also be returned if read-only fields are set,
+ * or if the `state` field is set to to a value other than `PENDING`.
+ * * `NOT_FOUND` if the student ID provided is a valid student ID, but
+ * Classroom has no record of that student.
+ * * `ALREADY_EXISTS` if there is already a pending guardian invitation for
+ * the student and `invited_email_address` provided, or if the provided
+ * `invited_email_address` matches the Google account of an existing
+ * `Guardian` for this user.
*
* [request] - The metadata request object.
*
@@ -2215,16 +2507,20 @@
}
/**
- * Returns a specific guardian invitation. This method returns the following
- * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted
- * to view guardian invitations for the student identified by the
- * `student_id`, if guardians are not enabled for the domain in question, or
- * for other access errors. * `INVALID_ARGUMENT` if a `student_id` is
- * specified, but its format cannot be recognized (it is not an email address,
- * nor a `student_id` from the API, nor the literal string `me`). *
- * `NOT_FOUND` if Classroom cannot find any record of the given student or
- * `invitation_id`. May also be returned if the student exists, but the
- * requesting user does not have access to see that student.
+ * Returns a specific guardian invitation.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if the requesting user is not permitted to view
+ * guardian invitations for the student identified by the `student_id`, if
+ * guardians are not enabled for the domain in question, or for other
+ * access errors.
+ * * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot
+ * be recognized (it is not an email address, nor a `student_id` from the
+ * API, nor the literal string `me`).
+ * * `NOT_FOUND` if Classroom cannot find any record of the given student or
+ * `invitation_id`. May also be returned if the student exists, but the
+ * requesting user does not have access to see that student.
*
* Request parameters:
*
@@ -2271,41 +2567,56 @@
/**
* Returns a list of guardian invitations that the requesting user is
- * permitted to view, filtered by the parameters provided. This method returns
- * the following error codes: * `PERMISSION_DENIED` if a `student_id` is
- * specified, and the requesting user is not permitted to view guardian
- * invitations for that student, if `"-"` is specified as the `student_id` and
- * the user is not a domain administrator, if guardians are not enabled for
- * the domain in question, or for other access errors. * `INVALID_ARGUMENT` if
- * a `student_id` is specified, but its format cannot be recognized (it is not
- * an email address, nor a `student_id` from the API, nor the literal string
- * `me`). May also be returned if an invalid `page_token` or `state` is
- * provided. * `NOT_FOUND` if a `student_id` is specified, and its format can
- * be recognized, but Classroom has no record of that student.
+ * permitted to view, filtered by the parameters provided.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting
+ * user is not permitted to view guardian invitations for that student, if
+ * `"-"` is specified as the `student_id` and the user is not a domain
+ * administrator, if guardians are not enabled for the domain in question,
+ * or for other access errors.
+ * * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot
+ * be recognized (it is not an email address, nor a `student_id` from the
+ * API, nor the literal string `me`). May also be returned if an invalid
+ * `page_token` or `state` is provided.
+ * * `NOT_FOUND` if a `student_id` is specified, and its format can be
+ * recognized, but Classroom has no record of that student.
*
* Request parameters:
*
* [studentId] - The ID of the student whose guardian invitations are to be
- * returned. The identifier can be one of the following: * the numeric
- * identifier for the user * the email address of the user * the string
- * literal `"me"`, indicating the requesting user * the string literal `"-"`,
- * indicating that results should be returned for all students that the
- * requesting user is permitted to view guardian invitations.
- *
- * [invitedEmailAddress] - If specified, only results with the specified
- * `invited_email_address` will be returned.
- *
- * [states] - If specified, only results with the specified `state` values
- * will be returned. Otherwise, results with a `state` of `PENDING` will be
* returned.
+ * The identifier can be one of the following:
*
- * [pageToken] - nextPageToken value returned from a previous list call,
- * indicating that the subsequent page of results should be returned. The list
- * request must be otherwise identical to the one that resulted in this token.
+ * * the numeric identifier for the user
+ * * the email address of the user
+ * * the string literal `"me"`, indicating the requesting user
+ * * the string literal `"-"`, indicating that results should be returned for
+ * all students that the requesting user is permitted to view guardian
+ * invitations.
*
* [pageSize] - Maximum number of items to return. Zero or unspecified
- * indicates that the server may assign a maximum. The server may return fewer
- * than the specified number of results.
+ * indicates that the
+ * server may assign a maximum.
+ *
+ * The server may return fewer than the specified number of results.
+ *
+ * [invitedEmailAddress] - If specified, only results with the specified
+ * `invited_email_address`
+ * will be returned.
+ *
+ * [states] - If specified, only results with the specified `state` values
+ * will be
+ * returned. Otherwise, results with a `state` of `PENDING` will be returned.
+ *
+ * [pageToken] - nextPageToken
+ * value returned from a previous
+ * list call,
+ * indicating that the subsequent page of results should be returned.
+ *
+ * The list request
+ * must be otherwise identical to the one that resulted in this token.
*
* Completes with a [ListGuardianInvitationsResponse].
*
@@ -2315,7 +2626,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListGuardianInvitationsResponse> list(core.String studentId, {core.String invitedEmailAddress, core.List<core.String> states, core.String pageToken, core.int pageSize}) {
+ async.Future<ListGuardianInvitationsResponse> list(core.String studentId, {core.int pageSize, core.String invitedEmailAddress, core.List<core.String> states, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2326,6 +2637,9 @@
if (studentId == null) {
throw new core.ArgumentError("Parameter studentId is required.");
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (invitedEmailAddress != null) {
_queryParams["invitedEmailAddress"] = [invitedEmailAddress];
}
@@ -2335,9 +2649,6 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
_url = 'v1/userProfiles/' + commons.Escaper.ecapeVariable('$studentId') + '/guardianInvitations';
@@ -2352,19 +2663,24 @@
}
/**
- * Modifies a guardian invitation. Currently, the only valid modification is
- * to change the `state` from `PENDING` to `COMPLETE`. This has the effect of
- * withdrawing the invitation. This method returns the following error codes:
+ * Modifies a guardian invitation.
+ *
+ * Currently, the only valid modification is to change the `state` from
+ * `PENDING` to `COMPLETE`. This has the effect of withdrawing the invitation.
+ *
+ * This method returns the following error codes:
+ *
* * `PERMISSION_DENIED` if the current user does not have permission to
* manage guardians, if guardians are not enabled for the domain in question
- * or for other access errors. * `FAILED_PRECONDITION` if the guardian link is
- * not in the `PENDING` state. * `INVALID_ARGUMENT` if the format of the
- * student ID provided cannot be recognized (it is not an email address, nor a
- * `user_id` from this API), or if the passed `GuardianInvitation` has a
- * `state` other than `COMPLETE`, or if it modifies fields other than `state`.
+ * or for other access errors.
+ * * `FAILED_PRECONDITION` if the guardian link is not in the `PENDING` state.
+ * * `INVALID_ARGUMENT` if the format of the student ID provided
+ * cannot be recognized (it is not an email address, nor a `user_id` from
+ * this API), or if the passed `GuardianInvitation` has a `state` other than
+ * `COMPLETE`, or if it modifies fields other than `state`.
* * `NOT_FOUND` if the student ID provided is a valid student ID, but
- * Classroom has no record of that student, or if the `id` field does not
- * refer to a guardian invitation known to Classroom.
+ * Classroom has no record of that student, or if the `id` field does not
+ * refer to a guardian invitation known to Classroom.
*
* [request] - The metadata request object.
*
@@ -2377,8 +2693,13 @@
*
* [updateMask] - Mask that identifies which fields on the course to update.
* This field is required to do an update. The update will fail if invalid
- * fields are specified. The following fields are valid: * `state` When set in
- * a query parameter, this field should be specified as `updateMask=,,...`
+ * fields are specified. The following fields are valid:
+ *
+ * * `state`
+ *
+ * When set in a query parameter, this field should be specified as
+ *
+ * `updateMask=<field1>,<field2>,...`
*
* Completes with a [GuardianInvitation].
*
@@ -2431,24 +2752,33 @@
_requester = client;
/**
- * Deletes a guardian. The guardian will no longer receive guardian
- * notifications and the guardian will no longer be accessible via the API.
- * This method returns the following error codes: * `PERMISSION_DENIED` if no
- * user that matches the provided `student_id` is visible to the requesting
- * user, if the requesting user is not permitted to manage guardians for the
- * student identified by the `student_id`, if guardians are not enabled for
- * the domain in question, or for other access errors. * `INVALID_ARGUMENT` if
- * a `student_id` is specified, but its format cannot be recognized (it is not
- * an email address, nor a `student_id` from the API). * `NOT_FOUND` if the
- * requesting user is permitted to modify guardians for the requested
- * `student_id`, but no `Guardian` record exists for that student with the
- * provided `guardian_id`.
+ * Deletes a guardian.
+ *
+ * The guardian will no longer receive guardian notifications and the guardian
+ * will no longer be accessible via the API.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if no user that matches the provided `student_id`
+ * is visible to the requesting user, if the requesting user is not
+ * permitted to manage guardians for the student identified by the
+ * `student_id`, if guardians are not enabled for the domain in question,
+ * or for other access errors.
+ * * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot
+ * be recognized (it is not an email address, nor a `student_id` from the
+ * API).
+ * * `NOT_FOUND` if the requesting user is permitted to modify guardians for
+ * the requested `student_id`, but no `Guardian` record exists for that
+ * student with the provided `guardian_id`.
*
* Request parameters:
*
* [studentId] - The student whose guardian is to be deleted. One of the
- * following: * the numeric identifier for the user * the email address of the
- * user * the string literal `"me"`, indicating the requesting user
+ * following:
+ *
+ * * the numeric identifier for the user
+ * * the email address of the user
+ * * the string literal `"me"`, indicating the requesting user
*
* [guardianId] - The `id` field from a `Guardian`.
*
@@ -2488,23 +2818,30 @@
}
/**
- * Returns a specific guardian. This method returns the following error codes:
- * * `PERMISSION_DENIED` if no user that matches the provided `student_id` is
- * visible to the requesting user, if the requesting user is not permitted to
- * view guardian information for the student identified by the `student_id`,
- * if guardians are not enabled for the domain in question, or for other
- * access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its
- * format cannot be recognized (it is not an email address, nor a `student_id`
- * from the API, nor the literal string `me`). * `NOT_FOUND` if the requesting
- * user is permitted to view guardians for the requested `student_id`, but no
- * `Guardian` record exists for that student that matches the provided
- * `guardian_id`.
+ * Returns a specific guardian.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if no user that matches the provided `student_id`
+ * is visible to the requesting user, if the requesting user is not
+ * permitted to view guardian information for the student identified by the
+ * `student_id`, if guardians are not enabled for the domain in question,
+ * or for other access errors.
+ * * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot
+ * be recognized (it is not an email address, nor a `student_id` from the
+ * API, nor the literal string `me`).
+ * * `NOT_FOUND` if the requesting user is permitted to view guardians for
+ * the requested `student_id`, but no `Guardian` record exists for that
+ * student that matches the provided `guardian_id`.
*
* Request parameters:
*
* [studentId] - The student whose guardian is being requested. One of the
- * following: * the numeric identifier for the user * the email address of the
- * user * the string literal `"me"`, indicating the requesting user
+ * following:
+ *
+ * * the numeric identifier for the user
+ * * the email address of the user
+ * * the string literal `"me"`, indicating the requesting user
*
* [guardianId] - The `id` field from a `Guardian`.
*
@@ -2544,42 +2881,56 @@
}
/**
- * Returns a list of guardians that the requesting user is permitted to view,
- * restricted to those that match the request. To list guardians for any
- * student that the requesting user may view guardians for, use the literal
- * character `-` for the student ID. This method returns the following error
- * codes: * `PERMISSION_DENIED` if a `student_id` is specified, and the
- * requesting user is not permitted to view guardian information for that
- * student, if `"-"` is specified as the `student_id` and the user is not a
- * domain administrator, if guardians are not enabled for the domain in
- * question, if the `invited_email_address` filter is set by a user who is not
- * a domain administrator, or for other access errors. * `INVALID_ARGUMENT` if
- * a `student_id` is specified, but its format cannot be recognized (it is not
- * an email address, nor a `student_id` from the API, nor the literal string
- * `me`). May also be returned if an invalid `page_token` is provided. *
- * `NOT_FOUND` if a `student_id` is specified, and its format can be
- * recognized, but Classroom has no record of that student.
+ * Returns a list of guardians that the requesting user is permitted to
+ * view, restricted to those that match the request.
+ *
+ * To list guardians for any student that the requesting user may view
+ * guardians for, use the literal character `-` for the student ID.
+ *
+ * This method returns the following error codes:
+ *
+ * * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting
+ * user is not permitted to view guardian information for that student, if
+ * `"-"` is specified as the `student_id` and the user is not a domain
+ * administrator, if guardians are not enabled for the domain in question,
+ * if the `invited_email_address` filter is set by a user who is not a
+ * domain administrator, or for other access errors.
+ * * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot
+ * be recognized (it is not an email address, nor a `student_id` from the
+ * API, nor the literal string `me`). May also be returned if an invalid
+ * `page_token` is provided.
+ * * `NOT_FOUND` if a `student_id` is specified, and its format can be
+ * recognized, but Classroom has no record of that student.
*
* Request parameters:
*
* [studentId] - Filter results by the student who the guardian is linked to.
- * The identifier can be one of the following: * the numeric identifier for
- * the user * the email address of the user * the string literal `"me"`,
- * indicating the requesting user * the string literal `"-"`, indicating that
- * results should be returned for all students that the requesting user has
- * access to view.
+ * The identifier can be one of the following:
*
- * [invitedEmailAddress] - Filter results by the email address that the
- * original invitation was sent to, resulting in this guardian link. This
- * filter can only be used by domain administrators.
- *
- * [pageToken] - nextPageToken value returned from a previous list call,
- * indicating that the subsequent page of results should be returned. The list
- * request must be otherwise identical to the one that resulted in this token.
+ * * the numeric identifier for the user
+ * * the email address of the user
+ * * the string literal `"me"`, indicating the requesting user
+ * * the string literal `"-"`, indicating that results should be returned for
+ * all students that the requesting user has access to view.
*
* [pageSize] - Maximum number of items to return. Zero or unspecified
- * indicates that the server may assign a maximum. The server may return fewer
- * than the specified number of results.
+ * indicates that the
+ * server may assign a maximum.
+ *
+ * The server may return fewer than the specified number of results.
+ *
+ * [invitedEmailAddress] - Filter results by the email address that the
+ * original invitation was sent
+ * to, resulting in this guardian link.
+ * This filter can only be used by domain administrators.
+ *
+ * [pageToken] - nextPageToken
+ * value returned from a previous
+ * list call,
+ * indicating that the subsequent page of results should be returned.
+ *
+ * The list request
+ * must be otherwise identical to the one that resulted in this token.
*
* Completes with a [ListGuardiansResponse].
*
@@ -2589,7 +2940,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListGuardiansResponse> list(core.String studentId, {core.String invitedEmailAddress, core.String pageToken, core.int pageSize}) {
+ async.Future<ListGuardiansResponse> list(core.String studentId, {core.int pageSize, core.String invitedEmailAddress, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2600,15 +2951,15 @@
if (studentId == null) {
throw new core.ArgumentError("Parameter studentId is required.");
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (invitedEmailAddress != null) {
_queryParams["invitedEmailAddress"] = [invitedEmailAddress];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
_url = 'v1/userProfiles/' + commons.Escaper.ecapeVariable('$studentId') + '/guardians';
@@ -2629,8 +2980,8 @@
/** Additional details for assignments. */
class Assignment {
/**
- * Drive folder where attachments from student submissions are placed. This is
- * only populated for course teachers.
+ * Drive folder where attachments from student submissions are placed.
+ * This is only populated for course teachers.
*/
DriveFolder studentWorkFolder;
@@ -2654,12 +3005,14 @@
/** Student work for an assignment. */
class AssignmentSubmission {
/**
- * Attachments added by the student. Drive files that correspond to materials
- * with a share mode of STUDENT_COPY may not exist yet if the student has not
- * accessed the assignment in Classroom. Some attachment metadata is only
- * populated if the requesting user has permission to access it. Identifier
- * and alternate_link fields are always available, but others (e.g. title) may
- * not be.
+ * Attachments added by the student.
+ * Drive files that correspond to materials with a share mode of
+ * STUDENT_COPY may not exist yet if the student has not accessed the
+ * assignment in Classroom.
+ *
+ * Some attachment metadata is only populated if the requesting user has
+ * permission to access it. Identifier and alternate_link fields are always
+ * available, but others (e.g. title) may not be.
*/
core.List<Attachment> attachments;
@@ -2681,8 +3034,9 @@
}
/**
- * Attachment added to student assignment work. When creating attachments,
- * setting the `form` field is not supported.
+ * Attachment added to student assignment work.
+ *
+ * When creating attachments, setting the `form` field is not supported.
*/
class Attachment {
/** Google Drive file attachment. */
@@ -2731,104 +3085,163 @@
/** A Course in Classroom. */
class Course {
- /** Absolute link to this course in the Classroom web UI. Read-only. */
+ /**
+ * Absolute link to this course in the Classroom web UI.
+ *
+ * Read-only.
+ */
core.String alternateLink;
/**
* The email address of a Google group containing all members of the course.
* This group does not accept email and can only be used for permissions.
+ *
* Read-only.
*/
core.String courseGroupEmail;
/**
* Sets of materials that appear on the "about" page of this course.
+ *
* Read-only.
*/
core.List<CourseMaterialSet> courseMaterialSets;
/**
- * State of the course. If unspecified, the default state is `PROVISIONED`.
+ * State of the course.
+ * If unspecified, the default state is `PROVISIONED`.
* Possible string values are:
- * - "COURSE_STATE_UNSPECIFIED" : A COURSE_STATE_UNSPECIFIED.
- * - "ACTIVE" : A ACTIVE.
- * - "ARCHIVED" : A ARCHIVED.
- * - "PROVISIONED" : A PROVISIONED.
- * - "DECLINED" : A DECLINED.
+ * - "COURSE_STATE_UNSPECIFIED" : No course state. No returned Course message
+ * will use this value.
+ * - "ACTIVE" : The course is active.
+ * - "ARCHIVED" : The course has been archived. You cannot modify it except to
+ * change it
+ * to a different state.
+ * - "PROVISIONED" : The course has been created, but not yet activated. It is
+ * accessible by
+ * the primary teacher and domain administrators, who may modify it or
+ * change it to the `ACTIVE` or `DECLINED` states.
+ * A course may only be changed to `PROVISIONED` if it is in the `DECLINED`
+ * state.
+ * - "DECLINED" : The course has been created, but declined. It is accessible
+ * by the
+ * course owner and domain administrators, though it will not be
+ * displayed in the web UI. You cannot modify the course except to change it
+ * to the `PROVISIONED` state.
+ * A course may only be changed to `DECLINED` if it is in the `PROVISIONED`
+ * state.
+ * - "SUSPENDED" : The course has been suspended. You cannot modify the
+ * course, and only the
+ * user identified by the `owner_id` can view the course.
+ * A course may be placed in this state if it potentially violates the
+ * Terms of Service.
*/
core.String courseState;
/**
- * Creation time of the course. Specifying this field in a course update mask
- * results in an error. Read-only.
+ * Creation time of the course.
+ * Specifying this field in a course update mask results in an error.
+ *
+ * Read-only.
*/
core.String creationTime;
/**
- * Optional description. For example, "We'll be learning about the structure
- * of living creatures from a combination of textbooks, guest lectures, and
- * lab work. Expect to be excited!" If set, this field must be a valid UTF-8
- * string and no longer than 30,000 characters.
+ * Optional description.
+ * For example, "We'll be learning about the structure of living
+ * creatures from a combination of textbooks, guest lectures, and lab work.
+ * Expect to be excited!"
+ * If set, this field must be a valid UTF-8 string and no longer than 30,000
+ * characters.
*/
core.String description;
/**
- * Optional heading for the description. For example, "Welcome to 10th Grade
- * Biology." If set, this field must be a valid UTF-8 string and no longer
- * than 3600 characters.
+ * Optional heading for the description.
+ * For example, "Welcome to 10th Grade Biology."
+ * If set, this field must be a valid UTF-8 string and no longer than 3600
+ * characters.
*/
core.String descriptionHeading;
/**
- * Enrollment code to use when joining this course. Specifying this field in a
- * course update mask results in an error. Read-only.
+ * Enrollment code to use when joining this course.
+ * Specifying this field in a course update mask results in an error.
+ *
+ * Read-only.
*/
core.String enrollmentCode;
/**
* Whether or not guardian notifications are enabled for this course.
+ *
* Read-only.
*/
core.bool guardiansEnabled;
/**
- * Identifier for this course assigned by Classroom. When creating a course,
- * you may optionally set this identifier to an alias string in the request to
- * create a corresponding alias. The `id` is still assigned by Classroom and
- * cannot be updated after the course is created. Specifying this field in a
- * course update mask results in an error.
+ * Identifier for this course assigned by Classroom.
+ *
+ * When
+ * creating a course,
+ * you may optionally set this identifier to an
+ * alias string in the
+ * request to create a corresponding alias. The `id` is still assigned by
+ * Classroom and cannot be updated after the course is created.
+ *
+ * Specifying this field in a course update mask results in an error.
*/
core.String id;
/**
- * Name of the course. For example, "10th Grade Biology". The name is
- * required. It must be between 1 and 750 characters and a valid UTF-8 string.
+ * Name of the course.
+ * For example, "10th Grade Biology".
+ * The name is required. It must be between 1 and 750 characters and a valid
+ * UTF-8 string.
*/
core.String name;
/**
- * The identifier of the owner of a course. When specified as a parameter of a
- * create course request, this field is required. The identifier can be one of
- * the following: * the numeric identifier for the user * the email address of
- * the user * the string literal `"me"`, indicating the requesting user This
- * must be set in a create request. Specifying this field in a course update
- * mask results in an `INVALID_ARGUMENT` error.
+ * The identifier of the owner of a course.
+ *
+ * When specified as a parameter of a
+ * create course request, this
+ * field is required.
+ * The identifier can be one of the following:
+ *
+ * * the numeric identifier for the user
+ * * the email address of the user
+ * * the string literal `"me"`, indicating the requesting user
+ *
+ * This must be set in a create request. Specifying this field in a course
+ * update mask results in an `INVALID_ARGUMENT` error.
*/
core.String ownerId;
/**
- * Optional room location. For example, "301". If set, this field must be a
- * valid UTF-8 string and no longer than 650 characters.
+ * Optional room location.
+ * For example, "301".
+ * If set, this field must be a valid UTF-8 string and no longer than 650
+ * characters.
*/
core.String room;
/**
- * Section of the course. For example, "Period 2". If set, this field must be
- * a valid UTF-8 string and no longer than 2800 characters.
+ * Section of the course.
+ * For example, "Period 2".
+ * If set, this field must be a valid UTF-8 string and no longer than 2800
+ * characters.
*/
core.String section;
/**
* Information about a Drive Folder that is shared with all teachers of the
- * course. This field will only be set for teachers of the course and domain
- * administrators. Read-only.
+ * course.
+ *
+ * This field will only be set for teachers of the course and domain
+ * administrators.
+ *
+ * Read-only.
*/
DriveFolder teacherFolder;
/**
* The email address of a Google group containing all teachers of the course.
* This group does not accept email and can only be used for permissions.
+ *
* Read-only.
*/
core.String teacherGroupEmail;
/**
- * Time of the most recent update to this course. Specifying this field in a
- * course update mask results in an error. Read-only.
+ * Time of the most recent update to this course.
+ * Specifying this field in a course update mask results in an error.
+ *
+ * Read-only.
*/
core.String updateTime;
@@ -2946,24 +3359,32 @@
}
/**
- * Alternative identifier for a course. An alias uniquely identifies a course.
- * It must be unique within one of the following scopes: * domain: A
- * domain-scoped alias is visible to all users within the alias creator's domain
- * and can be created only by a domain admin. A domain-scoped alias is often
- * used when a course has an identifier external to Classroom. * project: A
- * project-scoped alias is visible to any request from an application using the
- * Developer Console project ID that created the alias and can be created by any
- * project. A project-scoped alias is often used when an application has
- * alternative identifiers. A random value can also be used to avoid duplicate
- * courses in the event of transmission failures, as retrying a request will
- * return `ALREADY_EXISTS` if a previous one has succeeded.
+ * Alternative identifier for a course.
+ *
+ * An alias uniquely identifies a course. It must be unique within one of the
+ * following scopes:
+ *
+ * * domain: A domain-scoped alias is visible to all users within the alias
+ * creator's domain and can be created only by a domain admin. A domain-scoped
+ * alias is often used when a course has an identifier external to Classroom.
+ *
+ * * project: A project-scoped alias is visible to any request from an
+ * application using the Developer Console project ID that created the alias
+ * and can be created by any project. A project-scoped alias is often used when
+ * an application has alternative identifiers. A random value can also be used
+ * to avoid duplicate courses in the event of transmission failures, as retrying
+ * a request will return `ALREADY_EXISTS` if a previous one has succeeded.
*/
class CourseAlias {
/**
* Alias string. The format of the string indicates the desired alias scoping.
- * * `d:` indicates a domain-scoped alias. Example: `d:math_101` * `p:`
- * indicates a project-scoped alias. Example: `p:abc123` This field has a
- * maximum length of 256 characters.
+ *
+ * * `d:<name>` indicates a domain-scoped alias.
+ * Example: `d:math_101`
+ * * `p:<name>` indicates a project-scoped alias.
+ * Example: `p:abc123`
+ *
+ * This field has a maximum length of 256 characters.
*/
core.String alias;
@@ -3031,9 +3452,9 @@
}
/**
- * A set of materials that appears on the "About" page of the course. These
- * materials might include a syllabus, schedule, or other background information
- * relating to the course as a whole.
+ * A set of materials that appears on the "About" page of the course.
+ * These materials might include a syllabus, schedule, or other background
+ * information relating to the course as a whole.
*/
class CourseMaterialSet {
/** Materials attached to this set. */
@@ -3067,28 +3488,45 @@
/** Course work created by a teacher for students of the course. */
class CourseWork {
/**
- * Absolute link to this course work in the Classroom web UI. This is only
- * populated if `state` is `PUBLISHED`. Read-only.
+ * Absolute link to this course work in the Classroom web UI.
+ * This is only populated if `state` is `PUBLISHED`.
+ *
+ * Read-only.
*/
core.String alternateLink;
/**
- * Assignment details. This is populated only when `work_type` is
- * `ASSIGNMENT`. Read-only.
+ * Assignment details.
+ * This is populated only when `work_type` is `ASSIGNMENT`.
+ *
+ * Read-only.
*/
Assignment assignment;
/**
* Whether this course work item is associated with the Developer Console
- * project making the request. See google.classroom.Work.CreateCourseWork for
- * more details. Read-only.
+ * project making the request.
+ *
+ * See google.classroom.Work.CreateCourseWork for more
+ * details.
+ *
+ * Read-only.
*/
core.bool associatedWithDeveloper;
- /** Identifier of the course. Read-only. */
+ /**
+ * Identifier of the course.
+ *
+ * Read-only.
+ */
core.String courseId;
- /** Timestamp when this course work was created. Read-only. */
+ /**
+ * Timestamp when this course work was created.
+ *
+ * Read-only.
+ */
core.String creationTime;
/**
- * Optional description of this course work. If set, the description must be a
- * valid UTF-8 string containing no more than 30,000 characters.
+ * Optional description of this course work.
+ * If set, the description must be a valid UTF-8 string containing no more
+ * than 30,000 characters.
*/
core.String description;
/**
@@ -3098,65 +3536,87 @@
Date dueDate;
/**
* Optional time of day, in UTC, that submissions for this this course work
- * are due. This must be specified if `due_date` is specified.
+ * are due.
+ * This must be specified if `due_date` is specified.
*/
TimeOfDay dueTime;
/**
* Classroom-assigned identifier of this course work, unique per course.
+ *
* Read-only.
*/
core.String id;
/**
- * Additional materials. CourseWork must have no more than 20 material items.
+ * Additional materials.
+ *
+ * CourseWork must have no more than 20 material items.
*/
core.List<Material> materials;
/**
- * Maximum grade for this course work. If zero or unspecified, this assignment
- * is considered ungraded. This must be a non-negative integer value.
+ * Maximum grade for this course work.
+ * If zero or unspecified, this assignment is considered ungraded.
+ * This must be a non-negative integer value.
*/
core.double maxPoints;
/**
- * Multiple choice question details. For read operations, this field is
- * populated only when `work_type` is `MULTIPLE_CHOICE_QUESTION`. For write
- * operations, this field must be specified when creating course work with a
- * `work_type` of `MULTIPLE_CHOICE_QUESTION`, and it must not be set
- * otherwise.
+ * Multiple choice question details.
+ * For read operations, this field is populated only when `work_type` is
+ * `MULTIPLE_CHOICE_QUESTION`.
+ * For write operations, this field must be specified when creating course
+ * work with a `work_type` of `MULTIPLE_CHOICE_QUESTION`, and it must not be
+ * set otherwise.
*/
MultipleChoiceQuestion multipleChoiceQuestion;
/**
- * Status of this course work. If unspecified, the default state is `DRAFT`.
+ * Status of this course work.
+ * If unspecified, the default state is `DRAFT`.
* Possible string values are:
- * - "COURSE_WORK_STATE_UNSPECIFIED" : A COURSE_WORK_STATE_UNSPECIFIED.
- * - "PUBLISHED" : A PUBLISHED.
- * - "DRAFT" : A DRAFT.
- * - "DELETED" : A DELETED.
+ * - "COURSE_WORK_STATE_UNSPECIFIED" : No state specified. This is never
+ * returned.
+ * - "PUBLISHED" : Status for work that has been published.
+ * This is the default state.
+ * - "DRAFT" : Status for work that is not yet published.
+ * Work in this state is visible only to course teachers and domain
+ * administrators.
+ * - "DELETED" : Status for work that was published but is now deleted.
+ * Work in this state is visible only to course teachers and domain
+ * administrators.
+ * Work in this state is deleted after some time.
*/
core.String state;
/**
- * Setting to determine when students are allowed to modify submissions. If
- * unspecified, the default value is `MODIFIABLE_UNTIL_TURNED_IN`.
+ * Setting to determine when students are allowed to modify submissions.
+ * If unspecified, the default value is `MODIFIABLE_UNTIL_TURNED_IN`.
* Possible string values are:
- * - "SUBMISSION_MODIFICATION_MODE_UNSPECIFIED" : A
- * SUBMISSION_MODIFICATION_MODE_UNSPECIFIED.
- * - "MODIFIABLE_UNTIL_TURNED_IN" : A MODIFIABLE_UNTIL_TURNED_IN.
- * - "MODIFIABLE" : A MODIFIABLE.
+ * - "SUBMISSION_MODIFICATION_MODE_UNSPECIFIED" : No modification mode
+ * specified. This is never returned.
+ * - "MODIFIABLE_UNTIL_TURNED_IN" : Submisisons can be modified before being
+ * turned in.
+ * - "MODIFIABLE" : Submisisons can be modified at any time.
*/
core.String submissionModificationMode;
/**
- * Title of this course work. The title must be a valid UTF-8 string
- * containing between 1 and 3000 characters.
+ * Title of this course work.
+ * The title must be a valid UTF-8 string containing between 1 and 3000
+ * characters.
*/
core.String title;
- /** Timestamp of the most recent change to this course work. Read-only. */
+ /**
+ * Timestamp of the most recent change to this course work.
+ *
+ * Read-only.
+ */
core.String updateTime;
/**
- * Type of this course work. The type is set when the course work is created
- * and cannot be changed.
+ * Type of this course work.
+ *
+ * The type is set when the course work is created and cannot be changed.
* Possible string values are:
- * - "COURSE_WORK_TYPE_UNSPECIFIED" : A COURSE_WORK_TYPE_UNSPECIFIED.
- * - "ASSIGNMENT" : A ASSIGNMENT.
- * - "SHORT_ANSWER_QUESTION" : A SHORT_ANSWER_QUESTION.
- * - "MULTIPLE_CHOICE_QUESTION" : A MULTIPLE_CHOICE_QUESTION.
+ * - "COURSE_WORK_TYPE_UNSPECIFIED" : No work type specified. This is never
+ * returned.
+ * - "ASSIGNMENT" : An assignment.
+ * - "SHORT_ANSWER_QUESTION" : A short answer question.
+ * - "MULTIPLE_CHOICE_QUESTION" : A multiple-choice question.
*/
core.String workType;
@@ -3275,12 +3735,12 @@
/**
* Represents a whole calendar date, e.g. date of birth. The time of day and
- * time zone are either specified elsewhere or are not significant. The date is
- * relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a
- * year and month where the day is not significant, e.g. credit card expiration
- * date. The year may be 0 to represent a month and day independent of year,
- * e.g. anniversary date. Related types are google.type.TimeOfDay and
- * `google.protobuf.Timestamp`.
+ * time zone are either specified elsewhere or are not significant. The date
+ * is relative to the Proleptic Gregorian Calendar. The day may be 0 to
+ * represent a year and month where the day is not significant, e.g. credit card
+ * expiration date. The year may be 0 to represent a month and day independent
+ * of year, e.g. anniversary date. Related types are google.type.TimeOfDay
+ * and `google.protobuf.Timestamp`.
*/
class Date {
/**
@@ -3291,8 +3751,8 @@
/** Month of year. Must be from 1 to 12. */
core.int month;
/**
- * Year of date. Must be from 1 to 9999, or 0 if specifying a date without a
- * year.
+ * Year of date. Must be from 1 to 9999, or 0 if specifying a date without
+ * a year.
*/
core.int year;
@@ -3327,13 +3787,25 @@
/** Representation of a Google Drive file. */
class DriveFile {
- /** URL that can be used to access the Drive item. Read-only. */
+ /**
+ * URL that can be used to access the Drive item.
+ *
+ * Read-only.
+ */
core.String alternateLink;
/** Drive API resource ID. */
core.String id;
- /** URL of a thumbnail image of the Drive item. Read-only. */
+ /**
+ * URL of a thumbnail image of the Drive item.
+ *
+ * Read-only.
+ */
core.String thumbnailUrl;
- /** Title of the Drive item. Read-only. */
+ /**
+ * Title of the Drive item.
+ *
+ * Read-only.
+ */
core.String title;
DriveFile();
@@ -3373,11 +3845,19 @@
/** Representation of a Google Drive folder. */
class DriveFolder {
- /** URL that can be used to access the Drive folder. Read-only. */
+ /**
+ * URL that can be used to access the Drive folder.
+ *
+ * Read-only.
+ */
core.String alternateLink;
/** Drive API resource ID. */
core.String id;
- /** Title of the Drive folder. Read-only. */
+ /**
+ * Title of the Drive folder.
+ *
+ * Read-only.
+ */
core.String title;
DriveFolder();
@@ -3411,10 +3891,14 @@
/**
* 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); } The JSON
- * representation for `Empty` is empty JSON object `{}`.
+ * 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);
+ * }
+ *
+ * The JSON representation for `Empty` is empty JSON object `{}`.
*/
class Empty {
@@ -3434,14 +3918,24 @@
/** URL of the form. */
core.String formUrl;
/**
- * URL of the form responses document. Only set if respsonses have been
- * recorded and only when the requesting user is an editor of the form.
+ * URL of the form responses document.
+ * Only set if respsonses have been recorded and only when the
+ * requesting user is an editor of the form.
+ *
* Read-only.
*/
core.String responseUrl;
- /** URL of a thumbnail image of the Form. Read-only. */
+ /**
+ * URL of a thumbnail image of the Form.
+ *
+ * Read-only.
+ */
core.String thumbnailUrl;
- /** Title of the Form. Read-only. */
+ /**
+ * Title of the Form.
+ *
+ * Read-only.
+ */
core.String title;
Form();
@@ -3484,8 +3978,10 @@
/**
* Permission value.
* Possible string values are:
- * - "PERMISSION_UNSPECIFIED" : A PERMISSION_UNSPECIFIED.
- * - "CREATE_COURSE" : A CREATE_COURSE.
+ * - "PERMISSION_UNSPECIFIED" : No permission is specified. This is not
+ * returned and is not a
+ * valid value.
+ * - "CREATE_COURSE" : User is permitted to create a course.
*/
core.String permission;
@@ -3516,8 +4012,8 @@
/** User profile for the guardian. */
UserProfile guardianProfile;
/**
- * The email address to which the initial guardian invitation was sent. This
- * field is only visible to domain administrators.
+ * The email address to which the initial guardian invitation was sent.
+ * This field is only visible to domain administrators.
*/
core.String invitedEmailAddress;
/** Identifier for the student to whom the guardian relationship applies. */
@@ -3563,22 +4059,31 @@
* email address.
*/
class GuardianInvitation {
- /** The time that this invitation was created. Read-only. */
+ /**
+ * The time that this invitation was created.
+ *
+ * Read-only.
+ */
core.String creationTime;
- /** Unique identifier for this invitation. Read-only. */
+ /**
+ * Unique identifier for this invitation.
+ *
+ * Read-only.
+ */
core.String invitationId;
/**
- * Email address that the invitation was sent to. This field is only visible
- * to domain administrators.
+ * Email address that the invitation was sent to.
+ * This field is only visible to domain administrators.
*/
core.String invitedEmailAddress;
/**
* The state that this invitation is in.
* Possible string values are:
- * - "GUARDIAN_INVITATION_STATE_UNSPECIFIED" : A
- * GUARDIAN_INVITATION_STATE_UNSPECIFIED.
- * - "PENDING" : A PENDING.
- * - "COMPLETE" : A COMPLETE.
+ * - "GUARDIAN_INVITATION_STATE_UNSPECIFIED" : Should never be returned.
+ * - "PENDING" : The invitation is active and awaiting a response.
+ * - "COMPLETE" : The invitation is no longer active. It may have been
+ * accepted, declined,
+ * withdrawn or it may have expired.
*/
core.String state;
/** ID of the student (in standard format) */
@@ -3629,21 +4134,30 @@
class Invitation {
/** Identifier of the course to invite the user to. */
core.String courseId;
- /** Identifier assigned by Classroom. Read-only. */
+ /**
+ * Identifier assigned by Classroom.
+ *
+ * Read-only.
+ */
core.String id;
/**
- * Role to invite the user to have. Must not be `COURSE_ROLE_UNSPECIFIED`.
+ * Role to invite the user to have.
+ * Must not be `COURSE_ROLE_UNSPECIFIED`.
* Possible string values are:
- * - "COURSE_ROLE_UNSPECIFIED" : A COURSE_ROLE_UNSPECIFIED.
- * - "STUDENT" : A STUDENT.
- * - "TEACHER" : A TEACHER.
+ * - "COURSE_ROLE_UNSPECIFIED" : No course role.
+ * - "STUDENT" : Student in the course.
+ * - "TEACHER" : Teacher of the course.
*/
core.String role;
/**
- * Identifier of the invited user. When specified as a parameter of a request,
- * this identifier can be set to one of the following: * the numeric
- * identifier for the user * the email address of the user * the string
- * literal `"me"`, indicating the requesting user
+ * Identifier of the invited user.
+ *
+ * When specified as a parameter of a request, this identifier can be set to
+ * one of the following:
+ *
+ * * the numeric identifier for the user
+ * * the email address of the user
+ * * the string literal `"me"`, indicating the requesting user
*/
core.String userId;
@@ -3684,13 +4198,21 @@
/** URL item. */
class Link {
- /** URL of a thumbnail image of the target URL. Read-only. */
+ /**
+ * URL of a thumbnail image of the target URL.
+ *
+ * Read-only.
+ */
core.String thumbnailUrl;
- /** Title of the target of the URL. Read-only. */
+ /**
+ * Title of the target of the URL.
+ *
+ * Read-only.
+ */
core.String title;
/**
- * URL to link to. This must be a valid UTF-8 string containing between 1 and
- * 2024 characters.
+ * URL to link to.
+ * This must be a valid UTF-8 string containing between 1 and 2024 characters.
*/
core.String url;
@@ -3858,8 +4380,8 @@
/** Response when listing guardians. */
class ListGuardiansResponse {
/**
- * Guardians on this page of results that met the criteria specified in the
- * request.
+ * Guardians on this page of results that met the criteria specified in
+ * the request.
*/
core.List<Guardian> guardians;
/**
@@ -4024,8 +4546,9 @@
}
/**
- * Material attached to course work. When creating attachments, setting the
- * `form` field is not supported.
+ * Material attached to course work.
+ *
+ * When creating attachments, setting the `form` field is not supported.
*/
class Material {
/** Google Drive file material. */
@@ -4033,8 +4556,8 @@
/** Google Forms material. */
Form form;
/**
- * Link material. On creation, will be upgraded to a more appropriate type if
- * possible, and this will be reflected in the response.
+ * Link material. On creation, will be upgraded to a more appropriate type
+ * if possible, and this will be reflected in the response.
*/
Link link;
/** YouTube video material. */
@@ -4078,8 +4601,10 @@
/** Request to modify the attachments of a student submission. */
class ModifyAttachmentsRequest {
/**
- * Attachments to add. A student submission may not have more than 20
- * attachments. Form attachments are not supported.
+ * Attachments to add.
+ * A student submission may not have more than 20 attachments.
+ *
+ * Form attachments are not supported.
*/
core.List<Attachment> addAttachments;
@@ -4146,14 +4671,24 @@
/** Details of the user's name. */
class Name {
- /** The user's last name. Read-only. */
+ /**
+ * The user's last name.
+ *
+ * Read-only.
+ */
core.String familyName;
/**
* The user's full name formed by concatenating the first and last name
- * values. Read-only.
+ * values.
+ *
+ * Read-only.
*/
core.String fullName;
- /** The user's first name. Read-only. */
+ /**
+ * The user's first name.
+ *
+ * Read-only.
+ */
core.String givenName;
Name();
@@ -4220,10 +4755,11 @@
/**
* Mechanism by which students access the Drive item.
* Possible string values are:
- * - "UNKNOWN_SHARE_MODE" : A UNKNOWN_SHARE_MODE.
- * - "VIEW" : A VIEW.
- * - "EDIT" : A EDIT.
- * - "STUDENT_COPY" : A STUDENT_COPY.
+ * - "UNKNOWN_SHARE_MODE" : No sharing mode specified. This should never be
+ * returned.
+ * - "VIEW" : Students can view the shared file.
+ * - "EDIT" : Students can edit the shared file.
+ * - "STUDENT_COPY" : Students have a personal copy of the shared file.
*/
core.String shareMode;
@@ -4274,20 +4810,34 @@
/** Student in a course. */
class Student {
- /** Identifier of the course. Read-only. */
+ /**
+ * Identifier of the course.
+ *
+ * Read-only.
+ */
core.String courseId;
- /** Global user information for the student. Read-only. */
+ /**
+ * Global user information for the student.
+ *
+ * Read-only.
+ */
UserProfile profile;
/**
* Information about a Drive Folder for this student's work in this course.
- * Only visible to the student and domain administrators. Read-only.
+ * Only visible to the student and domain administrators.
+ *
+ * Read-only.
*/
DriveFolder studentWorkFolder;
/**
- * Identifier of the user. When specified as a parameter of a request, this
- * identifier can be one of the following: * the numeric identifier for the
- * user * the email address of the user * the string literal `"me"`,
- * indicating the requesting user
+ * Identifier of the user.
+ *
+ * When specified as a parameter of a request, this identifier can be one of
+ * the following:
+ *
+ * * the numeric identifier for the user
+ * * the email address of the user
+ * * the string literal `"me"`, indicating the requesting user
*/
core.String userId;
@@ -4327,79 +4877,122 @@
}
/**
- * Student submission for course work. StudentSubmission items are generated
- * when a CourseWork item is created. StudentSubmissions that have never been
- * accessed (i.e. with `state` = NEW) may not have a creation time or update
- * time.
+ * Student submission for course work.
+ *
+ * StudentSubmission items are generated when a CourseWork item is created.
+ *
+ * StudentSubmissions that have never been accessed (i.e. with `state` = NEW)
+ * may not have a creation time or update time.
*/
class StudentSubmission {
- /** Absolute link to the submission in the Classroom web UI. Read-only. */
+ /**
+ * Absolute link to the submission in the Classroom web UI.
+ *
+ * Read-only.
+ */
core.String alternateLink;
/**
- * Optional grade. If unset, no grade was set. This must be a non-negative
- * integer value. This may be modified only by course teachers.
+ * Optional grade. If unset, no grade was set.
+ * This must be a non-negative integer value.
+ *
+ * This may be modified only by course teachers.
*/
core.double assignedGrade;
/** Submission content when course_work_type is ASSIGNMENT . */
AssignmentSubmission assignmentSubmission;
/**
* Whether this student submission is associated with the Developer Console
- * project making the request. See google.classroom.Work.CreateCourseWork for
- * more details. Read-only.
+ * project making the request.
+ *
+ * See google.classroom.Work.CreateCourseWork for more
+ * details.
+ *
+ * Read-only.
*/
core.bool associatedWithDeveloper;
- /** Identifier of the course. Read-only. */
+ /**
+ * Identifier of the course.
+ *
+ * Read-only.
+ */
core.String courseId;
- /** Identifier for the course work this corresponds to. Read-only. */
+ /**
+ * Identifier for the course work this corresponds to.
+ *
+ * Read-only.
+ */
core.String courseWorkId;
/**
- * Type of course work this submission is for. Read-only.
+ * Type of course work this submission is for.
+ *
+ * Read-only.
* Possible string values are:
- * - "COURSE_WORK_TYPE_UNSPECIFIED" : A COURSE_WORK_TYPE_UNSPECIFIED.
- * - "ASSIGNMENT" : A ASSIGNMENT.
- * - "SHORT_ANSWER_QUESTION" : A SHORT_ANSWER_QUESTION.
- * - "MULTIPLE_CHOICE_QUESTION" : A MULTIPLE_CHOICE_QUESTION.
+ * - "COURSE_WORK_TYPE_UNSPECIFIED" : No work type specified. This is never
+ * returned.
+ * - "ASSIGNMENT" : An assignment.
+ * - "SHORT_ANSWER_QUESTION" : A short answer question.
+ * - "MULTIPLE_CHOICE_QUESTION" : A multiple-choice question.
*/
core.String courseWorkType;
/**
- * Creation time of this submission. This may be unset if the student has not
- * accessed this item. Read-only.
+ * Creation time of this submission.
+ * This may be unset if the student has not accessed this item.
+ *
+ * Read-only.
*/
core.String creationTime;
/**
- * Optional pending grade. If unset, no grade was set. This must be a
- * non-negative integer value. This is only visible to and modifiable by
- * course teachers.
+ * Optional pending grade. If unset, no grade was set.
+ * This must be a non-negative integer value.
+ *
+ * This is only visible to and modifiable by course teachers.
*/
core.double draftGrade;
/**
- * Classroom-assigned Identifier for the student submission. This is unique
- * among submissions for the relevant course work. Read-only.
+ * Classroom-assigned Identifier for the student submission.
+ * This is unique among submissions for the relevant course work.
+ *
+ * Read-only.
*/
core.String id;
- /** Whether this submission is late. Read-only. */
+ /**
+ * Whether this submission is late.
+ *
+ * Read-only.
+ */
core.bool late;
/** Submission content when course_work_type is MULTIPLE_CHOICE_QUESTION. */
MultipleChoiceSubmission multipleChoiceSubmission;
/** Submission content when course_work_type is SHORT_ANSWER_QUESTION. */
ShortAnswerSubmission shortAnswerSubmission;
/**
- * State of this submission. Read-only.
+ * State of this submission.
+ *
+ * Read-only.
* Possible string values are:
- * - "SUBMISSION_STATE_UNSPECIFIED" : A SUBMISSION_STATE_UNSPECIFIED.
- * - "NEW" : A NEW.
- * - "CREATED" : A CREATED.
- * - "TURNED_IN" : A TURNED_IN.
- * - "RETURNED" : A RETURNED.
- * - "RECLAIMED_BY_STUDENT" : A RECLAIMED_BY_STUDENT.
+ * - "SUBMISSION_STATE_UNSPECIFIED" : No state specified. This should never be
+ * returned.
+ * - "NEW" : The student has never accessed this submission. Attachments are
+ * not
+ * returned and timestamps is not set.
+ * - "CREATED" : Has been created.
+ * - "TURNED_IN" : Has been turned in to the teacher.
+ * - "RETURNED" : Has been returned to the student.
+ * - "RECLAIMED_BY_STUDENT" : Student chose to "unsubmit" the assignment.
*/
core.String state;
/**
- * Last update time of this submission. This may be unset if the student has
- * not accessed this item. Read-only.
+ * Last update time of this submission.
+ * This may be unset if the student has not accessed this item.
+ *
+ * Read-only.
*/
core.String updateTime;
- /** Identifier for the student that owns this submission. Read-only. */
+ /**
+ * Identifier for the student that owns this submission.
+ *
+ * Read-only.
+ */
core.String userId;
StudentSubmission();
@@ -4511,15 +5104,27 @@
/** Teacher of a course. */
class Teacher {
- /** Identifier of the course. Read-only. */
+ /**
+ * Identifier of the course.
+ *
+ * Read-only.
+ */
core.String courseId;
- /** Global user information for the teacher. Read-only. */
+ /**
+ * Global user information for the teacher.
+ *
+ * Read-only.
+ */
UserProfile profile;
/**
- * Identifier of the user. When specified as a parameter of a request, this
- * identifier can be one of the following: * the numeric identifier for the
- * user * the email address of the user * the string literal `"me"`,
- * indicating the requesting user
+ * Identifier of the user.
+ *
+ * When specified as a parameter of a request, this identifier can be one of
+ * the following:
+ *
+ * * the numeric identifier for the user
+ * * the email address of the user
+ * * the string literal `"me"`, indicating the requesting user
*/
core.String userId;
@@ -4554,7 +5159,7 @@
/**
* Represents a time of day. The date and time zone are either not significant
- * or are specified elsewhere. An API may chose to allow leap seconds. Related
+ * or are specified elsewhere. An API may choose to allow leap seconds. Related
* types are google.type.Date and `google.protobuf.Timestamp`.
*/
class TimeOfDay {
@@ -4624,15 +5229,35 @@
/** Global information for a user. */
class UserProfile {
- /** Email address of the user. Read-only. */
+ /**
+ * Email address of the user.
+ *
+ * Read-only.
+ */
core.String emailAddress;
- /** Identifier of the user. Read-only. */
+ /**
+ * Identifier of the user.
+ *
+ * Read-only.
+ */
core.String id;
- /** Name of the user. Read-only. */
+ /**
+ * Name of the user.
+ *
+ * Read-only.
+ */
Name name;
- /** Global permissions of the user. Read-only. */
+ /**
+ * Global permissions of the user.
+ *
+ * Read-only.
+ */
core.List<GlobalPermission> permissions;
- /** URL of user's profile photo. Read-only. */
+ /**
+ * URL of user's profile photo.
+ *
+ * Read-only.
+ */
core.String photoUrl;
UserProfile();
@@ -4678,13 +5303,25 @@
/** YouTube video item. */
class YouTubeVideo {
- /** URL that can be used to view the YouTube video. Read-only. */
+ /**
+ * URL that can be used to view the YouTube video.
+ *
+ * Read-only.
+ */
core.String alternateLink;
/** YouTube API resource ID. */
core.String id;
- /** URL of a thumbnail image of the YouTube video. Read-only. */
+ /**
+ * URL of a thumbnail image of the YouTube video.
+ *
+ * Read-only.
+ */
core.String thumbnailUrl;
- /** Title of the YouTube video. Read-only. */
+ /**
+ * Title of the YouTube video.
+ *
+ * Read-only.
+ */
core.String title;
YouTubeVideo();
diff --git a/generated/googleapis/lib/cloudbilling/v1.dart b/generated/googleapis/lib/cloudbilling/v1.dart
index 35fd2b3..92926aa 100644
--- a/generated/googleapis/lib/cloudbilling/v1.dart
+++ b/generated/googleapis/lib/cloudbilling/v1.dart
@@ -15,8 +15,8 @@
const core.String USER_AGENT = 'dart-api-client cloudbilling/v1';
/**
- * Retrieves Google Developers Console billing accounts and associates them with
- * projects.
+ * Allows developers to manage billing for their Google Cloud Platform projects
+ * programmatically.
*/
class CloudbillingApi {
/** View and manage your data across Google Cloud Platform services */
@@ -50,7 +50,7 @@
*
* [name] - The resource name of the billing account to retrieve. For example,
* `billingAccounts/012345-567890-ABCDEF`.
- * Value must have pattern "^billingAccounts/[^/]*$".
+ * Value must have pattern "^billingAccounts/[^/]+$".
*
* Completes with a [BillingAccount].
*
@@ -91,10 +91,12 @@
* Request parameters:
*
* [pageSize] - Requested page size. The maximum page size is 100; this is
- * also the default.
+ * also the
+ * default.
*
* [pageToken] - A token identifying a page of results to return. This should
- * be a `next_page_token` value returned from a previous `ListBillingAccounts`
+ * be a
+ * `next_page_token` value returned from a previous `ListBillingAccounts`
* call. If unspecified, the first page of results is returned.
*
* Completes with a [ListBillingAccountsResponse].
@@ -149,17 +151,18 @@
* Request parameters:
*
* [name] - The resource name of the billing account associated with the
- * projects that you want to list. For example,
- * `billingAccounts/012345-567890-ABCDEF`.
- * Value must have pattern "^billingAccounts/[^/]*$".
+ * projects that
+ * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
+ * Value must have pattern "^billingAccounts/[^/]+$".
*
* [pageSize] - Requested page size. The maximum page size is 100; this is
- * also the default.
+ * also the
+ * default.
*
* [pageToken] - A token identifying a page of results to be returned. This
- * should be a `next_page_token` value returned from a previous
- * `ListProjectBillingInfo` call. If unspecified, the first page of results is
- * returned.
+ * should be a
+ * `next_page_token` value returned from a previous `ListProjectBillingInfo`
+ * call. If unspecified, the first page of results is returned.
*
* Completes with a [ListProjectBillingInfoResponse].
*
@@ -218,7 +221,7 @@
*
* [name] - The resource name of the project for which billing information is
* retrieved. For example, `projects/tokyo-rain-123`.
- * Value must have pattern "^projects/[^/]*$".
+ * Value must have pattern "^projects/[^/]+$".
*
* Completes with a [ProjectBillingInfo].
*
@@ -259,34 +262,40 @@
* Associating a project with an open billing account enables billing on the
* project and allows charges for resource usage. If the project already had a
* billing account, this method changes the billing account used for resource
- * usage charges. *Note:* Incurred charges that have not yet been reported in
- * the transaction history of the Google Developers Console may be billed to
- * the new billing account, even if the charge occurred before the new billing
- * account was assigned to the project. The current authenticated user must
- * have ownership privileges for both the
+ * usage charges.
+ *
+ * *Note:* Incurred charges that have not yet been reported in the transaction
+ * history of the Google Cloud Console may be billed to the new billing
+ * account, even if the charge occurred before the new billing account was
+ * assigned to the project.
+ *
+ * The current authenticated user must have ownership privileges for both the
* [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo
* ) and the [billing
- * account](https://support.google.com/cloud/answer/4430947). You can disable
- * billing on the project by setting the `billing_account_name` field to
- * empty. This action disassociates the current billing account from the
- * project. Any billable activity of your in-use services will stop, and your
- * application could stop functioning as expected. Any unbilled charges to
- * date will be billed to the previously associated account. The current
- * authenticated user must be either an owner of the project or an owner of
- * the billing account for the project. Note that associating a project with a
- * *closed* billing account will have much the same effect as disabling
- * billing on the project: any paid resources used by the project will be shut
- * down. Thus, unless you wish to disable billing, you should always call this
- * method with the name of an *open* billing account.
+ * account](https://support.google.com/cloud/answer/4430947).
+ *
+ * You can disable billing on the project by setting the
+ * `billing_account_name` field to empty. This action disassociates the
+ * current billing account from the project. Any billable activity of your
+ * in-use services will stop, and your application could stop functioning as
+ * expected. Any unbilled charges to date will be billed to the previously
+ * associated account. The current authenticated user must be either an owner
+ * of the project or an owner of the billing account for the project.
+ *
+ * Note that associating a project with a *closed* billing account will have
+ * much the same effect as disabling billing on the project: any paid
+ * resources used by the project will be shut down. Thus, unless you wish to
+ * disable billing, you should always call this method with the name of an
+ * *open* billing account.
*
* [request] - The metadata request object.
*
* Request parameters:
*
* [name] - The resource name of the project associated with the billing
- * information that you want to update. For example,
- * `projects/tokyo-rain-123`.
- * Value must have pattern "^projects/[^/]*$".
+ * information
+ * that you want to update. For example, `projects/tokyo-rain-123`.
+ * Value must have pattern "^projects/[^/]+$".
*
* Completes with a [ProjectBillingInfo].
*
@@ -328,14 +337,14 @@
/**
- * A billing account in [Google Developers
- * Console](https://console.developers.google.com/). You can assign a billing
- * account to one or more projects.
+ * A billing account in [Google Cloud
+ * Console](https://console.cloud.google.com/). You can assign a billing account
+ * to one or more projects.
*/
class BillingAccount {
/**
* The display name given to the billing account, such as `My Billing
- * Account`. This name is displayed in the Google Developers Console.
+ * Account`. This name is displayed in the Google Cloud Console.
*/
core.String displayName;
/**
@@ -453,9 +462,9 @@
}
/**
- * Encapsulation of billing information for a Developers Console project. A
- * project has at most one associated billing account at a time (but a billing
- * account can be assigned to multiple projects).
+ * Encapsulation of billing information for a Cloud Console project. A project
+ * has at most one associated billing account at a time (but a billing account
+ * can be assigned to multiple projects).
*/
class ProjectBillingInfo {
/**
diff --git a/generated/googleapis/lib/cloudbuild/v1.dart b/generated/googleapis/lib/cloudbuild/v1.dart
index 3511edb..2d8e4c9 100644
--- a/generated/googleapis/lib/cloudbuild/v1.dart
+++ b/generated/googleapis/lib/cloudbuild/v1.dart
@@ -144,12 +144,12 @@
* [name] - The name of the operation collection.
* Value must have pattern "^operations$".
*
+ * [filter] - The standard list filter.
+ *
* [pageToken] - The standard list page token.
*
* [pageSize] - The standard list page size.
*
- * [filter] - The standard list filter.
- *
* Completes with a [ListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -158,7 +158,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListOperationsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<ListOperationsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -169,15 +169,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
@@ -365,12 +365,12 @@
*
* [projectId] - ID of the project.
*
- * [pageToken] - Token to provide to skip to a particular spot in the list.
- *
* [pageSize] - Number of results to return in the list.
*
* [filter] - The raw filter text to constrain the results.
*
+ * [pageToken] - Token to provide to skip to a particular spot in the list.
+ *
* Completes with a [ListBuildsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -379,7 +379,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListBuildsResponse> list(core.String projectId, {core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<ListBuildsResponse> list(core.String projectId, {core.int pageSize, core.String filter, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -390,15 +390,15 @@
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/builds';
@@ -996,10 +996,10 @@
*
* The Docker daemon's cache will already have the latest versions of all of
* the officially supported build steps
- * (https://github.com/GoogleCloudPlatform/cloud-builders). The Docker daemon
- * will also have cached many of the layers for some popular images, like
- * "ubuntu", "debian", but they will be refreshed at the time you attempt to
- * use them.
+ * ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)).
+ * The Docker daemon will also have cached many of the layers for some popular
+ * images, like "ubuntu", "debian", but they will be refreshed at the time you
+ * attempt to use them.
*
* If you built an image in a previous build step, it will be stored in the
* host's Docker daemon's cache and is available to use as the name for a
diff --git a/generated/googleapis/lib/clouddebugger/v2.dart b/generated/googleapis/lib/clouddebugger/v2.dart
index 3aa15ca..b2082c6 100644
--- a/generated/googleapis/lib/clouddebugger/v2.dart
+++ b/generated/googleapis/lib/clouddebugger/v2.dart
@@ -130,6 +130,11 @@
*
* [debuggeeId] - Identifies the debuggee.
*
+ * [waitToken] - A wait token that, if specified, blocks the method call until
+ * the list
+ * of active breakpoints has changed, or a server selected timeout has
+ * expired. The value should be set from the last returned response.
+ *
* [successOnTimeout] - If set to `true`, returns `google.rpc.Code.OK` status
* and sets the
* `wait_expired` response field to `true` when the server-selected timeout
@@ -138,11 +143,6 @@
* If set to `false`, returns `google.rpc.Code.ABORTED` status when the
* server-selected timeout has expired (deprecated).
*
- * [waitToken] - A wait token that, if specified, blocks the method call until
- * the list
- * of active breakpoints has changed, or a server selected timeout has
- * expired. The value should be set from the last returned response.
- *
* Completes with a [ListActiveBreakpointsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -151,7 +151,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListActiveBreakpointsResponse> list(core.String debuggeeId, {core.bool successOnTimeout, core.String waitToken}) {
+ async.Future<ListActiveBreakpointsResponse> list(core.String debuggeeId, {core.String waitToken, core.bool successOnTimeout}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -162,12 +162,12 @@
if (debuggeeId == null) {
throw new core.ArgumentError("Parameter debuggeeId is required.");
}
- if (successOnTimeout != null) {
- _queryParams["successOnTimeout"] = ["${successOnTimeout}"];
- }
if (waitToken != null) {
_queryParams["waitToken"] = [waitToken];
}
+ if (successOnTimeout != null) {
+ _queryParams["successOnTimeout"] = ["${successOnTimeout}"];
+ }
_url = 'v2/controller/debuggees/' + commons.Escaper.ecapeVariable('$debuggeeId') + '/breakpoints';
@@ -444,14 +444,14 @@
* - "CAPTURE" : A CAPTURE.
* - "LOG" : A LOG.
*
- * [includeAllUsers] - When set to `true`, the response includes the list of
- * breakpoints set by
- * any user. Otherwise, it includes only breakpoints set by the caller.
- *
* [includeInactive] - When set to `true`, the response includes active and
* inactive
* breakpoints. Otherwise, it includes only active breakpoints.
*
+ * [includeAllUsers] - When set to `true`, the response includes the list of
+ * breakpoints set by
+ * any user. Otherwise, it includes only breakpoints set by the caller.
+ *
* [stripResults] - This field is deprecated. The following fields are always
* stripped out of
* the result: `stack_frames`, `evaluated_expressions` and `variable_table`.
@@ -464,7 +464,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListBreakpointsResponse> list(core.String debuggeeId, {core.String waitToken, core.String clientVersion, core.String action_value, core.bool includeAllUsers, core.bool includeInactive, core.bool stripResults}) {
+ async.Future<ListBreakpointsResponse> list(core.String debuggeeId, {core.String waitToken, core.String clientVersion, core.String action_value, core.bool includeInactive, core.bool includeAllUsers, core.bool stripResults}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -484,12 +484,12 @@
if (action_value != null) {
_queryParams["action.value"] = [action_value];
}
- if (includeAllUsers != null) {
- _queryParams["includeAllUsers"] = ["${includeAllUsers}"];
- }
if (includeInactive != null) {
_queryParams["includeInactive"] = ["${includeInactive}"];
}
+ if (includeAllUsers != null) {
+ _queryParams["includeAllUsers"] = ["${includeAllUsers}"];
+ }
if (stripResults != null) {
_queryParams["stripResults"] = ["${stripResults}"];
}
diff --git a/generated/googleapis/lib/cloudfunctions/v1.dart b/generated/googleapis/lib/cloudfunctions/v1.dart
new file mode 100644
index 0000000..d9a0fd9
--- /dev/null
+++ b/generated/googleapis/lib/cloudfunctions/v1.dart
@@ -0,0 +1,205 @@
+// This is a generated file (see the discoveryapis_generator project).
+
+library googleapis.cloudfunctions.v1;
+
+import 'dart:core' as core;
+import 'dart:async' as async;
+import 'dart:convert' as convert;
+
+import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
+import 'package:http/http.dart' as http;
+
+export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
+ ApiRequestError, DetailedApiRequestError;
+
+const core.String USER_AGENT = 'dart-api-client cloudfunctions/v1';
+
+/**
+ * API for managing lightweight user-provided functions executed in response to
+ * events.
+ */
+class CloudfunctionsApi {
+ /** View and manage your data across Google Cloud Platform services */
+ static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform";
+
+
+ final commons.ApiRequester _requester;
+
+ ProjectsResourceApi get projects => new ProjectsResourceApi(_requester);
+
+ CloudfunctionsApi(http.Client client, {core.String rootUrl: "https://cloudfunctions.googleapis.com/", core.String servicePath: ""}) :
+ _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
+}
+
+
+class ProjectsResourceApi {
+ final commons.ApiRequester _requester;
+
+ ProjectsLocationsResourceApi get locations => new ProjectsLocationsResourceApi(_requester);
+
+ ProjectsResourceApi(commons.ApiRequester client) :
+ _requester = client;
+}
+
+
+class ProjectsLocationsResourceApi {
+ final commons.ApiRequester _requester;
+
+ ProjectsLocationsResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Get information about a location.
+ *
+ * Request parameters:
+ *
+ * [name] - Resource name for the location.
+ * Value must have pattern "^projects/[^/]+/locations/[^/]+$".
+ *
+ * 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<Location> get(core.String name) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (name == null) {
+ throw new core.ArgumentError("Parameter name is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Location.fromJson(data));
+ }
+
+}
+
+
+
+/** A resource that represents Google Cloud Platform location. */
+class Location {
+ /**
+ * Cross-service attributes for the location. For example
+ *
+ * {"cloud.googleapis.com/region": "us-east1"}
+ */
+ core.Map<core.String, core.String> labels;
+ /** The canonical id for this location. For example: `"us-east1"`. */
+ core.String locationId;
+ /**
+ * Service-specific metadata. For example the available capacity at the given
+ * location.
+ *
+ * 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<core.String, core.Object> metadata;
+ /**
+ * Resource name for the location, which may vary between implementations.
+ * For example: `"projects/example-project/locations/us-east1"`
+ */
+ core.String name;
+
+ Location();
+
+ Location.fromJson(core.Map _json) {
+ if (_json.containsKey("labels")) {
+ labels = _json["labels"];
+ }
+ if (_json.containsKey("locationId")) {
+ locationId = _json["locationId"];
+ }
+ if (_json.containsKey("metadata")) {
+ metadata = _json["metadata"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (labels != null) {
+ _json["labels"] = labels;
+ }
+ if (locationId != null) {
+ _json["locationId"] = locationId;
+ }
+ if (metadata != null) {
+ _json["metadata"] = metadata;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ return _json;
+ }
+}
+
+/** Metadata describing an Operation */
+class OperationMetadataV1Beta2 {
+ /**
+ * The original request that started the operation.
+ *
+ * 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<core.String, core.Object> request;
+ /**
+ * Target of the operation - for example
+ * projects/project-1/locations/region-1/functions/function-1
+ */
+ core.String target;
+ /**
+ * Type of operation.
+ * Possible string values are:
+ * - "OPERATION_UNSPECIFIED" : Unknown operation type.
+ * - "CREATE_FUNCTION" : Triggered by CreateFunction call
+ * - "UPDATE_FUNCTION" : Triggered by UpdateFunction call
+ * - "DELETE_FUNCTION" : Triggered by DeleteFunction call.
+ */
+ core.String type;
+
+ OperationMetadataV1Beta2();
+
+ OperationMetadataV1Beta2.fromJson(core.Map _json) {
+ if (_json.containsKey("request")) {
+ request = _json["request"];
+ }
+ if (_json.containsKey("target")) {
+ target = _json["target"];
+ }
+ if (_json.containsKey("type")) {
+ type = _json["type"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (request != null) {
+ _json["request"] = request;
+ }
+ if (target != null) {
+ _json["target"] = target;
+ }
+ if (type != null) {
+ _json["type"] = type;
+ }
+ return _json;
+ }
+}
diff --git a/generated/googleapis_beta/lib/cloudkms/v1beta1.dart b/generated/googleapis/lib/cloudkms/v1.dart
similarity index 94%
rename from generated/googleapis_beta/lib/cloudkms/v1beta1.dart
rename to generated/googleapis/lib/cloudkms/v1.dart
index 4523533..dcd05c2 100644
--- a/generated/googleapis_beta/lib/cloudkms/v1beta1.dart
+++ b/generated/googleapis/lib/cloudkms/v1.dart
@@ -1,6 +1,6 @@
// This is a generated file (see the discoveryapis_generator project).
-library googleapis_beta.cloudkms.v1beta1;
+library googleapis.cloudkms.v1;
import 'dart:core' as core;
import 'dart:async' as async;
@@ -12,7 +12,7 @@
export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
ApiRequestError, DetailedApiRequestError;
-const core.String USER_AGENT = 'dart-api-client cloudkms/v1beta1';
+const core.String USER_AGENT = 'dart-api-client cloudkms/v1';
/**
* Manages encryption for your cloud services the same way you do on-premise.
@@ -78,7 +78,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name');
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
var _response = _requester.request(_url,
"GET",
@@ -98,12 +98,12 @@
* [name] - The resource that owns the locations collection, if applicable.
* Value must have pattern "^projects/[^/]+$".
*
+ * [filter] - The standard list filter.
+ *
* [pageToken] - The standard list page token.
*
* [pageSize] - The standard list page size.
*
- * [filter] - The standard list filter.
- *
* Completes with a [ListLocationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -112,7 +112,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListLocationsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<ListLocationsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -123,17 +123,17 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name') + '/locations';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + '/locations';
var _response = _requester.request(_url,
"GET",
@@ -197,7 +197,7 @@
_queryParams["keyRingId"] = [keyRingId];
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/keyRings';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/keyRings';
var _response = _requester.request(_url,
"POST",
@@ -237,7 +237,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name');
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
var _response = _requester.request(_url,
"GET",
@@ -258,8 +258,7 @@
*
* [resource] - REQUIRED: The resource for which the policy is being
* requested.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$".
*
* Completes with a [Policy].
@@ -282,7 +281,7 @@
throw new core.ArgumentError("Parameter resource is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getIamPolicy';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getIamPolicy';
var _response = _requester.request(_url,
"GET",
@@ -303,14 +302,14 @@
* KeyRings, in the format `projects / * /locations / * `.
* Value must have pattern "^projects/[^/]+/locations/[^/]+$".
*
- * [pageToken] - Optional pagination token, returned earlier via
- * ListKeyRingsResponse.next_page_token.
- *
* [pageSize] - Optional limit on the number of KeyRings to include in the
* response. Further KeyRings can subsequently be obtained by
* including the ListKeyRingsResponse.next_page_token in a subsequent
* request. If unspecified, the server will pick an appropriate default.
*
+ * [pageToken] - Optional pagination token, returned earlier via
+ * ListKeyRingsResponse.next_page_token.
+ *
* Completes with a [ListKeyRingsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -319,7 +318,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListKeyRingsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListKeyRingsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -330,14 +329,14 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/keyRings';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/keyRings';
var _response = _requester.request(_url,
"GET",
@@ -359,8 +358,7 @@
*
* [resource] - REQUIRED: The resource for which the policy is being
* specified.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$".
*
* Completes with a [Policy].
@@ -386,7 +384,7 @@
throw new core.ArgumentError("Parameter resource is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':setIamPolicy';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':setIamPolicy';
var _response = _requester.request(_url,
"POST",
@@ -413,8 +411,7 @@
*
* [resource] - REQUIRED: The resource for which the policy detail is being
* requested.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$".
*
* Completes with a [TestIamPermissionsResponse].
@@ -440,7 +437,7 @@
throw new core.ArgumentError("Parameter resource is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':testIamPermissions';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':testIamPermissions';
var _response = _requester.request(_url,
"POST",
@@ -506,7 +503,7 @@
_queryParams["cryptoKeyId"] = [cryptoKeyId];
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/cryptoKeys';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/cryptoKeys';
var _response = _requester.request(_url,
"POST",
@@ -554,7 +551,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name') + ':decrypt';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + ':decrypt';
var _response = _requester.request(_url,
"POST",
@@ -604,7 +601,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name') + ':encrypt';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + ':encrypt';
var _response = _requester.request(_url,
"POST",
@@ -646,7 +643,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name');
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
var _response = _requester.request(_url,
"GET",
@@ -667,8 +664,7 @@
*
* [resource] - REQUIRED: The resource for which the policy is being
* requested.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern
* "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$".
*
@@ -692,7 +688,7 @@
throw new core.ArgumentError("Parameter resource is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getIamPolicy';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getIamPolicy';
var _response = _requester.request(_url,
"GET",
@@ -714,14 +710,14 @@
* `projects / * /locations / * /keyRings / * `.
* Value must have pattern "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$".
*
- * [pageToken] - Optional pagination token, returned earlier via
- * ListCryptoKeysResponse.next_page_token.
- *
* [pageSize] - Optional limit on the number of CryptoKeys to include in the
* response. Further CryptoKeys can subsequently be obtained by
* including the ListCryptoKeysResponse.next_page_token in a subsequent
* request. If unspecified, the server will pick an appropriate default.
*
+ * [pageToken] - Optional pagination token, returned earlier via
+ * ListCryptoKeysResponse.next_page_token.
+ *
* Completes with a [ListCryptoKeysResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -730,7 +726,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListCryptoKeysResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListCryptoKeysResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -741,14 +737,14 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/cryptoKeys';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/cryptoKeys';
var _response = _requester.request(_url,
"GET",
@@ -800,7 +796,7 @@
_queryParams["updateMask"] = [updateMask];
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name');
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
var _response = _requester.request(_url,
"PATCH",
@@ -822,8 +818,7 @@
*
* [resource] - REQUIRED: The resource for which the policy is being
* specified.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern
* "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$".
*
@@ -850,7 +845,7 @@
throw new core.ArgumentError("Parameter resource is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':setIamPolicy';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':setIamPolicy';
var _response = _requester.request(_url,
"POST",
@@ -877,8 +872,7 @@
*
* [resource] - REQUIRED: The resource for which the policy detail is being
* requested.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern
* "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$".
*
@@ -905,7 +899,7 @@
throw new core.ArgumentError("Parameter resource is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':testIamPermissions';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':testIamPermissions';
var _response = _requester.request(_url,
"POST",
@@ -951,7 +945,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name') + ':updatePrimaryVersion';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + ':updatePrimaryVersion';
var _response = _requester.request(_url,
"POST",
@@ -1011,7 +1005,7 @@
throw new core.ArgumentError("Parameter parent is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/cryptoKeyVersions';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/cryptoKeyVersions';
var _response = _requester.request(_url,
"POST",
@@ -1068,7 +1062,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name') + ':destroy';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + ':destroy';
var _response = _requester.request(_url,
"POST",
@@ -1109,7 +1103,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name');
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
var _response = _requester.request(_url,
"GET",
@@ -1167,7 +1161,7 @@
_queryParams["pageSize"] = ["${pageSize}"];
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/cryptoKeyVersions';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/cryptoKeyVersions';
var _response = _requester.request(_url,
"GET",
@@ -1227,7 +1221,7 @@
_queryParams["updateMask"] = [updateMask];
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name');
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
var _response = _requester.request(_url,
"PATCH",
@@ -1279,7 +1273,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name') + ':restore';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + ':restore';
var _response = _requester.request(_url,
"POST",
@@ -1297,8 +1291,8 @@
/**
* Specifies the audit configuration for a service.
- * It consists of which permission types are logged, and what identities, if
- * any, are exempted from logging.
+ * The configuration determines which permission types are logged, and what
+ * identities, if any, are exempted from logging.
* An AuditConifg must have one or more AuditLogConfigs.
*
* If there are AuditConfigs for both `allServices` and a specific service,
@@ -1354,7 +1348,7 @@
core.List<core.String> exemptedMembers;
/**
* Specifies a service that will be enabled for audit logging.
- * For example, `resourcemanager`, `storage`, `compute`.
+ * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
* `allServices` is a special value that covers all services.
*/
core.String service;
@@ -1538,6 +1532,15 @@
* access, and are thus only used in a strictly positive context
* (e.g. ALLOW/IN or DENY/NOT_IN).
* See: go/rpc-security-policy-dynamicauth.
+ * - "JUSTIFICATION_TYPE" : What types of justifications have been supplied
+ * with this request.
+ * String values should match enum names from tech.iam.JustificationType,
+ * e.g. "MANUAL_STRING". It is not permitted to grant access based on
+ * the *absence* of a justification, so justification conditions can only
+ * be used in a "positive" context (e.g., ALLOW/IN or DENY/NOT_IN).
+ *
+ * Multiple justifications, e.g., a Buganizer ID and a manually-entered
+ * reason, are normal and supported.
*/
core.String iam;
/**
@@ -1546,8 +1549,12 @@
* - "NO_OP" : Default no-op.
* - "EQUALS" : DEPRECATED. Use IN instead.
* - "NOT_EQUALS" : DEPRECATED. Use NOT_IN instead.
- * - "IN" : Set-inclusion check.
- * - "NOT_IN" : Set-exclusion check.
+ * - "IN" : The condition is true if the subject (or any element of it if it
+ * is
+ * a set) matches any of the supplied values.
+ * - "NOT_IN" : The condition is true if the subject (or every element of it
+ * if it is
+ * a set) matches none of the supplied values.
* - "DISCHARGED" : Subject is discharged
*/
core.String op;
@@ -2278,31 +2285,7 @@
}
}
-/**
- * Specifies what kind of log the caller must write
- * Increment a streamz counter with the specified metric and field names.
- *
- * Metric names should start with a '/', generally be lowercase-only,
- * and end in "_count". Field names should not contain an initial slash.
- * The actual exported metric names will have "/iam/policy" prepended.
- *
- * Field names correspond to IAM request parameters and field values are
- * their respective values.
- *
- * At present the only supported field names are
- * - "iam_principal", corresponding to IAMContext.principal;
- * - "" (empty string), resulting in one aggretated counter with no field.
- *
- * Examples:
- * counter { metric: "/debug_access_count" field: "iam_principal" }
- * ==> increment counter /iam/policy/backend_debug_access_count
- * {iam_principal=[value of IAMContext.principal]}
- *
- * At this time we do not support:
- * * multiple field names (though this may be supported in the future)
- * * decrementing the counter
- * * incrementing it by anything other than 1
- */
+/** Specifies what kind of log the caller must write */
class LogConfig {
/** Cloud audit options. */
CloudAuditOptions cloudAudit;
@@ -2588,8 +2571,8 @@
Policy policy;
/**
* OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
- * the fields in the mask will be modified. If no mask is provided, a default
- * mask is used:
+ * the fields in the mask will be modified. If no mask is provided, the
+ * following default mask is used:
* paths: "bindings, etag"
* This field is only used by Cloud IAM.
*/
diff --git a/generated/googleapis/lib/cloudresourcemanager/v1.dart b/generated/googleapis/lib/cloudresourcemanager/v1.dart
index 98f9fbd..3fb17ca 100644
--- a/generated/googleapis/lib/cloudresourcemanager/v1.dart
+++ b/generated/googleapis/lib/cloudresourcemanager/v1.dart
@@ -28,6 +28,7 @@
final commons.ApiRequester _requester;
+ FoldersResourceApi get folders => new FoldersResourceApi(_requester);
LiensResourceApi get liens => new LiensResourceApi(_requester);
OperationsResourceApi get operations => new OperationsResourceApi(_requester);
OrganizationsResourceApi get organizations => new OrganizationsResourceApi(_requester);
@@ -38,6 +39,489 @@
}
+class FoldersResourceApi {
+ final commons.ApiRequester _requester;
+
+ FoldersResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Clears a `Policy` from a resource.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource for the `Policy` to clear.
+ * Value must have pattern "^folders/[^/]+$".
+ *
+ * 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<Empty> clearOrgPolicy(ClearOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':clearOrgPolicy';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Empty.fromJson(data));
+ }
+
+ /**
+ * Clears a `Policy` from a resource.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource for the `Policy` to clear.
+ * Value must have pattern "^folders/[^/]+$".
+ *
+ * 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<Empty> clearOrgPolicyV1(ClearOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':clearOrgPolicyV1';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Empty.fromJson(data));
+ }
+
+ /**
+ * Gets the effective `Policy` on a resource. This is the result of merging
+ * `Policies` in the resource hierarchy. The returned `Policy` will not have
+ * an `etag`set because it is a computed `Policy` across multiple resources.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - The name of the resource to start computing the effective
+ * `Policy`.
+ * Value must have pattern "^folders/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> getEffectiveOrgPolicy(GetEffectiveOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getEffectiveOrgPolicy';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
+ * Gets the effective `Policy` on a resource. This is the result of merging
+ * `Policies` in the resource hierarchy. The returned `Policy` will not have
+ * an `etag`set because it is a computed `Policy` across multiple resources.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - The name of the resource to start computing the effective
+ * `Policy`.
+ * Value must have pattern "^folders/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> getEffectiveOrgPolicyV1(GetEffectiveOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getEffectiveOrgPolicyV1';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
+ * Gets a `Policy` on a resource.
+ *
+ * If no `Policy` is set on the resource, a `Policy` is returned with default
+ * values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The
+ * `etag` value can be used with `SetOrgPolicy()` to create or update a
+ * `Policy` during read-modify-write.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource the `Policy` is set on.
+ * Value must have pattern "^folders/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> getOrgPolicy(GetOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getOrgPolicy';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
+ * Gets a `Policy` on a resource.
+ *
+ * If no `Policy` is set on the resource, a `Policy` is returned with default
+ * values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The
+ * `etag` value can be used with `SetOrgPolicy()` to create or update a
+ * `Policy` during read-modify-write.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource the `Policy` is set on.
+ * Value must have pattern "^folders/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> getOrgPolicyV1(GetOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getOrgPolicyV1';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
+ * Lists `Constraints` that could be applied on the specified resource.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource to list `Constraints` for.
+ * Value must have pattern "^folders/[^/]+$".
+ *
+ * Completes with a [ListAvailableOrgPolicyConstraintsResponse].
+ *
+ * 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<ListAvailableOrgPolicyConstraintsResponse> listAvailableOrgPolicyConstraints(ListAvailableOrgPolicyConstraintsRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':listAvailableOrgPolicyConstraints';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListAvailableOrgPolicyConstraintsResponse.fromJson(data));
+ }
+
+ /**
+ * Lists all the `Policies` set for a particular resource.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource to list Policies for.
+ * Value must have pattern "^folders/[^/]+$".
+ *
+ * Completes with a [ListOrgPoliciesResponse].
+ *
+ * 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<ListOrgPoliciesResponse> listOrgPolicies(ListOrgPoliciesRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':listOrgPolicies';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListOrgPoliciesResponse.fromJson(data));
+ }
+
+ /**
+ * Updates the specified `Policy` on the resource. Creates a new `Policy` for
+ * that `Constraint` on the resource if one does not exist.
+ *
+ * Not supplying an `etag` on the request `Policy` results in an unconditional
+ * write of the `Policy`.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Resource name of the resource to attach the `Policy`.
+ * Value must have pattern "^folders/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> setOrgPolicy(SetOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':setOrgPolicy';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
+ * Updates the specified `Policy` on the resource. Creates a new `Policy` for
+ * that `Constraint` on the resource if one does not exist.
+ *
+ * Not supplying an `etag` on the request `Policy` results in an unconditional
+ * write of the `Policy`.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Resource name of the resource to attach the `Policy`.
+ * Value must have pattern "^folders/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> setOrgPolicyV1(SetOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':setOrgPolicyV1';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+}
+
+
class LiensResourceApi {
final commons.ApiRequester _requester;
@@ -250,6 +734,96 @@
_requester = client;
/**
+ * Clears a `Policy` from a resource.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource for the `Policy` to clear.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * 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<Empty> clearOrgPolicy(ClearOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':clearOrgPolicy';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Empty.fromJson(data));
+ }
+
+ /**
+ * Clears a `Policy` from a resource.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource for the `Policy` to clear.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * 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<Empty> clearOrgPolicyV1(ClearOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':clearOrgPolicyV1';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Empty.fromJson(data));
+ }
+
+ /**
* Fetches an Organization resource identified by the specified resource name.
*
* Request parameters:
@@ -291,6 +865,102 @@
}
/**
+ * Gets the effective `Policy` on a resource. This is the result of merging
+ * `Policies` in the resource hierarchy. The returned `Policy` will not have
+ * an `etag`set because it is a computed `Policy` across multiple resources.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - The name of the resource to start computing the effective
+ * `Policy`.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> getEffectiveOrgPolicy(GetEffectiveOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getEffectiveOrgPolicy';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
+ * Gets the effective `Policy` on a resource. This is the result of merging
+ * `Policies` in the resource hierarchy. The returned `Policy` will not have
+ * an `etag`set because it is a computed `Policy` across multiple resources.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - The name of the resource to start computing the effective
+ * `Policy`.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> getEffectiveOrgPolicyV1(GetEffectiveOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getEffectiveOrgPolicyV1';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
* Gets the access control policy for an Organization resource. May be empty
* if no such policy or resource exists. The `resource` field should be the
* organization's resource name, e.g. "organizations/123".
@@ -340,6 +1010,196 @@
}
/**
+ * Gets a `Policy` on a resource.
+ *
+ * If no `Policy` is set on the resource, a `Policy` is returned with default
+ * values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The
+ * `etag` value can be used with `SetOrgPolicy()` to create or update a
+ * `Policy` during read-modify-write.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource the `Policy` is set on.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> getOrgPolicy(GetOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getOrgPolicy';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
+ * Gets a `Policy` on a resource.
+ *
+ * If no `Policy` is set on the resource, a `Policy` is returned with default
+ * values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The
+ * `etag` value can be used with `SetOrgPolicy()` to create or update a
+ * `Policy` during read-modify-write.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource the `Policy` is set on.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> getOrgPolicyV1(GetOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getOrgPolicyV1';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
+ * Lists `Constraints` that could be applied on the specified resource.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource to list `Constraints` for.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * Completes with a [ListAvailableOrgPolicyConstraintsResponse].
+ *
+ * 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<ListAvailableOrgPolicyConstraintsResponse> listAvailableOrgPolicyConstraints(ListAvailableOrgPolicyConstraintsRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':listAvailableOrgPolicyConstraints';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListAvailableOrgPolicyConstraintsResponse.fromJson(data));
+ }
+
+ /**
+ * Lists all the `Policies` set for a particular resource.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource to list Policies for.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * Completes with a [ListOrgPoliciesResponse].
+ *
+ * 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<ListOrgPoliciesResponse> listOrgPolicies(ListOrgPoliciesRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':listOrgPolicies';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListOrgPoliciesResponse.fromJson(data));
+ }
+
+ /**
* Searches Organization resources that are visible to the user and satisfy
* the specified filter. This method returns Organizations in an unspecified
* order. New Organizations do not necessarily appear at the end of the
@@ -431,6 +1291,104 @@
}
/**
+ * Updates the specified `Policy` on the resource. Creates a new `Policy` for
+ * that `Constraint` on the resource if one does not exist.
+ *
+ * Not supplying an `etag` on the request `Policy` results in an unconditional
+ * write of the `Policy`.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Resource name of the resource to attach the `Policy`.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> setOrgPolicy(SetOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':setOrgPolicy';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
+ * Updates the specified `Policy` on the resource. Creates a new `Policy` for
+ * that `Constraint` on the resource if one does not exist.
+ *
+ * Not supplying an `etag` on the request `Policy` results in an unconditional
+ * write of the `Policy`.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Resource name of the resource to attach the `Policy`.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> setOrgPolicyV1(SetOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':setOrgPolicyV1';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
* Returns permissions that a caller has on the specified Organization.
* The `resource` field should be the organization's resource name,
* e.g. "organizations/123".
@@ -489,6 +1447,96 @@
_requester = client;
/**
+ * Clears a `Policy` from a resource.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource for the `Policy` to clear.
+ * Value must have pattern "^projects/[^/]+$".
+ *
+ * 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<Empty> clearOrgPolicy(ClearOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':clearOrgPolicy';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Empty.fromJson(data));
+ }
+
+ /**
+ * Clears a `Policy` from a resource.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource for the `Policy` to clear.
+ * Value must have pattern "^projects/[^/]+$".
+ *
+ * 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<Empty> clearOrgPolicyV1(ClearOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':clearOrgPolicyV1';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Empty.fromJson(data));
+ }
+
+ /**
* Request that a new Project be created. The result is an Operation which
* can be used to track the creation process. It is automatically deleted
* after a few hours, so there is no need to call DeleteOperation.
@@ -692,6 +1740,102 @@
}
/**
+ * Gets the effective `Policy` on a resource. This is the result of merging
+ * `Policies` in the resource hierarchy. The returned `Policy` will not have
+ * an `etag`set because it is a computed `Policy` across multiple resources.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - The name of the resource to start computing the effective
+ * `Policy`.
+ * Value must have pattern "^projects/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> getEffectiveOrgPolicy(GetEffectiveOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getEffectiveOrgPolicy';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
+ * Gets the effective `Policy` on a resource. This is the result of merging
+ * `Policies` in the resource hierarchy. The returned `Policy` will not have
+ * an `etag`set because it is a computed `Policy` across multiple resources.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - The name of the resource to start computing the effective
+ * `Policy`.
+ * Value must have pattern "^projects/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> getEffectiveOrgPolicyV1(GetEffectiveOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getEffectiveOrgPolicyV1';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
* Returns the IAM access control policy for the specified Project.
* Permission is denied if the policy or the resource does not exist.
*
@@ -739,6 +1883,106 @@
}
/**
+ * Gets a `Policy` on a resource.
+ *
+ * If no `Policy` is set on the resource, a `Policy` is returned with default
+ * values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The
+ * `etag` value can be used with `SetOrgPolicy()` to create or update a
+ * `Policy` during read-modify-write.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource the `Policy` is set on.
+ * Value must have pattern "^projects/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> getOrgPolicy(GetOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getOrgPolicy';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
+ * Gets a `Policy` on a resource.
+ *
+ * If no `Policy` is set on the resource, a `Policy` is returned with default
+ * values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The
+ * `etag` value can be used with `SetOrgPolicy()` to create or update a
+ * `Policy` during read-modify-write.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource the `Policy` is set on.
+ * Value must have pattern "^projects/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> getOrgPolicyV1(GetOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getOrgPolicyV1';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
* Lists Projects that are visible to the user and satisfy the
* specified filter. This method returns Projects in an unspecified order.
* New Projects do not necessarily appear at the end of the list.
@@ -763,7 +2007,7 @@
* |NAME:howl|Equivalent to above.|
* |labels.color:*|The project has the label `color`.|
* |labels.color:red|The project's label `color` has the value `red`.|
- * |labels.color:red label.size:big|The project's label `color` has the
+ * |labels.color:red labels.size:big|The project's label `color` has the
* value `red` and its label `size` has the value `big`.
*
* Optional.
@@ -819,6 +2063,96 @@
}
/**
+ * Lists `Constraints` that could be applied on the specified resource.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource to list `Constraints` for.
+ * Value must have pattern "^projects/[^/]+$".
+ *
+ * Completes with a [ListAvailableOrgPolicyConstraintsResponse].
+ *
+ * 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<ListAvailableOrgPolicyConstraintsResponse> listAvailableOrgPolicyConstraints(ListAvailableOrgPolicyConstraintsRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':listAvailableOrgPolicyConstraints';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListAvailableOrgPolicyConstraintsResponse.fromJson(data));
+ }
+
+ /**
+ * Lists all the `Policies` set for a particular resource.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource to list Policies for.
+ * Value must have pattern "^projects/[^/]+$".
+ *
+ * Completes with a [ListOrgPoliciesResponse].
+ *
+ * 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<ListOrgPoliciesResponse> listOrgPolicies(ListOrgPoliciesRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':listOrgPolicies';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListOrgPoliciesResponse.fromJson(data));
+ }
+
+ /**
* Sets the IAM access control policy for the specified Project. Replaces
* any existing policy.
*
@@ -846,7 +2180,7 @@
*
* + There must be at least one owner who has accepted the Terms of
* Service (ToS) agreement in the policy. Calling `setIamPolicy()` to
- * to remove the last ToS-accepted owner from the policy will fail. This
+ * remove the last ToS-accepted owner from the policy will fail. This
* restriction also applies to legacy projects that no longer have owners
* who have accepted the ToS. Edits to IAM policies will be rejected until
* the lack of a ToS-accepting owner is rectified.
@@ -902,6 +2236,104 @@
}
/**
+ * Updates the specified `Policy` on the resource. Creates a new `Policy` for
+ * that `Constraint` on the resource if one does not exist.
+ *
+ * Not supplying an `etag` on the request `Policy` results in an unconditional
+ * write of the `Policy`.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Resource name of the resource to attach the `Policy`.
+ * Value must have pattern "^projects/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> setOrgPolicy(SetOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':setOrgPolicy';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
+ * Updates the specified `Policy` on the resource. Creates a new `Policy` for
+ * that `Constraint` on the resource if one does not exist.
+ *
+ * Not supplying an `etag` on the request `Policy` results in an unconditional
+ * write of the `Policy`.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Resource name of the resource to attach the `Policy`.
+ * Value must have pattern "^projects/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> setOrgPolicyV1(SetOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':setOrgPolicyV1';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
* Returns permissions that a caller has on the specified Project.
*
* [request] - The metadata request object.
@@ -1074,6 +2506,153 @@
}
}
+/**
+ * Specifies the audit configuration for a service.
+ * The configuration determines which permission types are logged, and what
+ * identities, if any, are exempted from logging.
+ * An AuditConifg must have one or more AuditLogConfigs.
+ *
+ * If there are AuditConfigs for both `allServices` and a specific service,
+ * the union of the two AuditConfigs is used for that service: the log_types
+ * specified in each AuditConfig are enabled, and the exempted_members in each
+ * AuditConfig are exempted.
+ * Example Policy with multiple AuditConfigs:
+ * {
+ * "audit_configs": [
+ * {
+ * "service": "allServices"
+ * "audit_log_configs": [
+ * {
+ * "log_type": "DATA_READ",
+ * "exempted_members": [
+ * "user:foo@gmail.com"
+ * ]
+ * },
+ * {
+ * "log_type": "DATA_WRITE",
+ * },
+ * {
+ * "log_type": "ADMIN_READ",
+ * }
+ * ]
+ * },
+ * {
+ * "service": "fooservice@googleapis.com"
+ * "audit_log_configs": [
+ * {
+ * "log_type": "DATA_READ",
+ * },
+ * {
+ * "log_type": "DATA_WRITE",
+ * "exempted_members": [
+ * "user:bar@gmail.com"
+ * ]
+ * }
+ * ]
+ * }
+ * ]
+ * }
+ * For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
+ * logging. It also exempts foo@gmail.com from DATA_READ logging, and
+ * bar@gmail.com from DATA_WRITE logging.
+ */
+class AuditConfig {
+ /**
+ * The configuration for logging of each type of permission.
+ * Next ID: 4
+ */
+ core.List<AuditLogConfig> auditLogConfigs;
+ /**
+ * Specifies a service that will be enabled for audit logging.
+ * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
+ * `allServices` is a special value that covers all services.
+ */
+ core.String service;
+
+ AuditConfig();
+
+ AuditConfig.fromJson(core.Map _json) {
+ if (_json.containsKey("auditLogConfigs")) {
+ auditLogConfigs = _json["auditLogConfigs"].map((value) => new AuditLogConfig.fromJson(value)).toList();
+ }
+ if (_json.containsKey("service")) {
+ service = _json["service"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (auditLogConfigs != null) {
+ _json["auditLogConfigs"] = auditLogConfigs.map((value) => (value).toJson()).toList();
+ }
+ if (service != null) {
+ _json["service"] = service;
+ }
+ return _json;
+ }
+}
+
+/**
+ * Provides the configuration for logging a type of permissions.
+ * Example:
+ *
+ * {
+ * "audit_log_configs": [
+ * {
+ * "log_type": "DATA_READ",
+ * "exempted_members": [
+ * "user:foo@gmail.com"
+ * ]
+ * },
+ * {
+ * "log_type": "DATA_WRITE",
+ * }
+ * ]
+ * }
+ *
+ * This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
+ * foo@gmail.com from DATA_READ logging.
+ */
+class AuditLogConfig {
+ /**
+ * Specifies the identities that do not cause logging for this type of
+ * permission.
+ * Follows the same format of Binding.members.
+ */
+ core.List<core.String> exemptedMembers;
+ /**
+ * The log type that this config enables.
+ * Possible string values are:
+ * - "LOG_TYPE_UNSPECIFIED" : Default case. Should never be this.
+ * - "ADMIN_READ" : Admin reads. Example: CloudIAM getIamPolicy
+ * - "DATA_WRITE" : Data writes. Example: CloudSQL Users create
+ * - "DATA_READ" : Data reads. Example: CloudSQL Users list
+ */
+ core.String logType;
+
+ AuditLogConfig();
+
+ AuditLogConfig.fromJson(core.Map _json) {
+ if (_json.containsKey("exemptedMembers")) {
+ exemptedMembers = _json["exemptedMembers"];
+ }
+ if (_json.containsKey("logType")) {
+ logType = _json["logType"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (exemptedMembers != null) {
+ _json["exemptedMembers"] = exemptedMembers;
+ }
+ if (logType != null) {
+ _json["logType"] = logType;
+ }
+ return _json;
+ }
+}
+
/** Associates `members` with a `role`. */
class Binding {
/**
@@ -1131,6 +2710,243 @@
}
/**
+ * A `Constraint` that is either enforced or not.
+ *
+ * For example a constraint `constraints/compute.disableSerialPortAccess`.
+ * If it is enforced on a VM instance, serial port connections will not be
+ * opened to that instance.
+ */
+class BooleanConstraint {
+
+ BooleanConstraint();
+
+ BooleanConstraint.fromJson(core.Map _json) {
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ return _json;
+ }
+}
+
+/**
+ * Used in `policy_type` to specify how `boolean_policy` will behave at this
+ * resource.
+ */
+class BooleanPolicy {
+ /**
+ * If `true`, then the `Policy` is enforced. If `false`, then any
+ * configuration is acceptable.
+ *
+ * Suppose you have a `Constraint`
+ * `constraints/compute.disableSerialPortAccess`
+ * with `constraint_default` set to `ALLOW`. A `Policy` for that
+ * `Constraint` exhibits the following behavior:
+ * - If the `Policy` at this resource has enforced set to `false`, serial
+ * port connection attempts will be allowed.
+ * - If the `Policy` at this resource has enforced set to `true`, serial
+ * port connection attempts will be refused.
+ * - If the `Policy` at this resource is `RestoreDefault`, serial port
+ * connection attempts will be allowed.
+ * - If no `Policy` is set at this resource or anywhere higher in the
+ * resource hierarchy, serial port connection attempts will be allowed.
+ * - If no `Policy` is set at this resource, but one exists higher in the
+ * resource hierarchy, the behavior is as if the`Policy` were set at
+ * this resource.
+ *
+ * The following examples demonstrate the different possible layerings:
+ *
+ * Example 1 (nearest `Constraint` wins):
+ * `organizations/foo` has a `Policy` with:
+ * {enforced: false}
+ * `projects/bar` has no `Policy` set.
+ * The constraint at `projects/bar` and `organizations/foo` will not be
+ * enforced.
+ *
+ * Example 2 (enforcement gets replaced):
+ * `organizations/foo` has a `Policy` with:
+ * {enforced: false}
+ * `projects/bar` has a `Policy` with:
+ * {enforced: true}
+ * The constraint at `organizations/foo` is not enforced.
+ * The constraint at `projects/bar` is enforced.
+ *
+ * Example 3 (RestoreDefault):
+ * `organizations/foo` has a `Policy` with:
+ * {enforced: true}
+ * `projects/bar` has a `Policy` with:
+ * {RestoreDefault: {}}
+ * The constraint at `organizations/foo` is enforced.
+ * The constraint at `projects/bar` is not enforced, because
+ * `constraint_default` for the `Constraint` is `ALLOW`.
+ */
+ core.bool enforced;
+
+ BooleanPolicy();
+
+ BooleanPolicy.fromJson(core.Map _json) {
+ if (_json.containsKey("enforced")) {
+ enforced = _json["enforced"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (enforced != null) {
+ _json["enforced"] = enforced;
+ }
+ return _json;
+ }
+}
+
+/** The request sent to the ClearOrgPolicy method. */
+class ClearOrgPolicyRequest {
+ /** Name of the `Constraint` of the `Policy` to clear. */
+ core.String constraint;
+ /**
+ * The current version, for concurrency control. Not sending an `etag`
+ * will cause the `Policy` to be cleared blindly.
+ */
+ core.String etag;
+ core.List<core.int> get etagAsBytes {
+ return convert.BASE64.decode(etag);
+ }
+
+ void set etagAsBytes(core.List<core.int> _bytes) {
+ etag = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
+ }
+
+ ClearOrgPolicyRequest();
+
+ ClearOrgPolicyRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("constraint")) {
+ constraint = _json["constraint"];
+ }
+ if (_json.containsKey("etag")) {
+ etag = _json["etag"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (constraint != null) {
+ _json["constraint"] = constraint;
+ }
+ if (etag != null) {
+ _json["etag"] = etag;
+ }
+ return _json;
+ }
+}
+
+/**
+ * A `Constraint` describes a way in which a resource's configuration can be
+ * restricted. For example, it controls which cloud services can be activated
+ * across an organization, or whether a Compute Engine instance can have
+ * serial port connections established. `Constraints` can be configured by the
+ * organization's policy adminstrator to fit the needs of the organzation by
+ * setting Policies for `Constraints` at different locations in the
+ * organization's resource hierarchy. Policies are inherited down the resource
+ * hierarchy from higher levels, but can also be overridden. For details about
+ * the inheritance rules please read about
+ * Policies.
+ *
+ * `Constraints` have a default behavior determined by the `constraint_default`
+ * field, which is the enforcement behavior that is used in the absence of a
+ * `Policy` being defined or inherited for the resource in question.
+ */
+class Constraint {
+ /** Defines this constraint as being a BooleanConstraint. */
+ BooleanConstraint booleanConstraint;
+ /**
+ * The evaluation behavior of this constraint in the absense of 'Policy'.
+ * Possible string values are:
+ * - "CONSTRAINT_DEFAULT_UNSPECIFIED" : This is only used for distinguishing
+ * unset values and should never be
+ * used.
+ * - "ALLOW" : Indicate that all values are allowed for list constraints.
+ * Indicate that enforcement is off for boolean constraints.
+ * - "DENY" : Indicate that all values are denied for list constraints.
+ * Indicate that enforcement is on for boolean constraints.
+ */
+ core.String constraintDefault;
+ /**
+ * Detailed description of what this `Constraint` controls as well as how and
+ * where it is enforced.
+ *
+ * Mutable.
+ */
+ core.String description;
+ /**
+ * The human readable name.
+ *
+ * Mutable.
+ */
+ core.String displayName;
+ /** Defines this constraint as being a ListConstraint. */
+ ListConstraint listConstraint;
+ /**
+ * Immutable value, required to globally be unique. For example,
+ * `constraints/serviceuser.services`
+ */
+ core.String name;
+ /** Version of the `Constraint`. Default version is 0; */
+ core.int version;
+
+ Constraint();
+
+ Constraint.fromJson(core.Map _json) {
+ if (_json.containsKey("booleanConstraint")) {
+ booleanConstraint = new BooleanConstraint.fromJson(_json["booleanConstraint"]);
+ }
+ if (_json.containsKey("constraintDefault")) {
+ constraintDefault = _json["constraintDefault"];
+ }
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("displayName")) {
+ displayName = _json["displayName"];
+ }
+ if (_json.containsKey("listConstraint")) {
+ listConstraint = new ListConstraint.fromJson(_json["listConstraint"]);
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("version")) {
+ version = _json["version"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (booleanConstraint != null) {
+ _json["booleanConstraint"] = (booleanConstraint).toJson();
+ }
+ if (constraintDefault != null) {
+ _json["constraintDefault"] = constraintDefault;
+ }
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (displayName != null) {
+ _json["displayName"] = displayName;
+ }
+ if (listConstraint != null) {
+ _json["listConstraint"] = (listConstraint).toJson();
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (version != null) {
+ _json["version"] = version;
+ }
+ return _json;
+ }
+}
+
+/**
* 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:
@@ -1231,8 +3047,8 @@
* deleted.
* - "CYCLE_INTRODUCED_ERROR" : The attempted action would introduce cycle in
* resource path.
- * - "FOLDER_ALREADY_BEING_MOVED" : The attempted action would move a folder
- * that is already being moved.
+ * - "FOLDER_BEING_MOVED" : The attempted action would move a folder that is
+ * already being moved.
* - "FOLDER_TO_DELETE_NON_EMPTY" : The folder the caller is trying to delete
* contains active resources.
*/
@@ -1299,6 +3115,28 @@
}
}
+/** The request sent to the GetEffectiveOrgPolicy method. */
+class GetEffectiveOrgPolicyRequest {
+ /** The name of the `Constraint` to compute the effective `Policy`. */
+ core.String constraint;
+
+ GetEffectiveOrgPolicyRequest();
+
+ GetEffectiveOrgPolicyRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("constraint")) {
+ constraint = _json["constraint"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (constraint != null) {
+ _json["constraint"] = constraint;
+ }
+ return _json;
+ }
+}
+
/** Request message for `GetIamPolicy` method. */
class GetIamPolicyRequest {
@@ -1313,6 +3151,28 @@
}
}
+/** The request sent to the GetOrgPolicy method. */
+class GetOrgPolicyRequest {
+ /** Name of the `Constraint` to get the `Policy`. */
+ core.String constraint;
+
+ GetOrgPolicyRequest();
+
+ GetOrgPolicyRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("constraint")) {
+ constraint = _json["constraint"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (constraint != null) {
+ _json["constraint"] = constraint;
+ }
+ return _json;
+ }
+}
+
/**
* A Lien represents an encumbrance on the actions that can be performed on a
* resource.
@@ -1406,6 +3266,111 @@
}
}
+/**
+ * The request sent to the [ListAvailableOrgPolicyConstraints]
+ * google.cloud.OrgPolicy.v1.ListAvailableOrgPolicyConstraints] method.
+ */
+class ListAvailableOrgPolicyConstraintsRequest {
+ /**
+ * Size of the pages to be returned. This is currently unsupported and will
+ * be ignored. The server may at any point start using this field to limit
+ * page size.
+ */
+ core.int pageSize;
+ /**
+ * Page token used to retrieve the next page. This is currently unsupported
+ * and will be ignored. The server may at any point start using this field.
+ */
+ core.String pageToken;
+
+ ListAvailableOrgPolicyConstraintsRequest();
+
+ ListAvailableOrgPolicyConstraintsRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("pageSize")) {
+ pageSize = _json["pageSize"];
+ }
+ if (_json.containsKey("pageToken")) {
+ pageToken = _json["pageToken"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (pageSize != null) {
+ _json["pageSize"] = pageSize;
+ }
+ if (pageToken != null) {
+ _json["pageToken"] = pageToken;
+ }
+ return _json;
+ }
+}
+
+/**
+ * The response returned from the ListAvailableOrgPolicyConstraints method.
+ * Returns all `Constraints` that could be set at this level of the hierarchy
+ * (contrast with the response from `ListPolicies`, which returns all policies
+ * which are set).
+ */
+class ListAvailableOrgPolicyConstraintsResponse {
+ /**
+ * The collection of constraints that are settable on the request resource.
+ */
+ core.List<Constraint> constraints;
+ /** Page token used to retrieve the next page. This is currently not used. */
+ core.String nextPageToken;
+
+ ListAvailableOrgPolicyConstraintsResponse();
+
+ ListAvailableOrgPolicyConstraintsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("constraints")) {
+ constraints = _json["constraints"].map((value) => new Constraint.fromJson(value)).toList();
+ }
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (constraints != null) {
+ _json["constraints"] = constraints.map((value) => (value).toJson()).toList();
+ }
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ return _json;
+ }
+}
+
+/**
+ * A `Constraint` that allows or disallows a list of string values, which are
+ * configured by an Organization's policy administrator with a `Policy`.
+ */
+class ListConstraint {
+ /**
+ * Optional. The Google Cloud Console will try to default to a configuration
+ * that matches the value specified in this `Constraint`.
+ */
+ core.String suggestedValue;
+
+ ListConstraint();
+
+ ListConstraint.fromJson(core.Map _json) {
+ if (_json.containsKey("suggestedValue")) {
+ suggestedValue = _json["suggestedValue"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (suggestedValue != null) {
+ _json["suggestedValue"] = suggestedValue;
+ }
+ return _json;
+ }
+}
+
/** The response message for Liens.ListLiens. */
class ListLiensResponse {
/** A list of Liens. */
@@ -1439,6 +3404,250 @@
}
}
+/** The request sent to the ListOrgPolicies method. */
+class ListOrgPoliciesRequest {
+ /**
+ * Size of the pages to be returned. This is currently unsupported and will
+ * be ignored. The server may at any point start using this field to limit
+ * page size.
+ */
+ core.int pageSize;
+ /**
+ * Page token used to retrieve the next page. This is currently unsupported
+ * and will be ignored. The server may at any point start using this field.
+ */
+ core.String pageToken;
+
+ ListOrgPoliciesRequest();
+
+ ListOrgPoliciesRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("pageSize")) {
+ pageSize = _json["pageSize"];
+ }
+ if (_json.containsKey("pageToken")) {
+ pageToken = _json["pageToken"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (pageSize != null) {
+ _json["pageSize"] = pageSize;
+ }
+ if (pageToken != null) {
+ _json["pageToken"] = pageToken;
+ }
+ return _json;
+ }
+}
+
+/**
+ * The response returned from the ListOrgPolicies method. It will be empty
+ * if no `Policies` are set on the resource.
+ */
+class ListOrgPoliciesResponse {
+ /**
+ * Page token used to retrieve the next page. This is currently not used, but
+ * the server may at any point start supplying a valid token.
+ */
+ core.String nextPageToken;
+ /**
+ * The `Policies` that are set on the resource. It will be empty if no
+ * `Policies` are set.
+ */
+ core.List<OrgPolicy> policies;
+
+ ListOrgPoliciesResponse();
+
+ ListOrgPoliciesResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("policies")) {
+ policies = _json["policies"].map((value) => new OrgPolicy.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ if (policies != null) {
+ _json["policies"] = policies.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/**
+ * Used in `policy_type` to specify how `list_policy` behaves at this
+ * resource.
+ *
+ * A `ListPolicy` can define specific values that are allowed or denied by
+ * setting either the `allowed_values` or `denied_values` fields. It can also
+ * be used to allow or deny all values, by setting the `all_values` field. If
+ * `all_values` is `ALL_VALUES_UNSPECIFIED`, exactly one of `allowed_values`
+ * or `denied_values` must be set (attempting to set both or neither will
+ * result in a failed request). If `all_values` is set to either `ALLOW` or
+ * `DENY`, `allowed_values` and `denied_values` must be unset.
+ */
+class ListPolicy {
+ /**
+ * The policy all_values state.
+ * Possible string values are:
+ * - "ALL_VALUES_UNSPECIFIED" : Indicates that either allowed_values or
+ * denied_values must be set.
+ * - "ALLOW" : A policy with this set allows all values.
+ * - "DENY" : A policy with this set denies all values.
+ */
+ core.String allValues;
+ /**
+ * List of values allowed at this resource. an only be set if no values are
+ * set for `denied_values` and `all_values` is set to
+ * `ALL_VALUES_UNSPECIFIED`.
+ */
+ core.List<core.String> allowedValues;
+ /**
+ * List of values denied at this resource. Can only be set if no values are
+ * set for `allowed_values` and `all_values` is set to
+ * `ALL_VALUES_UNSPECIFIED`.
+ */
+ core.List<core.String> deniedValues;
+ /**
+ * Determines the inheritance behavior for this `Policy`.
+ *
+ * By default, a `ListPolicy` set at a resource supercedes any `Policy` set
+ * anywhere up the resource hierarchy. However, if `inherit_from_parent` is
+ * set to `true`, then the values from the effective `Policy` of the parent
+ * resource are inherited, meaning the values set in this `Policy` are
+ * added to the values inherited up the hierarchy.
+ *
+ * Setting `Policy` hierarchies that inherit both allowed values and denied
+ * values isn't recommended in most circumstances to keep the configuration
+ * simple and understandable. However, it is possible to set a `Policy` with
+ * `allowed_values` set that inherits a `Policy` with `denied_values` set.
+ * In this case, the values that are allowed must be in `allowed_values` and
+ * not present in `denied_values`.
+ *
+ * For example, suppose you have a `Constraint`
+ * `constraints/serviceuser.services`, which has a `constraint_type` of
+ * `list_constraint`, and with `constraint_default` set to `ALLOW`.
+ * Suppose that at the Organization level, a `Policy` is applied that
+ * restricts the allowed API activations to {`E1`, `E2`}. Then, if a
+ * `Policy` is applied to a project below the Organization that has
+ * `inherit_from_parent` set to `false` and field all_values set to DENY,
+ * then an attempt to activate any API will be denied.
+ *
+ * The following examples demonstrate different possible layerings:
+ *
+ * Example 1 (no inherited values):
+ * `organizations/foo` has a `Policy` with values:
+ * {allowed_values: “E1” allowed_values:”E2”}
+ * ``projects/bar`` has `inherit_from_parent` `false` and values:
+ * {allowed_values: "E3" allowed_values: "E4"}
+ * The accepted values at `organizations/foo` are `E1`, `E2`.
+ * The accepted values at `projects/bar` are `E3`, and `E4`.
+ *
+ * Example 2 (inherited values):
+ * `organizations/foo` has a `Policy` with values:
+ * {allowed_values: “E1” allowed_values:”E2”}
+ * `projects/bar` has a `Policy` with values:
+ * {value: “E3” value: ”E4” inherit_from_parent: true}
+ * The accepted values at `organizations/foo` are `E1`, `E2`.
+ * The accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.
+ *
+ * Example 3 (inheriting both allowed and denied values):
+ * `organizations/foo` has a `Policy` with values:
+ * {allowed_values: "E1" allowed_values: "E2"}
+ * `projects/bar` has a `Policy` with:
+ * {denied_values: "E1"}
+ * The accepted values at `organizations/foo` are `E1`, `E2`.
+ * The value accepted at `projects/bar` is `E2`.
+ *
+ * Example 4 (RestoreDefault):
+ * `organizations/foo` has a `Policy` with values:
+ * {allowed_values: “E1” allowed_values:”E2”}
+ * `projects/bar` has a `Policy` with values:
+ * {RestoreDefault: {}}
+ * The accepted values at `organizations/foo` are `E1`, `E2`.
+ * The accepted values at `projects/bar` are either all or none depending on
+ * the value of `constraint_default` (if `ALLOW`, all; if
+ * `DENY`, none).
+ *
+ * Example 5 (no policy inherits parent policy):
+ * `organizations/foo` has no `Policy` set.
+ * `projects/bar` has no `Policy` set.
+ * The accepted values at both levels are either all or none depending on
+ * the value of `constraint_default` (if `ALLOW`, all; if
+ * `DENY`, none).
+ *
+ * Example 6 (ListConstraint allowing all):
+ * `organizations/foo` has a `Policy` with values:
+ * {allowed_values: “E1” allowed_values: ”E2”}
+ * `projects/bar` has a `Policy` with:
+ * {all: ALLOW}
+ * The accepted values at `organizations/foo` are `E1`, E2`.
+ * Any value is accepted at `projects/bar`.
+ *
+ * Example 7 (ListConstraint allowing none):
+ * `organizations/foo` has a `Policy` with values:
+ * {allowed_values: “E1” allowed_values: ”E2”}
+ * `projects/bar` has a `Policy` with:
+ * {all: DENY}
+ * The accepted values at `organizations/foo` are `E1`, E2`.
+ * No value is accepted at `projects/bar`.
+ */
+ core.bool inheritFromParent;
+ /**
+ * Optional. The Google Cloud Console will try to default to a configuration
+ * that matches the value specified in this `Policy`. If `suggested_value`
+ * is not set, it will inherit the value specified higher in the hierarchy,
+ * unless `inherit_from_parent` is `false`.
+ */
+ core.String suggestedValue;
+
+ ListPolicy();
+
+ ListPolicy.fromJson(core.Map _json) {
+ if (_json.containsKey("allValues")) {
+ allValues = _json["allValues"];
+ }
+ if (_json.containsKey("allowedValues")) {
+ allowedValues = _json["allowedValues"];
+ }
+ if (_json.containsKey("deniedValues")) {
+ deniedValues = _json["deniedValues"];
+ }
+ if (_json.containsKey("inheritFromParent")) {
+ inheritFromParent = _json["inheritFromParent"];
+ }
+ if (_json.containsKey("suggestedValue")) {
+ suggestedValue = _json["suggestedValue"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (allValues != null) {
+ _json["allValues"] = allValues;
+ }
+ if (allowedValues != null) {
+ _json["allowedValues"] = allowedValues;
+ }
+ if (deniedValues != null) {
+ _json["deniedValues"] = deniedValues;
+ }
+ if (inheritFromParent != null) {
+ _json["inheritFromParent"] = inheritFromParent;
+ }
+ if (suggestedValue != null) {
+ _json["suggestedValue"] = suggestedValue;
+ }
+ return _json;
+ }
+}
+
/**
* A page of the response received from the
* ListProjects
@@ -1578,6 +3787,115 @@
}
/**
+ * Defines a Cloud Organization `Policy` which is used to specify `Constraints`
+ * for configurations of Cloud Platform resources.
+ */
+class OrgPolicy {
+ /** For boolean `Constraints`, whether to enforce the `Constraint` or not. */
+ BooleanPolicy booleanPolicy;
+ /**
+ * The name of the `Constraint` the `Policy` is configuring, for example,
+ * `constraints/serviceuser.services`.
+ *
+ * Immutable after creation.
+ */
+ core.String constraint;
+ /**
+ * An opaque tag indicating the current version of the `Policy`, used for
+ * concurrency control.
+ *
+ * When the `Policy` is returned from either a `GetPolicy` or a
+ * `ListOrgPolicy` request, this `etag` indicates the version of the current
+ * `Policy` to use when executing a read-modify-write loop.
+ *
+ * When the `Policy` is returned from a `GetEffectivePolicy` request, the
+ * `etag` will be unset.
+ *
+ * When the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value
+ * that was returned from a `GetOrgPolicy` request as part of a
+ * read-modify-write loop for concurrency control. Not setting the `etag`in a
+ * `SetOrgPolicy` request will result in an unconditional write of the
+ * `Policy`.
+ */
+ core.String etag;
+ core.List<core.int> get etagAsBytes {
+ return convert.BASE64.decode(etag);
+ }
+
+ void set etagAsBytes(core.List<core.int> _bytes) {
+ etag = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
+ }
+ /** List of values either allowed or disallowed. */
+ ListPolicy listPolicy;
+ /**
+ * Restores the default behavior of the constraint; independent of
+ * `Constraint` type.
+ */
+ RestoreDefault restoreDefault;
+ /**
+ * The time stamp the `Policy` was previously updated. This is set by the
+ * server, not specified by the caller, and represents the last time a call to
+ * `SetOrgPolicy` was made for that `Policy`. Any value set by the client will
+ * be ignored.
+ */
+ core.String updateTime;
+ /** Version of the `Policy`. Default version is 0; */
+ core.int version;
+
+ OrgPolicy();
+
+ OrgPolicy.fromJson(core.Map _json) {
+ if (_json.containsKey("booleanPolicy")) {
+ booleanPolicy = new BooleanPolicy.fromJson(_json["booleanPolicy"]);
+ }
+ if (_json.containsKey("constraint")) {
+ constraint = _json["constraint"];
+ }
+ if (_json.containsKey("etag")) {
+ etag = _json["etag"];
+ }
+ if (_json.containsKey("listPolicy")) {
+ listPolicy = new ListPolicy.fromJson(_json["listPolicy"]);
+ }
+ if (_json.containsKey("restoreDefault")) {
+ restoreDefault = new RestoreDefault.fromJson(_json["restoreDefault"]);
+ }
+ if (_json.containsKey("updateTime")) {
+ updateTime = _json["updateTime"];
+ }
+ if (_json.containsKey("version")) {
+ version = _json["version"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (booleanPolicy != null) {
+ _json["booleanPolicy"] = (booleanPolicy).toJson();
+ }
+ if (constraint != null) {
+ _json["constraint"] = constraint;
+ }
+ if (etag != null) {
+ _json["etag"] = etag;
+ }
+ if (listPolicy != null) {
+ _json["listPolicy"] = (listPolicy).toJson();
+ }
+ if (restoreDefault != null) {
+ _json["restoreDefault"] = (restoreDefault).toJson();
+ }
+ if (updateTime != null) {
+ _json["updateTime"] = updateTime;
+ }
+ if (version != null) {
+ _json["version"] = version;
+ }
+ return _json;
+ }
+}
+
+/**
* The root node in the resource hierarchy to which a particular entity's
* (e.g., company) resources belong.
*/
@@ -1720,6 +4038,8 @@
* [IAM developer's guide](https://cloud.google.com/iam).
*/
class Policy {
+ /** Specifies cloud audit logging configuration for this policy. */
+ core.List<AuditConfig> auditConfigs;
/**
* Associates a list of `members` to a `role`.
* Multiple `bindings` must not be specified for the same `role`.
@@ -1752,6 +4072,9 @@
Policy();
Policy.fromJson(core.Map _json) {
+ if (_json.containsKey("auditConfigs")) {
+ auditConfigs = _json["auditConfigs"].map((value) => new AuditConfig.fromJson(value)).toList();
+ }
if (_json.containsKey("bindings")) {
bindings = _json["bindings"].map((value) => new Binding.fromJson(value)).toList();
}
@@ -1765,6 +4088,9 @@
core.Map toJson() {
var _json = new core.Map();
+ if (auditConfigs != null) {
+ _json["auditConfigs"] = auditConfigs.map((value) => (value).toJson()).toList();
+ }
if (bindings != null) {
_json["bindings"] = bindings.map((value) => (value).toJson()).toList();
}
@@ -2005,6 +4331,33 @@
}
}
+/**
+ * Ignores policies set above this resource and restores the
+ * `constraint_default` enforcement behavior of the specific `Constraint` at
+ * this resource.
+ *
+ * Suppose that `constraint_default` is set to `ALLOW` for the
+ * `Constraint` `constraints/serviceuser.services`. Suppose that organization
+ * foo.com sets a `Policy` at their Organization resource node that restricts
+ * the allowed service activations to deny all service activations. They
+ * could then set a `Policy` with the `policy_type` `restore_default` on
+ * several experimental projects, restoring the `constraint_default`
+ * enforcement of the `Constraint` for only those projects, allowing those
+ * projects to have all services activated.
+ */
+class RestoreDefault {
+
+ RestoreDefault();
+
+ RestoreDefault.fromJson(core.Map _json) {
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ return _json;
+ }
+}
+
/** The request sent to the `SearchOrganizations` method. */
class SearchOrganizationsRequest {
/**
@@ -2113,6 +4466,14 @@
* might reject them.
*/
Policy policy;
+ /**
+ * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
+ * the fields in the mask will be modified. If no mask is provided, the
+ * following default mask is used:
+ * paths: "bindings, etag"
+ * This field is only used by Cloud IAM.
+ */
+ core.String updateMask;
SetIamPolicyRequest();
@@ -2120,6 +4481,34 @@
if (_json.containsKey("policy")) {
policy = new Policy.fromJson(_json["policy"]);
}
+ if (_json.containsKey("updateMask")) {
+ updateMask = _json["updateMask"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (policy != null) {
+ _json["policy"] = (policy).toJson();
+ }
+ if (updateMask != null) {
+ _json["updateMask"] = updateMask;
+ }
+ return _json;
+ }
+}
+
+/** The request sent to the SetOrgPolicyRequest method. */
+class SetOrgPolicyRequest {
+ /** `Policy` to set on the resource. */
+ OrgPolicy policy;
+
+ SetOrgPolicyRequest();
+
+ SetOrgPolicyRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("policy")) {
+ policy = new OrgPolicy.fromJson(_json["policy"]);
+ }
}
core.Map toJson() {
diff --git a/generated/googleapis/lib/cloudtrace/v1.dart b/generated/googleapis/lib/cloudtrace/v1.dart
index efddb36..ac2d1d3 100644
--- a/generated/googleapis/lib/cloudtrace/v1.dart
+++ b/generated/googleapis/lib/cloudtrace/v1.dart
@@ -156,34 +156,20 @@
*
* [projectId] - ID of the Cloud project where the trace data is stored.
*
- * [orderBy] - Field used to sort the returned traces. Optional.
- * Can be one of the following:
- *
- * * `trace_id`
- * * `name` (`name` field of root span in the trace)
- * * `duration` (difference between `end_time` and `start_time` fields of
- * the root span)
- * * `start` (`start_time` field of the root span)
- *
- * Descending order can be specified by appending `desc` to the sort field
- * (for example, `name desc`).
- *
- * Only one sort field is permitted.
- *
* [filter] - An optional filter for the request.
*
* [endTime] - Start of the time interval (inclusive) during which the trace
* data was
* collected from the application.
*
- * [pageToken] - Token identifying the page of results to return. If provided,
- * use the
- * value of the `next_page_token` field from a previous request. Optional.
- *
* [startTime] - End of the time interval (inclusive) during which the trace
* data was
* collected from the application.
*
+ * [pageToken] - Token identifying the page of results to return. If provided,
+ * use the
+ * value of the `next_page_token` field from a previous request. Optional.
+ *
* [pageSize] - Maximum number of traces to return. If not specified or <= 0,
* the
* implementation selects a reasonable value. The implementation may
@@ -197,6 +183,20 @@
* - "ROOTSPAN" : A ROOTSPAN.
* - "COMPLETE" : A COMPLETE.
*
+ * [orderBy] - Field used to sort the returned traces. Optional.
+ * Can be one of the following:
+ *
+ * * `trace_id`
+ * * `name` (`name` field of root span in the trace)
+ * * `duration` (difference between `end_time` and `start_time` fields of
+ * the root span)
+ * * `start` (`start_time` field of the root span)
+ *
+ * Descending order can be specified by appending `desc` to the sort field
+ * (for example, `name desc`).
+ *
+ * Only one sort field is permitted.
+ *
* Completes with a [ListTracesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -205,7 +205,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListTracesResponse> list(core.String projectId, {core.String orderBy, core.String filter, core.String endTime, core.String pageToken, core.String startTime, core.int pageSize, core.String view}) {
+ async.Future<ListTracesResponse> list(core.String projectId, {core.String filter, core.String endTime, core.String startTime, core.String pageToken, core.int pageSize, core.String view, core.String orderBy}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -216,27 +216,27 @@
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId is required.");
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
if (endTime != null) {
_queryParams["endTime"] = [endTime];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (startTime != null) {
_queryParams["startTime"] = [startTime];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (view != null) {
_queryParams["view"] = [view];
}
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
_url = 'v1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/traces';
diff --git a/generated/googleapis/lib/compute/v1.dart b/generated/googleapis/lib/compute/v1.dart
index 2e53f3e..1e4b83f 100644
--- a/generated/googleapis/lib/compute/v1.dart
+++ b/generated/googleapis/lib/compute/v1.dart
@@ -39,6 +39,7 @@
AddressesResourceApi get addresses => new AddressesResourceApi(_requester);
AutoscalersResourceApi get autoscalers => new AutoscalersResourceApi(_requester);
+ BackendBucketsResourceApi get backendBuckets => new BackendBucketsResourceApi(_requester);
BackendServicesResourceApi get backendServices => new BackendServicesResourceApi(_requester);
DiskTypesResourceApi get diskTypes => new DiskTypesResourceApi(_requester);
DisksResourceApi get disks => new DisksResourceApi(_requester);
@@ -950,6 +951,363 @@
}
+class BackendBucketsResourceApi {
+ final commons.ApiRequester _requester;
+
+ BackendBucketsResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Deletes the specified BackendBucket resource.
+ *
+ * Request parameters:
+ *
+ * [project] - Project ID for this request.
+ * Value must have pattern
+ * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
+ *
+ * [backendBucket] - Name of the BackendBucket resource to delete.
+ * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
+ *
+ * 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<Operation> delete(core.String project, core.String backendBucket) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (project == null) {
+ throw new core.ArgumentError("Parameter project is required.");
+ }
+ if (backendBucket == null) {
+ throw new core.ArgumentError("Parameter backendBucket is required.");
+ }
+
+ _url = commons.Escaper.ecapeVariable('$project') + '/global/backendBuckets/' + commons.Escaper.ecapeVariable('$backendBucket');
+
+ var _response = _requester.request(_url,
+ "DELETE",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
+ /**
+ * Returns the specified BackendBucket resource. Get a list of available
+ * backend buckets by making a list() request.
+ *
+ * Request parameters:
+ *
+ * [project] - Project ID for this request.
+ * Value must have pattern
+ * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
+ *
+ * [backendBucket] - Name of the BackendBucket resource to return.
+ * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
+ *
+ * Completes with a [BackendBucket].
+ *
+ * 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<BackendBucket> get(core.String project, core.String backendBucket) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (project == null) {
+ throw new core.ArgumentError("Parameter project is required.");
+ }
+ if (backendBucket == null) {
+ throw new core.ArgumentError("Parameter backendBucket is required.");
+ }
+
+ _url = commons.Escaper.ecapeVariable('$project') + '/global/backendBuckets/' + commons.Escaper.ecapeVariable('$backendBucket');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new BackendBucket.fromJson(data));
+ }
+
+ /**
+ * Creates a BackendBucket resource in the specified project using the data
+ * included in the request.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [project] - Project ID for this request.
+ * Value must have pattern
+ * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
+ *
+ * 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<Operation> insert(BackendBucket request, core.String project) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (project == null) {
+ throw new core.ArgumentError("Parameter project is required.");
+ }
+
+ _url = commons.Escaper.ecapeVariable('$project') + '/global/backendBuckets';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
+ /**
+ * Retrieves the list of BackendBucket resources available to the specified
+ * project.
+ *
+ * Request parameters:
+ *
+ * [project] - Project ID for this request.
+ * Value must have pattern
+ * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
+ *
+ * [filter] - Sets a filter expression for filtering listed resources, in the
+ * form filter={expression}. Your {expression} must be in the format:
+ * field_name comparison_string literal_string.
+ *
+ * The field_name is the name of the field you want to compare. Only atomic
+ * field types are supported (string, number, boolean). The comparison_string
+ * must be either eq (equals) or ne (not equals). The literal_string is the
+ * string value to filter to. The literal value must be valid for the type of
+ * field you are filtering by (string, number, boolean). For string fields,
+ * the literal value is interpreted as a regular expression using RE2 syntax.
+ * The literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not have a name of
+ * example-instance, you would use filter=name ne example-instance.
+ *
+ * You can filter on nested fields. For example, you could filter on instances
+ * that have set the scheduling.automaticRestart field to true. Use filtering
+ * on nested fields to take advantage of labels to organize and search for
+ * results based on label values.
+ *
+ * To filter on multiple expressions, provide each separate expression within
+ * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq
+ * us-central1-f). Multiple expressions are treated as AND expressions,
+ * meaning that resources must match all expressions to pass the filters.
+ *
+ * [maxResults] - The maximum number of results per page that should be
+ * returned. If the number of available results is larger than maxResults,
+ * Compute Engine returns a nextPageToken that can be used to get the next
+ * page of results in subsequent list requests. Acceptable values are 0 to
+ * 500, inclusive. (Default: 500)
+ *
+ * [orderBy] - Sorts list results by a certain order. By default, results are
+ * returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation
+ * timestamp using orderBy="creationTimestamp desc". This sorts results based
+ * on the creationTimestamp field in reverse chronological order (newest
+ * result first). Use this to sort resources like operations so that the
+ * newest operation is returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ *
+ * [pageToken] - Specifies a page token to use. Set pageToken to the
+ * nextPageToken returned by a previous list request to get the next page of
+ * results.
+ *
+ * Completes with a [BackendBucketList].
+ *
+ * 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<BackendBucketList> list(core.String project, {core.String filter, core.int maxResults, core.String orderBy, core.String pageToken}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (project == null) {
+ throw new core.ArgumentError("Parameter project is required.");
+ }
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+
+ _url = commons.Escaper.ecapeVariable('$project') + '/global/backendBuckets';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new BackendBucketList.fromJson(data));
+ }
+
+ /**
+ * Updates the specified BackendBucket resource with the data included in the
+ * request. This method supports patch semantics.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [project] - Project ID for this request.
+ * Value must have pattern
+ * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
+ *
+ * [backendBucket] - Name of the BackendBucket resource to update.
+ * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
+ *
+ * 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<Operation> patch(BackendBucket request, core.String project, core.String backendBucket) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (project == null) {
+ throw new core.ArgumentError("Parameter project is required.");
+ }
+ if (backendBucket == null) {
+ throw new core.ArgumentError("Parameter backendBucket is required.");
+ }
+
+ _url = commons.Escaper.ecapeVariable('$project') + '/global/backendBuckets/' + commons.Escaper.ecapeVariable('$backendBucket');
+
+ var _response = _requester.request(_url,
+ "PATCH",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
+ /**
+ * Updates the specified BackendBucket resource with the data included in the
+ * request.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [project] - Project ID for this request.
+ * Value must have pattern
+ * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
+ *
+ * [backendBucket] - Name of the BackendBucket resource to update.
+ * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
+ *
+ * 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<Operation> update(BackendBucket request, core.String project, core.String backendBucket) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (project == null) {
+ throw new core.ArgumentError("Parameter project is required.");
+ }
+ if (backendBucket == null) {
+ throw new core.ArgumentError("Parameter backendBucket is required.");
+ }
+
+ _url = commons.Escaper.ecapeVariable('$project') + '/global/backendBuckets/' + commons.Escaper.ecapeVariable('$backendBucket');
+
+ var _response = _requester.request(_url,
+ "PUT",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
+}
+
+
class BackendServicesResourceApi {
final commons.ApiRequester _requester;
@@ -18461,6 +18819,153 @@
}
}
+/** A BackendBucket resource. This resource defines a Cloud Storage bucket. */
+class BackendBucket {
+ /** Cloud Storage bucket name. */
+ core.String bucketName;
+ /** [Output Only] Creation timestamp in RFC3339 text format. */
+ core.String creationTimestamp;
+ /**
+ * An optional textual description of the resource; provided by the client
+ * when the resource is created.
+ */
+ core.String description;
+ /** If true, enable Cloud CDN for this BackendBucket. */
+ core.bool enableCdn;
+ /**
+ * [Output Only] Unique identifier for the resource; defined by the server.
+ */
+ core.String id;
+ /** Type of the resource. */
+ core.String kind;
+ /**
+ * Name of the resource. Provided by the client when the resource is created.
+ * The name must be 1-63 characters long, and comply with RFC1035.
+ * Specifically, the name must be 1-63 characters long and match the regular
+ * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must
+ * be a lowercase letter, and all following characters must be a dash,
+ * lowercase letter, or digit, except the last character, which cannot be a
+ * dash.
+ */
+ core.String name;
+ /** [Output Only] Server-defined URL for the resource. */
+ core.String selfLink;
+
+ BackendBucket();
+
+ BackendBucket.fromJson(core.Map _json) {
+ if (_json.containsKey("bucketName")) {
+ bucketName = _json["bucketName"];
+ }
+ if (_json.containsKey("creationTimestamp")) {
+ creationTimestamp = _json["creationTimestamp"];
+ }
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("enableCdn")) {
+ enableCdn = _json["enableCdn"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("selfLink")) {
+ selfLink = _json["selfLink"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (bucketName != null) {
+ _json["bucketName"] = bucketName;
+ }
+ if (creationTimestamp != null) {
+ _json["creationTimestamp"] = creationTimestamp;
+ }
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (enableCdn != null) {
+ _json["enableCdn"] = enableCdn;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (selfLink != null) {
+ _json["selfLink"] = selfLink;
+ }
+ return _json;
+ }
+}
+
+/** Contains a list of BackendBucket resources. */
+class BackendBucketList {
+ /**
+ * [Output Only] Unique identifier for the resource; defined by the server.
+ */
+ core.String id;
+ /** A list of BackendBucket resources. */
+ core.List<BackendBucket> items;
+ /** Type of resource. */
+ core.String kind;
+ /** [Output Only] A token used to continue a truncated list request. */
+ core.String nextPageToken;
+ /** [Output Only] Server-defined URL for this resource. */
+ core.String selfLink;
+
+ BackendBucketList();
+
+ BackendBucketList.fromJson(core.Map _json) {
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("items")) {
+ items = _json["items"].map((value) => new BackendBucket.fromJson(value)).toList();
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("selfLink")) {
+ selfLink = _json["selfLink"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (items != null) {
+ _json["items"] = items.map((value) => (value).toJson()).toList();
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ if (selfLink != null) {
+ _json["selfLink"] = selfLink;
+ }
+ return _json;
+ }
+}
+
/**
* A BackendService resource. This resource defines a group of backend virtual
* machines and their serving capacity.
@@ -21013,6 +21518,7 @@
core.String host;
/**
* The TCP port number for the health check request. The default value is 80.
+ * Valid values are 1 through 65535.
*/
core.int port;
/**
@@ -21083,6 +21589,7 @@
core.String host;
/**
* The TCP port number for the health check request. The default value is 443.
+ * Valid values are 1 through 65535.
*/
core.int port;
/**
@@ -28526,6 +29033,7 @@
class SSLHealthCheck {
/**
* The TCP port number for the health check request. The default value is 443.
+ * Valid values are 1 through 65535.
*/
core.int port;
/**
@@ -29586,6 +30094,7 @@
class TCPHealthCheck {
/**
* The TCP port number for the health check request. The default value is 80.
+ * Valid values are 1 through 65535.
*/
core.int port;
/**
diff --git a/generated/googleapis/lib/content/v2.dart b/generated/googleapis/lib/content/v2.dart
index 45e58dd..b280ba4 100644
--- a/generated/googleapis/lib/content/v2.dart
+++ b/generated/googleapis/lib/content/v2.dart
@@ -5293,7 +5293,10 @@
* language for targetCountry.
*/
core.String contentLanguage;
- /** The type of data feed. */
+ /**
+ * The type of data feed. For product inventory feeds, only feeds for local
+ * stores, not online stores, are supported.
+ */
core.String contentType;
/** Fetch schedule for the feed file. */
DatafeedFetchSchedule fetchSchedule;
diff --git a/generated/googleapis/lib/dataproc/v1.dart b/generated/googleapis/lib/dataproc/v1.dart
index 61fcb73..bf49c00 100644
--- a/generated/googleapis/lib/dataproc/v1.dart
+++ b/generated/googleapis/lib/dataproc/v1.dart
@@ -278,6 +278,10 @@
* [region] - Required The Cloud Dataproc region in which to handle the
* request.
*
+ * [pageToken] - Optional The standard List page token.
+ *
+ * [pageSize] - Optional The standard List page size.
+ *
* [filter] - Optional A filter constraining the clusters to list. Filters are
* case-sensitive and have the following syntax:field = value AND field =
* value ...where field is one of status.state, clusterName, or labels.[KEY],
@@ -290,10 +294,6 @@
* implicit AND operator.Example filter:status.state = ACTIVE AND clusterName
* = mycluster AND labels.env = staging AND labels.starred = *
*
- * [pageToken] - Optional The standard List page token.
- *
- * [pageSize] - Optional The standard List page size.
- *
* Completes with a [ListClustersResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -302,7 +302,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListClustersResponse> list(core.String projectId, core.String region, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListClustersResponse> list(core.String projectId, core.String region, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -316,15 +316,15 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
_url = 'v1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/clusters';
@@ -949,12 +949,12 @@
* [name] - The name of the operation collection.
* Value must have pattern "^projects/[^/]+/regions/[^/]+/operations$".
*
- * [pageSize] - The standard list page size.
- *
* [filter] - The standard list filter.
*
* [pageToken] - The standard list page token.
*
+ * [pageSize] - The standard list page size.
+ *
* Completes with a [ListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -963,7 +963,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListOperationsResponse> list(core.String name, {core.int pageSize, core.String filter, core.String pageToken}) {
+ async.Future<ListOperationsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -974,15 +974,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
@@ -1442,6 +1442,18 @@
core.String state;
/** Output-only Time when this state was entered. */
core.String stateStartTime;
+ /**
+ * Output-only Additional state information that includes status reported by
+ * the agent.
+ * Possible string values are:
+ * - "UNSPECIFIED"
+ * - "UNHEALTHY" : The cluster is known to be in an unhealthy state (for
+ * example, critical daemons are not running or HDFS capacity is
+ * exhausted).Applies to RUNNING state.
+ * - "STALE_STATUS" : The agent-reported status is out of date (may occur if
+ * Cloud Dataproc loses communication with Agent).Applies to RUNNING state.
+ */
+ core.String substate;
ClusterStatus();
@@ -1455,6 +1467,9 @@
if (_json.containsKey("stateStartTime")) {
stateStartTime = _json["stateStartTime"];
}
+ if (_json.containsKey("substate")) {
+ substate = _json["substate"];
+ }
}
core.Map toJson() {
@@ -1468,6 +1483,9 @@
if (stateStartTime != null) {
_json["stateStartTime"] = stateStartTime;
}
+ if (substate != null) {
+ _json["substate"] = substate;
+ }
return _json;
}
}
@@ -2313,6 +2331,21 @@
core.String state;
/** Output-only The time when this state was entered. */
core.String stateStartTime;
+ /**
+ * Output-only Additional state information, which includes status reported by
+ * the agent.
+ * Possible string values are:
+ * - "UNSPECIFIED"
+ * - "SUBMITTED" : The Job is submitted to the agent.Applies to RUNNING state.
+ * - "QUEUED" : The Job has been received and is awaiting execution (it may be
+ * waiting for a condition to be met). See the "details" field for the reason
+ * for the delay.Applies to RUNNING state.
+ * - "STALE_STATUS" : The agent-reported status is out of date, which may be
+ * caused by a loss of communication between the agent and Cloud Dataproc. If
+ * the agent does not send a timely update, the job will fail.Applies to
+ * RUNNING state.
+ */
+ core.String substate;
JobStatus();
@@ -2326,6 +2359,9 @@
if (_json.containsKey("stateStartTime")) {
stateStartTime = _json["stateStartTime"];
}
+ if (_json.containsKey("substate")) {
+ substate = _json["substate"];
+ }
}
core.Map toJson() {
@@ -2339,6 +2375,9 @@
if (stateStartTime != null) {
_json["stateStartTime"] = stateStartTime;
}
+ if (substate != null) {
+ _json["substate"] = substate;
+ }
return _json;
}
}
diff --git a/generated/googleapis/lib/deploymentmanager/v2.dart b/generated/googleapis/lib/deploymentmanager/v2.dart
index 8e71d15..9cf8b5f 100644
--- a/generated/googleapis/lib/deploymentmanager/v2.dart
+++ b/generated/googleapis/lib/deploymentmanager/v2.dart
@@ -1340,9 +1340,9 @@
/**
- * Specifies the audit configuration for a service. It consists of which
- * permission types are logged, and what identities, if any, are exempted from
- * logging. An AuditConifg must have one or more AuditLogConfigs.
+ * Specifies the audit configuration for a service. The configuration determines
+ * which permission types are logged, and what identities, if any, are exempted
+ * from logging. An AuditConifg must have one or more AuditLogConfigs.
*
* If there are AuditConfigs for both `allServices` and a specific service, the
* union of the two AuditConfigs is used for that service: the log_types
@@ -1363,8 +1363,8 @@
core.List<core.String> exemptedMembers;
/**
* Specifies a service that will be enabled for audit logging. For example,
- * `resourcemanager`, `storage`, `compute`. `allServices` is a special value
- * that covers all services.
+ * `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a
+ * special value that covers all services.
*/
core.String service;
diff --git a/generated/googleapis/lib/drive/v2.dart b/generated/googleapis/lib/drive/v2.dart
index 80f5af6..dbb3911 100644
--- a/generated/googleapis/lib/drive/v2.dart
+++ b/generated/googleapis/lib/drive/v2.dart
@@ -6437,7 +6437,11 @@
core.String thumbnailLink;
/** The thumbnail version for use in thumbnail cache invalidation. */
core.String thumbnailVersion;
- /** The title of this file. */
+ /**
+ * The title of this file. Note that for immutable items such as the top level
+ * folders of Team Drives, My Drive root folder, and Application Data folder
+ * the title is constant.
+ */
core.String title;
/**
* The time that the item was trashed (formatted RFC 3339 timestamp). Only
diff --git a/generated/googleapis/lib/drive/v3.dart b/generated/googleapis/lib/drive/v3.dart
index 0ca4a65..679ae36 100644
--- a/generated/googleapis/lib/drive/v3.dart
+++ b/generated/googleapis/lib/drive/v3.dart
@@ -3630,7 +3630,11 @@
* user.
*/
core.DateTime modifiedTime;
- /** The name of the file. This is not necessarily unique within a folder. */
+ /**
+ * The name of the file. This is not necessarily unique within a folder. Note
+ * that for immutable items such as the top level folders of Team Drives, My
+ * Drive root folder, and Application Data folder the name is constant.
+ */
core.String name;
/**
* The original filename of the uploaded content if available, or else the
diff --git a/generated/googleapis/lib/firebasedynamiclinks/v1.dart b/generated/googleapis/lib/firebasedynamiclinks/v1.dart
index 5af23a9..a657986 100644
--- a/generated/googleapis/lib/firebasedynamiclinks/v1.dart
+++ b/generated/googleapis/lib/firebasedynamiclinks/v1.dart
@@ -289,6 +289,8 @@
* Required.
*/
core.String link;
+ /** Information of navigation behavior of a Firebase Dynamic Links. */
+ NavigationInfo navigationInfo;
/**
* Parameters for social meta tag params.
* Used to set meta tag data for link previews on social sites.
@@ -313,6 +315,9 @@
if (_json.containsKey("link")) {
link = _json["link"];
}
+ if (_json.containsKey("navigationInfo")) {
+ navigationInfo = new NavigationInfo.fromJson(_json["navigationInfo"]);
+ }
if (_json.containsKey("socialMetaTagInfo")) {
socialMetaTagInfo = new SocialMetaTagInfo.fromJson(_json["socialMetaTagInfo"]);
}
@@ -335,6 +340,9 @@
if (link != null) {
_json["link"] = link;
}
+ if (navigationInfo != null) {
+ _json["navigationInfo"] = (navigationInfo).toJson();
+ }
if (socialMetaTagInfo != null) {
_json["socialMetaTagInfo"] = (socialMetaTagInfo).toJson();
}
@@ -621,6 +629,31 @@
}
}
+/** Information of navigation behavior. */
+class NavigationInfo {
+ /**
+ * If this option is on, FDL click will be forced to redirect rather than
+ * show an interstitial page.
+ */
+ core.bool enableForcedRedirect;
+
+ NavigationInfo();
+
+ NavigationInfo.fromJson(core.Map _json) {
+ if (_json.containsKey("enableForcedRedirect")) {
+ enableForcedRedirect = _json["enableForcedRedirect"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (enableForcedRedirect != null) {
+ _json["enableForcedRedirect"] = enableForcedRedirect;
+ }
+ return _json;
+ }
+}
+
/**
* Parameters for social meta tag params.
* Used to set meta tag data for link previews on social sites.
diff --git a/generated/googleapis/lib/firebaserules/v1.dart b/generated/googleapis/lib/firebaserules/v1.dart
index b2587a0..4995237 100644
--- a/generated/googleapis/lib/firebaserules/v1.dart
+++ b/generated/googleapis/lib/firebaserules/v1.dart
@@ -48,14 +48,13 @@
_requester = client;
/**
- * Test `Source` for syntactic and semantic correctness. Issues present in the
- * rules, if any, will be returned to the caller with a description, severity,
- * and source location.
+ * Test `Source` for syntactic and semantic correctness. Issues present, if
+ * any, will be returned to the caller with a description, severity, and
+ * source location.
*
- * The test method will typically be executed with a developer provided
- * `Source`, but if regression testing is desired, this method may be
- * executed against a `Ruleset` resource name and the `Source` will be
- * retrieved from the persisted `Ruleset`.
+ * The test method may be executed with `Source` or a `Ruleset` name.
+ * Passing `Source` is useful for unit testing new rules. Passing a `Ruleset`
+ * name is useful for regression testing an existing rule.
*
* The following is an example of `Source` that permits users to upload images
* to a bucket bearing their user id and matching the correct metadata:
@@ -65,9 +64,10 @@
* // Users are allowed to subscribe and unsubscribe to the blog.
* service firebase.storage {
* match /users/{userId}/images/{imageName} {
- * allow write: if userId == request.userId
- * && (imageName.endsWith('.png') || imageName.endsWith('.jpg'))
- * && resource.mimeType.startsWith('image/')
+ * allow write: if userId == request.auth.uid
+ * && (imageName.matches('*.png$')
+ * || imageName.matches('*.jpg$'))
+ * && resource.mimeType.matches('^image/')
* }
* }
*
@@ -75,9 +75,13 @@
*
* Request parameters:
*
- * [name] - Name of the project.
+ * [name] - Tests may either provide `source` or a `Ruleset` resource name.
*
+ * For tests against `source`, the resource name must refer to the project:
* Format: `projects/{project_id}`
+ *
+ * For tests against a `Ruleset`, this must be the `Ruleset` resource name:
+ * Format: `projects/{project_id}/rulesets/{ruleset_id}`
* Value must have pattern "^projects/.+$".
*
* Completes with a [TestRulesetResponse].
@@ -146,8 +150,7 @@
* The table reflects the `Ruleset` rollout in progress. The `prod` and
* `prod/beta` releases refer to the same `Ruleset`. However, `prod/v23`
* refers to a new `Ruleset`. The `Ruleset` reference for a `Release` may be
- * updated using the UpdateRelease method, and the custom `Release` name
- * may be referenced by specifying the `X-Firebase-Rules-Release-Name` header.
+ * updated using the UpdateRelease method.
*
* [request] - The metadata request object.
*
@@ -242,7 +245,6 @@
*
* [name] - Resource name of the `Release`.
*
- *
* Format: `projects/{project_id}/releases/{release_id}`
* Value must have pattern "^projects/[^/]+/releases/.+$".
*
@@ -280,7 +282,8 @@
/**
* List the `Release` values for a project. This list may optionally be
- * filtered by `Release` name or `Ruleset` id or both.
+ * filtered by `Release` name, `Ruleset` name, `TestSuite` name, or any
+ * combination thereof.
*
* Request parameters:
*
@@ -291,9 +294,9 @@
*
* [filter] - `Release` filter. The list method supports filters with
* restrictions on the
- * `Release` `name` and also on the `Ruleset` `ruleset_name`.
+ * `Release.name`, `Release.ruleset_name`, and `Release.test_suite_name`.
*
- * Example 1) A filter of 'name=prod*' might return `Release`s with names
+ * Example 1: A filter of 'name=prod*' might return `Release`s with names
* within 'projects/foo' prefixed with 'prod':
*
* Name | Ruleset Name
@@ -302,7 +305,7 @@
* projects/foo/releases/prod/v1 | projects/foo/rulesets/uuid1234
* projects/foo/releases/prod/v2 | projects/foo/rulesets/uuid8888
*
- * Example 2) A filter of `name=prod* ruleset_name=uuid1234` would return only
+ * Example 2: A filter of `name=prod* ruleset_name=uuid1234` would return only
* `Release` instances for 'projects/foo' with names prefixed with 'prod'
* referring to the same `Ruleset` name of 'uuid1234':
*
@@ -311,17 +314,17 @@
* projects/foo/releases/prod | projects/foo/rulesets/1234
* projects/foo/releases/prod/v1 | projects/foo/rulesets/1234
*
- * In the examples, the filter parameters refer to the search filters for
- * release and ruleset names are relative to the project releases and rulesets
- * collections. Fully qualified prefixed may also be used. e.g.
- * `name=projects/foo/releases/prod* ruleset_name=projects/foo/rulesets/uuid1`
+ * In the examples, the filter parameters refer to the search filters are
+ * relative to the project. Fully qualified prefixed may also be used. e.g.
+ * `test_suite_name=projects/foo/testsuites/uuid1`
*
* [pageToken] - Next page token for the next batch of `Release` instances.
*
* [pageSize] - Page size to load. Maximum of 100. Defaults to 10.
- * Note: `page_size` is just a hint and the service may choose to load less
- * than `page_size` due to the size of the output. To traverse all of the
- * releases, caller should iterate until the `page_token` is empty.
+ * Note: `page_size` is just a hint and the service may choose to load fewer
+ * than `page_size` results due to the size of the output. To traverse all of
+ * the releases, the caller should iterate until the `page_token` on the
+ * response is empty.
*
* Completes with a [ListReleasesResponse].
*
@@ -367,9 +370,9 @@
/**
* Update a `Release`.
*
- * Only updates to the `ruleset_name` field will be honored. `Release` rename
- * is not supported. To create a `Release` use the CreateRelease method
- * instead.
+ * Only updates to the `ruleset_name` and `test_suite_name` fields will be
+ * honored. `Release` rename is not supported. To create a `Release` use the
+ * CreateRelease method.
*
* [request] - The metadata request object.
*
@@ -584,7 +587,7 @@
}
/**
- * List `Ruleset` metadata only and optionally filter the results by Ruleset
+ * List `Ruleset` metadata only and optionally filter the results by `Ruleset`
* name.
*
* The full `Source` contents of a `Ruleset` may be retrieved with
@@ -597,6 +600,15 @@
* Format: `projects/{project_id}`
* Value must have pattern "^projects/[^/]+$".
*
+ * [filter] - `Ruleset` filter. The list method supports filters with
+ * restrictions on
+ * `Ruleset.name`.
+ *
+ * Filters on `Ruleset.create_time` should use the `date` function which
+ * parses strings that conform to the RFC 3339 date/time specifications.
+ *
+ * Example: `create_time > date("2017-01-01") AND name=UUID-*`
+ *
* [pageToken] - Next page token for loading the next batch of `Ruleset`
* instances.
*
@@ -613,7 +625,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListRulesetsResponse> list(core.String name, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListRulesetsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -624,6 +636,9 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -716,6 +731,44 @@
}
}
+/**
+ * Represents a service-defined function call that was invoked during test
+ * execution.
+ */
+class FunctionCall {
+ /**
+ * The arguments that were provided to the function.
+ *
+ * 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.List<core.Object> args;
+ /** Name of the function invoked. */
+ core.String function;
+
+ FunctionCall();
+
+ FunctionCall.fromJson(core.Map _json) {
+ if (_json.containsKey("args")) {
+ args = _json["args"];
+ }
+ if (_json.containsKey("function")) {
+ function = _json["function"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (args != null) {
+ _json["args"] = args;
+ }
+ if (function != null) {
+ _json["function"] = function;
+ }
+ return _json;
+ }
+}
+
/** Issues include warnings, errors, and deprecation notices. */
class Issue {
/** Short error description. */
@@ -797,7 +850,7 @@
}
}
-/** The response for FirebaseRulesService.ListRulesets */
+/** The response for FirebaseRulesService.ListRulesets. */
class ListRulesetsResponse {
/**
* The pagination token to retrieve the next page of results. If the value is
@@ -837,7 +890,7 @@
class Release {
/**
* Time the release was created.
- * @OutputOnly
+ * Output only.
*/
core.String createTime;
/**
@@ -874,7 +927,7 @@
core.String rulesetName;
/**
* Time the release was updated.
- * @OutputOnly
+ * Output only.
*/
core.String updateTime;
@@ -920,13 +973,13 @@
class Ruleset {
/**
* Time the `Ruleset` was created.
- * @OutputOnly
+ * Output only.
*/
core.String createTime;
/**
* Name of the `Ruleset`. The ruleset_id is auto generated by the service.
* Format: `projects/{project_id}/rulesets/{ruleset_id}`
- * @OutputOnly
+ * Output only.
*/
core.String name;
/** `Source` for the `Ruleset`. */
@@ -1026,9 +1079,91 @@
}
}
+/**
+ * Test result message containing the state of the test as well as a
+ * description and source position for test failures.
+ */
+class TestResult {
+ /**
+ * Debug messages related to test execution issues encountered during
+ * evaluation.
+ *
+ * Debug messages may be related to too many or too few invocations of
+ * function mocks or to runtime errors that occur during evaluation.
+ *
+ * For example: ```Unable to read variable [name: "resource"]```
+ */
+ core.List<core.String> debugMessages;
+ /**
+ * Position in the `Source` or `Ruleset` where the principle runtime error
+ * occurs.
+ *
+ * Evaluation of an expression may result in an error. Rules are deny by
+ * default, so a `DENY` expectation when an error is generated is valid.
+ * When there is a `DENY` with an error, the `SourcePosition` is returned.
+ *
+ * E.g. `error_position { line: 19 column: 37 }`
+ */
+ SourcePosition errorPosition;
+ /**
+ * The set of function calls made to service-defined methods.
+ *
+ * Function calls are included in the order in which they are encountered
+ * during evaluation, are provided for both mocked and unmocked functions,
+ * and included on the response regardless of the test `state`.
+ */
+ core.List<FunctionCall> functionCalls;
+ /**
+ * State of the test.
+ * Possible string values are:
+ * - "STATE_UNSPECIFIED" : Test state is not set.
+ * - "SUCCESS" : Test is a success.
+ * - "FAILURE" : Test is a failure.
+ */
+ core.String state;
+
+ TestResult();
+
+ TestResult.fromJson(core.Map _json) {
+ if (_json.containsKey("debugMessages")) {
+ debugMessages = _json["debugMessages"];
+ }
+ if (_json.containsKey("errorPosition")) {
+ errorPosition = new SourcePosition.fromJson(_json["errorPosition"]);
+ }
+ if (_json.containsKey("functionCalls")) {
+ functionCalls = _json["functionCalls"].map((value) => new FunctionCall.fromJson(value)).toList();
+ }
+ if (_json.containsKey("state")) {
+ state = _json["state"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (debugMessages != null) {
+ _json["debugMessages"] = debugMessages;
+ }
+ if (errorPosition != null) {
+ _json["errorPosition"] = (errorPosition).toJson();
+ }
+ if (functionCalls != null) {
+ _json["functionCalls"] = functionCalls.map((value) => (value).toJson()).toList();
+ }
+ if (state != null) {
+ _json["state"] = state;
+ }
+ return _json;
+ }
+}
+
/** The request for FirebaseRulesService.TestRuleset. */
class TestRulesetRequest {
- /** `Source` to be checked for correctness. */
+ /**
+ * Optional `Source` to be checked for correctness.
+ *
+ * This field must not be set when the resource name refers to a `Ruleset`.
+ */
Source source;
TestRulesetRequest();
@@ -1055,6 +1190,12 @@
* `ERROR` severity will prevent tests from executing.
*/
core.List<Issue> issues;
+ /**
+ * The set of test results given the test cases in the `TestSuite`.
+ * The results will appear in the same order as the test cases appear in the
+ * `TestSuite`.
+ */
+ core.List<TestResult> testResults;
TestRulesetResponse();
@@ -1062,6 +1203,9 @@
if (_json.containsKey("issues")) {
issues = _json["issues"].map((value) => new Issue.fromJson(value)).toList();
}
+ if (_json.containsKey("testResults")) {
+ testResults = _json["testResults"].map((value) => new TestResult.fromJson(value)).toList();
+ }
}
core.Map toJson() {
@@ -1069,6 +1213,9 @@
if (issues != null) {
_json["issues"] = issues.map((value) => (value).toJson()).toList();
}
+ if (testResults != null) {
+ _json["testResults"] = testResults.map((value) => (value).toJson()).toList();
+ }
return _json;
}
}
diff --git a/generated/googleapis/lib/genomics/v1.dart b/generated/googleapis/lib/genomics/v1.dart
index ca1e59c..9c73080 100644
--- a/generated/googleapis/lib/genomics/v1.dart
+++ b/generated/googleapis/lib/genomics/v1.dart
@@ -1036,6 +1036,8 @@
*
* Request parameters:
*
+ * [projectId] - Required. The Google Cloud project ID to list datasets for.
+ *
* [pageToken] - The continuation token, which is used to page through large
* result sets.
* To get the next page of results, set this parameter to the value of
@@ -1045,8 +1047,6 @@
* unspecified,
* defaults to 50. The maximum value is 1024.
*
- * [projectId] - Required. The Google Cloud project ID to list datasets for.
- *
* Completes with a [ListDatasetsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1055,7 +1055,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListDatasetsResponse> list({core.String pageToken, core.int pageSize, core.String projectId}) {
+ async.Future<ListDatasetsResponse> list({core.String projectId, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1063,15 +1063,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (projectId != null) {
+ _queryParams["projectId"] = [projectId];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (projectId != null) {
- _queryParams["projectId"] = [projectId];
- }
_url = 'v1/datasets';
@@ -1410,12 +1410,6 @@
* [name] - The name of the operation collection.
* Value must have pattern "^operations$".
*
- * [pageToken] - The standard list page token.
- *
- * [pageSize] - The maximum number of results to return. If unspecified,
- * defaults to
- * 256. The maximum value is 2048.
- *
* [filter] - A string for filtering Operations.
* The following filter fields are supported:
*
@@ -1436,6 +1430,12 @@
* * `projectId = my-project AND labels.color = *`
* * `projectId = my-project AND labels.color = red`
*
+ * [pageToken] - The standard list page token.
+ *
+ * [pageSize] - The maximum number of results to return. If unspecified,
+ * defaults to
+ * 256. The maximum value is 2048.
+ *
* Completes with a [ListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1444,7 +1444,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListOperationsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<ListOperationsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1455,15 +1455,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
@@ -1826,19 +1826,6 @@
* [readGroupSetId] - Required. The ID of the read group set over which
* coverage is requested.
*
- * [start] - The start position of the range on the reference, 0-based
- * inclusive. If
- * specified, `referenceName` must also be specified. Defaults to 0.
- *
- * [targetBucketWidth] - The desired width of each reported coverage bucket in
- * base pairs. This
- * will be rounded down to the nearest precomputed bucket width; the value
- * of which is returned as `bucketWidth` in the response. Defaults
- * to infinity (each bucket spans an entire reference sequence) or the length
- * of the target range, if specified. The smallest precomputed
- * `bucketWidth` is currently 2048 base pairs; this is subject to
- * change.
- *
* [referenceName] - The name of the reference to query, within the reference
* set associated
* with this query. Optional.
@@ -1857,6 +1844,19 @@
* unspecified,
* defaults to 1024. The maximum value is 2048.
*
+ * [start] - The start position of the range on the reference, 0-based
+ * inclusive. If
+ * specified, `referenceName` must also be specified. Defaults to 0.
+ *
+ * [targetBucketWidth] - The desired width of each reported coverage bucket in
+ * base pairs. This
+ * will be rounded down to the nearest precomputed bucket width; the value
+ * of which is returned as `bucketWidth` in the response. Defaults
+ * to infinity (each bucket spans an entire reference sequence) or the length
+ * of the target range, if specified. The smallest precomputed
+ * `bucketWidth` is currently 2048 base pairs; this is subject to
+ * change.
+ *
* Completes with a [ListCoverageBucketsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1865,7 +1865,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListCoverageBucketsResponse> list(core.String readGroupSetId, {core.String start, core.String targetBucketWidth, core.String referenceName, core.String end, core.String pageToken, core.int pageSize}) {
+ async.Future<ListCoverageBucketsResponse> list(core.String readGroupSetId, {core.String referenceName, core.String end, core.String pageToken, core.int pageSize, core.String start, core.String targetBucketWidth}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1876,12 +1876,6 @@
if (readGroupSetId == null) {
throw new core.ArgumentError("Parameter readGroupSetId is required.");
}
- if (start != null) {
- _queryParams["start"] = [start];
- }
- if (targetBucketWidth != null) {
- _queryParams["targetBucketWidth"] = [targetBucketWidth];
- }
if (referenceName != null) {
_queryParams["referenceName"] = [referenceName];
}
@@ -1894,6 +1888,12 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (start != null) {
+ _queryParams["start"] = [start];
+ }
+ if (targetBucketWidth != null) {
+ _queryParams["targetBucketWidth"] = [targetBucketWidth];
+ }
_url = 'v1/readgroupsets/' + commons.Escaper.ecapeVariable('$readGroupSetId') + '/coveragebuckets';
@@ -2104,6 +2104,12 @@
*
* [referenceId] - The ID of the reference.
*
+ * [start] - The start position (0-based) of this query. Defaults to 0.
+ *
+ * [end] - The end position (0-based, exclusive) of this query. Defaults to
+ * the length
+ * of this reference.
+ *
* [pageToken] - The continuation token, which is used to page through large
* result sets.
* To get the next page of results, set this parameter to the value of
@@ -2114,12 +2120,6 @@
* defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base
* pairs).
*
- * [start] - The start position (0-based) of this query. Defaults to 0.
- *
- * [end] - The end position (0-based, exclusive) of this query. Defaults to
- * the length
- * of this reference.
- *
* Completes with a [ListBasesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -2128,7 +2128,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListBasesResponse> list(core.String referenceId, {core.String pageToken, core.int pageSize, core.String start, core.String end}) {
+ async.Future<ListBasesResponse> list(core.String referenceId, {core.String start, core.String end, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2139,18 +2139,18 @@
if (referenceId == null) {
throw new core.ArgumentError("Parameter referenceId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (start != null) {
_queryParams["start"] = [start];
}
if (end != null) {
_queryParams["end"] = [end];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/references/' + commons.Escaper.ecapeVariable('$referenceId') + '/bases';
diff --git a/generated/googleapis/lib/iam/v1.dart b/generated/googleapis/lib/iam/v1.dart
index e4a4f4f..fb25a17 100644
--- a/generated/googleapis/lib/iam/v1.dart
+++ b/generated/googleapis/lib/iam/v1.dart
@@ -196,8 +196,7 @@
*
* [resource] - REQUIRED: The resource for which the policy is being
* requested.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/serviceAccounts/[^/]+$".
*
* Completes with a [Policy].
@@ -299,8 +298,7 @@
*
* [resource] - REQUIRED: The resource for which the policy is being
* specified.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/serviceAccounts/[^/]+$".
*
* Completes with a [Policy].
@@ -450,8 +448,7 @@
*
* [resource] - REQUIRED: The resource for which the policy detail is being
* requested.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/serviceAccounts/[^/]+$".
*
* Completes with a [TestIamPermissionsResponse].
diff --git a/generated/googleapis/lib/identitytoolkit/v3.dart b/generated/googleapis/lib/identitytoolkit/v3.dart
index 3d03e84..2142d1d 100644
--- a/generated/googleapis/lib/identitytoolkit/v3.dart
+++ b/generated/googleapis/lib/identitytoolkit/v3.dart
@@ -2100,6 +2100,12 @@
/** Request to verify the IDP assertion. */
class IdentitytoolkitRelyingpartyVerifyAssertionRequest {
/**
+ * When it's true, automatically creates a new account if the user doesn't
+ * exist. When it's false, allows existing user to sign in normally and throws
+ * exception if the user doesn't exist.
+ */
+ core.bool autoCreate;
+ /**
* GCP project number of the requesting delegated app. Currently only intended
* for Firebase V1 migration.
*/
@@ -2137,6 +2143,9 @@
IdentitytoolkitRelyingpartyVerifyAssertionRequest();
IdentitytoolkitRelyingpartyVerifyAssertionRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("autoCreate")) {
+ autoCreate = _json["autoCreate"];
+ }
if (_json.containsKey("delegatedProjectNumber")) {
delegatedProjectNumber = _json["delegatedProjectNumber"];
}
@@ -2171,6 +2180,9 @@
core.Map toJson() {
var _json = new core.Map();
+ if (autoCreate != null) {
+ _json["autoCreate"] = autoCreate;
+ }
if (delegatedProjectNumber != null) {
_json["delegatedProjectNumber"] = delegatedProjectNumber;
}
@@ -2416,12 +2428,34 @@
* etc.)
*/
class Relyingparty {
+ /**
+ * whether or not to install the android app on the device where the link is
+ * opened
+ */
+ core.bool androidInstallApp;
+ /**
+ * minimum version of the app. if the version on the device is lower than this
+ * version then the user is taken to the play store to upgrade the app
+ */
+ core.String androidMinimumVersion;
+ /** android package name of the android app to handle the action code */
+ core.String androidPackageName;
+ /**
+ * whether or not the app can handle the oob code without first going to web
+ */
+ core.bool canHandleCodeInApp;
/** The recaptcha response from the user. */
core.String captchaResp;
/** The recaptcha challenge presented to the user. */
core.String challenge;
+ /** The url to continue to the Gitkit app */
+ core.String continueUrl;
/** The email of the user. */
core.String email;
+ /** iOS app store id to download the app if it's not already installed */
+ core.String iOSAppStoreId;
+ /** the iOS bundle id of iOS app to handle the action code */
+ core.String iOSBundleId;
/** The user's Gitkit login token for email change. */
core.String idToken;
/** The fixed string "identitytoolkit#relyingparty". */
@@ -2436,15 +2470,36 @@
Relyingparty();
Relyingparty.fromJson(core.Map _json) {
+ if (_json.containsKey("androidInstallApp")) {
+ androidInstallApp = _json["androidInstallApp"];
+ }
+ if (_json.containsKey("androidMinimumVersion")) {
+ androidMinimumVersion = _json["androidMinimumVersion"];
+ }
+ if (_json.containsKey("androidPackageName")) {
+ androidPackageName = _json["androidPackageName"];
+ }
+ if (_json.containsKey("canHandleCodeInApp")) {
+ canHandleCodeInApp = _json["canHandleCodeInApp"];
+ }
if (_json.containsKey("captchaResp")) {
captchaResp = _json["captchaResp"];
}
if (_json.containsKey("challenge")) {
challenge = _json["challenge"];
}
+ if (_json.containsKey("continueUrl")) {
+ continueUrl = _json["continueUrl"];
+ }
if (_json.containsKey("email")) {
email = _json["email"];
}
+ if (_json.containsKey("iOSAppStoreId")) {
+ iOSAppStoreId = _json["iOSAppStoreId"];
+ }
+ if (_json.containsKey("iOSBundleId")) {
+ iOSBundleId = _json["iOSBundleId"];
+ }
if (_json.containsKey("idToken")) {
idToken = _json["idToken"];
}
@@ -2464,15 +2519,36 @@
core.Map toJson() {
var _json = new core.Map();
+ if (androidInstallApp != null) {
+ _json["androidInstallApp"] = androidInstallApp;
+ }
+ if (androidMinimumVersion != null) {
+ _json["androidMinimumVersion"] = androidMinimumVersion;
+ }
+ if (androidPackageName != null) {
+ _json["androidPackageName"] = androidPackageName;
+ }
+ if (canHandleCodeInApp != null) {
+ _json["canHandleCodeInApp"] = canHandleCodeInApp;
+ }
if (captchaResp != null) {
_json["captchaResp"] = captchaResp;
}
if (challenge != null) {
_json["challenge"] = challenge;
}
+ if (continueUrl != null) {
+ _json["continueUrl"] = continueUrl;
+ }
if (email != null) {
_json["email"] = email;
}
+ if (iOSAppStoreId != null) {
+ _json["iOSAppStoreId"] = iOSAppStoreId;
+ }
+ if (iOSBundleId != null) {
+ _json["iOSBundleId"] = iOSBundleId;
+ }
if (idToken != null) {
_json["idToken"] = idToken;
}
diff --git a/generated/googleapis/lib/kgsearch/v1.dart b/generated/googleapis/lib/kgsearch/v1.dart
index 32c4864..33a26bb 100644
--- a/generated/googleapis/lib/kgsearch/v1.dart
+++ b/generated/googleapis/lib/kgsearch/v1.dart
@@ -39,6 +39,13 @@
*
* Request parameters:
*
+ * [ids] - The list of entity id to be used for search instead of query
+ * string.
+ * To specify multiple ids in the HTTP request, repeat the parameter in the
+ * URL as in ...?ids=A&ids=B
+ *
+ * [limit] - Limits the number of entities to be returned.
+ *
* [prefix] - Enables prefix match against names and aliases of entities
*
* [query] - The literal query string for search.
@@ -53,13 +60,6 @@
* query with,
* e.g. 'en'.
*
- * [ids] - The list of entity id to be used for search instead of query
- * string.
- * To specify multiple ids in the HTTP request, repeat the parameter in the
- * URL as in ...?ids=A&ids=B
- *
- * [limit] - Limits the number of entities to be returned.
- *
* Completes with a [SearchResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -68,7 +68,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<SearchResponse> search({core.bool prefix, core.String query, core.List<core.String> types, core.bool indent, core.List<core.String> languages, core.List<core.String> ids, core.int limit}) {
+ async.Future<SearchResponse> search({core.List<core.String> ids, core.int limit, core.bool prefix, core.String query, core.List<core.String> types, core.bool indent, core.List<core.String> languages}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -76,6 +76,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (ids != null) {
+ _queryParams["ids"] = ids;
+ }
+ if (limit != null) {
+ _queryParams["limit"] = ["${limit}"];
+ }
if (prefix != null) {
_queryParams["prefix"] = ["${prefix}"];
}
@@ -91,12 +97,6 @@
if (languages != null) {
_queryParams["languages"] = languages;
}
- if (ids != null) {
- _queryParams["ids"] = ids;
- }
- if (limit != null) {
- _queryParams["limit"] = ["${limit}"];
- }
_url = 'v1/entities:search';
diff --git a/generated/googleapis/lib/language/v1.dart b/generated/googleapis/lib/language/v1.dart
index fc4be2b..2ee03d5 100644
--- a/generated/googleapis/lib/language/v1.dart
+++ b/generated/googleapis/lib/language/v1.dart
@@ -40,8 +40,9 @@
_requester = client;
/**
- * Finds named entities (currently finds proper names) in the text,
- * entity types, salience, mentions for each entity, and other properties.
+ * Finds named entities (currently proper names and common nouns) in the text
+ * along with entity types, salience, mentions for each entity, and
+ * other properties.
*
* [request] - The metadata request object.
*
diff --git a/generated/googleapis/lib/licensing/v1.dart b/generated/googleapis/lib/licensing/v1.dart
index 106c6c8..171ed55 100644
--- a/generated/googleapis/lib/licensing/v1.dart
+++ b/generated/googleapis/lib/licensing/v1.dart
@@ -14,7 +14,7 @@
const core.String USER_AGENT = 'dart-api-client licensing/v1';
-/** Licensing API to view and manage license for your domain. */
+/** Views and manages licenses for your domain. */
class LicensingApi {
/** View and manage G Suite licenses for your domain */
static const AppsLicensingScope = "https://www.googleapis.com/auth/apps.licensing";
@@ -423,12 +423,16 @@
core.String etags;
/** Identifies the resource as a LicenseAssignment. */
core.String kind;
- /** Name of the product. */
+ /** Id of the product. */
core.String productId;
+ /** Display Name of the product. */
+ core.String productName;
/** Link to this page. */
core.String selfLink;
- /** Name of the sku of the product. */
+ /** Id of the sku of the product. */
core.String skuId;
+ /** Display Name of the sku of the product. */
+ core.String skuName;
/** Email id of the user. */
core.String userId;
@@ -444,12 +448,18 @@
if (_json.containsKey("productId")) {
productId = _json["productId"];
}
+ if (_json.containsKey("productName")) {
+ productName = _json["productName"];
+ }
if (_json.containsKey("selfLink")) {
selfLink = _json["selfLink"];
}
if (_json.containsKey("skuId")) {
skuId = _json["skuId"];
}
+ if (_json.containsKey("skuName")) {
+ skuName = _json["skuName"];
+ }
if (_json.containsKey("userId")) {
userId = _json["userId"];
}
@@ -466,12 +476,18 @@
if (productId != null) {
_json["productId"] = productId;
}
+ if (productName != null) {
+ _json["productName"] = productName;
+ }
if (selfLink != null) {
_json["selfLink"] = selfLink;
}
if (skuId != null) {
_json["skuId"] = skuId;
}
+ if (skuName != null) {
+ _json["skuName"] = skuName;
+ }
if (userId != null) {
_json["userId"] = userId;
}
diff --git a/generated/googleapis/lib/logging/v2.dart b/generated/googleapis/lib/logging/v2.dart
index 3ac0315..8eb3647 100644
--- a/generated/googleapis/lib/logging/v2.dart
+++ b/generated/googleapis/lib/logging/v2.dart
@@ -127,15 +127,15 @@
*
* Value must have pattern "^billingAccounts/[^/]+$".
*
+ * [pageSize] - Optional. The maximum number of results to return from this
+ * request. Non-positive values are ignored. The presence of nextPageToken in
+ * the response indicates that more results might be available.
+ *
* [pageToken] - Optional. If present, then retrieve the next batch of results
* from the preceding call to this method. pageToken must be the value of
* nextPageToken from the previous response. The values of other method
* parameters should be identical to those in the previous call.
*
- * [pageSize] - Optional. The maximum number of results to return from this
- * request. Non-positive values are ignored. The presence of nextPageToken in
- * the response indicates that more results might be available.
- *
* Completes with a [ListLogsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -144,7 +144,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListLogsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListLogsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -155,12 +155,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/logs';
@@ -522,8 +522,7 @@
}
/**
- * Writes log entries to Stackdriver Logging. All log entries are written by
- * this method.
+ * Writes log entries to Stackdriver Logging.
*
* [request] - The metadata request object.
*
@@ -874,15 +873,15 @@
*
* Value must have pattern "^folders/[^/]+$".
*
+ * [pageSize] - Optional. The maximum number of results to return from this
+ * request. Non-positive values are ignored. The presence of nextPageToken in
+ * the response indicates that more results might be available.
+ *
* [pageToken] - Optional. If present, then retrieve the next batch of results
* from the preceding call to this method. pageToken must be the value of
* nextPageToken from the previous response. The values of other method
* parameters should be identical to those in the previous call.
*
- * [pageSize] - Optional. The maximum number of results to return from this
- * request. Non-positive values are ignored. The presence of nextPageToken in
- * the response indicates that more results might be available.
- *
* Completes with a [ListSinksResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -891,7 +890,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListSinksResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListSinksResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -902,12 +901,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/sinks';
@@ -1133,15 +1132,15 @@
*
* Value must have pattern "^organizations/[^/]+$".
*
+ * [pageSize] - Optional. The maximum number of results to return from this
+ * request. Non-positive values are ignored. The presence of nextPageToken in
+ * the response indicates that more results might be available.
+ *
* [pageToken] - Optional. If present, then retrieve the next batch of results
* from the preceding call to this method. pageToken must be the value of
* nextPageToken from the previous response. The values of other method
* parameters should be identical to those in the previous call.
*
- * [pageSize] - Optional. The maximum number of results to return from this
- * request. Non-positive values are ignored. The presence of nextPageToken in
- * the response indicates that more results might be available.
- *
* Completes with a [ListLogsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1150,7 +1149,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListLogsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListLogsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1161,12 +1160,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/logs';
@@ -1362,15 +1361,15 @@
*
* Value must have pattern "^organizations/[^/]+$".
*
+ * [pageSize] - Optional. The maximum number of results to return from this
+ * request. Non-positive values are ignored. The presence of nextPageToken in
+ * the response indicates that more results might be available.
+ *
* [pageToken] - Optional. If present, then retrieve the next batch of results
* from the preceding call to this method. pageToken must be the value of
* nextPageToken from the previous response. The values of other method
* parameters should be identical to those in the previous call.
*
- * [pageSize] - Optional. The maximum number of results to return from this
- * request. Non-positive values are ignored. The presence of nextPageToken in
- * the response indicates that more results might be available.
- *
* Completes with a [ListSinksResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1379,7 +1378,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListSinksResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListSinksResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1390,12 +1389,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/sinks';
@@ -2408,20 +2407,20 @@
* returns entries in order of increasing values of LogEntry.timestamp (oldest
* first), and the second option returns entries in order of decreasing
* timestamps (newest first). Entries with equal timestamps are returned in
- * order of LogEntry.insertId.
+ * order of their insert_id values.
*/
core.String orderBy;
/**
* Optional. The maximum number of results to return from this request.
- * Non-positive values are ignored. The presence of nextPageToken in the
+ * Non-positive values are ignored. The presence of next_page_token in the
* response indicates that more results might be available.
*/
core.int pageSize;
/**
* Optional. If present, then retrieve the next batch of results from the
- * preceding call to this method. pageToken must be the value of nextPageToken
- * from the previous response. The values of other method parameters should be
- * identical to those in the previous call.
+ * preceding call to this method. page_token must be the value of
+ * next_page_token from the previous response. The values of other method
+ * parameters should be identical to those in the previous call.
*/
core.String pageToken;
/**
@@ -2676,10 +2675,12 @@
*/
HttpRequest httpRequest;
/**
- * Optional. A unique ID for the log entry. If you provide this field, the
- * logging service considers other log entries in the same project with the
- * same ID as duplicates which can be removed. If omitted, Stackdriver Logging
- * will generate a unique ID for this log entry.
+ * Optional. A unique identifier for the log entry. If you provide a value,
+ * then Stackdriver Logging considers other log entries in the same project,
+ * with the same timestamp, and with the same insert_id to be duplicates which
+ * can be removed. If omitted in new log entries, then Stackdriver Logging
+ * will insert its own unique identifier. The insert_id is used to order log
+ * entries that have the same timestamp value.
*/
core.String insertId;
/**
@@ -2758,7 +2759,10 @@
core.String textPayload;
/**
* Optional. The time the event described by the log entry occurred. If
- * omitted, Stackdriver Logging will use the time the log entry is received.
+ * omitted in a new log entry, Stackdriver Logging will insert the time the
+ * log entry is received. Stackdriver Logging might reject log entries whose
+ * time stamps are more than a couple of hours in the future. Log entries with
+ * time stamps in the past are accepted.
*/
core.String timestamp;
/**
@@ -3758,11 +3762,15 @@
class WriteLogEntriesRequest {
/**
* Required. The log entries to write. Values supplied for the fields
- * log_name, resource, and labels in this entries.write request are added to
- * those log entries that do not provide their own values for the fields.To
- * improve throughput and to avoid exceeding the quota limit for calls to
- * entries.write, you should write multiple log entries at once rather than
- * calling this method for each individual log entry.
+ * log_name, resource, and labels in this entries.write request are inserted
+ * into those log entries in this list that do not provide their own
+ * values.Stackdriver Logging also creates and inserts values for timestamp
+ * and insert_id if the entries do not provide them. The created insert_id for
+ * the N'th entry in this list will be greater than earlier entries and less
+ * than later entries. Otherwise, the order of log entries in this list does
+ * not matter.To improve throughput and to avoid exceeding the quota limit for
+ * calls to entries.write, you should write multiple log entries at once
+ * rather than calling this method for each individual log entry.
*/
core.List<LogEntry> entries;
/**
@@ -3788,9 +3796,9 @@
/**
* Optional. Whether valid entries should be written even if some other
* entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any
- * entry is not written, the response status will be the error associated with
- * one of the failed entries and include error details in the form of
- * WriteLogEntriesPartialErrors.
+ * entry is not written, then the response status is the error associated with
+ * one of the failed entries and the response includes error details keyed by
+ * the entries' zero-based index in the entries.write method.
*/
core.bool partialSuccess;
/**
diff --git a/generated/googleapis/lib/manufacturers/v1.dart b/generated/googleapis/lib/manufacturers/v1.dart
index 290eda4..694400b 100644
--- a/generated/googleapis/lib/manufacturers/v1.dart
+++ b/generated/googleapis/lib/manufacturers/v1.dart
@@ -168,21 +168,101 @@
*/
class Attributes {
/**
+ * The additional images of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#addlimage.
+ */
+ core.List<Image> additionalImageLink;
+ /**
+ * The target age group of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#agegroup.
+ */
+ core.String ageGroup;
+ /**
* The brand name of the product. For more information, see
* https://support.google.com/manufacturers/answer/6124116#brand.
*/
core.String brand;
/**
+ * The capacity of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#capacity.
+ */
+ Capacity capacity;
+ /**
+ * The color of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#color.
+ */
+ core.String color;
+ /**
+ * The count of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#count.
+ */
+ Count count;
+ /**
+ * The description of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#description.
+ */
+ core.String description;
+ /**
+ * The disclosure date of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#disclosure.
+ */
+ core.String disclosureDate;
+ /**
+ * The rich format description of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#featuredesc.
+ */
+ core.List<FeatureDescription> featureDescription;
+ /**
+ * The flavor of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#flavor.
+ */
+ core.String flavor;
+ /**
+ * The format of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#format.
+ */
+ core.String format;
+ /**
+ * The target gender of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#gender.
+ */
+ core.String gender;
+ /**
* The Global Trade Item Number (GTIN) of the product. For more information,
* see https://support.google.com/manufacturers/answer/6124116#gtin.
*/
core.List<core.String> gtin;
/**
+ * The image of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#image.
+ */
+ Image imageLink;
+ /**
+ * The item group id of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#itemgroupid.
+ */
+ core.String itemGroupId;
+ /**
+ * The material of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#material.
+ */
+ core.String material;
+ /**
* The Manufacturer Part Number (MPN) of the product. For more information,
* see https://support.google.com/manufacturers/answer/6124116#mpn.
*/
core.String mpn;
/**
+ * The pattern of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#pattern.
+ */
+ core.String pattern;
+ /**
+ * The details of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#productdetail.
+ */
+ core.List<ProductDetail> productDetail;
+ /**
* The name of the group of products related to the product. For more
* information, see
* https://support.google.com/manufacturers/answer/6124116#productline.
@@ -194,34 +274,121 @@
*/
core.String productName;
/**
- * The URL of the manufacturer's detail page of the product. For more
- * information, see
+ * The URL of the detail page of the product. For more information, see
* https://support.google.com/manufacturers/answer/6124116#productpage.
*/
core.String productPageUrl;
/**
- * The manufacturer's category of the product. For more information, see
+ * The category of the product. For more information, see
* https://support.google.com/manufacturers/answer/6124116#producttype.
*/
core.List<core.String> productType;
/**
+ * The release date of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#release.
+ */
+ core.String releaseDate;
+ /**
+ * The scent of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#scent.
+ */
+ core.String scent;
+ /**
+ * The size of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#size.
+ */
+ core.String size;
+ /**
+ * The size system of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#sizesystem.
+ */
+ core.String sizeSystem;
+ /**
+ * The size type of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#sizetype.
+ */
+ core.String sizeType;
+ /**
+ * The suggested retail price (MSRP) of the product. For more information,
+ * see https://support.google.com/manufacturers/answer/6124116#price.
+ */
+ Price suggestedRetailPrice;
+ /**
+ * The theme of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#theme.
+ */
+ core.String theme;
+ /**
* The title of the product. For more information, see
* https://support.google.com/manufacturers/answer/6124116#title.
*/
core.String title;
+ /**
+ * The videos of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#video.
+ */
+ core.List<core.String> videoLink;
Attributes();
Attributes.fromJson(core.Map _json) {
+ if (_json.containsKey("additionalImageLink")) {
+ additionalImageLink = _json["additionalImageLink"].map((value) => new Image.fromJson(value)).toList();
+ }
+ if (_json.containsKey("ageGroup")) {
+ ageGroup = _json["ageGroup"];
+ }
if (_json.containsKey("brand")) {
brand = _json["brand"];
}
+ if (_json.containsKey("capacity")) {
+ capacity = new Capacity.fromJson(_json["capacity"]);
+ }
+ if (_json.containsKey("color")) {
+ color = _json["color"];
+ }
+ if (_json.containsKey("count")) {
+ count = new Count.fromJson(_json["count"]);
+ }
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("disclosureDate")) {
+ disclosureDate = _json["disclosureDate"];
+ }
+ if (_json.containsKey("featureDescription")) {
+ featureDescription = _json["featureDescription"].map((value) => new FeatureDescription.fromJson(value)).toList();
+ }
+ if (_json.containsKey("flavor")) {
+ flavor = _json["flavor"];
+ }
+ if (_json.containsKey("format")) {
+ format = _json["format"];
+ }
+ if (_json.containsKey("gender")) {
+ gender = _json["gender"];
+ }
if (_json.containsKey("gtin")) {
gtin = _json["gtin"];
}
+ if (_json.containsKey("imageLink")) {
+ imageLink = new Image.fromJson(_json["imageLink"]);
+ }
+ if (_json.containsKey("itemGroupId")) {
+ itemGroupId = _json["itemGroupId"];
+ }
+ if (_json.containsKey("material")) {
+ material = _json["material"];
+ }
if (_json.containsKey("mpn")) {
mpn = _json["mpn"];
}
+ if (_json.containsKey("pattern")) {
+ pattern = _json["pattern"];
+ }
+ if (_json.containsKey("productDetail")) {
+ productDetail = _json["productDetail"].map((value) => new ProductDetail.fromJson(value)).toList();
+ }
if (_json.containsKey("productLine")) {
productLine = _json["productLine"];
}
@@ -234,22 +401,94 @@
if (_json.containsKey("productType")) {
productType = _json["productType"];
}
+ if (_json.containsKey("releaseDate")) {
+ releaseDate = _json["releaseDate"];
+ }
+ if (_json.containsKey("scent")) {
+ scent = _json["scent"];
+ }
+ if (_json.containsKey("size")) {
+ size = _json["size"];
+ }
+ if (_json.containsKey("sizeSystem")) {
+ sizeSystem = _json["sizeSystem"];
+ }
+ if (_json.containsKey("sizeType")) {
+ sizeType = _json["sizeType"];
+ }
+ if (_json.containsKey("suggestedRetailPrice")) {
+ suggestedRetailPrice = new Price.fromJson(_json["suggestedRetailPrice"]);
+ }
+ if (_json.containsKey("theme")) {
+ theme = _json["theme"];
+ }
if (_json.containsKey("title")) {
title = _json["title"];
}
+ if (_json.containsKey("videoLink")) {
+ videoLink = _json["videoLink"];
+ }
}
core.Map toJson() {
var _json = new core.Map();
+ if (additionalImageLink != null) {
+ _json["additionalImageLink"] = additionalImageLink.map((value) => (value).toJson()).toList();
+ }
+ if (ageGroup != null) {
+ _json["ageGroup"] = ageGroup;
+ }
if (brand != null) {
_json["brand"] = brand;
}
+ if (capacity != null) {
+ _json["capacity"] = (capacity).toJson();
+ }
+ if (color != null) {
+ _json["color"] = color;
+ }
+ if (count != null) {
+ _json["count"] = (count).toJson();
+ }
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (disclosureDate != null) {
+ _json["disclosureDate"] = disclosureDate;
+ }
+ if (featureDescription != null) {
+ _json["featureDescription"] = featureDescription.map((value) => (value).toJson()).toList();
+ }
+ if (flavor != null) {
+ _json["flavor"] = flavor;
+ }
+ if (format != null) {
+ _json["format"] = format;
+ }
+ if (gender != null) {
+ _json["gender"] = gender;
+ }
if (gtin != null) {
_json["gtin"] = gtin;
}
+ if (imageLink != null) {
+ _json["imageLink"] = (imageLink).toJson();
+ }
+ if (itemGroupId != null) {
+ _json["itemGroupId"] = itemGroupId;
+ }
+ if (material != null) {
+ _json["material"] = material;
+ }
if (mpn != null) {
_json["mpn"] = mpn;
}
+ if (pattern != null) {
+ _json["pattern"] = pattern;
+ }
+ if (productDetail != null) {
+ _json["productDetail"] = productDetail.map((value) => (value).toJson()).toList();
+ }
if (productLine != null) {
_json["productLine"] = productLine;
}
@@ -262,9 +501,207 @@
if (productType != null) {
_json["productType"] = productType;
}
+ if (releaseDate != null) {
+ _json["releaseDate"] = releaseDate;
+ }
+ if (scent != null) {
+ _json["scent"] = scent;
+ }
+ if (size != null) {
+ _json["size"] = size;
+ }
+ if (sizeSystem != null) {
+ _json["sizeSystem"] = sizeSystem;
+ }
+ if (sizeType != null) {
+ _json["sizeType"] = sizeType;
+ }
+ if (suggestedRetailPrice != null) {
+ _json["suggestedRetailPrice"] = (suggestedRetailPrice).toJson();
+ }
+ if (theme != null) {
+ _json["theme"] = theme;
+ }
if (title != null) {
_json["title"] = title;
}
+ if (videoLink != null) {
+ _json["videoLink"] = videoLink;
+ }
+ return _json;
+ }
+}
+
+/**
+ * The capacity of a product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#capacity.
+ */
+class Capacity {
+ /** The unit of the capacity, i.e., MB, GB, or TB. */
+ core.String unit;
+ /** The numeric value of the capacity. */
+ core.String value;
+
+ Capacity();
+
+ Capacity.fromJson(core.Map _json) {
+ if (_json.containsKey("unit")) {
+ unit = _json["unit"];
+ }
+ if (_json.containsKey("value")) {
+ value = _json["value"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (unit != null) {
+ _json["unit"] = unit;
+ }
+ if (value != null) {
+ _json["value"] = value;
+ }
+ return _json;
+ }
+}
+
+/**
+ * The number of products in a single package. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#count.
+ */
+class Count {
+ /** The unit in which these products are counted. */
+ core.String unit;
+ /** The numeric value of the number of products in a package. */
+ core.String value;
+
+ Count();
+
+ Count.fromJson(core.Map _json) {
+ if (_json.containsKey("unit")) {
+ unit = _json["unit"];
+ }
+ if (_json.containsKey("value")) {
+ value = _json["value"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (unit != null) {
+ _json["unit"] = unit;
+ }
+ if (value != null) {
+ _json["value"] = value;
+ }
+ return _json;
+ }
+}
+
+/**
+ * A feature description of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#featuredesc.
+ */
+class FeatureDescription {
+ /** A short description of the feature. */
+ core.String headline;
+ /** An optional image describing the feature. */
+ Image image;
+ /** A detailed description of the feature. */
+ core.String text;
+
+ FeatureDescription();
+
+ FeatureDescription.fromJson(core.Map _json) {
+ if (_json.containsKey("headline")) {
+ headline = _json["headline"];
+ }
+ if (_json.containsKey("image")) {
+ image = new Image.fromJson(_json["image"]);
+ }
+ if (_json.containsKey("text")) {
+ text = _json["text"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (headline != null) {
+ _json["headline"] = headline;
+ }
+ if (image != null) {
+ _json["image"] = (image).toJson();
+ }
+ if (text != null) {
+ _json["text"] = text;
+ }
+ return _json;
+ }
+}
+
+/** An image. */
+class Image {
+ /**
+ * The URL of the image. For crawled images, this is the provided URL. For
+ * uploaded images, this is a serving URL from Google if the image has been
+ * processed successfully.
+ */
+ core.String imageUrl;
+ /**
+ * The status of the image.
+ * @OutputOnly
+ * Possible string values are:
+ * - "STATUS_UNSPECIFIED" : Status is unspecified. Should not be used.
+ * - "PENDING_PROCESSING" : Image was uploaded and is being processed.
+ * - "PENDING_CRAWL" : The image crawl is still pending.
+ * - "OK" : The image was processed and it meets the requirements.
+ * - "ROBOTED" : The image URL is protected by robots.txt file and cannot be
+ * crawled.
+ * - "XROBOTED" : The image URL is protected by X-Robots-Tag and cannot be
+ * crawled.
+ * - "CRAWL_ERROR" : There was an error while crawling the image.
+ * - "PROCESSING_ERROR" : The image cannot be processed.
+ * - "DECODING_ERROR" : The image cannot be decoded.
+ * - "TOO_BIG" : The image is too big.
+ * - "CRAWL_SKIPPED" : The image was manually overridden and will not be
+ * crawled.
+ */
+ core.String status;
+ /**
+ * The type of the image, i.e., crawled or uploaded.
+ * @OutputOnly
+ * Possible string values are:
+ * - "TYPE_UNSPECIFIED" : Type is unspecified. Should not be used.
+ * - "CRAWLED" : The image was crawled from a provided URL.
+ * - "UPLOADED" : The image was uploaded.
+ */
+ core.String type;
+
+ Image();
+
+ Image.fromJson(core.Map _json) {
+ if (_json.containsKey("imageUrl")) {
+ imageUrl = _json["imageUrl"];
+ }
+ if (_json.containsKey("status")) {
+ status = _json["status"];
+ }
+ if (_json.containsKey("type")) {
+ type = _json["type"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (imageUrl != null) {
+ _json["imageUrl"] = imageUrl;
+ }
+ if (status != null) {
+ _json["status"] = status;
+ }
+ if (type != null) {
+ _json["type"] = type;
+ }
return _json;
}
}
@@ -294,6 +731,8 @@
* pending review.
*/
core.String severity;
+ /** The timestamp when this issue appeared. */
+ core.String timestamp;
/**
* The server-generated type of the issue, for example,
* “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
@@ -312,6 +751,9 @@
if (_json.containsKey("severity")) {
severity = _json["severity"];
}
+ if (_json.containsKey("timestamp")) {
+ timestamp = _json["timestamp"];
+ }
if (_json.containsKey("type")) {
type = _json["type"];
}
@@ -328,6 +770,9 @@
if (severity != null) {
_json["severity"] = severity;
}
+ if (timestamp != null) {
+ _json["timestamp"] = timestamp;
+ }
if (type != null) {
_json["type"] = type;
}
@@ -364,6 +809,36 @@
}
}
+/** A price. */
+class Price {
+ /** The numeric value of the price. */
+ core.String amount;
+ /** The currency in which the price is denoted. */
+ core.String currency;
+
+ Price();
+
+ Price.fromJson(core.Map _json) {
+ if (_json.containsKey("amount")) {
+ amount = _json["amount"];
+ }
+ if (_json.containsKey("currency")) {
+ currency = _json["currency"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (amount != null) {
+ _json["amount"] = amount;
+ }
+ if (currency != null) {
+ _json["currency"] = currency;
+ }
+ return _json;
+ }
+}
+
/** Product data. */
class Product {
/**
@@ -505,3 +980,46 @@
return _json;
}
}
+
+/**
+ * A product detail of the product. For more information, see
+ * https://support.google.com/manufacturers/answer/6124116#productdetail.
+ */
+class ProductDetail {
+ /** The name of the attribute. */
+ core.String attributeName;
+ /** The value of the attribute. */
+ core.String attributeValue;
+ /**
+ * A short section name that can be reused between multiple product details.
+ */
+ core.String sectionName;
+
+ ProductDetail();
+
+ ProductDetail.fromJson(core.Map _json) {
+ if (_json.containsKey("attributeName")) {
+ attributeName = _json["attributeName"];
+ }
+ if (_json.containsKey("attributeValue")) {
+ attributeValue = _json["attributeValue"];
+ }
+ if (_json.containsKey("sectionName")) {
+ sectionName = _json["sectionName"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (attributeName != null) {
+ _json["attributeName"] = attributeName;
+ }
+ if (attributeValue != null) {
+ _json["attributeValue"] = attributeValue;
+ }
+ if (sectionName != null) {
+ _json["sectionName"] = sectionName;
+ }
+ return _json;
+ }
+}
diff --git a/generated/googleapis_beta/lib/ml/v1beta1.dart b/generated/googleapis/lib/ml/v1.dart
similarity index 89%
rename from generated/googleapis_beta/lib/ml/v1beta1.dart
rename to generated/googleapis/lib/ml/v1.dart
index a9af665..08b8512 100644
--- a/generated/googleapis_beta/lib/ml/v1beta1.dart
+++ b/generated/googleapis/lib/ml/v1.dart
@@ -1,6 +1,6 @@
// This is a generated file (see the discoveryapis_generator project).
-library googleapis_beta.ml.v1beta1;
+library googleapis.ml.v1;
import 'dart:core' as core;
import 'dart:async' as async;
@@ -12,7 +12,7 @@
export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
ApiRequestError, DetailedApiRequestError;
-const core.String USER_AGENT = 'dart-api-client ml/v1beta1';
+const core.String USER_AGENT = 'dart-api-client ml/v1';
/** An API to enable creating and using machine learning models. */
class MlApi {
@@ -52,7 +52,7 @@
* Authorization: requires `Viewer` role on the specified project.
* Value must have pattern "^projects/[^/]+$".
*
- * Completes with a [GoogleCloudMlV1beta1GetConfigResponse].
+ * Completes with a [GoogleCloudMlV1GetConfigResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
* error.
@@ -60,7 +60,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GoogleCloudMlV1beta1GetConfigResponse> getConfig(core.String name) {
+ async.Future<GoogleCloudMlV1GetConfigResponse> getConfig(core.String name) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -72,7 +72,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name') + ':getConfig';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + ':getConfig';
var _response = _requester.request(_url,
"GET",
@@ -81,7 +81,7 @@
uploadOptions: _uploadOptions,
uploadMedia: _uploadMedia,
downloadOptions: _downloadOptions);
- return _response.then((data) => new GoogleCloudMlV1beta1GetConfigResponse.fromJson(data));
+ return _response.then((data) => new GoogleCloudMlV1GetConfigResponse.fromJson(data));
}
/**
@@ -106,7 +106,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GoogleApiHttpBody> predict(GoogleCloudMlV1beta1PredictRequest request, core.String name) {
+ async.Future<GoogleApiHttpBody> predict(GoogleCloudMlV1PredictRequest request, core.String name) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -121,7 +121,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name') + ':predict';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + ':predict';
var _response = _requester.request(_url,
"POST",
@@ -162,7 +162,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GoogleProtobufEmpty> cancel(GoogleCloudMlV1beta1CancelJobRequest request, core.String name) {
+ async.Future<GoogleProtobufEmpty> cancel(GoogleCloudMlV1CancelJobRequest request, core.String name) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -177,7 +177,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name') + ':cancel';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + ':cancel';
var _response = _requester.request(_url,
"POST",
@@ -201,7 +201,7 @@
* Authorization: requires `Editor` role on the specified project.
* Value must have pattern "^projects/[^/]+$".
*
- * Completes with a [GoogleCloudMlV1beta1Job].
+ * Completes with a [GoogleCloudMlV1Job].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
* error.
@@ -209,7 +209,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GoogleCloudMlV1beta1Job> create(GoogleCloudMlV1beta1Job request, core.String parent) {
+ async.Future<GoogleCloudMlV1Job> create(GoogleCloudMlV1Job request, core.String parent) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -224,7 +224,7 @@
throw new core.ArgumentError("Parameter parent is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/jobs';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/jobs';
var _response = _requester.request(_url,
"POST",
@@ -233,7 +233,7 @@
uploadOptions: _uploadOptions,
uploadMedia: _uploadMedia,
downloadOptions: _downloadOptions);
- return _response.then((data) => new GoogleCloudMlV1beta1Job.fromJson(data));
+ return _response.then((data) => new GoogleCloudMlV1Job.fromJson(data));
}
/**
@@ -246,7 +246,7 @@
* Authorization: requires `Viewer` role on the parent project.
* Value must have pattern "^projects/[^/]+/jobs/[^/]+$".
*
- * Completes with a [GoogleCloudMlV1beta1Job].
+ * Completes with a [GoogleCloudMlV1Job].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
* error.
@@ -254,7 +254,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GoogleCloudMlV1beta1Job> get(core.String name) {
+ async.Future<GoogleCloudMlV1Job> get(core.String name) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -266,7 +266,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name');
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
var _response = _requester.request(_url,
"GET",
@@ -275,7 +275,7 @@
uploadOptions: _uploadOptions,
uploadMedia: _uploadMedia,
downloadOptions: _downloadOptions);
- return _response.then((data) => new GoogleCloudMlV1beta1Job.fromJson(data));
+ return _response.then((data) => new GoogleCloudMlV1Job.fromJson(data));
}
/**
@@ -288,6 +288,8 @@
* Authorization: requires `Viewer` role on the specified project.
* Value must have pattern "^projects/[^/]+$".
*
+ * [filter] - Optional. Specifies the subset of jobs to retrieve.
+ *
* [pageToken] - Optional. A page token to request the next page of results.
*
* You get the token from the `next_page_token` field of the response from
@@ -300,9 +302,7 @@
*
* The default value is 20, and the maximum page size is 100.
*
- * [filter] - Optional. Specifies the subset of jobs to retrieve.
- *
- * Completes with a [GoogleCloudMlV1beta1ListJobsResponse].
+ * Completes with a [GoogleCloudMlV1ListJobsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
* error.
@@ -310,7 +310,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GoogleCloudMlV1beta1ListJobsResponse> list(core.String parent, {core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<GoogleCloudMlV1ListJobsResponse> list(core.String parent, {core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -321,17 +321,17 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/jobs';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/jobs';
var _response = _requester.request(_url,
"GET",
@@ -340,7 +340,7 @@
uploadOptions: _uploadOptions,
uploadMedia: _uploadMedia,
downloadOptions: _downloadOptions);
- return _response.then((data) => new GoogleCloudMlV1beta1ListJobsResponse.fromJson(data));
+ return _response.then((data) => new GoogleCloudMlV1ListJobsResponse.fromJson(data));
}
}
@@ -359,7 +359,7 @@
*
* You must add at least one version before you can request predictions from
* the model. Add versions by calling
- * [projects.models.versions.create](/ml/reference/rest/v1beta1/projects.models.versions/create).
+ * [projects.models.versions.create](/ml-engine/reference/rest/v1/projects.models.versions/create).
*
* [request] - The metadata request object.
*
@@ -370,7 +370,7 @@
* Authorization: requires `Editor` role on the specified project.
* Value must have pattern "^projects/[^/]+$".
*
- * Completes with a [GoogleCloudMlV1beta1Model].
+ * Completes with a [GoogleCloudMlV1Model].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
* error.
@@ -378,7 +378,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GoogleCloudMlV1beta1Model> create(GoogleCloudMlV1beta1Model request, core.String parent) {
+ async.Future<GoogleCloudMlV1Model> create(GoogleCloudMlV1Model request, core.String parent) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -393,7 +393,7 @@
throw new core.ArgumentError("Parameter parent is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/models';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/models';
var _response = _requester.request(_url,
"POST",
@@ -402,7 +402,7 @@
uploadOptions: _uploadOptions,
uploadMedia: _uploadMedia,
downloadOptions: _downloadOptions);
- return _response.then((data) => new GoogleCloudMlV1beta1Model.fromJson(data));
+ return _response.then((data) => new GoogleCloudMlV1Model.fromJson(data));
}
/**
@@ -410,7 +410,7 @@
*
* You can only delete a model if there are no versions in it. You can delete
* versions by calling
- * [projects.models.versions.delete](/ml/reference/rest/v1beta1/projects.models.versions/delete).
+ * [projects.models.versions.delete](/ml-engine/reference/rest/v1/projects.models.versions/delete).
*
* Request parameters:
*
@@ -439,7 +439,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name');
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
var _response = _requester.request(_url,
"DELETE",
@@ -463,7 +463,7 @@
* Authorization: requires `Viewer` role on the parent project.
* Value must have pattern "^projects/[^/]+/models/[^/]+$".
*
- * Completes with a [GoogleCloudMlV1beta1Model].
+ * Completes with a [GoogleCloudMlV1Model].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
* error.
@@ -471,7 +471,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GoogleCloudMlV1beta1Model> get(core.String name) {
+ async.Future<GoogleCloudMlV1Model> get(core.String name) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -483,7 +483,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name');
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
var _response = _requester.request(_url,
"GET",
@@ -492,7 +492,7 @@
uploadOptions: _uploadOptions,
uploadMedia: _uploadMedia,
downloadOptions: _downloadOptions);
- return _response.then((data) => new GoogleCloudMlV1beta1Model.fromJson(data));
+ return _response.then((data) => new GoogleCloudMlV1Model.fromJson(data));
}
/**
@@ -520,7 +520,7 @@
*
* The default value is 20, and the maximum page size is 100.
*
- * Completes with a [GoogleCloudMlV1beta1ListModelsResponse].
+ * Completes with a [GoogleCloudMlV1ListModelsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
* error.
@@ -528,7 +528,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GoogleCloudMlV1beta1ListModelsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<GoogleCloudMlV1ListModelsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -546,7 +546,7 @@
_queryParams["pageSize"] = ["${pageSize}"];
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/models';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/models';
var _response = _requester.request(_url,
"GET",
@@ -555,7 +555,7 @@
uploadOptions: _uploadOptions,
uploadMedia: _uploadMedia,
downloadOptions: _downloadOptions);
- return _response.then((data) => new GoogleCloudMlV1beta1ListModelsResponse.fromJson(data));
+ return _response.then((data) => new GoogleCloudMlV1ListModelsResponse.fromJson(data));
}
}
@@ -575,7 +575,7 @@
* model. When you add a version to a model that already has one or more
* versions, the default version does not automatically change. If you want a
* new version to be the default, you must call
- * [projects.models.versions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefault).
+ * [projects.models.versions.setDefault](/ml-engine/reference/rest/v1/projects.models.versions/setDefault).
*
* [request] - The metadata request object.
*
@@ -594,7 +594,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GoogleLongrunningOperation> create(GoogleCloudMlV1beta1Version request, core.String parent) {
+ async.Future<GoogleLongrunningOperation> create(GoogleCloudMlV1Version request, core.String parent) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -609,7 +609,7 @@
throw new core.ArgumentError("Parameter parent is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/versions';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/versions';
var _response = _requester.request(_url,
"POST",
@@ -635,7 +635,7 @@
* [name] - Required. The name of the version. You can get the names of all
* the
* versions of a model by calling
- * [projects.models.versions.list](/ml/reference/rest/v1beta1/projects.models.versions/list).
+ * [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list).
*
* Authorization: requires `Editor` role on the parent project.
* Value must have pattern "^projects/[^/]+/models/[^/]+/versions/[^/]+$".
@@ -660,7 +660,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name');
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
var _response = _requester.request(_url,
"DELETE",
@@ -676,7 +676,7 @@
* Gets information about a model version.
*
* Models can have multiple versions. You can call
- * [projects.models.versions.list](/ml/reference/rest/v1beta1/projects.models.versions/list)
+ * [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list)
* to get the same information that this method returns for all of the
* versions of a model.
*
@@ -687,7 +687,7 @@
* Authorization: requires `Viewer` role on the parent project.
* Value must have pattern "^projects/[^/]+/models/[^/]+/versions/[^/]+$".
*
- * Completes with a [GoogleCloudMlV1beta1Version].
+ * Completes with a [GoogleCloudMlV1Version].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
* error.
@@ -695,7 +695,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GoogleCloudMlV1beta1Version> get(core.String name) {
+ async.Future<GoogleCloudMlV1Version> get(core.String name) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -707,7 +707,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name');
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
var _response = _requester.request(_url,
"GET",
@@ -716,7 +716,7 @@
uploadOptions: _uploadOptions,
uploadMedia: _uploadMedia,
downloadOptions: _downloadOptions);
- return _response.then((data) => new GoogleCloudMlV1beta1Version.fromJson(data));
+ return _response.then((data) => new GoogleCloudMlV1Version.fromJson(data));
}
/**
@@ -745,7 +745,7 @@
*
* The default value is 20, and the maximum page size is 100.
*
- * Completes with a [GoogleCloudMlV1beta1ListVersionsResponse].
+ * Completes with a [GoogleCloudMlV1ListVersionsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
* error.
@@ -753,7 +753,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GoogleCloudMlV1beta1ListVersionsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<GoogleCloudMlV1ListVersionsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -771,7 +771,7 @@
_queryParams["pageSize"] = ["${pageSize}"];
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/versions';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/versions';
var _response = _requester.request(_url,
"GET",
@@ -780,7 +780,7 @@
uploadOptions: _uploadOptions,
uploadMedia: _uploadMedia,
downloadOptions: _downloadOptions);
- return _response.then((data) => new GoogleCloudMlV1beta1ListVersionsResponse.fromJson(data));
+ return _response.then((data) => new GoogleCloudMlV1ListVersionsResponse.fromJson(data));
}
/**
@@ -800,12 +800,12 @@
* [name] - Required. The name of the version to make the default for the
* model. You
* can get the names of all the versions of a model by calling
- * [projects.models.versions.list](/ml/reference/rest/v1beta1/projects.models.versions/list).
+ * [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list).
*
* Authorization: requires `Editor` role on the parent project.
* Value must have pattern "^projects/[^/]+/models/[^/]+/versions/[^/]+$".
*
- * Completes with a [GoogleCloudMlV1beta1Version].
+ * Completes with a [GoogleCloudMlV1Version].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
* error.
@@ -813,7 +813,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GoogleCloudMlV1beta1Version> setDefault(GoogleCloudMlV1beta1SetDefaultVersionRequest request, core.String name) {
+ async.Future<GoogleCloudMlV1Version> setDefault(GoogleCloudMlV1SetDefaultVersionRequest request, core.String name) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -828,7 +828,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name') + ':setDefault';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + ':setDefault';
var _response = _requester.request(_url,
"POST",
@@ -837,7 +837,7 @@
uploadOptions: _uploadOptions,
uploadMedia: _uploadMedia,
downloadOptions: _downloadOptions);
- return _response.then((data) => new GoogleCloudMlV1beta1Version.fromJson(data));
+ return _response.then((data) => new GoogleCloudMlV1Version.fromJson(data));
}
}
@@ -886,7 +886,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name') + ':cancel';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + ':cancel';
var _response = _requester.request(_url,
"POST",
@@ -929,7 +929,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name');
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
var _response = _requester.request(_url,
"DELETE",
@@ -971,7 +971,7 @@
throw new core.ArgumentError("Parameter name is required.");
}
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name');
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
var _response = _requester.request(_url,
"GET",
@@ -995,12 +995,12 @@
* [name] - The name of the operation collection.
* Value must have pattern "^projects/[^/]+$".
*
+ * [filter] - The standard list filter.
+ *
* [pageToken] - The standard list page token.
*
* [pageSize] - The standard list page size.
*
- * [filter] - The standard list filter.
- *
* Completes with a [GoogleLongrunningListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1009,7 +1009,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GoogleLongrunningListOperationsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<GoogleLongrunningListOperationsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1020,17 +1020,17 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
- _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$name') + '/operations';
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + '/operations';
var _response = _requester.request(_url,
"GET",
@@ -1124,6 +1124,424 @@
}
}
+/** An observed value of a metric. */
+class GoogleCloudMlV1HyperparameterOutputHyperparameterMetric {
+ /** The objective value at this training step. */
+ core.double objectiveValue;
+ /** The global training step for this metric. */
+ core.String trainingStep;
+
+ GoogleCloudMlV1HyperparameterOutputHyperparameterMetric();
+
+ GoogleCloudMlV1HyperparameterOutputHyperparameterMetric.fromJson(core.Map _json) {
+ if (_json.containsKey("objectiveValue")) {
+ objectiveValue = _json["objectiveValue"];
+ }
+ if (_json.containsKey("trainingStep")) {
+ trainingStep = _json["trainingStep"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (objectiveValue != null) {
+ _json["objectiveValue"] = objectiveValue;
+ }
+ if (trainingStep != null) {
+ _json["trainingStep"] = trainingStep;
+ }
+ return _json;
+ }
+}
+
+/** Request message for the CancelJob method. */
+class GoogleCloudMlV1CancelJobRequest {
+
+ GoogleCloudMlV1CancelJobRequest();
+
+ GoogleCloudMlV1CancelJobRequest.fromJson(core.Map _json) {
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ return _json;
+ }
+}
+
+/** Returns service account information associated with a project. */
+class GoogleCloudMlV1GetConfigResponse {
+ /** The service account Cloud ML uses to access resources in the project. */
+ core.String serviceAccount;
+ /** The project number for `service_account`. */
+ core.String serviceAccountProject;
+
+ GoogleCloudMlV1GetConfigResponse();
+
+ GoogleCloudMlV1GetConfigResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("serviceAccount")) {
+ serviceAccount = _json["serviceAccount"];
+ }
+ if (_json.containsKey("serviceAccountProject")) {
+ serviceAccountProject = _json["serviceAccountProject"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (serviceAccount != null) {
+ _json["serviceAccount"] = serviceAccount;
+ }
+ if (serviceAccountProject != null) {
+ _json["serviceAccountProject"] = serviceAccountProject;
+ }
+ return _json;
+ }
+}
+
+/**
+ * Represents the result of a single hyperparameter tuning trial from a
+ * training job. The TrainingOutput object that is returned on successful
+ * completion of a training job with hyperparameter tuning includes a list
+ * of HyperparameterOutput objects, one for each successful trial.
+ */
+class GoogleCloudMlV1HyperparameterOutput {
+ /** All recorded object metrics for this trial. */
+ core.List<GoogleCloudMlV1HyperparameterOutputHyperparameterMetric> allMetrics;
+ /** The final objective metric seen for this trial. */
+ GoogleCloudMlV1HyperparameterOutputHyperparameterMetric finalMetric;
+ /** The hyperparameters given to this trial. */
+ core.Map<core.String, core.String> hyperparameters;
+ /** The trial id for these results. */
+ core.String trialId;
+
+ GoogleCloudMlV1HyperparameterOutput();
+
+ GoogleCloudMlV1HyperparameterOutput.fromJson(core.Map _json) {
+ if (_json.containsKey("allMetrics")) {
+ allMetrics = _json["allMetrics"].map((value) => new GoogleCloudMlV1HyperparameterOutputHyperparameterMetric.fromJson(value)).toList();
+ }
+ if (_json.containsKey("finalMetric")) {
+ finalMetric = new GoogleCloudMlV1HyperparameterOutputHyperparameterMetric.fromJson(_json["finalMetric"]);
+ }
+ if (_json.containsKey("hyperparameters")) {
+ hyperparameters = _json["hyperparameters"];
+ }
+ if (_json.containsKey("trialId")) {
+ trialId = _json["trialId"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (allMetrics != null) {
+ _json["allMetrics"] = allMetrics.map((value) => (value).toJson()).toList();
+ }
+ if (finalMetric != null) {
+ _json["finalMetric"] = (finalMetric).toJson();
+ }
+ if (hyperparameters != null) {
+ _json["hyperparameters"] = hyperparameters;
+ }
+ if (trialId != null) {
+ _json["trialId"] = trialId;
+ }
+ return _json;
+ }
+}
+
+/** Represents a set of hyperparameters to optimize. */
+class GoogleCloudMlV1HyperparameterSpec {
+ /**
+ * Required. The type of goal to use for tuning. Available types are
+ * `MAXIMIZE` and `MINIMIZE`.
+ *
+ * Defaults to `MAXIMIZE`.
+ * Possible string values are:
+ * - "GOAL_TYPE_UNSPECIFIED" : Goal Type will default to maximize.
+ * - "MAXIMIZE" : Maximize the goal metric.
+ * - "MINIMIZE" : Minimize the goal metric.
+ */
+ core.String goal;
+ /**
+ * Optional. The Tensorflow summary tag name to use for optimizing trials. For
+ * current versions of Tensorflow, this tag name should exactly match what is
+ * shown in Tensorboard, including all scopes. For versions of Tensorflow
+ * prior to 0.12, this should be only the tag passed to tf.Summary.
+ * By default, "training/hptuning/metric" will be used.
+ */
+ core.String hyperparameterMetricTag;
+ /**
+ * Optional. The number of training trials to run concurrently.
+ * You can reduce the time it takes to perform hyperparameter tuning by adding
+ * trials in parallel. However, each trail only benefits from the information
+ * gained in completed trials. That means that a trial does not get access to
+ * the results of trials running at the same time, which could reduce the
+ * quality of the overall optimization.
+ *
+ * Each trial will use the same scale tier and machine types.
+ *
+ * Defaults to one.
+ */
+ core.int maxParallelTrials;
+ /**
+ * Optional. How many training trials should be attempted to optimize
+ * the specified hyperparameters.
+ *
+ * Defaults to one.
+ */
+ core.int maxTrials;
+ /** Required. The set of parameters to tune. */
+ core.List<GoogleCloudMlV1ParameterSpec> params;
+
+ GoogleCloudMlV1HyperparameterSpec();
+
+ GoogleCloudMlV1HyperparameterSpec.fromJson(core.Map _json) {
+ if (_json.containsKey("goal")) {
+ goal = _json["goal"];
+ }
+ if (_json.containsKey("hyperparameterMetricTag")) {
+ hyperparameterMetricTag = _json["hyperparameterMetricTag"];
+ }
+ if (_json.containsKey("maxParallelTrials")) {
+ maxParallelTrials = _json["maxParallelTrials"];
+ }
+ if (_json.containsKey("maxTrials")) {
+ maxTrials = _json["maxTrials"];
+ }
+ if (_json.containsKey("params")) {
+ params = _json["params"].map((value) => new GoogleCloudMlV1ParameterSpec.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (goal != null) {
+ _json["goal"] = goal;
+ }
+ if (hyperparameterMetricTag != null) {
+ _json["hyperparameterMetricTag"] = hyperparameterMetricTag;
+ }
+ if (maxParallelTrials != null) {
+ _json["maxParallelTrials"] = maxParallelTrials;
+ }
+ if (maxTrials != null) {
+ _json["maxTrials"] = maxTrials;
+ }
+ if (params != null) {
+ _json["params"] = params.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/** Represents a training or prediction job. */
+class GoogleCloudMlV1Job {
+ /** Output only. When the job was created. */
+ core.String createTime;
+ /** Output only. When the job processing was completed. */
+ core.String endTime;
+ /** Output only. The details of a failure or a cancellation. */
+ core.String errorMessage;
+ /** Required. The user-specified id of the job. */
+ core.String jobId;
+ /** Input parameters to create a prediction job. */
+ GoogleCloudMlV1PredictionInput predictionInput;
+ /** The current prediction job result. */
+ GoogleCloudMlV1PredictionOutput predictionOutput;
+ /** Output only. When the job processing was started. */
+ core.String startTime;
+ /**
+ * Output only. The detailed state of a job.
+ * Possible string values are:
+ * - "STATE_UNSPECIFIED" : The job state is unspecified.
+ * - "QUEUED" : The job has been just created and processing has not yet
+ * begun.
+ * - "PREPARING" : The service is preparing to run the job.
+ * - "RUNNING" : The job is in progress.
+ * - "SUCCEEDED" : The job completed successfully.
+ * - "FAILED" : The job failed.
+ * `error_message` should contain the details of the failure.
+ * - "CANCELLING" : The job is being cancelled.
+ * `error_message` should describe the reason for the cancellation.
+ * - "CANCELLED" : The job has been cancelled.
+ * `error_message` should describe the reason for the cancellation.
+ */
+ core.String state;
+ /** Input parameters to create a training job. */
+ GoogleCloudMlV1TrainingInput trainingInput;
+ /** The current training job result. */
+ GoogleCloudMlV1TrainingOutput trainingOutput;
+
+ GoogleCloudMlV1Job();
+
+ GoogleCloudMlV1Job.fromJson(core.Map _json) {
+ if (_json.containsKey("createTime")) {
+ createTime = _json["createTime"];
+ }
+ if (_json.containsKey("endTime")) {
+ endTime = _json["endTime"];
+ }
+ if (_json.containsKey("errorMessage")) {
+ errorMessage = _json["errorMessage"];
+ }
+ if (_json.containsKey("jobId")) {
+ jobId = _json["jobId"];
+ }
+ if (_json.containsKey("predictionInput")) {
+ predictionInput = new GoogleCloudMlV1PredictionInput.fromJson(_json["predictionInput"]);
+ }
+ if (_json.containsKey("predictionOutput")) {
+ predictionOutput = new GoogleCloudMlV1PredictionOutput.fromJson(_json["predictionOutput"]);
+ }
+ if (_json.containsKey("startTime")) {
+ startTime = _json["startTime"];
+ }
+ if (_json.containsKey("state")) {
+ state = _json["state"];
+ }
+ if (_json.containsKey("trainingInput")) {
+ trainingInput = new GoogleCloudMlV1TrainingInput.fromJson(_json["trainingInput"]);
+ }
+ if (_json.containsKey("trainingOutput")) {
+ trainingOutput = new GoogleCloudMlV1TrainingOutput.fromJson(_json["trainingOutput"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (createTime != null) {
+ _json["createTime"] = createTime;
+ }
+ if (endTime != null) {
+ _json["endTime"] = endTime;
+ }
+ if (errorMessage != null) {
+ _json["errorMessage"] = errorMessage;
+ }
+ if (jobId != null) {
+ _json["jobId"] = jobId;
+ }
+ if (predictionInput != null) {
+ _json["predictionInput"] = (predictionInput).toJson();
+ }
+ if (predictionOutput != null) {
+ _json["predictionOutput"] = (predictionOutput).toJson();
+ }
+ if (startTime != null) {
+ _json["startTime"] = startTime;
+ }
+ if (state != null) {
+ _json["state"] = state;
+ }
+ if (trainingInput != null) {
+ _json["trainingInput"] = (trainingInput).toJson();
+ }
+ if (trainingOutput != null) {
+ _json["trainingOutput"] = (trainingOutput).toJson();
+ }
+ return _json;
+ }
+}
+
+/** Response message for the ListJobs method. */
+class GoogleCloudMlV1ListJobsResponse {
+ /** The list of jobs. */
+ core.List<GoogleCloudMlV1Job> jobs;
+ /**
+ * Optional. Pass this token as the `page_token` field of the request for a
+ * subsequent call.
+ */
+ core.String nextPageToken;
+
+ GoogleCloudMlV1ListJobsResponse();
+
+ GoogleCloudMlV1ListJobsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("jobs")) {
+ jobs = _json["jobs"].map((value) => new GoogleCloudMlV1Job.fromJson(value)).toList();
+ }
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (jobs != null) {
+ _json["jobs"] = jobs.map((value) => (value).toJson()).toList();
+ }
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ return _json;
+ }
+}
+
+/** Response message for the ListModels method. */
+class GoogleCloudMlV1ListModelsResponse {
+ /** The list of models. */
+ core.List<GoogleCloudMlV1Model> models;
+ /**
+ * Optional. Pass this token as the `page_token` field of the request for a
+ * subsequent call.
+ */
+ core.String nextPageToken;
+
+ GoogleCloudMlV1ListModelsResponse();
+
+ GoogleCloudMlV1ListModelsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("models")) {
+ models = _json["models"].map((value) => new GoogleCloudMlV1Model.fromJson(value)).toList();
+ }
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (models != null) {
+ _json["models"] = models.map((value) => (value).toJson()).toList();
+ }
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ return _json;
+ }
+}
+
+/** Response message for the ListVersions method. */
+class GoogleCloudMlV1ListVersionsResponse {
+ /**
+ * Optional. Pass this token as the `page_token` field of the request for a
+ * subsequent call.
+ */
+ core.String nextPageToken;
+ /** The list of versions. */
+ core.List<GoogleCloudMlV1Version> versions;
+
+ GoogleCloudMlV1ListVersionsResponse();
+
+ GoogleCloudMlV1ListVersionsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("versions")) {
+ versions = _json["versions"].map((value) => new GoogleCloudMlV1Version.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ if (versions != null) {
+ _json["versions"] = versions.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
/** Options for manually scaling a model. */
class GoogleCloudMlV1ManualScaling {
/**
@@ -1151,6 +1569,89 @@
}
}
+/**
+ * Represents a machine learning solution.
+ *
+ * A model can have multiple versions, each of which is a deployed, trained
+ * model ready to receive prediction requests. The model itself is just a
+ * container.
+ */
+class GoogleCloudMlV1Model {
+ /**
+ * Output only. The default version of the model. This version will be used to
+ * handle prediction requests that do not specify a version.
+ *
+ * You can change the default version by calling
+ * [projects.methods.versions.setDefault](/ml-engine/reference/rest/v1/projects.models.versions/setDefault).
+ */
+ GoogleCloudMlV1Version defaultVersion;
+ /** Optional. The description specified for the model when it was created. */
+ core.String description;
+ /**
+ * Required. The name specified for the model when it was created.
+ *
+ * The model name must be unique within the project it is created in.
+ */
+ core.String name;
+ /**
+ * Optional. If true, enables StackDriver Logging for online prediction.
+ * Default is false.
+ */
+ core.bool onlinePredictionLogging;
+ /**
+ * Optional. The list of regions where the model is going to be deployed.
+ * Currently only one region per model is supported.
+ * Defaults to 'us-central1' if nothing is set.
+ * Note:
+ * * No matter where a model is deployed, it can always be accessed by
+ * users from anywhere, both for online and batch prediction.
+ * * The region for a batch prediction job is set by the region field when
+ * submitting the batch prediction job and does not take its value from
+ * this field.
+ */
+ core.List<core.String> regions;
+
+ GoogleCloudMlV1Model();
+
+ GoogleCloudMlV1Model.fromJson(core.Map _json) {
+ if (_json.containsKey("defaultVersion")) {
+ defaultVersion = new GoogleCloudMlV1Version.fromJson(_json["defaultVersion"]);
+ }
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("onlinePredictionLogging")) {
+ onlinePredictionLogging = _json["onlinePredictionLogging"];
+ }
+ if (_json.containsKey("regions")) {
+ regions = _json["regions"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (defaultVersion != null) {
+ _json["defaultVersion"] = (defaultVersion).toJson();
+ }
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (onlinePredictionLogging != null) {
+ _json["onlinePredictionLogging"] = onlinePredictionLogging;
+ }
+ if (regions != null) {
+ _json["regions"] = regions;
+ }
+ return _json;
+ }
+}
+
/** Represents the metadata of the long-running operation. */
class GoogleCloudMlV1OperationMetadata {
/** The time the operation was submitted. */
@@ -1228,725 +1729,8 @@
}
}
-/**
- * Represents a version of the model.
- *
- * Each version is a trained model deployed in the cloud, ready to handle
- * prediction requests. A model can have multiple versions. You can get
- * information about all of the versions of a given model by calling
- * [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list).
- */
-class GoogleCloudMlV1Version {
- /** Output only. The time the version was created. */
- core.String createTime;
- /**
- * Required. The Google Cloud Storage location of the trained model used to
- * create the version. See the
- * [overview of model deployment](/ml/docs/concepts/deployment-overview) for
- * more informaiton.
- *
- * When passing Version to
- * [projects.models.versions.create](/ml/reference/rest/v1/projects.models.versions/create)
- * the model service uses the specified location as the source of the model.
- * Once deployed, the model version is hosted by the prediction service, so
- * this location is useful only as a historical record.
- */
- core.String deploymentUri;
- /**
- * Optional. The description specified for the version when it was created.
- */
- core.String description;
- /**
- * Output only. If true, this version will be used to handle prediction
- * requests that do not specify a version.
- *
- * You can change the default version by calling
- * [projects.methods.versions.setDefault](/ml/reference/rest/v1/projects.models.versions/setDefault).
- */
- core.bool isDefault;
- /** Output only. The time the version was last used for prediction. */
- core.String lastUseTime;
- /**
- * Optional. Manually select the number of nodes to use for serving the
- * model. If unset (i.e., by default), the number of nodes used to serve
- * the model automatically scales with traffic. However, care should be
- * taken to ramp up traffic according to the model's ability to scale. If
- * your model needs to handle bursts of traffic beyond it's ability to
- * scale, it is recommended you set this field appropriately.
- */
- GoogleCloudMlV1ManualScaling manualScaling;
- /**
- * Required.The name specified for the version when it was created.
- *
- * The version name must be unique within the model it is created in.
- */
- core.String name;
- /**
- * Optional. The Google Cloud ML runtime version to use for this deployment.
- * If not set, Google Cloud ML will choose a version.
- */
- core.String runtimeVersion;
-
- GoogleCloudMlV1Version();
-
- GoogleCloudMlV1Version.fromJson(core.Map _json) {
- if (_json.containsKey("createTime")) {
- createTime = _json["createTime"];
- }
- if (_json.containsKey("deploymentUri")) {
- deploymentUri = _json["deploymentUri"];
- }
- if (_json.containsKey("description")) {
- description = _json["description"];
- }
- if (_json.containsKey("isDefault")) {
- isDefault = _json["isDefault"];
- }
- if (_json.containsKey("lastUseTime")) {
- lastUseTime = _json["lastUseTime"];
- }
- if (_json.containsKey("manualScaling")) {
- manualScaling = new GoogleCloudMlV1ManualScaling.fromJson(_json["manualScaling"]);
- }
- if (_json.containsKey("name")) {
- name = _json["name"];
- }
- if (_json.containsKey("runtimeVersion")) {
- runtimeVersion = _json["runtimeVersion"];
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (createTime != null) {
- _json["createTime"] = createTime;
- }
- if (deploymentUri != null) {
- _json["deploymentUri"] = deploymentUri;
- }
- if (description != null) {
- _json["description"] = description;
- }
- if (isDefault != null) {
- _json["isDefault"] = isDefault;
- }
- if (lastUseTime != null) {
- _json["lastUseTime"] = lastUseTime;
- }
- if (manualScaling != null) {
- _json["manualScaling"] = (manualScaling).toJson();
- }
- if (name != null) {
- _json["name"] = name;
- }
- if (runtimeVersion != null) {
- _json["runtimeVersion"] = runtimeVersion;
- }
- return _json;
- }
-}
-
-/** An observed value of a metric. */
-class GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric {
- /** The objective value at this training step. */
- core.double objectiveValue;
- /** The global training step for this metric. */
- core.String trainingStep;
-
- GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric();
-
- GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric.fromJson(core.Map _json) {
- if (_json.containsKey("objectiveValue")) {
- objectiveValue = _json["objectiveValue"];
- }
- if (_json.containsKey("trainingStep")) {
- trainingStep = _json["trainingStep"];
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (objectiveValue != null) {
- _json["objectiveValue"] = objectiveValue;
- }
- if (trainingStep != null) {
- _json["trainingStep"] = trainingStep;
- }
- return _json;
- }
-}
-
-/** Request message for the CancelJob method. */
-class GoogleCloudMlV1beta1CancelJobRequest {
-
- GoogleCloudMlV1beta1CancelJobRequest();
-
- GoogleCloudMlV1beta1CancelJobRequest.fromJson(core.Map _json) {
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- return _json;
- }
-}
-
-/** Returns service account information associated with a project. */
-class GoogleCloudMlV1beta1GetConfigResponse {
- /** The service account Cloud ML uses to access resources in the project. */
- core.String serviceAccount;
- /** The project number for `service_account`. */
- core.String serviceAccountProject;
-
- GoogleCloudMlV1beta1GetConfigResponse();
-
- GoogleCloudMlV1beta1GetConfigResponse.fromJson(core.Map _json) {
- if (_json.containsKey("serviceAccount")) {
- serviceAccount = _json["serviceAccount"];
- }
- if (_json.containsKey("serviceAccountProject")) {
- serviceAccountProject = _json["serviceAccountProject"];
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (serviceAccount != null) {
- _json["serviceAccount"] = serviceAccount;
- }
- if (serviceAccountProject != null) {
- _json["serviceAccountProject"] = serviceAccountProject;
- }
- return _json;
- }
-}
-
-/**
- * Represents the result of a single hyperparameter tuning trial from a
- * training job. The TrainingOutput object that is returned on successful
- * completion of a training job with hyperparameter tuning includes a list
- * of HyperparameterOutput objects, one for each successful trial.
- */
-class GoogleCloudMlV1beta1HyperparameterOutput {
- /** All recorded object metrics for this trial. */
- core.List<GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric> allMetrics;
- /** The final objective metric seen for this trial. */
- GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric finalMetric;
- /** The hyperparameters given to this trial. */
- core.Map<core.String, core.String> hyperparameters;
- /** The trial id for these results. */
- core.String trialId;
-
- GoogleCloudMlV1beta1HyperparameterOutput();
-
- GoogleCloudMlV1beta1HyperparameterOutput.fromJson(core.Map _json) {
- if (_json.containsKey("allMetrics")) {
- allMetrics = _json["allMetrics"].map((value) => new GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric.fromJson(value)).toList();
- }
- if (_json.containsKey("finalMetric")) {
- finalMetric = new GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric.fromJson(_json["finalMetric"]);
- }
- if (_json.containsKey("hyperparameters")) {
- hyperparameters = _json["hyperparameters"];
- }
- if (_json.containsKey("trialId")) {
- trialId = _json["trialId"];
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (allMetrics != null) {
- _json["allMetrics"] = allMetrics.map((value) => (value).toJson()).toList();
- }
- if (finalMetric != null) {
- _json["finalMetric"] = (finalMetric).toJson();
- }
- if (hyperparameters != null) {
- _json["hyperparameters"] = hyperparameters;
- }
- if (trialId != null) {
- _json["trialId"] = trialId;
- }
- return _json;
- }
-}
-
-/** Represents a set of hyperparameters to optimize. */
-class GoogleCloudMlV1beta1HyperparameterSpec {
- /**
- * Required. The type of goal to use for tuning. Available types are
- * `MAXIMIZE` and `MINIMIZE`.
- *
- * Defaults to `MAXIMIZE`.
- * Possible string values are:
- * - "GOAL_TYPE_UNSPECIFIED" : Goal Type will default to maximize.
- * - "MAXIMIZE" : Maximize the goal metric.
- * - "MINIMIZE" : Minimize the goal metric.
- */
- core.String goal;
- /**
- * Optional. The Tensorflow summary tag name to use for optimizing trials. For
- * current versions of Tensorflow, this tag name should exactly match what is
- * shown in Tensorboard, including all scopes. For versions of Tensorflow
- * prior to 0.12, this should be only the tag passed to tf.Summary.
- * By default, "training/hptuning/metric" will be used.
- */
- core.String hyperparameterMetricTag;
- /**
- * Optional. The number of training trials to run concurrently.
- * You can reduce the time it takes to perform hyperparameter tuning by adding
- * trials in parallel. However, each trail only benefits from the information
- * gained in completed trials. That means that a trial does not get access to
- * the results of trials running at the same time, which could reduce the
- * quality of the overall optimization.
- *
- * Each trial will use the same scale tier and machine types.
- *
- * Defaults to one.
- */
- core.int maxParallelTrials;
- /**
- * Optional. How many training trials should be attempted to optimize
- * the specified hyperparameters.
- *
- * Defaults to one.
- */
- core.int maxTrials;
- /** Required. The set of parameters to tune. */
- core.List<GoogleCloudMlV1beta1ParameterSpec> params;
-
- GoogleCloudMlV1beta1HyperparameterSpec();
-
- GoogleCloudMlV1beta1HyperparameterSpec.fromJson(core.Map _json) {
- if (_json.containsKey("goal")) {
- goal = _json["goal"];
- }
- if (_json.containsKey("hyperparameterMetricTag")) {
- hyperparameterMetricTag = _json["hyperparameterMetricTag"];
- }
- if (_json.containsKey("maxParallelTrials")) {
- maxParallelTrials = _json["maxParallelTrials"];
- }
- if (_json.containsKey("maxTrials")) {
- maxTrials = _json["maxTrials"];
- }
- if (_json.containsKey("params")) {
- params = _json["params"].map((value) => new GoogleCloudMlV1beta1ParameterSpec.fromJson(value)).toList();
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (goal != null) {
- _json["goal"] = goal;
- }
- if (hyperparameterMetricTag != null) {
- _json["hyperparameterMetricTag"] = hyperparameterMetricTag;
- }
- if (maxParallelTrials != null) {
- _json["maxParallelTrials"] = maxParallelTrials;
- }
- if (maxTrials != null) {
- _json["maxTrials"] = maxTrials;
- }
- if (params != null) {
- _json["params"] = params.map((value) => (value).toJson()).toList();
- }
- return _json;
- }
-}
-
-/** Represents a training or prediction job. */
-class GoogleCloudMlV1beta1Job {
- /** Output only. When the job was created. */
- core.String createTime;
- /** Output only. When the job processing was completed. */
- core.String endTime;
- /** Output only. The details of a failure or a cancellation. */
- core.String errorMessage;
- /** Required. The user-specified id of the job. */
- core.String jobId;
- /** Input parameters to create a prediction job. */
- GoogleCloudMlV1beta1PredictionInput predictionInput;
- /** The current prediction job result. */
- GoogleCloudMlV1beta1PredictionOutput predictionOutput;
- /** Output only. When the job processing was started. */
- core.String startTime;
- /**
- * Output only. The detailed state of a job.
- * Possible string values are:
- * - "STATE_UNSPECIFIED" : The job state is unspecified.
- * - "QUEUED" : The job has been just created and processing has not yet
- * begun.
- * - "PREPARING" : The service is preparing to run the job.
- * - "RUNNING" : The job is in progress.
- * - "SUCCEEDED" : The job completed successfully.
- * - "FAILED" : The job failed.
- * `error_message` should contain the details of the failure.
- * - "CANCELLING" : The job is being cancelled.
- * `error_message` should describe the reason for the cancellation.
- * - "CANCELLED" : The job has been cancelled.
- * `error_message` should describe the reason for the cancellation.
- */
- core.String state;
- /** Input parameters to create a training job. */
- GoogleCloudMlV1beta1TrainingInput trainingInput;
- /** The current training job result. */
- GoogleCloudMlV1beta1TrainingOutput trainingOutput;
-
- GoogleCloudMlV1beta1Job();
-
- GoogleCloudMlV1beta1Job.fromJson(core.Map _json) {
- if (_json.containsKey("createTime")) {
- createTime = _json["createTime"];
- }
- if (_json.containsKey("endTime")) {
- endTime = _json["endTime"];
- }
- if (_json.containsKey("errorMessage")) {
- errorMessage = _json["errorMessage"];
- }
- if (_json.containsKey("jobId")) {
- jobId = _json["jobId"];
- }
- if (_json.containsKey("predictionInput")) {
- predictionInput = new GoogleCloudMlV1beta1PredictionInput.fromJson(_json["predictionInput"]);
- }
- if (_json.containsKey("predictionOutput")) {
- predictionOutput = new GoogleCloudMlV1beta1PredictionOutput.fromJson(_json["predictionOutput"]);
- }
- if (_json.containsKey("startTime")) {
- startTime = _json["startTime"];
- }
- if (_json.containsKey("state")) {
- state = _json["state"];
- }
- if (_json.containsKey("trainingInput")) {
- trainingInput = new GoogleCloudMlV1beta1TrainingInput.fromJson(_json["trainingInput"]);
- }
- if (_json.containsKey("trainingOutput")) {
- trainingOutput = new GoogleCloudMlV1beta1TrainingOutput.fromJson(_json["trainingOutput"]);
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (createTime != null) {
- _json["createTime"] = createTime;
- }
- if (endTime != null) {
- _json["endTime"] = endTime;
- }
- if (errorMessage != null) {
- _json["errorMessage"] = errorMessage;
- }
- if (jobId != null) {
- _json["jobId"] = jobId;
- }
- if (predictionInput != null) {
- _json["predictionInput"] = (predictionInput).toJson();
- }
- if (predictionOutput != null) {
- _json["predictionOutput"] = (predictionOutput).toJson();
- }
- if (startTime != null) {
- _json["startTime"] = startTime;
- }
- if (state != null) {
- _json["state"] = state;
- }
- if (trainingInput != null) {
- _json["trainingInput"] = (trainingInput).toJson();
- }
- if (trainingOutput != null) {
- _json["trainingOutput"] = (trainingOutput).toJson();
- }
- return _json;
- }
-}
-
-/** Response message for the ListJobs method. */
-class GoogleCloudMlV1beta1ListJobsResponse {
- /** The list of jobs. */
- core.List<GoogleCloudMlV1beta1Job> jobs;
- /**
- * Optional. Pass this token as the `page_token` field of the request for a
- * subsequent call.
- */
- core.String nextPageToken;
-
- GoogleCloudMlV1beta1ListJobsResponse();
-
- GoogleCloudMlV1beta1ListJobsResponse.fromJson(core.Map _json) {
- if (_json.containsKey("jobs")) {
- jobs = _json["jobs"].map((value) => new GoogleCloudMlV1beta1Job.fromJson(value)).toList();
- }
- if (_json.containsKey("nextPageToken")) {
- nextPageToken = _json["nextPageToken"];
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (jobs != null) {
- _json["jobs"] = jobs.map((value) => (value).toJson()).toList();
- }
- if (nextPageToken != null) {
- _json["nextPageToken"] = nextPageToken;
- }
- return _json;
- }
-}
-
-/** Response message for the ListModels method. */
-class GoogleCloudMlV1beta1ListModelsResponse {
- /** The list of models. */
- core.List<GoogleCloudMlV1beta1Model> models;
- /**
- * Optional. Pass this token as the `page_token` field of the request for a
- * subsequent call.
- */
- core.String nextPageToken;
-
- GoogleCloudMlV1beta1ListModelsResponse();
-
- GoogleCloudMlV1beta1ListModelsResponse.fromJson(core.Map _json) {
- if (_json.containsKey("models")) {
- models = _json["models"].map((value) => new GoogleCloudMlV1beta1Model.fromJson(value)).toList();
- }
- if (_json.containsKey("nextPageToken")) {
- nextPageToken = _json["nextPageToken"];
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (models != null) {
- _json["models"] = models.map((value) => (value).toJson()).toList();
- }
- if (nextPageToken != null) {
- _json["nextPageToken"] = nextPageToken;
- }
- return _json;
- }
-}
-
-/** Response message for the ListVersions method. */
-class GoogleCloudMlV1beta1ListVersionsResponse {
- /**
- * Optional. Pass this token as the `page_token` field of the request for a
- * subsequent call.
- */
- core.String nextPageToken;
- /** The list of versions. */
- core.List<GoogleCloudMlV1beta1Version> versions;
-
- GoogleCloudMlV1beta1ListVersionsResponse();
-
- GoogleCloudMlV1beta1ListVersionsResponse.fromJson(core.Map _json) {
- if (_json.containsKey("nextPageToken")) {
- nextPageToken = _json["nextPageToken"];
- }
- if (_json.containsKey("versions")) {
- versions = _json["versions"].map((value) => new GoogleCloudMlV1beta1Version.fromJson(value)).toList();
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (nextPageToken != null) {
- _json["nextPageToken"] = nextPageToken;
- }
- if (versions != null) {
- _json["versions"] = versions.map((value) => (value).toJson()).toList();
- }
- return _json;
- }
-}
-
-/** Options for manually scaling a model. */
-class GoogleCloudMlV1beta1ManualScaling {
- /**
- * The number of nodes to allocate for this model. These nodes are always up,
- * starting from the time the model is deployed, so the cost of operating
- * this model will be proportional to nodes * number of hours since
- * deployment.
- */
- core.int nodes;
-
- GoogleCloudMlV1beta1ManualScaling();
-
- GoogleCloudMlV1beta1ManualScaling.fromJson(core.Map _json) {
- if (_json.containsKey("nodes")) {
- nodes = _json["nodes"];
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (nodes != null) {
- _json["nodes"] = nodes;
- }
- return _json;
- }
-}
-
-/**
- * Represents a machine learning solution.
- *
- * A model can have multiple versions, each of which is a deployed, trained
- * model ready to receive prediction requests. The model itself is just a
- * container.
- */
-class GoogleCloudMlV1beta1Model {
- /**
- * Output only. The default version of the model. This version will be used to
- * handle prediction requests that do not specify a version.
- *
- * You can change the default version by calling
- * [projects.methods.versions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefault).
- */
- GoogleCloudMlV1beta1Version defaultVersion;
- /** Optional. The description specified for the model when it was created. */
- core.String description;
- /**
- * Required. The name specified for the model when it was created.
- *
- * The model name must be unique within the project it is created in.
- */
- core.String name;
- /**
- * Optional. If true, enables StackDriver Logging for online prediction.
- * Default is false.
- */
- core.bool onlinePredictionLogging;
- /**
- * Optional. The list of regions where the model is going to be deployed.
- * Currently only one region per model is supported.
- * Defaults to 'us-central1' if nothing is set.
- */
- core.List<core.String> regions;
-
- GoogleCloudMlV1beta1Model();
-
- GoogleCloudMlV1beta1Model.fromJson(core.Map _json) {
- if (_json.containsKey("defaultVersion")) {
- defaultVersion = new GoogleCloudMlV1beta1Version.fromJson(_json["defaultVersion"]);
- }
- if (_json.containsKey("description")) {
- description = _json["description"];
- }
- if (_json.containsKey("name")) {
- name = _json["name"];
- }
- if (_json.containsKey("onlinePredictionLogging")) {
- onlinePredictionLogging = _json["onlinePredictionLogging"];
- }
- if (_json.containsKey("regions")) {
- regions = _json["regions"];
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (defaultVersion != null) {
- _json["defaultVersion"] = (defaultVersion).toJson();
- }
- if (description != null) {
- _json["description"] = description;
- }
- if (name != null) {
- _json["name"] = name;
- }
- if (onlinePredictionLogging != null) {
- _json["onlinePredictionLogging"] = onlinePredictionLogging;
- }
- if (regions != null) {
- _json["regions"] = regions;
- }
- return _json;
- }
-}
-
-/** Represents the metadata of the long-running operation. */
-class GoogleCloudMlV1beta1OperationMetadata {
- /** The time the operation was submitted. */
- core.String createTime;
- /** The time operation processing completed. */
- core.String endTime;
- /** Indicates whether a request to cancel this operation has been made. */
- core.bool isCancellationRequested;
- /** Contains the name of the model associated with the operation. */
- core.String modelName;
- /**
- * The operation type.
- * Possible string values are:
- * - "OPERATION_TYPE_UNSPECIFIED" : Unspecified operation type.
- * - "CREATE_VERSION" : An operation to create a new version.
- * - "DELETE_VERSION" : An operation to delete an existing version.
- * - "DELETE_MODEL" : An operation to delete an existing model.
- */
- core.String operationType;
- /** The time operation processing started. */
- core.String startTime;
- /** Contains the version associated with the operation. */
- GoogleCloudMlV1beta1Version version;
-
- GoogleCloudMlV1beta1OperationMetadata();
-
- GoogleCloudMlV1beta1OperationMetadata.fromJson(core.Map _json) {
- if (_json.containsKey("createTime")) {
- createTime = _json["createTime"];
- }
- if (_json.containsKey("endTime")) {
- endTime = _json["endTime"];
- }
- if (_json.containsKey("isCancellationRequested")) {
- isCancellationRequested = _json["isCancellationRequested"];
- }
- if (_json.containsKey("modelName")) {
- modelName = _json["modelName"];
- }
- if (_json.containsKey("operationType")) {
- operationType = _json["operationType"];
- }
- if (_json.containsKey("startTime")) {
- startTime = _json["startTime"];
- }
- if (_json.containsKey("version")) {
- version = new GoogleCloudMlV1beta1Version.fromJson(_json["version"]);
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (createTime != null) {
- _json["createTime"] = createTime;
- }
- if (endTime != null) {
- _json["endTime"] = endTime;
- }
- if (isCancellationRequested != null) {
- _json["isCancellationRequested"] = isCancellationRequested;
- }
- if (modelName != null) {
- _json["modelName"] = modelName;
- }
- if (operationType != null) {
- _json["operationType"] = operationType;
- }
- if (startTime != null) {
- _json["startTime"] = startTime;
- }
- if (version != null) {
- _json["version"] = (version).toJson();
- }
- return _json;
- }
-}
-
/** Represents a single hyperparameter to optimize. */
-class GoogleCloudMlV1beta1ParameterSpec {
+class GoogleCloudMlV1ParameterSpec {
/** Required if type is `CATEGORICAL`. The list of possible categories. */
core.List<core.String> categoricalValues;
/**
@@ -2010,9 +1794,9 @@
*/
core.String type;
- GoogleCloudMlV1beta1ParameterSpec();
+ GoogleCloudMlV1ParameterSpec();
- GoogleCloudMlV1beta1ParameterSpec.fromJson(core.Map _json) {
+ GoogleCloudMlV1ParameterSpec.fromJson(core.Map _json) {
if (_json.containsKey("categoricalValues")) {
categoricalValues = _json["categoricalValues"];
}
@@ -2251,16 +2035,16 @@
* instance, the response body will contain no predictions and will contian
* a single error entry instead.
*/
-class GoogleCloudMlV1beta1PredictRequest {
+class GoogleCloudMlV1PredictRequest {
/**
*
* Required. The prediction request body.
*/
GoogleApiHttpBody httpBody;
- GoogleCloudMlV1beta1PredictRequest();
+ GoogleCloudMlV1PredictRequest();
- GoogleCloudMlV1beta1PredictRequest.fromJson(core.Map _json) {
+ GoogleCloudMlV1PredictRequest.fromJson(core.Map _json) {
if (_json.containsKey("httpBody")) {
httpBody = new GoogleApiHttpBody.fromJson(_json["httpBody"]);
}
@@ -2276,7 +2060,7 @@
}
/** Represents input parameters for a prediction job. */
-class GoogleCloudMlV1beta1PredictionInput {
+class GoogleCloudMlV1PredictionInput {
/**
* Required. The format of the input data files.
* Possible string values are:
@@ -2332,9 +2116,9 @@
*/
core.String versionName;
- GoogleCloudMlV1beta1PredictionInput();
+ GoogleCloudMlV1PredictionInput();
- GoogleCloudMlV1beta1PredictionInput.fromJson(core.Map _json) {
+ GoogleCloudMlV1PredictionInput.fromJson(core.Map _json) {
if (_json.containsKey("dataFormat")) {
dataFormat = _json["dataFormat"];
}
@@ -2398,7 +2182,7 @@
}
/** Represents results of a prediction job. */
-class GoogleCloudMlV1beta1PredictionOutput {
+class GoogleCloudMlV1PredictionOutput {
/** The number of data instances which resulted in errors. */
core.String errorCount;
/** Node hours used by the batch prediction job. */
@@ -2410,9 +2194,9 @@
/** The number of generated predictions. */
core.String predictionCount;
- GoogleCloudMlV1beta1PredictionOutput();
+ GoogleCloudMlV1PredictionOutput();
- GoogleCloudMlV1beta1PredictionOutput.fromJson(core.Map _json) {
+ GoogleCloudMlV1PredictionOutput.fromJson(core.Map _json) {
if (_json.containsKey("errorCount")) {
errorCount = _json["errorCount"];
}
@@ -2446,11 +2230,11 @@
}
/** Request message for the SetDefaultVersion request. */
-class GoogleCloudMlV1beta1SetDefaultVersionRequest {
+class GoogleCloudMlV1SetDefaultVersionRequest {
- GoogleCloudMlV1beta1SetDefaultVersionRequest();
+ GoogleCloudMlV1SetDefaultVersionRequest();
- GoogleCloudMlV1beta1SetDefaultVersionRequest.fromJson(core.Map _json) {
+ GoogleCloudMlV1SetDefaultVersionRequest.fromJson(core.Map _json) {
}
core.Map toJson() {
@@ -2460,11 +2244,11 @@
}
/** Represents input parameters for a training job. */
-class GoogleCloudMlV1beta1TrainingInput {
+class GoogleCloudMlV1TrainingInput {
/** Optional. Command line arguments to pass to the program. */
core.List<core.String> args;
/** Optional. The set of Hyperparameters to tune. */
- GoogleCloudMlV1beta1HyperparameterSpec hyperparameters;
+ GoogleCloudMlV1HyperparameterSpec hyperparameters;
/**
* Optional. A Google Cloud Storage path in which to store training outputs
* and other data needed for training. This path is passed to your TensorFlow
@@ -2510,7 +2294,7 @@
* <dd>
* A machine equivalent to <code suppresswarning="true">standard</code> that
* also includes a
- * <a href="ml/docs/how-tos/using-gpus">
+ * <a href="/ml-engine/docs/how-tos/using-gpus">
* GPU that you can use in your trainer</a>.
* </dd>
* <dt>complex_model_m_gpu</dt>
@@ -2568,7 +2352,7 @@
* - "STANDARD_1" : Many workers and a few parameter servers.
* - "PREMIUM_1" : A large number of workers with many parameter servers.
* - "BASIC_GPU" : A single worker instance [with a
- * GPU](ml/docs/how-tos/using-gpus).
+ * GPU](/ml-engine/docs/how-tos/using-gpus).
* - "CUSTOM" : The CUSTOM tier is not a set tier, but rather enables you to
* use your
* own cluster specification. When you use this tier, set values to
@@ -2615,14 +2399,14 @@
*/
core.String workerType;
- GoogleCloudMlV1beta1TrainingInput();
+ GoogleCloudMlV1TrainingInput();
- GoogleCloudMlV1beta1TrainingInput.fromJson(core.Map _json) {
+ GoogleCloudMlV1TrainingInput.fromJson(core.Map _json) {
if (_json.containsKey("args")) {
args = _json["args"];
}
if (_json.containsKey("hyperparameters")) {
- hyperparameters = new GoogleCloudMlV1beta1HyperparameterSpec.fromJson(_json["hyperparameters"]);
+ hyperparameters = new GoogleCloudMlV1HyperparameterSpec.fromJson(_json["hyperparameters"]);
}
if (_json.containsKey("jobDir")) {
jobDir = _json["jobDir"];
@@ -2705,7 +2489,7 @@
}
/** Represents results of a training job. Output only. */
-class GoogleCloudMlV1beta1TrainingOutput {
+class GoogleCloudMlV1TrainingOutput {
/**
* The number of hyperparameter tuning trials that completed successfully.
* Only set for hyperparameter tuning jobs.
@@ -2719,11 +2503,11 @@
* Results for individual Hyperparameter trials.
* Only set for hyperparameter tuning jobs.
*/
- core.List<GoogleCloudMlV1beta1HyperparameterOutput> trials;
+ core.List<GoogleCloudMlV1HyperparameterOutput> trials;
- GoogleCloudMlV1beta1TrainingOutput();
+ GoogleCloudMlV1TrainingOutput();
- GoogleCloudMlV1beta1TrainingOutput.fromJson(core.Map _json) {
+ GoogleCloudMlV1TrainingOutput.fromJson(core.Map _json) {
if (_json.containsKey("completedTrialCount")) {
completedTrialCount = _json["completedTrialCount"];
}
@@ -2734,7 +2518,7 @@
isHyperparameterTuningJob = _json["isHyperparameterTuningJob"];
}
if (_json.containsKey("trials")) {
- trials = _json["trials"].map((value) => new GoogleCloudMlV1beta1HyperparameterOutput.fromJson(value)).toList();
+ trials = _json["trials"].map((value) => new GoogleCloudMlV1HyperparameterOutput.fromJson(value)).toList();
}
}
@@ -2762,19 +2546,20 @@
* Each version is a trained model deployed in the cloud, ready to handle
* prediction requests. A model can have multiple versions. You can get
* information about all of the versions of a given model by calling
- * [projects.models.versions.list](/ml/reference/rest/v1beta1/projects.models.versions/list).
+ * [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list).
*/
-class GoogleCloudMlV1beta1Version {
+class GoogleCloudMlV1Version {
/** Output only. The time the version was created. */
core.String createTime;
/**
* Required. The Google Cloud Storage location of the trained model used to
* create the version. See the
- * [overview of model deployment](/ml/docs/concepts/deployment-overview) for
+ * [overview of model
+ * deployment](/ml-engine/docs/concepts/deployment-overview) for
* more informaiton.
*
* When passing Version to
- * [projects.models.versions.create](/ml/reference/rest/v1beta1/projects.models.versions/create)
+ * [projects.models.versions.create](/ml-engine/reference/rest/v1/projects.models.versions/create)
* the model service uses the specified location as the source of the model.
* Once deployed, the model version is hosted by the prediction service, so
* this location is useful only as a historical record.
@@ -2789,7 +2574,230 @@
* requests that do not specify a version.
*
* You can change the default version by calling
- * [projects.methods.versions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefault).
+ * [projects.methods.versions.setDefault](/ml-engine/reference/rest/v1/projects.models.versions/setDefault).
+ */
+ core.bool isDefault;
+ /** Output only. The time the version was last used for prediction. */
+ core.String lastUseTime;
+ /**
+ * Optional. Manually select the number of nodes to use for serving the
+ * model. If unset (i.e., by default), the number of nodes used to serve
+ * the model automatically scales with traffic. However, care should be
+ * taken to ramp up traffic according to the model's ability to scale. If
+ * your model needs to handle bursts of traffic beyond it's ability to
+ * scale, it is recommended you set this field appropriately.
+ */
+ GoogleCloudMlV1ManualScaling manualScaling;
+ /**
+ * Required.The name specified for the version when it was created.
+ *
+ * The version name must be unique within the model it is created in.
+ */
+ core.String name;
+ /**
+ * Optional. The Google Cloud ML runtime version to use for this deployment.
+ * If not set, Google Cloud ML will choose a version.
+ */
+ core.String runtimeVersion;
+
+ GoogleCloudMlV1Version();
+
+ GoogleCloudMlV1Version.fromJson(core.Map _json) {
+ if (_json.containsKey("createTime")) {
+ createTime = _json["createTime"];
+ }
+ if (_json.containsKey("deploymentUri")) {
+ deploymentUri = _json["deploymentUri"];
+ }
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("isDefault")) {
+ isDefault = _json["isDefault"];
+ }
+ if (_json.containsKey("lastUseTime")) {
+ lastUseTime = _json["lastUseTime"];
+ }
+ if (_json.containsKey("manualScaling")) {
+ manualScaling = new GoogleCloudMlV1ManualScaling.fromJson(_json["manualScaling"]);
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("runtimeVersion")) {
+ runtimeVersion = _json["runtimeVersion"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (createTime != null) {
+ _json["createTime"] = createTime;
+ }
+ if (deploymentUri != null) {
+ _json["deploymentUri"] = deploymentUri;
+ }
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (isDefault != null) {
+ _json["isDefault"] = isDefault;
+ }
+ if (lastUseTime != null) {
+ _json["lastUseTime"] = lastUseTime;
+ }
+ if (manualScaling != null) {
+ _json["manualScaling"] = (manualScaling).toJson();
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (runtimeVersion != null) {
+ _json["runtimeVersion"] = runtimeVersion;
+ }
+ return _json;
+ }
+}
+
+/** Options for manually scaling a model. */
+class GoogleCloudMlV1beta1ManualScaling {
+ /**
+ * The number of nodes to allocate for this model. These nodes are always up,
+ * starting from the time the model is deployed, so the cost of operating
+ * this model will be proportional to nodes * number of hours since
+ * deployment.
+ */
+ core.int nodes;
+
+ GoogleCloudMlV1beta1ManualScaling();
+
+ GoogleCloudMlV1beta1ManualScaling.fromJson(core.Map _json) {
+ if (_json.containsKey("nodes")) {
+ nodes = _json["nodes"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (nodes != null) {
+ _json["nodes"] = nodes;
+ }
+ return _json;
+ }
+}
+
+/** Represents the metadata of the long-running operation. */
+class GoogleCloudMlV1beta1OperationMetadata {
+ /** The time the operation was submitted. */
+ core.String createTime;
+ /** The time operation processing completed. */
+ core.String endTime;
+ /** Indicates whether a request to cancel this operation has been made. */
+ core.bool isCancellationRequested;
+ /** Contains the name of the model associated with the operation. */
+ core.String modelName;
+ /**
+ * The operation type.
+ * Possible string values are:
+ * - "OPERATION_TYPE_UNSPECIFIED" : Unspecified operation type.
+ * - "CREATE_VERSION" : An operation to create a new version.
+ * - "DELETE_VERSION" : An operation to delete an existing version.
+ * - "DELETE_MODEL" : An operation to delete an existing model.
+ */
+ core.String operationType;
+ /** The time operation processing started. */
+ core.String startTime;
+ /** Contains the version associated with the operation. */
+ GoogleCloudMlV1beta1Version version;
+
+ GoogleCloudMlV1beta1OperationMetadata();
+
+ GoogleCloudMlV1beta1OperationMetadata.fromJson(core.Map _json) {
+ if (_json.containsKey("createTime")) {
+ createTime = _json["createTime"];
+ }
+ if (_json.containsKey("endTime")) {
+ endTime = _json["endTime"];
+ }
+ if (_json.containsKey("isCancellationRequested")) {
+ isCancellationRequested = _json["isCancellationRequested"];
+ }
+ if (_json.containsKey("modelName")) {
+ modelName = _json["modelName"];
+ }
+ if (_json.containsKey("operationType")) {
+ operationType = _json["operationType"];
+ }
+ if (_json.containsKey("startTime")) {
+ startTime = _json["startTime"];
+ }
+ if (_json.containsKey("version")) {
+ version = new GoogleCloudMlV1beta1Version.fromJson(_json["version"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (createTime != null) {
+ _json["createTime"] = createTime;
+ }
+ if (endTime != null) {
+ _json["endTime"] = endTime;
+ }
+ if (isCancellationRequested != null) {
+ _json["isCancellationRequested"] = isCancellationRequested;
+ }
+ if (modelName != null) {
+ _json["modelName"] = modelName;
+ }
+ if (operationType != null) {
+ _json["operationType"] = operationType;
+ }
+ if (startTime != null) {
+ _json["startTime"] = startTime;
+ }
+ if (version != null) {
+ _json["version"] = (version).toJson();
+ }
+ return _json;
+ }
+}
+
+/**
+ * Represents a version of the model.
+ *
+ * Each version is a trained model deployed in the cloud, ready to handle
+ * prediction requests. A model can have multiple versions. You can get
+ * information about all of the versions of a given model by calling
+ * [projects.models.versions.list](/ml-engine/reference/rest/v1beta1/projects.models.versions/list).
+ */
+class GoogleCloudMlV1beta1Version {
+ /** Output only. The time the version was created. */
+ core.String createTime;
+ /**
+ * Required. The Google Cloud Storage location of the trained model used to
+ * create the version. See the
+ * [overview of model
+ * deployment](/ml-engine/docs/concepts/deployment-overview) for
+ * more informaiton.
+ *
+ * When passing Version to
+ * [projects.models.versions.create](/ml-engine/reference/rest/v1beta1/projects.models.versions/create)
+ * the model service uses the specified location as the source of the model.
+ * Once deployed, the model version is hosted by the prediction service, so
+ * this location is useful only as a historical record.
+ */
+ core.String deploymentUri;
+ /**
+ * Optional. The description specified for the version when it was created.
+ */
+ core.String description;
+ /**
+ * Output only. If true, this version will be used to handle prediction
+ * requests that do not specify a version.
+ *
+ * You can change the default version by calling
+ * [projects.methods.versions.setDefault](/ml-engine/reference/rest/v1beta1/projects.models.versions/setDefault).
*/
core.bool isDefault;
/** Output only. The time the version was last used for prediction. */
diff --git a/generated/googleapis/lib/monitoring/v3.dart b/generated/googleapis/lib/monitoring/v3.dart
index ac48424..59111b3 100644
--- a/generated/googleapis/lib/monitoring/v3.dart
+++ b/generated/googleapis/lib/monitoring/v3.dart
@@ -635,12 +635,6 @@
* "projects/{project_id_or_number}".
* Value must have pattern "^projects/[^/]+$".
*
- * [filter] - If this field is empty, all custom and system-defined metric
- * descriptors are returned. Otherwise, the filter specifies which metric
- * descriptors are to be returned. For example, the following filter matches
- * all custom metrics:
- * metric.type = starts_with("custom.googleapis.com/")
- *
* [pageToken] - If this field is not empty then it must contain the
* nextPageToken value returned by a previous call to this method. Using this
* field causes the method to return additional results from the previous
@@ -649,6 +643,12 @@
* [pageSize] - A positive number that is the maximum number of results to
* return.
*
+ * [filter] - If this field is empty, all custom and system-defined metric
+ * descriptors are returned. Otherwise, the filter specifies which metric
+ * descriptors are to be returned. For example, the following filter matches
+ * all custom metrics:
+ * metric.type = starts_with("custom.googleapis.com/")
+ *
* Completes with a [ListMetricDescriptorsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -657,7 +657,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListMetricDescriptorsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListMetricDescriptorsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -668,15 +668,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
_url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/metricDescriptors';
@@ -876,53 +876,6 @@
* "projects/{project_id_or_number}".
* Value must have pattern "^projects/[^/]+$".
*
- * [filter] - A monitoring filter that specifies which time series should be
- * returned. The filter must specify a single metric type, and can
- * additionally specify metric labels and other information. For example:
- * metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
- * metric.label.instance_name = "my-instance-name"
- *
- * [pageToken] - If this field is not empty then it must contain the
- * nextPageToken value returned by a previous call to this method. Using this
- * field causes the method to return additional results from the previous
- * method call.
- *
- * [aggregation_perSeriesAligner] - The approach to be used to align
- * individual time series. Not all alignment functions may be applied to all
- * time series, depending on the metric type and value type of the original
- * time series. Alignment may change the metric type or the value type of the
- * time series.Time series data must be aligned in order to perform cross-time
- * series reduction. If crossSeriesReducer is specified, then perSeriesAligner
- * must be specified and not equal ALIGN_NONE and alignmentPeriod must be
- * specified; otherwise, an error is returned.
- * Possible string values are:
- * - "ALIGN_NONE" : A ALIGN_NONE.
- * - "ALIGN_DELTA" : A ALIGN_DELTA.
- * - "ALIGN_RATE" : A ALIGN_RATE.
- * - "ALIGN_INTERPOLATE" : A ALIGN_INTERPOLATE.
- * - "ALIGN_NEXT_OLDER" : A ALIGN_NEXT_OLDER.
- * - "ALIGN_MIN" : A ALIGN_MIN.
- * - "ALIGN_MAX" : A ALIGN_MAX.
- * - "ALIGN_MEAN" : A ALIGN_MEAN.
- * - "ALIGN_COUNT" : A ALIGN_COUNT.
- * - "ALIGN_SUM" : A ALIGN_SUM.
- * - "ALIGN_STDDEV" : A ALIGN_STDDEV.
- * - "ALIGN_COUNT_TRUE" : A ALIGN_COUNT_TRUE.
- * - "ALIGN_FRACTION_TRUE" : A ALIGN_FRACTION_TRUE.
- * - "ALIGN_PERCENTILE_99" : A ALIGN_PERCENTILE_99.
- * - "ALIGN_PERCENTILE_95" : A ALIGN_PERCENTILE_95.
- * - "ALIGN_PERCENTILE_50" : A ALIGN_PERCENTILE_50.
- * - "ALIGN_PERCENTILE_05" : A ALIGN_PERCENTILE_05.
- *
- * [interval_startTime] - Optional. The beginning of the time interval. The
- * default value for the start time is the end time. The start time must not
- * be later than the end time.
- *
- * [view] - Specifies which information is returned about the time series.
- * Possible string values are:
- * - "FULL" : A FULL.
- * - "HEADERS" : A HEADERS.
- *
* [aggregation_groupByFields] - The set of fields to preserve when
* crossSeriesReducer is specified. The groupByFields determine how the time
* series are partitioned into subsets prior to applying the aggregation
@@ -978,6 +931,53 @@
* - "REDUCE_PERCENTILE_50" : A REDUCE_PERCENTILE_50.
* - "REDUCE_PERCENTILE_05" : A REDUCE_PERCENTILE_05.
*
+ * [filter] - A monitoring filter that specifies which time series should be
+ * returned. The filter must specify a single metric type, and can
+ * additionally specify metric labels and other information. For example:
+ * metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
+ * metric.label.instance_name = "my-instance-name"
+ *
+ * [pageToken] - If this field is not empty then it must contain the
+ * nextPageToken value returned by a previous call to this method. Using this
+ * field causes the method to return additional results from the previous
+ * method call.
+ *
+ * [aggregation_perSeriesAligner] - The approach to be used to align
+ * individual time series. Not all alignment functions may be applied to all
+ * time series, depending on the metric type and value type of the original
+ * time series. Alignment may change the metric type or the value type of the
+ * time series.Time series data must be aligned in order to perform cross-time
+ * series reduction. If crossSeriesReducer is specified, then perSeriesAligner
+ * must be specified and not equal ALIGN_NONE and alignmentPeriod must be
+ * specified; otherwise, an error is returned.
+ * Possible string values are:
+ * - "ALIGN_NONE" : A ALIGN_NONE.
+ * - "ALIGN_DELTA" : A ALIGN_DELTA.
+ * - "ALIGN_RATE" : A ALIGN_RATE.
+ * - "ALIGN_INTERPOLATE" : A ALIGN_INTERPOLATE.
+ * - "ALIGN_NEXT_OLDER" : A ALIGN_NEXT_OLDER.
+ * - "ALIGN_MIN" : A ALIGN_MIN.
+ * - "ALIGN_MAX" : A ALIGN_MAX.
+ * - "ALIGN_MEAN" : A ALIGN_MEAN.
+ * - "ALIGN_COUNT" : A ALIGN_COUNT.
+ * - "ALIGN_SUM" : A ALIGN_SUM.
+ * - "ALIGN_STDDEV" : A ALIGN_STDDEV.
+ * - "ALIGN_COUNT_TRUE" : A ALIGN_COUNT_TRUE.
+ * - "ALIGN_FRACTION_TRUE" : A ALIGN_FRACTION_TRUE.
+ * - "ALIGN_PERCENTILE_99" : A ALIGN_PERCENTILE_99.
+ * - "ALIGN_PERCENTILE_95" : A ALIGN_PERCENTILE_95.
+ * - "ALIGN_PERCENTILE_50" : A ALIGN_PERCENTILE_50.
+ * - "ALIGN_PERCENTILE_05" : A ALIGN_PERCENTILE_05.
+ *
+ * [interval_startTime] - Optional. The beginning of the time interval. The
+ * default value for the start time is the end time. The start time must not
+ * be later than the end time.
+ *
+ * [view] - Specifies which information is returned about the time series.
+ * Possible string values are:
+ * - "FULL" : A FULL.
+ * - "HEADERS" : A HEADERS.
+ *
* Completes with a [ListTimeSeriesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -986,7 +986,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListTimeSeriesResponse> list(core.String name, {core.String filter, core.String pageToken, core.String aggregation_perSeriesAligner, core.String interval_startTime, core.String view, core.List<core.String> aggregation_groupByFields, core.String interval_endTime, core.String aggregation_alignmentPeriod, core.int pageSize, core.String orderBy, core.String aggregation_crossSeriesReducer}) {
+ async.Future<ListTimeSeriesResponse> list(core.String name, {core.List<core.String> aggregation_groupByFields, core.String interval_endTime, core.String aggregation_alignmentPeriod, core.int pageSize, core.String orderBy, core.String aggregation_crossSeriesReducer, core.String filter, core.String pageToken, core.String aggregation_perSeriesAligner, core.String interval_startTime, core.String view}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -997,21 +997,6 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (aggregation_perSeriesAligner != null) {
- _queryParams["aggregation.perSeriesAligner"] = [aggregation_perSeriesAligner];
- }
- if (interval_startTime != null) {
- _queryParams["interval.startTime"] = [interval_startTime];
- }
- if (view != null) {
- _queryParams["view"] = [view];
- }
if (aggregation_groupByFields != null) {
_queryParams["aggregation.groupByFields"] = aggregation_groupByFields;
}
@@ -1030,6 +1015,21 @@
if (aggregation_crossSeriesReducer != null) {
_queryParams["aggregation.crossSeriesReducer"] = [aggregation_crossSeriesReducer];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (aggregation_perSeriesAligner != null) {
+ _queryParams["aggregation.perSeriesAligner"] = [aggregation_perSeriesAligner];
+ }
+ if (interval_startTime != null) {
+ _queryParams["interval.startTime"] = [interval_startTime];
+ }
+ if (view != null) {
+ _queryParams["view"] = [view];
+ }
_url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/timeSeries';
@@ -1048,23 +1048,19 @@
/**
- * A Distribution may optionally contain a histogram of the values in the
- * population. The histogram is given in bucket_counts as counts of values that
- * fall into one of a sequence of non-overlapping buckets. The sequence of
- * buckets is described by bucket_options.A bucket specifies an inclusive lower
+ * BucketOptions describes the bucket boundaries used to create a histogram for
+ * the distribution. The buckets can be in a linear sequence, an exponential
+ * sequence, or each bucket can be specified explicitly. BucketOptions does not
+ * include the number of values in each bucket.A bucket has an inclusive lower
* bound and exclusive upper bound for the values that are counted for that
- * bucket. The upper bound of a bucket is strictly greater than the lower
- * bound.The sequence of N buckets for a Distribution consists of an underflow
+ * bucket. The upper bound of a bucket must be strictly greater than the lower
+ * bound. The sequence of N buckets for a distribution consists of an underflow
* bucket (number 0), zero or more finite buckets (number 1 through N - 2) and
* an overflow bucket (number N - 1). The buckets are contiguous: the lower
* bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The
* buckets span the whole range of finite values: lower bound of the underflow
* bucket is -infinity and the upper bound of the overflow bucket is +infinity.
- * The finite buckets are so-called because both bounds are finite.BucketOptions
- * describes bucket boundaries in one of three ways. Two describe the boundaries
- * by giving parameters for a formula to generate boundaries and one gives the
- * bucket boundaries explicitly.If bucket_options is not given, then no
- * bucket_counts may be given.
+ * The finite buckets are so-called because both bounds are finite.
*/
class BucketOptions {
/** The explicit buckets. */
@@ -1315,34 +1311,40 @@
}
/**
- * Distribution contains summary statistics for a population of values and,
- * optionally, a histogram representing the distribution of those values across
- * a specified set of histogram buckets.The summary statistics are the count,
- * mean, sum of the squared deviation from the mean, the minimum, and the
- * maximum of the set of population of values.The histogram is based on a
- * sequence of buckets and gives a count of values that fall into each bucket.
- * The boundaries of the buckets are given either explicitly or by specifying
- * parameters for a method of computing them (buckets of fixed width or buckets
- * of exponentially increasing width).Although it is not forbidden, it is
- * generally a bad idea to include non-finite values (infinities or NaNs) in the
+ * Distribution contains summary statistics for a population of values. It
+ * optionally contains a histogram representing the distribution of those values
+ * across a set of buckets.The summary statistics are the count, mean, sum of
+ * the squared deviation from the mean, the minimum, and the maximum of the set
+ * of population of values. The histogram is based on a sequence of buckets and
+ * gives a count of values that fall into each bucket. The boundaries of the
+ * buckets are given either explicitly or by formulas for buckets of fixed or
+ * exponentially increasing widths.Although it is not forbidden, it is generally
+ * a bad idea to include non-finite values (infinities or NaNs) in the
* population of values, as this will render the mean and
* sum_of_squared_deviation fields meaningless.
*/
class Distribution {
/**
- * If bucket_options is given, then the sum of the values in bucket_counts
- * must equal the value in count. If bucket_options is not given, no
- * bucket_counts fields may be given.Bucket counts are given in order under
- * the numbering scheme described above (the underflow bucket has number 0;
- * the finite buckets, if any, have numbers 1 through N-2; the overflow bucket
- * has number N-1).The size of bucket_counts must be no greater than N as
- * defined in bucket_options.Any suffix of trailing zero bucket_count fields
- * may be omitted.
+ * Required in the Stackdriver Monitoring API v3. The values for each bucket
+ * specified in bucket_options. The sum of the values in bucketCounts must
+ * equal the value in the count field of the Distribution object. The order of
+ * the bucket counts follows the numbering schemes described for the three
+ * bucket types. The underflow bucket has number 0; the finite buckets, if
+ * any, have numbers 1 through N-2; and the overflow bucket has number N-1.
+ * The size of bucket_counts must not be greater than N. If the size is less
+ * than N, then the remaining buckets are assigned values of zero.
*/
core.List<core.String> bucketCounts;
- /** Defines the histogram bucket boundaries. */
+ /**
+ * Required in the Stackdriver Monitoring API v3. Defines the histogram bucket
+ * boundaries.
+ */
BucketOptions bucketOptions;
- /** The number of values in the population. Must be non-negative. */
+ /**
+ * The number of values in the population. Must be non-negative. This value
+ * must equal the sum of the values in bucket_counts if a histogram is
+ * provided.
+ */
core.String count;
/**
* The arithmetic mean of the values in the population. If count is zero then
@@ -1435,11 +1437,12 @@
}
/**
- * A set of buckets with arbitrary widths.Defines size(bounds) + 1 (= N) buckets
- * with these boundaries for bucket i:Upper bound (0 <= i < N-1): boundsi Lower
- * bound (1 <= i < N); boundsi - 1There must be at least one element in bounds.
- * If bounds has only one element, there are no finite buckets, and that single
- * element is the common boundary of the overflow and underflow buckets.
+ * Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1
+ * (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i <
+ * N-1): boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must
+ * contain at least one element. If bounds has only one element, then there are
+ * no finite buckets, and that single element is the common boundary of the
+ * overflow and underflow buckets.
*/
class Explicit {
/** The values must be monotonically increasing. */
@@ -1463,12 +1466,12 @@
}
/**
- * Specify a sequence of buckets that have a width that is proportional to the
- * value of the lower bound. Each bucket represents a constant relative
- * uncertainty on a specific value in the bucket.Defines num_finite_buckets + 2
- * (= N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1):
- * scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale *
- * (growth_factor ^ (i - 1)).
+ * Specifies an exponential sequence of buckets that have a width that is
+ * proportional to the value of the lower bound. Each bucket represents a
+ * constant relative uncertainty on a specific value in the bucket.There are
+ * num_finite_buckets + 2 (= N) buckets. Bucket i has the following
+ * boundaries:Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower
+ * bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
*/
class Exponential {
/** Must be greater than 1. */
@@ -1774,11 +1777,12 @@
}
/**
- * Specify a sequence of buckets that all have the same width (except overflow
- * and underflow). Each bucket represents a constant absolute uncertainty on the
- * specific value in the bucket.Defines num_finite_buckets + 2 (= N) buckets
- * with these boundaries for bucket i:Upper bound (0 <= i < N-1): offset +
- * (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)).
+ * Specifies a linear sequence of buckets that all have the same width (except
+ * overflow and underflow). Each bucket represents a constant absolute
+ * uncertainty on the specific value in the bucket.There are num_finite_buckets
+ * + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i
+ * < N-1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i
+ * - 1)).
*/
class Linear {
/** Must be greater than 0. */
diff --git a/generated/googleapis/lib/partners/v2.dart b/generated/googleapis/lib/partners/v2.dart
index 929773d..18756c6 100644
--- a/generated/googleapis/lib/partners/v2.dart
+++ b/generated/googleapis/lib/partners/v2.dart
@@ -15,23 +15,141 @@
const core.String USER_AGENT = 'dart-api-client partners/v2';
/**
- * Lets advertisers search certified companies and create contact leads with
- * them, and also audits the usage of clients.
+ * Searches certified companies and creates contact leads with them, and also
+ * audits the usage of clients.
*/
class PartnersApi {
final commons.ApiRequester _requester;
+ AnalyticsResourceApi get analytics => new AnalyticsResourceApi(_requester);
ClientMessagesResourceApi get clientMessages => new ClientMessagesResourceApi(_requester);
CompaniesResourceApi get companies => new CompaniesResourceApi(_requester);
+ ExamsResourceApi get exams => new ExamsResourceApi(_requester);
+ LeadsResourceApi get leads => new LeadsResourceApi(_requester);
+ OffersResourceApi get offers => new OffersResourceApi(_requester);
UserEventsResourceApi get userEvents => new UserEventsResourceApi(_requester);
UserStatesResourceApi get userStates => new UserStatesResourceApi(_requester);
+ UsersResourceApi get users => new UsersResourceApi(_requester);
+ V2ResourceApi get v2 => new V2ResourceApi(_requester);
PartnersApi(http.Client client, {core.String rootUrl: "https://partners.googleapis.com/", core.String servicePath: ""}) :
_requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
}
+class AnalyticsResourceApi {
+ final commons.ApiRequester _requester;
+
+ AnalyticsResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Lists analytics data for a user's associated company.
+ * Should only be called within the context of an authorized logged in user.
+ *
+ * Request parameters:
+ *
+ * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
+ * where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_locale] - Locale to use for the current request.
+ *
+ * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
+ * the user's geo-located IP address.
+ *
+ * [requestMetadata_experimentIds] - Experiment IDs the current request
+ * belongs to.
+ *
+ * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ * indicate where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
+ * instead of the user's ID.
+ *
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
+ * [pageToken] - A token identifying a page of results that the server
+ * returns.
+ * Typically, this is the value of `ListAnalyticsResponse.next_page_token`
+ * returned from the previous call to
+ * ListAnalytics.
+ * Will be a date string in `YYYY-MM-DD` format representing the end date
+ * of the date range of results to return.
+ * If unspecified or set to "", default value is the current date.
+ *
+ * [pageSize] - Requested page size. Server may return fewer analytics than
+ * requested.
+ * If unspecified or set to 0, default value is 30.
+ * Specifies the number of days in the date range when querying analytics.
+ * The `page_token` represents the end date of the date range
+ * and the start date is calculated using the `page_size` as the number
+ * of days BEFORE the end date.
+ * Must be a non-negative integer.
+ *
+ * Completes with a [ListAnalyticsResponse].
+ *
+ * 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<ListAnalyticsResponse> list({core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String pageToken, core.int pageSize}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (requestMetadata_trafficSource_trafficSourceId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
+ }
+ if (requestMetadata_locale != null) {
+ _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
+ }
+ if (requestMetadata_userOverrides_ipAddress != null) {
+ _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
+ }
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
+ }
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
+ }
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+
+ _url = 'v2/analytics';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListAnalyticsResponse.fromJson(data));
+ }
+
+}
+
+
class ClientMessagesResourceApi {
final commons.ApiRequester _requester;
@@ -39,9 +157,9 @@
_requester = client;
/**
- * Logs a generic message from the client, such as `Failed to render
- * component`, `Profile page is running slow`, `More than 500 users have
- * accessed this result.`, etc.
+ * Logs a generic message from the client, such as
+ * `Failed to render component`, `Profile page is running slow`,
+ * `More than 500 users have accessed this result.`, etc.
*
* [request] - The metadata request object.
*
@@ -97,46 +215,50 @@
*
* [companyId] - The ID of the company to retrieve.
*
- * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
- * the user's geo-located IP address.
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
*
* [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
* instead of the user's ID.
*
- * [requestMetadata_locale] - Locale to use for the current request.
- *
- * [requestMetadata_partnersSessionId] - Google Partners session ID.
- *
- * [requestMetadata_experimentIds] - Experiment IDs the current request
- * belongs to.
- *
- * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
- * where the traffic comes from. An identifier has multiple letters created by
- * a team which redirected the traffic to us.
- *
- * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
- * indicate where the traffic comes from. An identifier has multiple letters
- * created by a team which redirected the traffic to us.
- *
* [view] - The view of `Company` resource to be returned. This must not be
* `COMPANY_VIEW_UNSPECIFIED`.
* Possible string values are:
* - "COMPANY_VIEW_UNSPECIFIED" : A COMPANY_VIEW_UNSPECIFIED.
* - "CV_GOOGLE_PARTNER_SEARCH" : A CV_GOOGLE_PARTNER_SEARCH.
*
- * [orderBy] - How to order addresses within the returned company. Currently,
- * only `address` and `address desc` is supported which will sorted by closest
- * to farthest in distance from given address and farthest to closest distance
- * from given address respectively.
- *
- * [currencyCode] - If the company's budget is in a different currency code
- * than this one, then the converted budget is converted to this currency
- * code.
+ * [requestMetadata_locale] - Locale to use for the current request.
*
* [address] - The address to use for sorting the company's addresses by
- * proximity. If not given, the geo-located address of the request is used.
+ * proximity.
+ * If not given, the geo-located address of the request is used.
* Used when order_by is set.
*
+ * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
+ * where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
+ * the user's geo-located IP address.
+ *
+ * [currencyCode] - If the company's budget is in a different currency code
+ * than this one, then
+ * the converted budget is converted to this currency code.
+ *
+ * [requestMetadata_experimentIds] - Experiment IDs the current request
+ * belongs to.
+ *
+ * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ * indicate where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [orderBy] - How to order addresses within the returned company. Currently,
+ * only
+ * `address` and `address desc` is supported which will sorted by closest to
+ * farthest in distance from given address and farthest to closest distance
+ * from given address respectively.
+ *
* Completes with a [GetCompanyResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -145,7 +267,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<GetCompanyResponse> get(core.String companyId, {core.String requestMetadata_userOverrides_ipAddress, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_locale, core.String requestMetadata_partnersSessionId, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_trafficSource_trafficSubId, core.String view, core.String orderBy, core.String currencyCode, core.String address}) {
+ async.Future<GetCompanyResponse> get(core.String companyId, {core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String view, core.String requestMetadata_locale, core.String address, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_userOverrides_ipAddress, core.String currencyCode, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String orderBy}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -156,38 +278,38 @@
if (companyId == null) {
throw new core.ArgumentError("Parameter companyId is required.");
}
- if (requestMetadata_userOverrides_ipAddress != null) {
- _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
}
if (requestMetadata_userOverrides_userId != null) {
_queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
}
+ if (view != null) {
+ _queryParams["view"] = [view];
+ }
if (requestMetadata_locale != null) {
_queryParams["requestMetadata.locale"] = [requestMetadata_locale];
}
- if (requestMetadata_partnersSessionId != null) {
- _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
- }
- if (requestMetadata_experimentIds != null) {
- _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ if (address != null) {
+ _queryParams["address"] = [address];
}
if (requestMetadata_trafficSource_trafficSourceId != null) {
_queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
}
- if (requestMetadata_trafficSource_trafficSubId != null) {
- _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
- }
- if (view != null) {
- _queryParams["view"] = [view];
- }
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
+ if (requestMetadata_userOverrides_ipAddress != null) {
+ _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
}
if (currencyCode != null) {
_queryParams["currencyCode"] = [currencyCode];
}
- if (address != null) {
- _queryParams["address"] = [address];
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
+ }
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
}
_url = 'v2/companies/' + commons.Escaper.ecapeVariable('$companyId');
@@ -207,91 +329,107 @@
*
* Request parameters:
*
+ * [languageCodes] - List of language codes that company can support. Only
+ * primary language
+ * subtags are accepted as defined by
+ * <a href="https://tools.ietf.org/html/bcp47">BCP 47</a>
+ * (IETF BCP 47, "Tags for Identifying Languages").
+ *
+ * [pageSize] - Requested page size. Server may return fewer companies than
+ * requested.
+ * If unspecified, server picks an appropriate default.
+ *
* [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
* the user's geo-located IP address.
*
- * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
- * instead of the user's ID.
- *
- * [requestMetadata_locale] - Locale to use for the current request.
- *
- * [requestMetadata_partnersSessionId] - Google Partners session ID.
- *
* [requestMetadata_experimentIds] - Experiment IDs the current request
* belongs to.
*
- * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
- * where the traffic comes from. An identifier has multiple letters created by
- * a team which redirected the traffic to us.
+ * [orderBy] - How to order addresses within the returned companies.
+ * Currently, only
+ * `address` and `address desc` is supported which will sorted by closest to
+ * farthest in distance from given address and farthest to closest distance
+ * from given address respectively.
*
- * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
- * indicate where the traffic comes from. An identifier has multiple letters
- * created by a team which redirected the traffic to us.
- *
- * [pageSize] - Requested page size. Server may return fewer companies than
- * requested. If unspecified, server picks an appropriate default.
- *
- * [pageToken] - A token identifying a page of results that the server
- * returns. Typically, this is the value of
- * `ListCompaniesResponse.next_page_token` returned from the previous call to
- * ListCompanies.
- *
- * [companyName] - Company name to search for.
- *
- * [view] - The view of the `Company` resource to be returned. This must not
- * be `COMPANY_VIEW_UNSPECIFIED`.
- * Possible string values are:
- * - "COMPANY_VIEW_UNSPECIFIED" : A COMPANY_VIEW_UNSPECIFIED.
- * - "CV_GOOGLE_PARTNER_SEARCH" : A CV_GOOGLE_PARTNER_SEARCH.
- *
- * [minMonthlyBudget_currencyCode] - The 3-letter currency code defined in ISO
- * 4217.
- *
- * [minMonthlyBudget_units] - The whole units of the amount. For example if
- * `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- *
- * [minMonthlyBudget_nanos] - Number of nano (10^-9) units of the amount. The
- * value must be between -999,999,999 and +999,999,999 inclusive. If `units`
- * is positive, `nanos` must be positive or zero. If `units` is zero, `nanos`
- * can be positive, zero, or negative. If `units` is negative, `nanos` must be
- * negative or zero. For example $-1.75 is represented as `units`=-1 and
- * `nanos`=-750,000,000.
+ * [specializations] - List of specializations that the returned agencies
+ * should provide. If this
+ * is not empty, any returned agency must have at least one of these
+ * specializations, or one of the services in the "services" field.
*
* [maxMonthlyBudget_currencyCode] - The 3-letter currency code defined in ISO
* 4217.
*
- * [maxMonthlyBudget_units] - The whole units of the amount. For example if
- * `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ * [minMonthlyBudget_currencyCode] - The 3-letter currency code defined in ISO
+ * 4217.
*
- * [maxMonthlyBudget_nanos] - Number of nano (10^-9) units of the amount. The
- * value must be between -999,999,999 and +999,999,999 inclusive. If `units`
- * is positive, `nanos` must be positive or zero. If `units` is zero, `nanos`
- * can be positive, zero, or negative. If `units` is negative, `nanos` must be
- * negative or zero. For example $-1.75 is represented as `units`=-1 and
- * `nanos`=-750,000,000.
+ * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
+ * instead of the user's ID.
+ *
+ * [view] - The view of the `Company` resource to be returned. This must not
+ * be
+ * `COMPANY_VIEW_UNSPECIFIED`.
+ * Possible string values are:
+ * - "COMPANY_VIEW_UNSPECIFIED" : A COMPANY_VIEW_UNSPECIFIED.
+ * - "CV_GOOGLE_PARTNER_SEARCH" : A CV_GOOGLE_PARTNER_SEARCH.
+ *
+ * [address] - The address to use when searching for companies.
+ * If not given, the geo-located address of the request is used.
+ *
+ * [requestMetadata_locale] - Locale to use for the current request.
+ *
+ * [minMonthlyBudget_units] - The whole units of the amount.
+ * For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ *
+ * [maxMonthlyBudget_nanos] - Number of nano (10^-9) units of the amount.
+ * The value must be between -999,999,999 and +999,999,999 inclusive.
+ * If `units` is positive, `nanos` must be positive or zero.
+ * If `units` is zero, `nanos` can be positive, zero, or negative.
+ * If `units` is negative, `nanos` must be negative or zero.
+ * For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ *
+ * [services] - List of services that the returned agencies should provide. If
+ * this is
+ * not empty, any returned agency must have at least one of these services,
+ * or one of the specializations in the "specializations" field.
+ *
+ * [maxMonthlyBudget_units] - The whole units of the amount.
+ * For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ *
+ * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
+ * where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ * indicate where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [minMonthlyBudget_nanos] - Number of nano (10^-9) units of the amount.
+ * The value must be between -999,999,999 and +999,999,999 inclusive.
+ * If `units` is positive, `nanos` must be positive or zero.
+ * If `units` is zero, `nanos` can be positive, zero, or negative.
+ * If `units` is negative, `nanos` must be negative or zero.
+ * For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ *
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
+ * [pageToken] - A token identifying a page of results that the server
+ * returns.
+ * Typically, this is the value of `ListCompaniesResponse.next_page_token`
+ * returned from the previous call to
+ * ListCompanies.
+ *
+ * [companyName] - Company name to search for.
*
* [industries] - List of industries the company can help with.
*
- * [services] - List of services the company can help with.
- *
- * [languageCodes] - List of language codes that company can support. Only
- * primary language subtags are accepted as defined by BCP 47 (IETF BCP 47,
- * "Tags for Identifying Languages").
- *
- * [address] - The address to use when searching for companies. If not given,
- * the geo-located address of the request is used.
- *
- * [orderBy] - How to order addresses within the returned companies.
- * Currently, only `address` and `address desc` is supported which will sorted
- * by closest to farthest in distance from given address and farthest to
- * closest distance from given address respectively.
+ * [websiteUrl] - Website URL that will help to find a better matched company.
+ * .
*
* [gpsMotivations] - List of reasons for using Google Partner Search to get
* companies.
*
- * [websiteUrl] - Website URL that will help to find a better matched company.
- * .
- *
* Completes with a [ListCompaniesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -300,7 +438,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListCompaniesResponse> list({core.String requestMetadata_userOverrides_ipAddress, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_locale, core.String requestMetadata_partnersSessionId, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_trafficSource_trafficSubId, core.int pageSize, core.String pageToken, core.String companyName, core.String view, core.String minMonthlyBudget_currencyCode, core.String minMonthlyBudget_units, core.int minMonthlyBudget_nanos, core.String maxMonthlyBudget_currencyCode, core.String maxMonthlyBudget_units, core.int maxMonthlyBudget_nanos, core.List<core.String> industries, core.List<core.String> services, core.List<core.String> languageCodes, core.String address, core.String orderBy, core.List<core.String> gpsMotivations, core.String websiteUrl}) {
+ async.Future<ListCompaniesResponse> list({core.List<core.String> languageCodes, core.int pageSize, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String orderBy, core.List<core.String> specializations, core.String maxMonthlyBudget_currencyCode, core.String minMonthlyBudget_currencyCode, core.String requestMetadata_userOverrides_userId, core.String view, core.String address, core.String requestMetadata_locale, core.String minMonthlyBudget_units, core.int maxMonthlyBudget_nanos, core.List<core.String> services, core.String maxMonthlyBudget_units, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_trafficSource_trafficSubId, core.int minMonthlyBudget_nanos, core.String requestMetadata_partnersSessionId, core.String pageToken, core.String companyName, core.List<core.String> industries, core.String websiteUrl, core.List<core.String> gpsMotivations}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -308,20 +446,53 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (languageCodes != null) {
+ _queryParams["languageCodes"] = languageCodes;
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (requestMetadata_userOverrides_ipAddress != null) {
_queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
}
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ }
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
+ if (specializations != null) {
+ _queryParams["specializations"] = specializations;
+ }
+ if (maxMonthlyBudget_currencyCode != null) {
+ _queryParams["maxMonthlyBudget.currencyCode"] = [maxMonthlyBudget_currencyCode];
+ }
+ if (minMonthlyBudget_currencyCode != null) {
+ _queryParams["minMonthlyBudget.currencyCode"] = [minMonthlyBudget_currencyCode];
+ }
if (requestMetadata_userOverrides_userId != null) {
_queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
}
+ if (view != null) {
+ _queryParams["view"] = [view];
+ }
+ if (address != null) {
+ _queryParams["address"] = [address];
+ }
if (requestMetadata_locale != null) {
_queryParams["requestMetadata.locale"] = [requestMetadata_locale];
}
- if (requestMetadata_partnersSessionId != null) {
- _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
+ if (minMonthlyBudget_units != null) {
+ _queryParams["minMonthlyBudget.units"] = [minMonthlyBudget_units];
}
- if (requestMetadata_experimentIds != null) {
- _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ if (maxMonthlyBudget_nanos != null) {
+ _queryParams["maxMonthlyBudget.nanos"] = ["${maxMonthlyBudget_nanos}"];
+ }
+ if (services != null) {
+ _queryParams["services"] = services;
+ }
+ if (maxMonthlyBudget_units != null) {
+ _queryParams["maxMonthlyBudget.units"] = [maxMonthlyBudget_units];
}
if (requestMetadata_trafficSource_trafficSourceId != null) {
_queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
@@ -329,8 +500,11 @@
if (requestMetadata_trafficSource_trafficSubId != null) {
_queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (minMonthlyBudget_nanos != null) {
+ _queryParams["minMonthlyBudget.nanos"] = ["${minMonthlyBudget_nanos}"];
+ }
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
@@ -338,48 +512,15 @@
if (companyName != null) {
_queryParams["companyName"] = [companyName];
}
- if (view != null) {
- _queryParams["view"] = [view];
- }
- if (minMonthlyBudget_currencyCode != null) {
- _queryParams["minMonthlyBudget.currencyCode"] = [minMonthlyBudget_currencyCode];
- }
- if (minMonthlyBudget_units != null) {
- _queryParams["minMonthlyBudget.units"] = [minMonthlyBudget_units];
- }
- if (minMonthlyBudget_nanos != null) {
- _queryParams["minMonthlyBudget.nanos"] = ["${minMonthlyBudget_nanos}"];
- }
- if (maxMonthlyBudget_currencyCode != null) {
- _queryParams["maxMonthlyBudget.currencyCode"] = [maxMonthlyBudget_currencyCode];
- }
- if (maxMonthlyBudget_units != null) {
- _queryParams["maxMonthlyBudget.units"] = [maxMonthlyBudget_units];
- }
- if (maxMonthlyBudget_nanos != null) {
- _queryParams["maxMonthlyBudget.nanos"] = ["${maxMonthlyBudget_nanos}"];
- }
if (industries != null) {
_queryParams["industries"] = industries;
}
- if (services != null) {
- _queryParams["services"] = services;
- }
- if (languageCodes != null) {
- _queryParams["languageCodes"] = languageCodes;
- }
- if (address != null) {
- _queryParams["address"] = [address];
- }
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
+ if (websiteUrl != null) {
+ _queryParams["websiteUrl"] = [websiteUrl];
}
if (gpsMotivations != null) {
_queryParams["gpsMotivations"] = gpsMotivations;
}
- if (websiteUrl != null) {
- _queryParams["websiteUrl"] = [websiteUrl];
- }
_url = 'v2/companies';
@@ -449,6 +590,423 @@
}
+class ExamsResourceApi {
+ final commons.ApiRequester _requester;
+
+ ExamsResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Gets an Exam Token for a Partner's user to take an exam in the Exams System
+ *
+ * Request parameters:
+ *
+ * [examType] - The exam type we are requesting a token for.
+ * Possible string values are:
+ * - "CERTIFICATION_EXAM_TYPE_UNSPECIFIED" : A
+ * CERTIFICATION_EXAM_TYPE_UNSPECIFIED.
+ * - "CET_ADWORDS_FUNDAMENTALS" : A CET_ADWORDS_FUNDAMENTALS.
+ * - "CET_ADWORDS_ADVANCED_SEARCH" : A CET_ADWORDS_ADVANCED_SEARCH.
+ * - "CET_ADWORDS_ADVANCED_DISPLAY" : A CET_ADWORDS_ADVANCED_DISPLAY.
+ * - "CET_VIDEO_ADS" : A CET_VIDEO_ADS.
+ * - "CET_DOUBLECLICK" : A CET_DOUBLECLICK.
+ * - "CET_ANALYTICS" : A CET_ANALYTICS.
+ * - "CET_SHOPPING" : A CET_SHOPPING.
+ * - "CET_MOBILE" : A CET_MOBILE.
+ * - "CET_DIGITAL_SALES" : A CET_DIGITAL_SALES.
+ * - "CET_MOBILE_SITES" : A CET_MOBILE_SITES.
+ *
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
+ * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
+ * instead of the user's ID.
+ *
+ * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
+ * where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_locale] - Locale to use for the current request.
+ *
+ * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
+ * the user's geo-located IP address.
+ *
+ * [requestMetadata_experimentIds] - Experiment IDs the current request
+ * belongs to.
+ *
+ * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ * indicate where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * Completes with a [ExamToken].
+ *
+ * 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<ExamToken> getToken(core.String examType, {core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (examType == null) {
+ throw new core.ArgumentError("Parameter examType is required.");
+ }
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
+ }
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
+ }
+ if (requestMetadata_trafficSource_trafficSourceId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
+ }
+ if (requestMetadata_locale != null) {
+ _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
+ }
+ if (requestMetadata_userOverrides_ipAddress != null) {
+ _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
+ }
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
+ }
+
+ _url = 'v2/exams/' + commons.Escaper.ecapeVariable('$examType') + '/token';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ExamToken.fromJson(data));
+ }
+
+}
+
+
+class LeadsResourceApi {
+ final commons.ApiRequester _requester;
+
+ LeadsResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Lists advertiser leads for a user's associated company.
+ * Should only be called within the context of an authorized logged in user.
+ *
+ * Request parameters:
+ *
+ * [requestMetadata_experimentIds] - Experiment IDs the current request
+ * belongs to.
+ *
+ * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ * indicate where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [orderBy] - How to order Leads. Currently, only `create_time`
+ * and `create_time desc` are supported
+ *
+ * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
+ * instead of the user's ID.
+ *
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
+ * [pageToken] - A token identifying a page of results that the server
+ * returns.
+ * Typically, this is the value of `ListLeadsResponse.next_page_token`
+ * returned from the previous call to
+ * ListLeads.
+ *
+ * [pageSize] - Requested page size. Server may return fewer leads than
+ * requested.
+ * If unspecified, server picks an appropriate default.
+ *
+ * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
+ * where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_locale] - Locale to use for the current request.
+ *
+ * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
+ * the user's geo-located IP address.
+ *
+ * Completes with a [ListLeadsResponse].
+ *
+ * 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<ListLeadsResponse> list({core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String orderBy, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String pageToken, core.int pageSize, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
+ }
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
+ }
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (requestMetadata_trafficSource_trafficSourceId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
+ }
+ if (requestMetadata_locale != null) {
+ _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
+ }
+ if (requestMetadata_userOverrides_ipAddress != null) {
+ _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
+ }
+
+ _url = 'v2/leads';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListLeadsResponse.fromJson(data));
+ }
+
+}
+
+
+class OffersResourceApi {
+ final commons.ApiRequester _requester;
+
+ OffersHistoryResourceApi get history => new OffersHistoryResourceApi(_requester);
+
+ OffersResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Lists the Offers available for the current user
+ *
+ * Request parameters:
+ *
+ * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
+ * instead of the user's ID.
+ *
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
+ * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
+ * where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_locale] - Locale to use for the current request.
+ *
+ * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
+ * the user's geo-located IP address.
+ *
+ * [requestMetadata_experimentIds] - Experiment IDs the current request
+ * belongs to.
+ *
+ * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ * indicate where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * Completes with a [ListOffersResponse].
+ *
+ * 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<ListOffersResponse> list({core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
+ }
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
+ }
+ if (requestMetadata_trafficSource_trafficSourceId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
+ }
+ if (requestMetadata_locale != null) {
+ _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
+ }
+ if (requestMetadata_userOverrides_ipAddress != null) {
+ _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
+ }
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
+ }
+
+ _url = 'v2/offers';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListOffersResponse.fromJson(data));
+ }
+
+}
+
+
+class OffersHistoryResourceApi {
+ final commons.ApiRequester _requester;
+
+ OffersHistoryResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Lists the Historical Offers for the current user (or user's entire company)
+ *
+ * Request parameters:
+ *
+ * [requestMetadata_experimentIds] - Experiment IDs the current request
+ * belongs to.
+ *
+ * [entireCompany] - if true, show history for the entire company. Requires
+ * user to be admin.
+ *
+ * [orderBy] - Comma-separated list of fields to order by, e.g.:
+ * "foo,bar,baz".
+ * Use "foo desc" to sort descending.
+ * List of valid field names is: name, offer_code, expiration_time, status,
+ * last_modified_time, sender_name, creation_time, country_code,
+ * offer_type.
+ *
+ * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ * indicate where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
+ * instead of the user's ID.
+ *
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
+ * [pageToken] - Token to retrieve a specific page.
+ *
+ * [pageSize] - Maximum number of rows to return per page.
+ *
+ * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
+ * where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_locale] - Locale to use for the current request.
+ *
+ * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
+ * the user's geo-located IP address.
+ *
+ * Completes with a [ListOffersHistoryResponse].
+ *
+ * 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<ListOffersHistoryResponse> list({core.List<core.String> requestMetadata_experimentIds, core.bool entireCompany, core.String orderBy, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String pageToken, core.int pageSize, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ }
+ if (entireCompany != null) {
+ _queryParams["entireCompany"] = ["${entireCompany}"];
+ }
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
+ }
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
+ }
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (requestMetadata_trafficSource_trafficSourceId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
+ }
+ if (requestMetadata_locale != null) {
+ _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
+ }
+ if (requestMetadata_userOverrides_ipAddress != null) {
+ _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
+ }
+
+ _url = 'v2/offers/history';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListOffersHistoryResponse.fromJson(data));
+ }
+
+}
+
+
class UserEventsResourceApi {
final commons.ApiRequester _requester;
@@ -508,26 +1066,28 @@
*
* Request parameters:
*
- * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
- * the user's geo-located IP address.
+ * [requestMetadata_experimentIds] - Experiment IDs the current request
+ * belongs to.
+ *
+ * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ * indicate where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
*
* [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
* instead of the user's ID.
*
- * [requestMetadata_locale] - Locale to use for the current request.
- *
* [requestMetadata_partnersSessionId] - Google Partners session ID.
*
- * [requestMetadata_experimentIds] - Experiment IDs the current request
- * belongs to.
- *
* [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
- * where the traffic comes from. An identifier has multiple letters created by
- * a team which redirected the traffic to us.
+ * where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
*
- * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
- * indicate where the traffic comes from. An identifier has multiple letters
- * created by a team which redirected the traffic to us.
+ * [requestMetadata_locale] - Locale to use for the current request.
+ *
+ * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
+ * the user's geo-located IP address.
*
* Completes with a [ListUserStatesResponse].
*
@@ -537,7 +1097,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListUserStatesResponse> list({core.String requestMetadata_userOverrides_ipAddress, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_locale, core.String requestMetadata_partnersSessionId, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_trafficSource_trafficSubId}) {
+ async.Future<ListUserStatesResponse> list({core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -545,26 +1105,26 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (requestMetadata_userOverrides_ipAddress != null) {
- _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
}
if (requestMetadata_userOverrides_userId != null) {
_queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
}
- if (requestMetadata_locale != null) {
- _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
- }
if (requestMetadata_partnersSessionId != null) {
_queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
}
- if (requestMetadata_experimentIds != null) {
- _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
- }
if (requestMetadata_trafficSource_trafficSourceId != null) {
_queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
}
- if (requestMetadata_trafficSource_trafficSubId != null) {
- _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
+ if (requestMetadata_locale != null) {
+ _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
+ }
+ if (requestMetadata_userOverrides_ipAddress != null) {
+ _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
}
_url = 'v2/userStates';
@@ -582,6 +1142,1005 @@
}
+class UsersResourceApi {
+ final commons.ApiRequester _requester;
+
+ UsersResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Creates a user's company relation. Affiliates the user to a company.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [userId] - The ID of the user. Can be set to <code>me</code> to mean
+ * the currently authenticated user.
+ *
+ * [requestMetadata_experimentIds] - Experiment IDs the current request
+ * belongs to.
+ *
+ * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ * indicate where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
+ * instead of the user's ID.
+ *
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
+ * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
+ * where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_locale] - Locale to use for the current request.
+ *
+ * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
+ * the user's geo-located IP address.
+ *
+ * Completes with a [CompanyRelation].
+ *
+ * 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<CompanyRelation> createCompanyRelation(CompanyRelation request, core.String userId, {core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (userId == null) {
+ throw new core.ArgumentError("Parameter userId is required.");
+ }
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
+ }
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
+ }
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
+ }
+ if (requestMetadata_trafficSource_trafficSourceId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
+ }
+ if (requestMetadata_locale != null) {
+ _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
+ }
+ if (requestMetadata_userOverrides_ipAddress != null) {
+ _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
+ }
+
+ _url = 'v2/users/' + commons.Escaper.ecapeVariable('$userId') + '/companyRelation';
+
+ var _response = _requester.request(_url,
+ "PUT",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new CompanyRelation.fromJson(data));
+ }
+
+ /**
+ * Deletes a user's company relation. Unaffiliaites the user from a company.
+ *
+ * Request parameters:
+ *
+ * [userId] - The ID of the user. Can be set to <code>me</code> to mean
+ * the currently authenticated user.
+ *
+ * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
+ * instead of the user's ID.
+ *
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
+ * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
+ * where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_locale] - Locale to use for the current request.
+ *
+ * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
+ * the user's geo-located IP address.
+ *
+ * [requestMetadata_experimentIds] - Experiment IDs the current request
+ * belongs to.
+ *
+ * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ * indicate where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * 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<Empty> deleteCompanyRelation(core.String userId, {core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (userId == null) {
+ throw new core.ArgumentError("Parameter userId is required.");
+ }
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
+ }
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
+ }
+ if (requestMetadata_trafficSource_trafficSourceId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
+ }
+ if (requestMetadata_locale != null) {
+ _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
+ }
+ if (requestMetadata_userOverrides_ipAddress != null) {
+ _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
+ }
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
+ }
+
+ _url = 'v2/users/' + commons.Escaper.ecapeVariable('$userId') + '/companyRelation';
+
+ var _response = _requester.request(_url,
+ "DELETE",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Empty.fromJson(data));
+ }
+
+ /**
+ * Gets a user.
+ *
+ * Request parameters:
+ *
+ * [userId] - Identifier of the user. Can be set to <code>me</code> to mean
+ * the currently
+ * authenticated user.
+ *
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
+ * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
+ * instead of the user's ID.
+ *
+ * [userView] - Specifies what parts of the user information to return.
+ * Possible string values are:
+ * - "BASIC" : A BASIC.
+ * - "PROFILE" : A PROFILE.
+ * - "PUBLIC_PROFILE" : A PUBLIC_PROFILE.
+ *
+ * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
+ * where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_locale] - Locale to use for the current request.
+ *
+ * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
+ * the user's geo-located IP address.
+ *
+ * [requestMetadata_experimentIds] - Experiment IDs the current request
+ * belongs to.
+ *
+ * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ * indicate where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * Completes with a [User].
+ *
+ * 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<User> get(core.String userId, {core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String userView, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (userId == null) {
+ throw new core.ArgumentError("Parameter userId is required.");
+ }
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
+ }
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
+ }
+ if (userView != null) {
+ _queryParams["userView"] = [userView];
+ }
+ if (requestMetadata_trafficSource_trafficSourceId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
+ }
+ if (requestMetadata_locale != null) {
+ _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
+ }
+ if (requestMetadata_userOverrides_ipAddress != null) {
+ _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
+ }
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
+ }
+
+ _url = 'v2/users/' + commons.Escaper.ecapeVariable('$userId');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new User.fromJson(data));
+ }
+
+ /**
+ * Updates a user's profile. A user can only update their own profile and
+ * should only be called within the context of a logged in user.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
+ * instead of the user's ID.
+ *
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
+ * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
+ * where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_locale] - Locale to use for the current request.
+ *
+ * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
+ * the user's geo-located IP address.
+ *
+ * [requestMetadata_experimentIds] - Experiment IDs the current request
+ * belongs to.
+ *
+ * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ * indicate where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * Completes with a [UserProfile].
+ *
+ * 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<UserProfile> updateProfile(UserProfile request, {core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
+ }
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
+ }
+ if (requestMetadata_trafficSource_trafficSourceId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
+ }
+ if (requestMetadata_locale != null) {
+ _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
+ }
+ if (requestMetadata_userOverrides_ipAddress != null) {
+ _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
+ }
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
+ }
+
+ _url = 'v2/users/profile';
+
+ var _response = _requester.request(_url,
+ "PATCH",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new UserProfile.fromJson(data));
+ }
+
+}
+
+
+class V2ResourceApi {
+ final commons.ApiRequester _requester;
+
+ V2ResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Gets Partners Status of the logged in user's agency.
+ * Should only be called if the logged in user is the admin of the agency.
+ *
+ * Request parameters:
+ *
+ * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
+ * where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_locale] - Locale to use for the current request.
+ *
+ * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
+ * the user's geo-located IP address.
+ *
+ * [requestMetadata_experimentIds] - Experiment IDs the current request
+ * belongs to.
+ *
+ * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ * indicate where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
+ * instead of the user's ID.
+ *
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
+ * Completes with a [GetPartnersStatusResponse].
+ *
+ * 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<GetPartnersStatusResponse> getPartnersstatus({core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (requestMetadata_trafficSource_trafficSourceId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
+ }
+ if (requestMetadata_locale != null) {
+ _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
+ }
+ if (requestMetadata_userOverrides_ipAddress != null) {
+ _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
+ }
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
+ }
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
+ }
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
+ }
+
+ _url = 'v2/partnersstatus';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new GetPartnersStatusResponse.fromJson(data));
+ }
+
+ /**
+ * Update company.
+ * Should only be called within the context of an authorized logged in user.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
+ * instead of the user's ID.
+ *
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
+ * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
+ * where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_locale] - Locale to use for the current request.
+ *
+ * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
+ * the user's geo-located IP address.
+ *
+ * [updateMask] - Standard field mask for the set of fields to be updated.
+ * Required with at least 1 value in FieldMask's paths.
+ *
+ * [requestMetadata_experimentIds] - Experiment IDs the current request
+ * belongs to.
+ *
+ * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ * indicate where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * Completes with a [Company].
+ *
+ * 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<Company> updateCompanies(Company request, {core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.String updateMask, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
+ }
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
+ }
+ if (requestMetadata_trafficSource_trafficSourceId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
+ }
+ if (requestMetadata_locale != null) {
+ _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
+ }
+ if (requestMetadata_userOverrides_ipAddress != null) {
+ _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
+ }
+ if (updateMask != null) {
+ _queryParams["updateMask"] = [updateMask];
+ }
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
+ }
+
+ _url = 'v2/companies';
+
+ var _response = _requester.request(_url,
+ "PATCH",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Company.fromJson(data));
+ }
+
+ /**
+ * Updates the specified lead.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
+ * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
+ * instead of the user's ID.
+ *
+ * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
+ * where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * [requestMetadata_locale] - Locale to use for the current request.
+ *
+ * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
+ * the user's geo-located IP address.
+ *
+ * [updateMask] - Standard field mask for the set of fields to be updated.
+ * Required with at least 1 value in FieldMask's paths.
+ * Only `state` and `adwords_customer_id` are currently supported.
+ *
+ * [requestMetadata_experimentIds] - Experiment IDs the current request
+ * belongs to.
+ *
+ * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ * indicate where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
+ *
+ * Completes with a [Lead].
+ *
+ * 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<Lead> updateLeads(Lead request, {core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.String updateMask, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
+ }
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
+ }
+ if (requestMetadata_trafficSource_trafficSourceId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
+ }
+ if (requestMetadata_locale != null) {
+ _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
+ }
+ if (requestMetadata_userOverrides_ipAddress != null) {
+ _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
+ }
+ if (updateMask != null) {
+ _queryParams["updateMask"] = [updateMask];
+ }
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
+ }
+
+ _url = 'v2/leads';
+
+ var _response = _requester.request(_url,
+ "PATCH",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Lead.fromJson(data));
+ }
+
+}
+
+
+
+/**
+ * Information about a particular AdWords Manager Account.
+ * Read more at https://support.google.com/adwords/answer/6139186
+ */
+class AdWordsManagerAccountInfo {
+ /** Name of the customer this account represents. */
+ core.String customerName;
+ /** The AdWords Manager Account id. */
+ core.String id;
+
+ AdWordsManagerAccountInfo();
+
+ AdWordsManagerAccountInfo.fromJson(core.Map _json) {
+ if (_json.containsKey("customerName")) {
+ customerName = _json["customerName"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (customerName != null) {
+ _json["customerName"] = customerName;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ return _json;
+ }
+}
+
+/** Analytics data for a `Company` within a single day. */
+class Analytics {
+ /**
+ * Instances of users contacting the `Company`
+ * on the specified date.
+ */
+ AnalyticsDataPoint contacts;
+ /** Date on which these events occurred. */
+ Date eventDate;
+ /**
+ * Instances of users viewing the `Company` profile
+ * on the specified date.
+ */
+ AnalyticsDataPoint profileViews;
+ /**
+ * Instances of users seeing the `Company` in Google Partners Search results
+ * on the specified date.
+ */
+ AnalyticsDataPoint searchViews;
+
+ Analytics();
+
+ Analytics.fromJson(core.Map _json) {
+ if (_json.containsKey("contacts")) {
+ contacts = new AnalyticsDataPoint.fromJson(_json["contacts"]);
+ }
+ if (_json.containsKey("eventDate")) {
+ eventDate = new Date.fromJson(_json["eventDate"]);
+ }
+ if (_json.containsKey("profileViews")) {
+ profileViews = new AnalyticsDataPoint.fromJson(_json["profileViews"]);
+ }
+ if (_json.containsKey("searchViews")) {
+ searchViews = new AnalyticsDataPoint.fromJson(_json["searchViews"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (contacts != null) {
+ _json["contacts"] = (contacts).toJson();
+ }
+ if (eventDate != null) {
+ _json["eventDate"] = (eventDate).toJson();
+ }
+ if (profileViews != null) {
+ _json["profileViews"] = (profileViews).toJson();
+ }
+ if (searchViews != null) {
+ _json["searchViews"] = (searchViews).toJson();
+ }
+ return _json;
+ }
+}
+
+/** Details of the analytics events for a `Company` within a single day. */
+class AnalyticsDataPoint {
+ /**
+ * Number of times the type of event occurred.
+ * Meaning depends on context (e.g. profile views, contacts, etc.).
+ */
+ core.int eventCount;
+ /** Location information of where these events occurred. */
+ core.List<LatLng> eventLocations;
+
+ AnalyticsDataPoint();
+
+ AnalyticsDataPoint.fromJson(core.Map _json) {
+ if (_json.containsKey("eventCount")) {
+ eventCount = _json["eventCount"];
+ }
+ if (_json.containsKey("eventLocations")) {
+ eventLocations = _json["eventLocations"].map((value) => new LatLng.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (eventCount != null) {
+ _json["eventCount"] = eventCount;
+ }
+ if (eventLocations != null) {
+ _json["eventLocations"] = eventLocations.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/** Analytics aggregated data for a `Company` for a given date range. */
+class AnalyticsSummary {
+ /**
+ * Aggregated number of times users contacted the `Company`
+ * for given date range.
+ */
+ core.int contactsCount;
+ /**
+ * Aggregated number of profile views for the `Company` for given date range.
+ */
+ core.int profileViewsCount;
+ /**
+ * Aggregated number of times users saw the `Company`
+ * in Google Partners Search results for given date range.
+ */
+ core.int searchViewsCount;
+
+ AnalyticsSummary();
+
+ AnalyticsSummary.fromJson(core.Map _json) {
+ if (_json.containsKey("contactsCount")) {
+ contactsCount = _json["contactsCount"];
+ }
+ if (_json.containsKey("profileViewsCount")) {
+ profileViewsCount = _json["profileViewsCount"];
+ }
+ if (_json.containsKey("searchViewsCount")) {
+ searchViewsCount = _json["searchViewsCount"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (contactsCount != null) {
+ _json["contactsCount"] = contactsCount;
+ }
+ if (profileViewsCount != null) {
+ _json["profileViewsCount"] = profileViewsCount;
+ }
+ if (searchViewsCount != null) {
+ _json["searchViewsCount"] = searchViewsCount;
+ }
+ return _json;
+ }
+}
+
+/** Available Offers to be distributed. */
+class AvailableOffer {
+ /**
+ * The number of codes for this offer that are available for distribution.
+ */
+ core.int available;
+ /** Offer info by country. */
+ core.List<CountryOfferInfo> countryOfferInfos;
+ /** Description of the offer. */
+ core.String description;
+ /** ID of this offer. */
+ core.String id;
+ /** The maximum age of an account [in days] to be eligible. */
+ core.int maxAccountAge;
+ /** Name of the offer. */
+ core.String name;
+ /**
+ * Level of this offer.
+ * Possible string values are:
+ * - "OFFER_LEVEL_UNSPECIFIED" : Unset.
+ * - "OFFER_LEVEL_DENY_PROBLEM" : Users/Agencies that have no offers because
+ * of a problem.
+ * - "OFFER_LEVEL_DENY_CONTRACT" : Users/Agencies that have no offers due to
+ * contractural agreements.
+ * - "OFFER_LEVEL_MANUAL" : Users/Agencies that have a manually-configured
+ * limit.
+ * - "OFFER_LEVEL_LIMIT_0" : Some Agencies don't get any offers.
+ * - "OFFER_LEVEL_LIMIT_5" : Basic level gets 5 per month.
+ * - "OFFER_LEVEL_LIMIT_15" : Agencies with adequate AHI and spend get
+ * 15/month.
+ * - "OFFER_LEVEL_LIMIT_50" : Badged partners (even in grace) get 50 per
+ * month.
+ */
+ core.String offerLevel;
+ /**
+ * Type of offer.
+ * Possible string values are:
+ * - "OFFER_TYPE_UNSPECIFIED" : Unset.
+ * - "OFFER_TYPE_SPEND_X_GET_Y" : AdWords spend X get Y.
+ * - "OFFER_TYPE_VIDEO" : Youtube video.
+ * - "OFFER_TYPE_SPEND_MATCH" : Spend Match up to Y.
+ */
+ core.String offerType;
+ /** Customers who qualify for this offer. */
+ core.List<OfferCustomer> qualifiedCustomer;
+ /** Whether or not the list of qualified customers is definitely complete. */
+ core.bool qualifiedCustomersComplete;
+ /** Should special text be shown on the offers page. */
+ core.bool showSpecialOfferCopy;
+ /** Terms of the offer. */
+ core.String terms;
+
+ AvailableOffer();
+
+ AvailableOffer.fromJson(core.Map _json) {
+ if (_json.containsKey("available")) {
+ available = _json["available"];
+ }
+ if (_json.containsKey("countryOfferInfos")) {
+ countryOfferInfos = _json["countryOfferInfos"].map((value) => new CountryOfferInfo.fromJson(value)).toList();
+ }
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("maxAccountAge")) {
+ maxAccountAge = _json["maxAccountAge"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("offerLevel")) {
+ offerLevel = _json["offerLevel"];
+ }
+ if (_json.containsKey("offerType")) {
+ offerType = _json["offerType"];
+ }
+ if (_json.containsKey("qualifiedCustomer")) {
+ qualifiedCustomer = _json["qualifiedCustomer"].map((value) => new OfferCustomer.fromJson(value)).toList();
+ }
+ if (_json.containsKey("qualifiedCustomersComplete")) {
+ qualifiedCustomersComplete = _json["qualifiedCustomersComplete"];
+ }
+ if (_json.containsKey("showSpecialOfferCopy")) {
+ showSpecialOfferCopy = _json["showSpecialOfferCopy"];
+ }
+ if (_json.containsKey("terms")) {
+ terms = _json["terms"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (available != null) {
+ _json["available"] = available;
+ }
+ if (countryOfferInfos != null) {
+ _json["countryOfferInfos"] = countryOfferInfos.map((value) => (value).toJson()).toList();
+ }
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (maxAccountAge != null) {
+ _json["maxAccountAge"] = maxAccountAge;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (offerLevel != null) {
+ _json["offerLevel"] = offerLevel;
+ }
+ if (offerType != null) {
+ _json["offerType"] = offerType;
+ }
+ if (qualifiedCustomer != null) {
+ _json["qualifiedCustomer"] = qualifiedCustomer.map((value) => (value).toJson()).toList();
+ }
+ if (qualifiedCustomersComplete != null) {
+ _json["qualifiedCustomersComplete"] = qualifiedCustomersComplete;
+ }
+ if (showSpecialOfferCopy != null) {
+ _json["showSpecialOfferCopy"] = showSpecialOfferCopy;
+ }
+ if (terms != null) {
+ _json["terms"] = terms;
+ }
+ return _json;
+ }
+}
+
+/** A user's information on a specific certification. */
+class Certification {
+ /** Whether this certification has been achieved. */
+ core.bool achieved;
+ /**
+ * The type of certification, the area of expertise.
+ * Possible string values are:
+ * - "CERTIFICATION_TYPE_UNSPECIFIED" : Unchosen.
+ * - "CT_ADWORDS" : AdWords certified.
+ * - "CT_YOUTUBE" : YouTube certified.
+ * - "CT_VIDEOADS" : VideoAds certified.
+ * - "CT_ANALYTICS" : Analytics certified.
+ * - "CT_DOUBLECLICK" : DoubleClick certified.
+ * - "CT_SHOPPING" : Shopping certified.
+ * - "CT_MOBILE" : Mobile certified.
+ * - "CT_DIGITAL_SALES" : Digital sales certified.
+ * - "CT_ADWORDS_SEARCH" : AdWords Search certified.
+ * - "CT_ADWORDS_DISPLAY" : AdWords Display certified.
+ * - "CT_MOBILE_SITES" : Mobile Sites certified.
+ */
+ core.String certificationType;
+ /** Date this certification is due to expire. */
+ core.String expiration;
+ /** The date the user last achieved certification. */
+ core.String lastAchieved;
+ /** Whether this certification is in the state of warning. */
+ core.bool warning;
+
+ Certification();
+
+ Certification.fromJson(core.Map _json) {
+ if (_json.containsKey("achieved")) {
+ achieved = _json["achieved"];
+ }
+ if (_json.containsKey("certificationType")) {
+ certificationType = _json["certificationType"];
+ }
+ if (_json.containsKey("expiration")) {
+ expiration = _json["expiration"];
+ }
+ if (_json.containsKey("lastAchieved")) {
+ lastAchieved = _json["lastAchieved"];
+ }
+ if (_json.containsKey("warning")) {
+ warning = _json["warning"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (achieved != null) {
+ _json["achieved"] = achieved;
+ }
+ if (certificationType != null) {
+ _json["certificationType"] = certificationType;
+ }
+ if (expiration != null) {
+ _json["expiration"] = expiration;
+ }
+ if (lastAchieved != null) {
+ _json["lastAchieved"] = lastAchieved;
+ }
+ if (warning != null) {
+ _json["warning"] = warning;
+ }
+ return _json;
+ }
+}
/** Status for a Google Partners certification exam. */
class CertificationExamStatus {
@@ -590,15 +2149,17 @@
/**
* The type of certification exam.
* Possible string values are:
- * - "CERTIFICATION_EXAM_TYPE_UNSPECIFIED" : A
- * CERTIFICATION_EXAM_TYPE_UNSPECIFIED.
- * - "CET_ADWORDS_ADVANCED_SEARCH" : A CET_ADWORDS_ADVANCED_SEARCH.
- * - "CET_ADWORDS_ADVANCED_DISPLAY" : A CET_ADWORDS_ADVANCED_DISPLAY.
- * - "CET_VIDEO_ADS" : A CET_VIDEO_ADS.
- * - "CET_ANALYTICS" : A CET_ANALYTICS.
- * - "CET_DOUBLECLICK" : A CET_DOUBLECLICK.
- * - "CET_SHOPPING" : A CET_SHOPPING.
- * - "CET_MOBILE" : A CET_MOBILE.
+ * - "CERTIFICATION_EXAM_TYPE_UNSPECIFIED" : Unchosen.
+ * - "CET_ADWORDS_FUNDAMENTALS" : Adwords Fundamentals exam.
+ * - "CET_ADWORDS_ADVANCED_SEARCH" : AdWords advanced search exam.
+ * - "CET_ADWORDS_ADVANCED_DISPLAY" : AdWords advanced display exam.
+ * - "CET_VIDEO_ADS" : VideoAds exam.
+ * - "CET_DOUBLECLICK" : DoubleClick exam.
+ * - "CET_ANALYTICS" : Analytics exam.
+ * - "CET_SHOPPING" : Shopping exam.
+ * - "CET_MOBILE" : Mobile exam.
+ * - "CET_DIGITAL_SALES" : Digital Sales exam.
+ * - "CET_MOBILE_SITES" : Mobile Sites exam.
*/
core.String type;
@@ -634,16 +2195,22 @@
/**
* The type of the certification.
* Possible string values are:
- * - "CERTIFICATION_TYPE_UNSPECIFIED" : A CERTIFICATION_TYPE_UNSPECIFIED.
- * - "CT_ADWORDS" : A CT_ADWORDS.
- * - "CT_YOUTUBE" : A CT_YOUTUBE.
- * - "CT_VIDEOADS" : A CT_VIDEOADS.
- * - "CT_ANALYTICS" : A CT_ANALYTICS.
- * - "CT_DOUBLECLICK" : A CT_DOUBLECLICK.
- * - "CT_SHOPPING" : A CT_SHOPPING.
- * - "CT_MOBILE" : A CT_MOBILE.
+ * - "CERTIFICATION_TYPE_UNSPECIFIED" : Unchosen.
+ * - "CT_ADWORDS" : AdWords certified.
+ * - "CT_YOUTUBE" : YouTube certified.
+ * - "CT_VIDEOADS" : VideoAds certified.
+ * - "CT_ANALYTICS" : Analytics certified.
+ * - "CT_DOUBLECLICK" : DoubleClick certified.
+ * - "CT_SHOPPING" : Shopping certified.
+ * - "CT_MOBILE" : Mobile certified.
+ * - "CT_DIGITAL_SALES" : Digital sales certified.
+ * - "CT_ADWORDS_SEARCH" : AdWords Search certified.
+ * - "CT_ADWORDS_DISPLAY" : AdWords Display certified.
+ * - "CT_MOBILE_SITES" : Mobile Sites certified.
*/
core.String type;
+ /** Number of people who are certified, */
+ core.int userCount;
CertificationStatus();
@@ -657,6 +2224,9 @@
if (_json.containsKey("type")) {
type = _json["type"];
}
+ if (_json.containsKey("userCount")) {
+ userCount = _json["userCount"];
+ }
}
core.Map toJson() {
@@ -670,6 +2240,9 @@
if (type != null) {
_json["type"] = type;
}
+ if (userCount != null) {
+ _json["userCount"] = userCount;
+ }
return _json;
}
}
@@ -679,8 +2252,29 @@
* for being searched by advertisers.
*/
class Company {
+ /**
+ * URL of the company's additional websites used to verify the dynamic badges.
+ * These are stored as full URLs as entered by the user, but only the TLD will
+ * be used for the actual verification.
+ */
+ core.List<core.String> additionalWebsites;
+ /**
+ * Email domains that allow users with a matching email address to get
+ * auto-approved for associating with this company.
+ */
+ core.List<core.String> autoApprovalEmailDomains;
+ /**
+ * Partner badge tier
+ * Possible string values are:
+ * - "BADGE_TIER_NONE" : Tier badge is not set.
+ * - "BADGE_TIER_REGULAR" : Agency has regular partner badge.
+ * - "BADGE_TIER_PREMIER" : Agency has premier badge.
+ */
+ core.String badgeTier;
/** The list of Google Partners certification statuses for the company. */
core.List<CertificationStatus> certificationStatuses;
+ /** Company type labels listed on the company's profile. */
+ core.List<core.String> companyTypes;
/**
* The minimum monthly budget that the company accepts for partner business,
* converted to the requested currency code.
@@ -692,7 +2286,12 @@
core.List<core.String> industries;
/** The list of localized info for the company. */
core.List<LocalizedCompanyInfo> localizedInfos;
- /** The list of company locations. */
+ /**
+ * The list of all company locations.
+ * If set, must include the
+ * primary_location
+ * in the list.
+ */
core.List<Location> locations;
/** The name of the company. */
core.String name;
@@ -701,6 +2300,27 @@
* business.
*/
Money originalMinMonthlyBudget;
+ /** The Primary AdWords Manager Account id. */
+ core.String primaryAdwordsManagerAccountId;
+ /**
+ * The primary language code of the company, as defined by
+ * <a href="https://tools.ietf.org/html/bcp47">BCP 47</a>
+ * (IETF BCP 47, "Tags for Identifying Languages").
+ */
+ core.String primaryLanguageCode;
+ /** The primary location of the company. */
+ Location primaryLocation;
+ /**
+ * The public viewability status of the company's profile.
+ * Possible string values are:
+ * - "COMPANY_PROFILE_STATUS_UNSPECIFIED" : Unchosen.
+ * - "HIDDEN" : Company profile does not show up publicly.
+ * - "PUBLISHED" : Company profile can only be viewed by the profile's URL
+ * and not by Google Partner Search.
+ * - "SEARCHABLE" : Company profile can be viewed by the profile's URL
+ * and by Google Partner Search.
+ */
+ core.String profileStatus;
/** Basic information from the company's public profile. */
PublicProfile publicProfile;
/**
@@ -710,15 +2330,29 @@
core.List<Rank> ranks;
/** Services the company can help with. */
core.List<core.String> services;
+ /** The list of Google Partners specialization statuses for the company. */
+ core.List<SpecializationStatus> specializationStatus;
/** URL of the company's website. */
core.String websiteUrl;
Company();
Company.fromJson(core.Map _json) {
+ if (_json.containsKey("additionalWebsites")) {
+ additionalWebsites = _json["additionalWebsites"];
+ }
+ if (_json.containsKey("autoApprovalEmailDomains")) {
+ autoApprovalEmailDomains = _json["autoApprovalEmailDomains"];
+ }
+ if (_json.containsKey("badgeTier")) {
+ badgeTier = _json["badgeTier"];
+ }
if (_json.containsKey("certificationStatuses")) {
certificationStatuses = _json["certificationStatuses"].map((value) => new CertificationStatus.fromJson(value)).toList();
}
+ if (_json.containsKey("companyTypes")) {
+ companyTypes = _json["companyTypes"];
+ }
if (_json.containsKey("convertedMinMonthlyBudget")) {
convertedMinMonthlyBudget = new Money.fromJson(_json["convertedMinMonthlyBudget"]);
}
@@ -740,6 +2374,18 @@
if (_json.containsKey("originalMinMonthlyBudget")) {
originalMinMonthlyBudget = new Money.fromJson(_json["originalMinMonthlyBudget"]);
}
+ if (_json.containsKey("primaryAdwordsManagerAccountId")) {
+ primaryAdwordsManagerAccountId = _json["primaryAdwordsManagerAccountId"];
+ }
+ if (_json.containsKey("primaryLanguageCode")) {
+ primaryLanguageCode = _json["primaryLanguageCode"];
+ }
+ if (_json.containsKey("primaryLocation")) {
+ primaryLocation = new Location.fromJson(_json["primaryLocation"]);
+ }
+ if (_json.containsKey("profileStatus")) {
+ profileStatus = _json["profileStatus"];
+ }
if (_json.containsKey("publicProfile")) {
publicProfile = new PublicProfile.fromJson(_json["publicProfile"]);
}
@@ -749,6 +2395,9 @@
if (_json.containsKey("services")) {
services = _json["services"];
}
+ if (_json.containsKey("specializationStatus")) {
+ specializationStatus = _json["specializationStatus"].map((value) => new SpecializationStatus.fromJson(value)).toList();
+ }
if (_json.containsKey("websiteUrl")) {
websiteUrl = _json["websiteUrl"];
}
@@ -756,9 +2405,21 @@
core.Map toJson() {
var _json = new core.Map();
+ if (additionalWebsites != null) {
+ _json["additionalWebsites"] = additionalWebsites;
+ }
+ if (autoApprovalEmailDomains != null) {
+ _json["autoApprovalEmailDomains"] = autoApprovalEmailDomains;
+ }
+ if (badgeTier != null) {
+ _json["badgeTier"] = badgeTier;
+ }
if (certificationStatuses != null) {
_json["certificationStatuses"] = certificationStatuses.map((value) => (value).toJson()).toList();
}
+ if (companyTypes != null) {
+ _json["companyTypes"] = companyTypes;
+ }
if (convertedMinMonthlyBudget != null) {
_json["convertedMinMonthlyBudget"] = (convertedMinMonthlyBudget).toJson();
}
@@ -780,6 +2441,18 @@
if (originalMinMonthlyBudget != null) {
_json["originalMinMonthlyBudget"] = (originalMinMonthlyBudget).toJson();
}
+ if (primaryAdwordsManagerAccountId != null) {
+ _json["primaryAdwordsManagerAccountId"] = primaryAdwordsManagerAccountId;
+ }
+ if (primaryLanguageCode != null) {
+ _json["primaryLanguageCode"] = primaryLanguageCode;
+ }
+ if (primaryLocation != null) {
+ _json["primaryLocation"] = (primaryLocation).toJson();
+ }
+ if (profileStatus != null) {
+ _json["profileStatus"] = profileStatus;
+ }
if (publicProfile != null) {
_json["publicProfile"] = (publicProfile).toJson();
}
@@ -789,6 +2462,9 @@
if (services != null) {
_json["services"] = services;
}
+ if (specializationStatus != null) {
+ _json["specializationStatus"] = specializationStatus.map((value) => (value).toJson()).toList();
+ }
if (websiteUrl != null) {
_json["websiteUrl"] = websiteUrl;
}
@@ -796,14 +2472,232 @@
}
}
+/**
+ * A CompanyRelation resource representing information about a user's
+ * affiliation and standing with a company in Partners.
+ */
+class CompanyRelation {
+ /** The primary address for this company. */
+ core.String address;
+ /**
+ * Whether the company is a Partner.
+ * Possible string values are:
+ * - "BADGE_TIER_NONE" : Tier badge is not set.
+ * - "BADGE_TIER_REGULAR" : Agency has regular partner badge.
+ * - "BADGE_TIER_PREMIER" : Agency has premier badge.
+ */
+ core.String badgeTier;
+ /** Indicates if the user is an admin for this company. */
+ core.bool companyAdmin;
+ /**
+ * The ID of the company. There may be no id if this is a
+ * pending company.5
+ */
+ core.String companyId;
+ /**
+ * The timestamp of when affiliation was requested.
+ * @OutputOnly
+ */
+ core.String creationTime;
+ /** The flag that indicates if the company is pending verification. */
+ core.bool isPending;
+ /** A URL to a profile photo, e.g. a G+ profile photo. */
+ core.String logoUrl;
+ /** The AdWords manager account # associated this company. */
+ core.String managerAccount;
+ /** The name (in the company's primary language) for the company. */
+ core.String name;
+ /** The phone number for the company's primary address. */
+ core.String phoneNumber;
+ /**
+ * The timestamp when the user was approved.
+ * @OutputOnly
+ */
+ core.String resolvedTimestamp;
+ /** The segment the company is classified as. */
+ core.List<core.String> segment;
+ /** The list of Google Partners specialization statuses for the company. */
+ core.List<SpecializationStatus> specializationStatus;
+ /**
+ * The state of relationship, in terms of approvals.
+ * Possible string values are:
+ * - "USER_COMPANY_REATION_STATE_NONE_SPECIFIED" : Default unspecified value.
+ * - "USER_COMPANY_RELATION_STATE_AWAIT_EMAIL" : User has filled in a request
+ * to be associated with an company.
+ * Now waiting email confirmation.
+ * - "USER_COMPANY_RELATION_STATE_AWAIT_ADMIN" : Pending approval from
+ * company.
+ * Email confirmation will not approve this one.
+ * - "USER_COMPANY_RELATION_STATE_APPROVED" : Approved by company.
+ */
+ core.String state;
+ /** The website URL for this company. */
+ core.String website;
+
+ CompanyRelation();
+
+ CompanyRelation.fromJson(core.Map _json) {
+ if (_json.containsKey("address")) {
+ address = _json["address"];
+ }
+ if (_json.containsKey("badgeTier")) {
+ badgeTier = _json["badgeTier"];
+ }
+ if (_json.containsKey("companyAdmin")) {
+ companyAdmin = _json["companyAdmin"];
+ }
+ if (_json.containsKey("companyId")) {
+ companyId = _json["companyId"];
+ }
+ if (_json.containsKey("creationTime")) {
+ creationTime = _json["creationTime"];
+ }
+ if (_json.containsKey("isPending")) {
+ isPending = _json["isPending"];
+ }
+ if (_json.containsKey("logoUrl")) {
+ logoUrl = _json["logoUrl"];
+ }
+ if (_json.containsKey("managerAccount")) {
+ managerAccount = _json["managerAccount"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("phoneNumber")) {
+ phoneNumber = _json["phoneNumber"];
+ }
+ if (_json.containsKey("resolvedTimestamp")) {
+ resolvedTimestamp = _json["resolvedTimestamp"];
+ }
+ if (_json.containsKey("segment")) {
+ segment = _json["segment"];
+ }
+ if (_json.containsKey("specializationStatus")) {
+ specializationStatus = _json["specializationStatus"].map((value) => new SpecializationStatus.fromJson(value)).toList();
+ }
+ if (_json.containsKey("state")) {
+ state = _json["state"];
+ }
+ if (_json.containsKey("website")) {
+ website = _json["website"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (address != null) {
+ _json["address"] = address;
+ }
+ if (badgeTier != null) {
+ _json["badgeTier"] = badgeTier;
+ }
+ if (companyAdmin != null) {
+ _json["companyAdmin"] = companyAdmin;
+ }
+ if (companyId != null) {
+ _json["companyId"] = companyId;
+ }
+ if (creationTime != null) {
+ _json["creationTime"] = creationTime;
+ }
+ if (isPending != null) {
+ _json["isPending"] = isPending;
+ }
+ if (logoUrl != null) {
+ _json["logoUrl"] = logoUrl;
+ }
+ if (managerAccount != null) {
+ _json["managerAccount"] = managerAccount;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (phoneNumber != null) {
+ _json["phoneNumber"] = phoneNumber;
+ }
+ if (resolvedTimestamp != null) {
+ _json["resolvedTimestamp"] = resolvedTimestamp;
+ }
+ if (segment != null) {
+ _json["segment"] = segment;
+ }
+ if (specializationStatus != null) {
+ _json["specializationStatus"] = specializationStatus.map((value) => (value).toJson()).toList();
+ }
+ if (state != null) {
+ _json["state"] = state;
+ }
+ if (website != null) {
+ _json["website"] = website;
+ }
+ return _json;
+ }
+}
+
+/** Offer info by country. */
+class CountryOfferInfo {
+ /** (localized) Get Y amount for that country's offer. */
+ core.String getYAmount;
+ /** Country code for which offer codes may be requested. */
+ core.String offerCountryCode;
+ /**
+ * Type of offer country is eligible for.
+ * Possible string values are:
+ * - "OFFER_TYPE_UNSPECIFIED" : Unset.
+ * - "OFFER_TYPE_SPEND_X_GET_Y" : AdWords spend X get Y.
+ * - "OFFER_TYPE_VIDEO" : Youtube video.
+ * - "OFFER_TYPE_SPEND_MATCH" : Spend Match up to Y.
+ */
+ core.String offerType;
+ /** (localized) Spend X amount for that country's offer. */
+ core.String spendXAmount;
+
+ CountryOfferInfo();
+
+ CountryOfferInfo.fromJson(core.Map _json) {
+ if (_json.containsKey("getYAmount")) {
+ getYAmount = _json["getYAmount"];
+ }
+ if (_json.containsKey("offerCountryCode")) {
+ offerCountryCode = _json["offerCountryCode"];
+ }
+ if (_json.containsKey("offerType")) {
+ offerType = _json["offerType"];
+ }
+ if (_json.containsKey("spendXAmount")) {
+ spendXAmount = _json["spendXAmount"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (getYAmount != null) {
+ _json["getYAmount"] = getYAmount;
+ }
+ if (offerCountryCode != null) {
+ _json["offerCountryCode"] = offerCountryCode;
+ }
+ if (offerType != null) {
+ _json["offerType"] = offerType;
+ }
+ if (spendXAmount != null) {
+ _json["spendXAmount"] = spendXAmount;
+ }
+ return _json;
+ }
+}
+
/** Request message for CreateLead. */
class CreateLeadRequest {
/**
- * The lead resource. The `LeadType` must not be `LEAD_TYPE_UNSPECIFIED` and
- * either `email` or `phone_number` must be provided.
+ * The lead resource. The `LeadType` must not be `LEAD_TYPE_UNSPECIFIED`
+ * and either `email` or `phone_number` must be provided.
*/
Lead lead;
- /** reCaptcha challenge info. */
+ /**
+ * <a href="https://www.google.com/recaptcha/">reCaptcha</a> challenge info.
+ */
RecaptchaChallenge recaptchaChallenge;
/** Current request metadata. */
RequestMetadata requestMetadata;
@@ -837,19 +2731,21 @@
}
}
-/** Response message for CreateLead. Debug information about this request. */
+/** Response message for CreateLead. */
class CreateLeadResponse {
/**
- * Lead that was created depending on the outcome of reCaptcha validation.
+ * Lead that was created depending on the outcome of
+ * <a href="https://www.google.com/recaptcha/">reCaptcha</a> validation.
*/
Lead lead;
/**
- * The outcome of reCaptcha validation.
+ * The outcome of <a href="https://www.google.com/recaptcha/">reCaptcha</a>
+ * validation.
* Possible string values are:
- * - "RECAPTCHA_STATUS_UNSPECIFIED" : A RECAPTCHA_STATUS_UNSPECIFIED.
- * - "RS_NOT_NEEDED" : A RS_NOT_NEEDED.
- * - "RS_PASSED" : A RS_PASSED.
- * - "RS_FAILED" : A RS_FAILED.
+ * - "RECAPTCHA_STATUS_UNSPECIFIED" : Unchosen.
+ * - "RS_NOT_NEEDED" : No reCaptcha validation needed.
+ * - "RS_PASSED" : reCaptcha challenge passed.
+ * - "RS_FAILED" : reCaptcha challenge failed.
*/
core.String recaptchaStatus;
/** Current response metadata. */
@@ -884,6 +2780,58 @@
}
}
+/**
+ * Represents a whole calendar date, e.g. date of birth. The time of day and
+ * time zone are either specified elsewhere or are not significant. The date
+ * is relative to the Proleptic Gregorian Calendar. The day may be 0 to
+ * represent a year and month where the day is not significant, e.g. credit card
+ * expiration date. The year may be 0 to represent a month and day independent
+ * of year, e.g. anniversary date. Related types are google.type.TimeOfDay
+ * and `google.protobuf.Timestamp`.
+ */
+class Date {
+ /**
+ * Day of month. Must be from 1 to 31 and valid for the year and month, or 0
+ * if specifying a year/month where the day is not significant.
+ */
+ core.int day;
+ /** Month of year. Must be from 1 to 12. */
+ core.int month;
+ /**
+ * Year of date. Must be from 1 to 9999, or 0 if specifying a date without
+ * a year.
+ */
+ core.int year;
+
+ Date();
+
+ Date.fromJson(core.Map _json) {
+ if (_json.containsKey("day")) {
+ day = _json["day"];
+ }
+ if (_json.containsKey("month")) {
+ month = _json["month"];
+ }
+ if (_json.containsKey("year")) {
+ year = _json["year"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (day != null) {
+ _json["day"] = day;
+ }
+ if (month != null) {
+ _json["month"] = month;
+ }
+ if (year != null) {
+ _json["year"] = year;
+ }
+ return _json;
+ }
+}
+
/** Debug information about this request. */
class DebugInfo {
/** Info about the server that serviced this request. */
@@ -922,49 +2870,73 @@
}
}
+/**
+ * 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);
+ * }
+ *
+ * The JSON representation for `Empty` is empty JSON object `{}`.
+ */
+class Empty {
+
+ Empty();
+
+ Empty.fromJson(core.Map _json) {
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ return _json;
+ }
+}
+
/** Key value data pair for an event. */
class EventData {
/**
* Data type.
* Possible string values are:
- * - "EVENT_DATA_TYPE_UNSPECIFIED" : A EVENT_DATA_TYPE_UNSPECIFIED.
- * - "ACTION" : A ACTION.
- * - "AGENCY_ID" : A AGENCY_ID.
- * - "AGENCY_NAME" : A AGENCY_NAME.
- * - "AGENCY_PHONE_NUMBER" : A AGENCY_PHONE_NUMBER.
- * - "AGENCY_WEBSITE" : A AGENCY_WEBSITE.
- * - "BUDGET" : A BUDGET.
- * - "CENTER_POINT" : A CENTER_POINT.
- * - "CERTIFICATION" : A CERTIFICATION.
- * - "COMMENT" : A COMMENT.
- * - "COUNTRY" : A COUNTRY.
- * - "CURRENCY" : A CURRENCY.
- * - "CURRENTLY_VIEWED_AGENCY_ID" : A CURRENTLY_VIEWED_AGENCY_ID.
- * - "DISTANCE" : A DISTANCE.
- * - "DISTANCE_TYPE" : A DISTANCE_TYPE.
- * - "EXAM" : A EXAM.
- * - "HISTORY_TOKEN" : A HISTORY_TOKEN.
- * - "IDENTIFIER" : A IDENTIFIER.
- * - "INDUSTRY" : A INDUSTRY.
- * - "INSIGHT_TAG" : A INSIGHT_TAG.
- * - "LANGUAGE" : A LANGUAGE.
- * - "LOCATION" : A LOCATION.
- * - "MARKETING_OPT_IN" : A MARKETING_OPT_IN.
- * - "QUERY" : A QUERY.
- * - "SEARCH_START_INDEX" : A SEARCH_START_INDEX.
- * - "SERVICE" : A SERVICE.
- * - "SHOW_VOW" : A SHOW_VOW.
- * - "SOLUTION" : A SOLUTION.
- * - "TRAFFIC_SOURCE_ID" : A TRAFFIC_SOURCE_ID.
- * - "TRAFFIC_SUB_ID" : A TRAFFIC_SUB_ID.
- * - "VIEW_PORT" : A VIEW_PORT.
- * - "WEBSITE" : A WEBSITE.
- * - "DETAILS" : A DETAILS.
- * - "EXPERIMENT_ID" : A EXPERIMENT_ID.
- * - "GPS_MOTIVATION" : A GPS_MOTIVATION.
- * - "URL" : A URL.
- * - "ELEMENT_FOCUS" : A ELEMENT_FOCUS.
- * - "PROGRESS" : A PROGRESS.
+ * - "EVENT_DATA_TYPE_UNSPECIFIED" : Unchosen.
+ * - "ACTION" : Action data.
+ * - "AGENCY_ID" : Agency ID data.
+ * - "AGENCY_NAME" : Agency name data.
+ * - "AGENCY_PHONE_NUMBER" : Agency phone number data.
+ * - "AGENCY_WEBSITE" : Agency website data.
+ * - "BUDGET" : Budget data.
+ * - "CENTER_POINT" : Center-point data.
+ * - "CERTIFICATION" : Certification data.
+ * - "COMMENT" : Comment data.
+ * - "COUNTRY" : Country data.
+ * - "CURRENCY" : Currency data.
+ * - "CURRENTLY_VIEWED_AGENCY_ID" : Currently viewed agency ID data.
+ * - "DISTANCE" : Distance data.
+ * - "DISTANCE_TYPE" : Distance type data.
+ * - "EXAM" : Exam data.
+ * - "HISTORY_TOKEN" : History token data.
+ * - "ID" : Identifier data.
+ * - "INDUSTRY" : Industry data.
+ * - "INSIGHT_TAG" : Insight tag data.
+ * - "LANGUAGE" : Language data.
+ * - "LOCATION" : Location data.
+ * - "MARKETING_OPT_IN" : Marketing opt-in data.
+ * - "QUERY" : Query data.
+ * - "SEARCH_START_INDEX" : Search start index data.
+ * - "SERVICE" : Service data.
+ * - "SHOW_VOW" : Show vow data.
+ * - "SOLUTION" : Solution data.
+ * - "TRAFFIC_SOURCE_ID" : Traffic source ID data.
+ * - "TRAFFIC_SUB_ID" : Traffic sub ID data.
+ * - "VIEW_PORT" : Viewport data.
+ * - "WEBSITE" : Website data.
+ * - "DETAILS" : Details data.
+ * - "EXPERIMENT_ID" : Experiment ID data.
+ * - "GPS_MOTIVATION" : Google Partner Search motivation data.
+ * - "URL" : URL data.
+ * - "ELEMENT_FOCUS" : Element we wanted user to focus on.
+ * - "PROGRESS" : Progress when viewing an item \[0-100\].
*/
core.String key;
/** Data values. */
@@ -993,6 +2965,134 @@
}
}
+/** A user's information on a specific exam. */
+class ExamStatus {
+ /**
+ * The type of the exam.
+ * Possible string values are:
+ * - "CERTIFICATION_EXAM_TYPE_UNSPECIFIED" : Unchosen.
+ * - "CET_ADWORDS_FUNDAMENTALS" : Adwords Fundamentals exam.
+ * - "CET_ADWORDS_ADVANCED_SEARCH" : AdWords advanced search exam.
+ * - "CET_ADWORDS_ADVANCED_DISPLAY" : AdWords advanced display exam.
+ * - "CET_VIDEO_ADS" : VideoAds exam.
+ * - "CET_DOUBLECLICK" : DoubleClick exam.
+ * - "CET_ANALYTICS" : Analytics exam.
+ * - "CET_SHOPPING" : Shopping exam.
+ * - "CET_MOBILE" : Mobile exam.
+ * - "CET_DIGITAL_SALES" : Digital Sales exam.
+ * - "CET_MOBILE_SITES" : Mobile Sites exam.
+ */
+ core.String examType;
+ /** Date this exam is due to expire. */
+ core.String expiration;
+ /** The date the user last passed this exam. */
+ core.String lastPassed;
+ /** Whether this exam has been passed and not expired. */
+ core.bool passed;
+ /** The date the user last taken this exam. */
+ core.String taken;
+ /** Whether this exam is in the state of warning. */
+ core.bool warning;
+
+ ExamStatus();
+
+ ExamStatus.fromJson(core.Map _json) {
+ if (_json.containsKey("examType")) {
+ examType = _json["examType"];
+ }
+ if (_json.containsKey("expiration")) {
+ expiration = _json["expiration"];
+ }
+ if (_json.containsKey("lastPassed")) {
+ lastPassed = _json["lastPassed"];
+ }
+ if (_json.containsKey("passed")) {
+ passed = _json["passed"];
+ }
+ if (_json.containsKey("taken")) {
+ taken = _json["taken"];
+ }
+ if (_json.containsKey("warning")) {
+ warning = _json["warning"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (examType != null) {
+ _json["examType"] = examType;
+ }
+ if (expiration != null) {
+ _json["expiration"] = expiration;
+ }
+ if (lastPassed != null) {
+ _json["lastPassed"] = lastPassed;
+ }
+ if (passed != null) {
+ _json["passed"] = passed;
+ }
+ if (taken != null) {
+ _json["taken"] = taken;
+ }
+ if (warning != null) {
+ _json["warning"] = warning;
+ }
+ return _json;
+ }
+}
+
+/** A token that allows a user to take an exam. */
+class ExamToken {
+ /** The id of the exam the token is for. */
+ core.String examId;
+ /**
+ * The type of the exam the token belongs to.
+ * Possible string values are:
+ * - "CERTIFICATION_EXAM_TYPE_UNSPECIFIED" : Unchosen.
+ * - "CET_ADWORDS_FUNDAMENTALS" : Adwords Fundamentals exam.
+ * - "CET_ADWORDS_ADVANCED_SEARCH" : AdWords advanced search exam.
+ * - "CET_ADWORDS_ADVANCED_DISPLAY" : AdWords advanced display exam.
+ * - "CET_VIDEO_ADS" : VideoAds exam.
+ * - "CET_DOUBLECLICK" : DoubleClick exam.
+ * - "CET_ANALYTICS" : Analytics exam.
+ * - "CET_SHOPPING" : Shopping exam.
+ * - "CET_MOBILE" : Mobile exam.
+ * - "CET_DIGITAL_SALES" : Digital Sales exam.
+ * - "CET_MOBILE_SITES" : Mobile Sites exam.
+ */
+ core.String examType;
+ /** The token, only present if the user has access to the exam. */
+ core.String token;
+
+ ExamToken();
+
+ ExamToken.fromJson(core.Map _json) {
+ if (_json.containsKey("examId")) {
+ examId = _json["examId"];
+ }
+ if (_json.containsKey("examType")) {
+ examType = _json["examType"];
+ }
+ if (_json.containsKey("token")) {
+ token = _json["token"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (examId != null) {
+ _json["examId"] = examId;
+ }
+ if (examType != null) {
+ _json["examType"] = examType;
+ }
+ if (token != null) {
+ _json["token"] = token;
+ }
+ return _json;
+ }
+}
+
/** Response message for GetCompany. */
class GetCompanyResponse {
/** The company. */
@@ -1024,26 +3124,201 @@
}
/**
+ * Response message for
+ * GetPartnersStatus.
+ */
+class GetPartnersStatusResponse {
+ /** Current response metadata. */
+ ResponseMetadata responseMetadata;
+
+ GetPartnersStatusResponse();
+
+ GetPartnersStatusResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("responseMetadata")) {
+ responseMetadata = new ResponseMetadata.fromJson(_json["responseMetadata"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (responseMetadata != null) {
+ _json["responseMetadata"] = (responseMetadata).toJson();
+ }
+ return _json;
+ }
+}
+
+/** Historical information about a Google Partners Offer. */
+class HistoricalOffer {
+ /** Client's AdWords page URL. */
+ core.String adwordsUrl;
+ /** Email address for client. */
+ core.String clientEmail;
+ /** ID of client. */
+ core.String clientId;
+ /** Name of the client. */
+ core.String clientName;
+ /** Time offer was first created. */
+ core.String creationTime;
+ /** Time this offer expires. */
+ core.String expirationTime;
+ /** Time last action was taken. */
+ core.String lastModifiedTime;
+ /** Offer code. */
+ core.String offerCode;
+ /** Country Code for the offer country. */
+ core.String offerCountryCode;
+ /**
+ * Type of offer.
+ * Possible string values are:
+ * - "OFFER_TYPE_UNSPECIFIED" : Unset.
+ * - "OFFER_TYPE_SPEND_X_GET_Y" : AdWords spend X get Y.
+ * - "OFFER_TYPE_VIDEO" : Youtube video.
+ * - "OFFER_TYPE_SPEND_MATCH" : Spend Match up to Y.
+ */
+ core.String offerType;
+ /**
+ * Name (First + Last) of the partners user to whom the incentive is
+ * allocated.
+ */
+ core.String senderName;
+ /**
+ * Status of the offer.
+ * Possible string values are:
+ * - "OFFER_STATUS_UNSPECIFIED" : Unset.
+ * - "OFFER_STATUS_DISTRIBUTED" : Offer distributed.
+ * - "OFFER_STATUS_REDEEMED" : Offer redeemed.
+ * - "OFFER_STATUS_AWARDED" : Offer awarded.
+ * - "OFFER_STATUS_EXPIRED" : Offer expired.
+ */
+ core.String status;
+
+ HistoricalOffer();
+
+ HistoricalOffer.fromJson(core.Map _json) {
+ if (_json.containsKey("adwordsUrl")) {
+ adwordsUrl = _json["adwordsUrl"];
+ }
+ if (_json.containsKey("clientEmail")) {
+ clientEmail = _json["clientEmail"];
+ }
+ if (_json.containsKey("clientId")) {
+ clientId = _json["clientId"];
+ }
+ if (_json.containsKey("clientName")) {
+ clientName = _json["clientName"];
+ }
+ if (_json.containsKey("creationTime")) {
+ creationTime = _json["creationTime"];
+ }
+ if (_json.containsKey("expirationTime")) {
+ expirationTime = _json["expirationTime"];
+ }
+ if (_json.containsKey("lastModifiedTime")) {
+ lastModifiedTime = _json["lastModifiedTime"];
+ }
+ if (_json.containsKey("offerCode")) {
+ offerCode = _json["offerCode"];
+ }
+ if (_json.containsKey("offerCountryCode")) {
+ offerCountryCode = _json["offerCountryCode"];
+ }
+ if (_json.containsKey("offerType")) {
+ offerType = _json["offerType"];
+ }
+ if (_json.containsKey("senderName")) {
+ senderName = _json["senderName"];
+ }
+ if (_json.containsKey("status")) {
+ status = _json["status"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (adwordsUrl != null) {
+ _json["adwordsUrl"] = adwordsUrl;
+ }
+ if (clientEmail != null) {
+ _json["clientEmail"] = clientEmail;
+ }
+ if (clientId != null) {
+ _json["clientId"] = clientId;
+ }
+ if (clientName != null) {
+ _json["clientName"] = clientName;
+ }
+ if (creationTime != null) {
+ _json["creationTime"] = creationTime;
+ }
+ if (expirationTime != null) {
+ _json["expirationTime"] = expirationTime;
+ }
+ if (lastModifiedTime != null) {
+ _json["lastModifiedTime"] = lastModifiedTime;
+ }
+ if (offerCode != null) {
+ _json["offerCode"] = offerCode;
+ }
+ if (offerCountryCode != null) {
+ _json["offerCountryCode"] = offerCountryCode;
+ }
+ if (offerType != null) {
+ _json["offerType"] = offerType;
+ }
+ if (senderName != null) {
+ _json["senderName"] = senderName;
+ }
+ if (status != null) {
+ _json["status"] = status;
+ }
+ return _json;
+ }
+}
+
+/**
* An object representing a latitude/longitude pair. This is expressed as a pair
* of doubles representing degrees latitude and degrees longitude. Unless
- * specified otherwise, this must conform to the WGS84 standard. Values must be
- * within normalized ranges. Example of normalization code in Python: def
- * NormalizeLongitude(longitude): """Wrapsdecimal degrees longitude to [-180.0,
- * 180.0].""" q, r = divmod(longitude, 360.0) if r > 180.0 or (r == 180.0 and q
- * <= -1.0): return r - 360.0 return r def NormalizeLatLng(latitude, longitude):
- * """Wraps decimal degrees latitude and longitude to [-180.0, 180.0] and
- * [-90.0, 90.0], respectively.""" r = latitude % 360.0 if r = 270.0: return r -
- * 360, NormalizeLongitude(longitude) else: return 180 - r,
- * NormalizeLongitude(longitude + 180.0) assert 180.0 ==
- * NormalizeLongitude(180.0) assert -180.0 == NormalizeLongitude(-180.0) assert
- * -179.0 == NormalizeLongitude(181.0) assert (0.0, 0.0) ==
- * NormalizeLatLng(360.0, 0.0) assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)
- * assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) assert (-85.0, -170.0) ==
- * NormalizeLatLng(-95.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(90.0,
- * 10.0) assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) assert (0.0,
- * -170.0) == NormalizeLatLng(-180.0, 10.0) assert (0.0, -170.0) ==
- * NormalizeLatLng(180.0, 10.0) assert (-90.0, 10.0) == NormalizeLatLng(270.0,
- * 10.0) assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
+ * specified otherwise, this must conform to the
+ * <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+ * standard</a>. Values must be within normalized ranges.
+ *
+ * Example of normalization code in Python:
+ *
+ * def NormalizeLongitude(longitude):
+ * """Wraps decimal degrees longitude to [-180.0, 180.0]."""
+ * q, r = divmod(longitude, 360.0)
+ * if r > 180.0 or (r == 180.0 and q <= -1.0):
+ * return r - 360.0
+ * return r
+ *
+ * def NormalizeLatLng(latitude, longitude):
+ * """Wraps decimal degrees latitude and longitude to
+ * [-90.0, 90.0] and [-180.0, 180.0], respectively."""
+ * r = latitude % 360.0
+ * if r <= 90.0:
+ * return r, NormalizeLongitude(longitude)
+ * elif r >= 270.0:
+ * return r - 360, NormalizeLongitude(longitude)
+ * else:
+ * return 180 - r, NormalizeLongitude(longitude + 180.0)
+ *
+ * assert 180.0 == NormalizeLongitude(180.0)
+ * assert -180.0 == NormalizeLongitude(-180.0)
+ * assert -179.0 == NormalizeLongitude(181.0)
+ * assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)
+ * assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)
+ * assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)
+ * assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)
+ * assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)
+ * assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)
+ * assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)
+ * assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
+ * assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
+ * assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
+ *
+ * The code in logs/storage/validator/logs_validator_traits.cc treats this type
+ * as if it were annotated as ST_LOCATION.
*/
class LatLng {
/** The latitude in degrees. It must be in the range [-90.0, +90.0]. */
@@ -1079,8 +3354,12 @@
* are usually generated via Google Partner Search (the advertiser portal).
*/
class Lead {
+ /** The AdWords Customer ID of the lead. */
+ core.String adwordsCustomerId;
/** Comments lead source gave. */
core.String comments;
+ /** Timestamp of when this lead was created. */
+ core.String createTime;
/** Email address of lead source. */
core.String email;
/** Last name of lead source. */
@@ -1091,15 +3370,33 @@
core.List<core.String> gpsMotivations;
/** ID of the lead. */
core.String id;
+ /**
+ * Language code of the lead's language preference, as defined by
+ * <a href="https://tools.ietf.org/html/bcp47">BCP 47</a>
+ * (IETF BCP 47, "Tags for Identifying Languages").
+ */
+ core.String languageCode;
+ /** Whether or not the lead signed up for marketing emails */
+ core.bool marketingOptIn;
/** The minimum monthly budget lead source is willing to spend. */
Money minMonthlyBudget;
/** Phone number of lead source. */
core.String phoneNumber;
/**
+ * The lead's state in relation to the company.
+ * Possible string values are:
+ * - "LEAD_STATE_UNSPECIFIED" : Unchosen.
+ * - "LEAD" : Lead not yet contacted.
+ * - "CONTACTED" : Lead has been contacted.
+ * - "CLIENT" : Lead has become a client.
+ * - "OTHER" : Lead in a state not covered by other options.
+ */
+ core.String state;
+ /**
* Type of lead.
* Possible string values are:
- * - "LEAD_TYPE_UNSPECIFIED" : A LEAD_TYPE_UNSPECIFIED.
- * - "LT_GPS" : A LT_GPS.
+ * - "LEAD_TYPE_UNSPECIFIED" : Unchosen.
+ * - "LT_GPS" : Google Partner Search.
*/
core.String type;
/** Website URL of lead source. */
@@ -1108,9 +3405,15 @@
Lead();
Lead.fromJson(core.Map _json) {
+ if (_json.containsKey("adwordsCustomerId")) {
+ adwordsCustomerId = _json["adwordsCustomerId"];
+ }
if (_json.containsKey("comments")) {
comments = _json["comments"];
}
+ if (_json.containsKey("createTime")) {
+ createTime = _json["createTime"];
+ }
if (_json.containsKey("email")) {
email = _json["email"];
}
@@ -1126,12 +3429,21 @@
if (_json.containsKey("id")) {
id = _json["id"];
}
+ if (_json.containsKey("languageCode")) {
+ languageCode = _json["languageCode"];
+ }
+ if (_json.containsKey("marketingOptIn")) {
+ marketingOptIn = _json["marketingOptIn"];
+ }
if (_json.containsKey("minMonthlyBudget")) {
minMonthlyBudget = new Money.fromJson(_json["minMonthlyBudget"]);
}
if (_json.containsKey("phoneNumber")) {
phoneNumber = _json["phoneNumber"];
}
+ if (_json.containsKey("state")) {
+ state = _json["state"];
+ }
if (_json.containsKey("type")) {
type = _json["type"];
}
@@ -1142,9 +3454,15 @@
core.Map toJson() {
var _json = new core.Map();
+ if (adwordsCustomerId != null) {
+ _json["adwordsCustomerId"] = adwordsCustomerId;
+ }
if (comments != null) {
_json["comments"] = comments;
}
+ if (createTime != null) {
+ _json["createTime"] = createTime;
+ }
if (email != null) {
_json["email"] = email;
}
@@ -1160,12 +3478,21 @@
if (id != null) {
_json["id"] = id;
}
+ if (languageCode != null) {
+ _json["languageCode"] = languageCode;
+ }
+ if (marketingOptIn != null) {
+ _json["marketingOptIn"] = marketingOptIn;
+ }
if (minMonthlyBudget != null) {
_json["minMonthlyBudget"] = (minMonthlyBudget).toJson();
}
if (phoneNumber != null) {
_json["phoneNumber"] = phoneNumber;
}
+ if (state != null) {
+ _json["state"] = state;
+ }
if (type != null) {
_json["type"] = type;
}
@@ -1176,14 +3503,81 @@
}
}
-/** Response message for ListCompanies. */
+/**
+ * Response message for
+ * ListAnalytics.
+ */
+class ListAnalyticsResponse {
+ /**
+ * The list of analytics.
+ * Sorted in ascending order of
+ * Analytics.event_date.
+ */
+ core.List<Analytics> analytics;
+ /**
+ * Aggregated information across the response's
+ * analytics.
+ */
+ AnalyticsSummary analyticsSummary;
+ /**
+ * A token to retrieve next page of results.
+ * Pass this value in the `ListAnalyticsRequest.page_token` field in the
+ * subsequent call to
+ * ListAnalytics to retrieve the
+ * next page of results.
+ */
+ core.String nextPageToken;
+ /** Current response metadata. */
+ ResponseMetadata responseMetadata;
+
+ ListAnalyticsResponse();
+
+ ListAnalyticsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("analytics")) {
+ analytics = _json["analytics"].map((value) => new Analytics.fromJson(value)).toList();
+ }
+ if (_json.containsKey("analyticsSummary")) {
+ analyticsSummary = new AnalyticsSummary.fromJson(_json["analyticsSummary"]);
+ }
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("responseMetadata")) {
+ responseMetadata = new ResponseMetadata.fromJson(_json["responseMetadata"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (analytics != null) {
+ _json["analytics"] = analytics.map((value) => (value).toJson()).toList();
+ }
+ if (analyticsSummary != null) {
+ _json["analyticsSummary"] = (analyticsSummary).toJson();
+ }
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ if (responseMetadata != null) {
+ _json["responseMetadata"] = (responseMetadata).toJson();
+ }
+ return _json;
+ }
+}
+
+/**
+ * Response message for
+ * ListCompanies.
+ */
class ListCompaniesResponse {
/** The list of companies. */
core.List<Company> companies;
/**
- * A token to retrieve next page of results. Pass this value in the
- * `ListCompaniesRequest.page_token` field in the subsequent call to
- * ListCompanies to retrieve the next page of results.
+ * A token to retrieve next page of results.
+ * Pass this value in the `ListCompaniesRequest.page_token` field in the
+ * subsequent call to
+ * ListCompanies to retrieve the
+ * next page of results.
*/
core.String nextPageToken;
/** Current response metadata. */
@@ -1218,7 +3612,171 @@
}
}
-/** Response message for ListUserStates. */
+/** Response message for ListLeads. */
+class ListLeadsResponse {
+ /** The list of leads. */
+ core.List<Lead> leads;
+ /**
+ * A token to retrieve next page of results.
+ * Pass this value in the `ListLeadsRequest.page_token` field in the
+ * subsequent call to
+ * ListLeads to retrieve the
+ * next page of results.
+ */
+ core.String nextPageToken;
+ /** Current response metadata. */
+ ResponseMetadata responseMetadata;
+ /** The total count of leads for the given company. */
+ core.int totalSize;
+
+ ListLeadsResponse();
+
+ ListLeadsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("leads")) {
+ leads = _json["leads"].map((value) => new Lead.fromJson(value)).toList();
+ }
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("responseMetadata")) {
+ responseMetadata = new ResponseMetadata.fromJson(_json["responseMetadata"]);
+ }
+ if (_json.containsKey("totalSize")) {
+ totalSize = _json["totalSize"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (leads != null) {
+ _json["leads"] = leads.map((value) => (value).toJson()).toList();
+ }
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ if (responseMetadata != null) {
+ _json["responseMetadata"] = (responseMetadata).toJson();
+ }
+ if (totalSize != null) {
+ _json["totalSize"] = totalSize;
+ }
+ return _json;
+ }
+}
+
+/** Response for ListOfferHistory. */
+class ListOffersHistoryResponse {
+ /** True if the user has the option to show entire company history. */
+ core.bool canShowEntireCompany;
+ /**
+ * Supply this token in a ListOffersHistoryRequest to retrieve the next page.
+ */
+ core.String nextPageToken;
+ /** Historical offers meeting request. */
+ core.List<HistoricalOffer> offers;
+ /** Current response metadata. */
+ ResponseMetadata responseMetadata;
+ /** True if this response is showing entire company history. */
+ core.bool showingEntireCompany;
+ /** Number of results across all pages. */
+ core.int totalResults;
+
+ ListOffersHistoryResponse();
+
+ ListOffersHistoryResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("canShowEntireCompany")) {
+ canShowEntireCompany = _json["canShowEntireCompany"];
+ }
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("offers")) {
+ offers = _json["offers"].map((value) => new HistoricalOffer.fromJson(value)).toList();
+ }
+ if (_json.containsKey("responseMetadata")) {
+ responseMetadata = new ResponseMetadata.fromJson(_json["responseMetadata"]);
+ }
+ if (_json.containsKey("showingEntireCompany")) {
+ showingEntireCompany = _json["showingEntireCompany"];
+ }
+ if (_json.containsKey("totalResults")) {
+ totalResults = _json["totalResults"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (canShowEntireCompany != null) {
+ _json["canShowEntireCompany"] = canShowEntireCompany;
+ }
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ if (offers != null) {
+ _json["offers"] = offers.map((value) => (value).toJson()).toList();
+ }
+ if (responseMetadata != null) {
+ _json["responseMetadata"] = (responseMetadata).toJson();
+ }
+ if (showingEntireCompany != null) {
+ _json["showingEntireCompany"] = showingEntireCompany;
+ }
+ if (totalResults != null) {
+ _json["totalResults"] = totalResults;
+ }
+ return _json;
+ }
+}
+
+/** Response for ListOffer. */
+class ListOffersResponse {
+ /** Available Offers to be distributed. */
+ core.List<AvailableOffer> availableOffers;
+ /**
+ * Reason why no Offers are available.
+ * Possible string values are:
+ * - "NO_OFFER_REASON_UNSPECIFIED" : Unset.
+ * - "NO_OFFER_REASON_NO_MCC" : Not an MCC.
+ * - "NO_OFFER_REASON_LIMIT_REACHED" : Offer limit has been reached.
+ * - "NO_OFFER_REASON_INELIGIBLE" : Ineligible for offers.
+ */
+ core.String noOfferReason;
+ /** Current response metadata. */
+ ResponseMetadata responseMetadata;
+
+ ListOffersResponse();
+
+ ListOffersResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("availableOffers")) {
+ availableOffers = _json["availableOffers"].map((value) => new AvailableOffer.fromJson(value)).toList();
+ }
+ if (_json.containsKey("noOfferReason")) {
+ noOfferReason = _json["noOfferReason"];
+ }
+ if (_json.containsKey("responseMetadata")) {
+ responseMetadata = new ResponseMetadata.fromJson(_json["responseMetadata"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (availableOffers != null) {
+ _json["availableOffers"] = availableOffers.map((value) => (value).toJson()).toList();
+ }
+ if (noOfferReason != null) {
+ _json["noOfferReason"] = noOfferReason;
+ }
+ if (responseMetadata != null) {
+ _json["responseMetadata"] = (responseMetadata).toJson();
+ }
+ return _json;
+ }
+}
+
+/**
+ * Response message for
+ * ListUserStates.
+ */
class ListUserStatesResponse {
/** Current response metadata. */
ResponseMetadata responseMetadata;
@@ -1255,8 +3813,9 @@
/** Localized display name. */
core.String displayName;
/**
- * Language code of the localized company info, as defined by BCP 47 (IETF BCP
- * 47, "Tags for Identifying Languages").
+ * Language code of the localized company info, as defined by
+ * <a href="https://tools.ietf.org/html/bcp47">BCP 47</a>
+ * (IETF BCP 47, "Tags for Identifying Languages").
*/
core.String languageCode;
/**
@@ -1299,12 +3858,40 @@
}
}
-/** A location with address and geographic coordinates. */
+/**
+ * A location with address and geographic coordinates. May optionally contain a
+ * detailed (multi-field) version of the address.
+ */
class Location {
- /** The complete address of the location. */
+ /** The single string version of the address. */
core.String address;
+ /**
+ * The following address lines represent the most specific part of any
+ * address.
+ */
+ core.List<core.String> addressLine;
+ /** Top-level administrative subdivision of this country. */
+ core.String administrativeArea;
+ /**
+ * Dependent locality or sublocality. Used for UK dependent localities, or
+ * neighborhoods or boroughs in other locations.
+ */
+ core.String dependentLocality;
+ /** Language code of the address. Should be in BCP 47 format. */
+ core.String languageCode;
/** The latitude and longitude of the location, in degrees. */
LatLng latLng;
+ /** Generally refers to the city/town portion of an address. */
+ core.String locality;
+ /** Values are frequently alphanumeric. */
+ core.String postalCode;
+ /** CLDR (Common Locale Data Repository) region code . */
+ core.String regionCode;
+ /**
+ * Use of this code is very country-specific, but will refer to a secondary
+ * classification code for sorting mail.
+ */
+ core.String sortingCode;
Location();
@@ -1312,9 +3899,33 @@
if (_json.containsKey("address")) {
address = _json["address"];
}
+ if (_json.containsKey("addressLine")) {
+ addressLine = _json["addressLine"];
+ }
+ if (_json.containsKey("administrativeArea")) {
+ administrativeArea = _json["administrativeArea"];
+ }
+ if (_json.containsKey("dependentLocality")) {
+ dependentLocality = _json["dependentLocality"];
+ }
+ if (_json.containsKey("languageCode")) {
+ languageCode = _json["languageCode"];
+ }
if (_json.containsKey("latLng")) {
latLng = new LatLng.fromJson(_json["latLng"]);
}
+ if (_json.containsKey("locality")) {
+ locality = _json["locality"];
+ }
+ if (_json.containsKey("postalCode")) {
+ postalCode = _json["postalCode"];
+ }
+ if (_json.containsKey("regionCode")) {
+ regionCode = _json["regionCode"];
+ }
+ if (_json.containsKey("sortingCode")) {
+ sortingCode = _json["sortingCode"];
+ }
}
core.Map toJson() {
@@ -1322,14 +3933,41 @@
if (address != null) {
_json["address"] = address;
}
+ if (addressLine != null) {
+ _json["addressLine"] = addressLine;
+ }
+ if (administrativeArea != null) {
+ _json["administrativeArea"] = administrativeArea;
+ }
+ if (dependentLocality != null) {
+ _json["dependentLocality"] = dependentLocality;
+ }
+ if (languageCode != null) {
+ _json["languageCode"] = languageCode;
+ }
if (latLng != null) {
_json["latLng"] = (latLng).toJson();
}
+ if (locality != null) {
+ _json["locality"] = locality;
+ }
+ if (postalCode != null) {
+ _json["postalCode"] = postalCode;
+ }
+ if (regionCode != null) {
+ _json["regionCode"] = regionCode;
+ }
+ if (sortingCode != null) {
+ _json["sortingCode"] = sortingCode;
+ }
return _json;
}
}
-/** Request message for LogClientMessage. */
+/**
+ * Request message for
+ * LogClientMessage.
+ */
class LogMessageRequest {
/**
* Map of client info, such as URL, browser navigator, browser platform, etc.
@@ -1340,11 +3978,11 @@
/**
* Message level of client message.
* Possible string values are:
- * - "MESSAGE_LEVEL_UNSPECIFIED" : A MESSAGE_LEVEL_UNSPECIFIED.
- * - "ML_FINE" : A ML_FINE.
- * - "ML_INFO" : A ML_INFO.
- * - "ML_WARNING" : A ML_WARNING.
- * - "ML_SEVERE" : A ML_SEVERE.
+ * - "MESSAGE_LEVEL_UNSPECIFIED" : Unchosen.
+ * - "ML_FINE" : Message level for tracing information.
+ * - "ML_INFO" : Message level for informational messages.
+ * - "ML_WARNING" : Message level for potential problems.
+ * - "ML_SEVERE" : Message level for serious failures.
*/
core.String level;
/** Current request metadata. */
@@ -1385,7 +4023,10 @@
}
}
-/** Response message for LogClientMessage. */
+/**
+ * Response message for
+ * LogClientMessage.
+ */
class LogMessageResponse {
/** Current response metadata. */
ResponseMetadata responseMetadata;
@@ -1407,309 +4048,332 @@
}
}
-/** Request message for LogUserEvent. */
+/**
+ * Request message for
+ * LogUserEvent.
+ */
class LogUserEventRequest {
/**
* The action that occurred.
* Possible string values are:
- * - "EVENT_ACTION_UNSPECIFIED" : A EVENT_ACTION_UNSPECIFIED.
- * - "SMB_CLICKED_FIND_A_PARTNER_BUTTON_BOTTOM" : A
- * SMB_CLICKED_FIND_A_PARTNER_BUTTON_BOTTOM.
- * - "SMB_CLICKED_FIND_A_PARTNER_BUTTON_TOP" : A
- * SMB_CLICKED_FIND_A_PARTNER_BUTTON_TOP.
- * - "AGENCY_CLICKED_JOIN_NOW_BUTTON_BOTTOM" : A
- * AGENCY_CLICKED_JOIN_NOW_BUTTON_BOTTOM.
- * - "AGENCY_CLICKED_JOIN_NOW_BUTTON_TOP" : A
- * AGENCY_CLICKED_JOIN_NOW_BUTTON_TOP.
- * - "SMB_CANCELED_PARTNER_CONTACT_FORM" : A
- * SMB_CANCELED_PARTNER_CONTACT_FORM.
- * - "SMB_CLICKED_CONTACT_A_PARTNER" : A SMB_CLICKED_CONTACT_A_PARTNER.
- * - "SMB_COMPLETED_PARTNER_CONTACT_FORM" : A
- * SMB_COMPLETED_PARTNER_CONTACT_FORM.
- * - "SMB_ENTERED_EMAIL_IN_CONTACT_PARTNER_FORM" : A
- * SMB_ENTERED_EMAIL_IN_CONTACT_PARTNER_FORM.
- * - "SMB_ENTERED_NAME_IN_CONTACT_PARTNER_FORM" : A
- * SMB_ENTERED_NAME_IN_CONTACT_PARTNER_FORM.
- * - "SMB_ENTERED_PHONE_IN_CONTACT_PARTNER_FORM" : A
- * SMB_ENTERED_PHONE_IN_CONTACT_PARTNER_FORM.
- * - "SMB_FAILED_RECAPTCHA_IN_CONTACT_PARTNER_FORM" : A
- * SMB_FAILED_RECAPTCHA_IN_CONTACT_PARTNER_FORM.
- * - "PARTNER_VIEWED_BY_SMB" : A PARTNER_VIEWED_BY_SMB.
- * - "SMB_CANCELED_PARTNER_CONTACT_FORM_ON_GPS" : A
- * SMB_CANCELED_PARTNER_CONTACT_FORM_ON_GPS.
- * - "SMB_CHANGED_A_SEARCH_PARAMETER_TOP" : A
- * SMB_CHANGED_A_SEARCH_PARAMETER_TOP.
- * - "SMB_CLICKED_CONTACT_A_PARTNER_ON_GPS" : A
- * SMB_CLICKED_CONTACT_A_PARTNER_ON_GPS.
- * - "SMB_CLICKED_SHOW_MORE_PARTNERS_BUTTON_BOTTOM" : A
- * SMB_CLICKED_SHOW_MORE_PARTNERS_BUTTON_BOTTOM.
- * - "SMB_COMPLETED_PARTNER_CONTACT_FORM_ON_GPS" : A
- * SMB_COMPLETED_PARTNER_CONTACT_FORM_ON_GPS.
- * - "SMB_NO_PARTNERS_AVAILABLE_WITH_SEARCH_CRITERIA" : A
- * SMB_NO_PARTNERS_AVAILABLE_WITH_SEARCH_CRITERIA.
- * - "SMB_PERFORMED_SEARCH_ON_GPS" : A SMB_PERFORMED_SEARCH_ON_GPS.
- * - "SMB_VIEWED_A_PARTNER_ON_GPS" : A SMB_VIEWED_A_PARTNER_ON_GPS.
- * - "SMB_CANCELED_PARTNER_CONTACT_FORM_ON_PROFILE_PAGE" : A
- * SMB_CANCELED_PARTNER_CONTACT_FORM_ON_PROFILE_PAGE.
- * - "SMB_CLICKED_CONTACT_A_PARTNER_ON_PROFILE_PAGE" : A
- * SMB_CLICKED_CONTACT_A_PARTNER_ON_PROFILE_PAGE.
- * - "SMB_CLICKED_PARTNER_WEBSITE" : A SMB_CLICKED_PARTNER_WEBSITE.
- * - "SMB_COMPLETED_PARTNER_CONTACT_FORM_ON_PROFILE_PAGE" : A
- * SMB_COMPLETED_PARTNER_CONTACT_FORM_ON_PROFILE_PAGE.
- * - "SMB_VIEWED_A_PARTNER_PROFILE" : A SMB_VIEWED_A_PARTNER_PROFILE.
- * - "AGENCY_CLICKED_ACCEPT_TOS_BUTTON" : A AGENCY_CLICKED_ACCEPT_TOS_BUTTON.
- * - "AGENCY_CHANGED_TOS_COUNTRY" : A AGENCY_CHANGED_TOS_COUNTRY.
- * - "AGENCY_ADDED_ADDRESS_IN_MY_PROFILE_PORTAL" : A
- * AGENCY_ADDED_ADDRESS_IN_MY_PROFILE_PORTAL.
- * - "AGENCY_ADDED_PHONE_NUMBER_IN_MY_PROFILE_PORTAL" : A
- * AGENCY_ADDED_PHONE_NUMBER_IN_MY_PROFILE_PORTAL.
- * - "AGENCY_CHANGED_PRIMARY_ACCOUNT_ASSOCIATION" : A
- * AGENCY_CHANGED_PRIMARY_ACCOUNT_ASSOCIATION.
- * - "AGENCY_CHANGED_PRIMARY_COUNTRY_ASSOCIATION" : A
- * AGENCY_CHANGED_PRIMARY_COUNTRY_ASSOCIATION.
- * - "AGENCY_CLICKED_AFFILIATE_BUTTON_IN_MY_PROFILE_IN_PORTAL" : A
- * AGENCY_CLICKED_AFFILIATE_BUTTON_IN_MY_PROFILE_IN_PORTAL.
- * - "AGENCY_CLICKED_GIVE_EDIT_ACCESS_IN_MY_PROFILE_PORTAL" : A
- * AGENCY_CLICKED_GIVE_EDIT_ACCESS_IN_MY_PROFILE_PORTAL.
- * - "AGENCY_CLICKED_LOG_OUT_IN_MY_PROFILE_PORTAL" : A
- * AGENCY_CLICKED_LOG_OUT_IN_MY_PROFILE_PORTAL.
- * - "AGENCY_CLICKED_MY_PROFILE_LEFT_NAV_IN_PORTAL" : A
- * AGENCY_CLICKED_MY_PROFILE_LEFT_NAV_IN_PORTAL.
- * - "AGENCY_CLICKED_SAVE_AND_CONTINUE_AT_BOT_OF_COMPLETE_PROFILE" : A
- * AGENCY_CLICKED_SAVE_AND_CONTINUE_AT_BOT_OF_COMPLETE_PROFILE.
- * - "AGENCY_CLICKED_UNAFFILIATE_IN_MY_PROFILE_PORTAL" : A
- * AGENCY_CLICKED_UNAFFILIATE_IN_MY_PROFILE_PORTAL.
- * - "AGENCY_FILLED_OUT_COMP_AFFILIATION_IN_MY_PROFILE_PORTAL" : A
- * AGENCY_FILLED_OUT_COMP_AFFILIATION_IN_MY_PROFILE_PORTAL.
- * - "AGENCY_SUCCESSFULLY_CONNECTED_WITH_COMPANY_IN_MY_PROFILE" : A
- * AGENCY_SUCCESSFULLY_CONNECTED_WITH_COMPANY_IN_MY_PROFILE.
- * - "AGENCY_CLICKED_CREATE_MCC_IN_MY_PROFILE_PORTAL" : A
- * AGENCY_CLICKED_CREATE_MCC_IN_MY_PROFILE_PORTAL.
- * - "AGENCY_DIDNT_HAVE_AN_MCC_ASSOCIATED_ON_COMPLETE_PROFILE" : A
- * AGENCY_DIDNT_HAVE_AN_MCC_ASSOCIATED_ON_COMPLETE_PROFILE.
- * - "AGENCY_HAD_AN_MCC_ASSOCIATED_ON_COMPLETE_PROFILE" : A
- * AGENCY_HAD_AN_MCC_ASSOCIATED_ON_COMPLETE_PROFILE.
- * - "AGENCY_ADDED_JOB_FUNCTION_IN_MY_PROFILE_PORTAL" : A
- * AGENCY_ADDED_JOB_FUNCTION_IN_MY_PROFILE_PORTAL.
- * - "AGENCY_LOOKED_AT_JOB_FUNCTION_DROP_DOWN" : A
- * AGENCY_LOOKED_AT_JOB_FUNCTION_DROP_DOWN.
- * - "AGENCY_SELECTED_ACCOUNT_MANAGER_AS_JOB_FUNCTION" : A
- * AGENCY_SELECTED_ACCOUNT_MANAGER_AS_JOB_FUNCTION.
- * - "AGENCY_SELECTED_ACCOUNT_PLANNER_AS_JOB_FUNCTION" : A
- * AGENCY_SELECTED_ACCOUNT_PLANNER_AS_JOB_FUNCTION.
- * - "AGENCY_SELECTED_ANALYTICS_AS_JOB_FUNCTION" : A
- * AGENCY_SELECTED_ANALYTICS_AS_JOB_FUNCTION.
- * - "AGENCY_SELECTED_CREATIVE_AS_JOB_FUNCTION" : A
- * AGENCY_SELECTED_CREATIVE_AS_JOB_FUNCTION.
- * - "AGENCY_SELECTED_MEDIA_BUYER_AS_JOB_FUNCTION" : A
- * AGENCY_SELECTED_MEDIA_BUYER_AS_JOB_FUNCTION.
- * - "AGENCY_SELECTED_MEDIA_PLANNER_AS_JOB_FUNCTION" : A
- * AGENCY_SELECTED_MEDIA_PLANNER_AS_JOB_FUNCTION.
- * - "AGENCY_SELECTED_OTHER_AS_JOB_FUNCTION" : A
- * AGENCY_SELECTED_OTHER_AS_JOB_FUNCTION.
- * - "AGENCY_SELECTED_PRODUCTION_AS_JOB_FUNCTION" : A
- * AGENCY_SELECTED_PRODUCTION_AS_JOB_FUNCTION.
- * - "AGENCY_SELECTED_SEO_AS_JOB_FUNCTION" : A
- * AGENCY_SELECTED_SEO_AS_JOB_FUNCTION.
- * - "AGENCY_SELECTED_SALES_REP_AS_JOB_FUNCTION" : A
- * AGENCY_SELECTED_SALES_REP_AS_JOB_FUNCTION.
- * - "AGENCY_SELECTED_SEARCH_SPECIALIST_AS_JOB_FUNCTION" : A
- * AGENCY_SELECTED_SEARCH_SPECIALIST_AS_JOB_FUNCTION.
- * - "AGENCY_ADDED_CHANNELS_IN_MY_PROFILE_PORTAL" : A
- * AGENCY_ADDED_CHANNELS_IN_MY_PROFILE_PORTAL.
- * - "AGENCY_LOOKED_AT_ADD_CHANNEL_DROP_DOWN" : A
- * AGENCY_LOOKED_AT_ADD_CHANNEL_DROP_DOWN.
- * - "AGENCY_SELECTED_CROSS_CHANNEL_FROM_ADD_CHANNEL" : A
- * AGENCY_SELECTED_CROSS_CHANNEL_FROM_ADD_CHANNEL.
- * - "AGENCY_SELECTED_DISPLAY_FROM_ADD_CHANNEL" : A
- * AGENCY_SELECTED_DISPLAY_FROM_ADD_CHANNEL.
- * - "AGENCY_SELECTED_MOBILE_FROM_ADD_CHANNEL" : A
- * AGENCY_SELECTED_MOBILE_FROM_ADD_CHANNEL.
- * - "AGENCY_SELECTED_SEARCH_FROM_ADD_CHANNEL" : A
- * AGENCY_SELECTED_SEARCH_FROM_ADD_CHANNEL.
- * - "AGENCY_SELECTED_SOCIAL_FROM_ADD_CHANNEL" : A
- * AGENCY_SELECTED_SOCIAL_FROM_ADD_CHANNEL.
- * - "AGENCY_SELECTED_TOOLS_FROM_ADD_CHANNEL" : A
- * AGENCY_SELECTED_TOOLS_FROM_ADD_CHANNEL.
- * - "AGENCY_SELECTED_YOUTUBE_FROM_ADD_CHANNEL" : A
- * AGENCY_SELECTED_YOUTUBE_FROM_ADD_CHANNEL.
- * - "AGENCY_ADDED_INDUSTRIES_IN_MY_PROFILE_PORTAL" : A
- * AGENCY_ADDED_INDUSTRIES_IN_MY_PROFILE_PORTAL.
- * - "AGENCY_CHANGED_ADD_INDUSTRIES_DROP_DOWN" : A
- * AGENCY_CHANGED_ADD_INDUSTRIES_DROP_DOWN.
- * - "AGENCY_ADDED_MARKETS_IN_MY_PROFILE_PORTAL" : A
- * AGENCY_ADDED_MARKETS_IN_MY_PROFILE_PORTAL.
- * - "AGENCY_CHANGED_ADD_MARKETS_DROP_DOWN" : A
- * AGENCY_CHANGED_ADD_MARKETS_DROP_DOWN.
- * - "AGENCY_CHECKED_RECIEVE_MAIL_PROMOTIONS_MYPROFILE" : A
- * AGENCY_CHECKED_RECIEVE_MAIL_PROMOTIONS_MYPROFILE.
- * - "AGENCY_CHECKED_RECIEVE_MAIL_PROMOTIONS_SIGNUP" : A
- * AGENCY_CHECKED_RECIEVE_MAIL_PROMOTIONS_SIGNUP.
- * - "AGENCY_SELECTED_OPT_IN_BETA_TESTS_AND_MKT_RESEARCH" : A
- * AGENCY_SELECTED_OPT_IN_BETA_TESTS_AND_MKT_RESEARCH.
- * - "AGENCY_SELECTED_OPT_IN_BETA_TESTS_IN_MY_PROFILE_PORTAL" : A
- * AGENCY_SELECTED_OPT_IN_BETA_TESTS_IN_MY_PROFILE_PORTAL.
- * - "AGENCY_SELECTED_OPT_IN_NEWS_IN_MY_PROFILE_PORTAL" : A
- * AGENCY_SELECTED_OPT_IN_NEWS_IN_MY_PROFILE_PORTAL.
- * - "AGENCY_SELECTED_OPT_IN_NEWS_INVITATIONS_AND_PROMOS" : A
- * AGENCY_SELECTED_OPT_IN_NEWS_INVITATIONS_AND_PROMOS.
- * - "AGENCY_SELECTED_OPT_IN_PERFORMANCE_SUG_IN_MY_PROFILE_PORTAL" : A
- * AGENCY_SELECTED_OPT_IN_PERFORMANCE_SUG_IN_MY_PROFILE_PORTAL.
- * - "AGENCY_SELECTED_OPT_IN_PERFORMANCE_SUGGESTIONS" : A
- * AGENCY_SELECTED_OPT_IN_PERFORMANCE_SUGGESTIONS.
- * - "AGENCY_SELECTED_OPT_IN_SELECT_ALL_EMAIL_NOTIFICATIONS" : A
- * AGENCY_SELECTED_OPT_IN_SELECT_ALL_EMAIL_NOTIFICATIONS.
- * - "AGENCY_SELECTED_SELECT_ALL_OPT_INS_IN_MY_PROFILE_PORTAL" : A
- * AGENCY_SELECTED_SELECT_ALL_OPT_INS_IN_MY_PROFILE_PORTAL.
- * - "AGENCY_CLICKED_BACK_BUTTON_ON_CONNECT_WITH_COMPANY" : A
- * AGENCY_CLICKED_BACK_BUTTON_ON_CONNECT_WITH_COMPANY.
- * - "AGENCY_CLICKED_CONTINUE_TO_OVERVIEW_ON_CONNECT_WITH_COMPANY" : A
- * AGENCY_CLICKED_CONTINUE_TO_OVERVIEW_ON_CONNECT_WITH_COMPANY.
- * - "AGECNY_CLICKED_CREATE_MCC_CONNECT_WITH_COMPANY_NOT_FOUND" : A
- * AGECNY_CLICKED_CREATE_MCC_CONNECT_WITH_COMPANY_NOT_FOUND.
- * - "AGECNY_CLICKED_GIVE_EDIT_ACCESS_CONNECT_WITH_COMPANY_NOT_FOUND" : A
- * AGECNY_CLICKED_GIVE_EDIT_ACCESS_CONNECT_WITH_COMPANY_NOT_FOUND.
- * - "AGECNY_CLICKED_LOG_OUT_CONNECT_WITH_COMPANY_NOT_FOUND" : A
- * AGECNY_CLICKED_LOG_OUT_CONNECT_WITH_COMPANY_NOT_FOUND.
- * - "AGENCY_CLICKED_SKIP_FOR_NOW_ON_CONNECT_WITH_COMPANY_PAGE" : A
- * AGENCY_CLICKED_SKIP_FOR_NOW_ON_CONNECT_WITH_COMPANY_PAGE.
- * - "AGENCY_CLOSED_CONNECTED_TO_COMPANY_X_BUTTON_WRONG_COMPANY" : A
- * AGENCY_CLOSED_CONNECTED_TO_COMPANY_X_BUTTON_WRONG_COMPANY.
- * - "AGENCY_COMPLETED_FIELD_CONNECT_WITH_COMPANY" : A
- * AGENCY_COMPLETED_FIELD_CONNECT_WITH_COMPANY.
- * - "AGECNY_FOUND_COMPANY_TO_CONNECT_WITH" : A
- * AGECNY_FOUND_COMPANY_TO_CONNECT_WITH.
- * - "AGENCY_SUCCESSFULLY_CREATED_COMPANY" : A
- * AGENCY_SUCCESSFULLY_CREATED_COMPANY.
- * - "AGENCY_ADDED_NEW_COMPANY_LOCATION" : A
- * AGENCY_ADDED_NEW_COMPANY_LOCATION.
- * - "AGENCY_CLICKED_COMMUNITY_JOIN_NOW_LINK_IN_PORTAL_NOTIFICATIONS" : A
- * AGENCY_CLICKED_COMMUNITY_JOIN_NOW_LINK_IN_PORTAL_NOTIFICATIONS.
- * - "AGENCY_CLICKED_CONNECT_TO_COMPANY_LINK_IN_PORTAL_NOTIFICATIONS" : A
- * AGENCY_CLICKED_CONNECT_TO_COMPANY_LINK_IN_PORTAL_NOTIFICATIONS.
- * - "AGENCY_CLICKED_GET_CERTIFIED_LINK_IN_PORTAL_NOTIFICATIONS" : A
- * AGENCY_CLICKED_GET_CERTIFIED_LINK_IN_PORTAL_NOTIFICATIONS.
- * - "AGENCY_CLICKED_GET_VIDEO_ADS_CERTIFIED_LINK_IN_PORTAL_NOTIFICATIONS" : A
- * AGENCY_CLICKED_GET_VIDEO_ADS_CERTIFIED_LINK_IN_PORTAL_NOTIFICATIONS.
- * - "AGENCY_CLICKED_LINK_TO_MCC_LINK_IN_PORTAL_NOTIFICATIONS" : A
- * AGENCY_CLICKED_LINK_TO_MCC_LINK_IN_PORTAL_NOTIFICATIONS.
- * - "AGENCY_CLICKED_INSIGHT_CONTENT_IN_PORTAL" : A
- * AGENCY_CLICKED_INSIGHT_CONTENT_IN_PORTAL.
- * - "AGENCY_CLICKED_INSIGHTS_VIEW_NOW_PITCH_DECKS_IN_PORTAL" : A
- * AGENCY_CLICKED_INSIGHTS_VIEW_NOW_PITCH_DECKS_IN_PORTAL.
- * - "AGENCY_CLICKED_INSIGHTS_LEFT_NAV_IN_PORTAL" : A
- * AGENCY_CLICKED_INSIGHTS_LEFT_NAV_IN_PORTAL.
- * - "AGENCY_CLICKED_INSIGHTS_UPLOAD_CONTENT" : A
- * AGENCY_CLICKED_INSIGHTS_UPLOAD_CONTENT.
- * - "AGENCY_CLICKED_INSIGHTS_VIEWED_DEPRECATED" : A
- * AGENCY_CLICKED_INSIGHTS_VIEWED_DEPRECATED.
- * - "AGENCY_CLICKED_COMMUNITY_LEFT_NAV_IN_PORTAL" : A
- * AGENCY_CLICKED_COMMUNITY_LEFT_NAV_IN_PORTAL.
- * - "AGENCY_CLICKED_JOIN_COMMUNITY_BUTTON_COMMUNITY_PORTAL" : A
- * AGENCY_CLICKED_JOIN_COMMUNITY_BUTTON_COMMUNITY_PORTAL.
- * - "AGENCY_CLICKED_CERTIFICATIONS_LEFT_NAV_IN_PORTAL" : A
- * AGENCY_CLICKED_CERTIFICATIONS_LEFT_NAV_IN_PORTAL.
- * - "AGENCY_CLICKED_CERTIFICATIONS_PRODUCT_LEFT_NAV_IN_PORTAL" : A
- * AGENCY_CLICKED_CERTIFICATIONS_PRODUCT_LEFT_NAV_IN_PORTAL.
- * - "AGENCY_CLICKED_PARTNER_STATUS_LEFT_NAV_IN_PORTAL" : A
- * AGENCY_CLICKED_PARTNER_STATUS_LEFT_NAV_IN_PORTAL.
- * - "AGENCY_CLICKED_PARTNER_STATUS_PRODUCT_LEFT_NAV_IN_PORTAL" : A
- * AGENCY_CLICKED_PARTNER_STATUS_PRODUCT_LEFT_NAV_IN_PORTAL.
- * - "AGENCY_CLICKED_OFFERS_LEFT_NAV_IN_PORTAL" : A
- * AGENCY_CLICKED_OFFERS_LEFT_NAV_IN_PORTAL.
- * - "AGENCY_CLICKED_SEND_BUTTON_ON_OFFERS_PAGE" : A
- * AGENCY_CLICKED_SEND_BUTTON_ON_OFFERS_PAGE.
- * - "AGENCY_CLICKED_EXAM_DETAILS_ON_CERT_ADWORDS_PAGE" : A
- * AGENCY_CLICKED_EXAM_DETAILS_ON_CERT_ADWORDS_PAGE.
- * - "AGENCY_CLICKED_SEE_EXAMS_CERTIFICATION_MAIN_PAGE" : A
- * AGENCY_CLICKED_SEE_EXAMS_CERTIFICATION_MAIN_PAGE.
- * - "AGENCY_CLICKED_TAKE_EXAM_ON_CERT_EXAM_PAGE" : A
- * AGENCY_CLICKED_TAKE_EXAM_ON_CERT_EXAM_PAGE.
- * - "AGENCY_OPENED_LAST_ADMIN_DIALOG" : A AGENCY_OPENED_LAST_ADMIN_DIALOG.
- * - "AGENCY_OPENED_DIALOG_WITH_NO_USERS" : A
- * AGENCY_OPENED_DIALOG_WITH_NO_USERS.
- * - "AGENCY_PROMOTED_USER_TO_ADMIN" : A AGENCY_PROMOTED_USER_TO_ADMIN.
- * - "AGENCY_UNAFFILIATED" : A AGENCY_UNAFFILIATED.
- * - "AGENCY_CHANGED_ROLES" : A AGENCY_CHANGED_ROLES.
- * - "SMB_CLICKED_COMPANY_NAME_LINK_TO_PROFILE" : A
- * SMB_CLICKED_COMPANY_NAME_LINK_TO_PROFILE.
- * - "SMB_VIEWED_ADWORDS_CERTIFICATE" : A SMB_VIEWED_ADWORDS_CERTIFICATE.
- * - "SMB_CLICKED_ADWORDS_CERTIFICATE_HELP_ICON" : A
- * SMB_CLICKED_ADWORDS_CERTIFICATE_HELP_ICON.
- * - "SMB_VIEWED_ANALYTICS_CERTIFICATE" : A SMB_VIEWED_ANALYTICS_CERTIFICATE.
- * - "SMB_VIEWED_DOUBLECLICK_CERTIFICATE" : A
- * SMB_VIEWED_DOUBLECLICK_CERTIFICATE.
- * - "SMB_VIEWED_VIDEO_ADS_CERTIFICATE" : A SMB_VIEWED_VIDEO_ADS_CERTIFICATE.
- * - "SMB_VIEWED_SHOPPING_CERTIFICATE" : A SMB_VIEWED_SHOPPING_CERTIFICATE.
- * - "SMB_CLICKED_VIDEO_ADS_CERTIFICATE_HELP_ICON" : A
- * SMB_CLICKED_VIDEO_ADS_CERTIFICATE_HELP_ICON.
- * - "CLICKED_HELP_AT_BOTTOM" : A CLICKED_HELP_AT_BOTTOM.
- * - "CLICKED_HELP_AT_TOP" : A CLICKED_HELP_AT_TOP.
- * - "CLIENT_ERROR" : A CLIENT_ERROR.
- * - "AGENCY_CLICKED_LEFT_NAV_STORIES" : A AGENCY_CLICKED_LEFT_NAV_STORIES.
- * - "CLICKED" : A CLICKED.
- * - "SMB_VIEWED_MOBILE_CERTIFICATE" : A SMB_VIEWED_MOBILE_CERTIFICATE.
- * - "AGENCY_FAILED_COMPANY_VERIFICATION" : A
- * AGENCY_FAILED_COMPANY_VERIFICATION.
- * - "VISITED_LANDING" : A VISITED_LANDING.
- * - "VISITED_GPS" : A VISITED_GPS.
- * - "VISITED_AGENCY_PORTAL" : A VISITED_AGENCY_PORTAL.
- * - "CANCELLED_INDIVIDUAL_SIGN_UP" : A CANCELLED_INDIVIDUAL_SIGN_UP.
- * - "CANCELLED_COMPANY_SIGN_UP" : A CANCELLED_COMPANY_SIGN_UP.
- * - "AGENCY_CLICKED_SIGN_IN_BUTTON_TOP" : A
- * AGENCY_CLICKED_SIGN_IN_BUTTON_TOP.
- * - "AGENCY_CLICKED_SAVE_AND_CONTINUE_AT_BOT_OF_INCOMPLETE_PROFILE" : A
- * AGENCY_CLICKED_SAVE_AND_CONTINUE_AT_BOT_OF_INCOMPLETE_PROFILE.
- * - "AGENCY_UNSELECTED_OPT_IN_NEWS_INVITATIONS_AND_PROMOS" : A
- * AGENCY_UNSELECTED_OPT_IN_NEWS_INVITATIONS_AND_PROMOS.
- * - "AGENCY_UNSELECTED_OPT_IN_BETA_TESTS_AND_MKT_RESEARCH" : A
- * AGENCY_UNSELECTED_OPT_IN_BETA_TESTS_AND_MKT_RESEARCH.
- * - "AGENCY_UNSELECTED_OPT_IN_PERFORMANCE_SUGGESTIONS" : A
- * AGENCY_UNSELECTED_OPT_IN_PERFORMANCE_SUGGESTIONS.
- * - "AGENCY_SELECTED_OPT_OUT_UNSELECT_ALL_EMAIL_NOTIFICATIONS" : A
- * AGENCY_SELECTED_OPT_OUT_UNSELECT_ALL_EMAIL_NOTIFICATIONS.
- * - "AGENCY_LINKED_INDIVIDUAL_MCC" : A AGENCY_LINKED_INDIVIDUAL_MCC.
- * - "AGENCY_SUGGESTED_TO_USER" : A AGENCY_SUGGESTED_TO_USER.
- * - "AGENCY_IGNORED_SUGGESTED_AGENCIES_AND_SEARCHED" : A
- * AGENCY_IGNORED_SUGGESTED_AGENCIES_AND_SEARCHED.
- * - "AGENCY_PICKED_SUGGESTED_AGENCY" : A AGENCY_PICKED_SUGGESTED_AGENCY.
- * - "AGENCY_SEARCHED_FOR_AGENCIES" : A AGENCY_SEARCHED_FOR_AGENCIES.
- * - "AGENCY_PICKED_SEARCHED_AGENCY" : A AGENCY_PICKED_SEARCHED_AGENCY.
- * - "AGENCY_DISMISSED_AFFILIATION_WIDGET" : A
- * AGENCY_DISMISSED_AFFILIATION_WIDGET.
- * - "AGENCY_CLICKED_INSIGHTS_DOWNLOAD_CONTENT" : A
- * AGENCY_CLICKED_INSIGHTS_DOWNLOAD_CONTENT.
- * - "AGENCY_PROGRESS_INSIGHTS_VIEW_CONTENT" : A
- * AGENCY_PROGRESS_INSIGHTS_VIEW_CONTENT.
- * - "AGENCY_CLICKED_CANCEL_ACCEPT_TOS_BUTTON" : A
- * AGENCY_CLICKED_CANCEL_ACCEPT_TOS_BUTTON.
- * - "SMB_ENTERED_WEBSITE_IN_CONTACT_PARTNER_FORM" : A
- * SMB_ENTERED_WEBSITE_IN_CONTACT_PARTNER_FORM.
+ * - "EVENT_ACTION_UNSPECIFIED" : Unchosen.
+ * - "SMB_CLICKED_FIND_A_PARTNER_BUTTON_BOTTOM" : Advertiser clicked `Find a
+ * partner` bottom button.
+ * - "SMB_CLICKED_FIND_A_PARTNER_BUTTON_TOP" : Advertiser clicked `Find a
+ * partner` top button.
+ * - "AGENCY_CLICKED_JOIN_NOW_BUTTON_BOTTOM" : Agency clicked `Join now`
+ * bottom button.
+ * - "AGENCY_CLICKED_JOIN_NOW_BUTTON_TOP" : Agency clicked `Join now` top
+ * button.
+ * - "SMB_CANCELED_PARTNER_CONTACT_FORM" : Advertiser canceled partner contact
+ * form.
+ * - "SMB_CLICKED_CONTACT_A_PARTNER" : Advertiser started partner contact
+ * form.
+ * - "SMB_COMPLETED_PARTNER_CONTACT_FORM" : Advertiser completed partner
+ * contact form.
+ * - "SMB_ENTERED_EMAIL_IN_CONTACT_PARTNER_FORM" : Advertiser entered email in
+ * contact form.
+ * - "SMB_ENTERED_NAME_IN_CONTACT_PARTNER_FORM" : Advertiser entered name in
+ * contact form.
+ * - "SMB_ENTERED_PHONE_IN_CONTACT_PARTNER_FORM" : Advertiser entered phone in
+ * contact form.
+ * - "SMB_FAILED_RECAPTCHA_IN_CONTACT_PARTNER_FORM" : Advertiser failed <a
+ * href="https://www.google.com/recaptcha/">reCaptcha</a>
+ * in contact form.
+ * - "PARTNER_VIEWED_BY_SMB" : Company viewed by advertiser.
+ * - "SMB_CANCELED_PARTNER_CONTACT_FORM_ON_GPS" : Advertiser canceled partner
+ * contact form on Google Partner Search.
+ * - "SMB_CHANGED_A_SEARCH_PARAMETER_TOP" : Advertiser changed a top search
+ * parameter.
+ * - "SMB_CLICKED_CONTACT_A_PARTNER_ON_GPS" : Advertiser started partner
+ * contact form on Google Partner Search.
+ * - "SMB_CLICKED_SHOW_MORE_PARTNERS_BUTTON_BOTTOM" : Advertiser clicked `Show
+ * more partners` bottom button.
+ * - "SMB_COMPLETED_PARTNER_CONTACT_FORM_ON_GPS" : Advertiser completed
+ * partner contact form on Google Partner Search.
+ * - "SMB_NO_PARTNERS_AVAILABLE_WITH_SEARCH_CRITERIA" : Advertiser saw no
+ * partners available with search criteria.
+ * - "SMB_PERFORMED_SEARCH_ON_GPS" : Advertiser performed search on Google
+ * Partner Search.
+ * - "SMB_VIEWED_A_PARTNER_ON_GPS" : Advertiser viewed a partner on Google
+ * Partner Search.
+ * - "SMB_CANCELED_PARTNER_CONTACT_FORM_ON_PROFILE_PAGE" : Advertiser canceled
+ * partner contact form on profile page.
+ * - "SMB_CLICKED_CONTACT_A_PARTNER_ON_PROFILE_PAGE" : Advertiser started
+ * partner contact form on profile page.
+ * - "SMB_CLICKED_PARTNER_WEBSITE" : Advertiser clicked partner website.
+ * - "SMB_COMPLETED_PARTNER_CONTACT_FORM_ON_PROFILE_PAGE" : Advertiser
+ * completed contact form on profile page.
+ * - "SMB_VIEWED_A_PARTNER_PROFILE" : Advertiser viewed a partner profile.
+ * - "AGENCY_CLICKED_ACCEPT_TOS_BUTTON" : Agency clicked `accept Terms Of
+ * Service` button.
+ * - "AGENCY_CHANGED_TOS_COUNTRY" : Agency changed Terms Of Service country.
+ * - "AGENCY_ADDED_ADDRESS_IN_MY_PROFILE_PORTAL" : Agency added address in
+ * profile portal.
+ * - "AGENCY_ADDED_PHONE_NUMBER_IN_MY_PROFILE_PORTAL" : Agency added phone
+ * number in profile portal.
+ * - "AGENCY_CHANGED_PRIMARY_ACCOUNT_ASSOCIATION" : Agency changed primary
+ * account association.
+ * - "AGENCY_CHANGED_PRIMARY_COUNTRY_ASSOCIATION" : Agency changed primary
+ * country association.
+ * - "AGENCY_CLICKED_AFFILIATE_BUTTON_IN_MY_PROFILE_IN_PORTAL" : Agency
+ * clicked `affiliate` button in profile portal.
+ * - "AGENCY_CLICKED_GIVE_EDIT_ACCESS_IN_MY_PROFILE_PORTAL" : Agency clicked
+ * `give edit access` in profile portal.
+ * - "AGENCY_CLICKED_LOG_OUT_IN_MY_PROFILE_PORTAL" : Agency clicked `log out`
+ * in profile portal.
+ * - "AGENCY_CLICKED_MY_PROFILE_LEFT_NAV_IN_PORTAL" : Agency clicked profile
+ * portal left nav.
+ * - "AGENCY_CLICKED_SAVE_AND_CONTINUE_AT_BOT_OF_COMPLETE_PROFILE" : Agency
+ * clicked `save and continue` at bottom of complete profile.
+ * - "AGENCY_CLICKED_UNAFFILIATE_IN_MY_PROFILE_PORTAL" : Agency clicked
+ * `unaffiliate` in profile portal.
+ * - "AGENCY_FILLED_OUT_COMP_AFFILIATION_IN_MY_PROFILE_PORTAL" : Agency filled
+ * out company affiliation in profile portal.
+ * - "AGENCY_SUCCESSFULLY_CONNECTED_WITH_COMPANY_IN_MY_PROFILE" : Agency
+ * successfully connected with company in profile portal.
+ * - "AGENCY_CLICKED_CREATE_MCC_IN_MY_PROFILE_PORTAL" : Agency clicked create
+ * MCC in profile portal.
+ * - "AGENCY_DIDNT_HAVE_AN_MCC_ASSOCIATED_ON_COMPLETE_PROFILE" : Agency did
+ * not have an MCC associated on profile portal.
+ * - "AGENCY_HAD_AN_MCC_ASSOCIATED_ON_COMPLETE_PROFILE" : Agency had an MCC
+ * associated on profile portal.
+ * - "AGENCY_ADDED_JOB_FUNCTION_IN_MY_PROFILE_PORTAL" : Agency added job
+ * function in profile portal.
+ * - "AGENCY_LOOKED_AT_JOB_FUNCTION_DROP_DOWN" : Agency looked at job function
+ * drop-down.
+ * - "AGENCY_SELECTED_ACCOUNT_MANAGER_AS_JOB_FUNCTION" : Agency selected
+ * `account manage` as job function.
+ * - "AGENCY_SELECTED_ACCOUNT_PLANNER_AS_JOB_FUNCTION" : Agency selected
+ * `account planner` as job function.
+ * - "AGENCY_SELECTED_ANALYTICS_AS_JOB_FUNCTION" : Agency selected `Analytics`
+ * as job function.
+ * - "AGENCY_SELECTED_CREATIVE_AS_JOB_FUNCTION" : Agency selected `creative`
+ * as job function.
+ * - "AGENCY_SELECTED_MEDIA_BUYER_AS_JOB_FUNCTION" : Agency selected `media
+ * buyer` as job function.
+ * - "AGENCY_SELECTED_MEDIA_PLANNER_AS_JOB_FUNCTION" : Agency selected `media
+ * planner` as job function.
+ * - "AGENCY_SELECTED_OTHER_AS_JOB_FUNCTION" : Agency selected `other` as job
+ * function.
+ * - "AGENCY_SELECTED_PRODUCTION_AS_JOB_FUNCTION" : Agency selected
+ * `production` as job function.
+ * - "AGENCY_SELECTED_SEO_AS_JOB_FUNCTION" : Agency selected `SEO` as job
+ * function.
+ * - "AGENCY_SELECTED_SALES_REP_AS_JOB_FUNCTION" : Agency selected `sales rep`
+ * as job function.
+ * - "AGENCY_SELECTED_SEARCH_SPECIALIST_AS_JOB_FUNCTION" : Agency selected
+ * `search specialist` as job function.
+ * - "AGENCY_ADDED_CHANNELS_IN_MY_PROFILE_PORTAL" : Agency added channels in
+ * profile portal.
+ * - "AGENCY_LOOKED_AT_ADD_CHANNEL_DROP_DOWN" : Agency looked at `add channel`
+ * drop-down.
+ * - "AGENCY_SELECTED_CROSS_CHANNEL_FROM_ADD_CHANNEL" : Agency selected `cross
+ * channel` from add channel drop-down.
+ * - "AGENCY_SELECTED_DISPLAY_FROM_ADD_CHANNEL" : Agency selected `display`
+ * from add channel drop-down.
+ * - "AGENCY_SELECTED_MOBILE_FROM_ADD_CHANNEL" : Agency selected `mobile` from
+ * add channel drop-down.
+ * - "AGENCY_SELECTED_SEARCH_FROM_ADD_CHANNEL" : Agency selected `search` from
+ * add channel drop-down.
+ * - "AGENCY_SELECTED_SOCIAL_FROM_ADD_CHANNEL" : Agency selected `social` from
+ * add channel drop-down.
+ * - "AGENCY_SELECTED_TOOLS_FROM_ADD_CHANNEL" : Agency selected `tools` from
+ * add channel drop-down.
+ * - "AGENCY_SELECTED_YOUTUBE_FROM_ADD_CHANNEL" : Agency selected `YouTube`
+ * from add channel drop-down.
+ * - "AGENCY_ADDED_INDUSTRIES_IN_MY_PROFILE_PORTAL" : Agency added industries
+ * in profile portal.
+ * - "AGENCY_CHANGED_ADD_INDUSTRIES_DROP_DOWN" : Agency changed `add
+ * industries` drop-down.
+ * - "AGENCY_ADDED_MARKETS_IN_MY_PROFILE_PORTAL" : Agency added markets in
+ * profile portal.
+ * - "AGENCY_CHANGED_ADD_MARKETS_DROP_DOWN" : Agency changed `add markets`
+ * drop-down.
+ * - "AGENCY_CHECKED_RECIEVE_MAIL_PROMOTIONS_MYPROFILE" : Agency checked
+ * `recieve mail promotions` in profile portal.
+ * - "AGENCY_CHECKED_RECIEVE_MAIL_PROMOTIONS_SIGNUP" : Agency checked `recieve
+ * mail promotions` in sign-up.
+ * - "AGENCY_SELECTED_OPT_IN_BETA_TESTS_AND_MKT_RESEARCH" : Agency selected
+ * `opt-in beta tests and market research`.
+ * - "AGENCY_SELECTED_OPT_IN_BETA_TESTS_IN_MY_PROFILE_PORTAL" : Agency
+ * selected `opt-in beta tests` in profile portal.
+ * - "AGENCY_SELECTED_OPT_IN_NEWS_IN_MY_PROFILE_PORTAL" : Agency selected
+ * `opt-in news` in profile portal.
+ * - "AGENCY_SELECTED_OPT_IN_NEWS_INVITATIONS_AND_PROMOS" : Agency selected
+ * `opt-in news invitations and promotions`.
+ * - "AGENCY_SELECTED_OPT_IN_PERFORMANCE_SUG_IN_MY_PROFILE_PORTAL" : Agency
+ * selected `opt-in performance SUG` in profile portal.
+ * - "AGENCY_SELECTED_OPT_IN_PERFORMANCE_SUGGESTIONS" : Agency selected
+ * `opt-in performance suggestions`.
+ * - "AGENCY_SELECTED_OPT_IN_SELECT_ALL_EMAIL_NOTIFICATIONS" : Agency selected
+ * `opt-in select all email notifications`.
+ * - "AGENCY_SELECTED_SELECT_ALL_OPT_INS_IN_MY_PROFILE_PORTAL" : Agency
+ * selected `select all opt-ins` in profile portal.
+ * - "AGENCY_CLICKED_BACK_BUTTON_ON_CONNECT_WITH_COMPANY" : Agency clicked
+ * back button on `connect with company`.
+ * - "AGENCY_CLICKED_CONTINUE_TO_OVERVIEW_ON_CONNECT_WITH_COMPANY" : Agency
+ * clicked continue to overview on `connect with company`.
+ * - "AGECNY_CLICKED_CREATE_MCC_CONNECT_WITH_COMPANY_NOT_FOUND" : Agency
+ * clicked `create MCC connect with company not found`.
+ * - "AGECNY_CLICKED_GIVE_EDIT_ACCESS_CONNECT_WITH_COMPANY_NOT_FOUND" : Agency
+ * clicked `give edit access connect with company not found`.
+ * - "AGECNY_CLICKED_LOG_OUT_CONNECT_WITH_COMPANY_NOT_FOUND" : Agency clicked
+ * `log out connect with company not found`.
+ * - "AGENCY_CLICKED_SKIP_FOR_NOW_ON_CONNECT_WITH_COMPANY_PAGE" : Agency
+ * clicked `skip for now on connect with company page`.
+ * - "AGENCY_CLOSED_CONNECTED_TO_COMPANY_X_BUTTON_WRONG_COMPANY" : Agency
+ * closed connection to company.
+ * - "AGENCY_COMPLETED_FIELD_CONNECT_WITH_COMPANY" : Agency completed field
+ * connect with company.
+ * - "AGECNY_FOUND_COMPANY_TO_CONNECT_WITH" : Agency found company to connect
+ * with.
+ * - "AGENCY_SUCCESSFULLY_CREATED_COMPANY" : Agency successfully created
+ * company.
+ * - "AGENCY_ADDED_NEW_COMPANY_LOCATION" : Agency added new company location.
+ * - "AGENCY_CLICKED_COMMUNITY_JOIN_NOW_LINK_IN_PORTAL_NOTIFICATIONS" : Agency
+ * clicked community `join now link` in portal notifications.
+ * - "AGENCY_CLICKED_CONNECT_TO_COMPANY_LINK_IN_PORTAL_NOTIFICATIONS" : Agency
+ * clicked `connect to company` link in portal notifications.
+ * - "AGENCY_CLICKED_GET_CERTIFIED_LINK_IN_PORTAL_NOTIFICATIONS" : Agency
+ * cliecked `get certified` link in portal notifications.
+ * - "AGENCY_CLICKED_GET_VIDEO_ADS_CERTIFIED_LINK_IN_PORTAL_NOTIFICATIONS" :
+ * Agency clicked `get VideoAds certified` link in portal notifications.
+ * - "AGENCY_CLICKED_LINK_TO_MCC_LINK_IN_PORTAL_NOTIFICATIONS" : Agency
+ * clicked `link to MCC` link in portal notifications.
+ * - "AGENCY_CLICKED_INSIGHT_CONTENT_IN_PORTAL" : Agency clicked `insight
+ * content` in portal.
+ * - "AGENCY_CLICKED_INSIGHTS_VIEW_NOW_PITCH_DECKS_IN_PORTAL" : Agency clicked
+ * `insights view now pitch decks` in portal.
+ * - "AGENCY_CLICKED_INSIGHTS_LEFT_NAV_IN_PORTAL" : Agency clicked `insights`
+ * left nav in portal.
+ * - "AGENCY_CLICKED_INSIGHTS_UPLOAD_CONTENT" : Agency clicked `insights
+ * upload content`.
+ * - "AGENCY_CLICKED_INSIGHTS_VIEWED_DEPRECATED" : Agency clicked `insights
+ * viewed deprecated`.
+ * - "AGENCY_CLICKED_COMMUNITY_LEFT_NAV_IN_PORTAL" : Agency clicked
+ * `community` left nav in portal.
+ * - "AGENCY_CLICKED_JOIN_COMMUNITY_BUTTON_COMMUNITY_PORTAL" : Agency clicked
+ * `join community` button in community portal.
+ * - "AGENCY_CLICKED_CERTIFICATIONS_LEFT_NAV_IN_PORTAL" : Agency clicked
+ * `certifications` left nav in portal.
+ * - "AGENCY_CLICKED_CERTIFICATIONS_PRODUCT_LEFT_NAV_IN_PORTAL" : Agency
+ * clicked `certifications product` left nav in portal.
+ * - "AGENCY_CLICKED_PARTNER_STATUS_LEFT_NAV_IN_PORTAL" : Agency clicked
+ * `partner status` left nav in portal.
+ * - "AGENCY_CLICKED_PARTNER_STATUS_PRODUCT_LEFT_NAV_IN_PORTAL" : Agency
+ * clicked `partner status product` left nav in portal.
+ * - "AGENCY_CLICKED_OFFERS_LEFT_NAV_IN_PORTAL" : Agency clicked `offers` left
+ * nav in portal.
+ * - "AGENCY_CLICKED_SEND_BUTTON_ON_OFFERS_PAGE" : Agency clicked `send`
+ * button on offers page.
+ * - "AGENCY_CLICKED_EXAM_DETAILS_ON_CERT_ADWORDS_PAGE" : Agency clicked `exam
+ * details` on certifications AdWords page.
+ * - "AGENCY_CLICKED_SEE_EXAMS_CERTIFICATION_MAIN_PAGE" : Agency clicked `see
+ * exams` certifications main page.
+ * - "AGENCY_CLICKED_TAKE_EXAM_ON_CERT_EXAM_PAGE" : Agency clicked `take exam`
+ * on certifications exam page.
+ * - "AGENCY_OPENED_LAST_ADMIN_DIALOG" : Agency opened `last admin` dialog.
+ * - "AGENCY_OPENED_DIALOG_WITH_NO_USERS" : Agency opened dialog with no
+ * users.
+ * - "AGENCY_PROMOTED_USER_TO_ADMIN" : Agency promoted user to admin.
+ * - "AGENCY_UNAFFILIATED" : Agency unaffiliated.
+ * - "AGENCY_CHANGED_ROLES" : Agency changed roles.
+ * - "SMB_CLICKED_COMPANY_NAME_LINK_TO_PROFILE" : Advertiser clicked `company
+ * name` link to profile.
+ * - "SMB_VIEWED_ADWORDS_CERTIFICATE" : Advertiser viewed AdWords certificate.
+ * - "SMB_VIEWED_ADWORDS_SEARCH_CERTIFICATE" : Advertiser viewed AdWords
+ * Search certificate.
+ * - "SMB_VIEWED_ADWORDS_DISPLAY_CERTIFICATE" : Advertiser viewed AdWords
+ * Display certificate.
+ * - "SMB_CLICKED_ADWORDS_CERTIFICATE_HELP_ICON" : Advertiser clicked AdWords
+ * certificate help icon.
+ * - "SMB_VIEWED_ANALYTICS_CERTIFICATE" : Advertiser viewed Analytics
+ * certificate.
+ * - "SMB_VIEWED_DOUBLECLICK_CERTIFICATE" : Advertiser viewed DoubleClick
+ * certificate.
+ * - "SMB_VIEWED_MOBILE_SITES_CERTIFICATE" : Advertiser viewed Mobile Sites
+ * certificate.
+ * - "SMB_VIEWED_VIDEO_ADS_CERTIFICATE" : Advertiser viewed VideoAds
+ * certificate.
+ * - "SMB_VIEWED_SHOPPING_CERTIFICATE" : Advertiser clicked Shopping
+ * certificate help icon.
+ * - "SMB_CLICKED_VIDEO_ADS_CERTIFICATE_HELP_ICON" : Advertiser clicked
+ * VideoAds certificate help icon.
+ * - "CLICKED_HELP_AT_BOTTOM" : Clicked `help` at bottom.
+ * - "CLICKED_HELP_AT_TOP" : Clicked `help` at top.
+ * - "CLIENT_ERROR" : Client error occurred.
+ * - "AGENCY_CLICKED_LEFT_NAV_STORIES" : Agency clicked left nav `stories`.
+ * - "CLICKED" : Click occured.
+ * - "SMB_VIEWED_MOBILE_CERTIFICATE" : Advertiser clicked Mobile certificate
+ * help icon.
+ * - "AGENCY_FAILED_COMPANY_VERIFICATION" : Agency failed the company
+ * verification.
+ * - "VISITED_LANDING" : User visited the landing portion of Google Partners.
+ * - "VISITED_GPS" : User visited the Google Partner Search portion of Google
+ * Partners.
+ * - "VISITED_AGENCY_PORTAL" : User visited the agency portal portion of
+ * Google Partners.
+ * - "CANCELLED_INDIVIDUAL_SIGN_UP" : User cancelled signing up.
+ * - "CANCELLED_COMPANY_SIGN_UP" : User cancelled signing up their company.
+ * - "AGENCY_CLICKED_SIGN_IN_BUTTON_TOP" : Agency clicked `Sign in` top
+ * button.
+ * - "AGENCY_CLICKED_SAVE_AND_CONTINUE_AT_BOT_OF_INCOMPLETE_PROFILE" : Agency
+ * clicked `save and continue` at bottom of incomplete profile.
+ * - "AGENCY_UNSELECTED_OPT_IN_NEWS_INVITATIONS_AND_PROMOS" : Agency
+ * unselected `opt-in news invitations and promotions`.
+ * - "AGENCY_UNSELECTED_OPT_IN_BETA_TESTS_AND_MKT_RESEARCH" : Agency
+ * unselected `opt-in beta tests and market research`.
+ * - "AGENCY_UNSELECTED_OPT_IN_PERFORMANCE_SUGGESTIONS" : Agency unselected
+ * `opt-in performance suggestions`.
+ * - "AGENCY_SELECTED_OPT_OUT_UNSELECT_ALL_EMAIL_NOTIFICATIONS" : Agency
+ * selected `opt-out unselect all email notifications`.
+ * - "AGENCY_LINKED_INDIVIDUAL_MCC" : Agency linked their individual MCC.
+ * - "AGENCY_SUGGESTED_TO_USER" : Agency was suggested to user for
+ * affiliation.
+ * - "AGENCY_IGNORED_SUGGESTED_AGENCIES_AND_SEARCHED" : Agency ignored
+ * suggested agencies and begin searching.
+ * - "AGENCY_PICKED_SUGGESTED_AGENCY" : Agency picked a suggested agency.
+ * - "AGENCY_SEARCHED_FOR_AGENCIES" : Agency searched for agencies.
+ * - "AGENCY_PICKED_SEARCHED_AGENCY" : Agency picked a searched agency.
+ * - "AGENCY_DISMISSED_AFFILIATION_WIDGET" : Agency dismissed affiliation
+ * widget.
+ * - "AGENCY_CLICKED_INSIGHTS_DOWNLOAD_CONTENT" : Agency clicked on the
+ * download link for downloading content.
+ * - "AGENCY_PROGRESS_INSIGHTS_VIEW_CONTENT" : Agency user is maklingg
+ * progress viewing a content item.
+ * - "AGENCY_CLICKED_CANCEL_ACCEPT_TOS_BUTTON" : Agency clicked `cancel Terms
+ * Of Service` button.
+ * - "SMB_ENTERED_WEBSITE_IN_CONTACT_PARTNER_FORM" : Advertiser entered
+ * website in contact form.
*/
core.String eventAction;
/**
* The category the action belongs to.
* Possible string values are:
- * - "EVENT_CATEGORY_UNSPECIFIED" : A EVENT_CATEGORY_UNSPECIFIED.
- * - "GOOGLE_PARTNER_SEARCH" : A GOOGLE_PARTNER_SEARCH.
- * - "GOOGLE_PARTNER_SIGNUP_FLOW" : A GOOGLE_PARTNER_SIGNUP_FLOW.
- * - "GOOGLE_PARTNER_PORTAL" : A GOOGLE_PARTNER_PORTAL.
- * - "GOOGLE_PARTNER_PORTAL_MY_PROFILE" : A GOOGLE_PARTNER_PORTAL_MY_PROFILE.
- * - "GOOGLE_PARTNER_PORTAL_CERTIFICATIONS" : A
- * GOOGLE_PARTNER_PORTAL_CERTIFICATIONS.
- * - "GOOGLE_PARTNER_PORTAL_COMMUNITY" : A GOOGLE_PARTNER_PORTAL_COMMUNITY.
- * - "GOOGLE_PARTNER_PORTAL_INSIGHTS" : A GOOGLE_PARTNER_PORTAL_INSIGHTS.
- * - "GOOGLE_PARTNER_PORTAL_CLIENTS" : A GOOGLE_PARTNER_PORTAL_CLIENTS.
- * - "GOOGLE_PARTNER_PUBLIC_USER_PROFILE" : A
- * GOOGLE_PARTNER_PUBLIC_USER_PROFILE.
- * - "GOOGLE_PARTNER_PANEL" : A GOOGLE_PARTNER_PANEL.
- * - "GOOGLE_PARTNER_PORTAL_LAST_ADMIN_DIALOG" : A
- * GOOGLE_PARTNER_PORTAL_LAST_ADMIN_DIALOG.
- * - "GOOGLE_PARTNER_CLIENT" : A GOOGLE_PARTNER_CLIENT.
- * - "GOOGLE_PARTNER_PORTAL_COMPANY_PROFILE" : A
- * GOOGLE_PARTNER_PORTAL_COMPANY_PROFILE.
- * - "EXTERNAL_LINKS" : A EXTERNAL_LINKS.
- * - "GOOGLE_PARTNER_LANDING" : A GOOGLE_PARTNER_LANDING.
+ * - "EVENT_CATEGORY_UNSPECIFIED" : Unchosen.
+ * - "GOOGLE_PARTNER_SEARCH" : Google Partner Search category.
+ * - "GOOGLE_PARTNER_SIGNUP_FLOW" : Google Partner sign-up flow category.
+ * - "GOOGLE_PARTNER_PORTAL" : Google Partner portal category.
+ * - "GOOGLE_PARTNER_PORTAL_MY_PROFILE" : Google Partner portal my-profile
+ * category.
+ * - "GOOGLE_PARTNER_PORTAL_CERTIFICATIONS" : Google Partner portal
+ * certifications category.
+ * - "GOOGLE_PARTNER_PORTAL_COMMUNITY" : Google Partner portal community
+ * category.
+ * - "GOOGLE_PARTNER_PORTAL_INSIGHTS" : Google Partner portal insights
+ * category.
+ * - "GOOGLE_PARTNER_PORTAL_CLIENTS" : Google Partner portal clients category.
+ * - "GOOGLE_PARTNER_PUBLIC_USER_PROFILE" : Google Partner portal public user
+ * profile category.
+ * - "GOOGLE_PARTNER_PANEL" : Google Partner panel category.
+ * - "GOOGLE_PARTNER_PORTAL_LAST_ADMIN_DIALOG" : Google Partner portal last
+ * admin dialog category.
+ * - "GOOGLE_PARTNER_CLIENT" : Google Partner client category.
+ * - "GOOGLE_PARTNER_PORTAL_COMPANY_PROFILE" : Google Partner portal company
+ * profile category.
+ * - "EXTERNAL_LINKS" : External links category.
+ * - "GOOGLE_PARTNER_LANDING" : Google Partner landing category.
*/
core.String eventCategory;
/** List of event data for the event. */
@@ -1717,10 +4381,10 @@
/**
* The scope of the event.
* Possible string values are:
- * - "EVENT_SCOPE_UNSPECIFIED" : A EVENT_SCOPE_UNSPECIFIED.
- * - "VISITOR" : A VISITOR.
- * - "SESSION" : A SESSION.
- * - "PAGE" : A PAGE.
+ * - "EVENT_SCOPE_UNSPECIFIED" : Unchosen.
+ * - "VISITOR" : Based on visitor.
+ * - "SESSION" : Based on session.
+ * - "PAGE" : Based on page visit.
*/
core.String eventScope;
/** Advertiser lead information. */
@@ -1783,7 +4447,10 @@
}
}
-/** Response message for LogUserEvent. */
+/**
+ * Response message for
+ * LogUserEvent.
+ */
class LogUserEventResponse {
/** Current response metadata. */
ResponseMetadata responseMetadata;
@@ -1810,17 +4477,17 @@
/** The 3-letter currency code defined in ISO 4217. */
core.String currencyCode;
/**
- * Number of nano (10^-9) units of the amount. The value must be between
- * -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos`
- * must be positive or zero. If `units` is zero, `nanos` can be positive,
- * zero, or negative. If `units` is negative, `nanos` must be negative or
- * zero. For example $-1.75 is represented as `units`=-1 and
- * `nanos`=-750,000,000.
+ * Number of nano (10^-9) units of the amount.
+ * The value must be between -999,999,999 and +999,999,999 inclusive.
+ * If `units` is positive, `nanos` must be positive or zero.
+ * If `units` is zero, `nanos` can be positive, zero, or negative.
+ * If `units` is negative, `nanos` must be negative or zero.
+ * For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
*/
core.int nanos;
/**
- * The whole units of the amount. For example if `currencyCode` is `"USD"`,
- * then 1 unit is one US dollar.
+ * The whole units of the amount.
+ * For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
*/
core.String units;
@@ -1853,9 +4520,166 @@
}
}
+/** Customers qualified for an offer. */
+class OfferCustomer {
+ /** URL to the customer's AdWords page. */
+ core.String adwordsUrl;
+ /** Country code of the customer. */
+ core.String countryCode;
+ /** Time the customer was created. */
+ core.String creationTime;
+ /** Days the customer is still eligible. */
+ core.int eligibilityDaysLeft;
+ /** External CID for the customer. */
+ core.String externalCid;
+ /** Formatted Get Y amount with currency code. */
+ core.String getYAmount;
+ /** Name of the customer. */
+ core.String name;
+ /**
+ * Type of the offer
+ * Possible string values are:
+ * - "OFFER_TYPE_UNSPECIFIED" : Unset.
+ * - "OFFER_TYPE_SPEND_X_GET_Y" : AdWords spend X get Y.
+ * - "OFFER_TYPE_VIDEO" : Youtube video.
+ * - "OFFER_TYPE_SPEND_MATCH" : Spend Match up to Y.
+ */
+ core.String offerType;
+ /** Formatted Spend X amount with currency code. */
+ core.String spendXAmount;
+
+ OfferCustomer();
+
+ OfferCustomer.fromJson(core.Map _json) {
+ if (_json.containsKey("adwordsUrl")) {
+ adwordsUrl = _json["adwordsUrl"];
+ }
+ if (_json.containsKey("countryCode")) {
+ countryCode = _json["countryCode"];
+ }
+ if (_json.containsKey("creationTime")) {
+ creationTime = _json["creationTime"];
+ }
+ if (_json.containsKey("eligibilityDaysLeft")) {
+ eligibilityDaysLeft = _json["eligibilityDaysLeft"];
+ }
+ if (_json.containsKey("externalCid")) {
+ externalCid = _json["externalCid"];
+ }
+ if (_json.containsKey("getYAmount")) {
+ getYAmount = _json["getYAmount"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("offerType")) {
+ offerType = _json["offerType"];
+ }
+ if (_json.containsKey("spendXAmount")) {
+ spendXAmount = _json["spendXAmount"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (adwordsUrl != null) {
+ _json["adwordsUrl"] = adwordsUrl;
+ }
+ if (countryCode != null) {
+ _json["countryCode"] = countryCode;
+ }
+ if (creationTime != null) {
+ _json["creationTime"] = creationTime;
+ }
+ if (eligibilityDaysLeft != null) {
+ _json["eligibilityDaysLeft"] = eligibilityDaysLeft;
+ }
+ if (externalCid != null) {
+ _json["externalCid"] = externalCid;
+ }
+ if (getYAmount != null) {
+ _json["getYAmount"] = getYAmount;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (offerType != null) {
+ _json["offerType"] = offerType;
+ }
+ if (spendXAmount != null) {
+ _json["spendXAmount"] = spendXAmount;
+ }
+ return _json;
+ }
+}
+
+/** A set of opt-ins for a user. */
+class OptIns {
+ /**
+ * An opt-in about receiving email from Partners marketing teams. Includes
+ * member-only events and special promotional offers for Google products.
+ */
+ core.bool marketComm;
+ /**
+ * An opt-in about receiving email with customized AdWords campaign management
+ * tips.
+ */
+ core.bool performanceSuggestions;
+ /** An opt-in to allow recieivng phone calls about their Partners account. */
+ core.bool phoneContact;
+ /**
+ * An opt-in to receive special promotional gifts and material in the mail.
+ */
+ core.bool physicalMail;
+ /** An opt-in about receiving email regarding new features and products. */
+ core.bool specialOffers;
+
+ OptIns();
+
+ OptIns.fromJson(core.Map _json) {
+ if (_json.containsKey("marketComm")) {
+ marketComm = _json["marketComm"];
+ }
+ if (_json.containsKey("performanceSuggestions")) {
+ performanceSuggestions = _json["performanceSuggestions"];
+ }
+ if (_json.containsKey("phoneContact")) {
+ phoneContact = _json["phoneContact"];
+ }
+ if (_json.containsKey("physicalMail")) {
+ physicalMail = _json["physicalMail"];
+ }
+ if (_json.containsKey("specialOffers")) {
+ specialOffers = _json["specialOffers"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (marketComm != null) {
+ _json["marketComm"] = marketComm;
+ }
+ if (performanceSuggestions != null) {
+ _json["performanceSuggestions"] = performanceSuggestions;
+ }
+ if (phoneContact != null) {
+ _json["phoneContact"] = phoneContact;
+ }
+ if (physicalMail != null) {
+ _json["physicalMail"] = physicalMail;
+ }
+ if (specialOffers != null) {
+ _json["specialOffers"] = specialOffers;
+ }
+ return _json;
+ }
+}
+
/** Basic information from a public profile. */
class PublicProfile {
- /** The URL to the main display image of the public profile. */
+ /**
+ * The URL to the main display image of the public profile. Being deprecated.
+ */
core.String displayImageUrl;
/** The display name of the public profile. */
core.String displayName;
@@ -1863,6 +4687,8 @@
* The ID which can be used to retrieve more details about the public profile.
*/
core.String id;
+ /** The URL to the main profile image of the public profile. */
+ core.String profileImage;
/** The URL of the public profile. */
core.String url;
@@ -1878,6 +4704,9 @@
if (_json.containsKey("id")) {
id = _json["id"];
}
+ if (_json.containsKey("profileImage")) {
+ profileImage = _json["profileImage"];
+ }
if (_json.containsKey("url")) {
url = _json["url"];
}
@@ -1894,6 +4723,9 @@
if (id != null) {
_json["id"] = id;
}
+ if (profileImage != null) {
+ _json["profileImage"] = profileImage;
+ }
if (url != null) {
_json["url"] = url;
}
@@ -1906,8 +4738,8 @@
/**
* The type of rank.
* Possible string values are:
- * - "RANK_TYPE_UNSPECIFIED" : A RANK_TYPE_UNSPECIFIED.
- * - "RT_FINAL_SCORE" : A RT_FINAL_SCORE.
+ * - "RANK_TYPE_UNSPECIFIED" : Unchosen.
+ * - "RT_FINAL_SCORE" : Total final score.
*/
core.String type;
/** The numerical value of the rank. */
@@ -1936,7 +4768,9 @@
}
}
-/** reCaptcha challenge info. */
+/**
+ * <a href="https://www.google.com/recaptcha/">reCaptcha</a> challenge info.
+ */
class RecaptchaChallenge {
/** The ID of the reCaptcha challenge. */
core.String id;
@@ -2045,16 +4879,63 @@
}
}
+/** Agency specialization status */
+class SpecializationStatus {
+ /**
+ * The specialization this status is for.
+ * Possible string values are:
+ * - "BADGE_SPECIALIZATION_UNKNOWN" : Unknown specialization
+ * - "BADGE_SPECIALIZATION_ADWORDS_SEARCH" : AdWords Search specialization
+ * - "BADGE_SPECIALIZATION_ADWORDS_DISPLAY" : AdWords Display specialization
+ * - "BADGE_SPECIALIZATION_ADWORDS_MOBILE" : AdWords Mobile specialization
+ * - "BADGE_SPECIALIZATION_ADWORDS_VIDEO" : AdWords Video specialization
+ * - "BADGE_SPECIALIZATION_ADWORDS_SHOPPING" : AdWords Shopping specialization
+ */
+ core.String badgeSpecialization;
+ /**
+ * State of agency specialization.
+ * Possible string values are:
+ * - "BADGE_SPECIALIZATION_STATE_UNKNOWN" : Unknown state
+ * - "BADGE_SPECIALIZATION_STATE_PASSED" : Specialization passed
+ * - "BADGE_SPECIALIZATION_STATE_NOT_PASSED" : Specialization not passed
+ * - "BADGE_SPECIALIZATION_STATE_IN_GRACE" : Specialization in grace
+ */
+ core.String badgeSpecializationState;
+
+ SpecializationStatus();
+
+ SpecializationStatus.fromJson(core.Map _json) {
+ if (_json.containsKey("badgeSpecialization")) {
+ badgeSpecialization = _json["badgeSpecialization"];
+ }
+ if (_json.containsKey("badgeSpecializationState")) {
+ badgeSpecializationState = _json["badgeSpecializationState"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (badgeSpecialization != null) {
+ _json["badgeSpecialization"] = badgeSpecialization;
+ }
+ if (badgeSpecializationState != null) {
+ _json["badgeSpecializationState"] = badgeSpecializationState;
+ }
+ return _json;
+ }
+}
+
/** Source of traffic for the current request. */
class TrafficSource {
/**
- * Identifier to indicate where the traffic comes from. An identifier has
- * multiple letters created by a team which redirected the traffic to us.
+ * Identifier to indicate where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
+ * traffic to us.
*/
core.String trafficSourceId;
/**
- * Second level identifier to indicate where the traffic comes from. An
- * identifier has multiple letters created by a team which redirected the
+ * Second level identifier to indicate where the traffic comes from.
+ * An identifier has multiple letters created by a team which redirected the
* traffic to us.
*/
core.String trafficSubId;
@@ -2082,6 +4963,130 @@
}
}
+/** A resource representing a user of the Partners platform. */
+class User {
+ /**
+ * This is the list of AdWords Manager Accounts the user has edit access to.
+ * If the user has edit access to multiple accounts, the user can choose the
+ * preferred account and we use this when a personal account is needed. Can
+ * be empty meaning the user has access to no accounts.
+ * @OutputOnly
+ */
+ core.List<AdWordsManagerAccountInfo> availableAdwordsManagerAccounts;
+ /**
+ * The list of achieved certifications. These are calculated based on exam
+ * results and other requirements.
+ * @OutputOnly
+ */
+ core.List<Certification> certificationStatus;
+ /**
+ * The company that the user is associated with.
+ * If not present, the user is not associated with any company.
+ */
+ CompanyRelation company;
+ /**
+ * The email address used by the user used for company verification.
+ * @OutputOnly
+ */
+ core.String companyVerificationEmail;
+ /**
+ * The list of exams the user ever taken. For each type of exam, only one
+ * entry is listed.
+ */
+ core.List<ExamStatus> examStatus;
+ /** The ID of the user. */
+ core.String id;
+ /**
+ * The most recent time the user interacted with the Partners site.
+ * @OutputOnly
+ */
+ core.String lastAccessTime;
+ /**
+ * The list of emails the user has access to/can select as primary.
+ * @OutputOnly
+ */
+ core.List<core.String> primaryEmails;
+ /**
+ * The profile information of a Partners user, contains all the directly
+ * editable user information.
+ */
+ UserProfile profile;
+ /**
+ * Information about a user's external public profile outside Google Partners.
+ */
+ PublicProfile publicProfile;
+
+ User();
+
+ User.fromJson(core.Map _json) {
+ if (_json.containsKey("availableAdwordsManagerAccounts")) {
+ availableAdwordsManagerAccounts = _json["availableAdwordsManagerAccounts"].map((value) => new AdWordsManagerAccountInfo.fromJson(value)).toList();
+ }
+ if (_json.containsKey("certificationStatus")) {
+ certificationStatus = _json["certificationStatus"].map((value) => new Certification.fromJson(value)).toList();
+ }
+ if (_json.containsKey("company")) {
+ company = new CompanyRelation.fromJson(_json["company"]);
+ }
+ if (_json.containsKey("companyVerificationEmail")) {
+ companyVerificationEmail = _json["companyVerificationEmail"];
+ }
+ if (_json.containsKey("examStatus")) {
+ examStatus = _json["examStatus"].map((value) => new ExamStatus.fromJson(value)).toList();
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("lastAccessTime")) {
+ lastAccessTime = _json["lastAccessTime"];
+ }
+ if (_json.containsKey("primaryEmails")) {
+ primaryEmails = _json["primaryEmails"];
+ }
+ if (_json.containsKey("profile")) {
+ profile = new UserProfile.fromJson(_json["profile"]);
+ }
+ if (_json.containsKey("publicProfile")) {
+ publicProfile = new PublicProfile.fromJson(_json["publicProfile"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (availableAdwordsManagerAccounts != null) {
+ _json["availableAdwordsManagerAccounts"] = availableAdwordsManagerAccounts.map((value) => (value).toJson()).toList();
+ }
+ if (certificationStatus != null) {
+ _json["certificationStatus"] = certificationStatus.map((value) => (value).toJson()).toList();
+ }
+ if (company != null) {
+ _json["company"] = (company).toJson();
+ }
+ if (companyVerificationEmail != null) {
+ _json["companyVerificationEmail"] = companyVerificationEmail;
+ }
+ if (examStatus != null) {
+ _json["examStatus"] = examStatus.map((value) => (value).toJson()).toList();
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (lastAccessTime != null) {
+ _json["lastAccessTime"] = lastAccessTime;
+ }
+ if (primaryEmails != null) {
+ _json["primaryEmails"] = primaryEmails;
+ }
+ if (profile != null) {
+ _json["profile"] = (profile).toJson();
+ }
+ if (publicProfile != null) {
+ _json["publicProfile"] = (publicProfile).toJson();
+ }
+ return _json;
+ }
+}
+
/**
* Values to use instead of the user's respective defaults. These are only
* honored by whitelisted products.
@@ -2114,3 +5119,139 @@
return _json;
}
}
+
+/** The profile information of a Partners user. */
+class UserProfile {
+ /** The user's mailing address, contains multiple fields. */
+ Location address;
+ /**
+ * If the user has edit access to multiple accounts, the user can choose the
+ * preferred account and it is used when a personal account is needed. Can
+ * be empty.
+ */
+ core.String adwordsManagerAccount;
+ /**
+ * A list of ids representing which channels the user selected they were in.
+ */
+ core.List<core.String> channels;
+ /**
+ * The email address the user has selected on the Partners site as primary.
+ */
+ core.String emailAddress;
+ /**
+ * The list of opt-ins for the user, related to communication preferences.
+ */
+ OptIns emailOptIns;
+ /** The user's family name. */
+ core.String familyName;
+ /** The user's given name. */
+ core.String givenName;
+ /** A list of ids representing which industries the user selected. */
+ core.List<core.String> industries;
+ /** A list of ids represnting which job categories the user selected. */
+ core.List<core.String> jobFunctions;
+ /** The list of languages this user understands. */
+ core.List<core.String> languages;
+ /** A list of ids representing which markets the user was interested in. */
+ core.List<core.String> markets;
+ /** The user's phone number. */
+ core.String phoneNumber;
+ /** The user's primary country, an ISO 2-character code. */
+ core.String primaryCountryCode;
+ /** Whether the user's public profile is visible to anyone with the URL. */
+ core.bool profilePublic;
+
+ UserProfile();
+
+ UserProfile.fromJson(core.Map _json) {
+ if (_json.containsKey("address")) {
+ address = new Location.fromJson(_json["address"]);
+ }
+ if (_json.containsKey("adwordsManagerAccount")) {
+ adwordsManagerAccount = _json["adwordsManagerAccount"];
+ }
+ if (_json.containsKey("channels")) {
+ channels = _json["channels"];
+ }
+ if (_json.containsKey("emailAddress")) {
+ emailAddress = _json["emailAddress"];
+ }
+ if (_json.containsKey("emailOptIns")) {
+ emailOptIns = new OptIns.fromJson(_json["emailOptIns"]);
+ }
+ if (_json.containsKey("familyName")) {
+ familyName = _json["familyName"];
+ }
+ if (_json.containsKey("givenName")) {
+ givenName = _json["givenName"];
+ }
+ if (_json.containsKey("industries")) {
+ industries = _json["industries"];
+ }
+ if (_json.containsKey("jobFunctions")) {
+ jobFunctions = _json["jobFunctions"];
+ }
+ if (_json.containsKey("languages")) {
+ languages = _json["languages"];
+ }
+ if (_json.containsKey("markets")) {
+ markets = _json["markets"];
+ }
+ if (_json.containsKey("phoneNumber")) {
+ phoneNumber = _json["phoneNumber"];
+ }
+ if (_json.containsKey("primaryCountryCode")) {
+ primaryCountryCode = _json["primaryCountryCode"];
+ }
+ if (_json.containsKey("profilePublic")) {
+ profilePublic = _json["profilePublic"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (address != null) {
+ _json["address"] = (address).toJson();
+ }
+ if (adwordsManagerAccount != null) {
+ _json["adwordsManagerAccount"] = adwordsManagerAccount;
+ }
+ if (channels != null) {
+ _json["channels"] = channels;
+ }
+ if (emailAddress != null) {
+ _json["emailAddress"] = emailAddress;
+ }
+ if (emailOptIns != null) {
+ _json["emailOptIns"] = (emailOptIns).toJson();
+ }
+ if (familyName != null) {
+ _json["familyName"] = familyName;
+ }
+ if (givenName != null) {
+ _json["givenName"] = givenName;
+ }
+ if (industries != null) {
+ _json["industries"] = industries;
+ }
+ if (jobFunctions != null) {
+ _json["jobFunctions"] = jobFunctions;
+ }
+ if (languages != null) {
+ _json["languages"] = languages;
+ }
+ if (markets != null) {
+ _json["markets"] = markets;
+ }
+ if (phoneNumber != null) {
+ _json["phoneNumber"] = phoneNumber;
+ }
+ if (primaryCountryCode != null) {
+ _json["primaryCountryCode"] = primaryCountryCode;
+ }
+ if (profilePublic != null) {
+ _json["profilePublic"] = profilePublic;
+ }
+ return _json;
+ }
+}
diff --git a/generated/googleapis/lib/people/v1.dart b/generated/googleapis/lib/people/v1.dart
index bdb1a52..1c81523 100644
--- a/generated/googleapis/lib/people/v1.dart
+++ b/generated/googleapis/lib/people/v1.dart
@@ -193,10 +193,6 @@
* `people/me` is valid.
* Value must have pattern "^people/[^/]+$".
*
- * [requestSyncToken] - Whether the response should include a sync token,
- * which can be used to get
- * all changes since the last request.
- *
* [pageToken] - The token of the page to be returned.
*
* [requestMask_includeField] - Comma-separated list of fields to be included
@@ -223,6 +219,10 @@
* - "FIRST_NAME_ASCENDING" : A FIRST_NAME_ASCENDING.
* - "LAST_NAME_ASCENDING" : A LAST_NAME_ASCENDING.
*
+ * [requestSyncToken] - Whether the response should include a sync token,
+ * which can be used to get
+ * all changes since the last request.
+ *
* Completes with a [ListConnectionsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -231,7 +231,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListConnectionsResponse> list(core.String resourceName, {core.bool requestSyncToken, core.String pageToken, core.String requestMask_includeField, core.int pageSize, core.String syncToken, core.String sortOrder}) {
+ async.Future<ListConnectionsResponse> list(core.String resourceName, {core.String pageToken, core.String requestMask_includeField, core.int pageSize, core.String syncToken, core.String sortOrder, core.bool requestSyncToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -242,9 +242,6 @@
if (resourceName == null) {
throw new core.ArgumentError("Parameter resourceName is required.");
}
- if (requestSyncToken != null) {
- _queryParams["requestSyncToken"] = ["${requestSyncToken}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -260,6 +257,9 @@
if (sortOrder != null) {
_queryParams["sortOrder"] = [sortOrder];
}
+ if (requestSyncToken != null) {
+ _queryParams["requestSyncToken"] = ["${requestSyncToken}"];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resourceName') + '/connections';
@@ -1070,6 +1070,8 @@
core.String nextPageToken;
/** The token that can be used to retrieve changes since the last request. */
core.String nextSyncToken;
+ /** The total number of people in the list without pagination. */
+ core.int totalPeople;
ListConnectionsResponse();
@@ -1083,6 +1085,9 @@
if (_json.containsKey("nextSyncToken")) {
nextSyncToken = _json["nextSyncToken"];
}
+ if (_json.containsKey("totalPeople")) {
+ totalPeople = _json["totalPeople"];
+ }
}
core.Map toJson() {
@@ -1096,6 +1101,9 @@
if (nextSyncToken != null) {
_json["nextSyncToken"] = nextSyncToken;
}
+ if (totalPeople != null) {
+ _json["totalPeople"] = totalPeople;
+ }
return _json;
}
}
diff --git a/generated/googleapis/lib/playmoviespartner/v1.dart b/generated/googleapis/lib/playmoviespartner/v1.dart
index b5f9190..f6568d4 100644
--- a/generated/googleapis/lib/playmoviespartner/v1.dart
+++ b/generated/googleapis/lib/playmoviespartner/v1.dart
@@ -93,41 +93,43 @@
}
/**
- * List Avails owned or managed by the partner. See _Authentication and
- * Authorization rules_ and _List methods rules_ for more information about
- * this method.
+ * List Avails owned or managed by the partner.
+ *
+ * See _Authentication and Authorization rules_ and
+ * _List methods rules_ for more information about this method.
*
* Request parameters:
*
* [accountId] - REQUIRED. See _General rules_ for more information about this
* field.
*
- * [pageSize] - See _List methods rules_ for info about this field.
- *
* [pageToken] - See _List methods rules_ for info about this field.
*
- * [pphNames] - See _List methods rules_ for info about this field.
- *
- * [studioNames] - See _List methods rules_ for info about this field.
- *
- * [title] - Filter that matches Avails with a `title_internal_alias`,
- * `series_title_internal_alias`, `season_title_internal_alias`, or
- * `episode_title_internal_alias` that contains the given case-insensitive
- * title.
- *
- * [territories] - Filter Avails that match (case-insensitive) any of the
- * given country codes, using the "ISO 3166-1 alpha-2" format (examples: "US",
- * "us", "Us").
- *
- * [altId] - Filter Avails that match a case-insensitive, partner-specific
- * custom id. NOTE: this field is deprecated and will be removed on V2;
- * `alt_ids` should be used instead.
- *
* [videoIds] - Filter Avails that match any of the given `video_id`s.
*
+ * [pageSize] - See _List methods rules_ for info about this field.
+ *
* [altIds] - Filter Avails that match (case-insensitive) any of the given
* partner-specific custom ids.
*
+ * [pphNames] - See _List methods rules_ for info about this field.
+ *
+ * [altId] - Filter Avails that match a case-insensitive, partner-specific
+ * custom id.
+ * NOTE: this field is deprecated and will be removed on V2; `alt_ids`
+ * should be used instead.
+ *
+ * [studioNames] - See _List methods rules_ for info about this field.
+ *
+ * [territories] - Filter Avails that match (case-insensitive) any of the
+ * given country codes,
+ * using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us").
+ *
+ * [title] - Filter that matches Avails with a `title_internal_alias`,
+ * `series_title_internal_alias`, `season_title_internal_alias`,
+ * or `episode_title_internal_alias` that contains the given
+ * case-insensitive title.
+ *
* Completes with a [ListAvailsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -136,7 +138,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListAvailsResponse> list(core.String accountId, {core.int pageSize, core.String pageToken, core.List<core.String> pphNames, core.List<core.String> studioNames, core.String title, core.List<core.String> territories, core.String altId, core.List<core.String> videoIds, core.List<core.String> altIds}) {
+ async.Future<ListAvailsResponse> list(core.String accountId, {core.String pageToken, core.List<core.String> videoIds, core.int pageSize, core.List<core.String> altIds, core.List<core.String> pphNames, core.String altId, core.List<core.String> studioNames, core.List<core.String> territories, core.String title}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -147,33 +149,33 @@
if (accountId == null) {
throw new core.ArgumentError("Parameter accountId is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (pphNames != null) {
- _queryParams["pphNames"] = pphNames;
- }
- if (studioNames != null) {
- _queryParams["studioNames"] = studioNames;
- }
- if (title != null) {
- _queryParams["title"] = [title];
- }
- if (territories != null) {
- _queryParams["territories"] = territories;
- }
- if (altId != null) {
- _queryParams["altId"] = [altId];
- }
if (videoIds != null) {
_queryParams["videoIds"] = videoIds;
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (altIds != null) {
_queryParams["altIds"] = altIds;
}
+ if (pphNames != null) {
+ _queryParams["pphNames"] = pphNames;
+ }
+ if (altId != null) {
+ _queryParams["altId"] = [altId];
+ }
+ if (studioNames != null) {
+ _queryParams["studioNames"] = studioNames;
+ }
+ if (territories != null) {
+ _queryParams["territories"] = territories;
+ }
+ if (title != null) {
+ _queryParams["title"] = [title];
+ }
_url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/avails';
@@ -197,7 +199,9 @@
_requester = client;
/**
- * Get an Order given its id. See _Authentication and Authorization rules_ and
+ * Get an Order given its id.
+ *
+ * See _Authentication and Authorization rules_ and
* _Get methods rules_ for more information about this method.
*
* Request parameters:
@@ -243,32 +247,34 @@
}
/**
- * List Orders owned or managed by the partner. See _Authentication and
- * Authorization rules_ and _List methods rules_ for more information about
- * this method.
+ * List Orders owned or managed by the partner.
+ *
+ * See _Authentication and Authorization rules_ and
+ * _List methods rules_ for more information about this method.
*
* Request parameters:
*
* [accountId] - REQUIRED. See _General rules_ for more information about this
* field.
*
- * [pageSize] - See _List methods rules_ for info about this field.
- *
- * [pageToken] - See _List methods rules_ for info about this field.
- *
- * [pphNames] - See _List methods rules_ for info about this field.
- *
- * [studioNames] - See _List methods rules_ for info about this field.
- *
- * [name] - Filter that matches Orders with a `name`, `show`, `season` or
- * `episode` that contains the given case-insensitive name.
- *
- * [status] - Filter Orders that match one of the given status.
+ * [videoIds] - Filter Orders that match any of the given `video_id`s.
*
* [customId] - Filter Orders that match a case-insensitive, partner-specific
* custom id.
*
- * [videoIds] - Filter Orders that match any of the given `video_id`s.
+ * [pageToken] - See _List methods rules_ for info about this field.
+ *
+ * [pageSize] - See _List methods rules_ for info about this field.
+ *
+ * [pphNames] - See _List methods rules_ for info about this field.
+ *
+ * [status] - Filter Orders that match one of the given status.
+ *
+ * [studioNames] - See _List methods rules_ for info about this field.
+ *
+ * [name] - Filter that matches Orders with a `name`, `show`, `season` or
+ * `episode`
+ * that contains the given case-insensitive name.
*
* Completes with a [ListOrdersResponse].
*
@@ -278,7 +284,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListOrdersResponse> list(core.String accountId, {core.int pageSize, core.String pageToken, core.List<core.String> pphNames, core.List<core.String> studioNames, core.String name, core.List<core.String> status, core.String customId, core.List<core.String> videoIds}) {
+ async.Future<ListOrdersResponse> list(core.String accountId, {core.List<core.String> videoIds, core.String customId, core.String pageToken, core.int pageSize, core.List<core.String> pphNames, core.List<core.String> status, core.List<core.String> studioNames, core.String name}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -289,30 +295,30 @@
if (accountId == null) {
throw new core.ArgumentError("Parameter accountId is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (videoIds != null) {
+ _queryParams["videoIds"] = videoIds;
+ }
+ if (customId != null) {
+ _queryParams["customId"] = [customId];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (pphNames != null) {
_queryParams["pphNames"] = pphNames;
}
+ if (status != null) {
+ _queryParams["status"] = status;
+ }
if (studioNames != null) {
_queryParams["studioNames"] = studioNames;
}
if (name != null) {
_queryParams["name"] = [name];
}
- if (status != null) {
- _queryParams["status"] = status;
- }
- if (customId != null) {
- _queryParams["customId"] = [customId];
- }
- if (videoIds != null) {
- _queryParams["videoIds"] = videoIds;
- }
_url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/orders';
@@ -338,39 +344,40 @@
_requester = client;
/**
- * List StoreInfos owned or managed by the partner. See _Authentication and
- * Authorization rules_ and _List methods rules_ for more information about
- * this method.
+ * List StoreInfos owned or managed by the partner.
+ *
+ * See _Authentication and Authorization rules_ and
+ * _List methods rules_ for more information about this method.
*
* Request parameters:
*
* [accountId] - REQUIRED. See _General rules_ for more information about this
* field.
*
- * [pageSize] - See _List methods rules_ for info about this field.
- *
- * [pageToken] - See _List methods rules_ for info about this field.
- *
- * [pphNames] - See _List methods rules_ for info about this field.
- *
* [studioNames] - See _List methods rules_ for info about this field.
*
- * [videoId] - Filter StoreInfos that match a given `video_id`. NOTE: this
- * field is deprecated and will be removed on V2; `video_ids` should be used
- * instead.
+ * [name] - Filter that matches StoreInfos with a `name` or `show_name`
+ * that contains the given case-insensitive name.
*
- * [countries] - Filter StoreInfos that match (case-insensitive) any of the
- * given country codes, using the "ISO 3166-1 alpha-2" format (examples: "US",
- * "us", "Us").
- *
- * [name] - Filter that matches StoreInfos with a `name` or `show_name` that
- * contains the given case-insensitive name.
+ * [seasonIds] - Filter StoreInfos that match any of the given `season_id`s.
*
* [videoIds] - Filter StoreInfos that match any of the given `video_id`s.
*
+ * [videoId] - Filter StoreInfos that match a given `video_id`.
+ * NOTE: this field is deprecated and will be removed on V2; `video_ids`
+ * should be used instead.
+ *
+ * [pageToken] - See _List methods rules_ for info about this field.
+ *
+ * [pageSize] - See _List methods rules_ for info about this field.
+ *
* [mids] - Filter StoreInfos that match any of the given `mid`s.
*
- * [seasonIds] - Filter StoreInfos that match any of the given `season_id`s.
+ * [pphNames] - See _List methods rules_ for info about this field.
+ *
+ * [countries] - Filter StoreInfos that match (case-insensitive) any of the
+ * given country
+ * codes, using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us").
*
* Completes with a [ListStoreInfosResponse].
*
@@ -380,7 +387,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListStoreInfosResponse> list(core.String accountId, {core.int pageSize, core.String pageToken, core.List<core.String> pphNames, core.List<core.String> studioNames, core.String videoId, core.List<core.String> countries, core.String name, core.List<core.String> videoIds, core.List<core.String> mids, core.List<core.String> seasonIds}) {
+ async.Future<ListStoreInfosResponse> list(core.String accountId, {core.List<core.String> studioNames, core.String name, core.List<core.String> seasonIds, core.List<core.String> videoIds, core.String videoId, core.String pageToken, core.int pageSize, core.List<core.String> mids, core.List<core.String> pphNames, core.List<core.String> countries}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -391,35 +398,35 @@
if (accountId == null) {
throw new core.ArgumentError("Parameter accountId is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (pphNames != null) {
- _queryParams["pphNames"] = pphNames;
- }
if (studioNames != null) {
_queryParams["studioNames"] = studioNames;
}
- if (videoId != null) {
- _queryParams["videoId"] = [videoId];
- }
- if (countries != null) {
- _queryParams["countries"] = countries;
- }
if (name != null) {
_queryParams["name"] = [name];
}
+ if (seasonIds != null) {
+ _queryParams["seasonIds"] = seasonIds;
+ }
if (videoIds != null) {
_queryParams["videoIds"] = videoIds;
}
+ if (videoId != null) {
+ _queryParams["videoId"] = [videoId];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (mids != null) {
_queryParams["mids"] = mids;
}
- if (seasonIds != null) {
- _queryParams["seasonIds"] = seasonIds;
+ if (pphNames != null) {
+ _queryParams["pphNames"] = pphNames;
+ }
+ if (countries != null) {
+ _queryParams["countries"] = countries;
}
_url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/storeInfos';
@@ -444,9 +451,10 @@
_requester = client;
/**
- * Get a StoreInfo given its video id and country. See _Authentication and
- * Authorization rules_ and _Get methods rules_ for more information about
- * this method.
+ * Get a StoreInfo given its video id and country.
+ *
+ * See _Authentication and Authorization rules_ and
+ * _Get methods rules_ for more information about this method.
*
* Request parameters:
*
@@ -502,190 +510,233 @@
/**
* An Avail describes the Availability Window of a specific Edit in a given
* country, which means the period Google is allowed to sell or rent the Edit.
+ *
* Avails are exposed in EMA format Version 1.6b (available at
- * http://www.movielabs.com/md/avails/) Studios can see the Avails for the
- * Titles they own. Post-production houses cannot see any Avails.
+ * http://www.movielabs.com/md/avails/)
+ *
+ * Studios can see the Avails for the Titles they own.
+ * Post-production houses cannot see any Avails.
*/
class Avail {
/**
- * Other identifier referring to the Edit, as defined by partner. Example:
- * "GOOGLER_2006"
+ * Other identifier referring to the Edit, as defined by partner.
+ * Example: "GOOGLER_2006"
*/
core.String altId;
/**
- * ID internally generated by Google to uniquely identify an Avail. Not part
- * of EMA Specs.
+ * ID internally generated by Google to uniquely identify an Avail.
+ * Not part of EMA Specs.
*/
core.String availId;
/**
- * Communicating an exempt category as defined by FCC regulations. It is not
- * required for non-US Avails. Example: "1"
+ * Communicating an exempt category as defined by FCC regulations.
+ * It is not required for non-US Avails.
+ * Example: "1"
*/
core.String captionExemption;
/** Communicating if caption file will be delivered. */
core.bool captionIncluded;
/**
- * Title Identifier. This should be the Title Level EIDR. Example:
- * "10.5240/1489-49A2-3956-4B2D-FE16-5".
+ * Title Identifier. This should be the Title Level EIDR.
+ * Example: "10.5240/1489-49A2-3956-4B2D-FE16-5".
*/
core.String contentId;
/**
- * The name of the studio that owns the Edit referred in the Avail. This is
- * the equivalent of `studio_name` in other resources, but it follows the EMA
- * nomenclature. Example: "Google Films".
+ * The name of the studio that owns the Edit referred in the Avail.
+ * This is the equivalent of `studio_name` in other resources, but it follows
+ * the EMA nomenclature.
+ * Example: "Google Films".
*/
core.String displayName;
/**
- * Manifestation Identifier. This should be the Manifestation Level EIDR.
+ * Manifestation Identifier. This should be the Manifestation
+ * Level EIDR.
* Example: "10.2340/1489-49A2-3956-4B2D-FE16-7"
*/
core.String encodeId;
/**
- * End of term in YYYY-MM-DD format in the timezone of the country of the
- * Avail. "Open" if no end date is available. Example: "2019-02-17"
+ * End of term in YYYY-MM-DD format in the timezone of the country
+ * of the Avail.
+ * "Open" if no end date is available.
+ * Example: "2019-02-17"
*/
core.String end;
/**
- * Other identifier referring to the episode, as defined by partner. Only
- * available on TV avails. Example: "rs_googlers_s1_3".
+ * Other identifier referring to the episode, as defined by partner.
+ * Only available on TV avails.
+ * Example: "rs_googlers_s1_3".
*/
core.String episodeAltId;
/**
- * The number assigned to the episode within a season. Only available on TV
- * Avails. Example: "3".
+ * The number assigned to the episode within a season.
+ * Only available on TV Avails.
+ * Example: "3".
*/
core.String episodeNumber;
/**
* OPTIONAL.TV Only. Title used by involved parties to refer to this episode.
- * Only available on TV Avails. Example: "Coding at Google".
+ * Only available on TV Avails.
+ * Example: "Coding at Google".
*/
core.String episodeTitleInternalAlias;
/**
* Indicates the format profile covered by the transaction.
* Possible string values are:
- * - "FORMAT_PROFILE_UNSPECIFIED" : A FORMAT_PROFILE_UNSPECIFIED.
- * - "SD" : A SD.
- * - "HD" : A HD.
- * - "UHD" : A UHD.
+ * - "FORMAT_PROFILE_UNSPECIFIED" : Value could not be determined, please
+ * contact technical support if
+ * it should.
+ * - "SD" : Standard-definition format.
+ * - "HD" : High-definition format.
+ * - "UHD" : 4K UHD.
*/
core.String formatProfile;
/**
* Type of transaction.
* Possible string values are:
- * - "LICENSE_TYPE_UNSPECIFIED" : A LICENSE_TYPE_UNSPECIFIED.
- * - "EST" : A EST.
- * - "VOD" : A VOD.
- * - "SVOD" : A SVOD.
- * - "POEST" : A POEST.
+ * - "LICENSE_TYPE_UNSPECIFIED" : Value could not be determined, please
+ * contact technical support if
+ * it should.
+ * - "EST" : Electronic Sell Through - purchase policy for unlimited viewing.
+ * - "VOD" : Video On Demand - rental policy for temporary viewing.
+ * - "SVOD" : Subscription Video On Demand - used for subscription platforms.
+ * Not supported on Google Play.
+ * - "POEST" : Pre-order Electronic Sell Through - pre-order purchase only
+ * window.
*/
core.String licenseType;
/**
- * Name of the post-production houses that manage the Avail. Not part of EMA
- * Specs.
+ * Name of the post-production houses that manage the Avail.
+ * Not part of EMA Specs.
*/
core.List<core.String> pphNames;
/**
- * Type of pricing that should be applied to this Avail based on how the
- * partner classify them. Example: "Tier", "WSP", "SRP", or "Category".
+ * Type of pricing that should be applied to this Avail
+ * based on how the partner classify them.
+ * Example: "Tier", "WSP", "SRP", or "Category".
*/
core.String priceType;
- /** Value to be applied to the pricing type. Example: "4" or "2.99" */
+ /**
+ * Value to be applied to the pricing type.
+ * Example: "4" or "2.99"
+ */
core.String priceValue;
/**
- * Edit Identifier. This should be the Edit Level EIDR. Example:
- * "10.2340/1489-49A2-3956-4B2D-FE16-6"
+ * Edit Identifier. This should be the Edit Level EIDR.
+ * Example: "10.2340/1489-49A2-3956-4B2D-FE16-6"
*/
core.String productId;
/**
- * Value representing the rating reason. Rating reasons should be formatted as
- * per [EMA ratings spec](http://www.movielabs.com/md/ratings/) and
- * comma-separated for inclusion of multiple reasons. Example: "L, S, V"
+ * Value representing the rating reason.
+ * Rating reasons should be formatted as per
+ * [EMA ratings spec](http://www.movielabs.com/md/ratings/)
+ * and comma-separated for inclusion of multiple reasons.
+ * Example: "L, S, V"
*/
core.String ratingReason;
/**
- * Rating system applied to the version of title within territory of Avail.
- * Rating systems should be formatted as per [EMA ratings
- * spec](http://www.movielabs.com/md/ratings/) Example: "MPAA"
+ * Rating system applied to the version of title within territory
+ * of Avail.
+ * Rating systems should be formatted as per
+ * [EMA ratings spec](http://www.movielabs.com/md/ratings/)
+ * Example: "MPAA"
*/
core.String ratingSystem;
/**
- * Value representing the rating. Ratings should be formatted as per
- * http://www.movielabs.com/md/ratings/ Example: "PG"
+ * Value representing the rating.
+ * Ratings should be formatted as per http://www.movielabs.com/md/ratings/
+ * Example: "PG"
*/
core.String ratingValue;
/**
- * Release date of the Title in earliest released territory. Typically it is
- * just the year, but it is free-form as per EMA spec. Examples: "1979", "Oct
- * 2014"
+ * Release date of the Title in earliest released territory.
+ * Typically it is just the year, but it is free-form as per EMA spec.
+ * Examples: "1979", "Oct 2014"
*/
core.String releaseDate;
/**
- * Other identifier referring to the season, as defined by partner. Only
- * available on TV avails. Example: "rs_googlers_s1".
+ * Other identifier referring to the season, as defined by partner.
+ * Only available on TV avails.
+ * Example: "rs_googlers_s1".
*/
core.String seasonAltId;
/**
- * The number assigned to the season within a series. Only available on TV
- * Avails. Example: "1".
+ * The number assigned to the season within a series.
+ * Only available on TV Avails.
+ * Example: "1".
*/
core.String seasonNumber;
/**
- * Title used by involved parties to refer to this season. Only available on
- * TV Avails. Example: "Googlers, The".
+ * Title used by involved parties to refer to this season.
+ * Only available on TV Avails.
+ * Example: "Googlers, The".
*/
core.String seasonTitleInternalAlias;
/**
- * Other identifier referring to the series, as defined by partner. Only
- * available on TV avails. Example: "rs_googlers".
+ * Other identifier referring to the series, as defined by partner.
+ * Only available on TV avails.
+ * Example: "rs_googlers".
*/
core.String seriesAltId;
/**
- * Title used by involved parties to refer to this series. Only available on
- * TV Avails. Example: "Googlers, The".
+ * Title used by involved parties to refer to this series.
+ * Only available on TV Avails.
+ * Example: "Googlers, The".
*/
core.String seriesTitleInternalAlias;
/**
- * Start of term in YYYY-MM-DD format in the timezone of the country of the
- * Avail. Example: "2013-05-14".
+ * Start of term in YYYY-MM-DD format in the timezone of the
+ * country of the Avail.
+ * Example: "2013-05-14".
*/
core.String start;
/**
- * Spoken language of the intended audience. Language shall be encoded in
- * accordance with RFC 5646. Example: "fr".
+ * Spoken language of the intended audience.
+ * Language shall be encoded in accordance with RFC 5646.
+ * Example: "fr".
*/
core.String storeLanguage;
/**
- * First date an Edit could be publically announced as becoming available at a
- * specific future date in territory of Avail. *Not* the Avail start date or
- * pre-order start date. Format is YYYY-MM-DD. Only available for pre-orders.
+ * First date an Edit could be publically announced as becoming
+ * available at a specific future date in territory of Avail.
+ * *Not* the Avail start date or pre-order start date.
+ * Format is YYYY-MM-DD.
+ * Only available for pre-orders.
* Example: "2012-12-10"
*/
core.String suppressionLiftDate;
/**
- * ISO 3166-1 alpha-2 country code for the country or territory of this Avail.
- * For Avails, we use Territory in lieu of Country to comply with EMA
- * specifications. But please note that Territory and Country identify the
- * same thing. Example: "US".
+ * ISO 3166-1 alpha-2 country code for the country or territory
+ * of this Avail.
+ * For Avails, we use Territory in lieu of Country to comply with
+ * EMA specifications.
+ * But please note that Territory and Country identify the same thing.
+ * Example: "US".
*/
core.String territory;
/**
- * Title used by involved parties to refer to this content. Example:
- * "Googlers, The". Only available on Movie Avails.
+ * Title used by involved parties to refer to this content.
+ * Example: "Googlers, The".
+ * Only available on Movie Avails.
*/
core.String titleInternalAlias;
/**
* Google-generated ID identifying the video linked to this Avail, once
- * delivered. Not part of EMA Specs. Example: 'gtry456_xc'
+ * delivered.
+ * Not part of EMA Specs.
+ * Example: 'gtry456_xc'
*/
core.String videoId;
/**
* Work type as enumerated in EMA.
* Possible string values are:
- * - "TITLE_TYPE_UNSPECIFIED" : A TITLE_TYPE_UNSPECIFIED.
- * - "MOVIE" : A MOVIE.
- * - "SEASON" : A SEASON.
- * - "EPISODE" : A EPISODE.
- * - "BUNDLE" : A BUNDLE.
+ * - "TITLE_TYPE_UNSPECIFIED" : Value could not be determined, please contact
+ * technical support if
+ * it should.
+ * - "MOVIE" : A movie picture.
+ * - "SEASON" : A season of a TV show.
+ * - "EPISODE" : An episode of a TV show.
+ * - "BUNDLE" : A collection of movies, i.e. "Googlers 1 and Googlers, the
+ * return"
*/
core.String workType;
@@ -1013,61 +1064,76 @@
}
/**
- * An Order tracks the fulfillment of an Edit when delivered using the legacy,
- * non-component-based delivery. Each Order is uniquely identified by an
- * `order_id`, which is generated by Google. Externally, Orders can also be
- * identified by partners using its `custom_id` (when provided).
+ * An Order tracks the fulfillment of an Edit when delivered using the
+ * legacy, non-component-based delivery.
+ *
+ * Each Order is uniquely identified by an `order_id`, which is generated
+ * by Google.
+ *
+ * Externally, Orders can also be identified by partners using its `custom_id`
+ * (when provided).
*/
class Order {
/** Timestamp when the Order was approved. */
core.String approvedTime;
/**
- * YouTube Channel ID that should be used to fulfill the Order. Example:
- * "UCRG64darCZhb".
+ * YouTube Channel ID that should be used to fulfill the Order.
+ * Example: "UCRG64darCZhb".
*/
core.String channelId;
/**
- * YouTube Channel Name that should be used to fulfill the Order. Example:
- * "Google_channel".
+ * YouTube Channel Name that should be used to fulfill the Order.
+ * Example: "Google_channel".
*/
core.String channelName;
/**
- * Countries where the Order is available, using the "ISO 3166-1 alpha-2"
- * format (example: "US").
+ * Countries where the Order is available,
+ * using the "ISO 3166-1 alpha-2" format (example: "US").
*/
core.List<core.String> countries;
/**
- * ID that can be used to externally identify an Order. This ID is provided by
- * partners when submitting the Avails. Example: 'GOOGLER_2006'
+ * ID that can be used to externally identify an Order.
+ * This ID is provided by partners when submitting the Avails.
+ * Example: 'GOOGLER_2006'
*/
core.String customId;
/**
- * Timestamp of the earliest start date of the Avails linked to this Order.
+ * Timestamp of the earliest start date of the Avails
+ * linked to this Order.
*/
core.String earliestAvailStartTime;
/**
- * Default Episode name, usually in the language of the country of origin.
- * Only available for TV Edits Example: "Googlers, The - Pilot".
+ * Default Episode name,
+ * usually in the language of the country of origin.
+ * Only available for TV Edits
+ * Example: "Googlers, The - Pilot".
*/
core.String episodeName;
- /** Legacy Order priority, as defined by Google. Example: 'P0' */
+ /**
+ * Legacy Order priority, as defined by Google.
+ * Example: 'P0'
+ */
core.String legacyPriority;
/**
- * Default Edit name, usually in the language of the country of origin.
+ * Default Edit name,
+ * usually in the language of the country of origin.
* Example: "Googlers, The".
*/
core.String name;
/**
* A simpler representation of the priority.
* Possible string values are:
- * - "NORMALIZED_PRIORITY_UNSPECIFIED" : A NORMALIZED_PRIORITY_UNSPECIFIED.
- * - "LOW_PRIORITY" : A LOW_PRIORITY.
- * - "HIGH_PRIORITY" : A HIGH_PRIORITY.
+ * - "NORMALIZED_PRIORITY_UNSPECIFIED" : Value could not be determined, please
+ * contact technical support if
+ * it should.
+ * - "LOW_PRIORITY" : A low-priority asset, typically from a library movie.
+ * - "HIGH_PRIORITY" : A high-priority asset, typically from a new release or
+ * box office hit.
*/
core.String normalizedPriority;
/**
- * ID internally generated by Google to uniquely identify an Order. Example:
- * 'abcde12_x'
+ * ID internally generated by Google to uniquely identify an Order.
+ * Example: 'abcde12_x'
*/
core.String orderId;
/** Timestamp when the Order was created. */
@@ -1075,50 +1141,66 @@
/** Name of the post-production house that manages the Edit ordered. */
core.String pphName;
/**
- * Order priority, as defined by Google. The higher the value, the higher the
- * priority. Example: 90
+ * Order priority, as defined by Google.
+ * The higher the value, the higher the priority.
+ * Example: 90
*/
core.double priority;
/** Timestamp when the Order was fulfilled. */
core.String receivedTime;
/**
- * Field explaining why an Order has been rejected. Example: "Trailer audio is
- * 2ch mono, please re-deliver in stereo".
+ * Field explaining why an Order has been rejected.
+ * Example: "Trailer audio is 2ch mono, please re-deliver in stereo".
*/
core.String rejectionNote;
/**
- * Default Season name, usually in the language of the country of origin. Only
- * available for TV Edits Example: "Googlers, The - A Brave New World".
+ * Default Season name,
+ * usually in the language of the country of origin.
+ * Only available for TV Edits
+ * Example: "Googlers, The - A Brave New World".
*/
core.String seasonName;
/**
- * Default Show name, usually in the language of the country of origin. Only
- * available for TV Edits Example: "Googlers, The".
+ * Default Show name,
+ * usually in the language of the country of origin.
+ * Only available for TV Edits
+ * Example: "Googlers, The".
*/
core.String showName;
/**
* High-level status of the order.
* Possible string values are:
- * - "STATUS_UNSPECIFIED" : A STATUS_UNSPECIFIED.
- * - "STATUS_APPROVED" : A STATUS_APPROVED.
- * - "STATUS_FAILED" : A STATUS_FAILED.
- * - "STATUS_PROCESSING" : A STATUS_PROCESSING.
- * - "STATUS_UNFULFILLED" : A STATUS_UNFULFILLED.
- * - "STATUS_NOT_AVAILABLE" : A STATUS_NOT_AVAILABLE.
+ * - "STATUS_UNSPECIFIED" : Value could not be determined, please contact
+ * technical support if
+ * it should.
+ * - "STATUS_APPROVED" : Approved by Google.
+ * - "STATUS_FAILED" : Waiting for partner to re-deliver the asset after a
+ * rejection by Google.
+ * - "STATUS_PROCESSING" : Waiting for Google to process the asset.
+ * - "STATUS_UNFULFILLED" : Waiting for partner to deliver the asset.
+ * - "STATUS_NOT_AVAILABLE" : Used when Status is not available (i.e: Orders
+ * for TV Seasons).
*/
core.String status;
/**
* Detailed status of the order
* Possible string values are:
- * - "ORDER_STATUS_UNSPECIFIED" : A ORDER_STATUS_UNSPECIFIED.
- * - "ORDER_STATUS_QC_APPROVED" : A ORDER_STATUS_QC_APPROVED.
- * - "ORDER_STATUS_QC_REJECTION" : A ORDER_STATUS_QC_REJECTION.
- * - "ORDER_STATUS_INTERNAL_FIX" : A ORDER_STATUS_INTERNAL_FIX.
- * - "ORDER_STATUS_OPEN_ORDER" : A ORDER_STATUS_OPEN_ORDER.
- * - "ORDER_STATUS_NOT_AVAILABLE" : A ORDER_STATUS_NOT_AVAILABLE.
- * - "ORDER_STATUS_AWAITING_REDELIVERY" : A ORDER_STATUS_AWAITING_REDELIVERY.
- * - "ORDER_STATUS_READY_FOR_QC" : A ORDER_STATUS_READY_FOR_QC.
- * - "ORDER_STATUS_FILE_PROCESSING" : A ORDER_STATUS_FILE_PROCESSING.
+ * - "ORDER_STATUS_UNSPECIFIED" : Value could not be determined, please
+ * contact technical support if
+ * it should.
+ * - "ORDER_STATUS_QC_APPROVED" : Approved by Google's Quality Control team.
+ * - "ORDER_STATUS_QC_REJECTION" : Rejected by Google's Quality Control team,
+ * pending partner redelivery.
+ * - "ORDER_STATUS_INTERNAL_FIX" : Internal error while processing the Order.
+ * - "ORDER_STATUS_OPEN_ORDER" : Waiting for initial delivery from partner.
+ * - "ORDER_STATUS_NOT_AVAILABLE" : Used on Orders that do not have Status,
+ * like TV Seasons.
+ * - "ORDER_STATUS_AWAITING_REDELIVERY" : Waiting for re-delivery from
+ * partner.
+ * - "ORDER_STATUS_READY_FOR_QC" : Asset was delivered by partner, but is
+ * being reviewed by Google's
+ * Quality Control team.
+ * - "ORDER_STATUS_FILE_PROCESSING" : Waiting for Google to process the asset.
*/
core.String statusDetail;
/** Name of the studio that owns the Edit ordered. */
@@ -1126,16 +1208,20 @@
/**
* Type of the Edit linked to the Order.
* Possible string values are:
- * - "TITLE_TYPE_UNSPECIFIED" : A TITLE_TYPE_UNSPECIFIED.
- * - "MOVIE" : A MOVIE.
- * - "SEASON" : A SEASON.
- * - "EPISODE" : A EPISODE.
- * - "BUNDLE" : A BUNDLE.
+ * - "TITLE_TYPE_UNSPECIFIED" : Value could not be determined, please contact
+ * technical support if
+ * it should.
+ * - "MOVIE" : A movie picture.
+ * - "SEASON" : A season of a TV show.
+ * - "EPISODE" : An episode of a TV show.
+ * - "BUNDLE" : A collection of movies, i.e. "Googlers 1 and Googlers, the
+ * return"
*/
core.String type;
/**
* Google-generated ID identifying the video linked to this Order, once
- * delivered. Example: 'gtry456_xc'.
+ * delivered.
+ * Example: 'gtry456_xc'.
*/
core.String videoId;
@@ -1289,25 +1375,33 @@
}
/**
- * Information about a playable sequence (video) associated with an Edit and
- * available at the Google Play Store. Internally, each StoreInfo is uniquely
- * identified by a `video_id` and `country`. Externally, Title-level EIDR or
- * Edit-level EIDR, if provided, can also be used to identify a specific title
- * or edit in a country.
+ * Information about a playable sequence (video) associated with an Edit
+ * and available at the Google Play Store.
+ *
+ * Internally, each StoreInfo is uniquely identified by a `video_id`
+ * and `country`.
+ *
+ * Externally, Title-level EIDR or Edit-level EIDR, if provided,
+ * can also be used to identify a specific title or edit in a country.
*/
class StoreInfo {
/** Audio tracks available for this Edit. */
core.List<core.String> audioTracks;
/**
- * Country where Edit is available in ISO 3166-1 alpha-2 country code.
+ * Country where Edit is available in ISO 3166-1 alpha-2 country
+ * code.
* Example: "US".
*/
core.String country;
- /** Edit-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-6". */
+ /**
+ * Edit-level EIDR ID.
+ * Example: "10.5240/1489-49A2-3956-4B2D-FE16-6".
+ */
core.String editLevelEidr;
/**
- * The number assigned to the episode within a season. Only available on TV
- * Edits. Example: "1".
+ * The number assigned to the episode within a season.
+ * Only available on TV Edits.
+ * Example: "1".
*/
core.String episodeNumber;
/** Whether the Edit has a 5.1 channel audio track. */
@@ -1325,68 +1419,84 @@
/** Timestamp when the Edit went live on the Store. */
core.String liveTime;
/**
- * Knowledge Graph ID associated to this Edit, if available. This ID links the
- * Edit to its knowledge entity, externally accessible at http://freebase.com.
+ * Knowledge Graph ID associated to this Edit, if available.
+ * This ID links the Edit to its knowledge entity, externally accessible
+ * at http://freebase.com.
* In the absense of Title EIDR or Edit EIDR, this ID helps link together
- * multiple Edits across countries. Example: '/m/0ffx29'
+ * multiple Edits across countries.
+ * Example: '/m/0ffx29'
*/
core.String mid;
/**
- * Default Edit name, usually in the language of the country of origin.
+ * Default Edit name, usually in the language of the country of
+ * origin.
* Example: "Googlers, The".
*/
core.String name;
/** Name of the post-production houses that manage the Edit. */
core.List<core.String> pphNames;
/**
- * Google-generated ID identifying the season linked to the Edit. Only
- * available for TV Edits. Example: 'ster23ex'
+ * Google-generated ID identifying the season linked to the Edit.
+ * Only available for TV Edits.
+ * Example: 'ster23ex'
*/
core.String seasonId;
/**
- * Default Season name, usually in the language of the country of origin. Only
- * available for TV Edits Example: "Googlers, The - A Brave New World".
+ * Default Season name, usually in the language of the country of
+ * origin.
+ * Only available for TV Edits
+ * Example: "Googlers, The - A Brave New World".
*/
core.String seasonName;
/**
- * The number assigned to the season within a show. Only available on TV
- * Edits. Example: "1".
+ * The number assigned to the season within a show.
+ * Only available on TV Edits.
+ * Example: "1".
*/
core.String seasonNumber;
/**
- * Google-generated ID identifying the show linked to the Edit. Only available
- * for TV Edits. Example: 'et2hsue_x'
+ * Google-generated ID identifying the show linked to the Edit.
+ * Only available for TV Edits.
+ * Example: 'et2hsue_x'
*/
core.String showId;
/**
- * Default Show name, usually in the language of the country of origin. Only
- * available for TV Edits Example: "Googlers, The".
+ * Default Show name, usually in the language of the country of
+ * origin.
+ * Only available for TV Edits
+ * Example: "Googlers, The".
*/
core.String showName;
/** Name of the studio that owns the Edit ordered. */
core.String studioName;
/** Subtitles available for this Edit. */
core.List<core.String> subtitles;
- /** Title-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-5". */
+ /**
+ * Title-level EIDR ID.
+ * Example: "10.5240/1489-49A2-3956-4B2D-FE16-5".
+ */
core.String titleLevelEidr;
/**
- * Google-generated ID identifying the trailer linked to the Edit. Example:
- * 'bhd_4e_cx'
+ * Google-generated ID identifying the trailer linked to the Edit.
+ * Example: 'bhd_4e_cx'
*/
core.String trailerId;
/**
* Edit type, like Movie, Episode or Season.
* Possible string values are:
- * - "TITLE_TYPE_UNSPECIFIED" : A TITLE_TYPE_UNSPECIFIED.
- * - "MOVIE" : A MOVIE.
- * - "SEASON" : A SEASON.
- * - "EPISODE" : A EPISODE.
- * - "BUNDLE" : A BUNDLE.
+ * - "TITLE_TYPE_UNSPECIFIED" : Value could not be determined, please contact
+ * technical support if
+ * it should.
+ * - "MOVIE" : A movie picture.
+ * - "SEASON" : A season of a TV show.
+ * - "EPISODE" : An episode of a TV show.
+ * - "BUNDLE" : A collection of movies, i.e. "Googlers 1 and Googlers, the
+ * return"
*/
core.String type;
/**
- * Google-generated ID identifying the video linked to the Edit. Example:
- * 'gtry456_xc'
+ * Google-generated ID identifying the video linked to the Edit.
+ * Example: 'gtry456_xc'
*/
core.String videoId;
diff --git a/generated/googleapis/lib/pubsub/v1.dart b/generated/googleapis/lib/pubsub/v1.dart
index cb89366..6748967 100644
--- a/generated/googleapis/lib/pubsub/v1.dart
+++ b/generated/googleapis/lib/pubsub/v1.dart
@@ -61,8 +61,7 @@
*
* [resource] - REQUIRED: The resource for which the policy is being
* requested.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/snapshots/[^/]+$".
*
* Completes with a [Policy].
@@ -107,8 +106,7 @@
*
* [resource] - REQUIRED: The resource for which the policy is being
* specified.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/snapshots/[^/]+$".
*
* Completes with a [Policy].
@@ -161,8 +159,7 @@
*
* [resource] - REQUIRED: The resource for which the policy detail is being
* requested.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/snapshots/[^/]+$".
*
* Completes with a [TestIamPermissionsResponse].
@@ -416,8 +413,7 @@
*
* [resource] - REQUIRED: The resource for which the policy is being
* requested.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/subscriptions/[^/]+$".
*
* Completes with a [Policy].
@@ -666,8 +662,7 @@
*
* [resource] - REQUIRED: The resource for which the policy is being
* specified.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/subscriptions/[^/]+$".
*
* Completes with a [Policy].
@@ -720,8 +715,7 @@
*
* [resource] - REQUIRED: The resource for which the policy detail is being
* requested.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/subscriptions/[^/]+$".
*
* Completes with a [TestIamPermissionsResponse].
@@ -915,8 +909,7 @@
*
* [resource] - REQUIRED: The resource for which the policy is being
* requested.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/topics/[^/]+$".
*
* Completes with a [Policy].
@@ -960,13 +953,13 @@
* Format is `projects/{project}`.
* Value must have pattern "^projects/[^/]+$".
*
- * [pageSize] - Maximum number of topics to return.
- *
* [pageToken] - The value returned by the last `ListTopicsResponse`;
* indicates that this is
* a continuation of a prior `ListTopics` call, and that the system should
* return the next page of data.
*
+ * [pageSize] - Maximum number of topics to return.
+ *
* Completes with a [ListTopicsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -975,7 +968,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListTopicsResponse> list(core.String project, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListTopicsResponse> list(core.String project, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -986,12 +979,12 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$project') + '/topics';
@@ -1063,8 +1056,7 @@
*
* [resource] - REQUIRED: The resource for which the policy is being
* specified.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/topics/[^/]+$".
*
* Completes with a [Policy].
@@ -1117,8 +1109,7 @@
*
* [resource] - REQUIRED: The resource for which the policy detail is being
* requested.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/topics/[^/]+$".
*
* Completes with a [TestIamPermissionsResponse].
@@ -1777,11 +1768,10 @@
* control different aspects of the message delivery.
*
* The currently supported attribute is `x-goog-version`, which you can
- * use to change the format of the push message. This attribute
+ * use to change the format of the pushed message. This attribute
* indicates the version of the data expected by the endpoint. This
- * controls the shape of the envelope (i.e. its fields and metadata).
- * The endpoint version is based on the version of the Pub/Sub
- * API.
+ * controls the shape of the pushed message (i.e., its fields and metadata).
+ * The endpoint version is based on the version of the Pub/Sub API.
*
* If not present during the `CreateSubscription` call, it will default to
* the version of the API used to make such call. If not present during a
diff --git a/generated/googleapis/lib/reseller/v1.dart b/generated/googleapis/lib/reseller/v1.dart
index 62eb605..0676830 100644
--- a/generated/googleapis/lib/reseller/v1.dart
+++ b/generated/googleapis/lib/reseller/v1.dart
@@ -1678,6 +1678,13 @@
* SKUs available in this version of the API, see Product and SKU IDs.
*/
core.String skuId;
+ /**
+ * Read-only external display name for a product's SKU assigned to a customer
+ * in the subscription. SKU names are subject to change at Google's
+ * discretion. For products and SKUs available in this version of the API, see
+ * Product and SKU IDs.
+ */
+ core.String skuName;
/** This is an optional property. */
core.String status;
/**
@@ -1755,6 +1762,9 @@
if (_json.containsKey("skuId")) {
skuId = _json["skuId"];
}
+ if (_json.containsKey("skuName")) {
+ skuName = _json["skuName"];
+ }
if (_json.containsKey("status")) {
status = _json["status"];
}
@@ -1810,6 +1820,9 @@
if (skuId != null) {
_json["skuId"] = skuId;
}
+ if (skuName != null) {
+ _json["skuName"] = skuName;
+ }
if (status != null) {
_json["status"] = status;
}
diff --git a/generated/googleapis/lib/safebrowsing/v4.dart b/generated/googleapis/lib/safebrowsing/v4.dart
index a19c983..12f0c11 100644
--- a/generated/googleapis/lib/safebrowsing/v4.dart
+++ b/generated/googleapis/lib/safebrowsing/v4.dart
@@ -15,13 +15,17 @@
const core.String USER_AGENT = 'dart-api-client safebrowsing/v4';
/**
- * Enables client applications to check web resources (most commonly URLs)
- * against Google-generated lists of unsafe web resources.
+ * The Safe Browsing API is an experimental API that allows client applications
+ * to check URLs against Google's constantly-updated blacklists of suspected
+ * phishing and malware pages. Your client application can use the API to
+ * download an encrypted table for local, client-side lookups of URLs.
*/
class SafebrowsingApi {
final commons.ApiRequester _requester;
+ EncodedFullHashesResourceApi get encodedFullHashes => new EncodedFullHashesResourceApi(_requester);
+ EncodedUpdatesResourceApi get encodedUpdates => new EncodedUpdatesResourceApi(_requester);
FullHashesResourceApi get fullHashes => new FullHashesResourceApi(_requester);
ThreatListUpdatesResourceApi get threatListUpdates => new ThreatListUpdatesResourceApi(_requester);
ThreatListsResourceApi get threatLists => new ThreatListsResourceApi(_requester);
@@ -32,6 +36,122 @@
}
+class EncodedFullHashesResourceApi {
+ final commons.ApiRequester _requester;
+
+ EncodedFullHashesResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Request parameters:
+ *
+ * [encodedRequest] - A serialized FindFullHashesRequest proto.
+ *
+ * [clientId] - A client ID that (hopefully) uniquely identifies the client
+ * implementation
+ * of the Safe Browsing API.
+ *
+ * [clientVersion] - The version of the client implementation.
+ *
+ * Completes with a [FindFullHashesResponse].
+ *
+ * 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<FindFullHashesResponse> get(core.String encodedRequest, {core.String clientId, core.String clientVersion}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (encodedRequest == null) {
+ throw new core.ArgumentError("Parameter encodedRequest is required.");
+ }
+ if (clientId != null) {
+ _queryParams["clientId"] = [clientId];
+ }
+ if (clientVersion != null) {
+ _queryParams["clientVersion"] = [clientVersion];
+ }
+
+ _url = 'v4/encodedFullHashes/' + commons.Escaper.ecapeVariable('$encodedRequest');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new FindFullHashesResponse.fromJson(data));
+ }
+
+}
+
+
+class EncodedUpdatesResourceApi {
+ final commons.ApiRequester _requester;
+
+ EncodedUpdatesResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Request parameters:
+ *
+ * [encodedRequest] - A serialized FetchThreatListUpdatesRequest proto.
+ *
+ * [clientVersion] - The version of the client implementation.
+ *
+ * [clientId] - A client ID that uniquely identifies the client implementation
+ * of the Safe
+ * Browsing API.
+ *
+ * Completes with a [FetchThreatListUpdatesResponse].
+ *
+ * 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<FetchThreatListUpdatesResponse> get(core.String encodedRequest, {core.String clientVersion, core.String clientId}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (encodedRequest == null) {
+ throw new core.ArgumentError("Parameter encodedRequest is required.");
+ }
+ if (clientVersion != null) {
+ _queryParams["clientVersion"] = [clientVersion];
+ }
+ if (clientId != null) {
+ _queryParams["clientId"] = [clientId];
+ }
+
+ _url = 'v4/encodedUpdates/' + commons.Escaper.ecapeVariable('$encodedRequest');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new FetchThreatListUpdatesResponse.fromJson(data));
+ }
+
+}
+
+
class FullHashesResourceApi {
final commons.ApiRequester _requester;
@@ -289,21 +409,21 @@
/** The constraints for this update. */
class Constraints {
/**
- * Sets the maximum number of entries that the client is willing to have in
- * the local database. This should be a power of 2 between 2**10 and 2**20. If
- * zero, no database size limit is set.
+ * Sets the maximum number of entries that the client is willing to have
+ * in the local database. This should be a power of 2 between 2**10 and
+ * 2**20. If zero, no database size limit is set.
*/
core.int maxDatabaseEntries;
/**
* The maximum size in number of entries. The update will not contain more
- * entries than this value. This should be a power of 2 between 2**10 and
- * 2**20. If zero, no update size limit is set.
+ * entries than this value. This should be a power of 2 between 2**10 and
+ * 2**20. If zero, no update size limit is set.
*/
core.int maxUpdateEntries;
/**
- * Requests the list for a specific geographic location. If not set the server
- * may pick that value based on the user's IP address. Expects ISO 3166-1
- * alpha-2 format.
+ * Requests the list for a specific geographic location. If not set the
+ * server may pick that value based on the user's IP address. Expects ISO
+ * 3166-1 alpha-2 format.
*/
core.String region;
/** The compression types supported by the client. */
@@ -346,7 +466,9 @@
/**
* Describes a Safe Browsing API update request. Clients can request updates for
- * multiple lists in a single request. NOTE: Field index 2 is unused. NEXT: 4
+ * multiple lists in a single request.
+ * NOTE: Field index 2 is unused.
+ * NEXT: 5
*/
class FetchThreatListUpdatesRequest {
/** The client metadata. */
@@ -411,6 +533,11 @@
/** Request to return full hashes matched by the provided hash prefixes. */
class FindFullHashesRequest {
+ /**
+ * Client metadata associated with callers of higher-level APIs built on top
+ * of the client's implementation.
+ */
+ ClientInfo apiClient;
/** The client metadata. */
ClientInfo client;
/** The current client states for each of the client's local threat lists. */
@@ -421,6 +548,9 @@
FindFullHashesRequest();
FindFullHashesRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("apiClient")) {
+ apiClient = new ClientInfo.fromJson(_json["apiClient"]);
+ }
if (_json.containsKey("client")) {
client = new ClientInfo.fromJson(_json["client"]);
}
@@ -434,6 +564,9 @@
core.Map toJson() {
var _json = new core.Map();
+ if (apiClient != null) {
+ _json["apiClient"] = (apiClient).toJson();
+ }
if (client != null) {
_json["client"] = (client).toJson();
}
@@ -570,15 +703,15 @@
/**
* The type of platform at risk by entries present in the list.
* Possible string values are:
- * - "PLATFORM_TYPE_UNSPECIFIED" : A PLATFORM_TYPE_UNSPECIFIED.
- * - "WINDOWS" : A WINDOWS.
- * - "LINUX" : A LINUX.
- * - "ANDROID" : A ANDROID.
- * - "OSX" : A OSX.
- * - "IOS" : A IOS.
- * - "ANY_PLATFORM" : A ANY_PLATFORM.
- * - "ALL_PLATFORMS" : A ALL_PLATFORMS.
- * - "CHROME" : A CHROME.
+ * - "PLATFORM_TYPE_UNSPECIFIED" : Unknown platform.
+ * - "WINDOWS" : Threat posed to Windows.
+ * - "LINUX" : Threat posed to Linux.
+ * - "ANDROID" : Threat posed to Android.
+ * - "OSX" : Threat posed to OS X.
+ * - "IOS" : Threat posed to iOS.
+ * - "ANY_PLATFORM" : Threat posed to at least one of the defined platforms.
+ * - "ALL_PLATFORMS" : Threat posed to all defined platforms.
+ * - "CHROME" : Threat posed to Chrome.
*/
core.String platformType;
/**
@@ -596,20 +729,24 @@
/**
* The types of entries present in the list.
* Possible string values are:
- * - "THREAT_ENTRY_TYPE_UNSPECIFIED" : A THREAT_ENTRY_TYPE_UNSPECIFIED.
+ * - "THREAT_ENTRY_TYPE_UNSPECIFIED" : Unspecified.
* - "URL" : A URL.
- * - "EXECUTABLE" : A EXECUTABLE.
- * - "IP_RANGE" : A IP_RANGE.
+ * - "EXECUTABLE" : An executable program.
+ * - "IP_RANGE" : An IP range.
+ * - "CHROME_EXTENSION" : Chrome extension.
+ * - "FILENAME" : Filename.
+ * - "CERT" : CERT
*/
core.String threatEntryType;
/**
* The type of threat posed by entries present in the list.
* Possible string values are:
- * - "THREAT_TYPE_UNSPECIFIED" : A THREAT_TYPE_UNSPECIFIED.
- * - "MALWARE" : A MALWARE.
- * - "SOCIAL_ENGINEERING" : A SOCIAL_ENGINEERING.
- * - "UNWANTED_SOFTWARE" : A UNWANTED_SOFTWARE.
- * - "POTENTIALLY_HARMFUL_APPLICATION" : A POTENTIALLY_HARMFUL_APPLICATION.
+ * - "THREAT_TYPE_UNSPECIFIED" : Unknown.
+ * - "MALWARE" : Malware threat type.
+ * - "SOCIAL_ENGINEERING" : Social engineering threat type.
+ * - "UNWANTED_SOFTWARE" : Unwanted software threat type.
+ * - "POTENTIALLY_HARMFUL_APPLICATION" : Potentially harmful application
+ * threat type.
*/
core.String threatType;
@@ -681,48 +818,56 @@
/**
* The platform type for which data is returned.
* Possible string values are:
- * - "PLATFORM_TYPE_UNSPECIFIED" : A PLATFORM_TYPE_UNSPECIFIED.
- * - "WINDOWS" : A WINDOWS.
- * - "LINUX" : A LINUX.
- * - "ANDROID" : A ANDROID.
- * - "OSX" : A OSX.
- * - "IOS" : A IOS.
- * - "ANY_PLATFORM" : A ANY_PLATFORM.
- * - "ALL_PLATFORMS" : A ALL_PLATFORMS.
- * - "CHROME" : A CHROME.
+ * - "PLATFORM_TYPE_UNSPECIFIED" : Unknown platform.
+ * - "WINDOWS" : Threat posed to Windows.
+ * - "LINUX" : Threat posed to Linux.
+ * - "ANDROID" : Threat posed to Android.
+ * - "OSX" : Threat posed to OS X.
+ * - "IOS" : Threat posed to iOS.
+ * - "ANY_PLATFORM" : Threat posed to at least one of the defined platforms.
+ * - "ALL_PLATFORMS" : Threat posed to all defined platforms.
+ * - "CHROME" : Threat posed to Chrome.
*/
core.String platformType;
/**
- * A set of entries to remove from a local threat type's list. Repeated for
- * the same reason as above.
+ * A set of entries to remove from a local threat type's list. In practice,
+ * this field is empty or contains exactly one ThreatEntrySet.
*/
core.List<ThreatEntrySet> removals;
/**
* The type of response. This may indicate that an action is required by the
* client when the response is received.
* Possible string values are:
- * - "RESPONSE_TYPE_UNSPECIFIED" : A RESPONSE_TYPE_UNSPECIFIED.
- * - "PARTIAL_UPDATE" : A PARTIAL_UPDATE.
- * - "FULL_UPDATE" : A FULL_UPDATE.
+ * - "RESPONSE_TYPE_UNSPECIFIED" : Unknown.
+ * - "PARTIAL_UPDATE" : Partial updates are applied to the client's existing
+ * local database.
+ * - "FULL_UPDATE" : Full updates replace the client's entire local database.
+ * This means
+ * that either the client was seriously out-of-date or the client is
+ * believed to be corrupt.
*/
core.String responseType;
/**
* The format of the threats.
* Possible string values are:
- * - "THREAT_ENTRY_TYPE_UNSPECIFIED" : A THREAT_ENTRY_TYPE_UNSPECIFIED.
+ * - "THREAT_ENTRY_TYPE_UNSPECIFIED" : Unspecified.
* - "URL" : A URL.
- * - "EXECUTABLE" : A EXECUTABLE.
- * - "IP_RANGE" : A IP_RANGE.
+ * - "EXECUTABLE" : An executable program.
+ * - "IP_RANGE" : An IP range.
+ * - "CHROME_EXTENSION" : Chrome extension.
+ * - "FILENAME" : Filename.
+ * - "CERT" : CERT
*/
core.String threatEntryType;
/**
* The threat type for which data is returned.
* Possible string values are:
- * - "THREAT_TYPE_UNSPECIFIED" : A THREAT_TYPE_UNSPECIFIED.
- * - "MALWARE" : A MALWARE.
- * - "SOCIAL_ENGINEERING" : A SOCIAL_ENGINEERING.
- * - "UNWANTED_SOFTWARE" : A UNWANTED_SOFTWARE.
- * - "POTENTIALLY_HARMFUL_APPLICATION" : A POTENTIALLY_HARMFUL_APPLICATION.
+ * - "THREAT_TYPE_UNSPECIFIED" : Unknown.
+ * - "MALWARE" : Malware threat type.
+ * - "SOCIAL_ENGINEERING" : Social engineering threat type.
+ * - "UNWANTED_SOFTWARE" : Unwanted software threat type.
+ * - "POTENTIALLY_HARMFUL_APPLICATION" : Potentially harmful application
+ * threat type.
*/
core.String threatType;
@@ -787,7 +932,7 @@
/** A single metadata entry. */
class MetadataEntry {
- /** The metadata entry key. */
+ /** The metadata entry key. For JSON requests, the key is base64-encoded. */
core.String key;
core.List<core.int> get keyAsBytes {
return convert.BASE64.decode(key);
@@ -796,7 +941,9 @@
void set keyAsBytes(core.List<core.int> _bytes) {
key = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
}
- /** The metadata entry value. */
+ /**
+ * The metadata entry value. For JSON requests, the value is base64-encoded.
+ */
core.String value;
core.List<core.int> get valueAsBytes {
return convert.BASE64.decode(value);
@@ -833,19 +980,21 @@
* The uncompressed threat entries in hash format of a particular prefix length.
* Hashes can be anywhere from 4 to 32 bytes in size. A large majority are 4
* bytes, but some hashes are lengthened if they collide with the hash of a
- * popular URL. Used for sending ThreatEntrySet to clients that do not support
- * compression, or when sending non-4-byte hashes to clients that do support
- * compression.
+ * popular URL.
+ *
+ * Used for sending ThreatEntrySet to clients that do not support compression,
+ * or when sending non-4-byte hashes to clients that do support compression.
*/
class RawHashes {
/**
- * The number of bytes for each prefix encoded below. This field can be
+ * The number of bytes for each prefix encoded below. This field can be
* anywhere from 4 (shortest prefix) to 32 (full SHA256 hash).
*/
core.int prefixSize;
/**
- * The hashes, all concatenated into one long string. Each hash has a prefix
- * size of |prefix_size| above. Hashes are sorted in lexicographic order.
+ * The hashes, in binary format, concatenated into one long string. Hashes are
+ * sorted in lexicographic order. For JSON API users, hashes are
+ * base64-encoded.
*/
core.String rawHashes;
core.List<core.int> get rawHashesAsBytes {
@@ -973,8 +1122,8 @@
*/
class ThreatEntry {
/**
- * The digest of an executable in SHA256 format. The API supports both binary
- * and hex digests.
+ * The digest of an executable in SHA256 format. The API supports both
+ * binary and hex digests. For JSON requests, digests are base64-encoded.
*/
core.String digest;
core.List<core.int> get digestAsBytes {
@@ -986,7 +1135,8 @@
}
/**
* A hash prefix, consisting of the most significant 4-32 bytes of a SHA256
- * hash. This field is in binary format.
+ * hash. This field is in binary format. For JSON requests, hashes are
+ * base64-encoded.
*/
core.String hash;
core.List<core.int> get hashAsBytes {
@@ -1061,9 +1211,9 @@
/**
* The compression type for the entries in this set.
* Possible string values are:
- * - "COMPRESSION_TYPE_UNSPECIFIED" : A COMPRESSION_TYPE_UNSPECIFIED.
- * - "RAW" : A RAW.
- * - "RICE" : A RICE.
+ * - "COMPRESSION_TYPE_UNSPECIFIED" : Unknown.
+ * - "RAW" : Raw, uncompressed data.
+ * - "RICE" : Rice-Golomb encoded data.
*/
core.String compressionType;
/** The raw SHA256-formatted entries. */
@@ -1072,12 +1222,15 @@
RawIndices rawIndices;
/**
* The encoded 4-byte prefixes of SHA256-formatted entries, using a
- * Golomb-Rice encoding.
+ * Golomb-Rice encoding. The hashes are converted to uint32, sorted in
+ * ascending order, then delta encoded and stored as encoded_data.
*/
RiceDeltaEncoding riceHashes;
/**
* The encoded local, lexicographically-sorted list indices, using a
- * Golomb-Rice encoding. Used for sending compressed removal indices.
+ * Golomb-Rice encoding. Used for sending compressed removal indices. The
+ * removal indices (uint32) are sorted in ascending order, then delta encoded
+ * and stored as encoded_data.
*/
RiceDeltaEncoding riceIndices;
@@ -1180,34 +1333,38 @@
/**
* The platform type targeted by the list's entries.
* Possible string values are:
- * - "PLATFORM_TYPE_UNSPECIFIED" : A PLATFORM_TYPE_UNSPECIFIED.
- * - "WINDOWS" : A WINDOWS.
- * - "LINUX" : A LINUX.
- * - "ANDROID" : A ANDROID.
- * - "OSX" : A OSX.
- * - "IOS" : A IOS.
- * - "ANY_PLATFORM" : A ANY_PLATFORM.
- * - "ALL_PLATFORMS" : A ALL_PLATFORMS.
- * - "CHROME" : A CHROME.
+ * - "PLATFORM_TYPE_UNSPECIFIED" : Unknown platform.
+ * - "WINDOWS" : Threat posed to Windows.
+ * - "LINUX" : Threat posed to Linux.
+ * - "ANDROID" : Threat posed to Android.
+ * - "OSX" : Threat posed to OS X.
+ * - "IOS" : Threat posed to iOS.
+ * - "ANY_PLATFORM" : Threat posed to at least one of the defined platforms.
+ * - "ALL_PLATFORMS" : Threat posed to all defined platforms.
+ * - "CHROME" : Threat posed to Chrome.
*/
core.String platformType;
/**
* The entry types contained in the list.
* Possible string values are:
- * - "THREAT_ENTRY_TYPE_UNSPECIFIED" : A THREAT_ENTRY_TYPE_UNSPECIFIED.
+ * - "THREAT_ENTRY_TYPE_UNSPECIFIED" : Unspecified.
* - "URL" : A URL.
- * - "EXECUTABLE" : A EXECUTABLE.
- * - "IP_RANGE" : A IP_RANGE.
+ * - "EXECUTABLE" : An executable program.
+ * - "IP_RANGE" : An IP range.
+ * - "CHROME_EXTENSION" : Chrome extension.
+ * - "FILENAME" : Filename.
+ * - "CERT" : CERT
*/
core.String threatEntryType;
/**
* The threat type posed by the list's entries.
* Possible string values are:
- * - "THREAT_TYPE_UNSPECIFIED" : A THREAT_TYPE_UNSPECIFIED.
- * - "MALWARE" : A MALWARE.
- * - "SOCIAL_ENGINEERING" : A SOCIAL_ENGINEERING.
- * - "UNWANTED_SOFTWARE" : A UNWANTED_SOFTWARE.
- * - "POTENTIALLY_HARMFUL_APPLICATION" : A POTENTIALLY_HARMFUL_APPLICATION.
+ * - "THREAT_TYPE_UNSPECIFIED" : Unknown.
+ * - "MALWARE" : Malware threat type.
+ * - "SOCIAL_ENGINEERING" : Social engineering threat type.
+ * - "UNWANTED_SOFTWARE" : Unwanted software threat type.
+ * - "POTENTIALLY_HARMFUL_APPLICATION" : Potentially harmful application
+ * threat type.
*/
core.String threatType;
@@ -1250,15 +1407,15 @@
/**
* The platform type matching this threat.
* Possible string values are:
- * - "PLATFORM_TYPE_UNSPECIFIED" : A PLATFORM_TYPE_UNSPECIFIED.
- * - "WINDOWS" : A WINDOWS.
- * - "LINUX" : A LINUX.
- * - "ANDROID" : A ANDROID.
- * - "OSX" : A OSX.
- * - "IOS" : A IOS.
- * - "ANY_PLATFORM" : A ANY_PLATFORM.
- * - "ALL_PLATFORMS" : A ALL_PLATFORMS.
- * - "CHROME" : A CHROME.
+ * - "PLATFORM_TYPE_UNSPECIFIED" : Unknown platform.
+ * - "WINDOWS" : Threat posed to Windows.
+ * - "LINUX" : Threat posed to Linux.
+ * - "ANDROID" : Threat posed to Android.
+ * - "OSX" : Threat posed to OS X.
+ * - "IOS" : Threat posed to iOS.
+ * - "ANY_PLATFORM" : Threat posed to at least one of the defined platforms.
+ * - "ALL_PLATFORMS" : Threat posed to all defined platforms.
+ * - "CHROME" : Threat posed to Chrome.
*/
core.String platformType;
/** The threat matching this threat. */
@@ -1268,20 +1425,24 @@
/**
* The threat entry type matching this threat.
* Possible string values are:
- * - "THREAT_ENTRY_TYPE_UNSPECIFIED" : A THREAT_ENTRY_TYPE_UNSPECIFIED.
+ * - "THREAT_ENTRY_TYPE_UNSPECIFIED" : Unspecified.
* - "URL" : A URL.
- * - "EXECUTABLE" : A EXECUTABLE.
- * - "IP_RANGE" : A IP_RANGE.
+ * - "EXECUTABLE" : An executable program.
+ * - "IP_RANGE" : An IP range.
+ * - "CHROME_EXTENSION" : Chrome extension.
+ * - "FILENAME" : Filename.
+ * - "CERT" : CERT
*/
core.String threatEntryType;
/**
* The threat type matching this threat.
* Possible string values are:
- * - "THREAT_TYPE_UNSPECIFIED" : A THREAT_TYPE_UNSPECIFIED.
- * - "MALWARE" : A MALWARE.
- * - "SOCIAL_ENGINEERING" : A SOCIAL_ENGINEERING.
- * - "UNWANTED_SOFTWARE" : A UNWANTED_SOFTWARE.
- * - "POTENTIALLY_HARMFUL_APPLICATION" : A POTENTIALLY_HARMFUL_APPLICATION.
+ * - "THREAT_TYPE_UNSPECIFIED" : Unknown.
+ * - "MALWARE" : Malware threat type.
+ * - "SOCIAL_ENGINEERING" : Social engineering threat type.
+ * - "UNWANTED_SOFTWARE" : Unwanted software threat type.
+ * - "POTENTIALLY_HARMFUL_APPLICATION" : Potentially harmful application
+ * threat type.
*/
core.String threatType;
diff --git a/generated/googleapis/lib/script/v1.dart b/generated/googleapis/lib/script/v1.dart
index d6b82f5..8547092 100644
--- a/generated/googleapis/lib/script/v1.dart
+++ b/generated/googleapis/lib/script/v1.dart
@@ -16,7 +16,7 @@
/** Executes Google Apps Script projects. */
class ScriptApi {
- /** View and manage your mail */
+ /** Read, send, delete, and manage your email */
static const MailGoogleComScope = "https://mail.google.com/";
/** Manage your calendars */
diff --git a/generated/googleapis/lib/servicecontrol/v1.dart b/generated/googleapis/lib/servicecontrol/v1.dart
index 38fced2..c5befca 100644
--- a/generated/googleapis/lib/servicecontrol/v1.dart
+++ b/generated/googleapis/lib/servicecontrol/v1.dart
@@ -49,6 +49,16 @@
* permission on the specified service. For more information, see
* [Google Cloud IAM](https://cloud.google.com/iam).
*
+ * **NOTE:** the client code **must** fail-open if the server returns one
+ * of the following quota errors:
+ * - `PROJECT_STATUS_UNAVAILABLE`
+ * - `SERVICE_STATUS_UNAVAILABLE`
+ * - `BILLING_STATUS_UNAVAILABLE`
+ * - `QUOTA_SYSTEM_UNAVAILABLE`
+ *
+ * The server may inject above errors to prohibit any hard dependency
+ * on the quota system.
+ *
* [request] - The metadata request object.
*
* Request parameters:
@@ -214,6 +224,16 @@
* permission on the specified service. For more information, see
* [Google Cloud IAM](https://cloud.google.com/iam).
*
+ * **NOTE:** the client code **must** fail-open if the server returns one
+ * of the following quota errors:
+ * - `PROJECT_STATUS_UNAVAILABLE`
+ * - `SERVICE_STATUS_UNAVAILABLE`
+ * - `BILLING_STATUS_UNAVAILABLE`
+ * - `QUOTA_SYSTEM_UNAVAILABLE`
+ *
+ * The server may inject above errors to prohibit any hard dependency
+ * on the quota system.
+ *
* [request] - The metadata request object.
*
* Request parameters:
@@ -480,6 +500,10 @@
* 3. For both rate quota and allocation quota, the quota limit reached
* condition will be specified using the following boolean metric:
* "serviceruntime.googleapis.com/quota/exceeded"
+ *
+ * 4. For allocation quota, value for each quota limit associated with
+ * the metrics will be specified using the following gauge metric:
+ * "serviceruntime.googleapis.com/quota/limit"
*/
core.List<MetricValueSet> quotaMetrics;
/** ID of the actual config used to process the request. */
@@ -1150,6 +1174,25 @@
core.String operationId;
/**
* Metric values as tracked by One Platform before the adjustment was made.
+ * The following metrics will be included:
+ *
+ * 1. Per quota metric total usage will be specified using the following gauge
+ * metric:
+ * "serviceruntime.googleapis.com/allocation/consumer/quota_used_count"
+ *
+ * 2. Value for each quota limit associated with the metrics will be specified
+ * using the following gauge metric:
+ * "serviceruntime.googleapis.com/quota/limit"
+ *
+ * 3. Delta value of the usage after the reconciliation for limits associated
+ * with the metrics will be specified using the following metric:
+ * "serviceruntime.googleapis.com/allocation/reconciliation_delta"
+ * The delta value is defined as:
+ * new_usage_from_client - existing_value_in_spanner.
+ * This metric is not defined in serviceruntime.yaml or in Cloud Monarch.
+ * This metric is meant for callers' use only. Since this metric is not
+ * defined in the monitoring backend, reporting on this metric will result in
+ * an error.
*/
core.List<MetricValueSet> quotaMetrics;
/** Indicates the decision of the reconciliation end. */
@@ -1848,7 +1891,7 @@
* - "SPATULA_HEADER_INVALID" : Consumer's spatula header is invalid.
* - "LOAS_ROLE_INVALID" : The consumer's LOAS role is invalid.
* - "NO_LOAS_PROJECT" : The consumer's LOAS role has no associated project.
- * - "PROJECT_STATUS_UNVAILABLE" : The backend server for looking up project
+ * - "PROJECT_STATUS_UNAVAILABLE" : The backend server for looking up project
* id/number is unavailable.
* - "SERVICE_STATUS_UNAVAILABLE" : The backend server for checking service
* status is unavailable.
@@ -2020,7 +2063,7 @@
* For ReleaseQuota request, this mode is supported only for precise quota
* limits. In this case, this operation releases quota for the amount
* specified in the service configuration or specified using the quota
- * metrics. If the release can make available quota negative, release error
+ * metrics. If the release can make used quota negative, release error
* will be returned and no quota will be released.
* - "BEST_EFFORT" : For AllocateQuota request, this mode is supported only
* for imprecise
@@ -2031,9 +2074,9 @@
* For ReleaseQuota request, this mode is supported for both precise quota
* limits and imprecise quota limits. In this case, this operation releases
* quota for the amount specified in the service configuration or specified
- * using the quota metrics. If the release can make available quota
- * negative, request does not fail but only the available quota will be
- * released. After the ReleaseQuota request completes, the available quota
+ * using the quota metrics. If the release can make used quota
+ * negative, request does not fail but only the used quota will be
+ * released. After the ReleaseQuota request completes, the used quota
* will be 0, and never goes to negative.
* - "CHECK_ONLY" : For AllocateQuota request, only checks if there is enough
* quota
@@ -2089,15 +2132,7 @@
}
}
-/**
- * Represents the properties needed for quota operations.
- *
- * Use the metric_value_sets field in Operation message to provide cost
- * override with metric_name in <service_name>/quota/<quota_group_name>/cost
- * format. Overrides for unmatched quota groups will be ignored.
- * Costs are expected to be >= 0. Cost 0 will cause no quota check,
- * but still traffic restrictions will be enforced.
- */
+/** Represents the properties needed for quota operations. */
class QuotaProperties {
/**
* LimitType IDs that should be used for checking quota. Key in this map
@@ -2209,6 +2244,10 @@
* 2. For allocation quota, per quota metric total usage will be specified
* using the following gauge metric:
* "serviceruntime.googleapis.com/allocation/consumer/quota_used_count"
+ *
+ * 3. For allocation quota, value for each quota limit associated with
+ * the metrics will be specified using the following gauge metric:
+ * "serviceruntime.googleapis.com/quota/limit"
*/
core.List<MetricValueSet> quotaMetrics;
/** Indicates the decision of the release. */
@@ -2502,7 +2541,15 @@
core.String operationId;
/**
* Metric values as tracked by One Platform before the start of
- * reconciliation.
+ * reconciliation. The following metrics will be included:
+ *
+ * 1. Per quota metric total usage will be specified using the following gauge
+ * metric:
+ * "serviceruntime.googleapis.com/allocation/consumer/quota_used_count"
+ *
+ * 2. Value for each quota limit associated with the metrics will be specified
+ * using the following gauge metric:
+ * "serviceruntime.googleapis.com/quota/limit"
*/
core.List<MetricValueSet> quotaMetrics;
/** Indicates the decision of the reconciliation start. */
diff --git a/generated/googleapis/lib/servicemanagement/v1.dart b/generated/googleapis/lib/servicemanagement/v1.dart
index 71d73c0..46b97a3 100644
--- a/generated/googleapis/lib/servicemanagement/v1.dart
+++ b/generated/googleapis/lib/servicemanagement/v1.dart
@@ -91,6 +91,82 @@
return _response.then((data) => new Operation.fromJson(data));
}
+ /**
+ * Lists service operations that match the specified filter in the request.
+ *
+ * Request parameters:
+ *
+ * [name] - Not used.
+ *
+ * [pageToken] - The standard list page token.
+ *
+ * [pageSize] - The maximum number of operations to return. If unspecified,
+ * defaults to
+ * 50. The maximum value is 100.
+ *
+ * [filter] - A string for filtering Operations.
+ * The following filter fields are supported:
+ *
+ * * serviceName: Required. Only `=` operator is allowed.
+ * * startTime: The time this job was started, in ISO 8601 format.
+ * Allowed operators are `>=`, `>`, `<=`, and `<`.
+ * * status: Can be `done`, `in_progress`, or `failed`. Allowed
+ * operators are `=`, and `!=`.
+ *
+ * Filter expression supports conjunction (AND) and disjunction (OR)
+ * logical operators. However, the serviceName restriction must be at the
+ * top-level and can only be combined with other restrictions via the AND
+ * logical operator.
+ *
+ * Examples:
+ *
+ * * `serviceName={some-service}.googleapis.com`
+ * * `serviceName={some-service}.googleapis.com AND startTime>="2017-02-01"`
+ * * `serviceName={some-service}.googleapis.com AND status=done`
+ * * `serviceName={some-service}.googleapis.com AND (status=done OR
+ * startTime>="2017-02-01")`
+ *
+ * Completes with a [ListOperationsResponse].
+ *
+ * Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ * error.
+ *
+ * If the used [http_1.Client] completes with an error when making a REST
+ * call, this method will complete with the same error.
+ */
+ async.Future<ListOperationsResponse> list({core.String name, core.String pageToken, core.int pageSize, core.String filter}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (name != null) {
+ _queryParams["name"] = [name];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
+
+ _url = 'v1/operations';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListOperationsResponse.fromJson(data));
+ }
+
}
@@ -192,7 +268,9 @@
}
/**
- * Disable a managed service for a project.
+ * Disables a service for a project, so it can no longer be
+ * be used for the project. It prevents accidental usage that may cause
+ * unexpected billing charges or security leaks.
*
* Operation<response: DisableServiceResponse>
*
@@ -240,13 +318,13 @@
}
/**
- * Enable a managed service for a project with default setting.
+ * Enables a service for a project, so it can be used
+ * for the project. See
+ * [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for
+ * more information.
*
* Operation<response: EnableServiceResponse>
*
- * google.rpc.Status errors may contain a
- * google.rpc.PreconditionFailure error detail.
- *
* [request] - The metadata request object.
*
* Request parameters:
@@ -390,6 +468,8 @@
* [overview](/service-management/overview)
* for naming requirements. For example: `example.googleapis.com`.
*
+ * [configId] - The id of the service configuration resource.
+ *
* [view] - Specifies which parts of the Service Config should be returned in
* the
* response.
@@ -397,8 +477,6 @@
* - "BASIC" : A BASIC.
* - "FULL" : A FULL.
*
- * [configId] - The id of the service configuration resource.
- *
* Completes with a [Service].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -407,7 +485,7 @@
* If the used [http_1.Client] completes with an error when making a REST
* call, this method will complete with the same error.
*/
- async.Future<Service> getConfig(core.String serviceName, {core.String view, core.String configId}) {
+ async.Future<Service> getConfig(core.String serviceName, {core.String configId, core.String view}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -418,12 +496,12 @@
if (serviceName == null) {
throw new core.ArgumentError("Parameter serviceName is required.");
}
- if (view != null) {
- _queryParams["view"] = [view];
- }
if (configId != null) {
_queryParams["configId"] = [configId];
}
+ if (view != null) {
+ _queryParams["view"] = [view];
+ }
_url = 'v1/services/' + commons.Escaper.ecapeVariable('$serviceName') + '/config';
@@ -499,6 +577,8 @@
*
* Request parameters:
*
+ * [producerProjectId] - Include services produced by the specified project.
+ *
* [consumerId] - Include services consumed by the specified consumer.
*
* The Google Service Management implementation accepts the following
@@ -511,8 +591,6 @@
*
* [pageSize] - Requested size of the next page of data.
*
- * [producerProjectId] - Include services produced by the specified project.
- *
* Completes with a [ListServicesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -521,7 +599,7 @@
* If the used [http_1.Client] completes with an error when making a REST
* call, this method will complete with the same error.
*/
- async.Future<ListServicesResponse> list({core.String consumerId, core.String pageToken, core.int pageSize, core.String producerProjectId}) {
+ async.Future<ListServicesResponse> list({core.String producerProjectId, core.String consumerId, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -529,6 +607,9 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (producerProjectId != null) {
+ _queryParams["producerProjectId"] = [producerProjectId];
+ }
if (consumerId != null) {
_queryParams["consumerId"] = [consumerId];
}
@@ -538,9 +619,6 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (producerProjectId != null) {
- _queryParams["producerProjectId"] = [producerProjectId];
- }
_url = 'v1/services';
@@ -1219,8 +1297,8 @@
/**
* Specifies the audit configuration for a service.
- * It consists of which permission types are logged, and what identities, if
- * any, are exempted from logging.
+ * The configuration determines which permission types are logged, and what
+ * identities, if any, are exempted from logging.
* An AuditConifg must have one or more AuditLogConfigs.
*
* If there are AuditConfigs for both `allServices` and a specific service,
@@ -1276,7 +1354,7 @@
core.List<core.String> exemptedMembers;
/**
* Specifies a service that will be enabled for audit logging.
- * For example, `resourcemanager`, `storage`, `compute`.
+ * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
* `allServices` is a special value that covers all services.
*/
core.String service;
@@ -3091,6 +3169,93 @@
}
}
+/** The metadata associated with a long running operation resource. */
+class FlowOperationMetadata {
+ /**
+ * The state of the operation with respect to cancellation.
+ * Possible string values are:
+ * - "RUNNING" : Default state, cancellable but not cancelled.
+ * - "UNCANCELLABLE" : The operation has proceeded past the point of no return
+ * and cannot
+ * be cancelled.
+ * - "CANCELLED" : The operation has been cancelled, work should cease
+ * and any needed rollback steps executed.
+ */
+ core.String cancelState;
+ /**
+ * Deadline for the flow to complete, to prevent orphaned Operations.
+ *
+ * If the flow has not completed by this time, it may be terminated by
+ * the engine, or force-failed by Operation lookup.
+ *
+ * Note that this is not a hard deadline after which the Flow will
+ * definitely be failed, rather it is a deadline after which it is reasonable
+ * to suspect a problem and other parts of the system may kill operation
+ * to ensure we don't have orphans.
+ * see also: go/prevent-orphaned-operations
+ */
+ core.String deadline;
+ /**
+ * The name of the top-level flow corresponding to this operation.
+ * Must be equal to the "name" field for a FlowName enum.
+ */
+ core.String flowName;
+ /** Is the update for the operation persisted? */
+ core.bool isPersisted;
+ /**
+ * The full name of the resources that this flow is directly associated with.
+ */
+ core.List<core.String> resourceNames;
+ /** The start time of the operation. */
+ core.String startTime;
+
+ FlowOperationMetadata();
+
+ FlowOperationMetadata.fromJson(core.Map _json) {
+ if (_json.containsKey("cancelState")) {
+ cancelState = _json["cancelState"];
+ }
+ if (_json.containsKey("deadline")) {
+ deadline = _json["deadline"];
+ }
+ if (_json.containsKey("flowName")) {
+ flowName = _json["flowName"];
+ }
+ if (_json.containsKey("isPersisted")) {
+ isPersisted = _json["isPersisted"];
+ }
+ if (_json.containsKey("resourceNames")) {
+ resourceNames = _json["resourceNames"];
+ }
+ if (_json.containsKey("startTime")) {
+ startTime = _json["startTime"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (cancelState != null) {
+ _json["cancelState"] = cancelState;
+ }
+ if (deadline != null) {
+ _json["deadline"] = deadline;
+ }
+ if (flowName != null) {
+ _json["flowName"] = flowName;
+ }
+ if (isPersisted != null) {
+ _json["isPersisted"] = isPersisted;
+ }
+ if (resourceNames != null) {
+ _json["resourceNames"] = resourceNames;
+ }
+ if (startTime != null) {
+ _json["startTime"] = startTime;
+ }
+ return _json;
+ }
+}
+
/** Request message for GenerateConfigReport method. */
class GenerateConfigReportRequest {
/**
@@ -3632,6 +3797,36 @@
}
}
+/** 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<Operation> operations;
+
+ ListOperationsResponse();
+
+ ListOperationsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("operations")) {
+ operations = _json["operations"].map((value) => new Operation.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ if (operations != null) {
+ _json["operations"] = operations.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
/** Response message for ListServiceConfigs method. */
class ListServiceConfigsResponse {
/** The token of the next page of results. */
@@ -3724,31 +3919,7 @@
}
}
-/**
- * Specifies what kind of log the caller must write
- * Increment a streamz counter with the specified metric and field names.
- *
- * Metric names should start with a '/', generally be lowercase-only,
- * and end in "_count". Field names should not contain an initial slash.
- * The actual exported metric names will have "/iam/policy" prepended.
- *
- * Field names correspond to IAM request parameters and field values are
- * their respective values.
- *
- * At present the only supported field names are
- * - "iam_principal", corresponding to IAMContext.principal;
- * - "" (empty string), resulting in one aggretated counter with no field.
- *
- * Examples:
- * counter { metric: "/debug_access_count" field: "iam_principal" }
- * ==> increment counter /iam/policy/backend_debug_access_count
- * {iam_principal=[value of IAMContext.principal]}
- *
- * At this time we do not support:
- * * multiple field names (though this may be supported in the future)
- * * decrementing the counter
- * * incrementing it by anything other than 1
- */
+/** Specifies what kind of log the caller must write */
class LogConfig {
/** Cloud audit options. */
CloudAuditOptions cloudAudit;
@@ -5391,6 +5562,10 @@
* manage consumption of the service, etc.
*/
core.String producerProjectId;
+ /**
+ * Output only. The source information for this configuration if available.
+ */
+ SourceInfo sourceInfo;
/** System parameter configuration. */
SystemParameters systemParameters;
/**
@@ -5482,6 +5657,9 @@
if (_json.containsKey("producerProjectId")) {
producerProjectId = _json["producerProjectId"];
}
+ if (_json.containsKey("sourceInfo")) {
+ sourceInfo = new SourceInfo.fromJson(_json["sourceInfo"]);
+ }
if (_json.containsKey("systemParameters")) {
systemParameters = new SystemParameters.fromJson(_json["systemParameters"]);
}
@@ -5564,6 +5742,9 @@
if (producerProjectId != null) {
_json["producerProjectId"] = producerProjectId;
}
+ if (sourceInfo != null) {
+ _json["sourceInfo"] = (sourceInfo).toJson();
+ }
if (systemParameters != null) {
_json["systemParameters"] = (systemParameters).toJson();
}
@@ -5597,8 +5778,8 @@
Policy policy;
/**
* OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
- * the fields in the mask will be modified. If no mask is provided, a default
- * mask is used:
+ * the fields in the mask will be modified. If no mask is provided, the
+ * following default mask is used:
* paths: "bindings, etag"
* This field is only used by Cloud IAM.
*/
@@ -5655,6 +5836,33 @@
}
}
+/** Source information used to create a Service Config */
+class SourceInfo {
+ /**
+ * All files used during config generation.
+ *
+ * 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.List<core.Map<core.String, core.Object>> sourceFiles;
+
+ SourceInfo();
+
+ SourceInfo.fromJson(core.Map _json) {
+ if (_json.containsKey("sourceFiles")) {
+ sourceFiles = _json["sourceFiles"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (sourceFiles != null) {
+ _json["sourceFiles"] = sourceFiles;
+ }
+ return _json;
+ }
+}
+
/**
* The `Status` type defines a logical error model that is suitable for
* different
diff --git a/generated/googleapis/lib/serviceuser/v1.dart b/generated/googleapis/lib/serviceuser/v1.dart
index 0551589..8641cbf 100644
--- a/generated/googleapis/lib/serviceuser/v1.dart
+++ b/generated/googleapis/lib/serviceuser/v1.dart
@@ -57,7 +57,9 @@
_requester = client;
/**
- * Disable a managed service for a consumer.
+ * Disable a service so it can no longer be used with a
+ * project. This prevents unintended usage that may cause unexpected billing
+ * charges or security leaks.
*
* Operation<response: google.protobuf.Empty>
*
@@ -110,13 +112,12 @@
}
/**
- * Enable a managed service for a consumer with the default settings.
+ * Enable a service so it can be used with a project.
+ * See [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for
+ * more information.
*
* Operation<response: google.protobuf.Empty>
*
- * google.rpc.Status errors may contain a
- * google.rpc.PreconditionFailure error detail.
- *
* [request] - The metadata request object.
*
* Request parameters:
@@ -2972,6 +2973,55 @@
}
}
+/** The metadata associated with a long running operation resource. */
+class OperationMetadata {
+ /** Percentage of completion of this operation, ranging from 0 to 100. */
+ core.int progressPercentage;
+ /**
+ * The full name of the resources that this operation is directly
+ * associated with.
+ */
+ core.List<core.String> resourceNames;
+ /** The start time of the operation. */
+ core.String startTime;
+ /** Detailed status information for each step. The order is undetermined. */
+ core.List<Step> steps;
+
+ OperationMetadata();
+
+ OperationMetadata.fromJson(core.Map _json) {
+ if (_json.containsKey("progressPercentage")) {
+ progressPercentage = _json["progressPercentage"];
+ }
+ if (_json.containsKey("resourceNames")) {
+ resourceNames = _json["resourceNames"];
+ }
+ if (_json.containsKey("startTime")) {
+ startTime = _json["startTime"];
+ }
+ if (_json.containsKey("steps")) {
+ steps = _json["steps"].map((value) => new Step.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (progressPercentage != null) {
+ _json["progressPercentage"] = progressPercentage;
+ }
+ if (resourceNames != null) {
+ _json["resourceNames"] = resourceNames;
+ }
+ if (startTime != null) {
+ _json["startTime"] = startTime;
+ }
+ if (steps != null) {
+ _json["steps"] = steps.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
/**
* A protocol buffer option, which can be attached to a message, field,
* enumeration, etc.
@@ -3255,6 +3305,10 @@
* manage consumption of the service, etc.
*/
core.String producerProjectId;
+ /**
+ * Output only. The source information for this configuration if available.
+ */
+ SourceInfo sourceInfo;
/** System parameter configuration. */
SystemParameters systemParameters;
/**
@@ -3346,6 +3400,9 @@
if (_json.containsKey("producerProjectId")) {
producerProjectId = _json["producerProjectId"];
}
+ if (_json.containsKey("sourceInfo")) {
+ sourceInfo = new SourceInfo.fromJson(_json["sourceInfo"]);
+ }
if (_json.containsKey("systemParameters")) {
systemParameters = new SystemParameters.fromJson(_json["systemParameters"]);
}
@@ -3428,6 +3485,9 @@
if (producerProjectId != null) {
_json["producerProjectId"] = producerProjectId;
}
+ if (sourceInfo != null) {
+ _json["sourceInfo"] = (sourceInfo).toJson();
+ }
if (systemParameters != null) {
_json["systemParameters"] = (systemParameters).toJson();
}
@@ -3478,6 +3538,33 @@
}
}
+/** Source information used to create a Service Config */
+class SourceInfo {
+ /**
+ * All files used during config generation.
+ *
+ * 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.List<core.Map<core.String, core.Object>> sourceFiles;
+
+ SourceInfo();
+
+ SourceInfo.fromJson(core.Map _json) {
+ if (_json.containsKey("sourceFiles")) {
+ sourceFiles = _json["sourceFiles"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (sourceFiles != null) {
+ _json["sourceFiles"] = sourceFiles;
+ }
+ return _json;
+ }
+}
+
/**
* The `Status` type defines a logical error model that is suitable for
* different
@@ -3581,6 +3668,45 @@
}
}
+/** Represents the status of one operation step. */
+class Step {
+ /** The short description of the step. */
+ core.String description;
+ /**
+ * The status code.
+ * Possible string values are:
+ * - "STATUS_UNSPECIFIED" : Unspecifed code.
+ * - "DONE" : The operation or step has completed without errors.
+ * - "NOT_STARTED" : The operation or step has not started yet.
+ * - "IN_PROGRESS" : The operation or step is in progress.
+ * - "FAILED" : The operation or step has completed with errors.
+ * - "CANCELLED" : The operation or step has completed with cancellation.
+ */
+ core.String status;
+
+ Step();
+
+ Step.fromJson(core.Map _json) {
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("status")) {
+ status = _json["status"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (status != null) {
+ _json["status"] = status;
+ }
+ return _json;
+ }
+}
+
/**
* Define a parameter's name and location. The parameter may be passed as either
* an HTTP header or a URL query parameter, and if both are passed the behavior
diff --git a/generated/googleapis/lib/sheets/v4.dart b/generated/googleapis/lib/sheets/v4.dart
index d6e0a96..b19eb35 100644
--- a/generated/googleapis/lib/sheets/v4.dart
+++ b/generated/googleapis/lib/sheets/v4.dart
@@ -291,9 +291,9 @@
* existing data and find a "table" within that range. Values will be
* appended to the next row of the table, starting with the first column of
* the table. See the
- * [guide](/sheets/guides/values#appending_values)
+ * [guide](/sheets/api/guides/values#appending_values)
* and
- * [sample code](/sheets/samples/writing#append_values)
+ * [sample code](/sheets/api/samples/writing#append_values)
* for specific details of how tables are detected and data is appended.
*
* The caller must specify the spreadsheet ID, range, and
@@ -452,20 +452,6 @@
*
* [spreadsheetId] - The ID of the spreadsheet to retrieve data from.
*
- * [ranges] - The A1 notation of the values to retrieve.
- *
- * [majorDimension] - The major dimension that results should use.
- *
- * For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
- * then requesting `range=A1:B2,majorDimension=ROWS` will return
- * `[[1,2],[3,4]]`,
- * whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return
- * `[[1,3],[2,4]]`.
- * Possible string values are:
- * - "DIMENSION_UNSPECIFIED" : A DIMENSION_UNSPECIFIED.
- * - "ROWS" : A ROWS.
- * - "COLUMNS" : A COLUMNS.
- *
* [valueRenderOption] - How values should be represented in the output.
* The default render option is ValueRenderOption.FORMATTED_VALUE.
* Possible string values are:
@@ -482,6 +468,20 @@
* - "SERIAL_NUMBER" : A SERIAL_NUMBER.
* - "FORMATTED_STRING" : A FORMATTED_STRING.
*
+ * [ranges] - The A1 notation of the values to retrieve.
+ *
+ * [majorDimension] - The major dimension that results should use.
+ *
+ * For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
+ * then requesting `range=A1:B2,majorDimension=ROWS` will return
+ * `[[1,2],[3,4]]`,
+ * whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return
+ * `[[1,3],[2,4]]`.
+ * Possible string values are:
+ * - "DIMENSION_UNSPECIFIED" : A DIMENSION_UNSPECIFIED.
+ * - "ROWS" : A ROWS.
+ * - "COLUMNS" : A COLUMNS.
+ *
* Completes with a [BatchGetValuesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -490,7 +490,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<BatchGetValuesResponse> batchGet(core.String spreadsheetId, {core.List<core.String> ranges, core.String majorDimension, core.String valueRenderOption, core.String dateTimeRenderOption}) {
+ async.Future<BatchGetValuesResponse> batchGet(core.String spreadsheetId, {core.String valueRenderOption, core.String dateTimeRenderOption, core.List<core.String> ranges, core.String majorDimension}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -501,18 +501,18 @@
if (spreadsheetId == null) {
throw new core.ArgumentError("Parameter spreadsheetId is required.");
}
- if (ranges != null) {
- _queryParams["ranges"] = ranges;
- }
- if (majorDimension != null) {
- _queryParams["majorDimension"] = [majorDimension];
- }
if (valueRenderOption != null) {
_queryParams["valueRenderOption"] = [valueRenderOption];
}
if (dateTimeRenderOption != null) {
_queryParams["dateTimeRenderOption"] = [dateTimeRenderOption];
}
+ if (ranges != null) {
+ _queryParams["ranges"] = ranges;
+ }
+ if (majorDimension != null) {
+ _queryParams["majorDimension"] = [majorDimension];
+ }
_url = 'v4/spreadsheets/' + commons.Escaper.ecapeVariable('$spreadsheetId') + '/values:batchGet';
@@ -2003,11 +2003,13 @@
* - "SERIAL_NUMBER" : Instructs date, time, datetime, and duration fields to
* be output
* as doubles in "serial number" format, as popularized by Lotus 1-2-3.
- * Days are counted from December 31st 1899 and are incremented by 1,
- * and times are fractions of a day. For example, January 1st 1900 at noon
- * would be 1.5, 1 because it's 1 day offset from December 31st 1899,
- * and .5 because noon is half a day. February 1st 1900 at 3pm would
- * be 32.625. This correctly treats the year 1900 as not a leap year.
+ * The whole number portion of the value (left of the decimal) counts
+ * the days since December 30th 1899. The fractional portion (right of
+ * the decimal) counts the time as a fraction of the day. For example,
+ * January 1st 1900 at noon would be 2.5, 2 because it's 2 days after
+ * December 30st 1899, and .5 because noon is half a day. February 1st
+ * 1900 at 3pm would be 33.625. This correctly treats the year 1900 as
+ * not a leap year.
* - "FORMATTED_STRING" : Instructs date, time, datetime, and duration fields
* to be output
* as strings in their given number format (which is dependent
@@ -2640,6 +2642,8 @@
* The format of the text in the cell (unless overridden by a format run).
*/
TextFormat textFormat;
+ /** The rotation applied to text in a cell */
+ TextRotation textRotation;
/**
* The vertical alignment of the value in the cell.
* Possible string values are:
@@ -2719,6 +2723,9 @@
if (_json.containsKey("textFormat")) {
textFormat = new TextFormat.fromJson(_json["textFormat"]);
}
+ if (_json.containsKey("textRotation")) {
+ textRotation = new TextRotation.fromJson(_json["textRotation"]);
+ }
if (_json.containsKey("verticalAlignment")) {
verticalAlignment = _json["verticalAlignment"];
}
@@ -2753,6 +2760,9 @@
if (textFormat != null) {
_json["textFormat"] = (textFormat).toJson();
}
+ if (textRotation != null) {
+ _json["textRotation"] = (textRotation).toJson();
+ }
if (verticalAlignment != null) {
_json["verticalAlignment"] = verticalAlignment;
}
@@ -4830,13 +4840,13 @@
*/
class IterativeCalculationSettings {
/**
- * When iterative calculation is enabled, the threshold value such that
- * calculation rounds stop when succesive results differ by less.
+ * When iterative calculation is enabled and successive results differ by
+ * less than this threshold value, the calculation rounds stop.
*/
core.double convergenceThreshold;
/**
* When iterative calculation is enabled, the maximum number of calculation
- * rounds to perform during iterative calculation.
+ * rounds to perform.
*/
core.int maxIterations;
@@ -4985,7 +4995,8 @@
/**
* Pattern string used for formatting. If not set, a default pattern based on
* the user's locale will be used if necessary for the given type.
- * See the [Date and Number Formats guide](/sheets/guides/formats) for more
+ * See the [Date and Number Formats guide](/sheets/api/guides/formats) for
+ * more
* information about the supported patterns.
*/
core.String pattern;
@@ -6947,6 +6958,56 @@
}
}
+/** The rotation applied to text in a cell. */
+class TextRotation {
+ /**
+ * The angle between the standard orientation and the desired orientation.
+ * Measured in degrees. Valid values are between -90 and 90. Positive
+ * angles are angled upwards, negative are angled downwards.
+ *
+ * Note: For LTR text direction positive angles are in the counterclockwise
+ * direction, whereas for RTL they are in the clockwise direction
+ */
+ core.int angle;
+ /**
+ * If true, text reads top to bottom, but the orientation of individual
+ * characters is unchanged.
+ * For example:
+ *
+ * | V |
+ * | e |
+ * | r |
+ * | t |
+ * | i |
+ * | c |
+ * | a |
+ * | l |
+ */
+ core.bool vertical;
+
+ TextRotation();
+
+ TextRotation.fromJson(core.Map _json) {
+ if (_json.containsKey("angle")) {
+ angle = _json["angle"];
+ }
+ if (_json.containsKey("vertical")) {
+ vertical = _json["vertical"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (angle != null) {
+ _json["angle"] = angle;
+ }
+ if (vertical != null) {
+ _json["vertical"] = vertical;
+ }
+ return _json;
+ }
+}
+
/**
* Splits a column of text into multiple columns,
* based on a delimiter in each cell.
diff --git a/generated/googleapis/lib/slides/v1.dart b/generated/googleapis/lib/slides/v1.dart
index 0947cb1..2859275 100644
--- a/generated/googleapis/lib/slides/v1.dart
+++ b/generated/googleapis/lib/slides/v1.dart
@@ -250,6 +250,72 @@
return _response.then((data) => new Page.fromJson(data));
}
+ /**
+ * Generates a thumbnail of the latest version of the specified page in the
+ * presentation and returns a URL to the thumbnail image.
+ *
+ * Request parameters:
+ *
+ * [presentationId] - The ID of the presentation to retrieve.
+ *
+ * [pageObjectId] - The object ID of the page whose thumbnail to retrieve.
+ *
+ * [thumbnailProperties_mimeType] - The optional mime type of the thumbnail
+ * image.
+ *
+ * If you don't specify the mime type, the default mime type will be PNG.
+ * Possible string values are:
+ * - "PNG" : A PNG.
+ *
+ * [thumbnailProperties_thumbnailSize] - The optional thumbnail image size.
+ *
+ * If you don't specify the size, the server chooses a default size of the
+ * image.
+ * Possible string values are:
+ * - "THUMBNAIL_SIZE_UNSPECIFIED" : A THUMBNAIL_SIZE_UNSPECIFIED.
+ * - "LARGE" : A LARGE.
+ *
+ * Completes with a [Thumbnail].
+ *
+ * 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<Thumbnail> getThumbnail(core.String presentationId, core.String pageObjectId, {core.String thumbnailProperties_mimeType, core.String thumbnailProperties_thumbnailSize}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (presentationId == null) {
+ throw new core.ArgumentError("Parameter presentationId is required.");
+ }
+ if (pageObjectId == null) {
+ throw new core.ArgumentError("Parameter pageObjectId is required.");
+ }
+ if (thumbnailProperties_mimeType != null) {
+ _queryParams["thumbnailProperties.mimeType"] = [thumbnailProperties_mimeType];
+ }
+ if (thumbnailProperties_thumbnailSize != null) {
+ _queryParams["thumbnailProperties.thumbnailSize"] = [thumbnailProperties_thumbnailSize];
+ }
+
+ _url = 'v1/presentations/' + commons.Escaper.ecapeVariable('$presentationId') + '/pages/' + commons.Escaper.ecapeVariable('$pageObjectId') + '/thumbnail';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Thumbnail.fromJson(data));
+ }
+
}
@@ -394,6 +460,11 @@
class BatchUpdatePresentationRequest {
/** A list of updates to apply to the presentation. */
core.List<Request> requests;
+ /**
+ * Provides control over how write requests are executed, such as
+ * conditionally updating the presentation.
+ */
+ WriteControl writeControl;
BatchUpdatePresentationRequest();
@@ -401,6 +472,9 @@
if (_json.containsKey("requests")) {
requests = _json["requests"].map((value) => new Request.fromJson(value)).toList();
}
+ if (_json.containsKey("writeControl")) {
+ writeControl = new WriteControl.fromJson(_json["writeControl"]);
+ }
}
core.Map toJson() {
@@ -408,6 +482,9 @@
if (requests != null) {
_json["requests"] = requests.map((value) => (value).toJson()).toList();
}
+ if (writeControl != null) {
+ _json["writeControl"] = (writeControl).toJson();
+ }
return _json;
}
}
@@ -3132,6 +3209,19 @@
* - "NOTES_MASTER" : A notes master page.
*/
core.String pageType;
+ /**
+ * The revision ID of the presentation containing this page. Can be used in
+ * update requests to assert that the presentation revision hasn't changed
+ * since the last read operation. Only populated if the user has edit access
+ * to the presentation.
+ *
+ * The format of the revision ID may change over time, so it should be treated
+ * opaquely. A returned revision ID is only guaranteed to be valid for 24
+ * hours after it has been returned and cannot be shared across
+ * users. Callers can assume that if two revision IDs are equal then the
+ * presentation has not changed.
+ */
+ core.String revisionId;
/** Slide specific properties. Only set if page_type = SLIDE. */
SlideProperties slideProperties;
@@ -3156,6 +3246,9 @@
if (_json.containsKey("pageType")) {
pageType = _json["pageType"];
}
+ if (_json.containsKey("revisionId")) {
+ revisionId = _json["revisionId"];
+ }
if (_json.containsKey("slideProperties")) {
slideProperties = new SlideProperties.fromJson(_json["slideProperties"]);
}
@@ -3181,6 +3274,9 @@
if (pageType != null) {
_json["pageType"] = pageType;
}
+ if (revisionId != null) {
+ _json["revisionId"] = revisionId;
+ }
if (slideProperties != null) {
_json["slideProperties"] = (slideProperties).toJson();
}
@@ -3750,9 +3846,8 @@
*
* - Placeholder shapes on a notes master contain the default text styles and
* shape properties of all placeholder shapes on notes pages. Specifically,
- * a SLIDE_IMAGE placeholder shape is defined to contain the slide
- * thumbnail, and a BODY placeholder shape is defined to contain the speaker
- * notes.
+ * a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a
+ * `BODY` placeholder shape contains the speaker notes.
* - The notes master page properties define the common page properties
* inherited by all notes pages.
* - Any other shapes on the notes master will appear on all notes pages.
@@ -3765,6 +3860,19 @@
/** The ID of the presentation. */
core.String presentationId;
/**
+ * The revision ID of the presentation. Can be used in update requests
+ * to assert that the presentation revision hasn't changed since the last
+ * read operation. Only populated if the user has edit access to the
+ * presentation.
+ *
+ * The format of the revision ID may change over time, so it should be treated
+ * opaquely. A returned revision ID is only guaranteed to be valid for 24
+ * hours after it has been returned and cannot be shared across users. Callers
+ * can assume that if two revision IDs are equal then the presentation has not
+ * changed.
+ */
+ core.String revisionId;
+ /**
* The slides in the presentation.
* A slide inherits properties from a slide layout.
*/
@@ -3793,6 +3901,9 @@
if (_json.containsKey("presentationId")) {
presentationId = _json["presentationId"];
}
+ if (_json.containsKey("revisionId")) {
+ revisionId = _json["revisionId"];
+ }
if (_json.containsKey("slides")) {
slides = _json["slides"].map((value) => new Page.fromJson(value)).toList();
}
@@ -3821,6 +3932,9 @@
if (presentationId != null) {
_json["presentationId"] = presentationId;
}
+ if (revisionId != null) {
+ _json["revisionId"] = revisionId;
+ }
if (slides != null) {
_json["slides"] = slides.map((value) => (value).toJson()).toList();
}
@@ -6162,6 +6276,16 @@
core.bool strikethrough;
/** Whether or not the text is underlined. */
core.bool underline;
+ /**
+ * The font family and rendered weight of the text. This property is
+ * read-only.
+ *
+ * This field is an extension of `font_family` meant to support explicit font
+ * weights without breaking backwards compatibility. As such, when reading the
+ * style of a range of text, the value of `weighted_font_family.font_family`
+ * will always be equal to that of `font_family`.
+ */
+ WeightedFontFamily weightedFontFamily;
TextStyle();
@@ -6199,6 +6323,9 @@
if (_json.containsKey("underline")) {
underline = _json["underline"];
}
+ if (_json.containsKey("weightedFontFamily")) {
+ weightedFontFamily = new WeightedFontFamily.fromJson(_json["weightedFontFamily"]);
+ }
}
core.Map toJson() {
@@ -6236,6 +6363,9 @@
if (underline != null) {
_json["underline"] = underline;
}
+ if (weightedFontFamily != null) {
+ _json["weightedFontFamily"] = (weightedFontFamily).toJson();
+ }
return _json;
}
}
@@ -6292,6 +6422,53 @@
}
}
+/** The thumbnail of a page. */
+class Thumbnail {
+ /**
+ * The content URL of the thumbnail image.
+ *
+ * The URL to the image has a default lifetime of 30 minutes.
+ * This URL is tagged with the account of the requester. Anyone with the URL
+ * effectively accesses the image as the original requester. Access to the
+ * image may be lost if the presentation's sharing settings change.
+ * The mime type of the thumbnail image is the same as specified in the
+ * `GetPageThumbnailRequest`.
+ */
+ core.String contentUrl;
+ /** The positive height in pixels of the thumbnail image. */
+ core.int height;
+ /** The positive width in pixels of the thumbnail image. */
+ core.int width;
+
+ Thumbnail();
+
+ Thumbnail.fromJson(core.Map _json) {
+ if (_json.containsKey("contentUrl")) {
+ contentUrl = _json["contentUrl"];
+ }
+ if (_json.containsKey("height")) {
+ height = _json["height"];
+ }
+ if (_json.containsKey("width")) {
+ width = _json["width"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (contentUrl != null) {
+ _json["contentUrl"] = contentUrl;
+ }
+ if (height != null) {
+ _json["height"] = height;
+ }
+ if (width != null) {
+ _json["width"] = width;
+ }
+ return _json;
+ }
+}
+
/** Update the properties of an Image. */
class UpdateImagePropertiesRequest {
/**
@@ -6496,7 +6673,7 @@
class UpdateParagraphStyleRequest {
/**
* The location of the cell in the table containing the paragraph(s) to
- * style. If object_id refers to a table, cell_location must have a value.
+ * style. If `object_id` refers to a table, `cell_location` must have a value.
* Otherwise, it must not.
*/
TableCellLocation cellLocation;
@@ -6719,8 +6896,8 @@
class UpdateTextStyleRequest {
/**
* The location of the cell in the table containing the text to style. If
- * object_id refers to a table, cell_location must have a value. Otherwise, it
- * must not.
+ * `object_id` refers to a table, `cell_location` must have a value.
+ * Otherwise, it must not.
*/
TableCellLocation cellLocation;
/**
@@ -6932,6 +7109,51 @@
}
}
+/** Represents a font family and weight used to style a TextRun. */
+class WeightedFontFamily {
+ /**
+ * The font family of the text.
+ *
+ * The font family can be any font from the Font menu in Slides or from
+ * [Google Fonts] (https://fonts.google.com/). If the font name is
+ * unrecognized, the text is rendered in `Arial`.
+ */
+ core.String fontFamily;
+ /**
+ * The rendered weight of the text. This field can have any value that is a
+ * multiple of 100 between 100 and 900, inclusive. This range corresponds to
+ * only the numerical values described in the "Cascading Style Sheets Level
+ * 2 Revision 1 (CSS 2.1) Specification",
+ * [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness). The
+ * non-numerical values in the specification are disallowed. Weights greater
+ * than or equal to 700 are considered bold, and weights less than 700 are
+ * not bold. The default value is `400` ("normal").
+ */
+ core.int weight;
+
+ WeightedFontFamily();
+
+ WeightedFontFamily.fromJson(core.Map _json) {
+ if (_json.containsKey("fontFamily")) {
+ fontFamily = _json["fontFamily"];
+ }
+ if (_json.containsKey("weight")) {
+ weight = _json["weight"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (fontFamily != null) {
+ _json["fontFamily"] = fontFamily;
+ }
+ if (weight != null) {
+ _json["weight"] = weight;
+ }
+ return _json;
+ }
+}
+
/**
* A PageElement kind representing
* word art.
@@ -6956,3 +7178,30 @@
return _json;
}
}
+
+/** Provides control over how write requests are executed. */
+class WriteControl {
+ /**
+ * The revision ID of the presentation required for the write request. If
+ * specified and the `required_revision_id` doesn't exactly match the
+ * presentation's current `revision_id`, the request will not be processed and
+ * will return a 400 bad request error.
+ */
+ core.String requiredRevisionId;
+
+ WriteControl();
+
+ WriteControl.fromJson(core.Map _json) {
+ if (_json.containsKey("requiredRevisionId")) {
+ requiredRevisionId = _json["requiredRevisionId"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (requiredRevisionId != null) {
+ _json["requiredRevisionId"] = requiredRevisionId;
+ }
+ return _json;
+ }
+}
diff --git a/generated/googleapis/lib/sourcerepo/v1.dart b/generated/googleapis/lib/sourcerepo/v1.dart
index 31d6658..b308053 100644
--- a/generated/googleapis/lib/sourcerepo/v1.dart
+++ b/generated/googleapis/lib/sourcerepo/v1.dart
@@ -365,8 +365,8 @@
/**
* Specifies the audit configuration for a service.
- * It consists of which permission types are logged, and what identities, if
- * any, are exempted from logging.
+ * The configuration determines which permission types are logged, and what
+ * identities, if any, are exempted from logging.
* An AuditConifg must have one or more AuditLogConfigs.
*
* If there are AuditConfigs for both `allServices` and a specific service,
@@ -422,7 +422,7 @@
core.List<core.String> exemptedMembers;
/**
* Specifies a service that will be enabled for audit logging.
- * For example, `resourcemanager`, `storage`, `compute`.
+ * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
* `allServices` is a special value that covers all services.
*/
core.String service;
@@ -787,31 +787,7 @@
}
}
-/**
- * Specifies what kind of log the caller must write
- * Increment a streamz counter with the specified metric and field names.
- *
- * Metric names should start with a '/', generally be lowercase-only,
- * and end in "_count". Field names should not contain an initial slash.
- * The actual exported metric names will have "/iam/policy" prepended.
- *
- * Field names correspond to IAM request parameters and field values are
- * their respective values.
- *
- * At present the only supported field names are
- * - "iam_principal", corresponding to IAMContext.principal;
- * - "" (empty string), resulting in one aggretated counter with no field.
- *
- * Examples:
- * counter { metric: "/debug_access_count" field: "iam_principal" }
- * ==> increment counter /iam/policy/backend_debug_access_count
- * {iam_principal=[value of IAMContext.principal]}
- *
- * At this time we do not support:
- * * multiple field names (though this may be supported in the future)
- * * decrementing the counter
- * * incrementing it by anything other than 1
- */
+/** Specifies what kind of log the caller must write */
class LogConfig {
/** Cloud audit options. */
CloudAuditOptions cloudAudit;
@@ -1184,8 +1160,8 @@
Policy policy;
/**
* OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
- * the fields in the mask will be modified. If no mask is provided, a default
- * mask is used:
+ * the fields in the mask will be modified. If no mask is provided, the
+ * following default mask is used:
* paths: "bindings, etag"
* This field is only used by Cloud IAM.
*/
diff --git a/generated/googleapis/lib/spanner/v1.dart b/generated/googleapis/lib/spanner/v1.dart
index 4a83da6..e0f5398 100644
--- a/generated/googleapis/lib/spanner/v1.dart
+++ b/generated/googleapis/lib/spanner/v1.dart
@@ -102,14 +102,14 @@
* `projects/<project>`.
* Value must have pattern "^projects/[^/]+$".
*
- * [pageToken] - If non-empty, `page_token` should contain a
- * next_page_token
- * from a previous ListInstanceConfigsResponse.
- *
* [pageSize] - Number of instance configurations to be returned in the
* response. If 0 or
* less, defaults to the server's maximum allowed page size.
*
+ * [pageToken] - If non-empty, `page_token` should contain a
+ * next_page_token
+ * from a previous ListInstanceConfigsResponse.
+ *
* Completes with a [ListInstanceConfigsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -118,7 +118,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListInstanceConfigsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListInstanceConfigsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -129,12 +129,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/instanceConfigs';
@@ -396,14 +396,6 @@
* requested. Values are of the form `projects/<project>`.
* Value must have pattern "^projects/[^/]+$".
*
- * [pageToken] - If non-empty, `page_token` should contain a
- * next_page_token from a
- * previous ListInstancesResponse.
- *
- * [pageSize] - Number of instances to be returned in the response. If 0 or
- * less, defaults
- * to the server's maximum allowed page size.
- *
* [filter] - An expression for filtering the results of the request. Filter
* rules are
* case insensitive. The fields eligible for filtering are:
@@ -425,6 +417,14 @@
* it has the label "env" with its value
* containing "dev".
*
+ * [pageToken] - If non-empty, `page_token` should contain a
+ * next_page_token from a
+ * previous ListInstancesResponse.
+ *
+ * [pageSize] - Number of instances to be returned in the response. If 0 or
+ * less, defaults
+ * to the server's maximum allowed page size.
+ *
* Completes with a [ListInstancesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -433,7 +433,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListInstancesResponse> list(core.String parent, {core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<ListInstancesResponse> list(core.String parent, {core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -444,15 +444,15 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/instances';
@@ -910,14 +910,14 @@
* Values are of the form `projects/<project>/instances/<instance>`.
* Value must have pattern "^projects/[^/]+/instances/[^/]+$".
*
- * [pageToken] - If non-empty, `page_token` should contain a
- * next_page_token from a
- * previous ListDatabasesResponse.
- *
* [pageSize] - Number of databases to be returned in the response. If 0 or
* less,
* defaults to the server's maximum allowed page size.
*
+ * [pageToken] - If non-empty, `page_token` should contain a
+ * next_page_token from a
+ * previous ListDatabasesResponse.
+ *
* Completes with a [ListDatabasesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -926,7 +926,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListDatabasesResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListDatabasesResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -937,12 +937,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/databases';
@@ -1444,10 +1444,9 @@
*
* Cloud Spanner limits the number of sessions that can exist at any given
* time; thus, it is a good idea to delete idle and/or unneeded sessions.
- * Aside from explicit deletes, Cloud Spanner can delete sessions for
- * which no operations are sent for more than an hour, or due to
- * internal errors. If a session is deleted, requests to it
- * return `NOT_FOUND`.
+ * Aside from explicit deletes, Cloud Spanner can delete sessions for which no
+ * operations are sent for more than an hour. If a session is deleted,
+ * requests to it return `NOT_FOUND`.
*
* Idle sessions can be kept alive by sending a trivial SQL query
* periodically, e.g., `"SELECT 1"`.
@@ -2001,12 +2000,12 @@
* [name] - The name of the operation collection.
* Value must have pattern "^projects/[^/]+/instances/[^/]+/operations$".
*
+ * [filter] - The standard list filter.
+ *
* [pageToken] - The standard list page token.
*
* [pageSize] - The standard list page size.
*
- * [filter] - The standard list filter.
- *
* Completes with a [ListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -2015,7 +2014,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListOperationsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<ListOperationsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2026,15 +2025,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
@@ -2413,6 +2412,15 @@
* any of the given values". It is not permitted to grant access based on
* the *absence* of a realm, so realm conditions can only be used in
* a "positive" context (e.g., ALLOW/IN or DENY/NOT_IN).
+ * - "APPROVER" : An approver (distinct from the requester) that has
+ * authorized this
+ * request.
+ * When used with IN, the condition indicates that one of the approvers
+ * associated with the request matches the specified principal, or is a
+ * member of the specified group. Approvers can only grant additional
+ * access, and are thus only used in a strictly positive context
+ * (e.g. ALLOW/IN or DENY/NOT_IN).
+ * See: go/rpc-security-policy-dynamicauth.
*/
core.String iam;
/**
diff --git a/generated/googleapis/lib/storage/v1.dart b/generated/googleapis/lib/storage/v1.dart
index 6760b13..b71019f 100644
--- a/generated/googleapis/lib/storage/v1.dart
+++ b/generated/googleapis/lib/storage/v1.dart
@@ -455,6 +455,45 @@
}
/**
+ * Returns an IAM policy for the specified bucket.
+ *
+ * Request parameters:
+ *
+ * [bucket] - Name of a bucket.
+ *
+ * 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<Policy> getIamPolicy(core.String bucket) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (bucket == null) {
+ throw new core.ArgumentError("Parameter bucket is required.");
+ }
+
+ _url = 'b/' + commons.Escaper.ecapeVariable('$bucket') + '/iam';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Policy.fromJson(data));
+ }
+
+ /**
* Creates a new bucket.
*
* [request] - The metadata request object.
@@ -709,6 +748,96 @@
}
/**
+ * Updates an IAM policy for the specified bucket.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [bucket] - Name of a bucket.
+ *
+ * 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<Policy> setIamPolicy(Policy request, core.String bucket) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (bucket == null) {
+ throw new core.ArgumentError("Parameter bucket is required.");
+ }
+
+ _url = 'b/' + commons.Escaper.ecapeVariable('$bucket') + '/iam';
+
+ var _response = _requester.request(_url,
+ "PUT",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Policy.fromJson(data));
+ }
+
+ /**
+ * Tests a set of permissions on the given bucket to see which, if any, are
+ * held by the caller.
+ *
+ * Request parameters:
+ *
+ * [bucket] - Name of a bucket.
+ *
+ * [permissions] - Permissions to test.
+ *
+ * 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<TestIamPermissionsResponse> testIamPermissions(core.String bucket, core.List<core.String> permissions) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (bucket == null) {
+ throw new core.ArgumentError("Parameter bucket is required.");
+ }
+ if (permissions == null || permissions.isEmpty) {
+ throw new core.ArgumentError("Parameter permissions is required.");
+ }
+ _queryParams["permissions"] = permissions;
+
+ _url = 'b/' + commons.Escaper.ecapeVariable('$bucket') + '/iam/testPermissions';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new TestIamPermissionsResponse.fromJson(data));
+ }
+
+ /**
* Updates a bucket. Changes to the bucket will be readable immediately after
* writing, but configuration changes may take time to propagate.
*
@@ -1960,6 +2089,57 @@
}
/**
+ * Returns an IAM policy for the specified object.
+ *
+ * Request parameters:
+ *
+ * [bucket] - Name of the bucket in which the object resides.
+ *
+ * [object] - Name of the object. For information about how to URL encode
+ * object names to be path safe, see Encoding URI Path Parts.
+ *
+ * [generation] - If present, selects a specific revision of this object (as
+ * opposed to the latest version, the default).
+ *
+ * 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<Policy> getIamPolicy(core.String bucket, core.String object, {core.String generation}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (bucket == null) {
+ throw new core.ArgumentError("Parameter bucket is required.");
+ }
+ if (object == null) {
+ throw new core.ArgumentError("Parameter object is required.");
+ }
+ if (generation != null) {
+ _queryParams["generation"] = [generation];
+ }
+
+ _url = 'b/' + commons.Escaper.ecapeVariable('$bucket') + '/o/' + commons.Escaper.ecapeVariable('$object') + '/iam';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Policy.fromJson(data));
+ }
+
+ /**
* Stores a new object and metadata.
*
* [request] - The metadata request object.
@@ -2455,6 +2635,120 @@
}
/**
+ * Updates an IAM policy for the specified object.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [bucket] - Name of the bucket in which the object resides.
+ *
+ * [object] - Name of the object. For information about how to URL encode
+ * object names to be path safe, see Encoding URI Path Parts.
+ *
+ * [generation] - If present, selects a specific revision of this object (as
+ * opposed to the latest version, the default).
+ *
+ * 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<Policy> setIamPolicy(Policy request, core.String bucket, core.String object, {core.String generation}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (bucket == null) {
+ throw new core.ArgumentError("Parameter bucket is required.");
+ }
+ if (object == null) {
+ throw new core.ArgumentError("Parameter object is required.");
+ }
+ if (generation != null) {
+ _queryParams["generation"] = [generation];
+ }
+
+ _url = 'b/' + commons.Escaper.ecapeVariable('$bucket') + '/o/' + commons.Escaper.ecapeVariable('$object') + '/iam';
+
+ var _response = _requester.request(_url,
+ "PUT",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Policy.fromJson(data));
+ }
+
+ /**
+ * Tests a set of permissions on the given object to see which, if any, are
+ * held by the caller.
+ *
+ * Request parameters:
+ *
+ * [bucket] - Name of the bucket in which the object resides.
+ *
+ * [object] - Name of the object. For information about how to URL encode
+ * object names to be path safe, see Encoding URI Path Parts.
+ *
+ * [permissions] - Permissions to test.
+ *
+ * [generation] - If present, selects a specific revision of this object (as
+ * opposed to the latest version, the default).
+ *
+ * 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<TestIamPermissionsResponse> testIamPermissions(core.String bucket, core.String object, core.List<core.String> permissions, {core.String generation}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (bucket == null) {
+ throw new core.ArgumentError("Parameter bucket is required.");
+ }
+ if (object == null) {
+ throw new core.ArgumentError("Parameter object is required.");
+ }
+ if (permissions == null || permissions.isEmpty) {
+ throw new core.ArgumentError("Parameter permissions is required.");
+ }
+ _queryParams["permissions"] = permissions;
+ if (generation != null) {
+ _queryParams["generation"] = [generation];
+ }
+
+ _url = 'b/' + commons.Escaper.ecapeVariable('$bucket') + '/o/' + commons.Escaper.ecapeVariable('$object') + '/iam/testPermissions';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new TestIamPermissionsResponse.fromJson(data));
+ }
+
+ /**
* Updates an object's metadata.
*
* [request] - The metadata request object.
@@ -4234,6 +4528,148 @@
}
}
+class PolicyBindings {
+ /**
+ * A collection of identifiers for members who may assume the provided role.
+ * Recognized identifiers are as follows:
+ * - allUsers — A special identifier that represents anyone 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.
+ * - user:emailid — An email address that represents a specific account. For
+ * example, user:alice@gmail.com or user:joe@example.com.
+ * - serviceAccount:emailid — An email address that represents a service
+ * account. For example,
+ * serviceAccount:my-other-app@appspot.gserviceaccount.com .
+ * - group:emailid — An email address that represents a Google group. For
+ * example, group:admins@example.com.
+ * - domain:domain — A Google Apps domain name that represents all the users
+ * of that domain. For example, domain:google.com or domain:example.com.
+ * - projectOwner:projectid — Owners of the given project. For example,
+ * projectOwner:my-example-project
+ * - projectEditor:projectid — Editors of the given project. For example,
+ * projectEditor:my-example-project
+ * - projectViewer:projectid — Viewers of the given project. For example,
+ * projectViewer:my-example-project
+ */
+ core.List<core.String> members;
+ /**
+ * The role to which members belong. Two types of roles are supported: new IAM
+ * roles, which grant permissions that do not map directly to those provided
+ * by ACLs, and legacy IAM roles, which do map directly to ACL permissions.
+ * All roles are of the format roles/storage.specificRole.
+ * The new IAM roles are:
+ * - roles/storage.admin — Full control of Google Cloud Storage resources.
+ * - roles/storage.objectViewer — Read-Only access to Google Cloud Storage
+ * objects.
+ * - roles/storage.objectCreator — Access to create objects in Google Cloud
+ * Storage.
+ * - roles/storage.objectAdmin — Full control of Google Cloud Storage objects.
+ * The legacy IAM roles are:
+ * - roles/storage.legacyObjectReader — Read-only access to objects without
+ * listing. Equivalent to an ACL entry on an object with the READER role.
+ * - roles/storage.legacyObjectOwner — Read/write access to existing objects
+ * without listing. Equivalent to an ACL entry on an object with the OWNER
+ * role.
+ * - roles/storage.legacyBucketReader — Read access to buckets with object
+ * listing. Equivalent to an ACL entry on a bucket with the READER role.
+ * - roles/storage.legacyBucketWriter — Read access to buckets with object
+ * listing/creation/deletion. Equivalent to an ACL entry on a bucket with the
+ * WRITER role.
+ * - roles/storage.legacyBucketOwner — Read and write access to existing
+ * buckets with object listing/creation/deletion. Equivalent to an ACL entry
+ * on a bucket with the OWNER role.
+ */
+ core.String role;
+
+ PolicyBindings();
+
+ PolicyBindings.fromJson(core.Map _json) {
+ if (_json.containsKey("members")) {
+ members = _json["members"];
+ }
+ if (_json.containsKey("role")) {
+ role = _json["role"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (members != null) {
+ _json["members"] = members;
+ }
+ if (role != null) {
+ _json["role"] = role;
+ }
+ return _json;
+ }
+}
+
+/** A bucket/object IAM policy. */
+class Policy {
+ /**
+ * An association between a role, which comes with a set of permissions, and
+ * members who may assume that role.
+ */
+ core.List<PolicyBindings> bindings;
+ /** HTTP 1.1 Entity tag for the policy. */
+ core.String etag;
+ core.List<core.int> get etagAsBytes {
+ return convert.BASE64.decode(etag);
+ }
+
+ void set etagAsBytes(core.List<core.int> _bytes) {
+ etag = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
+ }
+ /**
+ * The kind of item this is. For policies, this is always storage#policy. This
+ * field is ignored on input.
+ */
+ core.String kind;
+ /**
+ * The ID of the resource to which this policy belongs. Will be of the form
+ * buckets/bucket for buckets, and buckets/bucket/objects/object for objects.
+ * A specific generation may be specified by appending #generationNumber to
+ * the end of the object name, e.g. buckets/my-bucket/objects/data.txt#17. The
+ * current generation can be denoted with #0. This field is ignored on input.
+ */
+ core.String resourceId;
+
+ Policy();
+
+ Policy.fromJson(core.Map _json) {
+ if (_json.containsKey("bindings")) {
+ bindings = _json["bindings"].map((value) => new PolicyBindings.fromJson(value)).toList();
+ }
+ if (_json.containsKey("etag")) {
+ etag = _json["etag"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("resourceId")) {
+ resourceId = _json["resourceId"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (bindings != null) {
+ _json["bindings"] = bindings.map((value) => (value).toJson()).toList();
+ }
+ if (etag != null) {
+ _json["etag"] = etag;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (resourceId != null) {
+ _json["resourceId"] = resourceId;
+ }
+ return _json;
+ }
+}
+
/** A rewrite response. */
class RewriteResponse {
/**
@@ -4310,3 +4746,51 @@
return _json;
}
}
+
+/** A storage.(buckets|objects).testIamPermissions response. */
+class TestIamPermissionsResponse {
+ /** The kind of item this is. */
+ core.String kind;
+ /**
+ * The permissions held by the caller. Permissions are always of the format
+ * storage.resource.capability, where resource is one of buckets or objects.
+ * The supported permissions are as follows:
+ * - storage.buckets.delete — Delete bucket.
+ * - storage.buckets.get — Read bucket metadata.
+ * - storage.buckets.getIamPolicy — Read bucket IAM policy.
+ * - storage.buckets.create — Create bucket.
+ * - storage.buckets.list — List buckets.
+ * - storage.buckets.setIamPolicy — Update bucket IAM policy.
+ * - storage.buckets.update — Update bucket metadata.
+ * - storage.objects.delete — Delete object.
+ * - storage.objects.get — Read object data and metadata.
+ * - storage.objects.getIamPolicy — Read object IAM policy.
+ * - storage.objects.create — Create object.
+ * - storage.objects.list — List objects.
+ * - storage.objects.setIamPolicy — Update object IAM policy.
+ * - storage.objects.update — Update object metadata.
+ */
+ core.List<core.String> permissions;
+
+ TestIamPermissionsResponse();
+
+ TestIamPermissionsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("permissions")) {
+ permissions = _json["permissions"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (permissions != null) {
+ _json["permissions"] = permissions;
+ }
+ return _json;
+ }
+}
diff --git a/generated/googleapis/lib/tracing/v1.dart b/generated/googleapis/lib/tracing/v1.dart
index c76ca51..d7a38ba 100644
--- a/generated/googleapis/lib/tracing/v1.dart
+++ b/generated/googleapis/lib/tracing/v1.dart
@@ -105,8 +105,7 @@
*
* Request parameters:
*
- * [name] - ID of the trace which is
- * "projects/<project_id>/traces/<trace_id>".
+ * [name] - ID of the trace. Format is `projects/PROJECT_ID/traces/TRACE_ID`.
* Value must have pattern "^projects/[^/]+/traces/[^/]+$".
*
* Completes with a [Trace].
@@ -149,9 +148,26 @@
* [parent] - ID of the Cloud project where the trace data is stored.
* Value must have pattern "^projects/[^/]+$".
*
+ * [filter] - An optional filter for the request.
+ * Example:
+ * `version_label_key:a some_label:some_label_key`
+ * returns traces from version `a` and has `some_label` with `some_label_key`.
+ *
+ * [endTime] - End of the time interval (inclusive) during which the trace
+ * data was
+ * collected from the application.
+ *
+ * [startTime] - Start of the time interval (inclusive) during which the trace
+ * data was
+ * collected from the application.
+ *
+ * [pageToken] - Token identifying the page of results to return. If provided,
+ * use the
+ * value of the `next_page_token` field from a previous request. Optional.
+ *
* [pageSize] - Maximum number of traces to return. If not specified or <= 0,
* the
- * implementation selects a reasonable value. The implementation may
+ * implementation selects a reasonable value. The implementation may
* return fewer traces than the requested page size. Optional.
*
* [orderBy] - Field used to sort the returned traces. Optional.
@@ -168,23 +184,6 @@
*
* Only one sort field is permitted.
*
- * [filter] - An optional filter for the request.
- * Example:
- * "version_label_key:a some_label:some_label_key"
- * returns traces from version a and has some_label with some_label_key.
- *
- * [endTime] - End of the time interval (inclusive) during which the trace
- * data was
- * collected from the application.
- *
- * [pageToken] - Token identifying the page of results to return. If provided,
- * use the
- * value of the `next_page_token` field from a previous request. Optional.
- *
- * [startTime] - Start of the time interval (inclusive) during which the trace
- * data was
- * collected from the application.
- *
* Completes with a [ListTracesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -193,7 +192,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListTracesResponse> list(core.String parent, {core.int pageSize, core.String orderBy, core.String filter, core.String endTime, core.String pageToken, core.String startTime}) {
+ async.Future<ListTracesResponse> list(core.String parent, {core.String filter, core.String endTime, core.String startTime, core.String pageToken, core.int pageSize, core.String orderBy}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -204,23 +203,23 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
if (endTime != null) {
_queryParams["endTime"] = [endTime];
}
+ if (startTime != null) {
+ _queryParams["startTime"] = [startTime];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (startTime != null) {
- _queryParams["startTime"] = [startTime];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
}
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/traces';
@@ -240,13 +239,13 @@
*
* Request parameters:
*
- * [name] - ID of the span set where is
- * "projects/<project_id>/traces/<trace_id>".
+ * [name] - ID of the trace for which to list child spans. Format is
+ * `projects/PROJECT_ID/traces/TRACE_ID`.
* Value must have pattern "^projects/[^/]+/traces/[^/]+$".
*
* [pageToken] - Token identifying the page of results to return. If provided,
* use the
- * value of the `page_token` field from a previous request. Optional.
+ * value of the `nextPageToken` field from a previous request. Optional.
*
* Completes with a [ListSpansResponse].
*
@@ -317,7 +316,7 @@
}
}
-/** Allowed attribute values. */
+/** The allowed types for the value side of an attribute key:value pair. */
class AttributeValue {
/** A boolean value. */
core.bool boolValue;
@@ -402,22 +401,21 @@
}
/**
- * Link one span with another which may be in a different Trace. Used (for
- * example) in batching operations, where a single batch handler processes
- * multiple requests from different traces.
+ * A pointer from this span to another span in a different `Trace`. Used
+ * (for example) in batching operations, where a single batch handler
+ * processes multiple requests from different traces.
*/
class Link {
- /** The span identifier of the linked span. */
+ /** The `id` of the linked span. */
core.String spanId;
- /** The trace identifier of the linked span. */
+ /** The ID of the parent trace of the linked span. */
core.String traceId;
/**
- * The type of the link.
+ * The relationship of the current span relative to the linked span.
* Possible string values are:
- * - "TYPE_UNSPECIFIED" : The relation of current span and linked span is
- * unknown.
- * - "CHILD" : Current span is child of the linked span.
- * - "PARENT" : Current span is parent of the linked span.
+ * - "TYPE_UNSPECIFIED" : The relationship of the two spans is unknown.
+ * - "CHILD" : The current span is a child of the linked span.
+ * - "PARENT" : The current span is the parent of the linked span.
*/
core.String type;
@@ -450,15 +448,15 @@
}
}
-/** The response message for the 'ListSpans' method. */
+/** The response message for the `ListSpans` method. */
class ListSpansResponse {
/**
- * If defined, indicates that there are more spans that match the request
- * and that this value should be passed to the next request to continue
- * retrieving additional spans.
+ * If defined, indicates that there are more spans that match the request.
+ * Pass this as the value of `pageToken` in a subsequent request to retrieve
+ * additional spans.
*/
core.String nextPageToken;
- /** The requested spans if they are any in the specified trace. */
+ /** The requested spans if there are any in the specified trace. */
core.List<Span> spans;
ListSpansResponse();
@@ -558,25 +556,23 @@
class NetworkEvent {
/**
* If available, this is the kernel time:
- * For sent messages, this is the time at which the first bit was sent.
- * For received messages, this is the time at which the last bit was
- * received.
+ *
+ * * For sent messages, this is the time at which the first bit was sent.
+ * * For received messages, this is the time at which the last bit was
+ * received.
*/
core.String kernelTime;
- /**
- * Every message has an identifier, which must be different from all the
- * network messages in this span.
- * This is especially important when the request/response are streamed.
- */
+ /** An identifier for the message, which must be unique in this span. */
core.String messageId;
- /** Number of bytes send/receive. */
+ /** The number of bytes sent or received. */
core.String messageSize;
/**
- * Type of a NetworkEvent.
+ * Type of NetworkEvent. Indicates whether the RPC message was sent or
+ * received.
* Possible string values are:
- * - "TYPE_UNSPECIFIED" : Unknown event.
- * - "SENT" : Event type for sending RPC message.
- * - "RECV" : Event type for receiving RPC message.
+ * - "TYPE_UNSPECIFIED" : Unknown event type.
+ * - "SENT" : Indicates a sent RPC message.
+ * - "RECV" : Indicates a received RPC message.
*/
core.String type;
@@ -617,51 +613,57 @@
/**
* A span represents a single operation within a trace. Spans can be nested
- * and form a trace tree. Often, a trace contains a root span that describes the
- * end-to-end latency and, optionally, one or more subspans for
- * its sub-operations. Spans do not need to be contiguous. There may be gaps
- * between spans in a trace.
+ * to form a trace tree. Often, a trace contains a root span that
+ * describes the end-to-end latency and, optionally, one or more subspans for
+ * its sub-operations. (A trace could alternatively contain multiple root spans,
+ * or none at all.) Spans do not need to be contiguous. There may be gaps
+ * and/or overlaps between spans in a trace.
*/
class Span {
/**
- * Properties of a span. Attributes at the span level.
- * E.g.
- * "/instance_id": "my-instance"
- * "/zone": "us-central1-a"
- * "/grpc/peer_address": "ip:port" (dns, etc.)
- * "/grpc/deadline": "Duration"
- * "/http/user_agent"
- * "/http/request_bytes": 300
- * "/http/response_bytes": 1200
- * "/http/url": google.com/apis
- * "/pid"
- * "abc.com/myattribute": "my attribute value"
+ * Properties of a span in key:value format. The maximum length for the
+ * key is 128 characters. The value can be a string (up to 2000 characters),
+ * int, or boolean.
*
- * Maximum length for attribute key is 128 characters, for string attribute
- * value is 2K characters.
+ * Some common pair examples:
+ *
+ * "/instance_id": "my-instance"
+ * "/zone": "us-central1-a"
+ * "/grpc/peer_address": "ip:port" (dns, etc.)
+ * "/grpc/deadline": "Duration"
+ * "/http/user_agent"
+ * "/http/request_bytes": 300
+ * "/http/response_bytes": 1200
+ * "/http/url": google.com/apis
+ * "abc.com/myattribute": true
*/
core.Map<core.String, AttributeValue> attributes;
- /** True if this Span has a remote parent (is an RPC server Span). */
+ /** True if this span has a remote parent (is an RPC server span). */
core.bool hasRemoteParent;
/**
* Identifier for the span. Must be a 64-bit integer other than 0 and
* unique within a trace.
*/
core.String id;
- /** A collection of links. */
+ /**
+ * A collection of links, which are references from this span to another span
+ * in a different trace.
+ */
core.List<Link> links;
/**
- * Local machine clock time from the UNIX epoch,
- * at which span execution ended.
- * On the server side these are the times when the server application
- * handler finishes running.
+ * End time of the span.
+ * On the client side, this is the local machine clock time at which the span
+ * execution was ended; on the server
+ * side, this is the time at which the server application handler stopped
+ * running.
*/
core.String localEndTime;
/**
- * Local machine clock time from the UNIX epoch,
- * at which span execution started.
- * On the server side these are the times when the server application
- * handler starts running.
+ * Start time of the span.
+ * On the client side, this is the local machine clock time at which the span
+ * execution was started; on the server
+ * side, this is the time at which the server application handler started
+ * running.
*/
core.String localStartTime;
/**
@@ -673,13 +675,20 @@
* cross-trace spans.
*/
core.String name;
- /** ID of parent span. 0 or missing if this is a root span. */
+ /**
+ * ID of the parent span. If this is a root span, the value must be `0` or
+ * empty.
+ */
core.String parentId;
- /** Stack trace captured at the start of the span. This is optional. */
+ /** Stack trace captured at the start of the span. */
StackTrace stackTrace;
- /** The final status of the Span. This is optional. */
+ /** An optional final status for this span. */
Status status;
- /** A collection of time-stamped events. */
+ /**
+ * A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation
+ * on the span, consisting of either user-supplied key:value pairs, or
+ * details of an RPC message sent/received on the network.
+ */
core.List<TimeEvent> timeEvents;
Span();
@@ -781,30 +790,31 @@
}
}
-/** Presents a single stack frame in a stack trace. */
+/** Represents a single stack frame in a stack trace. */
class StackFrame {
/**
- * Column number is important in JavaScript(anonymous functions),
- * Might not be available in some languages.
+ * Column number is important in JavaScript (anonymous functions).
+ * May not be available in some languages.
*/
core.String columnNumber;
- /** File name of the frame. */
+ /** The filename of the file containing this frame. */
core.String fileName;
- /** Fully qualified names which uniquely identify function/method/etc. */
+ /**
+ * The fully-qualified name that uniquely identifies this function or
+ * method.
+ */
core.String functionName;
/** Line number of the frame. */
core.String lineNumber;
/** Binary module the code is loaded from. */
Module loadModule;
/**
- * Used when function name is ‘mangled’. Not guaranteed to be fully
- * qualified but usually it is.
+ * Used when the function name is
+ * [mangled](http://www.avabodh.com/cxxin/namemangling.html). May be
+ * fully-qualified.
*/
core.String originalFunctionName;
- /**
- * source_version is deployment specific. It might be
- * better to be stored in deployment metadata.
- */
+ /** The version of the deployed source code. */
core.String sourceVersion;
StackFrame();
@@ -865,12 +875,15 @@
/** Stack frames of this stack trace. */
core.List<StackFrame> stackFrame;
/**
- * User can choose to use their own hash function to hash large attributes to
- * save network bandwidth and storage.
- * Typical usage is to pass both stack_frame and stack_trace_hash_id initially
- * to inform the storage of the mapping. And in subsequent calls, pass in
- * stack_trace_hash_id only. User shall verify the hash value is
- * successfully stored.
+ * The hash ID is used to conserve network bandwidth for duplicate
+ * stack traces within a single trace.
+ *
+ * Often multiple spans will have identical stack traces.
+ * The first occurance of a stack trace should contain both the
+ * `stackFrame` content and a value in `stackTraceHashId`.
+ *
+ * Subsequent spans within the same request can refer
+ * to that stack trace by only setting `stackTraceHashId`.
*/
core.String stackTraceHashId;
@@ -1002,11 +1015,11 @@
/** A time-stamped annotation in the Span. */
class TimeEvent {
- /** Optional field for user supplied <string, AttributeValue> map */
+ /** One or more key:value pairs. */
Annotation annotation;
- /** The local machine absolute timestamp when this event happened. */
+ /** The timestamp indicating the time the event occurred. */
core.String localTime;
- /** Optional field that can be used only for network events. */
+ /** An event describing an RPC message sent/received on the network. */
NetworkEvent networkEvent;
TimeEvent();
@@ -1040,14 +1053,14 @@
/**
* A trace describes how long it takes for an application to perform some
- * operations. It consists of a set of spans, each of which contains details
- * about an operation with time information and operation details.
+ * operations. It consists of a set of spans, each representing
+ * an operation and including time information and operation details.
*/
class Trace {
/**
- * ID of the trace which is "projects/<project_id>/traces/<trace_id>".
- * trace_id is globally unique identifier for the trace. Common to all the
- * spans. It is conceptually a 128-bit hex-encoded value.
+ * A globally unique identifier for the trace in the format
+ * `projects/PROJECT_NUMBER/traces/TRACE_ID`. `TRACE_ID` is a base16-encoded
+ * string of a 128-bit number and is required to be 32 char long.
*/
core.String name;
diff --git a/generated/googleapis/lib/vision/v1.dart b/generated/googleapis/lib/vision/v1.dart
index 616119c..70528b8 100644
--- a/generated/googleapis/lib/vision/v1.dart
+++ b/generated/googleapis/lib/vision/v1.dart
@@ -2128,6 +2128,8 @@
* example an original image will likely have partial matching for its crops.
*/
core.List<WebImage> partialMatchingImages;
+ /** The visually similar image results. */
+ core.List<WebImage> visuallySimilarImages;
/** Deduced entities from similar images on the Internet. */
core.List<WebEntity> webEntities;
@@ -2143,6 +2145,9 @@
if (_json.containsKey("partialMatchingImages")) {
partialMatchingImages = _json["partialMatchingImages"].map((value) => new WebImage.fromJson(value)).toList();
}
+ if (_json.containsKey("visuallySimilarImages")) {
+ visuallySimilarImages = _json["visuallySimilarImages"].map((value) => new WebImage.fromJson(value)).toList();
+ }
if (_json.containsKey("webEntities")) {
webEntities = _json["webEntities"].map((value) => new WebEntity.fromJson(value)).toList();
}
@@ -2159,6 +2164,9 @@
if (partialMatchingImages != null) {
_json["partialMatchingImages"] = partialMatchingImages.map((value) => (value).toJson()).toList();
}
+ if (visuallySimilarImages != null) {
+ _json["visuallySimilarImages"] = visuallySimilarImages.map((value) => (value).toJson()).toList();
+ }
if (webEntities != null) {
_json["webEntities"] = webEntities.map((value) => (value).toJson()).toList();
}
diff --git a/generated/googleapis/lib/youtubereporting/v1.dart b/generated/googleapis/lib/youtubereporting/v1.dart
index ab6bc82..9ab8ae0 100644
--- a/generated/googleapis/lib/youtubereporting/v1.dart
+++ b/generated/googleapis/lib/youtubereporting/v1.dart
@@ -476,10 +476,6 @@
*
* Request parameters:
*
- * [onBehalfOfContentOwner] - The content owner's external ID on which behalf
- * the user is acting on. If
- * not set, the user is acting for himself (his own channel).
- *
* [pageToken] - A token identifying a page of results the server should
* return. Typically,
* this is the value of
@@ -495,6 +491,10 @@
* requested.
* If unspecified, server will pick an appropriate default.
*
+ * [onBehalfOfContentOwner] - The content owner's external ID on which behalf
+ * the user is acting on. If
+ * not set, the user is acting for himself (his own channel).
+ *
* Completes with a [ListReportTypesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -503,7 +503,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListReportTypesResponse> list({core.String onBehalfOfContentOwner, core.String pageToken, core.bool includeSystemManaged, core.int pageSize}) {
+ async.Future<ListReportTypesResponse> list({core.String pageToken, core.bool includeSystemManaged, core.int pageSize, core.String onBehalfOfContentOwner}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -511,9 +511,6 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -523,6 +520,9 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (onBehalfOfContentOwner != null) {
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
+ }
_url = 'v1/reportTypes';
diff --git a/generated/googleapis/pubspec.yaml b/generated/googleapis/pubspec.yaml
index 9f63161..3f0e905 100644
--- a/generated/googleapis/pubspec.yaml
+++ b/generated/googleapis/pubspec.yaml
@@ -1,7 +1,7 @@
name: googleapis
-version: 0.36.0
+version: 0.37.0
author: Dart Team <misc@dartlang.org>
-description: "Auto-generated client libraries for accessing the following APIs:acceleratedmobilepageurl:v1, adexchangebuyer:v1.3, adexchangebuyer:v1.4, adexchangeseller:v1.1, adexchangeseller:v2.0, admin:datatransfer_v1, admin:directory_v1, admin:reports_v1, adsense:v1.4, adsensehost:v4.1, analytics:v3, analyticsreporting:v4, androidenterprise:v1, androidpublisher:v2, appengine:v1, appsactivity:v1, appstate:v1, bigquery:v2, blogger:v3, books:v1, calendar:v3, civicinfo:v2, classroom:v1, cloudbilling:v1, cloudbuild:v1, clouddebugger:v2, cloudresourcemanager:v1, cloudtrace:v1, compute:v1, consumersurveys:v2, container:v1, content:v2, content:v2sandbox, customsearch:v1, dataproc:v1, datastore:v1, deploymentmanager:v2, dfareporting:v2.6, dfareporting:v2.7, discovery:v1, dns:v1, doubleclickbidmanager:v1, doubleclicksearch:v2, drive:v2, drive:v3, firebasedynamiclinks:v1, firebaserules:v1, fitness:v1, fusiontables:v1, fusiontables:v2, games:v1, gamesConfiguration:v1configuration, gamesManagement:v1management, genomics:v1, gmail:v1, groupsmigration:v1, groupssettings:v1, iam:v1, identitytoolkit:v3, kgsearch:v1, language:v1, licensing:v1, logging:v2, manufacturers:v1, mirror:v1, monitoring:v3, oauth2:v2, pagespeedonline:v1, pagespeedonline:v2, partners:v2, people:v1, playmoviespartner:v1, plus:v1, plusDomains:v1, prediction:v1.6, pubsub:v1, qpxExpress:v1, reseller:v1, runtimeconfig:v1, safebrowsing:v4, script:v1, searchconsole:v1, servicecontrol:v1, servicemanagement:v1, serviceuser:v1, sheets:v4, siteVerification:v1, slides:v1, sourcerepo:v1, spanner:v1, storage:v1, storagetransfer:v1, surveys:v2, tagmanager:v1, tasks:v1, tracing:v1, translate:v2, urlshortener:v1, vision:v1, webfonts:v1, webmasters:v3, youtube:v3, youtubeAnalytics:v1, youtubereporting:v1"
+description: "Auto-generated client libraries for accessing the following APIs:acceleratedmobilepageurl:v1, adexchangebuyer:v1.3, adexchangebuyer:v1.4, adexchangeseller:v1.1, adexchangeseller:v2.0, admin:datatransfer_v1, admin:directory_v1, admin:reports_v1, adsense:v1.4, adsensehost:v4.1, analytics:v3, analyticsreporting:v4, androidenterprise:v1, androidpublisher:v2, appengine:v1, appsactivity:v1, appstate:v1, bigquery:v2, blogger:v3, books:v1, calendar:v3, civicinfo:v2, classroom:v1, cloudbilling:v1, cloudbuild:v1, clouddebugger:v2, cloudfunctions:v1, cloudkms:v1, cloudresourcemanager:v1, cloudtrace:v1, compute:v1, consumersurveys:v2, container:v1, content:v2, content:v2sandbox, customsearch:v1, dataproc:v1, datastore:v1, deploymentmanager:v2, dfareporting:v2.6, dfareporting:v2.7, discovery:v1, dns:v1, doubleclickbidmanager:v1, doubleclicksearch:v2, drive:v2, drive:v3, firebasedynamiclinks:v1, firebaserules:v1, fitness:v1, fusiontables:v1, fusiontables:v2, games:v1, gamesConfiguration:v1configuration, gamesManagement:v1management, genomics:v1, gmail:v1, groupsmigration:v1, groupssettings:v1, iam:v1, identitytoolkit:v3, kgsearch:v1, language:v1, licensing:v1, logging:v2, manufacturers:v1, mirror:v1, ml:v1, monitoring:v3, oauth2:v2, pagespeedonline:v1, pagespeedonline:v2, partners:v2, people:v1, playmoviespartner:v1, plus:v1, plusDomains:v1, prediction:v1.6, pubsub:v1, qpxExpress:v1, reseller:v1, runtimeconfig:v1, safebrowsing:v4, script:v1, searchconsole:v1, servicecontrol:v1, servicemanagement:v1, serviceuser:v1, sheets:v4, siteVerification:v1, slides:v1, sourcerepo:v1, spanner:v1, storage:v1, storagetransfer:v1, surveys:v2, tagmanager:v1, tasks:v1, tracing:v1, translate:v2, urlshortener:v1, vision:v1, webfonts:v1, webmasters:v3, youtube:v3, youtubeAnalytics:v1, youtubereporting:v1"
homepage: http://www.dartlang.org/googleapis/
environment:
sdk: '>=1.14.0 <2.0.0'
diff --git a/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart b/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart
index efa8bfa..3d6c3c1 100644
--- a/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart
+++ b/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart
@@ -97,14 +97,14 @@
buildCounterAmpUrlError--;
}
-buildUnnamed1129() {
+buildUnnamed1160() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1129(core.List<core.String> o) {
+checkUnnamed1160(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -116,7 +116,7 @@
buildCounterBatchGetAmpUrlsRequest++;
if (buildCounterBatchGetAmpUrlsRequest < 3) {
o.lookupStrategy = "foo";
- o.urls = buildUnnamed1129();
+ o.urls = buildUnnamed1160();
}
buildCounterBatchGetAmpUrlsRequest--;
return o;
@@ -126,32 +126,32 @@
buildCounterBatchGetAmpUrlsRequest++;
if (buildCounterBatchGetAmpUrlsRequest < 3) {
unittest.expect(o.lookupStrategy, unittest.equals('foo'));
- checkUnnamed1129(o.urls);
+ checkUnnamed1160(o.urls);
}
buildCounterBatchGetAmpUrlsRequest--;
}
-buildUnnamed1130() {
+buildUnnamed1161() {
var o = new core.List<api.AmpUrl>();
o.add(buildAmpUrl());
o.add(buildAmpUrl());
return o;
}
-checkUnnamed1130(core.List<api.AmpUrl> o) {
+checkUnnamed1161(core.List<api.AmpUrl> o) {
unittest.expect(o, unittest.hasLength(2));
checkAmpUrl(o[0]);
checkAmpUrl(o[1]);
}
-buildUnnamed1131() {
+buildUnnamed1162() {
var o = new core.List<api.AmpUrlError>();
o.add(buildAmpUrlError());
o.add(buildAmpUrlError());
return o;
}
-checkUnnamed1131(core.List<api.AmpUrlError> o) {
+checkUnnamed1162(core.List<api.AmpUrlError> o) {
unittest.expect(o, unittest.hasLength(2));
checkAmpUrlError(o[0]);
checkAmpUrlError(o[1]);
@@ -162,8 +162,8 @@
var o = new api.BatchGetAmpUrlsResponse();
buildCounterBatchGetAmpUrlsResponse++;
if (buildCounterBatchGetAmpUrlsResponse < 3) {
- o.ampUrls = buildUnnamed1130();
- o.urlErrors = buildUnnamed1131();
+ o.ampUrls = buildUnnamed1161();
+ o.urlErrors = buildUnnamed1162();
}
buildCounterBatchGetAmpUrlsResponse--;
return o;
@@ -172,8 +172,8 @@
checkBatchGetAmpUrlsResponse(api.BatchGetAmpUrlsResponse o) {
buildCounterBatchGetAmpUrlsResponse++;
if (buildCounterBatchGetAmpUrlsResponse < 3) {
- checkUnnamed1130(o.ampUrls);
- checkUnnamed1131(o.urlErrors);
+ checkUnnamed1161(o.ampUrls);
+ checkUnnamed1162(o.urlErrors);
}
buildCounterBatchGetAmpUrlsResponse--;
}
diff --git a/generated/googleapis/test/adexchangebuyer/v1_3_test.dart b/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
index 3357565..e609150 100644
--- a/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
+++ b/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
@@ -74,14 +74,14 @@
buildCounterAccountBidderLocation--;
}
-buildUnnamed842() {
+buildUnnamed868() {
var o = new core.List<api.AccountBidderLocation>();
o.add(buildAccountBidderLocation());
o.add(buildAccountBidderLocation());
return o;
}
-checkUnnamed842(core.List<api.AccountBidderLocation> o) {
+checkUnnamed868(core.List<api.AccountBidderLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountBidderLocation(o[0]);
checkAccountBidderLocation(o[1]);
@@ -92,7 +92,7 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.bidderLocation = buildUnnamed842();
+ o.bidderLocation = buildUnnamed868();
o.cookieMatchingNid = "foo";
o.cookieMatchingUrl = "foo";
o.id = 42;
@@ -108,7 +108,7 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed842(o.bidderLocation);
+ checkUnnamed868(o.bidderLocation);
unittest.expect(o.cookieMatchingNid, unittest.equals('foo'));
unittest.expect(o.cookieMatchingUrl, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals(42));
@@ -120,14 +120,14 @@
buildCounterAccount--;
}
-buildUnnamed843() {
+buildUnnamed869() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed843(core.List<api.Account> o) {
+checkUnnamed869(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -138,7 +138,7 @@
var o = new api.AccountsList();
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- o.items = buildUnnamed843();
+ o.items = buildUnnamed869();
o.kind = "foo";
}
buildCounterAccountsList--;
@@ -148,20 +148,20 @@
checkAccountsList(api.AccountsList o) {
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- checkUnnamed843(o.items);
+ checkUnnamed869(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsList--;
}
-buildUnnamed844() {
+buildUnnamed870() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed844(core.List<core.String> o) {
+checkUnnamed870(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -174,7 +174,7 @@
if (buildCounterBillingInfo < 3) {
o.accountId = 42;
o.accountName = "foo";
- o.billingId = buildUnnamed844();
+ o.billingId = buildUnnamed870();
o.kind = "foo";
}
buildCounterBillingInfo--;
@@ -186,20 +186,20 @@
if (buildCounterBillingInfo < 3) {
unittest.expect(o.accountId, unittest.equals(42));
unittest.expect(o.accountName, unittest.equals('foo'));
- checkUnnamed844(o.billingId);
+ checkUnnamed870(o.billingId);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfo--;
}
-buildUnnamed845() {
+buildUnnamed871() {
var o = new core.List<api.BillingInfo>();
o.add(buildBillingInfo());
o.add(buildBillingInfo());
return o;
}
-checkUnnamed845(core.List<api.BillingInfo> o) {
+checkUnnamed871(core.List<api.BillingInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingInfo(o[0]);
checkBillingInfo(o[1]);
@@ -210,7 +210,7 @@
var o = new api.BillingInfoList();
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- o.items = buildUnnamed845();
+ o.items = buildUnnamed871();
o.kind = "foo";
}
buildCounterBillingInfoList--;
@@ -220,7 +220,7 @@
checkBillingInfoList(api.BillingInfoList o) {
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- checkUnnamed845(o.items);
+ checkUnnamed871(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfoList--;
@@ -255,53 +255,53 @@
buildCounterBudget--;
}
-buildUnnamed846() {
+buildUnnamed872() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed846(core.List<core.String> o) {
+checkUnnamed872(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed847() {
+buildUnnamed873() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed847(core.List<core.int> o) {
+checkUnnamed873(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed848() {
+buildUnnamed874() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed848(core.List<core.String> o) {
+checkUnnamed874(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed849() {
+buildUnnamed875() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed849(core.List<core.String> o) {
+checkUnnamed875(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -312,7 +312,7 @@
var o = new api.CreativeCorrections();
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- o.details = buildUnnamed849();
+ o.details = buildUnnamed875();
o.reason = "foo";
}
buildCounterCreativeCorrections--;
@@ -322,33 +322,33 @@
checkCreativeCorrections(api.CreativeCorrections o) {
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- checkUnnamed849(o.details);
+ checkUnnamed875(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeCorrections--;
}
-buildUnnamed850() {
+buildUnnamed876() {
var o = new core.List<api.CreativeCorrections>();
o.add(buildCreativeCorrections());
o.add(buildCreativeCorrections());
return o;
}
-checkUnnamed850(core.List<api.CreativeCorrections> o) {
+checkUnnamed876(core.List<api.CreativeCorrections> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCorrections(o[0]);
checkCreativeCorrections(o[1]);
}
-buildUnnamed851() {
+buildUnnamed877() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed851(core.List<core.String> o) {
+checkUnnamed877(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -359,7 +359,7 @@
var o = new api.CreativeDisapprovalReasons();
buildCounterCreativeDisapprovalReasons++;
if (buildCounterCreativeDisapprovalReasons < 3) {
- o.details = buildUnnamed851();
+ o.details = buildUnnamed877();
o.reason = "foo";
}
buildCounterCreativeDisapprovalReasons--;
@@ -369,20 +369,20 @@
checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) {
buildCounterCreativeDisapprovalReasons++;
if (buildCounterCreativeDisapprovalReasons < 3) {
- checkUnnamed851(o.details);
+ checkUnnamed877(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeDisapprovalReasons--;
}
-buildUnnamed852() {
+buildUnnamed878() {
var o = new core.List<api.CreativeDisapprovalReasons>();
o.add(buildCreativeDisapprovalReasons());
o.add(buildCreativeDisapprovalReasons());
return o;
}
-checkUnnamed852(core.List<api.CreativeDisapprovalReasons> o) {
+checkUnnamed878(core.List<api.CreativeDisapprovalReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeDisapprovalReasons(o[0]);
checkCreativeDisapprovalReasons(o[1]);
@@ -409,14 +409,14 @@
buildCounterCreativeFilteringReasonsReasons--;
}
-buildUnnamed853() {
+buildUnnamed879() {
var o = new core.List<api.CreativeFilteringReasonsReasons>();
o.add(buildCreativeFilteringReasonsReasons());
o.add(buildCreativeFilteringReasonsReasons());
return o;
}
-checkUnnamed853(core.List<api.CreativeFilteringReasonsReasons> o) {
+checkUnnamed879(core.List<api.CreativeFilteringReasonsReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFilteringReasonsReasons(o[0]);
checkCreativeFilteringReasonsReasons(o[1]);
@@ -428,7 +428,7 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
o.date = "foo";
- o.reasons = buildUnnamed853();
+ o.reasons = buildUnnamed879();
}
buildCounterCreativeFilteringReasons--;
return o;
@@ -438,19 +438,19 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
unittest.expect(o.date, unittest.equals('foo'));
- checkUnnamed853(o.reasons);
+ checkUnnamed879(o.reasons);
}
buildCounterCreativeFilteringReasons--;
}
-buildUnnamed854() {
+buildUnnamed880() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed854(core.List<core.String> o) {
+checkUnnamed880(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -502,14 +502,14 @@
buildCounterCreativeNativeAdImage--;
}
-buildUnnamed855() {
+buildUnnamed881() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed855(core.List<core.String> o) {
+checkUnnamed881(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -550,7 +550,7 @@
o.clickTrackingUrl = "foo";
o.headline = "foo";
o.image = buildCreativeNativeAdImage();
- o.impressionTrackingUrl = buildUnnamed855();
+ o.impressionTrackingUrl = buildUnnamed881();
o.logo = buildCreativeNativeAdLogo();
o.price = "foo";
o.starRating = 42.0;
@@ -570,7 +570,7 @@
unittest.expect(o.clickTrackingUrl, unittest.equals('foo'));
unittest.expect(o.headline, unittest.equals('foo'));
checkCreativeNativeAdImage(o.image);
- checkUnnamed855(o.impressionTrackingUrl);
+ checkUnnamed881(o.impressionTrackingUrl);
checkCreativeNativeAdLogo(o.logo);
unittest.expect(o.price, unittest.equals('foo'));
unittest.expect(o.starRating, unittest.equals(42.0));
@@ -579,53 +579,53 @@
buildCounterCreativeNativeAd--;
}
-buildUnnamed856() {
+buildUnnamed882() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed856(core.List<core.int> o) {
+checkUnnamed882(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed857() {
+buildUnnamed883() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed857(core.List<core.int> o) {
+checkUnnamed883(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed858() {
+buildUnnamed884() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed858(core.List<core.int> o) {
+checkUnnamed884(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed859() {
+buildUnnamed885() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed859(core.List<core.int> o) {
+checkUnnamed885(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -638,25 +638,25 @@
if (buildCounterCreative < 3) {
o.HTMLSnippet = "foo";
o.accountId = 42;
- o.advertiserId = buildUnnamed846();
+ o.advertiserId = buildUnnamed872();
o.advertiserName = "foo";
o.agencyId = "foo";
o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02");
- o.attribute = buildUnnamed847();
+ o.attribute = buildUnnamed873();
o.buyerCreativeId = "foo";
- o.clickThroughUrl = buildUnnamed848();
- o.corrections = buildUnnamed850();
- o.disapprovalReasons = buildUnnamed852();
+ o.clickThroughUrl = buildUnnamed874();
+ o.corrections = buildUnnamed876();
+ o.disapprovalReasons = buildUnnamed878();
o.filteringReasons = buildCreativeFilteringReasons();
o.height = 42;
- o.impressionTrackingUrl = buildUnnamed854();
+ o.impressionTrackingUrl = buildUnnamed880();
o.kind = "foo";
o.nativeAd = buildCreativeNativeAd();
- o.productCategories = buildUnnamed856();
- o.restrictedCategories = buildUnnamed857();
- o.sensitiveCategories = buildUnnamed858();
+ o.productCategories = buildUnnamed882();
+ o.restrictedCategories = buildUnnamed883();
+ o.sensitiveCategories = buildUnnamed884();
o.status = "foo";
- o.vendorType = buildUnnamed859();
+ o.vendorType = buildUnnamed885();
o.version = 42;
o.videoURL = "foo";
o.width = 42;
@@ -670,25 +670,25 @@
if (buildCounterCreative < 3) {
unittest.expect(o.HTMLSnippet, unittest.equals('foo'));
unittest.expect(o.accountId, unittest.equals(42));
- checkUnnamed846(o.advertiserId);
+ checkUnnamed872(o.advertiserId);
unittest.expect(o.advertiserName, unittest.equals('foo'));
unittest.expect(o.agencyId, unittest.equals('foo'));
unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed847(o.attribute);
+ checkUnnamed873(o.attribute);
unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
- checkUnnamed848(o.clickThroughUrl);
- checkUnnamed850(o.corrections);
- checkUnnamed852(o.disapprovalReasons);
+ checkUnnamed874(o.clickThroughUrl);
+ checkUnnamed876(o.corrections);
+ checkUnnamed878(o.disapprovalReasons);
checkCreativeFilteringReasons(o.filteringReasons);
unittest.expect(o.height, unittest.equals(42));
- checkUnnamed854(o.impressionTrackingUrl);
+ checkUnnamed880(o.impressionTrackingUrl);
unittest.expect(o.kind, unittest.equals('foo'));
checkCreativeNativeAd(o.nativeAd);
- checkUnnamed856(o.productCategories);
- checkUnnamed857(o.restrictedCategories);
- checkUnnamed858(o.sensitiveCategories);
+ checkUnnamed882(o.productCategories);
+ checkUnnamed883(o.restrictedCategories);
+ checkUnnamed884(o.sensitiveCategories);
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed859(o.vendorType);
+ checkUnnamed885(o.vendorType);
unittest.expect(o.version, unittest.equals(42));
unittest.expect(o.videoURL, unittest.equals('foo'));
unittest.expect(o.width, unittest.equals(42));
@@ -696,14 +696,14 @@
buildCounterCreative--;
}
-buildUnnamed860() {
+buildUnnamed886() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed860(core.List<api.Creative> o) {
+checkUnnamed886(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -714,7 +714,7 @@
var o = new api.CreativesList();
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- o.items = buildUnnamed860();
+ o.items = buildUnnamed886();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -725,7 +725,7 @@
checkCreativesList(api.CreativesList o) {
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- checkUnnamed860(o.items);
+ checkUnnamed886(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -779,14 +779,14 @@
buildCounterDirectDeal--;
}
-buildUnnamed861() {
+buildUnnamed887() {
var o = new core.List<api.DirectDeal>();
o.add(buildDirectDeal());
o.add(buildDirectDeal());
return o;
}
-checkUnnamed861(core.List<api.DirectDeal> o) {
+checkUnnamed887(core.List<api.DirectDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectDeal(o[0]);
checkDirectDeal(o[1]);
@@ -797,7 +797,7 @@
var o = new api.DirectDealsList();
buildCounterDirectDealsList++;
if (buildCounterDirectDealsList < 3) {
- o.directDeals = buildUnnamed861();
+ o.directDeals = buildUnnamed887();
o.kind = "foo";
}
buildCounterDirectDealsList--;
@@ -807,59 +807,59 @@
checkDirectDealsList(api.DirectDealsList o) {
buildCounterDirectDealsList++;
if (buildCounterDirectDealsList < 3) {
- checkUnnamed861(o.directDeals);
+ checkUnnamed887(o.directDeals);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDirectDealsList--;
}
-buildUnnamed862() {
+buildUnnamed888() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed862(core.List<core.Object> o) {
+checkUnnamed888(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) 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[1]) 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'));
}
-buildUnnamed863() {
+buildUnnamed889() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed863(core.List<core.Object> o) {
+checkUnnamed889(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) 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[1]) 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'));
}
-buildUnnamed864() {
+buildUnnamed890() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed864(core.List<core.Object> o) {
+checkUnnamed890(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) 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[1]) 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'));
}
-buildUnnamed865() {
+buildUnnamed891() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed865(core.List<core.Object> o) {
+checkUnnamed891(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o[0]) 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[1]) 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'));
@@ -872,11 +872,11 @@
if (buildCounterPerformanceReport < 3) {
o.bidRate = 42.0;
o.bidRequestRate = 42.0;
- o.calloutStatusRate = buildUnnamed862();
- o.cookieMatcherStatusRate = buildUnnamed863();
- o.creativeStatusRate = buildUnnamed864();
+ o.calloutStatusRate = buildUnnamed888();
+ o.cookieMatcherStatusRate = buildUnnamed889();
+ o.creativeStatusRate = buildUnnamed890();
o.filteredBidRate = 42.0;
- o.hostedMatchStatusRate = buildUnnamed865();
+ o.hostedMatchStatusRate = buildUnnamed891();
o.inventoryMatchRate = 42.0;
o.kind = "foo";
o.latency50thPercentile = 42.0;
@@ -902,11 +902,11 @@
if (buildCounterPerformanceReport < 3) {
unittest.expect(o.bidRate, unittest.equals(42.0));
unittest.expect(o.bidRequestRate, unittest.equals(42.0));
- checkUnnamed862(o.calloutStatusRate);
- checkUnnamed863(o.cookieMatcherStatusRate);
- checkUnnamed864(o.creativeStatusRate);
+ checkUnnamed888(o.calloutStatusRate);
+ checkUnnamed889(o.cookieMatcherStatusRate);
+ checkUnnamed890(o.creativeStatusRate);
unittest.expect(o.filteredBidRate, unittest.equals(42.0));
- checkUnnamed865(o.hostedMatchStatusRate);
+ checkUnnamed891(o.hostedMatchStatusRate);
unittest.expect(o.inventoryMatchRate, unittest.equals(42.0));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.latency50thPercentile, unittest.equals(42.0));
@@ -926,14 +926,14 @@
buildCounterPerformanceReport--;
}
-buildUnnamed866() {
+buildUnnamed892() {
var o = new core.List<api.PerformanceReport>();
o.add(buildPerformanceReport());
o.add(buildPerformanceReport());
return o;
}
-checkUnnamed866(core.List<api.PerformanceReport> o) {
+checkUnnamed892(core.List<api.PerformanceReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerformanceReport(o[0]);
checkPerformanceReport(o[1]);
@@ -945,7 +945,7 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
o.kind = "foo";
- o.performanceReport = buildUnnamed866();
+ o.performanceReport = buildUnnamed892();
}
buildCounterPerformanceReportList--;
return o;
@@ -955,19 +955,19 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed866(o.performanceReport);
+ checkUnnamed892(o.performanceReport);
}
buildCounterPerformanceReportList--;
}
-buildUnnamed867() {
+buildUnnamed893() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed867(core.List<core.String> o) {
+checkUnnamed893(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -994,40 +994,40 @@
buildCounterPretargetingConfigDimensions--;
}
-buildUnnamed868() {
+buildUnnamed894() {
var o = new core.List<api.PretargetingConfigDimensions>();
o.add(buildPretargetingConfigDimensions());
o.add(buildPretargetingConfigDimensions());
return o;
}
-checkUnnamed868(core.List<api.PretargetingConfigDimensions> o) {
+checkUnnamed894(core.List<api.PretargetingConfigDimensions> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigDimensions(o[0]);
checkPretargetingConfigDimensions(o[1]);
}
-buildUnnamed869() {
+buildUnnamed895() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed869(core.List<core.String> o) {
+checkUnnamed895(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed870() {
+buildUnnamed896() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed870(core.List<core.String> o) {
+checkUnnamed896(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1054,105 +1054,105 @@
buildCounterPretargetingConfigExcludedPlacements--;
}
-buildUnnamed871() {
+buildUnnamed897() {
var o = new core.List<api.PretargetingConfigExcludedPlacements>();
o.add(buildPretargetingConfigExcludedPlacements());
o.add(buildPretargetingConfigExcludedPlacements());
return o;
}
-checkUnnamed871(core.List<api.PretargetingConfigExcludedPlacements> o) {
+checkUnnamed897(core.List<api.PretargetingConfigExcludedPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigExcludedPlacements(o[0]);
checkPretargetingConfigExcludedPlacements(o[1]);
}
-buildUnnamed872() {
+buildUnnamed898() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed872(core.List<core.String> o) {
+checkUnnamed898(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed873() {
+buildUnnamed899() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed873(core.List<core.String> o) {
+checkUnnamed899(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed874() {
+buildUnnamed900() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed874(core.List<core.String> o) {
+checkUnnamed900(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed875() {
+buildUnnamed901() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed875(core.List<core.String> o) {
+checkUnnamed901(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed876() {
+buildUnnamed902() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed876(core.List<core.String> o) {
+checkUnnamed902(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed877() {
+buildUnnamed903() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed877(core.List<core.String> o) {
+checkUnnamed903(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed878() {
+buildUnnamed904() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed878(core.List<core.String> o) {
+checkUnnamed904(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1179,79 +1179,79 @@
buildCounterPretargetingConfigPlacements--;
}
-buildUnnamed879() {
+buildUnnamed905() {
var o = new core.List<api.PretargetingConfigPlacements>();
o.add(buildPretargetingConfigPlacements());
o.add(buildPretargetingConfigPlacements());
return o;
}
-checkUnnamed879(core.List<api.PretargetingConfigPlacements> o) {
+checkUnnamed905(core.List<api.PretargetingConfigPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigPlacements(o[0]);
checkPretargetingConfigPlacements(o[1]);
}
-buildUnnamed880() {
+buildUnnamed906() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed880(core.List<core.String> o) {
+checkUnnamed906(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed881() {
+buildUnnamed907() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed881(core.List<core.String> o) {
+checkUnnamed907(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed882() {
+buildUnnamed908() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed882(core.List<core.String> o) {
+checkUnnamed908(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed883() {
+buildUnnamed909() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed883(core.List<core.String> o) {
+checkUnnamed909(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed884() {
+buildUnnamed910() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed884(core.List<core.String> o) {
+checkUnnamed910(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1265,26 +1265,26 @@
o.billingId = "foo";
o.configId = "foo";
o.configName = "foo";
- o.creativeType = buildUnnamed867();
- o.dimensions = buildUnnamed868();
- o.excludedContentLabels = buildUnnamed869();
- o.excludedGeoCriteriaIds = buildUnnamed870();
- o.excludedPlacements = buildUnnamed871();
- o.excludedUserLists = buildUnnamed872();
- o.excludedVerticals = buildUnnamed873();
- o.geoCriteriaIds = buildUnnamed874();
+ o.creativeType = buildUnnamed893();
+ o.dimensions = buildUnnamed894();
+ o.excludedContentLabels = buildUnnamed895();
+ o.excludedGeoCriteriaIds = buildUnnamed896();
+ o.excludedPlacements = buildUnnamed897();
+ o.excludedUserLists = buildUnnamed898();
+ o.excludedVerticals = buildUnnamed899();
+ o.geoCriteriaIds = buildUnnamed900();
o.isActive = true;
o.kind = "foo";
- o.languages = buildUnnamed875();
- o.mobileCarriers = buildUnnamed876();
- o.mobileDevices = buildUnnamed877();
- o.mobileOperatingSystemVersions = buildUnnamed878();
- o.placements = buildUnnamed879();
- o.platforms = buildUnnamed880();
- o.supportedCreativeAttributes = buildUnnamed881();
- o.userLists = buildUnnamed882();
- o.vendorTypes = buildUnnamed883();
- o.verticals = buildUnnamed884();
+ o.languages = buildUnnamed901();
+ o.mobileCarriers = buildUnnamed902();
+ o.mobileDevices = buildUnnamed903();
+ o.mobileOperatingSystemVersions = buildUnnamed904();
+ o.placements = buildUnnamed905();
+ o.platforms = buildUnnamed906();
+ o.supportedCreativeAttributes = buildUnnamed907();
+ o.userLists = buildUnnamed908();
+ o.vendorTypes = buildUnnamed909();
+ o.verticals = buildUnnamed910();
}
buildCounterPretargetingConfig--;
return o;
@@ -1296,38 +1296,38 @@
unittest.expect(o.billingId, unittest.equals('foo'));
unittest.expect(o.configId, unittest.equals('foo'));
unittest.expect(o.configName, unittest.equals('foo'));
- checkUnnamed867(o.creativeType);
- checkUnnamed868(o.dimensions);
- checkUnnamed869(o.excludedContentLabels);
- checkUnnamed870(o.excludedGeoCriteriaIds);
- checkUnnamed871(o.excludedPlacements);
- checkUnnamed872(o.excludedUserLists);
- checkUnnamed873(o.excludedVerticals);
- checkUnnamed874(o.geoCriteriaIds);
+ checkUnnamed893(o.creativeType);
+ checkUnnamed894(o.dimensions);
+ checkUnnamed895(o.excludedContentLabels);
+ checkUnnamed896(o.excludedGeoCriteriaIds);
+ checkUnnamed897(o.excludedPlacements);
+ checkUnnamed898(o.excludedUserLists);
+ checkUnnamed899(o.excludedVerticals);
+ checkUnnamed900(o.geoCriteriaIds);
unittest.expect(o.isActive, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed875(o.languages);
- checkUnnamed876(o.mobileCarriers);
- checkUnnamed877(o.mobileDevices);
- checkUnnamed878(o.mobileOperatingSystemVersions);
- checkUnnamed879(o.placements);
- checkUnnamed880(o.platforms);
- checkUnnamed881(o.supportedCreativeAttributes);
- checkUnnamed882(o.userLists);
- checkUnnamed883(o.vendorTypes);
- checkUnnamed884(o.verticals);
+ checkUnnamed901(o.languages);
+ checkUnnamed902(o.mobileCarriers);
+ checkUnnamed903(o.mobileDevices);
+ checkUnnamed904(o.mobileOperatingSystemVersions);
+ checkUnnamed905(o.placements);
+ checkUnnamed906(o.platforms);
+ checkUnnamed907(o.supportedCreativeAttributes);
+ checkUnnamed908(o.userLists);
+ checkUnnamed909(o.vendorTypes);
+ checkUnnamed910(o.verticals);
}
buildCounterPretargetingConfig--;
}
-buildUnnamed885() {
+buildUnnamed911() {
var o = new core.List<api.PretargetingConfig>();
o.add(buildPretargetingConfig());
o.add(buildPretargetingConfig());
return o;
}
-checkUnnamed885(core.List<api.PretargetingConfig> o) {
+checkUnnamed911(core.List<api.PretargetingConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfig(o[0]);
checkPretargetingConfig(o[1]);
@@ -1338,7 +1338,7 @@
var o = new api.PretargetingConfigList();
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- o.items = buildUnnamed885();
+ o.items = buildUnnamed911();
o.kind = "foo";
}
buildCounterPretargetingConfigList--;
@@ -1348,33 +1348,33 @@
checkPretargetingConfigList(api.PretargetingConfigList o) {
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- checkUnnamed885(o.items);
+ checkUnnamed911(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPretargetingConfigList--;
}
-buildUnnamed886() {
+buildUnnamed912() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed886(core.List<core.int> o) {
+checkUnnamed912(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed887() {
+buildUnnamed913() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed887(core.List<core.String> o) {
+checkUnnamed913(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2203,8 +2203,8 @@
var mock = new HttpServerMock();
api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
- var arg_accountId = buildUnnamed886();
- var arg_buyerCreativeId = buildUnnamed887();
+ var arg_accountId = buildUnnamed912();
+ var arg_buyerCreativeId = buildUnnamed913();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_statusFilter = "foo";
diff --git a/generated/googleapis/test/adexchangebuyer/v1_4_test.dart b/generated/googleapis/test/adexchangebuyer/v1_4_test.dart
index 7da04f5..72ee973 100644
--- a/generated/googleapis/test/adexchangebuyer/v1_4_test.dart
+++ b/generated/googleapis/test/adexchangebuyer/v1_4_test.dart
@@ -76,14 +76,14 @@
buildCounterAccountBidderLocation--;
}
-buildUnnamed1673() {
+buildUnnamed1777() {
var o = new core.List<api.AccountBidderLocation>();
o.add(buildAccountBidderLocation());
o.add(buildAccountBidderLocation());
return o;
}
-checkUnnamed1673(core.List<api.AccountBidderLocation> o) {
+checkUnnamed1777(core.List<api.AccountBidderLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountBidderLocation(o[0]);
checkAccountBidderLocation(o[1]);
@@ -94,7 +94,7 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.bidderLocation = buildUnnamed1673();
+ o.bidderLocation = buildUnnamed1777();
o.cookieMatchingNid = "foo";
o.cookieMatchingUrl = "foo";
o.id = 42;
@@ -110,7 +110,7 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed1673(o.bidderLocation);
+ checkUnnamed1777(o.bidderLocation);
unittest.expect(o.cookieMatchingNid, unittest.equals('foo'));
unittest.expect(o.cookieMatchingUrl, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals(42));
@@ -122,14 +122,14 @@
buildCounterAccount--;
}
-buildUnnamed1674() {
+buildUnnamed1778() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1674(core.List<api.Account> o) {
+checkUnnamed1778(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -140,7 +140,7 @@
var o = new api.AccountsList();
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- o.items = buildUnnamed1674();
+ o.items = buildUnnamed1778();
o.kind = "foo";
}
buildCounterAccountsList--;
@@ -150,20 +150,20 @@
checkAccountsList(api.AccountsList o) {
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- checkUnnamed1674(o.items);
+ checkUnnamed1778(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsList--;
}
-buildUnnamed1675() {
+buildUnnamed1779() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed1675(core.List<api.MarketplaceDeal> o) {
+checkUnnamed1779(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -174,7 +174,7 @@
var o = new api.AddOrderDealsRequest();
buildCounterAddOrderDealsRequest++;
if (buildCounterAddOrderDealsRequest < 3) {
- o.deals = buildUnnamed1675();
+ o.deals = buildUnnamed1779();
o.proposalRevisionNumber = "foo";
o.updateAction = "foo";
}
@@ -185,21 +185,21 @@
checkAddOrderDealsRequest(api.AddOrderDealsRequest o) {
buildCounterAddOrderDealsRequest++;
if (buildCounterAddOrderDealsRequest < 3) {
- checkUnnamed1675(o.deals);
+ checkUnnamed1779(o.deals);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
unittest.expect(o.updateAction, unittest.equals('foo'));
}
buildCounterAddOrderDealsRequest--;
}
-buildUnnamed1676() {
+buildUnnamed1780() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed1676(core.List<api.MarketplaceDeal> o) {
+checkUnnamed1780(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -210,7 +210,7 @@
var o = new api.AddOrderDealsResponse();
buildCounterAddOrderDealsResponse++;
if (buildCounterAddOrderDealsResponse < 3) {
- o.deals = buildUnnamed1676();
+ o.deals = buildUnnamed1780();
o.proposalRevisionNumber = "foo";
}
buildCounterAddOrderDealsResponse--;
@@ -220,20 +220,20 @@
checkAddOrderDealsResponse(api.AddOrderDealsResponse o) {
buildCounterAddOrderDealsResponse++;
if (buildCounterAddOrderDealsResponse < 3) {
- checkUnnamed1676(o.deals);
+ checkUnnamed1780(o.deals);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
}
buildCounterAddOrderDealsResponse--;
}
-buildUnnamed1677() {
+buildUnnamed1781() {
var o = new core.List<api.MarketplaceNote>();
o.add(buildMarketplaceNote());
o.add(buildMarketplaceNote());
return o;
}
-checkUnnamed1677(core.List<api.MarketplaceNote> o) {
+checkUnnamed1781(core.List<api.MarketplaceNote> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceNote(o[0]);
checkMarketplaceNote(o[1]);
@@ -244,7 +244,7 @@
var o = new api.AddOrderNotesRequest();
buildCounterAddOrderNotesRequest++;
if (buildCounterAddOrderNotesRequest < 3) {
- o.notes = buildUnnamed1677();
+ o.notes = buildUnnamed1781();
}
buildCounterAddOrderNotesRequest--;
return o;
@@ -253,19 +253,19 @@
checkAddOrderNotesRequest(api.AddOrderNotesRequest o) {
buildCounterAddOrderNotesRequest++;
if (buildCounterAddOrderNotesRequest < 3) {
- checkUnnamed1677(o.notes);
+ checkUnnamed1781(o.notes);
}
buildCounterAddOrderNotesRequest--;
}
-buildUnnamed1678() {
+buildUnnamed1782() {
var o = new core.List<api.MarketplaceNote>();
o.add(buildMarketplaceNote());
o.add(buildMarketplaceNote());
return o;
}
-checkUnnamed1678(core.List<api.MarketplaceNote> o) {
+checkUnnamed1782(core.List<api.MarketplaceNote> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceNote(o[0]);
checkMarketplaceNote(o[1]);
@@ -276,7 +276,7 @@
var o = new api.AddOrderNotesResponse();
buildCounterAddOrderNotesResponse++;
if (buildCounterAddOrderNotesResponse < 3) {
- o.notes = buildUnnamed1678();
+ o.notes = buildUnnamed1782();
}
buildCounterAddOrderNotesResponse--;
return o;
@@ -285,19 +285,19 @@
checkAddOrderNotesResponse(api.AddOrderNotesResponse o) {
buildCounterAddOrderNotesResponse++;
if (buildCounterAddOrderNotesResponse < 3) {
- checkUnnamed1678(o.notes);
+ checkUnnamed1782(o.notes);
}
buildCounterAddOrderNotesResponse--;
}
-buildUnnamed1679() {
+buildUnnamed1783() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1679(core.List<core.String> o) {
+checkUnnamed1783(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -310,7 +310,7 @@
if (buildCounterBillingInfo < 3) {
o.accountId = 42;
o.accountName = "foo";
- o.billingId = buildUnnamed1679();
+ o.billingId = buildUnnamed1783();
o.kind = "foo";
}
buildCounterBillingInfo--;
@@ -322,20 +322,20 @@
if (buildCounterBillingInfo < 3) {
unittest.expect(o.accountId, unittest.equals(42));
unittest.expect(o.accountName, unittest.equals('foo'));
- checkUnnamed1679(o.billingId);
+ checkUnnamed1783(o.billingId);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfo--;
}
-buildUnnamed1680() {
+buildUnnamed1784() {
var o = new core.List<api.BillingInfo>();
o.add(buildBillingInfo());
o.add(buildBillingInfo());
return o;
}
-checkUnnamed1680(core.List<api.BillingInfo> o) {
+checkUnnamed1784(core.List<api.BillingInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingInfo(o[0]);
checkBillingInfo(o[1]);
@@ -346,7 +346,7 @@
var o = new api.BillingInfoList();
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- o.items = buildUnnamed1680();
+ o.items = buildUnnamed1784();
o.kind = "foo";
}
buildCounterBillingInfoList--;
@@ -356,7 +356,7 @@
checkBillingInfoList(api.BillingInfoList o) {
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- checkUnnamed1680(o.items);
+ checkUnnamed1784(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfoList--;
@@ -431,14 +431,14 @@
buildCounterContactInformation--;
}
-buildUnnamed1681() {
+buildUnnamed1785() {
var o = new core.List<api.Proposal>();
o.add(buildProposal());
o.add(buildProposal());
return o;
}
-checkUnnamed1681(core.List<api.Proposal> o) {
+checkUnnamed1785(core.List<api.Proposal> o) {
unittest.expect(o, unittest.hasLength(2));
checkProposal(o[0]);
checkProposal(o[1]);
@@ -449,7 +449,7 @@
var o = new api.CreateOrdersRequest();
buildCounterCreateOrdersRequest++;
if (buildCounterCreateOrdersRequest < 3) {
- o.proposals = buildUnnamed1681();
+ o.proposals = buildUnnamed1785();
o.webPropertyCode = "foo";
}
buildCounterCreateOrdersRequest--;
@@ -459,20 +459,20 @@
checkCreateOrdersRequest(api.CreateOrdersRequest o) {
buildCounterCreateOrdersRequest++;
if (buildCounterCreateOrdersRequest < 3) {
- checkUnnamed1681(o.proposals);
+ checkUnnamed1785(o.proposals);
unittest.expect(o.webPropertyCode, unittest.equals('foo'));
}
buildCounterCreateOrdersRequest--;
}
-buildUnnamed1682() {
+buildUnnamed1786() {
var o = new core.List<api.Proposal>();
o.add(buildProposal());
o.add(buildProposal());
return o;
}
-checkUnnamed1682(core.List<api.Proposal> o) {
+checkUnnamed1786(core.List<api.Proposal> o) {
unittest.expect(o, unittest.hasLength(2));
checkProposal(o[0]);
checkProposal(o[1]);
@@ -483,7 +483,7 @@
var o = new api.CreateOrdersResponse();
buildCounterCreateOrdersResponse++;
if (buildCounterCreateOrdersResponse < 3) {
- o.proposals = buildUnnamed1682();
+ o.proposals = buildUnnamed1786();
}
buildCounterCreateOrdersResponse--;
return o;
@@ -492,84 +492,84 @@
checkCreateOrdersResponse(api.CreateOrdersResponse o) {
buildCounterCreateOrdersResponse++;
if (buildCounterCreateOrdersResponse < 3) {
- checkUnnamed1682(o.proposals);
+ checkUnnamed1786(o.proposals);
}
buildCounterCreateOrdersResponse--;
}
-buildUnnamed1683() {
+buildUnnamed1787() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1683(core.List<core.String> o) {
+checkUnnamed1787(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1684() {
+buildUnnamed1788() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1684(core.List<core.int> o) {
+checkUnnamed1788(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed1685() {
+buildUnnamed1789() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1685(core.List<core.String> o) {
+checkUnnamed1789(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1686() {
+buildUnnamed1790() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1686(core.List<core.String> o) {
+checkUnnamed1790(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1687() {
+buildUnnamed1791() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1687(core.List<core.int> o) {
+checkUnnamed1791(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed1688() {
+buildUnnamed1792() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1688(core.List<core.String> o) {
+checkUnnamed1792(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -580,10 +580,10 @@
var o = new api.CreativeCorrectionsContexts();
buildCounterCreativeCorrectionsContexts++;
if (buildCounterCreativeCorrectionsContexts < 3) {
- o.auctionType = buildUnnamed1686();
+ o.auctionType = buildUnnamed1790();
o.contextType = "foo";
- o.geoCriteriaId = buildUnnamed1687();
- o.platform = buildUnnamed1688();
+ o.geoCriteriaId = buildUnnamed1791();
+ o.platform = buildUnnamed1792();
}
buildCounterCreativeCorrectionsContexts--;
return o;
@@ -592,35 +592,35 @@
checkCreativeCorrectionsContexts(api.CreativeCorrectionsContexts o) {
buildCounterCreativeCorrectionsContexts++;
if (buildCounterCreativeCorrectionsContexts < 3) {
- checkUnnamed1686(o.auctionType);
+ checkUnnamed1790(o.auctionType);
unittest.expect(o.contextType, unittest.equals('foo'));
- checkUnnamed1687(o.geoCriteriaId);
- checkUnnamed1688(o.platform);
+ checkUnnamed1791(o.geoCriteriaId);
+ checkUnnamed1792(o.platform);
}
buildCounterCreativeCorrectionsContexts--;
}
-buildUnnamed1689() {
+buildUnnamed1793() {
var o = new core.List<api.CreativeCorrectionsContexts>();
o.add(buildCreativeCorrectionsContexts());
o.add(buildCreativeCorrectionsContexts());
return o;
}
-checkUnnamed1689(core.List<api.CreativeCorrectionsContexts> o) {
+checkUnnamed1793(core.List<api.CreativeCorrectionsContexts> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCorrectionsContexts(o[0]);
checkCreativeCorrectionsContexts(o[1]);
}
-buildUnnamed1690() {
+buildUnnamed1794() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1690(core.List<core.String> o) {
+checkUnnamed1794(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -631,8 +631,8 @@
var o = new api.CreativeCorrections();
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- o.contexts = buildUnnamed1689();
- o.details = buildUnnamed1690();
+ o.contexts = buildUnnamed1793();
+ o.details = buildUnnamed1794();
o.reason = "foo";
}
buildCounterCreativeCorrections--;
@@ -642,34 +642,34 @@
checkCreativeCorrections(api.CreativeCorrections o) {
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- checkUnnamed1689(o.contexts);
- checkUnnamed1690(o.details);
+ checkUnnamed1793(o.contexts);
+ checkUnnamed1794(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeCorrections--;
}
-buildUnnamed1691() {
+buildUnnamed1795() {
var o = new core.List<api.CreativeCorrections>();
o.add(buildCreativeCorrections());
o.add(buildCreativeCorrections());
return o;
}
-checkUnnamed1691(core.List<api.CreativeCorrections> o) {
+checkUnnamed1795(core.List<api.CreativeCorrections> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCorrections(o[0]);
checkCreativeCorrections(o[1]);
}
-buildUnnamed1692() {
+buildUnnamed1796() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1692(core.List<core.String> o) {
+checkUnnamed1796(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -696,14 +696,14 @@
buildCounterCreativeFilteringReasonsReasons--;
}
-buildUnnamed1693() {
+buildUnnamed1797() {
var o = new core.List<api.CreativeFilteringReasonsReasons>();
o.add(buildCreativeFilteringReasonsReasons());
o.add(buildCreativeFilteringReasonsReasons());
return o;
}
-checkUnnamed1693(core.List<api.CreativeFilteringReasonsReasons> o) {
+checkUnnamed1797(core.List<api.CreativeFilteringReasonsReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFilteringReasonsReasons(o[0]);
checkCreativeFilteringReasonsReasons(o[1]);
@@ -715,7 +715,7 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
o.date = "foo";
- o.reasons = buildUnnamed1693();
+ o.reasons = buildUnnamed1797();
}
buildCounterCreativeFilteringReasons--;
return o;
@@ -725,32 +725,32 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
unittest.expect(o.date, unittest.equals('foo'));
- checkUnnamed1693(o.reasons);
+ checkUnnamed1797(o.reasons);
}
buildCounterCreativeFilteringReasons--;
}
-buildUnnamed1694() {
+buildUnnamed1798() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1694(core.List<core.String> o) {
+checkUnnamed1798(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1695() {
+buildUnnamed1799() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1695(core.List<core.String> o) {
+checkUnnamed1799(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -802,14 +802,14 @@
buildCounterCreativeNativeAdImage--;
}
-buildUnnamed1696() {
+buildUnnamed1800() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1696(core.List<core.String> o) {
+checkUnnamed1800(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -851,7 +851,7 @@
o.clickTrackingUrl = "foo";
o.headline = "foo";
o.image = buildCreativeNativeAdImage();
- o.impressionTrackingUrl = buildUnnamed1696();
+ o.impressionTrackingUrl = buildUnnamed1800();
o.logo = buildCreativeNativeAdLogo();
o.price = "foo";
o.starRating = 42.0;
@@ -873,7 +873,7 @@
unittest.expect(o.clickTrackingUrl, unittest.equals('foo'));
unittest.expect(o.headline, unittest.equals('foo'));
checkCreativeNativeAdImage(o.image);
- checkUnnamed1696(o.impressionTrackingUrl);
+ checkUnnamed1800(o.impressionTrackingUrl);
checkCreativeNativeAdLogo(o.logo);
unittest.expect(o.price, unittest.equals('foo'));
unittest.expect(o.starRating, unittest.equals(42.0));
@@ -883,79 +883,79 @@
buildCounterCreativeNativeAd--;
}
-buildUnnamed1697() {
+buildUnnamed1801() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1697(core.List<core.int> o) {
+checkUnnamed1801(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed1698() {
+buildUnnamed1802() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1698(core.List<core.int> o) {
+checkUnnamed1802(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed1699() {
+buildUnnamed1803() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1699(core.List<core.int> o) {
+checkUnnamed1803(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed1700() {
+buildUnnamed1804() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1700(core.List<core.String> o) {
+checkUnnamed1804(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1701() {
+buildUnnamed1805() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1701(core.List<core.int> o) {
+checkUnnamed1805(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed1702() {
+buildUnnamed1806() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1702(core.List<core.String> o) {
+checkUnnamed1806(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -966,10 +966,10 @@
var o = new api.CreativeServingRestrictionsContexts();
buildCounterCreativeServingRestrictionsContexts++;
if (buildCounterCreativeServingRestrictionsContexts < 3) {
- o.auctionType = buildUnnamed1700();
+ o.auctionType = buildUnnamed1804();
o.contextType = "foo";
- o.geoCriteriaId = buildUnnamed1701();
- o.platform = buildUnnamed1702();
+ o.geoCriteriaId = buildUnnamed1805();
+ o.platform = buildUnnamed1806();
}
buildCounterCreativeServingRestrictionsContexts--;
return o;
@@ -978,35 +978,35 @@
checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts o) {
buildCounterCreativeServingRestrictionsContexts++;
if (buildCounterCreativeServingRestrictionsContexts < 3) {
- checkUnnamed1700(o.auctionType);
+ checkUnnamed1804(o.auctionType);
unittest.expect(o.contextType, unittest.equals('foo'));
- checkUnnamed1701(o.geoCriteriaId);
- checkUnnamed1702(o.platform);
+ checkUnnamed1805(o.geoCriteriaId);
+ checkUnnamed1806(o.platform);
}
buildCounterCreativeServingRestrictionsContexts--;
}
-buildUnnamed1703() {
+buildUnnamed1807() {
var o = new core.List<api.CreativeServingRestrictionsContexts>();
o.add(buildCreativeServingRestrictionsContexts());
o.add(buildCreativeServingRestrictionsContexts());
return o;
}
-checkUnnamed1703(core.List<api.CreativeServingRestrictionsContexts> o) {
+checkUnnamed1807(core.List<api.CreativeServingRestrictionsContexts> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeServingRestrictionsContexts(o[0]);
checkCreativeServingRestrictionsContexts(o[1]);
}
-buildUnnamed1704() {
+buildUnnamed1808() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1704(core.List<core.String> o) {
+checkUnnamed1808(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1017,7 +1017,7 @@
var o = new api.CreativeServingRestrictionsDisapprovalReasons();
buildCounterCreativeServingRestrictionsDisapprovalReasons++;
if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) {
- o.details = buildUnnamed1704();
+ o.details = buildUnnamed1808();
o.reason = "foo";
}
buildCounterCreativeServingRestrictionsDisapprovalReasons--;
@@ -1027,20 +1027,20 @@
checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictionsDisapprovalReasons o) {
buildCounterCreativeServingRestrictionsDisapprovalReasons++;
if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) {
- checkUnnamed1704(o.details);
+ checkUnnamed1808(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeServingRestrictionsDisapprovalReasons--;
}
-buildUnnamed1705() {
+buildUnnamed1809() {
var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>();
o.add(buildCreativeServingRestrictionsDisapprovalReasons());
o.add(buildCreativeServingRestrictionsDisapprovalReasons());
return o;
}
-checkUnnamed1705(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o) {
+checkUnnamed1809(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeServingRestrictionsDisapprovalReasons(o[0]);
checkCreativeServingRestrictionsDisapprovalReasons(o[1]);
@@ -1051,8 +1051,8 @@
var o = new api.CreativeServingRestrictions();
buildCounterCreativeServingRestrictions++;
if (buildCounterCreativeServingRestrictions < 3) {
- o.contexts = buildUnnamed1703();
- o.disapprovalReasons = buildUnnamed1705();
+ o.contexts = buildUnnamed1807();
+ o.disapprovalReasons = buildUnnamed1809();
o.reason = "foo";
}
buildCounterCreativeServingRestrictions--;
@@ -1062,34 +1062,34 @@
checkCreativeServingRestrictions(api.CreativeServingRestrictions o) {
buildCounterCreativeServingRestrictions++;
if (buildCounterCreativeServingRestrictions < 3) {
- checkUnnamed1703(o.contexts);
- checkUnnamed1705(o.disapprovalReasons);
+ checkUnnamed1807(o.contexts);
+ checkUnnamed1809(o.disapprovalReasons);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeServingRestrictions--;
}
-buildUnnamed1706() {
+buildUnnamed1810() {
var o = new core.List<api.CreativeServingRestrictions>();
o.add(buildCreativeServingRestrictions());
o.add(buildCreativeServingRestrictions());
return o;
}
-checkUnnamed1706(core.List<api.CreativeServingRestrictions> o) {
+checkUnnamed1810(core.List<api.CreativeServingRestrictions> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeServingRestrictions(o[0]);
checkCreativeServingRestrictions(o[1]);
}
-buildUnnamed1707() {
+buildUnnamed1811() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1707(core.List<core.int> o) {
+checkUnnamed1811(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -1103,28 +1103,28 @@
o.HTMLSnippet = "foo";
o.accountId = 42;
o.adChoicesDestinationUrl = "foo";
- o.advertiserId = buildUnnamed1683();
+ o.advertiserId = buildUnnamed1787();
o.advertiserName = "foo";
o.agencyId = "foo";
o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02");
- o.attribute = buildUnnamed1684();
+ o.attribute = buildUnnamed1788();
o.buyerCreativeId = "foo";
- o.clickThroughUrl = buildUnnamed1685();
- o.corrections = buildUnnamed1691();
+ o.clickThroughUrl = buildUnnamed1789();
+ o.corrections = buildUnnamed1795();
o.dealsStatus = "foo";
- o.detectedDomains = buildUnnamed1692();
+ o.detectedDomains = buildUnnamed1796();
o.filteringReasons = buildCreativeFilteringReasons();
o.height = 42;
- o.impressionTrackingUrl = buildUnnamed1694();
+ o.impressionTrackingUrl = buildUnnamed1798();
o.kind = "foo";
- o.languages = buildUnnamed1695();
+ o.languages = buildUnnamed1799();
o.nativeAd = buildCreativeNativeAd();
o.openAuctionStatus = "foo";
- o.productCategories = buildUnnamed1697();
- o.restrictedCategories = buildUnnamed1698();
- o.sensitiveCategories = buildUnnamed1699();
- o.servingRestrictions = buildUnnamed1706();
- o.vendorType = buildUnnamed1707();
+ o.productCategories = buildUnnamed1801();
+ o.restrictedCategories = buildUnnamed1802();
+ o.sensitiveCategories = buildUnnamed1803();
+ o.servingRestrictions = buildUnnamed1810();
+ o.vendorType = buildUnnamed1811();
o.version = 42;
o.videoURL = "foo";
o.width = 42;
@@ -1139,28 +1139,28 @@
unittest.expect(o.HTMLSnippet, unittest.equals('foo'));
unittest.expect(o.accountId, unittest.equals(42));
unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo'));
- checkUnnamed1683(o.advertiserId);
+ checkUnnamed1787(o.advertiserId);
unittest.expect(o.advertiserName, unittest.equals('foo'));
unittest.expect(o.agencyId, unittest.equals('foo'));
unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed1684(o.attribute);
+ checkUnnamed1788(o.attribute);
unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
- checkUnnamed1685(o.clickThroughUrl);
- checkUnnamed1691(o.corrections);
+ checkUnnamed1789(o.clickThroughUrl);
+ checkUnnamed1795(o.corrections);
unittest.expect(o.dealsStatus, unittest.equals('foo'));
- checkUnnamed1692(o.detectedDomains);
+ checkUnnamed1796(o.detectedDomains);
checkCreativeFilteringReasons(o.filteringReasons);
unittest.expect(o.height, unittest.equals(42));
- checkUnnamed1694(o.impressionTrackingUrl);
+ checkUnnamed1798(o.impressionTrackingUrl);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1695(o.languages);
+ checkUnnamed1799(o.languages);
checkCreativeNativeAd(o.nativeAd);
unittest.expect(o.openAuctionStatus, unittest.equals('foo'));
- checkUnnamed1697(o.productCategories);
- checkUnnamed1698(o.restrictedCategories);
- checkUnnamed1699(o.sensitiveCategories);
- checkUnnamed1706(o.servingRestrictions);
- checkUnnamed1707(o.vendorType);
+ checkUnnamed1801(o.productCategories);
+ checkUnnamed1802(o.restrictedCategories);
+ checkUnnamed1803(o.sensitiveCategories);
+ checkUnnamed1810(o.servingRestrictions);
+ checkUnnamed1811(o.vendorType);
unittest.expect(o.version, unittest.equals(42));
unittest.expect(o.videoURL, unittest.equals('foo'));
unittest.expect(o.width, unittest.equals(42));
@@ -1191,14 +1191,14 @@
buildCounterCreativeDealIdsDealStatuses--;
}
-buildUnnamed1708() {
+buildUnnamed1812() {
var o = new core.List<api.CreativeDealIdsDealStatuses>();
o.add(buildCreativeDealIdsDealStatuses());
o.add(buildCreativeDealIdsDealStatuses());
return o;
}
-checkUnnamed1708(core.List<api.CreativeDealIdsDealStatuses> o) {
+checkUnnamed1812(core.List<api.CreativeDealIdsDealStatuses> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeDealIdsDealStatuses(o[0]);
checkCreativeDealIdsDealStatuses(o[1]);
@@ -1209,7 +1209,7 @@
var o = new api.CreativeDealIds();
buildCounterCreativeDealIds++;
if (buildCounterCreativeDealIds < 3) {
- o.dealStatuses = buildUnnamed1708();
+ o.dealStatuses = buildUnnamed1812();
o.kind = "foo";
}
buildCounterCreativeDealIds--;
@@ -1219,20 +1219,20 @@
checkCreativeDealIds(api.CreativeDealIds o) {
buildCounterCreativeDealIds++;
if (buildCounterCreativeDealIds < 3) {
- checkUnnamed1708(o.dealStatuses);
+ checkUnnamed1812(o.dealStatuses);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCreativeDealIds--;
}
-buildUnnamed1709() {
+buildUnnamed1813() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed1709(core.List<api.Creative> o) {
+checkUnnamed1813(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -1243,7 +1243,7 @@
var o = new api.CreativesList();
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- o.items = buildUnnamed1709();
+ o.items = buildUnnamed1813();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1254,7 +1254,7 @@
checkCreativesList(api.CreativesList o) {
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- checkUnnamed1709(o.items);
+ checkUnnamed1813(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1346,14 +1346,14 @@
buildCounterDealTerms--;
}
-buildUnnamed1710() {
+buildUnnamed1814() {
var o = new core.List<api.PricePerBuyer>();
o.add(buildPricePerBuyer());
o.add(buildPricePerBuyer());
return o;
}
-checkUnnamed1710(core.List<api.PricePerBuyer> o) {
+checkUnnamed1814(core.List<api.PricePerBuyer> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricePerBuyer(o[0]);
checkPricePerBuyer(o[1]);
@@ -1365,7 +1365,7 @@
buildCounterDealTermsGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) {
o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo();
- o.fixedPrices = buildUnnamed1710();
+ o.fixedPrices = buildUnnamed1814();
o.guaranteedImpressions = "foo";
o.guaranteedLooks = "foo";
o.minimumDailyLooks = "foo";
@@ -1378,7 +1378,7 @@
buildCounterDealTermsGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) {
checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo);
- checkUnnamed1710(o.fixedPrices);
+ checkUnnamed1814(o.fixedPrices);
unittest.expect(o.guaranteedImpressions, unittest.equals('foo'));
unittest.expect(o.guaranteedLooks, unittest.equals('foo'));
unittest.expect(o.minimumDailyLooks, unittest.equals('foo'));
@@ -1411,14 +1411,14 @@
buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--;
}
-buildUnnamed1711() {
+buildUnnamed1815() {
var o = new core.List<api.PricePerBuyer>();
o.add(buildPricePerBuyer());
o.add(buildPricePerBuyer());
return o;
}
-checkUnnamed1711(core.List<api.PricePerBuyer> o) {
+checkUnnamed1815(core.List<api.PricePerBuyer> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricePerBuyer(o[0]);
checkPricePerBuyer(o[1]);
@@ -1430,7 +1430,7 @@
buildCounterDealTermsNonGuaranteedAuctionTerms++;
if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) {
o.autoOptimizePrivateAuction = true;
- o.reservePricePerBuyers = buildUnnamed1711();
+ o.reservePricePerBuyers = buildUnnamed1815();
}
buildCounterDealTermsNonGuaranteedAuctionTerms--;
return o;
@@ -1440,19 +1440,19 @@
buildCounterDealTermsNonGuaranteedAuctionTerms++;
if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) {
unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue);
- checkUnnamed1711(o.reservePricePerBuyers);
+ checkUnnamed1815(o.reservePricePerBuyers);
}
buildCounterDealTermsNonGuaranteedAuctionTerms--;
}
-buildUnnamed1712() {
+buildUnnamed1816() {
var o = new core.List<api.PricePerBuyer>();
o.add(buildPricePerBuyer());
o.add(buildPricePerBuyer());
return o;
}
-checkUnnamed1712(core.List<api.PricePerBuyer> o) {
+checkUnnamed1816(core.List<api.PricePerBuyer> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricePerBuyer(o[0]);
checkPricePerBuyer(o[1]);
@@ -1463,7 +1463,7 @@
var o = new api.DealTermsNonGuaranteedFixedPriceTerms();
buildCounterDealTermsNonGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) {
- o.fixedPrices = buildUnnamed1712();
+ o.fixedPrices = buildUnnamed1816();
}
buildCounterDealTermsNonGuaranteedFixedPriceTerms--;
return o;
@@ -1472,7 +1472,7 @@
checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceTerms o) {
buildCounterDealTermsNonGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) {
- checkUnnamed1712(o.fixedPrices);
+ checkUnnamed1816(o.fixedPrices);
}
buildCounterDealTermsNonGuaranteedFixedPriceTerms--;
}
@@ -1498,14 +1498,14 @@
buildCounterDealTermsRubiconNonGuaranteedTerms--;
}
-buildUnnamed1713() {
+buildUnnamed1817() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1713(core.List<core.String> o) {
+checkUnnamed1817(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1516,7 +1516,7 @@
var o = new api.DeleteOrderDealsRequest();
buildCounterDeleteOrderDealsRequest++;
if (buildCounterDeleteOrderDealsRequest < 3) {
- o.dealIds = buildUnnamed1713();
+ o.dealIds = buildUnnamed1817();
o.proposalRevisionNumber = "foo";
o.updateAction = "foo";
}
@@ -1527,21 +1527,21 @@
checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) {
buildCounterDeleteOrderDealsRequest++;
if (buildCounterDeleteOrderDealsRequest < 3) {
- checkUnnamed1713(o.dealIds);
+ checkUnnamed1817(o.dealIds);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
unittest.expect(o.updateAction, unittest.equals('foo'));
}
buildCounterDeleteOrderDealsRequest--;
}
-buildUnnamed1714() {
+buildUnnamed1818() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed1714(core.List<api.MarketplaceDeal> o) {
+checkUnnamed1818(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -1552,7 +1552,7 @@
var o = new api.DeleteOrderDealsResponse();
buildCounterDeleteOrderDealsResponse++;
if (buildCounterDeleteOrderDealsResponse < 3) {
- o.deals = buildUnnamed1714();
+ o.deals = buildUnnamed1818();
o.proposalRevisionNumber = "foo";
}
buildCounterDeleteOrderDealsResponse--;
@@ -1562,20 +1562,20 @@
checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) {
buildCounterDeleteOrderDealsResponse++;
if (buildCounterDeleteOrderDealsResponse < 3) {
- checkUnnamed1714(o.deals);
+ checkUnnamed1818(o.deals);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
}
buildCounterDeleteOrderDealsResponse--;
}
-buildUnnamed1715() {
+buildUnnamed1819() {
var o = new core.List<api.DeliveryControlFrequencyCap>();
o.add(buildDeliveryControlFrequencyCap());
o.add(buildDeliveryControlFrequencyCap());
return o;
}
-checkUnnamed1715(core.List<api.DeliveryControlFrequencyCap> o) {
+checkUnnamed1819(core.List<api.DeliveryControlFrequencyCap> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeliveryControlFrequencyCap(o[0]);
checkDeliveryControlFrequencyCap(o[1]);
@@ -1588,7 +1588,7 @@
if (buildCounterDeliveryControl < 3) {
o.creativeBlockingLevel = "foo";
o.deliveryRateType = "foo";
- o.frequencyCaps = buildUnnamed1715();
+ o.frequencyCaps = buildUnnamed1819();
}
buildCounterDeliveryControl--;
return o;
@@ -1599,7 +1599,7 @@
if (buildCounterDeliveryControl < 3) {
unittest.expect(o.creativeBlockingLevel, unittest.equals('foo'));
unittest.expect(o.deliveryRateType, unittest.equals('foo'));
- checkUnnamed1715(o.frequencyCaps);
+ checkUnnamed1819(o.frequencyCaps);
}
buildCounterDeliveryControl--;
}
@@ -1627,14 +1627,14 @@
buildCounterDeliveryControlFrequencyCap--;
}
-buildUnnamed1716() {
+buildUnnamed1820() {
var o = new core.List<api.DimensionDimensionValue>();
o.add(buildDimensionDimensionValue());
o.add(buildDimensionDimensionValue());
return o;
}
-checkUnnamed1716(core.List<api.DimensionDimensionValue> o) {
+checkUnnamed1820(core.List<api.DimensionDimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionDimensionValue(o[0]);
checkDimensionDimensionValue(o[1]);
@@ -1646,7 +1646,7 @@
buildCounterDimension++;
if (buildCounterDimension < 3) {
o.dimensionType = "foo";
- o.dimensionValues = buildUnnamed1716();
+ o.dimensionValues = buildUnnamed1820();
}
buildCounterDimension--;
return o;
@@ -1656,7 +1656,7 @@
buildCounterDimension++;
if (buildCounterDimension < 3) {
unittest.expect(o.dimensionType, unittest.equals('foo'));
- checkUnnamed1716(o.dimensionValues);
+ checkUnnamed1820(o.dimensionValues);
}
buildCounterDimension--;
}
@@ -1684,14 +1684,14 @@
buildCounterDimensionDimensionValue--;
}
-buildUnnamed1717() {
+buildUnnamed1821() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed1717(core.List<api.MarketplaceDeal> o) {
+checkUnnamed1821(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -1702,7 +1702,7 @@
var o = new api.EditAllOrderDealsRequest();
buildCounterEditAllOrderDealsRequest++;
if (buildCounterEditAllOrderDealsRequest < 3) {
- o.deals = buildUnnamed1717();
+ o.deals = buildUnnamed1821();
o.proposal = buildProposal();
o.proposalRevisionNumber = "foo";
o.updateAction = "foo";
@@ -1714,7 +1714,7 @@
checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) {
buildCounterEditAllOrderDealsRequest++;
if (buildCounterEditAllOrderDealsRequest < 3) {
- checkUnnamed1717(o.deals);
+ checkUnnamed1821(o.deals);
checkProposal(o.proposal);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
unittest.expect(o.updateAction, unittest.equals('foo'));
@@ -1722,14 +1722,14 @@
buildCounterEditAllOrderDealsRequest--;
}
-buildUnnamed1718() {
+buildUnnamed1822() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed1718(core.List<api.MarketplaceDeal> o) {
+checkUnnamed1822(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -1740,7 +1740,7 @@
var o = new api.EditAllOrderDealsResponse();
buildCounterEditAllOrderDealsResponse++;
if (buildCounterEditAllOrderDealsResponse < 3) {
- o.deals = buildUnnamed1718();
+ o.deals = buildUnnamed1822();
o.orderRevisionNumber = "foo";
}
buildCounterEditAllOrderDealsResponse--;
@@ -1750,20 +1750,20 @@
checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) {
buildCounterEditAllOrderDealsResponse++;
if (buildCounterEditAllOrderDealsResponse < 3) {
- checkUnnamed1718(o.deals);
+ checkUnnamed1822(o.deals);
unittest.expect(o.orderRevisionNumber, unittest.equals('foo'));
}
buildCounterEditAllOrderDealsResponse--;
}
-buildUnnamed1719() {
+buildUnnamed1823() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed1719(core.List<api.Product> o) {
+checkUnnamed1823(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -1774,7 +1774,7 @@
var o = new api.GetOffersResponse();
buildCounterGetOffersResponse++;
if (buildCounterGetOffersResponse < 3) {
- o.products = buildUnnamed1719();
+ o.products = buildUnnamed1823();
}
buildCounterGetOffersResponse--;
return o;
@@ -1783,19 +1783,19 @@
checkGetOffersResponse(api.GetOffersResponse o) {
buildCounterGetOffersResponse++;
if (buildCounterGetOffersResponse < 3) {
- checkUnnamed1719(o.products);
+ checkUnnamed1823(o.products);
}
buildCounterGetOffersResponse--;
}
-buildUnnamed1720() {
+buildUnnamed1824() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed1720(core.List<api.MarketplaceDeal> o) {
+checkUnnamed1824(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -1806,7 +1806,7 @@
var o = new api.GetOrderDealsResponse();
buildCounterGetOrderDealsResponse++;
if (buildCounterGetOrderDealsResponse < 3) {
- o.deals = buildUnnamed1720();
+ o.deals = buildUnnamed1824();
}
buildCounterGetOrderDealsResponse--;
return o;
@@ -1815,19 +1815,19 @@
checkGetOrderDealsResponse(api.GetOrderDealsResponse o) {
buildCounterGetOrderDealsResponse++;
if (buildCounterGetOrderDealsResponse < 3) {
- checkUnnamed1720(o.deals);
+ checkUnnamed1824(o.deals);
}
buildCounterGetOrderDealsResponse--;
}
-buildUnnamed1721() {
+buildUnnamed1825() {
var o = new core.List<api.MarketplaceNote>();
o.add(buildMarketplaceNote());
o.add(buildMarketplaceNote());
return o;
}
-checkUnnamed1721(core.List<api.MarketplaceNote> o) {
+checkUnnamed1825(core.List<api.MarketplaceNote> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceNote(o[0]);
checkMarketplaceNote(o[1]);
@@ -1838,7 +1838,7 @@
var o = new api.GetOrderNotesResponse();
buildCounterGetOrderNotesResponse++;
if (buildCounterGetOrderNotesResponse < 3) {
- o.notes = buildUnnamed1721();
+ o.notes = buildUnnamed1825();
}
buildCounterGetOrderNotesResponse--;
return o;
@@ -1847,19 +1847,19 @@
checkGetOrderNotesResponse(api.GetOrderNotesResponse o) {
buildCounterGetOrderNotesResponse++;
if (buildCounterGetOrderNotesResponse < 3) {
- checkUnnamed1721(o.notes);
+ checkUnnamed1825(o.notes);
}
buildCounterGetOrderNotesResponse--;
}
-buildUnnamed1722() {
+buildUnnamed1826() {
var o = new core.List<api.Proposal>();
o.add(buildProposal());
o.add(buildProposal());
return o;
}
-checkUnnamed1722(core.List<api.Proposal> o) {
+checkUnnamed1826(core.List<api.Proposal> o) {
unittest.expect(o, unittest.hasLength(2));
checkProposal(o[0]);
checkProposal(o[1]);
@@ -1870,7 +1870,7 @@
var o = new api.GetOrdersResponse();
buildCounterGetOrdersResponse++;
if (buildCounterGetOrdersResponse < 3) {
- o.proposals = buildUnnamed1722();
+ o.proposals = buildUnnamed1826();
}
buildCounterGetOrdersResponse--;
return o;
@@ -1879,19 +1879,19 @@
checkGetOrdersResponse(api.GetOrdersResponse o) {
buildCounterGetOrdersResponse++;
if (buildCounterGetOrdersResponse < 3) {
- checkUnnamed1722(o.proposals);
+ checkUnnamed1826(o.proposals);
}
buildCounterGetOrdersResponse--;
}
-buildUnnamed1723() {
+buildUnnamed1827() {
var o = new core.List<api.PublisherProfileApiProto>();
o.add(buildPublisherProfileApiProto());
o.add(buildPublisherProfileApiProto());
return o;
}
-checkUnnamed1723(core.List<api.PublisherProfileApiProto> o) {
+checkUnnamed1827(core.List<api.PublisherProfileApiProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkPublisherProfileApiProto(o[0]);
checkPublisherProfileApiProto(o[1]);
@@ -1902,7 +1902,7 @@
var o = new api.GetPublisherProfilesByAccountIdResponse();
buildCounterGetPublisherProfilesByAccountIdResponse++;
if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) {
- o.profiles = buildUnnamed1723();
+ o.profiles = buildUnnamed1827();
}
buildCounterGetPublisherProfilesByAccountIdResponse--;
return o;
@@ -1911,32 +1911,32 @@
checkGetPublisherProfilesByAccountIdResponse(api.GetPublisherProfilesByAccountIdResponse o) {
buildCounterGetPublisherProfilesByAccountIdResponse++;
if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) {
- checkUnnamed1723(o.profiles);
+ checkUnnamed1827(o.profiles);
}
buildCounterGetPublisherProfilesByAccountIdResponse--;
}
-buildUnnamed1724() {
+buildUnnamed1828() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed1724(core.List<api.ContactInformation> o) {
+checkUnnamed1828(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
}
-buildUnnamed1725() {
+buildUnnamed1829() {
var o = new core.List<api.SharedTargeting>();
o.add(buildSharedTargeting());
o.add(buildSharedTargeting());
return o;
}
-checkUnnamed1725(core.List<api.SharedTargeting> o) {
+checkUnnamed1829(core.List<api.SharedTargeting> o) {
unittest.expect(o, unittest.hasLength(2));
checkSharedTargeting(o[0]);
checkSharedTargeting(o[1]);
@@ -1966,8 +1966,8 @@
o.productRevisionNumber = "foo";
o.programmaticCreativeSource = "foo";
o.proposalId = "foo";
- o.sellerContacts = buildUnnamed1724();
- o.sharedTargetings = buildUnnamed1725();
+ o.sellerContacts = buildUnnamed1828();
+ o.sharedTargetings = buildUnnamed1829();
o.syndicationProduct = "foo";
o.terms = buildDealTerms();
o.webPropertyCode = "foo";
@@ -1998,8 +1998,8 @@
unittest.expect(o.productRevisionNumber, unittest.equals('foo'));
unittest.expect(o.programmaticCreativeSource, unittest.equals('foo'));
unittest.expect(o.proposalId, unittest.equals('foo'));
- checkUnnamed1724(o.sellerContacts);
- checkUnnamed1725(o.sharedTargetings);
+ checkUnnamed1828(o.sellerContacts);
+ checkUnnamed1829(o.sharedTargetings);
unittest.expect(o.syndicationProduct, unittest.equals('foo'));
checkDealTerms(o.terms);
unittest.expect(o.webPropertyCode, unittest.equals('foo'));
@@ -2086,53 +2086,53 @@
buildCounterMarketplaceNote--;
}
-buildUnnamed1726() {
+buildUnnamed1830() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1726(core.List<core.Object> o) {
+checkUnnamed1830(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) 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[1]) 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'));
}
-buildUnnamed1727() {
+buildUnnamed1831() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1727(core.List<core.Object> o) {
+checkUnnamed1831(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) 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[1]) 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'));
}
-buildUnnamed1728() {
+buildUnnamed1832() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1728(core.List<core.Object> o) {
+checkUnnamed1832(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) 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[1]) 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'));
}
-buildUnnamed1729() {
+buildUnnamed1833() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1729(core.List<core.Object> o) {
+checkUnnamed1833(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o[0]) 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[1]) 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'));
@@ -2145,11 +2145,11 @@
if (buildCounterPerformanceReport < 3) {
o.bidRate = 42.0;
o.bidRequestRate = 42.0;
- o.calloutStatusRate = buildUnnamed1726();
- o.cookieMatcherStatusRate = buildUnnamed1727();
- o.creativeStatusRate = buildUnnamed1728();
+ o.calloutStatusRate = buildUnnamed1830();
+ o.cookieMatcherStatusRate = buildUnnamed1831();
+ o.creativeStatusRate = buildUnnamed1832();
o.filteredBidRate = 42.0;
- o.hostedMatchStatusRate = buildUnnamed1729();
+ o.hostedMatchStatusRate = buildUnnamed1833();
o.inventoryMatchRate = 42.0;
o.kind = "foo";
o.latency50thPercentile = 42.0;
@@ -2175,11 +2175,11 @@
if (buildCounterPerformanceReport < 3) {
unittest.expect(o.bidRate, unittest.equals(42.0));
unittest.expect(o.bidRequestRate, unittest.equals(42.0));
- checkUnnamed1726(o.calloutStatusRate);
- checkUnnamed1727(o.cookieMatcherStatusRate);
- checkUnnamed1728(o.creativeStatusRate);
+ checkUnnamed1830(o.calloutStatusRate);
+ checkUnnamed1831(o.cookieMatcherStatusRate);
+ checkUnnamed1832(o.creativeStatusRate);
unittest.expect(o.filteredBidRate, unittest.equals(42.0));
- checkUnnamed1729(o.hostedMatchStatusRate);
+ checkUnnamed1833(o.hostedMatchStatusRate);
unittest.expect(o.inventoryMatchRate, unittest.equals(42.0));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.latency50thPercentile, unittest.equals(42.0));
@@ -2199,14 +2199,14 @@
buildCounterPerformanceReport--;
}
-buildUnnamed1730() {
+buildUnnamed1834() {
var o = new core.List<api.PerformanceReport>();
o.add(buildPerformanceReport());
o.add(buildPerformanceReport());
return o;
}
-checkUnnamed1730(core.List<api.PerformanceReport> o) {
+checkUnnamed1834(core.List<api.PerformanceReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerformanceReport(o[0]);
checkPerformanceReport(o[1]);
@@ -2218,7 +2218,7 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
o.kind = "foo";
- o.performanceReport = buildUnnamed1730();
+ o.performanceReport = buildUnnamed1834();
}
buildCounterPerformanceReportList--;
return o;
@@ -2228,19 +2228,19 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1730(o.performanceReport);
+ checkUnnamed1834(o.performanceReport);
}
buildCounterPerformanceReportList--;
}
-buildUnnamed1731() {
+buildUnnamed1835() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1731(core.List<core.String> o) {
+checkUnnamed1835(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2267,40 +2267,40 @@
buildCounterPretargetingConfigDimensions--;
}
-buildUnnamed1732() {
+buildUnnamed1836() {
var o = new core.List<api.PretargetingConfigDimensions>();
o.add(buildPretargetingConfigDimensions());
o.add(buildPretargetingConfigDimensions());
return o;
}
-checkUnnamed1732(core.List<api.PretargetingConfigDimensions> o) {
+checkUnnamed1836(core.List<api.PretargetingConfigDimensions> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigDimensions(o[0]);
checkPretargetingConfigDimensions(o[1]);
}
-buildUnnamed1733() {
+buildUnnamed1837() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1733(core.List<core.String> o) {
+checkUnnamed1837(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1734() {
+buildUnnamed1838() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1734(core.List<core.String> o) {
+checkUnnamed1838(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2327,105 +2327,105 @@
buildCounterPretargetingConfigExcludedPlacements--;
}
-buildUnnamed1735() {
+buildUnnamed1839() {
var o = new core.List<api.PretargetingConfigExcludedPlacements>();
o.add(buildPretargetingConfigExcludedPlacements());
o.add(buildPretargetingConfigExcludedPlacements());
return o;
}
-checkUnnamed1735(core.List<api.PretargetingConfigExcludedPlacements> o) {
+checkUnnamed1839(core.List<api.PretargetingConfigExcludedPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigExcludedPlacements(o[0]);
checkPretargetingConfigExcludedPlacements(o[1]);
}
-buildUnnamed1736() {
+buildUnnamed1840() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1736(core.List<core.String> o) {
+checkUnnamed1840(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1737() {
+buildUnnamed1841() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1737(core.List<core.String> o) {
+checkUnnamed1841(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1738() {
+buildUnnamed1842() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1738(core.List<core.String> o) {
+checkUnnamed1842(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1739() {
+buildUnnamed1843() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1739(core.List<core.String> o) {
+checkUnnamed1843(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1740() {
+buildUnnamed1844() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1740(core.List<core.String> o) {
+checkUnnamed1844(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1741() {
+buildUnnamed1845() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1741(core.List<core.String> o) {
+checkUnnamed1845(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1742() {
+buildUnnamed1846() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1742(core.List<core.String> o) {
+checkUnnamed1846(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2452,92 +2452,92 @@
buildCounterPretargetingConfigPlacements--;
}
-buildUnnamed1743() {
+buildUnnamed1847() {
var o = new core.List<api.PretargetingConfigPlacements>();
o.add(buildPretargetingConfigPlacements());
o.add(buildPretargetingConfigPlacements());
return o;
}
-checkUnnamed1743(core.List<api.PretargetingConfigPlacements> o) {
+checkUnnamed1847(core.List<api.PretargetingConfigPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigPlacements(o[0]);
checkPretargetingConfigPlacements(o[1]);
}
-buildUnnamed1744() {
+buildUnnamed1848() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1744(core.List<core.String> o) {
+checkUnnamed1848(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1745() {
+buildUnnamed1849() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1745(core.List<core.String> o) {
+checkUnnamed1849(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1746() {
+buildUnnamed1850() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1746(core.List<core.String> o) {
+checkUnnamed1850(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1747() {
+buildUnnamed1851() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1747(core.List<core.String> o) {
+checkUnnamed1851(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1748() {
+buildUnnamed1852() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1748(core.List<core.String> o) {
+checkUnnamed1852(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1749() {
+buildUnnamed1853() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1749(core.List<core.String> o) {
+checkUnnamed1853(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2566,14 +2566,14 @@
buildCounterPretargetingConfigVideoPlayerSizes--;
}
-buildUnnamed1750() {
+buildUnnamed1854() {
var o = new core.List<api.PretargetingConfigVideoPlayerSizes>();
o.add(buildPretargetingConfigVideoPlayerSizes());
o.add(buildPretargetingConfigVideoPlayerSizes());
return o;
}
-checkUnnamed1750(core.List<api.PretargetingConfigVideoPlayerSizes> o) {
+checkUnnamed1854(core.List<api.PretargetingConfigVideoPlayerSizes> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigVideoPlayerSizes(o[0]);
checkPretargetingConfigVideoPlayerSizes(o[1]);
@@ -2587,29 +2587,29 @@
o.billingId = "foo";
o.configId = "foo";
o.configName = "foo";
- o.creativeType = buildUnnamed1731();
- o.dimensions = buildUnnamed1732();
- o.excludedContentLabels = buildUnnamed1733();
- o.excludedGeoCriteriaIds = buildUnnamed1734();
- o.excludedPlacements = buildUnnamed1735();
- o.excludedUserLists = buildUnnamed1736();
- o.excludedVerticals = buildUnnamed1737();
- o.geoCriteriaIds = buildUnnamed1738();
+ o.creativeType = buildUnnamed1835();
+ o.dimensions = buildUnnamed1836();
+ o.excludedContentLabels = buildUnnamed1837();
+ o.excludedGeoCriteriaIds = buildUnnamed1838();
+ o.excludedPlacements = buildUnnamed1839();
+ o.excludedUserLists = buildUnnamed1840();
+ o.excludedVerticals = buildUnnamed1841();
+ o.geoCriteriaIds = buildUnnamed1842();
o.isActive = true;
o.kind = "foo";
- o.languages = buildUnnamed1739();
+ o.languages = buildUnnamed1843();
o.minimumViewabilityDecile = 42;
- o.mobileCarriers = buildUnnamed1740();
- o.mobileDevices = buildUnnamed1741();
- o.mobileOperatingSystemVersions = buildUnnamed1742();
- o.placements = buildUnnamed1743();
- o.platforms = buildUnnamed1744();
- o.supportedCreativeAttributes = buildUnnamed1745();
- o.userIdentifierDataRequired = buildUnnamed1746();
- o.userLists = buildUnnamed1747();
- o.vendorTypes = buildUnnamed1748();
- o.verticals = buildUnnamed1749();
- o.videoPlayerSizes = buildUnnamed1750();
+ o.mobileCarriers = buildUnnamed1844();
+ o.mobileDevices = buildUnnamed1845();
+ o.mobileOperatingSystemVersions = buildUnnamed1846();
+ o.placements = buildUnnamed1847();
+ o.platforms = buildUnnamed1848();
+ o.supportedCreativeAttributes = buildUnnamed1849();
+ o.userIdentifierDataRequired = buildUnnamed1850();
+ o.userLists = buildUnnamed1851();
+ o.vendorTypes = buildUnnamed1852();
+ o.verticals = buildUnnamed1853();
+ o.videoPlayerSizes = buildUnnamed1854();
}
buildCounterPretargetingConfig--;
return o;
@@ -2621,41 +2621,41 @@
unittest.expect(o.billingId, unittest.equals('foo'));
unittest.expect(o.configId, unittest.equals('foo'));
unittest.expect(o.configName, unittest.equals('foo'));
- checkUnnamed1731(o.creativeType);
- checkUnnamed1732(o.dimensions);
- checkUnnamed1733(o.excludedContentLabels);
- checkUnnamed1734(o.excludedGeoCriteriaIds);
- checkUnnamed1735(o.excludedPlacements);
- checkUnnamed1736(o.excludedUserLists);
- checkUnnamed1737(o.excludedVerticals);
- checkUnnamed1738(o.geoCriteriaIds);
+ checkUnnamed1835(o.creativeType);
+ checkUnnamed1836(o.dimensions);
+ checkUnnamed1837(o.excludedContentLabels);
+ checkUnnamed1838(o.excludedGeoCriteriaIds);
+ checkUnnamed1839(o.excludedPlacements);
+ checkUnnamed1840(o.excludedUserLists);
+ checkUnnamed1841(o.excludedVerticals);
+ checkUnnamed1842(o.geoCriteriaIds);
unittest.expect(o.isActive, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1739(o.languages);
+ checkUnnamed1843(o.languages);
unittest.expect(o.minimumViewabilityDecile, unittest.equals(42));
- checkUnnamed1740(o.mobileCarriers);
- checkUnnamed1741(o.mobileDevices);
- checkUnnamed1742(o.mobileOperatingSystemVersions);
- checkUnnamed1743(o.placements);
- checkUnnamed1744(o.platforms);
- checkUnnamed1745(o.supportedCreativeAttributes);
- checkUnnamed1746(o.userIdentifierDataRequired);
- checkUnnamed1747(o.userLists);
- checkUnnamed1748(o.vendorTypes);
- checkUnnamed1749(o.verticals);
- checkUnnamed1750(o.videoPlayerSizes);
+ checkUnnamed1844(o.mobileCarriers);
+ checkUnnamed1845(o.mobileDevices);
+ checkUnnamed1846(o.mobileOperatingSystemVersions);
+ checkUnnamed1847(o.placements);
+ checkUnnamed1848(o.platforms);
+ checkUnnamed1849(o.supportedCreativeAttributes);
+ checkUnnamed1850(o.userIdentifierDataRequired);
+ checkUnnamed1851(o.userLists);
+ checkUnnamed1852(o.vendorTypes);
+ checkUnnamed1853(o.verticals);
+ checkUnnamed1854(o.videoPlayerSizes);
}
buildCounterPretargetingConfig--;
}
-buildUnnamed1751() {
+buildUnnamed1855() {
var o = new core.List<api.PretargetingConfig>();
o.add(buildPretargetingConfig());
o.add(buildPretargetingConfig());
return o;
}
-checkUnnamed1751(core.List<api.PretargetingConfig> o) {
+checkUnnamed1855(core.List<api.PretargetingConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfig(o[0]);
checkPretargetingConfig(o[1]);
@@ -2666,7 +2666,7 @@
var o = new api.PretargetingConfigList();
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- o.items = buildUnnamed1751();
+ o.items = buildUnnamed1855();
o.kind = "foo";
}
buildCounterPretargetingConfigList--;
@@ -2676,7 +2676,7 @@
checkPretargetingConfigList(api.PretargetingConfigList o) {
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- checkUnnamed1751(o.items);
+ checkUnnamed1855(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPretargetingConfigList--;
@@ -2751,40 +2751,40 @@
buildCounterPrivateData--;
}
-buildUnnamed1752() {
+buildUnnamed1856() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed1752(core.List<api.ContactInformation> o) {
+checkUnnamed1856(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
}
-buildUnnamed1753() {
+buildUnnamed1857() {
var o = new core.List<api.MarketplaceLabel>();
o.add(buildMarketplaceLabel());
o.add(buildMarketplaceLabel());
return o;
}
-checkUnnamed1753(core.List<api.MarketplaceLabel> o) {
+checkUnnamed1857(core.List<api.MarketplaceLabel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceLabel(o[0]);
checkMarketplaceLabel(o[1]);
}
-buildUnnamed1754() {
+buildUnnamed1858() {
var o = new core.List<api.SharedTargeting>();
o.add(buildSharedTargeting());
o.add(buildSharedTargeting());
return o;
}
-checkUnnamed1754(core.List<api.SharedTargeting> o) {
+checkUnnamed1858(core.List<api.SharedTargeting> o) {
unittest.expect(o, unittest.hasLength(2));
checkSharedTargeting(o[0]);
checkSharedTargeting(o[1]);
@@ -2796,14 +2796,14 @@
buildCounterProduct++;
if (buildCounterProduct < 3) {
o.creationTimeMs = "foo";
- o.creatorContacts = buildUnnamed1752();
+ o.creatorContacts = buildUnnamed1856();
o.deliveryControl = buildDeliveryControl();
o.flightEndTimeMs = "foo";
o.flightStartTimeMs = "foo";
o.hasCreatorSignedOff = true;
o.inventorySource = "foo";
o.kind = "foo";
- o.labels = buildUnnamed1753();
+ o.labels = buildUnnamed1857();
o.lastUpdateTimeMs = "foo";
o.legacyOfferId = "foo";
o.marketplacePublisherProfileId = "foo";
@@ -2814,7 +2814,7 @@
o.publisherProvidedForecast = buildPublisherProvidedForecast();
o.revisionNumber = "foo";
o.seller = buildSeller();
- o.sharedTargetings = buildUnnamed1754();
+ o.sharedTargetings = buildUnnamed1858();
o.state = "foo";
o.syndicationProduct = "foo";
o.terms = buildDealTerms();
@@ -2828,14 +2828,14 @@
buildCounterProduct++;
if (buildCounterProduct < 3) {
unittest.expect(o.creationTimeMs, unittest.equals('foo'));
- checkUnnamed1752(o.creatorContacts);
+ checkUnnamed1856(o.creatorContacts);
checkDeliveryControl(o.deliveryControl);
unittest.expect(o.flightEndTimeMs, unittest.equals('foo'));
unittest.expect(o.flightStartTimeMs, unittest.equals('foo'));
unittest.expect(o.hasCreatorSignedOff, unittest.isTrue);
unittest.expect(o.inventorySource, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1753(o.labels);
+ checkUnnamed1857(o.labels);
unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo'));
unittest.expect(o.legacyOfferId, unittest.equals('foo'));
unittest.expect(o.marketplacePublisherProfileId, unittest.equals('foo'));
@@ -2846,7 +2846,7 @@
checkPublisherProvidedForecast(o.publisherProvidedForecast);
unittest.expect(o.revisionNumber, unittest.equals('foo'));
checkSeller(o.seller);
- checkUnnamed1754(o.sharedTargetings);
+ checkUnnamed1858(o.sharedTargetings);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.syndicationProduct, unittest.equals('foo'));
checkDealTerms(o.terms);
@@ -2855,53 +2855,53 @@
buildCounterProduct--;
}
-buildUnnamed1755() {
+buildUnnamed1859() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed1755(core.List<api.ContactInformation> o) {
+checkUnnamed1859(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
}
-buildUnnamed1756() {
+buildUnnamed1860() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1756(core.List<core.String> o) {
+checkUnnamed1860(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1757() {
+buildUnnamed1861() {
var o = new core.List<api.MarketplaceLabel>();
o.add(buildMarketplaceLabel());
o.add(buildMarketplaceLabel());
return o;
}
-checkUnnamed1757(core.List<api.MarketplaceLabel> o) {
+checkUnnamed1861(core.List<api.MarketplaceLabel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceLabel(o[0]);
checkMarketplaceLabel(o[1]);
}
-buildUnnamed1758() {
+buildUnnamed1862() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed1758(core.List<api.ContactInformation> o) {
+checkUnnamed1862(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
@@ -2914,16 +2914,16 @@
if (buildCounterProposal < 3) {
o.billedBuyer = buildBuyer();
o.buyer = buildBuyer();
- o.buyerContacts = buildUnnamed1755();
+ o.buyerContacts = buildUnnamed1859();
o.buyerPrivateData = buildPrivateData();
- o.dbmAdvertiserIds = buildUnnamed1756();
+ o.dbmAdvertiserIds = buildUnnamed1860();
o.hasBuyerSignedOff = true;
o.hasSellerSignedOff = true;
o.inventorySource = "foo";
o.isRenegotiating = true;
o.isSetupComplete = true;
o.kind = "foo";
- o.labels = buildUnnamed1757();
+ o.labels = buildUnnamed1861();
o.lastUpdaterOrCommentorRole = "foo";
o.name = "foo";
o.negotiationId = "foo";
@@ -2934,7 +2934,7 @@
o.revisionNumber = "foo";
o.revisionTimeMs = "foo";
o.seller = buildSeller();
- o.sellerContacts = buildUnnamed1758();
+ o.sellerContacts = buildUnnamed1862();
}
buildCounterProposal--;
return o;
@@ -2945,16 +2945,16 @@
if (buildCounterProposal < 3) {
checkBuyer(o.billedBuyer);
checkBuyer(o.buyer);
- checkUnnamed1755(o.buyerContacts);
+ checkUnnamed1859(o.buyerContacts);
checkPrivateData(o.buyerPrivateData);
- checkUnnamed1756(o.dbmAdvertiserIds);
+ checkUnnamed1860(o.dbmAdvertiserIds);
unittest.expect(o.hasBuyerSignedOff, unittest.isTrue);
unittest.expect(o.hasSellerSignedOff, unittest.isTrue);
unittest.expect(o.inventorySource, unittest.equals('foo'));
unittest.expect(o.isRenegotiating, unittest.isTrue);
unittest.expect(o.isSetupComplete, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1757(o.labels);
+ checkUnnamed1861(o.labels);
unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.negotiationId, unittest.equals('foo'));
@@ -2965,32 +2965,32 @@
unittest.expect(o.revisionNumber, unittest.equals('foo'));
unittest.expect(o.revisionTimeMs, unittest.equals('foo'));
checkSeller(o.seller);
- checkUnnamed1758(o.sellerContacts);
+ checkUnnamed1862(o.sellerContacts);
}
buildCounterProposal--;
}
-buildUnnamed1759() {
+buildUnnamed1863() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1759(core.List<core.String> o) {
+checkUnnamed1863(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1760() {
+buildUnnamed1864() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1760(core.List<core.String> o) {
+checkUnnamed1864(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3016,14 +3016,14 @@
o.overview = "foo";
o.profileId = 42;
o.programmaticContact = "foo";
- o.publisherDomains = buildUnnamed1759();
+ o.publisherDomains = buildUnnamed1863();
o.publisherProfileId = "foo";
o.publisherProvidedForecast = buildPublisherProvidedForecast();
o.rateCardInfoLink = "foo";
o.samplePageLink = "foo";
o.seller = buildSeller();
o.state = "foo";
- o.topHeadlines = buildUnnamed1760();
+ o.topHeadlines = buildUnnamed1864();
}
buildCounterPublisherProfileApiProto--;
return o;
@@ -3047,26 +3047,26 @@
unittest.expect(o.overview, unittest.equals('foo'));
unittest.expect(o.profileId, unittest.equals(42));
unittest.expect(o.programmaticContact, unittest.equals('foo'));
- checkUnnamed1759(o.publisherDomains);
+ checkUnnamed1863(o.publisherDomains);
unittest.expect(o.publisherProfileId, unittest.equals('foo'));
checkPublisherProvidedForecast(o.publisherProvidedForecast);
unittest.expect(o.rateCardInfoLink, unittest.equals('foo'));
unittest.expect(o.samplePageLink, unittest.equals('foo'));
checkSeller(o.seller);
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed1760(o.topHeadlines);
+ checkUnnamed1864(o.topHeadlines);
}
buildCounterPublisherProfileApiProto--;
}
-buildUnnamed1761() {
+buildUnnamed1865() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed1761(core.List<api.Dimension> o) {
+checkUnnamed1865(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
@@ -3077,7 +3077,7 @@
var o = new api.PublisherProvidedForecast();
buildCounterPublisherProvidedForecast++;
if (buildCounterPublisherProvidedForecast < 3) {
- o.dimensions = buildUnnamed1761();
+ o.dimensions = buildUnnamed1865();
o.weeklyImpressions = "foo";
o.weeklyUniques = "foo";
}
@@ -3088,7 +3088,7 @@
checkPublisherProvidedForecast(api.PublisherProvidedForecast o) {
buildCounterPublisherProvidedForecast++;
if (buildCounterPublisherProvidedForecast < 3) {
- checkUnnamed1761(o.dimensions);
+ checkUnnamed1865(o.dimensions);
unittest.expect(o.weeklyImpressions, unittest.equals('foo'));
unittest.expect(o.weeklyUniques, unittest.equals('foo'));
}
@@ -3116,27 +3116,27 @@
buildCounterSeller--;
}
-buildUnnamed1762() {
+buildUnnamed1866() {
var o = new core.List<api.TargetingValue>();
o.add(buildTargetingValue());
o.add(buildTargetingValue());
return o;
}
-checkUnnamed1762(core.List<api.TargetingValue> o) {
+checkUnnamed1866(core.List<api.TargetingValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingValue(o[0]);
checkTargetingValue(o[1]);
}
-buildUnnamed1763() {
+buildUnnamed1867() {
var o = new core.List<api.TargetingValue>();
o.add(buildTargetingValue());
o.add(buildTargetingValue());
return o;
}
-checkUnnamed1763(core.List<api.TargetingValue> o) {
+checkUnnamed1867(core.List<api.TargetingValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingValue(o[0]);
checkTargetingValue(o[1]);
@@ -3147,8 +3147,8 @@
var o = new api.SharedTargeting();
buildCounterSharedTargeting++;
if (buildCounterSharedTargeting < 3) {
- o.exclusions = buildUnnamed1762();
- o.inclusions = buildUnnamed1763();
+ o.exclusions = buildUnnamed1866();
+ o.inclusions = buildUnnamed1867();
o.key = "foo";
}
buildCounterSharedTargeting--;
@@ -3158,8 +3158,8 @@
checkSharedTargeting(api.SharedTargeting o) {
buildCounterSharedTargeting++;
if (buildCounterSharedTargeting < 3) {
- checkUnnamed1762(o.exclusions);
- checkUnnamed1763(o.inclusions);
+ checkUnnamed1866(o.exclusions);
+ checkUnnamed1867(o.inclusions);
unittest.expect(o.key, unittest.equals('foo'));
}
buildCounterSharedTargeting--;
@@ -3190,14 +3190,14 @@
buildCounterTargetingValue--;
}
-buildUnnamed1764() {
+buildUnnamed1868() {
var o = new core.List<api.TargetingValueSize>();
o.add(buildTargetingValueSize());
o.add(buildTargetingValueSize());
return o;
}
-checkUnnamed1764(core.List<api.TargetingValueSize> o) {
+checkUnnamed1868(core.List<api.TargetingValueSize> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingValueSize(o[0]);
checkTargetingValueSize(o[1]);
@@ -3208,7 +3208,7 @@
var o = new api.TargetingValueCreativeSize();
buildCounterTargetingValueCreativeSize++;
if (buildCounterTargetingValueCreativeSize < 3) {
- o.companionSizes = buildUnnamed1764();
+ o.companionSizes = buildUnnamed1868();
o.creativeSizeType = "foo";
o.size = buildTargetingValueSize();
o.skippableAdType = "foo";
@@ -3220,7 +3220,7 @@
checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) {
buildCounterTargetingValueCreativeSize++;
if (buildCounterTargetingValueCreativeSize < 3) {
- checkUnnamed1764(o.companionSizes);
+ checkUnnamed1868(o.companionSizes);
unittest.expect(o.creativeSizeType, unittest.equals('foo'));
checkTargetingValueSize(o.size);
unittest.expect(o.skippableAdType, unittest.equals('foo'));
@@ -3228,14 +3228,14 @@
buildCounterTargetingValueCreativeSize--;
}
-buildUnnamed1765() {
+buildUnnamed1869() {
var o = new core.List<api.TargetingValueDayPartTargetingDayPart>();
o.add(buildTargetingValueDayPartTargetingDayPart());
o.add(buildTargetingValueDayPartTargetingDayPart());
return o;
}
-checkUnnamed1765(core.List<api.TargetingValueDayPartTargetingDayPart> o) {
+checkUnnamed1869(core.List<api.TargetingValueDayPartTargetingDayPart> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingValueDayPartTargetingDayPart(o[0]);
checkTargetingValueDayPartTargetingDayPart(o[1]);
@@ -3246,7 +3246,7 @@
var o = new api.TargetingValueDayPartTargeting();
buildCounterTargetingValueDayPartTargeting++;
if (buildCounterTargetingValueDayPartTargeting < 3) {
- o.dayParts = buildUnnamed1765();
+ o.dayParts = buildUnnamed1869();
o.timeZoneType = "foo";
}
buildCounterTargetingValueDayPartTargeting--;
@@ -3256,7 +3256,7 @@
checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) {
buildCounterTargetingValueDayPartTargeting++;
if (buildCounterTargetingValueDayPartTargeting < 3) {
- checkUnnamed1765(o.dayParts);
+ checkUnnamed1869(o.dayParts);
unittest.expect(o.timeZoneType, unittest.equals('foo'));
}
buildCounterTargetingValueDayPartTargeting--;
@@ -3335,27 +3335,27 @@
buildCounterUpdatePrivateAuctionProposalRequest--;
}
-buildUnnamed1766() {
+buildUnnamed1870() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1766(core.List<core.int> o) {
+checkUnnamed1870(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed1767() {
+buildUnnamed1871() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1767(core.List<core.String> o) {
+checkUnnamed1871(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4719,8 +4719,8 @@
var mock = new HttpServerMock();
api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
- var arg_accountId = buildUnnamed1766();
- var arg_buyerCreativeId = buildUnnamed1767();
+ var arg_accountId = buildUnnamed1870();
+ var arg_buyerCreativeId = buildUnnamed1871();
var arg_dealsStatusFilter = "foo";
var arg_maxResults = 42;
var arg_openAuctionStatusFilter = "foo";
diff --git a/generated/googleapis/test/adexchangeseller/v1_1_test.dart b/generated/googleapis/test/adexchangeseller/v1_1_test.dart
index 806e185..465d53c 100644
--- a/generated/googleapis/test/adexchangeseller/v1_1_test.dart
+++ b/generated/googleapis/test/adexchangeseller/v1_1_test.dart
@@ -101,14 +101,14 @@
buildCounterAdClient--;
}
-buildUnnamed200() {
+buildUnnamed221() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed200(core.List<api.AdClient> o) {
+checkUnnamed221(core.List<api.AdClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdClient(o[0]);
checkAdClient(o[1]);
@@ -120,7 +120,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
o.etag = "foo";
- o.items = buildUnnamed200();
+ o.items = buildUnnamed221();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -132,7 +132,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed200(o.items);
+ checkUnnamed221(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -166,14 +166,14 @@
buildCounterAdUnit--;
}
-buildUnnamed201() {
+buildUnnamed222() {
var o = new core.List<api.AdUnit>();
o.add(buildAdUnit());
o.add(buildAdUnit());
return o;
}
-checkUnnamed201(core.List<api.AdUnit> o) {
+checkUnnamed222(core.List<api.AdUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdUnit(o[0]);
checkAdUnit(o[1]);
@@ -185,7 +185,7 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
o.etag = "foo";
- o.items = buildUnnamed201();
+ o.items = buildUnnamed222();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -197,7 +197,7 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed201(o.items);
+ checkUnnamed222(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -231,14 +231,14 @@
buildCounterAlert--;
}
-buildUnnamed202() {
+buildUnnamed223() {
var o = new core.List<api.Alert>();
o.add(buildAlert());
o.add(buildAlert());
return o;
}
-checkUnnamed202(core.List<api.Alert> o) {
+checkUnnamed223(core.List<api.Alert> o) {
unittest.expect(o, unittest.hasLength(2));
checkAlert(o[0]);
checkAlert(o[1]);
@@ -249,7 +249,7 @@
var o = new api.Alerts();
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- o.items = buildUnnamed202();
+ o.items = buildUnnamed223();
o.kind = "foo";
}
buildCounterAlerts--;
@@ -259,7 +259,7 @@
checkAlerts(api.Alerts o) {
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- checkUnnamed202(o.items);
+ checkUnnamed223(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAlerts--;
@@ -317,14 +317,14 @@
buildCounterCustomChannel--;
}
-buildUnnamed203() {
+buildUnnamed224() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed203(core.List<api.CustomChannel> o) {
+checkUnnamed224(core.List<api.CustomChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomChannel(o[0]);
checkCustomChannel(o[1]);
@@ -336,7 +336,7 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed203();
+ o.items = buildUnnamed224();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -348,21 +348,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed203(o.items);
+ checkUnnamed224(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed204() {
+buildUnnamed225() {
var o = new core.List<api.ReportingMetadataEntry>();
o.add(buildReportingMetadataEntry());
o.add(buildReportingMetadataEntry());
return o;
}
-checkUnnamed204(core.List<api.ReportingMetadataEntry> o) {
+checkUnnamed225(core.List<api.ReportingMetadataEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportingMetadataEntry(o[0]);
checkReportingMetadataEntry(o[1]);
@@ -373,7 +373,7 @@
var o = new api.Metadata();
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- o.items = buildUnnamed204();
+ o.items = buildUnnamed225();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -383,7 +383,7 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed204(o.items);
+ checkUnnamed225(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -422,14 +422,14 @@
buildCounterPreferredDeal--;
}
-buildUnnamed205() {
+buildUnnamed226() {
var o = new core.List<api.PreferredDeal>();
o.add(buildPreferredDeal());
o.add(buildPreferredDeal());
return o;
}
-checkUnnamed205(core.List<api.PreferredDeal> o) {
+checkUnnamed226(core.List<api.PreferredDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkPreferredDeal(o[0]);
checkPreferredDeal(o[1]);
@@ -440,7 +440,7 @@
var o = new api.PreferredDeals();
buildCounterPreferredDeals++;
if (buildCounterPreferredDeals < 3) {
- o.items = buildUnnamed205();
+ o.items = buildUnnamed226();
o.kind = "foo";
}
buildCounterPreferredDeals--;
@@ -450,20 +450,20 @@
checkPreferredDeals(api.PreferredDeals o) {
buildCounterPreferredDeals++;
if (buildCounterPreferredDeals < 3) {
- checkUnnamed205(o.items);
+ checkUnnamed226(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPreferredDeals--;
}
-buildUnnamed206() {
+buildUnnamed227() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed206(core.List<core.String> o) {
+checkUnnamed227(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -492,66 +492,66 @@
buildCounterReportHeaders--;
}
-buildUnnamed207() {
+buildUnnamed228() {
var o = new core.List<api.ReportHeaders>();
o.add(buildReportHeaders());
o.add(buildReportHeaders());
return o;
}
-checkUnnamed207(core.List<api.ReportHeaders> o) {
+checkUnnamed228(core.List<api.ReportHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportHeaders(o[0]);
checkReportHeaders(o[1]);
}
-buildUnnamed208() {
+buildUnnamed229() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed208(core.List<core.String> o) {
+checkUnnamed229(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed209() {
+buildUnnamed230() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed208());
- o.add(buildUnnamed208());
+ o.add(buildUnnamed229());
+ o.add(buildUnnamed229());
return o;
}
-checkUnnamed209(core.List<core.List<core.String>> o) {
+checkUnnamed230(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed208(o[0]);
- checkUnnamed208(o[1]);
+ checkUnnamed229(o[0]);
+ checkUnnamed229(o[1]);
}
-buildUnnamed210() {
+buildUnnamed231() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed210(core.List<core.String> o) {
+checkUnnamed231(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed211() {
+buildUnnamed232() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed211(core.List<core.String> o) {
+checkUnnamed232(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -562,13 +562,13 @@
var o = new api.Report();
buildCounterReport++;
if (buildCounterReport < 3) {
- o.averages = buildUnnamed206();
- o.headers = buildUnnamed207();
+ o.averages = buildUnnamed227();
+ o.headers = buildUnnamed228();
o.kind = "foo";
- o.rows = buildUnnamed209();
+ o.rows = buildUnnamed230();
o.totalMatchedRows = "foo";
- o.totals = buildUnnamed210();
- o.warnings = buildUnnamed211();
+ o.totals = buildUnnamed231();
+ o.warnings = buildUnnamed232();
}
buildCounterReport--;
return o;
@@ -577,77 +577,77 @@
checkReport(api.Report o) {
buildCounterReport++;
if (buildCounterReport < 3) {
- checkUnnamed206(o.averages);
- checkUnnamed207(o.headers);
+ checkUnnamed227(o.averages);
+ checkUnnamed228(o.headers);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed209(o.rows);
+ checkUnnamed230(o.rows);
unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed210(o.totals);
- checkUnnamed211(o.warnings);
+ checkUnnamed231(o.totals);
+ checkUnnamed232(o.warnings);
}
buildCounterReport--;
}
-buildUnnamed212() {
+buildUnnamed233() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed212(core.List<core.String> o) {
+checkUnnamed233(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed213() {
+buildUnnamed234() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed213(core.List<core.String> o) {
+checkUnnamed234(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed214() {
+buildUnnamed235() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed214(core.List<core.String> o) {
+checkUnnamed235(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed215() {
+buildUnnamed236() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed215(core.List<core.String> o) {
+checkUnnamed236(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed216() {
+buildUnnamed237() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed216(core.List<core.String> o) {
+checkUnnamed237(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -658,13 +658,13 @@
var o = new api.ReportingMetadataEntry();
buildCounterReportingMetadataEntry++;
if (buildCounterReportingMetadataEntry < 3) {
- o.compatibleDimensions = buildUnnamed212();
- o.compatibleMetrics = buildUnnamed213();
+ o.compatibleDimensions = buildUnnamed233();
+ o.compatibleMetrics = buildUnnamed234();
o.id = "foo";
o.kind = "foo";
- o.requiredDimensions = buildUnnamed214();
- o.requiredMetrics = buildUnnamed215();
- o.supportedProducts = buildUnnamed216();
+ o.requiredDimensions = buildUnnamed235();
+ o.requiredMetrics = buildUnnamed236();
+ o.supportedProducts = buildUnnamed237();
}
buildCounterReportingMetadataEntry--;
return o;
@@ -673,13 +673,13 @@
checkReportingMetadataEntry(api.ReportingMetadataEntry o) {
buildCounterReportingMetadataEntry++;
if (buildCounterReportingMetadataEntry < 3) {
- checkUnnamed212(o.compatibleDimensions);
- checkUnnamed213(o.compatibleMetrics);
+ checkUnnamed233(o.compatibleDimensions);
+ checkUnnamed234(o.compatibleMetrics);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed214(o.requiredDimensions);
- checkUnnamed215(o.requiredMetrics);
- checkUnnamed216(o.supportedProducts);
+ checkUnnamed235(o.requiredDimensions);
+ checkUnnamed236(o.requiredMetrics);
+ checkUnnamed237(o.supportedProducts);
}
buildCounterReportingMetadataEntry--;
}
@@ -707,14 +707,14 @@
buildCounterSavedReport--;
}
-buildUnnamed217() {
+buildUnnamed238() {
var o = new core.List<api.SavedReport>();
o.add(buildSavedReport());
o.add(buildSavedReport());
return o;
}
-checkUnnamed217(core.List<api.SavedReport> o) {
+checkUnnamed238(core.List<api.SavedReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkSavedReport(o[0]);
checkSavedReport(o[1]);
@@ -726,7 +726,7 @@
buildCounterSavedReports++;
if (buildCounterSavedReports < 3) {
o.etag = "foo";
- o.items = buildUnnamed217();
+ o.items = buildUnnamed238();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -738,7 +738,7 @@
buildCounterSavedReports++;
if (buildCounterSavedReports < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed217(o.items);
+ checkUnnamed238(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -768,14 +768,14 @@
buildCounterUrlChannel--;
}
-buildUnnamed218() {
+buildUnnamed239() {
var o = new core.List<api.UrlChannel>();
o.add(buildUrlChannel());
o.add(buildUrlChannel());
return o;
}
-checkUnnamed218(core.List<api.UrlChannel> o) {
+checkUnnamed239(core.List<api.UrlChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlChannel(o[0]);
checkUrlChannel(o[1]);
@@ -787,7 +787,7 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed218();
+ o.items = buildUnnamed239();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -799,60 +799,60 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed218(o.items);
+ checkUnnamed239(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterUrlChannels--;
}
-buildUnnamed219() {
+buildUnnamed240() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed219(core.List<core.String> o) {
+checkUnnamed240(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed220() {
+buildUnnamed241() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed220(core.List<core.String> o) {
+checkUnnamed241(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed221() {
+buildUnnamed242() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed221(core.List<core.String> o) {
+checkUnnamed242(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed222() {
+buildUnnamed243() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed222(core.List<core.String> o) {
+checkUnnamed243(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1780,12 +1780,12 @@
api.ReportsResourceApi res = new api.AdexchangesellerApi(mock).reports;
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_dimension = buildUnnamed219();
- var arg_filter = buildUnnamed220();
+ var arg_dimension = buildUnnamed240();
+ var arg_filter = buildUnnamed241();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed221();
- var arg_sort = buildUnnamed222();
+ var arg_metric = buildUnnamed242();
+ var arg_sort = buildUnnamed243();
var arg_startIndex = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/adexchangeseller/v2_0_test.dart b/generated/googleapis/test/adexchangeseller/v2_0_test.dart
index 7978b9c..7dc1d6d 100644
--- a/generated/googleapis/test/adexchangeseller/v2_0_test.dart
+++ b/generated/googleapis/test/adexchangeseller/v2_0_test.dart
@@ -74,14 +74,14 @@
buildCounterAccount--;
}
-buildUnnamed1475() {
+buildUnnamed1532() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1475(core.List<api.Account> o) {
+checkUnnamed1532(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -93,7 +93,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
o.etag = "foo";
- o.items = buildUnnamed1475();
+ o.items = buildUnnamed1532();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -105,7 +105,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1475(o.items);
+ checkUnnamed1532(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -139,14 +139,14 @@
buildCounterAdClient--;
}
-buildUnnamed1476() {
+buildUnnamed1533() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed1476(core.List<api.AdClient> o) {
+checkUnnamed1533(core.List<api.AdClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdClient(o[0]);
checkAdClient(o[1]);
@@ -158,7 +158,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
o.etag = "foo";
- o.items = buildUnnamed1476();
+ o.items = buildUnnamed1533();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -170,7 +170,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1476(o.items);
+ checkUnnamed1533(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -204,14 +204,14 @@
buildCounterAlert--;
}
-buildUnnamed1477() {
+buildUnnamed1534() {
var o = new core.List<api.Alert>();
o.add(buildAlert());
o.add(buildAlert());
return o;
}
-checkUnnamed1477(core.List<api.Alert> o) {
+checkUnnamed1534(core.List<api.Alert> o) {
unittest.expect(o, unittest.hasLength(2));
checkAlert(o[0]);
checkAlert(o[1]);
@@ -222,7 +222,7 @@
var o = new api.Alerts();
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- o.items = buildUnnamed1477();
+ o.items = buildUnnamed1534();
o.kind = "foo";
}
buildCounterAlerts--;
@@ -232,7 +232,7 @@
checkAlerts(api.Alerts o) {
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- checkUnnamed1477(o.items);
+ checkUnnamed1534(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAlerts--;
@@ -290,14 +290,14 @@
buildCounterCustomChannel--;
}
-buildUnnamed1478() {
+buildUnnamed1535() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed1478(core.List<api.CustomChannel> o) {
+checkUnnamed1535(core.List<api.CustomChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomChannel(o[0]);
checkCustomChannel(o[1]);
@@ -309,7 +309,7 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed1478();
+ o.items = buildUnnamed1535();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -321,21 +321,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1478(o.items);
+ checkUnnamed1535(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed1479() {
+buildUnnamed1536() {
var o = new core.List<api.ReportingMetadataEntry>();
o.add(buildReportingMetadataEntry());
o.add(buildReportingMetadataEntry());
return o;
}
-checkUnnamed1479(core.List<api.ReportingMetadataEntry> o) {
+checkUnnamed1536(core.List<api.ReportingMetadataEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportingMetadataEntry(o[0]);
checkReportingMetadataEntry(o[1]);
@@ -346,7 +346,7 @@
var o = new api.Metadata();
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- o.items = buildUnnamed1479();
+ o.items = buildUnnamed1536();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -356,7 +356,7 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed1479(o.items);
+ checkUnnamed1536(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -395,14 +395,14 @@
buildCounterPreferredDeal--;
}
-buildUnnamed1480() {
+buildUnnamed1537() {
var o = new core.List<api.PreferredDeal>();
o.add(buildPreferredDeal());
o.add(buildPreferredDeal());
return o;
}
-checkUnnamed1480(core.List<api.PreferredDeal> o) {
+checkUnnamed1537(core.List<api.PreferredDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkPreferredDeal(o[0]);
checkPreferredDeal(o[1]);
@@ -413,7 +413,7 @@
var o = new api.PreferredDeals();
buildCounterPreferredDeals++;
if (buildCounterPreferredDeals < 3) {
- o.items = buildUnnamed1480();
+ o.items = buildUnnamed1537();
o.kind = "foo";
}
buildCounterPreferredDeals--;
@@ -423,20 +423,20 @@
checkPreferredDeals(api.PreferredDeals o) {
buildCounterPreferredDeals++;
if (buildCounterPreferredDeals < 3) {
- checkUnnamed1480(o.items);
+ checkUnnamed1537(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPreferredDeals--;
}
-buildUnnamed1481() {
+buildUnnamed1538() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1481(core.List<core.String> o) {
+checkUnnamed1538(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -465,66 +465,66 @@
buildCounterReportHeaders--;
}
-buildUnnamed1482() {
+buildUnnamed1539() {
var o = new core.List<api.ReportHeaders>();
o.add(buildReportHeaders());
o.add(buildReportHeaders());
return o;
}
-checkUnnamed1482(core.List<api.ReportHeaders> o) {
+checkUnnamed1539(core.List<api.ReportHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportHeaders(o[0]);
checkReportHeaders(o[1]);
}
-buildUnnamed1483() {
+buildUnnamed1540() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1483(core.List<core.String> o) {
+checkUnnamed1540(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1484() {
+buildUnnamed1541() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed1483());
- o.add(buildUnnamed1483());
+ o.add(buildUnnamed1540());
+ o.add(buildUnnamed1540());
return o;
}
-checkUnnamed1484(core.List<core.List<core.String>> o) {
+checkUnnamed1541(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1483(o[0]);
- checkUnnamed1483(o[1]);
+ checkUnnamed1540(o[0]);
+ checkUnnamed1540(o[1]);
}
-buildUnnamed1485() {
+buildUnnamed1542() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1485(core.List<core.String> o) {
+checkUnnamed1542(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1486() {
+buildUnnamed1543() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1486(core.List<core.String> o) {
+checkUnnamed1543(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -535,13 +535,13 @@
var o = new api.Report();
buildCounterReport++;
if (buildCounterReport < 3) {
- o.averages = buildUnnamed1481();
- o.headers = buildUnnamed1482();
+ o.averages = buildUnnamed1538();
+ o.headers = buildUnnamed1539();
o.kind = "foo";
- o.rows = buildUnnamed1484();
+ o.rows = buildUnnamed1541();
o.totalMatchedRows = "foo";
- o.totals = buildUnnamed1485();
- o.warnings = buildUnnamed1486();
+ o.totals = buildUnnamed1542();
+ o.warnings = buildUnnamed1543();
}
buildCounterReport--;
return o;
@@ -550,77 +550,77 @@
checkReport(api.Report o) {
buildCounterReport++;
if (buildCounterReport < 3) {
- checkUnnamed1481(o.averages);
- checkUnnamed1482(o.headers);
+ checkUnnamed1538(o.averages);
+ checkUnnamed1539(o.headers);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1484(o.rows);
+ checkUnnamed1541(o.rows);
unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed1485(o.totals);
- checkUnnamed1486(o.warnings);
+ checkUnnamed1542(o.totals);
+ checkUnnamed1543(o.warnings);
}
buildCounterReport--;
}
-buildUnnamed1487() {
+buildUnnamed1544() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1487(core.List<core.String> o) {
+checkUnnamed1544(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1488() {
+buildUnnamed1545() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1488(core.List<core.String> o) {
+checkUnnamed1545(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1489() {
+buildUnnamed1546() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1489(core.List<core.String> o) {
+checkUnnamed1546(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1490() {
+buildUnnamed1547() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1490(core.List<core.String> o) {
+checkUnnamed1547(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1491() {
+buildUnnamed1548() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1491(core.List<core.String> o) {
+checkUnnamed1548(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -631,13 +631,13 @@
var o = new api.ReportingMetadataEntry();
buildCounterReportingMetadataEntry++;
if (buildCounterReportingMetadataEntry < 3) {
- o.compatibleDimensions = buildUnnamed1487();
- o.compatibleMetrics = buildUnnamed1488();
+ o.compatibleDimensions = buildUnnamed1544();
+ o.compatibleMetrics = buildUnnamed1545();
o.id = "foo";
o.kind = "foo";
- o.requiredDimensions = buildUnnamed1489();
- o.requiredMetrics = buildUnnamed1490();
- o.supportedProducts = buildUnnamed1491();
+ o.requiredDimensions = buildUnnamed1546();
+ o.requiredMetrics = buildUnnamed1547();
+ o.supportedProducts = buildUnnamed1548();
}
buildCounterReportingMetadataEntry--;
return o;
@@ -646,13 +646,13 @@
checkReportingMetadataEntry(api.ReportingMetadataEntry o) {
buildCounterReportingMetadataEntry++;
if (buildCounterReportingMetadataEntry < 3) {
- checkUnnamed1487(o.compatibleDimensions);
- checkUnnamed1488(o.compatibleMetrics);
+ checkUnnamed1544(o.compatibleDimensions);
+ checkUnnamed1545(o.compatibleMetrics);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1489(o.requiredDimensions);
- checkUnnamed1490(o.requiredMetrics);
- checkUnnamed1491(o.supportedProducts);
+ checkUnnamed1546(o.requiredDimensions);
+ checkUnnamed1547(o.requiredMetrics);
+ checkUnnamed1548(o.supportedProducts);
}
buildCounterReportingMetadataEntry--;
}
@@ -680,14 +680,14 @@
buildCounterSavedReport--;
}
-buildUnnamed1492() {
+buildUnnamed1549() {
var o = new core.List<api.SavedReport>();
o.add(buildSavedReport());
o.add(buildSavedReport());
return o;
}
-checkUnnamed1492(core.List<api.SavedReport> o) {
+checkUnnamed1549(core.List<api.SavedReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkSavedReport(o[0]);
checkSavedReport(o[1]);
@@ -699,7 +699,7 @@
buildCounterSavedReports++;
if (buildCounterSavedReports < 3) {
o.etag = "foo";
- o.items = buildUnnamed1492();
+ o.items = buildUnnamed1549();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -711,7 +711,7 @@
buildCounterSavedReports++;
if (buildCounterSavedReports < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1492(o.items);
+ checkUnnamed1549(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -741,14 +741,14 @@
buildCounterUrlChannel--;
}
-buildUnnamed1493() {
+buildUnnamed1550() {
var o = new core.List<api.UrlChannel>();
o.add(buildUrlChannel());
o.add(buildUrlChannel());
return o;
}
-checkUnnamed1493(core.List<api.UrlChannel> o) {
+checkUnnamed1550(core.List<api.UrlChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlChannel(o[0]);
checkUrlChannel(o[1]);
@@ -760,7 +760,7 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed1493();
+ o.items = buildUnnamed1550();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -772,60 +772,60 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1493(o.items);
+ checkUnnamed1550(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterUrlChannels--;
}
-buildUnnamed1494() {
+buildUnnamed1551() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1494(core.List<core.String> o) {
+checkUnnamed1551(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1495() {
+buildUnnamed1552() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1495(core.List<core.String> o) {
+checkUnnamed1552(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1496() {
+buildUnnamed1553() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1496(core.List<core.String> o) {
+checkUnnamed1553(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1497() {
+buildUnnamed1554() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1497(core.List<core.String> o) {
+checkUnnamed1554(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1598,12 +1598,12 @@
var arg_accountId = "foo";
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_dimension = buildUnnamed1494();
- var arg_filter = buildUnnamed1495();
+ var arg_dimension = buildUnnamed1551();
+ var arg_filter = buildUnnamed1552();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed1496();
- var arg_sort = buildUnnamed1497();
+ var arg_metric = buildUnnamed1553();
+ var arg_sort = buildUnnamed1554();
var arg_startIndex = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/admin/datatransfer_v1_test.dart b/generated/googleapis/test/admin/datatransfer_v1_test.dart
index 4161340..a2d5cc2 100644
--- a/generated/googleapis/test/admin/datatransfer_v1_test.dart
+++ b/generated/googleapis/test/admin/datatransfer_v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed92() {
+buildUnnamed113() {
var o = new core.List<api.ApplicationTransferParam>();
o.add(buildApplicationTransferParam());
o.add(buildApplicationTransferParam());
return o;
}
-checkUnnamed92(core.List<api.ApplicationTransferParam> o) {
+checkUnnamed113(core.List<api.ApplicationTransferParam> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationTransferParam(o[0]);
checkApplicationTransferParam(o[1]);
@@ -73,7 +73,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.transferParams = buildUnnamed92();
+ o.transferParams = buildUnnamed113();
}
buildCounterApplication--;
return o;
@@ -86,19 +86,19 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed92(o.transferParams);
+ checkUnnamed113(o.transferParams);
}
buildCounterApplication--;
}
-buildUnnamed93() {
+buildUnnamed114() {
var o = new core.List<api.ApplicationTransferParam>();
o.add(buildApplicationTransferParam());
o.add(buildApplicationTransferParam());
return o;
}
-checkUnnamed93(core.List<api.ApplicationTransferParam> o) {
+checkUnnamed114(core.List<api.ApplicationTransferParam> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationTransferParam(o[0]);
checkApplicationTransferParam(o[1]);
@@ -110,7 +110,7 @@
buildCounterApplicationDataTransfer++;
if (buildCounterApplicationDataTransfer < 3) {
o.applicationId = "foo";
- o.applicationTransferParams = buildUnnamed93();
+ o.applicationTransferParams = buildUnnamed114();
o.applicationTransferStatus = "foo";
}
buildCounterApplicationDataTransfer--;
@@ -121,20 +121,20 @@
buildCounterApplicationDataTransfer++;
if (buildCounterApplicationDataTransfer < 3) {
unittest.expect(o.applicationId, unittest.equals('foo'));
- checkUnnamed93(o.applicationTransferParams);
+ checkUnnamed114(o.applicationTransferParams);
unittest.expect(o.applicationTransferStatus, unittest.equals('foo'));
}
buildCounterApplicationDataTransfer--;
}
-buildUnnamed94() {
+buildUnnamed115() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed94(core.List<core.String> o) {
+checkUnnamed115(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -146,7 +146,7 @@
buildCounterApplicationTransferParam++;
if (buildCounterApplicationTransferParam < 3) {
o.key = "foo";
- o.value = buildUnnamed94();
+ o.value = buildUnnamed115();
}
buildCounterApplicationTransferParam--;
return o;
@@ -156,19 +156,19 @@
buildCounterApplicationTransferParam++;
if (buildCounterApplicationTransferParam < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed94(o.value);
+ checkUnnamed115(o.value);
}
buildCounterApplicationTransferParam--;
}
-buildUnnamed95() {
+buildUnnamed116() {
var o = new core.List<api.Application>();
o.add(buildApplication());
o.add(buildApplication());
return o;
}
-checkUnnamed95(core.List<api.Application> o) {
+checkUnnamed116(core.List<api.Application> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplication(o[0]);
checkApplication(o[1]);
@@ -179,7 +179,7 @@
var o = new api.ApplicationsListResponse();
buildCounterApplicationsListResponse++;
if (buildCounterApplicationsListResponse < 3) {
- o.applications = buildUnnamed95();
+ o.applications = buildUnnamed116();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -191,7 +191,7 @@
checkApplicationsListResponse(api.ApplicationsListResponse o) {
buildCounterApplicationsListResponse++;
if (buildCounterApplicationsListResponse < 3) {
- checkUnnamed95(o.applications);
+ checkUnnamed116(o.applications);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -199,14 +199,14 @@
buildCounterApplicationsListResponse--;
}
-buildUnnamed96() {
+buildUnnamed117() {
var o = new core.List<api.ApplicationDataTransfer>();
o.add(buildApplicationDataTransfer());
o.add(buildApplicationDataTransfer());
return o;
}
-checkUnnamed96(core.List<api.ApplicationDataTransfer> o) {
+checkUnnamed117(core.List<api.ApplicationDataTransfer> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationDataTransfer(o[0]);
checkApplicationDataTransfer(o[1]);
@@ -217,7 +217,7 @@
var o = new api.DataTransfer();
buildCounterDataTransfer++;
if (buildCounterDataTransfer < 3) {
- o.applicationDataTransfers = buildUnnamed96();
+ o.applicationDataTransfers = buildUnnamed117();
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
@@ -233,7 +233,7 @@
checkDataTransfer(api.DataTransfer o) {
buildCounterDataTransfer++;
if (buildCounterDataTransfer < 3) {
- checkUnnamed96(o.applicationDataTransfers);
+ checkUnnamed117(o.applicationDataTransfers);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -245,14 +245,14 @@
buildCounterDataTransfer--;
}
-buildUnnamed97() {
+buildUnnamed118() {
var o = new core.List<api.DataTransfer>();
o.add(buildDataTransfer());
o.add(buildDataTransfer());
return o;
}
-checkUnnamed97(core.List<api.DataTransfer> o) {
+checkUnnamed118(core.List<api.DataTransfer> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataTransfer(o[0]);
checkDataTransfer(o[1]);
@@ -263,7 +263,7 @@
var o = new api.DataTransfersListResponse();
buildCounterDataTransfersListResponse++;
if (buildCounterDataTransfersListResponse < 3) {
- o.dataTransfers = buildUnnamed97();
+ o.dataTransfers = buildUnnamed118();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -275,7 +275,7 @@
checkDataTransfersListResponse(api.DataTransfersListResponse o) {
buildCounterDataTransfersListResponse++;
if (buildCounterDataTransfersListResponse < 3) {
- checkUnnamed97(o.dataTransfers);
+ checkUnnamed118(o.dataTransfers);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
diff --git a/generated/googleapis/test/admin/directory_v1_test.dart b/generated/googleapis/test/admin/directory_v1_test.dart
index d0683e3..9d7c78b 100644
--- a/generated/googleapis/test/admin/directory_v1_test.dart
+++ b/generated/googleapis/test/admin/directory_v1_test.dart
@@ -78,14 +78,14 @@
buildCounterAlias--;
}
-buildUnnamed708() {
+buildUnnamed729() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed708(core.List<core.Object> o) {
+checkUnnamed729(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) 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[1]) 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'));
@@ -96,7 +96,7 @@
var o = new api.Aliases();
buildCounterAliases++;
if (buildCounterAliases < 3) {
- o.aliases = buildUnnamed708();
+ o.aliases = buildUnnamed729();
o.etag = "foo";
o.kind = "foo";
}
@@ -107,7 +107,7 @@
checkAliases(api.Aliases o) {
buildCounterAliases++;
if (buildCounterAliases < 3) {
- checkUnnamed708(o.aliases);
+ checkUnnamed729(o.aliases);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
@@ -145,14 +145,14 @@
buildCounterAsp--;
}
-buildUnnamed709() {
+buildUnnamed730() {
var o = new core.List<api.Asp>();
o.add(buildAsp());
o.add(buildAsp());
return o;
}
-checkUnnamed709(core.List<api.Asp> o) {
+checkUnnamed730(core.List<api.Asp> o) {
unittest.expect(o, unittest.hasLength(2));
checkAsp(o[0]);
checkAsp(o[1]);
@@ -164,7 +164,7 @@
buildCounterAsps++;
if (buildCounterAsps < 3) {
o.etag = "foo";
- o.items = buildUnnamed709();
+ o.items = buildUnnamed730();
o.kind = "foo";
}
buildCounterAsps--;
@@ -175,7 +175,7 @@
buildCounterAsps++;
if (buildCounterAsps < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed709(o.items);
+ checkUnnamed730(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAsps--;
@@ -212,14 +212,14 @@
buildCounterCalendarResource--;
}
-buildUnnamed710() {
+buildUnnamed731() {
var o = new core.List<api.CalendarResource>();
o.add(buildCalendarResource());
o.add(buildCalendarResource());
return o;
}
-checkUnnamed710(core.List<api.CalendarResource> o) {
+checkUnnamed731(core.List<api.CalendarResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkCalendarResource(o[0]);
checkCalendarResource(o[1]);
@@ -231,7 +231,7 @@
buildCounterCalendarResources++;
if (buildCounterCalendarResources < 3) {
o.etag = "foo";
- o.items = buildUnnamed710();
+ o.items = buildUnnamed731();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -243,21 +243,21 @@
buildCounterCalendarResources++;
if (buildCounterCalendarResources < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed710(o.items);
+ checkUnnamed731(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCalendarResources--;
}
-buildUnnamed711() {
+buildUnnamed732() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed711(core.Map<core.String, core.String> o) {
+checkUnnamed732(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -272,7 +272,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed711();
+ o.params = buildUnnamed732();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -290,7 +290,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed711(o.params);
+ checkUnnamed732(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -321,14 +321,14 @@
buildCounterChromeOsDeviceActiveTimeRanges--;
}
-buildUnnamed712() {
+buildUnnamed733() {
var o = new core.List<api.ChromeOsDeviceActiveTimeRanges>();
o.add(buildChromeOsDeviceActiveTimeRanges());
o.add(buildChromeOsDeviceActiveTimeRanges());
return o;
}
-checkUnnamed712(core.List<api.ChromeOsDeviceActiveTimeRanges> o) {
+checkUnnamed733(core.List<api.ChromeOsDeviceActiveTimeRanges> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDeviceActiveTimeRanges(o[0]);
checkChromeOsDeviceActiveTimeRanges(o[1]);
@@ -355,14 +355,14 @@
buildCounterChromeOsDeviceRecentUsers--;
}
-buildUnnamed713() {
+buildUnnamed734() {
var o = new core.List<api.ChromeOsDeviceRecentUsers>();
o.add(buildChromeOsDeviceRecentUsers());
o.add(buildChromeOsDeviceRecentUsers());
return o;
}
-checkUnnamed713(core.List<api.ChromeOsDeviceRecentUsers> o) {
+checkUnnamed734(core.List<api.ChromeOsDeviceRecentUsers> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDeviceRecentUsers(o[0]);
checkChromeOsDeviceRecentUsers(o[1]);
@@ -373,7 +373,7 @@
var o = new api.ChromeOsDevice();
buildCounterChromeOsDevice++;
if (buildCounterChromeOsDevice < 3) {
- o.activeTimeRanges = buildUnnamed712();
+ o.activeTimeRanges = buildUnnamed733();
o.annotatedAssetId = "foo";
o.annotatedLocation = "foo";
o.annotatedUser = "foo";
@@ -393,7 +393,7 @@
o.orgUnitPath = "foo";
o.osVersion = "foo";
o.platformVersion = "foo";
- o.recentUsers = buildUnnamed713();
+ o.recentUsers = buildUnnamed734();
o.serialNumber = "foo";
o.status = "foo";
o.supportEndDate = core.DateTime.parse("2002-02-27T14:01:02");
@@ -406,7 +406,7 @@
checkChromeOsDevice(api.ChromeOsDevice o) {
buildCounterChromeOsDevice++;
if (buildCounterChromeOsDevice < 3) {
- checkUnnamed712(o.activeTimeRanges);
+ checkUnnamed733(o.activeTimeRanges);
unittest.expect(o.annotatedAssetId, unittest.equals('foo'));
unittest.expect(o.annotatedLocation, unittest.equals('foo'));
unittest.expect(o.annotatedUser, unittest.equals('foo'));
@@ -426,7 +426,7 @@
unittest.expect(o.orgUnitPath, unittest.equals('foo'));
unittest.expect(o.osVersion, unittest.equals('foo'));
unittest.expect(o.platformVersion, unittest.equals('foo'));
- checkUnnamed713(o.recentUsers);
+ checkUnnamed734(o.recentUsers);
unittest.expect(o.serialNumber, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.supportEndDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -456,14 +456,14 @@
buildCounterChromeOsDeviceAction--;
}
-buildUnnamed714() {
+buildUnnamed735() {
var o = new core.List<api.ChromeOsDevice>();
o.add(buildChromeOsDevice());
o.add(buildChromeOsDevice());
return o;
}
-checkUnnamed714(core.List<api.ChromeOsDevice> o) {
+checkUnnamed735(core.List<api.ChromeOsDevice> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDevice(o[0]);
checkChromeOsDevice(o[1]);
@@ -474,7 +474,7 @@
var o = new api.ChromeOsDevices();
buildCounterChromeOsDevices++;
if (buildCounterChromeOsDevices < 3) {
- o.chromeosdevices = buildUnnamed714();
+ o.chromeosdevices = buildUnnamed735();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -486,7 +486,7 @@
checkChromeOsDevices(api.ChromeOsDevices o) {
buildCounterChromeOsDevices++;
if (buildCounterChromeOsDevices < 3) {
- checkUnnamed714(o.chromeosdevices);
+ checkUnnamed735(o.chromeosdevices);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -593,14 +593,14 @@
buildCounterDomainAlias--;
}
-buildUnnamed715() {
+buildUnnamed736() {
var o = new core.List<api.DomainAlias>();
o.add(buildDomainAlias());
o.add(buildDomainAlias());
return o;
}
-checkUnnamed715(core.List<api.DomainAlias> o) {
+checkUnnamed736(core.List<api.DomainAlias> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomainAlias(o[0]);
checkDomainAlias(o[1]);
@@ -611,7 +611,7 @@
var o = new api.DomainAliases();
buildCounterDomainAliases++;
if (buildCounterDomainAliases < 3) {
- o.domainAliases = buildUnnamed715();
+ o.domainAliases = buildUnnamed736();
o.etag = "foo";
o.kind = "foo";
}
@@ -622,21 +622,21 @@
checkDomainAliases(api.DomainAliases o) {
buildCounterDomainAliases++;
if (buildCounterDomainAliases < 3) {
- checkUnnamed715(o.domainAliases);
+ checkUnnamed736(o.domainAliases);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDomainAliases--;
}
-buildUnnamed716() {
+buildUnnamed737() {
var o = new core.List<api.DomainAlias>();
o.add(buildDomainAlias());
o.add(buildDomainAlias());
return o;
}
-checkUnnamed716(core.List<api.DomainAlias> o) {
+checkUnnamed737(core.List<api.DomainAlias> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomainAlias(o[0]);
checkDomainAlias(o[1]);
@@ -648,7 +648,7 @@
buildCounterDomains++;
if (buildCounterDomains < 3) {
o.creationTime = "foo";
- o.domainAliases = buildUnnamed716();
+ o.domainAliases = buildUnnamed737();
o.domainName = "foo";
o.etag = "foo";
o.isPrimary = true;
@@ -663,7 +663,7 @@
buildCounterDomains++;
if (buildCounterDomains < 3) {
unittest.expect(o.creationTime, unittest.equals('foo'));
- checkUnnamed716(o.domainAliases);
+ checkUnnamed737(o.domainAliases);
unittest.expect(o.domainName, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.isPrimary, unittest.isTrue);
@@ -673,14 +673,14 @@
buildCounterDomains--;
}
-buildUnnamed717() {
+buildUnnamed738() {
var o = new core.List<api.Domains>();
o.add(buildDomains());
o.add(buildDomains());
return o;
}
-checkUnnamed717(core.List<api.Domains> o) {
+checkUnnamed738(core.List<api.Domains> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomains(o[0]);
checkDomains(o[1]);
@@ -691,7 +691,7 @@
var o = new api.Domains2();
buildCounterDomains2++;
if (buildCounterDomains2 < 3) {
- o.domains = buildUnnamed717();
+ o.domains = buildUnnamed738();
o.etag = "foo";
o.kind = "foo";
}
@@ -702,34 +702,34 @@
checkDomains2(api.Domains2 o) {
buildCounterDomains2++;
if (buildCounterDomains2 < 3) {
- checkUnnamed717(o.domains);
+ checkUnnamed738(o.domains);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDomains2--;
}
-buildUnnamed718() {
+buildUnnamed739() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed718(core.List<core.String> o) {
+checkUnnamed739(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed719() {
+buildUnnamed740() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed719(core.List<core.String> o) {
+checkUnnamed740(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -741,7 +741,7 @@
buildCounterGroup++;
if (buildCounterGroup < 3) {
o.adminCreated = true;
- o.aliases = buildUnnamed718();
+ o.aliases = buildUnnamed739();
o.description = "foo";
o.directMembersCount = "foo";
o.email = "foo";
@@ -749,7 +749,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.nonEditableAliases = buildUnnamed719();
+ o.nonEditableAliases = buildUnnamed740();
}
buildCounterGroup--;
return o;
@@ -759,7 +759,7 @@
buildCounterGroup++;
if (buildCounterGroup < 3) {
unittest.expect(o.adminCreated, unittest.isTrue);
- checkUnnamed718(o.aliases);
+ checkUnnamed739(o.aliases);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.directMembersCount, unittest.equals('foo'));
unittest.expect(o.email, unittest.equals('foo'));
@@ -767,19 +767,19 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed719(o.nonEditableAliases);
+ checkUnnamed740(o.nonEditableAliases);
}
buildCounterGroup--;
}
-buildUnnamed720() {
+buildUnnamed741() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed720(core.List<api.Group> o) {
+checkUnnamed741(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -791,7 +791,7 @@
buildCounterGroups++;
if (buildCounterGroups < 3) {
o.etag = "foo";
- o.groups = buildUnnamed720();
+ o.groups = buildUnnamed741();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -803,7 +803,7 @@
buildCounterGroups++;
if (buildCounterGroups < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed720(o.groups);
+ checkUnnamed741(o.groups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -841,14 +841,14 @@
buildCounterMember--;
}
-buildUnnamed721() {
+buildUnnamed742() {
var o = new core.List<api.Member>();
o.add(buildMember());
o.add(buildMember());
return o;
}
-checkUnnamed721(core.List<api.Member> o) {
+checkUnnamed742(core.List<api.Member> o) {
unittest.expect(o, unittest.hasLength(2));
checkMember(o[0]);
checkMember(o[1]);
@@ -861,7 +861,7 @@
if (buildCounterMembers < 3) {
o.etag = "foo";
o.kind = "foo";
- o.members = buildUnnamed721();
+ o.members = buildUnnamed742();
o.nextPageToken = "foo";
}
buildCounterMembers--;
@@ -873,20 +873,20 @@
if (buildCounterMembers < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed721(o.members);
+ checkUnnamed742(o.members);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterMembers--;
}
-buildUnnamed722() {
+buildUnnamed743() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed722(core.List<core.String> o) {
+checkUnnamed743(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -899,7 +899,7 @@
if (buildCounterMobileDeviceApplications < 3) {
o.displayName = "foo";
o.packageName = "foo";
- o.permission = buildUnnamed722();
+ o.permission = buildUnnamed743();
o.versionCode = 42;
o.versionName = "foo";
}
@@ -912,60 +912,60 @@
if (buildCounterMobileDeviceApplications < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed722(o.permission);
+ checkUnnamed743(o.permission);
unittest.expect(o.versionCode, unittest.equals(42));
unittest.expect(o.versionName, unittest.equals('foo'));
}
buildCounterMobileDeviceApplications--;
}
-buildUnnamed723() {
+buildUnnamed744() {
var o = new core.List<api.MobileDeviceApplications>();
o.add(buildMobileDeviceApplications());
o.add(buildMobileDeviceApplications());
return o;
}
-checkUnnamed723(core.List<api.MobileDeviceApplications> o) {
+checkUnnamed744(core.List<api.MobileDeviceApplications> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileDeviceApplications(o[0]);
checkMobileDeviceApplications(o[1]);
}
-buildUnnamed724() {
+buildUnnamed745() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed724(core.List<core.String> o) {
+checkUnnamed745(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed725() {
+buildUnnamed746() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed725(core.List<core.String> o) {
+checkUnnamed746(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed726() {
+buildUnnamed747() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed726(core.List<core.String> o) {
+checkUnnamed747(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -977,7 +977,7 @@
buildCounterMobileDevice++;
if (buildCounterMobileDevice < 3) {
o.adbStatus = true;
- o.applications = buildUnnamed723();
+ o.applications = buildUnnamed744();
o.basebandVersion = "foo";
o.bootloaderVersion = "foo";
o.brand = "foo";
@@ -987,7 +987,7 @@
o.deviceCompromisedStatus = "foo";
o.deviceId = "foo";
o.devicePasswordStatus = "foo";
- o.email = buildUnnamed724();
+ o.email = buildUnnamed745();
o.encryptionStatus = "foo";
o.etag = "foo";
o.firstSync = core.DateTime.parse("2002-02-27T14:01:02");
@@ -1001,10 +1001,10 @@
o.manufacturer = "foo";
o.meid = "foo";
o.model = "foo";
- o.name = buildUnnamed725();
+ o.name = buildUnnamed746();
o.networkOperator = "foo";
o.os = "foo";
- o.otherAccountsInfo = buildUnnamed726();
+ o.otherAccountsInfo = buildUnnamed747();
o.privilege = "foo";
o.releaseVersion = "foo";
o.resourceId = "foo";
@@ -1025,7 +1025,7 @@
buildCounterMobileDevice++;
if (buildCounterMobileDevice < 3) {
unittest.expect(o.adbStatus, unittest.isTrue);
- checkUnnamed723(o.applications);
+ checkUnnamed744(o.applications);
unittest.expect(o.basebandVersion, unittest.equals('foo'));
unittest.expect(o.bootloaderVersion, unittest.equals('foo'));
unittest.expect(o.brand, unittest.equals('foo'));
@@ -1035,7 +1035,7 @@
unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo'));
unittest.expect(o.deviceId, unittest.equals('foo'));
unittest.expect(o.devicePasswordStatus, unittest.equals('foo'));
- checkUnnamed724(o.email);
+ checkUnnamed745(o.email);
unittest.expect(o.encryptionStatus, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.firstSync, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -1049,10 +1049,10 @@
unittest.expect(o.manufacturer, unittest.equals('foo'));
unittest.expect(o.meid, unittest.equals('foo'));
unittest.expect(o.model, unittest.equals('foo'));
- checkUnnamed725(o.name);
+ checkUnnamed746(o.name);
unittest.expect(o.networkOperator, unittest.equals('foo'));
unittest.expect(o.os, unittest.equals('foo'));
- checkUnnamed726(o.otherAccountsInfo);
+ checkUnnamed747(o.otherAccountsInfo);
unittest.expect(o.privilege, unittest.equals('foo'));
unittest.expect(o.releaseVersion, unittest.equals('foo'));
unittest.expect(o.resourceId, unittest.equals('foo'));
@@ -1087,14 +1087,14 @@
buildCounterMobileDeviceAction--;
}
-buildUnnamed727() {
+buildUnnamed748() {
var o = new core.List<api.MobileDevice>();
o.add(buildMobileDevice());
o.add(buildMobileDevice());
return o;
}
-checkUnnamed727(core.List<api.MobileDevice> o) {
+checkUnnamed748(core.List<api.MobileDevice> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileDevice(o[0]);
checkMobileDevice(o[1]);
@@ -1107,7 +1107,7 @@
if (buildCounterMobileDevices < 3) {
o.etag = "foo";
o.kind = "foo";
- o.mobiledevices = buildUnnamed727();
+ o.mobiledevices = buildUnnamed748();
o.nextPageToken = "foo";
}
buildCounterMobileDevices--;
@@ -1119,7 +1119,7 @@
if (buildCounterMobileDevices < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed727(o.mobiledevices);
+ checkUnnamed748(o.mobiledevices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterMobileDevices--;
@@ -1158,14 +1158,14 @@
buildCounterNotification--;
}
-buildUnnamed728() {
+buildUnnamed749() {
var o = new core.List<api.Notification>();
o.add(buildNotification());
o.add(buildNotification());
return o;
}
-checkUnnamed728(core.List<api.Notification> o) {
+checkUnnamed749(core.List<api.Notification> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotification(o[0]);
checkNotification(o[1]);
@@ -1177,7 +1177,7 @@
buildCounterNotifications++;
if (buildCounterNotifications < 3) {
o.etag = "foo";
- o.items = buildUnnamed728();
+ o.items = buildUnnamed749();
o.kind = "foo";
o.nextPageToken = "foo";
o.unreadNotificationsCount = 42;
@@ -1190,7 +1190,7 @@
buildCounterNotifications++;
if (buildCounterNotifications < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed728(o.items);
+ checkUnnamed749(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.unreadNotificationsCount, unittest.equals(42));
@@ -1233,14 +1233,14 @@
buildCounterOrgUnit--;
}
-buildUnnamed729() {
+buildUnnamed750() {
var o = new core.List<api.OrgUnit>();
o.add(buildOrgUnit());
o.add(buildOrgUnit());
return o;
}
-checkUnnamed729(core.List<api.OrgUnit> o) {
+checkUnnamed750(core.List<api.OrgUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrgUnit(o[0]);
checkOrgUnit(o[1]);
@@ -1253,7 +1253,7 @@
if (buildCounterOrgUnits < 3) {
o.etag = "foo";
o.kind = "foo";
- o.organizationUnits = buildUnnamed729();
+ o.organizationUnits = buildUnnamed750();
}
buildCounterOrgUnits--;
return o;
@@ -1264,19 +1264,19 @@
if (buildCounterOrgUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed729(o.organizationUnits);
+ checkUnnamed750(o.organizationUnits);
}
buildCounterOrgUnits--;
}
-buildUnnamed730() {
+buildUnnamed751() {
var o = new core.List<api.Privilege>();
o.add(buildPrivilege());
o.add(buildPrivilege());
return o;
}
-checkUnnamed730(core.List<api.Privilege> o) {
+checkUnnamed751(core.List<api.Privilege> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrivilege(o[0]);
checkPrivilege(o[1]);
@@ -1287,7 +1287,7 @@
var o = new api.Privilege();
buildCounterPrivilege++;
if (buildCounterPrivilege < 3) {
- o.childPrivileges = buildUnnamed730();
+ o.childPrivileges = buildUnnamed751();
o.etag = "foo";
o.isOuScopable = true;
o.kind = "foo";
@@ -1302,7 +1302,7 @@
checkPrivilege(api.Privilege o) {
buildCounterPrivilege++;
if (buildCounterPrivilege < 3) {
- checkUnnamed730(o.childPrivileges);
+ checkUnnamed751(o.childPrivileges);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.isOuScopable, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1313,14 +1313,14 @@
buildCounterPrivilege--;
}
-buildUnnamed731() {
+buildUnnamed752() {
var o = new core.List<api.Privilege>();
o.add(buildPrivilege());
o.add(buildPrivilege());
return o;
}
-checkUnnamed731(core.List<api.Privilege> o) {
+checkUnnamed752(core.List<api.Privilege> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrivilege(o[0]);
checkPrivilege(o[1]);
@@ -1332,7 +1332,7 @@
buildCounterPrivileges++;
if (buildCounterPrivileges < 3) {
o.etag = "foo";
- o.items = buildUnnamed731();
+ o.items = buildUnnamed752();
o.kind = "foo";
}
buildCounterPrivileges--;
@@ -1343,7 +1343,7 @@
buildCounterPrivileges++;
if (buildCounterPrivileges < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed731(o.items);
+ checkUnnamed752(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPrivileges--;
@@ -1370,14 +1370,14 @@
buildCounterRoleRolePrivileges--;
}
-buildUnnamed732() {
+buildUnnamed753() {
var o = new core.List<api.RoleRolePrivileges>();
o.add(buildRoleRolePrivileges());
o.add(buildRoleRolePrivileges());
return o;
}
-checkUnnamed732(core.List<api.RoleRolePrivileges> o) {
+checkUnnamed753(core.List<api.RoleRolePrivileges> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoleRolePrivileges(o[0]);
checkRoleRolePrivileges(o[1]);
@@ -1395,7 +1395,7 @@
o.roleDescription = "foo";
o.roleId = "foo";
o.roleName = "foo";
- o.rolePrivileges = buildUnnamed732();
+ o.rolePrivileges = buildUnnamed753();
}
buildCounterRole--;
return o;
@@ -1411,7 +1411,7 @@
unittest.expect(o.roleDescription, unittest.equals('foo'));
unittest.expect(o.roleId, unittest.equals('foo'));
unittest.expect(o.roleName, unittest.equals('foo'));
- checkUnnamed732(o.rolePrivileges);
+ checkUnnamed753(o.rolePrivileges);
}
buildCounterRole--;
}
@@ -1447,14 +1447,14 @@
buildCounterRoleAssignment--;
}
-buildUnnamed733() {
+buildUnnamed754() {
var o = new core.List<api.RoleAssignment>();
o.add(buildRoleAssignment());
o.add(buildRoleAssignment());
return o;
}
-checkUnnamed733(core.List<api.RoleAssignment> o) {
+checkUnnamed754(core.List<api.RoleAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoleAssignment(o[0]);
checkRoleAssignment(o[1]);
@@ -1466,7 +1466,7 @@
buildCounterRoleAssignments++;
if (buildCounterRoleAssignments < 3) {
o.etag = "foo";
- o.items = buildUnnamed733();
+ o.items = buildUnnamed754();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1478,21 +1478,21 @@
buildCounterRoleAssignments++;
if (buildCounterRoleAssignments < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed733(o.items);
+ checkUnnamed754(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterRoleAssignments--;
}
-buildUnnamed734() {
+buildUnnamed755() {
var o = new core.List<api.Role>();
o.add(buildRole());
o.add(buildRole());
return o;
}
-checkUnnamed734(core.List<api.Role> o) {
+checkUnnamed755(core.List<api.Role> o) {
unittest.expect(o, unittest.hasLength(2));
checkRole(o[0]);
checkRole(o[1]);
@@ -1504,7 +1504,7 @@
buildCounterRoles++;
if (buildCounterRoles < 3) {
o.etag = "foo";
- o.items = buildUnnamed734();
+ o.items = buildUnnamed755();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1516,21 +1516,21 @@
buildCounterRoles++;
if (buildCounterRoles < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed734(o.items);
+ checkUnnamed755(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterRoles--;
}
-buildUnnamed735() {
+buildUnnamed756() {
var o = new core.List<api.SchemaFieldSpec>();
o.add(buildSchemaFieldSpec());
o.add(buildSchemaFieldSpec());
return o;
}
-checkUnnamed735(core.List<api.SchemaFieldSpec> o) {
+checkUnnamed756(core.List<api.SchemaFieldSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkSchemaFieldSpec(o[0]);
checkSchemaFieldSpec(o[1]);
@@ -1542,7 +1542,7 @@
buildCounterSchema++;
if (buildCounterSchema < 3) {
o.etag = "foo";
- o.fields = buildUnnamed735();
+ o.fields = buildUnnamed756();
o.kind = "foo";
o.schemaId = "foo";
o.schemaName = "foo";
@@ -1555,7 +1555,7 @@
buildCounterSchema++;
if (buildCounterSchema < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed735(o.fields);
+ checkUnnamed756(o.fields);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.schemaId, unittest.equals('foo'));
unittest.expect(o.schemaName, unittest.equals('foo'));
@@ -1619,14 +1619,14 @@
buildCounterSchemaFieldSpec--;
}
-buildUnnamed736() {
+buildUnnamed757() {
var o = new core.List<api.Schema>();
o.add(buildSchema());
o.add(buildSchema());
return o;
}
-checkUnnamed736(core.List<api.Schema> o) {
+checkUnnamed757(core.List<api.Schema> o) {
unittest.expect(o, unittest.hasLength(2));
checkSchema(o[0]);
checkSchema(o[1]);
@@ -1639,7 +1639,7 @@
if (buildCounterSchemas < 3) {
o.etag = "foo";
o.kind = "foo";
- o.schemas = buildUnnamed736();
+ o.schemas = buildUnnamed757();
}
buildCounterSchemas--;
return o;
@@ -1650,19 +1650,19 @@
if (buildCounterSchemas < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed736(o.schemas);
+ checkUnnamed757(o.schemas);
}
buildCounterSchemas--;
}
-buildUnnamed737() {
+buildUnnamed758() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed737(core.List<core.String> o) {
+checkUnnamed758(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1679,7 +1679,7 @@
o.etag = "foo";
o.kind = "foo";
o.nativeApp = true;
- o.scopes = buildUnnamed737();
+ o.scopes = buildUnnamed758();
o.userKey = "foo";
}
buildCounterToken--;
@@ -1695,20 +1695,20 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nativeApp, unittest.isTrue);
- checkUnnamed737(o.scopes);
+ checkUnnamed758(o.scopes);
unittest.expect(o.userKey, unittest.equals('foo'));
}
buildCounterToken--;
}
-buildUnnamed738() {
+buildUnnamed759() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed738(core.List<api.Token> o) {
+checkUnnamed759(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -1720,7 +1720,7 @@
buildCounterTokens++;
if (buildCounterTokens < 3) {
o.etag = "foo";
- o.items = buildUnnamed738();
+ o.items = buildUnnamed759();
o.kind = "foo";
}
buildCounterTokens--;
@@ -1731,46 +1731,46 @@
buildCounterTokens++;
if (buildCounterTokens < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed738(o.items);
+ checkUnnamed759(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTokens--;
}
-buildUnnamed739() {
+buildUnnamed760() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed739(core.List<core.String> o) {
+checkUnnamed760(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed740() {
+buildUnnamed761() {
var o = new core.Map<core.String, api.UserCustomProperties>();
o["x"] = buildUserCustomProperties();
o["y"] = buildUserCustomProperties();
return o;
}
-checkUnnamed740(core.Map<core.String, api.UserCustomProperties> o) {
+checkUnnamed761(core.Map<core.String, api.UserCustomProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserCustomProperties(o["x"]);
checkUserCustomProperties(o["y"]);
}
-buildUnnamed741() {
+buildUnnamed762() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed741(core.List<core.String> o) {
+checkUnnamed762(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1783,10 +1783,10 @@
if (buildCounterUser < 3) {
o.addresses = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.agreedToTerms = true;
- o.aliases = buildUnnamed739();
+ o.aliases = buildUnnamed760();
o.changePasswordAtNextLogin = true;
o.creationTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.customSchemas = buildUnnamed740();
+ o.customSchemas = buildUnnamed761();
o.customerId = "foo";
o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02");
o.emails = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
@@ -1805,14 +1805,16 @@
o.kind = "foo";
o.lastLoginTime = core.DateTime.parse("2002-02-27T14:01:02");
o.name = buildUserName();
- o.nonEditableAliases = buildUnnamed741();
+ o.nonEditableAliases = buildUnnamed762();
o.notes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.orgUnitPath = "foo";
o.organizations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.password = "foo";
o.phones = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
+ o.posixAccounts = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.primaryEmail = "foo";
o.relations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
+ o.sshPublicKeys = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.suspended = true;
o.suspensionReason = "foo";
o.thumbnailPhotoEtag = "foo";
@@ -1828,10 +1830,10 @@
if (buildCounterUser < 3) {
var casted3 = (o.addresses) 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'));
unittest.expect(o.agreedToTerms, unittest.isTrue);
- checkUnnamed739(o.aliases);
+ checkUnnamed760(o.aliases);
unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue);
unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed740(o.customSchemas);
+ checkUnnamed761(o.customSchemas);
unittest.expect(o.customerId, unittest.equals('foo'));
unittest.expect(o.deletionTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
var casted4 = (o.emails) 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'));
@@ -1850,19 +1852,21 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastLoginTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkUserName(o.name);
- checkUnnamed741(o.nonEditableAliases);
+ checkUnnamed762(o.nonEditableAliases);
var casted7 = (o.notes) 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'));
unittest.expect(o.orgUnitPath, unittest.equals('foo'));
var casted8 = (o.organizations) 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'));
unittest.expect(o.password, unittest.equals('foo'));
var casted9 = (o.phones) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
+ var casted10 = (o.posixAccounts) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
unittest.expect(o.primaryEmail, unittest.equals('foo'));
- var casted10 = (o.relations) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
+ var casted11 = (o.relations) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
+ var casted12 = (o.sshPublicKeys) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
unittest.expect(o.suspended, unittest.isTrue);
unittest.expect(o.suspensionReason, unittest.equals('foo'));
unittest.expect(o.thumbnailPhotoEtag, unittest.equals('foo'));
unittest.expect(o.thumbnailPhotoUrl, unittest.equals('foo'));
- var casted11 = (o.websites) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
+ var casted13 = (o.websites) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["string"], unittest.equals('foo'));
}
buildCounterUser--;
}
@@ -1940,8 +1944,8 @@
checkUserCustomProperties(api.UserCustomProperties o) {
unittest.expect(o, unittest.hasLength(2));
- var casted12 = (o["a"]) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
- var casted13 = (o["b"]) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["string"], unittest.equals('foo'));
+ var casted14 = (o["a"]) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["string"], unittest.equals('foo'));
+ var casted15 = (o["b"]) as core.Map; unittest.expect(casted15, unittest.hasLength(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest.expect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["string"], unittest.equals('foo'));
}
core.int buildCounterUserEmail = 0;
@@ -2160,6 +2164,39 @@
buildCounterUserPhoto--;
}
+core.int buildCounterUserPosixAccount = 0;
+buildUserPosixAccount() {
+ var o = new api.UserPosixAccount();
+ buildCounterUserPosixAccount++;
+ if (buildCounterUserPosixAccount < 3) {
+ o.gecos = "foo";
+ o.gid = 42;
+ o.homeDirectory = "foo";
+ o.primary = true;
+ o.shell = "foo";
+ o.systemId = "foo";
+ o.uid = 42;
+ o.username = "foo";
+ }
+ buildCounterUserPosixAccount--;
+ return o;
+}
+
+checkUserPosixAccount(api.UserPosixAccount o) {
+ buildCounterUserPosixAccount++;
+ if (buildCounterUserPosixAccount < 3) {
+ unittest.expect(o.gecos, unittest.equals('foo'));
+ unittest.expect(o.gid, unittest.equals(42));
+ unittest.expect(o.homeDirectory, unittest.equals('foo'));
+ unittest.expect(o.primary, unittest.isTrue);
+ unittest.expect(o.shell, unittest.equals('foo'));
+ unittest.expect(o.systemId, unittest.equals('foo'));
+ unittest.expect(o.uid, unittest.equals(42));
+ unittest.expect(o.username, unittest.equals('foo'));
+ }
+ buildCounterUserPosixAccount--;
+}
+
core.int buildCounterUserRelation = 0;
buildUserRelation() {
var o = new api.UserRelation();
@@ -2183,6 +2220,29 @@
buildCounterUserRelation--;
}
+core.int buildCounterUserSshPublicKey = 0;
+buildUserSshPublicKey() {
+ var o = new api.UserSshPublicKey();
+ buildCounterUserSshPublicKey++;
+ if (buildCounterUserSshPublicKey < 3) {
+ o.expirationTimeUsec = "foo";
+ o.fingerprint = "foo";
+ o.key = "foo";
+ }
+ buildCounterUserSshPublicKey--;
+ return o;
+}
+
+checkUserSshPublicKey(api.UserSshPublicKey o) {
+ buildCounterUserSshPublicKey++;
+ if (buildCounterUserSshPublicKey < 3) {
+ unittest.expect(o.expirationTimeUsec, unittest.equals('foo'));
+ unittest.expect(o.fingerprint, unittest.equals('foo'));
+ unittest.expect(o.key, unittest.equals('foo'));
+ }
+ buildCounterUserSshPublicKey--;
+}
+
core.int buildCounterUserUndelete = 0;
buildUserUndelete() {
var o = new api.UserUndelete();
@@ -2227,14 +2287,14 @@
buildCounterUserWebsite--;
}
-buildUnnamed742() {
+buildUnnamed763() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed742(core.List<api.User> o) {
+checkUnnamed763(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -2249,7 +2309,7 @@
o.kind = "foo";
o.nextPageToken = "foo";
o.triggerEvent = "foo";
- o.users = buildUnnamed742();
+ o.users = buildUnnamed763();
}
buildCounterUsers--;
return o;
@@ -2262,7 +2322,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.triggerEvent, unittest.equals('foo'));
- checkUnnamed742(o.users);
+ checkUnnamed763(o.users);
}
buildCounterUsers--;
}
@@ -2292,14 +2352,14 @@
buildCounterVerificationCode--;
}
-buildUnnamed743() {
+buildUnnamed764() {
var o = new core.List<api.VerificationCode>();
o.add(buildVerificationCode());
o.add(buildVerificationCode());
return o;
}
-checkUnnamed743(core.List<api.VerificationCode> o) {
+checkUnnamed764(core.List<api.VerificationCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkVerificationCode(o[0]);
checkVerificationCode(o[1]);
@@ -2311,7 +2371,7 @@
buildCounterVerificationCodes++;
if (buildCounterVerificationCodes < 3) {
o.etag = "foo";
- o.items = buildUnnamed743();
+ o.items = buildUnnamed764();
o.kind = "foo";
}
buildCounterVerificationCodes--;
@@ -2322,59 +2382,59 @@
buildCounterVerificationCodes++;
if (buildCounterVerificationCodes < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed743(o.items);
+ checkUnnamed764(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterVerificationCodes--;
}
-buildUnnamed744() {
+buildUnnamed765() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed744(core.List<core.String> o) {
+checkUnnamed765(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed745() {
+buildUnnamed766() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed745(core.List<core.String> o) {
+checkUnnamed766(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed746() {
+buildUnnamed767() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed746(core.List<core.String> o) {
+checkUnnamed767(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed747() {
+buildUnnamed768() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed747(core.List<core.String> o) {
+checkUnnamed768(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2877,6 +2937,15 @@
});
+ unittest.group("obj-schema-UserPosixAccount", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUserPosixAccount();
+ var od = new api.UserPosixAccount.fromJson(o.toJson());
+ checkUserPosixAccount(od);
+ });
+ });
+
+
unittest.group("obj-schema-UserRelation", () {
unittest.test("to-json--from-json", () {
var o = buildUserRelation();
@@ -2886,6 +2955,15 @@
});
+ unittest.group("obj-schema-UserSshPublicKey", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUserSshPublicKey();
+ var od = new api.UserSshPublicKey.fromJson(o.toJson());
+ checkUserSshPublicKey(od);
+ });
+ });
+
+
unittest.group("obj-schema-UserUndelete", () {
unittest.test("to-json--from-json", () {
var o = buildUserUndelete();
@@ -5461,7 +5539,7 @@
var mock = new HttpServerMock();
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed744();
+ var arg_orgUnitPath = buildUnnamed765();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5515,7 +5593,7 @@
var mock = new HttpServerMock();
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed745();
+ var arg_orgUnitPath = buildUnnamed766();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5686,7 +5764,7 @@
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_request = buildOrgUnit();
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed746();
+ var arg_orgUnitPath = buildUnnamed767();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.OrgUnit.fromJson(json);
checkOrgUnit(obj);
@@ -5746,7 +5824,7 @@
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_request = buildOrgUnit();
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed747();
+ var arg_orgUnitPath = buildUnnamed768();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.OrgUnit.fromJson(json);
checkOrgUnit(obj);
diff --git a/generated/googleapis/test/admin/reports_v1_test.dart b/generated/googleapis/test/admin/reports_v1_test.dart
index 79cf57c..8bb51e3 100644
--- a/generated/googleapis/test/admin/reports_v1_test.dart
+++ b/generated/googleapis/test/admin/reports_v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed598() {
+buildUnnamed619() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed598(core.List<api.Activity> o) {
+checkUnnamed619(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -70,7 +70,7 @@
buildCounterActivities++;
if (buildCounterActivities < 3) {
o.etag = "foo";
- o.items = buildUnnamed598();
+ o.items = buildUnnamed619();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -82,7 +82,7 @@
buildCounterActivities++;
if (buildCounterActivities < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed598(o.items);
+ checkUnnamed619(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -114,27 +114,27 @@
buildCounterActivityActor--;
}
-buildUnnamed599() {
+buildUnnamed620() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed599(core.List<core.String> o) {
+checkUnnamed620(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed600() {
+buildUnnamed621() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed600(core.List<core.String> o) {
+checkUnnamed621(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -147,8 +147,8 @@
if (buildCounterActivityEventsParameters < 3) {
o.boolValue = true;
o.intValue = "foo";
- o.multiIntValue = buildUnnamed599();
- o.multiValue = buildUnnamed600();
+ o.multiIntValue = buildUnnamed620();
+ o.multiValue = buildUnnamed621();
o.name = "foo";
o.value = "foo";
}
@@ -161,22 +161,22 @@
if (buildCounterActivityEventsParameters < 3) {
unittest.expect(o.boolValue, unittest.isTrue);
unittest.expect(o.intValue, unittest.equals('foo'));
- checkUnnamed599(o.multiIntValue);
- checkUnnamed600(o.multiValue);
+ checkUnnamed620(o.multiIntValue);
+ checkUnnamed621(o.multiValue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterActivityEventsParameters--;
}
-buildUnnamed601() {
+buildUnnamed622() {
var o = new core.List<api.ActivityEventsParameters>();
o.add(buildActivityEventsParameters());
o.add(buildActivityEventsParameters());
return o;
}
-checkUnnamed601(core.List<api.ActivityEventsParameters> o) {
+checkUnnamed622(core.List<api.ActivityEventsParameters> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityEventsParameters(o[0]);
checkActivityEventsParameters(o[1]);
@@ -188,7 +188,7 @@
buildCounterActivityEvents++;
if (buildCounterActivityEvents < 3) {
o.name = "foo";
- o.parameters = buildUnnamed601();
+ o.parameters = buildUnnamed622();
o.type = "foo";
}
buildCounterActivityEvents--;
@@ -199,20 +199,20 @@
buildCounterActivityEvents++;
if (buildCounterActivityEvents < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed601(o.parameters);
+ checkUnnamed622(o.parameters);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterActivityEvents--;
}
-buildUnnamed602() {
+buildUnnamed623() {
var o = new core.List<api.ActivityEvents>();
o.add(buildActivityEvents());
o.add(buildActivityEvents());
return o;
}
-checkUnnamed602(core.List<api.ActivityEvents> o) {
+checkUnnamed623(core.List<api.ActivityEvents> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityEvents(o[0]);
checkActivityEvents(o[1]);
@@ -250,7 +250,7 @@
if (buildCounterActivity < 3) {
o.actor = buildActivityActor();
o.etag = "foo";
- o.events = buildUnnamed602();
+ o.events = buildUnnamed623();
o.id = buildActivityId();
o.ipAddress = "foo";
o.kind = "foo";
@@ -265,7 +265,7 @@
if (buildCounterActivity < 3) {
checkActivityActor(o.actor);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed602(o.events);
+ checkUnnamed623(o.events);
checkActivityId(o.id);
unittest.expect(o.ipAddress, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -274,14 +274,14 @@
buildCounterActivity--;
}
-buildUnnamed603() {
+buildUnnamed624() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed603(core.Map<core.String, core.String> o) {
+checkUnnamed624(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -296,7 +296,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed603();
+ o.params = buildUnnamed624();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -314,7 +314,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed603(o.params);
+ checkUnnamed624(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -349,30 +349,30 @@
buildCounterUsageReportEntity--;
}
-buildUnnamed604() {
+buildUnnamed625() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed604(core.Map<core.String, core.Object> o) {
+checkUnnamed625(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed605() {
+buildUnnamed626() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed604());
- o.add(buildUnnamed604());
+ o.add(buildUnnamed625());
+ o.add(buildUnnamed625());
return o;
}
-checkUnnamed605(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed626(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed604(o[0]);
- checkUnnamed604(o[1]);
+ checkUnnamed625(o[0]);
+ checkUnnamed625(o[1]);
}
core.int buildCounterUsageReportParameters = 0;
@@ -383,7 +383,7 @@
o.boolValue = true;
o.datetimeValue = core.DateTime.parse("2002-02-27T14:01:02");
o.intValue = "foo";
- o.msgValue = buildUnnamed605();
+ o.msgValue = buildUnnamed626();
o.name = "foo";
o.stringValue = "foo";
}
@@ -397,21 +397,21 @@
unittest.expect(o.boolValue, unittest.isTrue);
unittest.expect(o.datetimeValue, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.intValue, unittest.equals('foo'));
- checkUnnamed605(o.msgValue);
+ checkUnnamed626(o.msgValue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.stringValue, unittest.equals('foo'));
}
buildCounterUsageReportParameters--;
}
-buildUnnamed606() {
+buildUnnamed627() {
var o = new core.List<api.UsageReportParameters>();
o.add(buildUsageReportParameters());
o.add(buildUsageReportParameters());
return o;
}
-checkUnnamed606(core.List<api.UsageReportParameters> o) {
+checkUnnamed627(core.List<api.UsageReportParameters> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReportParameters(o[0]);
checkUsageReportParameters(o[1]);
@@ -426,7 +426,7 @@
o.entity = buildUsageReportEntity();
o.etag = "foo";
o.kind = "foo";
- o.parameters = buildUnnamed606();
+ o.parameters = buildUnnamed627();
}
buildCounterUsageReport--;
return o;
@@ -439,19 +439,19 @@
checkUsageReportEntity(o.entity);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed606(o.parameters);
+ checkUnnamed627(o.parameters);
}
buildCounterUsageReport--;
}
-buildUnnamed607() {
+buildUnnamed628() {
var o = new core.List<api.UsageReport>();
o.add(buildUsageReport());
o.add(buildUsageReport());
return o;
}
-checkUnnamed607(core.List<api.UsageReport> o) {
+checkUnnamed628(core.List<api.UsageReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReport(o[0]);
checkUsageReport(o[1]);
@@ -478,14 +478,14 @@
buildCounterUsageReportsWarningsData--;
}
-buildUnnamed608() {
+buildUnnamed629() {
var o = new core.List<api.UsageReportsWarningsData>();
o.add(buildUsageReportsWarningsData());
o.add(buildUsageReportsWarningsData());
return o;
}
-checkUnnamed608(core.List<api.UsageReportsWarningsData> o) {
+checkUnnamed629(core.List<api.UsageReportsWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReportsWarningsData(o[0]);
checkUsageReportsWarningsData(o[1]);
@@ -497,7 +497,7 @@
buildCounterUsageReportsWarnings++;
if (buildCounterUsageReportsWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed608();
+ o.data = buildUnnamed629();
o.message = "foo";
}
buildCounterUsageReportsWarnings--;
@@ -508,20 +508,20 @@
buildCounterUsageReportsWarnings++;
if (buildCounterUsageReportsWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed608(o.data);
+ checkUnnamed629(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterUsageReportsWarnings--;
}
-buildUnnamed609() {
+buildUnnamed630() {
var o = new core.List<api.UsageReportsWarnings>();
o.add(buildUsageReportsWarnings());
o.add(buildUsageReportsWarnings());
return o;
}
-checkUnnamed609(core.List<api.UsageReportsWarnings> o) {
+checkUnnamed630(core.List<api.UsageReportsWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReportsWarnings(o[0]);
checkUsageReportsWarnings(o[1]);
@@ -535,8 +535,8 @@
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.usageReports = buildUnnamed607();
- o.warnings = buildUnnamed609();
+ o.usageReports = buildUnnamed628();
+ o.warnings = buildUnnamed630();
}
buildCounterUsageReports--;
return o;
@@ -548,8 +548,8 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed607(o.usageReports);
- checkUnnamed609(o.warnings);
+ checkUnnamed628(o.usageReports);
+ checkUnnamed630(o.warnings);
}
buildCounterUsageReports--;
}
diff --git a/generated/googleapis/test/adsense/v1_4_test.dart b/generated/googleapis/test/adsense/v1_4_test.dart
index 7cb89f4..a7a8347 100644
--- a/generated/googleapis/test/adsense/v1_4_test.dart
+++ b/generated/googleapis/test/adsense/v1_4_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1602() {
+buildUnnamed1670() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1602(core.List<api.Account> o) {
+checkUnnamed1670(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -74,7 +74,7 @@
o.kind = "foo";
o.name = "foo";
o.premium = true;
- o.subAccounts = buildUnnamed1602();
+ o.subAccounts = buildUnnamed1670();
o.timezone = "foo";
}
buildCounterAccount--;
@@ -89,20 +89,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.premium, unittest.isTrue);
- checkUnnamed1602(o.subAccounts);
+ checkUnnamed1670(o.subAccounts);
unittest.expect(o.timezone, unittest.equals('foo'));
}
buildCounterAccount--;
}
-buildUnnamed1603() {
+buildUnnamed1671() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1603(core.List<api.Account> o) {
+checkUnnamed1671(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -114,7 +114,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
o.etag = "foo";
- o.items = buildUnnamed1603();
+ o.items = buildUnnamed1671();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -126,7 +126,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1603(o.items);
+ checkUnnamed1671(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -160,14 +160,14 @@
buildCounterAdClient--;
}
-buildUnnamed1604() {
+buildUnnamed1672() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed1604(core.List<api.AdClient> o) {
+checkUnnamed1672(core.List<api.AdClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdClient(o[0]);
checkAdClient(o[1]);
@@ -179,7 +179,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
o.etag = "foo";
- o.items = buildUnnamed1604();
+ o.items = buildUnnamed1672();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -191,7 +191,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1604(o.items);
+ checkUnnamed1672(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -425,14 +425,14 @@
buildCounterAdUnit--;
}
-buildUnnamed1605() {
+buildUnnamed1673() {
var o = new core.List<api.AdUnit>();
o.add(buildAdUnit());
o.add(buildAdUnit());
return o;
}
-checkUnnamed1605(core.List<api.AdUnit> o) {
+checkUnnamed1673(core.List<api.AdUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdUnit(o[0]);
checkAdUnit(o[1]);
@@ -444,7 +444,7 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
o.etag = "foo";
- o.items = buildUnnamed1605();
+ o.items = buildUnnamed1673();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -456,21 +456,21 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1605(o.items);
+ checkUnnamed1673(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdUnits--;
}
-buildUnnamed1606() {
+buildUnnamed1674() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1606(core.List<core.String> o) {
+checkUnnamed1674(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -499,66 +499,66 @@
buildCounterAdsenseReportsGenerateResponseHeaders--;
}
-buildUnnamed1607() {
+buildUnnamed1675() {
var o = new core.List<api.AdsenseReportsGenerateResponseHeaders>();
o.add(buildAdsenseReportsGenerateResponseHeaders());
o.add(buildAdsenseReportsGenerateResponseHeaders());
return o;
}
-checkUnnamed1607(core.List<api.AdsenseReportsGenerateResponseHeaders> o) {
+checkUnnamed1675(core.List<api.AdsenseReportsGenerateResponseHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdsenseReportsGenerateResponseHeaders(o[0]);
checkAdsenseReportsGenerateResponseHeaders(o[1]);
}
-buildUnnamed1608() {
+buildUnnamed1676() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1608(core.List<core.String> o) {
+checkUnnamed1676(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1609() {
+buildUnnamed1677() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed1608());
- o.add(buildUnnamed1608());
+ o.add(buildUnnamed1676());
+ o.add(buildUnnamed1676());
return o;
}
-checkUnnamed1609(core.List<core.List<core.String>> o) {
+checkUnnamed1677(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1608(o[0]);
- checkUnnamed1608(o[1]);
+ checkUnnamed1676(o[0]);
+ checkUnnamed1676(o[1]);
}
-buildUnnamed1610() {
+buildUnnamed1678() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1610(core.List<core.String> o) {
+checkUnnamed1678(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1611() {
+buildUnnamed1679() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1611(core.List<core.String> o) {
+checkUnnamed1679(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -569,15 +569,15 @@
var o = new api.AdsenseReportsGenerateResponse();
buildCounterAdsenseReportsGenerateResponse++;
if (buildCounterAdsenseReportsGenerateResponse < 3) {
- o.averages = buildUnnamed1606();
+ o.averages = buildUnnamed1674();
o.endDate = "foo";
- o.headers = buildUnnamed1607();
+ o.headers = buildUnnamed1675();
o.kind = "foo";
- o.rows = buildUnnamed1609();
+ o.rows = buildUnnamed1677();
o.startDate = "foo";
o.totalMatchedRows = "foo";
- o.totals = buildUnnamed1610();
- o.warnings = buildUnnamed1611();
+ o.totals = buildUnnamed1678();
+ o.warnings = buildUnnamed1679();
}
buildCounterAdsenseReportsGenerateResponse--;
return o;
@@ -586,15 +586,15 @@
checkAdsenseReportsGenerateResponse(api.AdsenseReportsGenerateResponse o) {
buildCounterAdsenseReportsGenerateResponse++;
if (buildCounterAdsenseReportsGenerateResponse < 3) {
- checkUnnamed1606(o.averages);
+ checkUnnamed1674(o.averages);
unittest.expect(o.endDate, unittest.equals('foo'));
- checkUnnamed1607(o.headers);
+ checkUnnamed1675(o.headers);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1609(o.rows);
+ checkUnnamed1677(o.rows);
unittest.expect(o.startDate, unittest.equals('foo'));
unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed1610(o.totals);
- checkUnnamed1611(o.warnings);
+ checkUnnamed1678(o.totals);
+ checkUnnamed1679(o.warnings);
}
buildCounterAdsenseReportsGenerateResponse--;
}
@@ -628,14 +628,14 @@
buildCounterAlert--;
}
-buildUnnamed1612() {
+buildUnnamed1680() {
var o = new core.List<api.Alert>();
o.add(buildAlert());
o.add(buildAlert());
return o;
}
-checkUnnamed1612(core.List<api.Alert> o) {
+checkUnnamed1680(core.List<api.Alert> o) {
unittest.expect(o, unittest.hasLength(2));
checkAlert(o[0]);
checkAlert(o[1]);
@@ -646,7 +646,7 @@
var o = new api.Alerts();
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- o.items = buildUnnamed1612();
+ o.items = buildUnnamed1680();
o.kind = "foo";
}
buildCounterAlerts--;
@@ -656,7 +656,7 @@
checkAlerts(api.Alerts o) {
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- checkUnnamed1612(o.items);
+ checkUnnamed1680(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAlerts--;
@@ -714,14 +714,14 @@
buildCounterCustomChannel--;
}
-buildUnnamed1613() {
+buildUnnamed1681() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed1613(core.List<api.CustomChannel> o) {
+checkUnnamed1681(core.List<api.CustomChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomChannel(o[0]);
checkCustomChannel(o[1]);
@@ -733,7 +733,7 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed1613();
+ o.items = buildUnnamed1681();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -745,21 +745,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1613(o.items);
+ checkUnnamed1681(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed1614() {
+buildUnnamed1682() {
var o = new core.List<api.ReportingMetadataEntry>();
o.add(buildReportingMetadataEntry());
o.add(buildReportingMetadataEntry());
return o;
}
-checkUnnamed1614(core.List<api.ReportingMetadataEntry> o) {
+checkUnnamed1682(core.List<api.ReportingMetadataEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportingMetadataEntry(o[0]);
checkReportingMetadataEntry(o[1]);
@@ -770,7 +770,7 @@
var o = new api.Metadata();
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- o.items = buildUnnamed1614();
+ o.items = buildUnnamed1682();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -780,7 +780,7 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed1614(o.items);
+ checkUnnamed1682(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -813,14 +813,14 @@
buildCounterPayment--;
}
-buildUnnamed1615() {
+buildUnnamed1683() {
var o = new core.List<api.Payment>();
o.add(buildPayment());
o.add(buildPayment());
return o;
}
-checkUnnamed1615(core.List<api.Payment> o) {
+checkUnnamed1683(core.List<api.Payment> o) {
unittest.expect(o, unittest.hasLength(2));
checkPayment(o[0]);
checkPayment(o[1]);
@@ -831,7 +831,7 @@
var o = new api.Payments();
buildCounterPayments++;
if (buildCounterPayments < 3) {
- o.items = buildUnnamed1615();
+ o.items = buildUnnamed1683();
o.kind = "foo";
}
buildCounterPayments--;
@@ -841,72 +841,72 @@
checkPayments(api.Payments o) {
buildCounterPayments++;
if (buildCounterPayments < 3) {
- checkUnnamed1615(o.items);
+ checkUnnamed1683(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPayments--;
}
-buildUnnamed1616() {
+buildUnnamed1684() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1616(core.List<core.String> o) {
+checkUnnamed1684(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1617() {
+buildUnnamed1685() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1617(core.List<core.String> o) {
+checkUnnamed1685(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1618() {
+buildUnnamed1686() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1618(core.List<core.String> o) {
+checkUnnamed1686(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1619() {
+buildUnnamed1687() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1619(core.List<core.String> o) {
+checkUnnamed1687(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1620() {
+buildUnnamed1688() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1620(core.List<core.String> o) {
+checkUnnamed1688(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -917,13 +917,13 @@
var o = new api.ReportingMetadataEntry();
buildCounterReportingMetadataEntry++;
if (buildCounterReportingMetadataEntry < 3) {
- o.compatibleDimensions = buildUnnamed1616();
- o.compatibleMetrics = buildUnnamed1617();
+ o.compatibleDimensions = buildUnnamed1684();
+ o.compatibleMetrics = buildUnnamed1685();
o.id = "foo";
o.kind = "foo";
- o.requiredDimensions = buildUnnamed1618();
- o.requiredMetrics = buildUnnamed1619();
- o.supportedProducts = buildUnnamed1620();
+ o.requiredDimensions = buildUnnamed1686();
+ o.requiredMetrics = buildUnnamed1687();
+ o.supportedProducts = buildUnnamed1688();
}
buildCounterReportingMetadataEntry--;
return o;
@@ -932,13 +932,13 @@
checkReportingMetadataEntry(api.ReportingMetadataEntry o) {
buildCounterReportingMetadataEntry++;
if (buildCounterReportingMetadataEntry < 3) {
- checkUnnamed1616(o.compatibleDimensions);
- checkUnnamed1617(o.compatibleMetrics);
+ checkUnnamed1684(o.compatibleDimensions);
+ checkUnnamed1685(o.compatibleMetrics);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1618(o.requiredDimensions);
- checkUnnamed1619(o.requiredMetrics);
- checkUnnamed1620(o.supportedProducts);
+ checkUnnamed1686(o.requiredDimensions);
+ checkUnnamed1687(o.requiredMetrics);
+ checkUnnamed1688(o.supportedProducts);
}
buildCounterReportingMetadataEntry--;
}
@@ -968,14 +968,14 @@
buildCounterSavedAdStyle--;
}
-buildUnnamed1621() {
+buildUnnamed1689() {
var o = new core.List<api.SavedAdStyle>();
o.add(buildSavedAdStyle());
o.add(buildSavedAdStyle());
return o;
}
-checkUnnamed1621(core.List<api.SavedAdStyle> o) {
+checkUnnamed1689(core.List<api.SavedAdStyle> o) {
unittest.expect(o, unittest.hasLength(2));
checkSavedAdStyle(o[0]);
checkSavedAdStyle(o[1]);
@@ -987,7 +987,7 @@
buildCounterSavedAdStyles++;
if (buildCounterSavedAdStyles < 3) {
o.etag = "foo";
- o.items = buildUnnamed1621();
+ o.items = buildUnnamed1689();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -999,7 +999,7 @@
buildCounterSavedAdStyles++;
if (buildCounterSavedAdStyles < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1621(o.items);
+ checkUnnamed1689(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1029,14 +1029,14 @@
buildCounterSavedReport--;
}
-buildUnnamed1622() {
+buildUnnamed1690() {
var o = new core.List<api.SavedReport>();
o.add(buildSavedReport());
o.add(buildSavedReport());
return o;
}
-checkUnnamed1622(core.List<api.SavedReport> o) {
+checkUnnamed1690(core.List<api.SavedReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkSavedReport(o[0]);
checkSavedReport(o[1]);
@@ -1048,7 +1048,7 @@
buildCounterSavedReports++;
if (buildCounterSavedReports < 3) {
o.etag = "foo";
- o.items = buildUnnamed1622();
+ o.items = buildUnnamed1690();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1060,7 +1060,7 @@
buildCounterSavedReports++;
if (buildCounterSavedReports < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1622(o.items);
+ checkUnnamed1690(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1090,14 +1090,14 @@
buildCounterUrlChannel--;
}
-buildUnnamed1623() {
+buildUnnamed1691() {
var o = new core.List<api.UrlChannel>();
o.add(buildUrlChannel());
o.add(buildUrlChannel());
return o;
}
-checkUnnamed1623(core.List<api.UrlChannel> o) {
+checkUnnamed1691(core.List<api.UrlChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlChannel(o[0]);
checkUrlChannel(o[1]);
@@ -1109,7 +1109,7 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed1623();
+ o.items = buildUnnamed1691();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1121,125 +1121,125 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1623(o.items);
+ checkUnnamed1691(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterUrlChannels--;
}
-buildUnnamed1624() {
+buildUnnamed1692() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1624(core.List<core.String> o) {
+checkUnnamed1692(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1625() {
+buildUnnamed1693() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1625(core.List<core.String> o) {
+checkUnnamed1693(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1626() {
+buildUnnamed1694() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1626(core.List<core.String> o) {
+checkUnnamed1694(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1627() {
+buildUnnamed1695() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1627(core.List<core.String> o) {
+checkUnnamed1695(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1628() {
+buildUnnamed1696() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1628(core.List<core.String> o) {
+checkUnnamed1696(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1629() {
+buildUnnamed1697() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1629(core.List<core.String> o) {
+checkUnnamed1697(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1630() {
+buildUnnamed1698() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1630(core.List<core.String> o) {
+checkUnnamed1698(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1631() {
+buildUnnamed1699() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1631(core.List<core.String> o) {
+checkUnnamed1699(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1632() {
+buildUnnamed1700() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1632(core.List<core.String> o) {
+checkUnnamed1700(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2368,12 +2368,12 @@
var arg_startDate = "foo";
var arg_endDate = "foo";
var arg_currency = "foo";
- var arg_dimension = buildUnnamed1624();
- var arg_filter = buildUnnamed1625();
+ var arg_dimension = buildUnnamed1692();
+ var arg_filter = buildUnnamed1693();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed1626();
- var arg_sort = buildUnnamed1627();
+ var arg_metric = buildUnnamed1694();
+ var arg_sort = buildUnnamed1695();
var arg_startIndex = 42;
var arg_useTimezoneReporting = true;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -3495,14 +3495,14 @@
api.ReportsResourceApi res = new api.AdsenseApi(mock).reports;
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_accountId = buildUnnamed1628();
+ var arg_accountId = buildUnnamed1696();
var arg_currency = "foo";
- var arg_dimension = buildUnnamed1629();
- var arg_filter = buildUnnamed1630();
+ var arg_dimension = buildUnnamed1697();
+ var arg_filter = buildUnnamed1698();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed1631();
- var arg_sort = buildUnnamed1632();
+ var arg_metric = buildUnnamed1699();
+ var arg_sort = buildUnnamed1700();
var arg_startIndex = 42;
var arg_useTimezoneReporting = true;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
diff --git a/generated/googleapis/test/adsensehost/v4_1_test.dart b/generated/googleapis/test/adsensehost/v4_1_test.dart
index 7f38860..1eef0cf 100644
--- a/generated/googleapis/test/adsensehost/v4_1_test.dart
+++ b/generated/googleapis/test/adsensehost/v4_1_test.dart
@@ -76,14 +76,14 @@
buildCounterAccount--;
}
-buildUnnamed2819() {
+buildUnnamed2924() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed2819(core.List<api.Account> o) {
+checkUnnamed2924(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -95,7 +95,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
o.etag = "foo";
- o.items = buildUnnamed2819();
+ o.items = buildUnnamed2924();
o.kind = "foo";
}
buildCounterAccounts--;
@@ -106,7 +106,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2819(o.items);
+ checkUnnamed2924(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccounts--;
@@ -139,14 +139,14 @@
buildCounterAdClient--;
}
-buildUnnamed2820() {
+buildUnnamed2925() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed2820(core.List<api.AdClient> o) {
+checkUnnamed2925(core.List<api.AdClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdClient(o[0]);
checkAdClient(o[1]);
@@ -158,7 +158,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
o.etag = "foo";
- o.items = buildUnnamed2820();
+ o.items = buildUnnamed2925();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -170,7 +170,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2820(o.items);
+ checkUnnamed2925(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -375,14 +375,14 @@
buildCounterAdUnit--;
}
-buildUnnamed2821() {
+buildUnnamed2926() {
var o = new core.List<api.AdUnit>();
o.add(buildAdUnit());
o.add(buildAdUnit());
return o;
}
-checkUnnamed2821(core.List<api.AdUnit> o) {
+checkUnnamed2926(core.List<api.AdUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdUnit(o[0]);
checkAdUnit(o[1]);
@@ -394,7 +394,7 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
o.etag = "foo";
- o.items = buildUnnamed2821();
+ o.items = buildUnnamed2926();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -406,21 +406,21 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2821(o.items);
+ checkUnnamed2926(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdUnits--;
}
-buildUnnamed2822() {
+buildUnnamed2927() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2822(core.List<core.String> o) {
+checkUnnamed2927(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -434,7 +434,7 @@
o.accountId = "foo";
o.id = "foo";
o.kind = "foo";
- o.productCodes = buildUnnamed2822();
+ o.productCodes = buildUnnamed2927();
o.redirectUrl = "foo";
o.status = "foo";
o.userLocale = "foo";
@@ -451,7 +451,7 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2822(o.productCodes);
+ checkUnnamed2927(o.productCodes);
unittest.expect(o.redirectUrl, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.userLocale, unittest.equals('foo'));
@@ -486,14 +486,14 @@
buildCounterCustomChannel--;
}
-buildUnnamed2823() {
+buildUnnamed2928() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed2823(core.List<api.CustomChannel> o) {
+checkUnnamed2928(core.List<api.CustomChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomChannel(o[0]);
checkCustomChannel(o[1]);
@@ -505,7 +505,7 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed2823();
+ o.items = buildUnnamed2928();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -517,21 +517,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2823(o.items);
+ checkUnnamed2928(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed2824() {
+buildUnnamed2929() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2824(core.List<core.String> o) {
+checkUnnamed2929(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -560,66 +560,66 @@
buildCounterReportHeaders--;
}
-buildUnnamed2825() {
+buildUnnamed2930() {
var o = new core.List<api.ReportHeaders>();
o.add(buildReportHeaders());
o.add(buildReportHeaders());
return o;
}
-checkUnnamed2825(core.List<api.ReportHeaders> o) {
+checkUnnamed2930(core.List<api.ReportHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportHeaders(o[0]);
checkReportHeaders(o[1]);
}
-buildUnnamed2826() {
+buildUnnamed2931() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2826(core.List<core.String> o) {
+checkUnnamed2931(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2827() {
+buildUnnamed2932() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed2826());
- o.add(buildUnnamed2826());
+ o.add(buildUnnamed2931());
+ o.add(buildUnnamed2931());
return o;
}
-checkUnnamed2827(core.List<core.List<core.String>> o) {
+checkUnnamed2932(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2826(o[0]);
- checkUnnamed2826(o[1]);
+ checkUnnamed2931(o[0]);
+ checkUnnamed2931(o[1]);
}
-buildUnnamed2828() {
+buildUnnamed2933() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2828(core.List<core.String> o) {
+checkUnnamed2933(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2829() {
+buildUnnamed2934() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2829(core.List<core.String> o) {
+checkUnnamed2934(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -630,13 +630,13 @@
var o = new api.Report();
buildCounterReport++;
if (buildCounterReport < 3) {
- o.averages = buildUnnamed2824();
- o.headers = buildUnnamed2825();
+ o.averages = buildUnnamed2929();
+ o.headers = buildUnnamed2930();
o.kind = "foo";
- o.rows = buildUnnamed2827();
+ o.rows = buildUnnamed2932();
o.totalMatchedRows = "foo";
- o.totals = buildUnnamed2828();
- o.warnings = buildUnnamed2829();
+ o.totals = buildUnnamed2933();
+ o.warnings = buildUnnamed2934();
}
buildCounterReport--;
return o;
@@ -645,13 +645,13 @@
checkReport(api.Report o) {
buildCounterReport++;
if (buildCounterReport < 3) {
- checkUnnamed2824(o.averages);
- checkUnnamed2825(o.headers);
+ checkUnnamed2929(o.averages);
+ checkUnnamed2930(o.headers);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2827(o.rows);
+ checkUnnamed2932(o.rows);
unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed2828(o.totals);
- checkUnnamed2829(o.warnings);
+ checkUnnamed2933(o.totals);
+ checkUnnamed2934(o.warnings);
}
buildCounterReport--;
}
@@ -679,14 +679,14 @@
buildCounterUrlChannel--;
}
-buildUnnamed2830() {
+buildUnnamed2935() {
var o = new core.List<api.UrlChannel>();
o.add(buildUrlChannel());
o.add(buildUrlChannel());
return o;
}
-checkUnnamed2830(core.List<api.UrlChannel> o) {
+checkUnnamed2935(core.List<api.UrlChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlChannel(o[0]);
checkUrlChannel(o[1]);
@@ -698,7 +698,7 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed2830();
+ o.items = buildUnnamed2935();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -710,151 +710,151 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2830(o.items);
+ checkUnnamed2935(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterUrlChannels--;
}
-buildUnnamed2831() {
+buildUnnamed2936() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2831(core.List<core.String> o) {
+checkUnnamed2936(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2832() {
+buildUnnamed2937() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2832(core.List<core.String> o) {
+checkUnnamed2937(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2833() {
+buildUnnamed2938() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2833(core.List<core.String> o) {
+checkUnnamed2938(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2834() {
+buildUnnamed2939() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2834(core.List<core.String> o) {
+checkUnnamed2939(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2835() {
+buildUnnamed2940() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2835(core.List<core.String> o) {
+checkUnnamed2940(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2836() {
+buildUnnamed2941() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2836(core.List<core.String> o) {
+checkUnnamed2941(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2837() {
+buildUnnamed2942() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2837(core.List<core.String> o) {
+checkUnnamed2942(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2838() {
+buildUnnamed2943() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2838(core.List<core.String> o) {
+checkUnnamed2943(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2839() {
+buildUnnamed2944() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2839(core.List<core.String> o) {
+checkUnnamed2944(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2840() {
+buildUnnamed2945() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2840(core.List<core.String> o) {
+checkUnnamed2945(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2841() {
+buildUnnamed2946() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2841(core.List<core.String> o) {
+checkUnnamed2946(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1096,7 +1096,7 @@
var mock = new HttpServerMock();
api.AccountsResourceApi res = new api.AdsensehostApi(mock).accounts;
- var arg_filterAdClientId = buildUnnamed2831();
+ var arg_filterAdClientId = buildUnnamed2936();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1398,7 +1398,7 @@
var arg_accountId = "foo";
var arg_adClientId = "foo";
var arg_adUnitId = "foo";
- var arg_hostCustomChannelId = buildUnnamed2832();
+ var arg_hostCustomChannelId = buildUnnamed2937();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1737,12 +1737,12 @@
var arg_accountId = "foo";
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_dimension = buildUnnamed2833();
- var arg_filter = buildUnnamed2834();
+ var arg_dimension = buildUnnamed2938();
+ var arg_filter = buildUnnamed2939();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed2835();
- var arg_sort = buildUnnamed2836();
+ var arg_metric = buildUnnamed2940();
+ var arg_sort = buildUnnamed2941();
var arg_startIndex = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1911,7 +1911,7 @@
var mock = new HttpServerMock();
api.AssociationsessionsResourceApi res = new api.AdsensehostApi(mock).associationsessions;
- var arg_productCode = buildUnnamed2837();
+ var arg_productCode = buildUnnamed2942();
var arg_websiteUrl = "foo";
var arg_userLocale = "foo";
var arg_websiteLocale = "foo";
@@ -2365,12 +2365,12 @@
api.ReportsResourceApi res = new api.AdsensehostApi(mock).reports;
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_dimension = buildUnnamed2838();
- var arg_filter = buildUnnamed2839();
+ var arg_dimension = buildUnnamed2943();
+ var arg_filter = buildUnnamed2944();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed2840();
- var arg_sort = buildUnnamed2841();
+ var arg_metric = buildUnnamed2945();
+ var arg_sort = buildUnnamed2946();
var arg_startIndex = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/analytics/v3_test.dart b/generated/googleapis/test/analytics/v3_test.dart
index ddc6b27..9a040a1 100644
--- a/generated/googleapis/test/analytics/v3_test.dart
+++ b/generated/googleapis/test/analytics/v3_test.dart
@@ -72,14 +72,14 @@
buildCounterAccountChildLink--;
}
-buildUnnamed892() {
+buildUnnamed918() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed892(core.List<core.String> o) {
+checkUnnamed918(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -90,7 +90,7 @@
var o = new api.AccountPermissions();
buildCounterAccountPermissions++;
if (buildCounterAccountPermissions < 3) {
- o.effective = buildUnnamed892();
+ o.effective = buildUnnamed918();
}
buildCounterAccountPermissions--;
return o;
@@ -99,7 +99,7 @@
checkAccountPermissions(api.AccountPermissions o) {
buildCounterAccountPermissions++;
if (buildCounterAccountPermissions < 3) {
- checkUnnamed892(o.effective);
+ checkUnnamed918(o.effective);
}
buildCounterAccountPermissions--;
}
@@ -164,14 +164,14 @@
buildCounterAccountRef--;
}
-buildUnnamed893() {
+buildUnnamed919() {
var o = new core.List<api.AccountSummary>();
o.add(buildAccountSummary());
o.add(buildAccountSummary());
return o;
}
-checkUnnamed893(core.List<api.AccountSummary> o) {
+checkUnnamed919(core.List<api.AccountSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountSummary(o[0]);
checkAccountSummary(o[1]);
@@ -182,7 +182,7 @@
var o = new api.AccountSummaries();
buildCounterAccountSummaries++;
if (buildCounterAccountSummaries < 3) {
- o.items = buildUnnamed893();
+ o.items = buildUnnamed919();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -198,7 +198,7 @@
checkAccountSummaries(api.AccountSummaries o) {
buildCounterAccountSummaries++;
if (buildCounterAccountSummaries < 3) {
- checkUnnamed893(o.items);
+ checkUnnamed919(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -210,14 +210,14 @@
buildCounterAccountSummaries--;
}
-buildUnnamed894() {
+buildUnnamed920() {
var o = new core.List<api.WebPropertySummary>();
o.add(buildWebPropertySummary());
o.add(buildWebPropertySummary());
return o;
}
-checkUnnamed894(core.List<api.WebPropertySummary> o) {
+checkUnnamed920(core.List<api.WebPropertySummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebPropertySummary(o[0]);
checkWebPropertySummary(o[1]);
@@ -232,7 +232,7 @@
o.kind = "foo";
o.name = "foo";
o.starred = true;
- o.webProperties = buildUnnamed894();
+ o.webProperties = buildUnnamed920();
}
buildCounterAccountSummary--;
return o;
@@ -245,7 +245,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.starred, unittest.isTrue);
- checkUnnamed894(o.webProperties);
+ checkUnnamed920(o.webProperties);
}
buildCounterAccountSummary--;
}
@@ -279,14 +279,14 @@
buildCounterAccountTicket--;
}
-buildUnnamed895() {
+buildUnnamed921() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed895(core.List<api.Account> o) {
+checkUnnamed921(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -297,7 +297,7 @@
var o = new api.Accounts();
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
- o.items = buildUnnamed895();
+ o.items = buildUnnamed921();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -313,7 +313,7 @@
checkAccounts(api.Accounts o) {
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
- checkUnnamed895(o.items);
+ checkUnnamed921(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -348,14 +348,14 @@
buildCounterAdWordsAccount--;
}
-buildUnnamed896() {
+buildUnnamed922() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed896(core.List<core.String> o) {
+checkUnnamed922(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -366,7 +366,7 @@
var o = new api.AnalyticsDataimportDeleteUploadDataRequest();
buildCounterAnalyticsDataimportDeleteUploadDataRequest++;
if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) {
- o.customDataImportUids = buildUnnamed896();
+ o.customDataImportUids = buildUnnamed922();
}
buildCounterAnalyticsDataimportDeleteUploadDataRequest--;
return o;
@@ -375,19 +375,19 @@
checkAnalyticsDataimportDeleteUploadDataRequest(api.AnalyticsDataimportDeleteUploadDataRequest o) {
buildCounterAnalyticsDataimportDeleteUploadDataRequest++;
if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) {
- checkUnnamed896(o.customDataImportUids);
+ checkUnnamed922(o.customDataImportUids);
}
buildCounterAnalyticsDataimportDeleteUploadDataRequest--;
}
-buildUnnamed897() {
+buildUnnamed923() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed897(core.Map<core.String, core.String> o) {
+checkUnnamed923(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -398,7 +398,7 @@
var o = new api.Column();
buildCounterColumn++;
if (buildCounterColumn < 3) {
- o.attributes = buildUnnamed897();
+ o.attributes = buildUnnamed923();
o.id = "foo";
o.kind = "foo";
}
@@ -409,34 +409,34 @@
checkColumn(api.Column o) {
buildCounterColumn++;
if (buildCounterColumn < 3) {
- checkUnnamed897(o.attributes);
+ checkUnnamed923(o.attributes);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterColumn--;
}
-buildUnnamed898() {
+buildUnnamed924() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed898(core.List<core.String> o) {
+checkUnnamed924(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed899() {
+buildUnnamed925() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed899(core.List<api.Column> o) {
+checkUnnamed925(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -447,9 +447,9 @@
var o = new api.Columns();
buildCounterColumns++;
if (buildCounterColumns < 3) {
- o.attributeNames = buildUnnamed898();
+ o.attributeNames = buildUnnamed924();
o.etag = "foo";
- o.items = buildUnnamed899();
+ o.items = buildUnnamed925();
o.kind = "foo";
o.totalResults = 42;
}
@@ -460,9 +460,9 @@
checkColumns(api.Columns o) {
buildCounterColumns++;
if (buildCounterColumns < 3) {
- checkUnnamed898(o.attributeNames);
+ checkUnnamed924(o.attributeNames);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed899(o.items);
+ checkUnnamed925(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
}
@@ -511,14 +511,14 @@
buildCounterCustomDataSourceParentLink--;
}
-buildUnnamed900() {
+buildUnnamed926() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed900(core.List<core.String> o) {
+checkUnnamed926(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -538,7 +538,7 @@
o.kind = "foo";
o.name = "foo";
o.parentLink = buildCustomDataSourceParentLink();
- o.profilesLinked = buildUnnamed900();
+ o.profilesLinked = buildUnnamed926();
o.selfLink = "foo";
o.type = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
@@ -561,7 +561,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkCustomDataSourceParentLink(o.parentLink);
- checkUnnamed900(o.profilesLinked);
+ checkUnnamed926(o.profilesLinked);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -571,14 +571,14 @@
buildCounterCustomDataSource--;
}
-buildUnnamed901() {
+buildUnnamed927() {
var o = new core.List<api.CustomDataSource>();
o.add(buildCustomDataSource());
o.add(buildCustomDataSource());
return o;
}
-checkUnnamed901(core.List<api.CustomDataSource> o) {
+checkUnnamed927(core.List<api.CustomDataSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDataSource(o[0]);
checkCustomDataSource(o[1]);
@@ -589,7 +589,7 @@
var o = new api.CustomDataSources();
buildCounterCustomDataSources++;
if (buildCounterCustomDataSources < 3) {
- o.items = buildUnnamed901();
+ o.items = buildUnnamed927();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -605,7 +605,7 @@
checkCustomDataSources(api.CustomDataSources o) {
buildCounterCustomDataSources++;
if (buildCounterCustomDataSources < 3) {
- checkUnnamed901(o.items);
+ checkUnnamed927(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -679,14 +679,14 @@
buildCounterCustomDimension--;
}
-buildUnnamed902() {
+buildUnnamed928() {
var o = new core.List<api.CustomDimension>();
o.add(buildCustomDimension());
o.add(buildCustomDimension());
return o;
}
-checkUnnamed902(core.List<api.CustomDimension> o) {
+checkUnnamed928(core.List<api.CustomDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDimension(o[0]);
checkCustomDimension(o[1]);
@@ -697,7 +697,7 @@
var o = new api.CustomDimensions();
buildCounterCustomDimensions++;
if (buildCounterCustomDimensions < 3) {
- o.items = buildUnnamed902();
+ o.items = buildUnnamed928();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -713,7 +713,7 @@
checkCustomDimensions(api.CustomDimensions o) {
buildCounterCustomDimensions++;
if (buildCounterCustomDimensions < 3) {
- checkUnnamed902(o.items);
+ checkUnnamed928(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -793,14 +793,14 @@
buildCounterCustomMetric--;
}
-buildUnnamed903() {
+buildUnnamed929() {
var o = new core.List<api.CustomMetric>();
o.add(buildCustomMetric());
o.add(buildCustomMetric());
return o;
}
-checkUnnamed903(core.List<api.CustomMetric> o) {
+checkUnnamed929(core.List<api.CustomMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomMetric(o[0]);
checkCustomMetric(o[1]);
@@ -811,7 +811,7 @@
var o = new api.CustomMetrics();
buildCounterCustomMetrics++;
if (buildCounterCustomMetrics < 3) {
- o.items = buildUnnamed903();
+ o.items = buildUnnamed929();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -827,7 +827,7 @@
checkCustomMetrics(api.CustomMetrics o) {
buildCounterCustomMetrics++;
if (buildCounterCustomMetrics < 3) {
- checkUnnamed903(o.items);
+ checkUnnamed929(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -839,14 +839,14 @@
buildCounterCustomMetrics--;
}
-buildUnnamed904() {
+buildUnnamed930() {
var o = new core.List<api.AdWordsAccount>();
o.add(buildAdWordsAccount());
o.add(buildAdWordsAccount());
return o;
}
-checkUnnamed904(core.List<api.AdWordsAccount> o) {
+checkUnnamed930(core.List<api.AdWordsAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdWordsAccount(o[0]);
checkAdWordsAccount(o[1]);
@@ -871,14 +871,14 @@
buildCounterEntityAdWordsLinkEntity--;
}
-buildUnnamed905() {
+buildUnnamed931() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed905(core.List<core.String> o) {
+checkUnnamed931(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -889,12 +889,12 @@
var o = new api.EntityAdWordsLink();
buildCounterEntityAdWordsLink++;
if (buildCounterEntityAdWordsLink < 3) {
- o.adWordsAccounts = buildUnnamed904();
+ o.adWordsAccounts = buildUnnamed930();
o.entity = buildEntityAdWordsLinkEntity();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.profileIds = buildUnnamed905();
+ o.profileIds = buildUnnamed931();
o.selfLink = "foo";
}
buildCounterEntityAdWordsLink--;
@@ -904,25 +904,25 @@
checkEntityAdWordsLink(api.EntityAdWordsLink o) {
buildCounterEntityAdWordsLink++;
if (buildCounterEntityAdWordsLink < 3) {
- checkUnnamed904(o.adWordsAccounts);
+ checkUnnamed930(o.adWordsAccounts);
checkEntityAdWordsLinkEntity(o.entity);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed905(o.profileIds);
+ checkUnnamed931(o.profileIds);
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterEntityAdWordsLink--;
}
-buildUnnamed906() {
+buildUnnamed932() {
var o = new core.List<api.EntityAdWordsLink>();
o.add(buildEntityAdWordsLink());
o.add(buildEntityAdWordsLink());
return o;
}
-checkUnnamed906(core.List<api.EntityAdWordsLink> o) {
+checkUnnamed932(core.List<api.EntityAdWordsLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAdWordsLink(o[0]);
checkEntityAdWordsLink(o[1]);
@@ -933,7 +933,7 @@
var o = new api.EntityAdWordsLinks();
buildCounterEntityAdWordsLinks++;
if (buildCounterEntityAdWordsLinks < 3) {
- o.items = buildUnnamed906();
+ o.items = buildUnnamed932();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -948,7 +948,7 @@
checkEntityAdWordsLinks(api.EntityAdWordsLinks o) {
buildCounterEntityAdWordsLinks++;
if (buildCounterEntityAdWordsLinks < 3) {
- checkUnnamed906(o.items);
+ checkUnnamed932(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -982,27 +982,27 @@
buildCounterEntityUserLinkEntity--;
}
-buildUnnamed907() {
+buildUnnamed933() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed907(core.List<core.String> o) {
+checkUnnamed933(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed908() {
+buildUnnamed934() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed908(core.List<core.String> o) {
+checkUnnamed934(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1013,8 +1013,8 @@
var o = new api.EntityUserLinkPermissions();
buildCounterEntityUserLinkPermissions++;
if (buildCounterEntityUserLinkPermissions < 3) {
- o.effective = buildUnnamed907();
- o.local = buildUnnamed908();
+ o.effective = buildUnnamed933();
+ o.local = buildUnnamed934();
}
buildCounterEntityUserLinkPermissions--;
return o;
@@ -1023,8 +1023,8 @@
checkEntityUserLinkPermissions(api.EntityUserLinkPermissions o) {
buildCounterEntityUserLinkPermissions++;
if (buildCounterEntityUserLinkPermissions < 3) {
- checkUnnamed907(o.effective);
- checkUnnamed908(o.local);
+ checkUnnamed933(o.effective);
+ checkUnnamed934(o.local);
}
buildCounterEntityUserLinkPermissions--;
}
@@ -1058,14 +1058,14 @@
buildCounterEntityUserLink--;
}
-buildUnnamed909() {
+buildUnnamed935() {
var o = new core.List<api.EntityUserLink>();
o.add(buildEntityUserLink());
o.add(buildEntityUserLink());
return o;
}
-checkUnnamed909(core.List<api.EntityUserLink> o) {
+checkUnnamed935(core.List<api.EntityUserLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityUserLink(o[0]);
checkEntityUserLink(o[1]);
@@ -1076,7 +1076,7 @@
var o = new api.EntityUserLinks();
buildCounterEntityUserLinks++;
if (buildCounterEntityUserLinks < 3) {
- o.items = buildUnnamed909();
+ o.items = buildUnnamed935();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1091,7 +1091,7 @@
checkEntityUserLinks(api.EntityUserLinks o) {
buildCounterEntityUserLinks++;
if (buildCounterEntityUserLinks < 3) {
- checkUnnamed909(o.items);
+ checkUnnamed935(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1150,14 +1150,14 @@
buildCounterExperimentVariations--;
}
-buildUnnamed910() {
+buildUnnamed936() {
var o = new core.List<api.ExperimentVariations>();
o.add(buildExperimentVariations());
o.add(buildExperimentVariations());
return o;
}
-checkUnnamed910(core.List<api.ExperimentVariations> o) {
+checkUnnamed936(core.List<api.ExperimentVariations> o) {
unittest.expect(o, unittest.hasLength(2));
checkExperimentVariations(o[0]);
checkExperimentVariations(o[1]);
@@ -1192,7 +1192,7 @@
o.status = "foo";
o.trafficCoverage = 42.0;
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
- o.variations = buildUnnamed910();
+ o.variations = buildUnnamed936();
o.webPropertyId = "foo";
o.winnerConfidenceLevel = 42.0;
o.winnerFound = true;
@@ -1228,7 +1228,7 @@
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.trafficCoverage, unittest.equals(42.0));
unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed910(o.variations);
+ checkUnnamed936(o.variations);
unittest.expect(o.webPropertyId, unittest.equals('foo'));
unittest.expect(o.winnerConfidenceLevel, unittest.equals(42.0));
unittest.expect(o.winnerFound, unittest.isTrue);
@@ -1236,14 +1236,14 @@
buildCounterExperiment--;
}
-buildUnnamed911() {
+buildUnnamed937() {
var o = new core.List<api.Experiment>();
o.add(buildExperiment());
o.add(buildExperiment());
return o;
}
-checkUnnamed911(core.List<api.Experiment> o) {
+checkUnnamed937(core.List<api.Experiment> o) {
unittest.expect(o, unittest.hasLength(2));
checkExperiment(o[0]);
checkExperiment(o[1]);
@@ -1254,7 +1254,7 @@
var o = new api.Experiments();
buildCounterExperiments++;
if (buildCounterExperiments < 3) {
- o.items = buildUnnamed911();
+ o.items = buildUnnamed937();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1270,7 +1270,7 @@
checkExperiments(api.Experiments o) {
buildCounterExperiments++;
if (buildCounterExperiments < 3) {
- checkUnnamed911(o.items);
+ checkUnnamed937(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1518,14 +1518,14 @@
buildCounterFilterRef--;
}
-buildUnnamed912() {
+buildUnnamed938() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed912(core.List<api.Filter> o) {
+checkUnnamed938(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -1536,7 +1536,7 @@
var o = new api.Filters();
buildCounterFilters++;
if (buildCounterFilters < 3) {
- o.items = buildUnnamed912();
+ o.items = buildUnnamed938();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1552,7 +1552,7 @@
checkFilters(api.Filters o) {
buildCounterFilters++;
if (buildCounterFilters < 3) {
- checkUnnamed912(o.items);
+ checkUnnamed938(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1587,14 +1587,14 @@
buildCounterGaDataColumnHeaders--;
}
-buildUnnamed913() {
+buildUnnamed939() {
var o = new core.List<api.GaDataColumnHeaders>();
o.add(buildGaDataColumnHeaders());
o.add(buildGaDataColumnHeaders());
return o;
}
-checkUnnamed913(core.List<api.GaDataColumnHeaders> o) {
+checkUnnamed939(core.List<api.GaDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataColumnHeaders(o[0]);
checkGaDataColumnHeaders(o[1]);
@@ -1623,14 +1623,14 @@
buildCounterGaDataDataTableCols--;
}
-buildUnnamed914() {
+buildUnnamed940() {
var o = new core.List<api.GaDataDataTableCols>();
o.add(buildGaDataDataTableCols());
o.add(buildGaDataDataTableCols());
return o;
}
-checkUnnamed914(core.List<api.GaDataDataTableCols> o) {
+checkUnnamed940(core.List<api.GaDataDataTableCols> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableCols(o[0]);
checkGaDataDataTableCols(o[1]);
@@ -1655,14 +1655,14 @@
buildCounterGaDataDataTableRowsC--;
}
-buildUnnamed915() {
+buildUnnamed941() {
var o = new core.List<api.GaDataDataTableRowsC>();
o.add(buildGaDataDataTableRowsC());
o.add(buildGaDataDataTableRowsC());
return o;
}
-checkUnnamed915(core.List<api.GaDataDataTableRowsC> o) {
+checkUnnamed941(core.List<api.GaDataDataTableRowsC> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableRowsC(o[0]);
checkGaDataDataTableRowsC(o[1]);
@@ -1673,7 +1673,7 @@
var o = new api.GaDataDataTableRows();
buildCounterGaDataDataTableRows++;
if (buildCounterGaDataDataTableRows < 3) {
- o.c = buildUnnamed915();
+ o.c = buildUnnamed941();
}
buildCounterGaDataDataTableRows--;
return o;
@@ -1682,19 +1682,19 @@
checkGaDataDataTableRows(api.GaDataDataTableRows o) {
buildCounterGaDataDataTableRows++;
if (buildCounterGaDataDataTableRows < 3) {
- checkUnnamed915(o.c);
+ checkUnnamed941(o.c);
}
buildCounterGaDataDataTableRows--;
}
-buildUnnamed916() {
+buildUnnamed942() {
var o = new core.List<api.GaDataDataTableRows>();
o.add(buildGaDataDataTableRows());
o.add(buildGaDataDataTableRows());
return o;
}
-checkUnnamed916(core.List<api.GaDataDataTableRows> o) {
+checkUnnamed942(core.List<api.GaDataDataTableRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableRows(o[0]);
checkGaDataDataTableRows(o[1]);
@@ -1705,8 +1705,8 @@
var o = new api.GaDataDataTable();
buildCounterGaDataDataTable++;
if (buildCounterGaDataDataTable < 3) {
- o.cols = buildUnnamed914();
- o.rows = buildUnnamed916();
+ o.cols = buildUnnamed940();
+ o.rows = buildUnnamed942();
}
buildCounterGaDataDataTable--;
return o;
@@ -1715,8 +1715,8 @@
checkGaDataDataTable(api.GaDataDataTable o) {
buildCounterGaDataDataTable++;
if (buildCounterGaDataDataTable < 3) {
- checkUnnamed914(o.cols);
- checkUnnamed916(o.rows);
+ checkUnnamed940(o.cols);
+ checkUnnamed942(o.rows);
}
buildCounterGaDataDataTable--;
}
@@ -1750,27 +1750,27 @@
buildCounterGaDataProfileInfo--;
}
-buildUnnamed917() {
+buildUnnamed943() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed917(core.List<core.String> o) {
+checkUnnamed943(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed918() {
+buildUnnamed944() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed918(core.List<core.String> o) {
+checkUnnamed944(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1786,10 +1786,10 @@
o.filters = "foo";
o.ids = "foo";
o.max_results = 42;
- o.metrics = buildUnnamed917();
+ o.metrics = buildUnnamed943();
o.samplingLevel = "foo";
o.segment = "foo";
- o.sort = buildUnnamed918();
+ o.sort = buildUnnamed944();
o.start_date = "foo";
o.start_index = 42;
}
@@ -1805,50 +1805,50 @@
unittest.expect(o.filters, unittest.equals('foo'));
unittest.expect(o.ids, unittest.equals('foo'));
unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed917(o.metrics);
+ checkUnnamed943(o.metrics);
unittest.expect(o.samplingLevel, unittest.equals('foo'));
unittest.expect(o.segment, unittest.equals('foo'));
- checkUnnamed918(o.sort);
+ checkUnnamed944(o.sort);
unittest.expect(o.start_date, unittest.equals('foo'));
unittest.expect(o.start_index, unittest.equals(42));
}
buildCounterGaDataQuery--;
}
-buildUnnamed919() {
+buildUnnamed945() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed919(core.List<core.String> o) {
+checkUnnamed945(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed920() {
+buildUnnamed946() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed919());
- o.add(buildUnnamed919());
+ o.add(buildUnnamed945());
+ o.add(buildUnnamed945());
return o;
}
-checkUnnamed920(core.List<core.List<core.String>> o) {
+checkUnnamed946(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed919(o[0]);
- checkUnnamed919(o[1]);
+ checkUnnamed945(o[0]);
+ checkUnnamed945(o[1]);
}
-buildUnnamed921() {
+buildUnnamed947() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed921(core.Map<core.String, core.String> o) {
+checkUnnamed947(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1859,7 +1859,7 @@
var o = new api.GaData();
buildCounterGaData++;
if (buildCounterGaData < 3) {
- o.columnHeaders = buildUnnamed913();
+ o.columnHeaders = buildUnnamed939();
o.containsSampledData = true;
o.dataLastRefreshed = "foo";
o.dataTable = buildGaDataDataTable();
@@ -1870,12 +1870,12 @@
o.previousLink = "foo";
o.profileInfo = buildGaDataProfileInfo();
o.query = buildGaDataQuery();
- o.rows = buildUnnamed920();
+ o.rows = buildUnnamed946();
o.sampleSize = "foo";
o.sampleSpace = "foo";
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed921();
+ o.totalsForAllResults = buildUnnamed947();
}
buildCounterGaData--;
return o;
@@ -1884,7 +1884,7 @@
checkGaData(api.GaData o) {
buildCounterGaData++;
if (buildCounterGaData < 3) {
- checkUnnamed913(o.columnHeaders);
+ checkUnnamed939(o.columnHeaders);
unittest.expect(o.containsSampledData, unittest.isTrue);
unittest.expect(o.dataLastRefreshed, unittest.equals('foo'));
checkGaDataDataTable(o.dataTable);
@@ -1895,12 +1895,12 @@
unittest.expect(o.previousLink, unittest.equals('foo'));
checkGaDataProfileInfo(o.profileInfo);
checkGaDataQuery(o.query);
- checkUnnamed920(o.rows);
+ checkUnnamed946(o.rows);
unittest.expect(o.sampleSize, unittest.equals('foo'));
unittest.expect(o.sampleSpace, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
- checkUnnamed921(o.totalsForAllResults);
+ checkUnnamed947(o.totalsForAllResults);
}
buildCounterGaData--;
}
@@ -1932,14 +1932,14 @@
buildCounterGoalEventDetailsEventConditions--;
}
-buildUnnamed922() {
+buildUnnamed948() {
var o = new core.List<api.GoalEventDetailsEventConditions>();
o.add(buildGoalEventDetailsEventConditions());
o.add(buildGoalEventDetailsEventConditions());
return o;
}
-checkUnnamed922(core.List<api.GoalEventDetailsEventConditions> o) {
+checkUnnamed948(core.List<api.GoalEventDetailsEventConditions> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoalEventDetailsEventConditions(o[0]);
checkGoalEventDetailsEventConditions(o[1]);
@@ -1950,7 +1950,7 @@
var o = new api.GoalEventDetails();
buildCounterGoalEventDetails++;
if (buildCounterGoalEventDetails < 3) {
- o.eventConditions = buildUnnamed922();
+ o.eventConditions = buildUnnamed948();
o.useEventValue = true;
}
buildCounterGoalEventDetails--;
@@ -1960,7 +1960,7 @@
checkGoalEventDetails(api.GoalEventDetails o) {
buildCounterGoalEventDetails++;
if (buildCounterGoalEventDetails < 3) {
- checkUnnamed922(o.eventConditions);
+ checkUnnamed948(o.eventConditions);
unittest.expect(o.useEventValue, unittest.isTrue);
}
buildCounterGoalEventDetails--;
@@ -2010,14 +2010,14 @@
buildCounterGoalUrlDestinationDetailsSteps--;
}
-buildUnnamed923() {
+buildUnnamed949() {
var o = new core.List<api.GoalUrlDestinationDetailsSteps>();
o.add(buildGoalUrlDestinationDetailsSteps());
o.add(buildGoalUrlDestinationDetailsSteps());
return o;
}
-checkUnnamed923(core.List<api.GoalUrlDestinationDetailsSteps> o) {
+checkUnnamed949(core.List<api.GoalUrlDestinationDetailsSteps> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoalUrlDestinationDetailsSteps(o[0]);
checkGoalUrlDestinationDetailsSteps(o[1]);
@@ -2031,7 +2031,7 @@
o.caseSensitive = true;
o.firstStepRequired = true;
o.matchType = "foo";
- o.steps = buildUnnamed923();
+ o.steps = buildUnnamed949();
o.url = "foo";
}
buildCounterGoalUrlDestinationDetails--;
@@ -2044,7 +2044,7 @@
unittest.expect(o.caseSensitive, unittest.isTrue);
unittest.expect(o.firstStepRequired, unittest.isTrue);
unittest.expect(o.matchType, unittest.equals('foo'));
- checkUnnamed923(o.steps);
+ checkUnnamed949(o.steps);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterGoalUrlDestinationDetails--;
@@ -2145,14 +2145,14 @@
buildCounterGoal--;
}
-buildUnnamed924() {
+buildUnnamed950() {
var o = new core.List<api.Goal>();
o.add(buildGoal());
o.add(buildGoal());
return o;
}
-checkUnnamed924(core.List<api.Goal> o) {
+checkUnnamed950(core.List<api.Goal> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoal(o[0]);
checkGoal(o[1]);
@@ -2163,7 +2163,7 @@
var o = new api.Goals();
buildCounterGoals++;
if (buildCounterGoals < 3) {
- o.items = buildUnnamed924();
+ o.items = buildUnnamed950();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2179,7 +2179,7 @@
checkGoals(api.Goals o) {
buildCounterGoals++;
if (buildCounterGoals < 3) {
- checkUnnamed924(o.items);
+ checkUnnamed950(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2278,14 +2278,14 @@
buildCounterMcfDataColumnHeaders--;
}
-buildUnnamed925() {
+buildUnnamed951() {
var o = new core.List<api.McfDataColumnHeaders>();
o.add(buildMcfDataColumnHeaders());
o.add(buildMcfDataColumnHeaders());
return o;
}
-checkUnnamed925(core.List<api.McfDataColumnHeaders> o) {
+checkUnnamed951(core.List<api.McfDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataColumnHeaders(o[0]);
checkMcfDataColumnHeaders(o[1]);
@@ -2320,27 +2320,27 @@
buildCounterMcfDataProfileInfo--;
}
-buildUnnamed926() {
+buildUnnamed952() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed926(core.List<core.String> o) {
+checkUnnamed952(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed927() {
+buildUnnamed953() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed927(core.List<core.String> o) {
+checkUnnamed953(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2356,10 +2356,10 @@
o.filters = "foo";
o.ids = "foo";
o.max_results = 42;
- o.metrics = buildUnnamed926();
+ o.metrics = buildUnnamed952();
o.samplingLevel = "foo";
o.segment = "foo";
- o.sort = buildUnnamed927();
+ o.sort = buildUnnamed953();
o.start_date = "foo";
o.start_index = 42;
}
@@ -2375,10 +2375,10 @@
unittest.expect(o.filters, unittest.equals('foo'));
unittest.expect(o.ids, unittest.equals('foo'));
unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed926(o.metrics);
+ checkUnnamed952(o.metrics);
unittest.expect(o.samplingLevel, unittest.equals('foo'));
unittest.expect(o.segment, unittest.equals('foo'));
- checkUnnamed927(o.sort);
+ checkUnnamed953(o.sort);
unittest.expect(o.start_date, unittest.equals('foo'));
unittest.expect(o.start_index, unittest.equals(42));
}
@@ -2406,14 +2406,14 @@
buildCounterMcfDataRowsConversionPathValue--;
}
-buildUnnamed928() {
+buildUnnamed954() {
var o = new core.List<api.McfDataRowsConversionPathValue>();
o.add(buildMcfDataRowsConversionPathValue());
o.add(buildMcfDataRowsConversionPathValue());
return o;
}
-checkUnnamed928(core.List<api.McfDataRowsConversionPathValue> o) {
+checkUnnamed954(core.List<api.McfDataRowsConversionPathValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataRowsConversionPathValue(o[0]);
checkMcfDataRowsConversionPathValue(o[1]);
@@ -2424,7 +2424,7 @@
var o = new api.McfDataRows();
buildCounterMcfDataRows++;
if (buildCounterMcfDataRows < 3) {
- o.conversionPathValue = buildUnnamed928();
+ o.conversionPathValue = buildUnnamed954();
o.primitiveValue = "foo";
}
buildCounterMcfDataRows--;
@@ -2434,46 +2434,46 @@
checkMcfDataRows(api.McfDataRows o) {
buildCounterMcfDataRows++;
if (buildCounterMcfDataRows < 3) {
- checkUnnamed928(o.conversionPathValue);
+ checkUnnamed954(o.conversionPathValue);
unittest.expect(o.primitiveValue, unittest.equals('foo'));
}
buildCounterMcfDataRows--;
}
-buildUnnamed929() {
+buildUnnamed955() {
var o = new core.List<api.McfDataRows>();
o.add(buildMcfDataRows());
o.add(buildMcfDataRows());
return o;
}
-checkUnnamed929(core.List<api.McfDataRows> o) {
+checkUnnamed955(core.List<api.McfDataRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataRows(o[0]);
checkMcfDataRows(o[1]);
}
-buildUnnamed930() {
+buildUnnamed956() {
var o = new core.List<core.List<api.McfDataRows>>();
- o.add(buildUnnamed929());
- o.add(buildUnnamed929());
+ o.add(buildUnnamed955());
+ o.add(buildUnnamed955());
return o;
}
-checkUnnamed930(core.List<core.List<api.McfDataRows>> o) {
+checkUnnamed956(core.List<core.List<api.McfDataRows>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed929(o[0]);
- checkUnnamed929(o[1]);
+ checkUnnamed955(o[0]);
+ checkUnnamed955(o[1]);
}
-buildUnnamed931() {
+buildUnnamed957() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed931(core.Map<core.String, core.String> o) {
+checkUnnamed957(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2484,7 +2484,7 @@
var o = new api.McfData();
buildCounterMcfData++;
if (buildCounterMcfData < 3) {
- o.columnHeaders = buildUnnamed925();
+ o.columnHeaders = buildUnnamed951();
o.containsSampledData = true;
o.id = "foo";
o.itemsPerPage = 42;
@@ -2493,12 +2493,12 @@
o.previousLink = "foo";
o.profileInfo = buildMcfDataProfileInfo();
o.query = buildMcfDataQuery();
- o.rows = buildUnnamed930();
+ o.rows = buildUnnamed956();
o.sampleSize = "foo";
o.sampleSpace = "foo";
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed931();
+ o.totalsForAllResults = buildUnnamed957();
}
buildCounterMcfData--;
return o;
@@ -2507,7 +2507,7 @@
checkMcfData(api.McfData o) {
buildCounterMcfData++;
if (buildCounterMcfData < 3) {
- checkUnnamed925(o.columnHeaders);
+ checkUnnamed951(o.columnHeaders);
unittest.expect(o.containsSampledData, unittest.isTrue);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.itemsPerPage, unittest.equals(42));
@@ -2516,12 +2516,12 @@
unittest.expect(o.previousLink, unittest.equals('foo'));
checkMcfDataProfileInfo(o.profileInfo);
checkMcfDataQuery(o.query);
- checkUnnamed930(o.rows);
+ checkUnnamed956(o.rows);
unittest.expect(o.sampleSize, unittest.equals('foo'));
unittest.expect(o.sampleSpace, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
- checkUnnamed931(o.totalsForAllResults);
+ checkUnnamed957(o.totalsForAllResults);
}
buildCounterMcfData--;
}
@@ -2568,14 +2568,14 @@
buildCounterProfileParentLink--;
}
-buildUnnamed932() {
+buildUnnamed958() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed932(core.List<core.String> o) {
+checkUnnamed958(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2586,7 +2586,7 @@
var o = new api.ProfilePermissions();
buildCounterProfilePermissions++;
if (buildCounterProfilePermissions < 3) {
- o.effective = buildUnnamed932();
+ o.effective = buildUnnamed958();
}
buildCounterProfilePermissions--;
return o;
@@ -2595,7 +2595,7 @@
checkProfilePermissions(api.ProfilePermissions o) {
buildCounterProfilePermissions++;
if (buildCounterProfilePermissions < 3) {
- checkUnnamed932(o.effective);
+ checkUnnamed958(o.effective);
}
buildCounterProfilePermissions--;
}
@@ -2698,14 +2698,14 @@
buildCounterProfileFilterLink--;
}
-buildUnnamed933() {
+buildUnnamed959() {
var o = new core.List<api.ProfileFilterLink>();
o.add(buildProfileFilterLink());
o.add(buildProfileFilterLink());
return o;
}
-checkUnnamed933(core.List<api.ProfileFilterLink> o) {
+checkUnnamed959(core.List<api.ProfileFilterLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfileFilterLink(o[0]);
checkProfileFilterLink(o[1]);
@@ -2716,7 +2716,7 @@
var o = new api.ProfileFilterLinks();
buildCounterProfileFilterLinks++;
if (buildCounterProfileFilterLinks < 3) {
- o.items = buildUnnamed933();
+ o.items = buildUnnamed959();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2732,7 +2732,7 @@
checkProfileFilterLinks(api.ProfileFilterLinks o) {
buildCounterProfileFilterLinks++;
if (buildCounterProfileFilterLinks < 3) {
- checkUnnamed933(o.items);
+ checkUnnamed959(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2802,14 +2802,14 @@
buildCounterProfileSummary--;
}
-buildUnnamed934() {
+buildUnnamed960() {
var o = new core.List<api.Profile>();
o.add(buildProfile());
o.add(buildProfile());
return o;
}
-checkUnnamed934(core.List<api.Profile> o) {
+checkUnnamed960(core.List<api.Profile> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfile(o[0]);
checkProfile(o[1]);
@@ -2820,7 +2820,7 @@
var o = new api.Profiles();
buildCounterProfiles++;
if (buildCounterProfiles < 3) {
- o.items = buildUnnamed934();
+ o.items = buildUnnamed960();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2836,7 +2836,7 @@
checkProfiles(api.Profiles o) {
buildCounterProfiles++;
if (buildCounterProfiles < 3) {
- checkUnnamed934(o.items);
+ checkUnnamed960(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2871,14 +2871,14 @@
buildCounterRealtimeDataColumnHeaders--;
}
-buildUnnamed935() {
+buildUnnamed961() {
var o = new core.List<api.RealtimeDataColumnHeaders>();
o.add(buildRealtimeDataColumnHeaders());
o.add(buildRealtimeDataColumnHeaders());
return o;
}
-checkUnnamed935(core.List<api.RealtimeDataColumnHeaders> o) {
+checkUnnamed961(core.List<api.RealtimeDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkRealtimeDataColumnHeaders(o[0]);
checkRealtimeDataColumnHeaders(o[1]);
@@ -2913,27 +2913,27 @@
buildCounterRealtimeDataProfileInfo--;
}
-buildUnnamed936() {
+buildUnnamed962() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed936(core.List<core.String> o) {
+checkUnnamed962(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed937() {
+buildUnnamed963() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed937(core.List<core.String> o) {
+checkUnnamed963(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2948,8 +2948,8 @@
o.filters = "foo";
o.ids = "foo";
o.max_results = 42;
- o.metrics = buildUnnamed936();
- o.sort = buildUnnamed937();
+ o.metrics = buildUnnamed962();
+ o.sort = buildUnnamed963();
}
buildCounterRealtimeDataQuery--;
return o;
@@ -2962,46 +2962,46 @@
unittest.expect(o.filters, unittest.equals('foo'));
unittest.expect(o.ids, unittest.equals('foo'));
unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed936(o.metrics);
- checkUnnamed937(o.sort);
+ checkUnnamed962(o.metrics);
+ checkUnnamed963(o.sort);
}
buildCounterRealtimeDataQuery--;
}
-buildUnnamed938() {
+buildUnnamed964() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed938(core.List<core.String> o) {
+checkUnnamed964(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed939() {
+buildUnnamed965() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed938());
- o.add(buildUnnamed938());
+ o.add(buildUnnamed964());
+ o.add(buildUnnamed964());
return o;
}
-checkUnnamed939(core.List<core.List<core.String>> o) {
+checkUnnamed965(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed938(o[0]);
- checkUnnamed938(o[1]);
+ checkUnnamed964(o[0]);
+ checkUnnamed964(o[1]);
}
-buildUnnamed940() {
+buildUnnamed966() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed940(core.Map<core.String, core.String> o) {
+checkUnnamed966(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -3012,15 +3012,15 @@
var o = new api.RealtimeData();
buildCounterRealtimeData++;
if (buildCounterRealtimeData < 3) {
- o.columnHeaders = buildUnnamed935();
+ o.columnHeaders = buildUnnamed961();
o.id = "foo";
o.kind = "foo";
o.profileInfo = buildRealtimeDataProfileInfo();
o.query = buildRealtimeDataQuery();
- o.rows = buildUnnamed939();
+ o.rows = buildUnnamed965();
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed940();
+ o.totalsForAllResults = buildUnnamed966();
}
buildCounterRealtimeData--;
return o;
@@ -3029,15 +3029,15 @@
checkRealtimeData(api.RealtimeData o) {
buildCounterRealtimeData++;
if (buildCounterRealtimeData < 3) {
- checkUnnamed935(o.columnHeaders);
+ checkUnnamed961(o.columnHeaders);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkRealtimeDataProfileInfo(o.profileInfo);
checkRealtimeDataQuery(o.query);
- checkUnnamed939(o.rows);
+ checkUnnamed965(o.rows);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
- checkUnnamed940(o.totalsForAllResults);
+ checkUnnamed966(o.totalsForAllResults);
}
buildCounterRealtimeData--;
}
@@ -3061,27 +3061,27 @@
buildCounterRemarketingAudienceAudienceDefinition--;
}
-buildUnnamed941() {
+buildUnnamed967() {
var o = new core.List<api.LinkedForeignAccount>();
o.add(buildLinkedForeignAccount());
o.add(buildLinkedForeignAccount());
return o;
}
-checkUnnamed941(core.List<api.LinkedForeignAccount> o) {
+checkUnnamed967(core.List<api.LinkedForeignAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkLinkedForeignAccount(o[0]);
checkLinkedForeignAccount(o[1]);
}
-buildUnnamed942() {
+buildUnnamed968() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed942(core.List<core.String> o) {
+checkUnnamed968(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3142,8 +3142,8 @@
o.id = "foo";
o.internalWebPropertyId = "foo";
o.kind = "foo";
- o.linkedAdAccounts = buildUnnamed941();
- o.linkedViews = buildUnnamed942();
+ o.linkedAdAccounts = buildUnnamed967();
+ o.linkedViews = buildUnnamed968();
o.name = "foo";
o.stateBasedAudienceDefinition = buildRemarketingAudienceStateBasedAudienceDefinition();
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
@@ -3164,8 +3164,8 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.internalWebPropertyId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed941(o.linkedAdAccounts);
- checkUnnamed942(o.linkedViews);
+ checkUnnamed967(o.linkedAdAccounts);
+ checkUnnamed968(o.linkedViews);
unittest.expect(o.name, unittest.equals('foo'));
checkRemarketingAudienceStateBasedAudienceDefinition(o.stateBasedAudienceDefinition);
unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -3174,14 +3174,14 @@
buildCounterRemarketingAudience--;
}
-buildUnnamed943() {
+buildUnnamed969() {
var o = new core.List<api.RemarketingAudience>();
o.add(buildRemarketingAudience());
o.add(buildRemarketingAudience());
return o;
}
-checkUnnamed943(core.List<api.RemarketingAudience> o) {
+checkUnnamed969(core.List<api.RemarketingAudience> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemarketingAudience(o[0]);
checkRemarketingAudience(o[1]);
@@ -3192,7 +3192,7 @@
var o = new api.RemarketingAudiences();
buildCounterRemarketingAudiences++;
if (buildCounterRemarketingAudiences < 3) {
- o.items = buildUnnamed943();
+ o.items = buildUnnamed969();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3208,7 +3208,7 @@
checkRemarketingAudiences(api.RemarketingAudiences o) {
buildCounterRemarketingAudiences++;
if (buildCounterRemarketingAudiences < 3) {
- checkUnnamed943(o.items);
+ checkUnnamed969(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3255,14 +3255,14 @@
buildCounterSegment--;
}
-buildUnnamed944() {
+buildUnnamed970() {
var o = new core.List<api.Segment>();
o.add(buildSegment());
o.add(buildSegment());
return o;
}
-checkUnnamed944(core.List<api.Segment> o) {
+checkUnnamed970(core.List<api.Segment> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegment(o[0]);
checkSegment(o[1]);
@@ -3273,7 +3273,7 @@
var o = new api.Segments();
buildCounterSegments++;
if (buildCounterSegments < 3) {
- o.items = buildUnnamed944();
+ o.items = buildUnnamed970();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3289,7 +3289,7 @@
checkSegments(api.Segments o) {
buildCounterSegments++;
if (buildCounterSegments < 3) {
- checkUnnamed944(o.items);
+ checkUnnamed970(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3396,14 +3396,14 @@
buildCounterUnsampledReport--;
}
-buildUnnamed945() {
+buildUnnamed971() {
var o = new core.List<api.UnsampledReport>();
o.add(buildUnsampledReport());
o.add(buildUnsampledReport());
return o;
}
-checkUnnamed945(core.List<api.UnsampledReport> o) {
+checkUnnamed971(core.List<api.UnsampledReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkUnsampledReport(o[0]);
checkUnsampledReport(o[1]);
@@ -3414,7 +3414,7 @@
var o = new api.UnsampledReports();
buildCounterUnsampledReports++;
if (buildCounterUnsampledReports < 3) {
- o.items = buildUnnamed945();
+ o.items = buildUnnamed971();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3430,7 +3430,7 @@
checkUnsampledReports(api.UnsampledReports o) {
buildCounterUnsampledReports++;
if (buildCounterUnsampledReports < 3) {
- checkUnnamed945(o.items);
+ checkUnnamed971(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3442,14 +3442,14 @@
buildCounterUnsampledReports--;
}
-buildUnnamed946() {
+buildUnnamed972() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed946(core.List<core.String> o) {
+checkUnnamed972(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3462,7 +3462,7 @@
if (buildCounterUpload < 3) {
o.accountId = "foo";
o.customDataSourceId = "foo";
- o.errors = buildUnnamed946();
+ o.errors = buildUnnamed972();
o.id = "foo";
o.kind = "foo";
o.status = "foo";
@@ -3476,7 +3476,7 @@
if (buildCounterUpload < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.customDataSourceId, unittest.equals('foo'));
- checkUnnamed946(o.errors);
+ checkUnnamed972(o.errors);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
@@ -3484,14 +3484,14 @@
buildCounterUpload--;
}
-buildUnnamed947() {
+buildUnnamed973() {
var o = new core.List<api.Upload>();
o.add(buildUpload());
o.add(buildUpload());
return o;
}
-checkUnnamed947(core.List<api.Upload> o) {
+checkUnnamed973(core.List<api.Upload> o) {
unittest.expect(o, unittest.hasLength(2));
checkUpload(o[0]);
checkUpload(o[1]);
@@ -3502,7 +3502,7 @@
var o = new api.Uploads();
buildCounterUploads++;
if (buildCounterUploads < 3) {
- o.items = buildUnnamed947();
+ o.items = buildUnnamed973();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3517,7 +3517,7 @@
checkUploads(api.Uploads o) {
buildCounterUploads++;
if (buildCounterUploads < 3) {
- checkUnnamed947(o.items);
+ checkUnnamed973(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3580,14 +3580,14 @@
buildCounterWebPropertyRef--;
}
-buildUnnamed948() {
+buildUnnamed974() {
var o = new core.List<api.ProfileSummary>();
o.add(buildProfileSummary());
o.add(buildProfileSummary());
return o;
}
-checkUnnamed948(core.List<api.ProfileSummary> o) {
+checkUnnamed974(core.List<api.ProfileSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfileSummary(o[0]);
checkProfileSummary(o[1]);
@@ -3603,7 +3603,7 @@
o.kind = "foo";
o.level = "foo";
o.name = "foo";
- o.profiles = buildUnnamed948();
+ o.profiles = buildUnnamed974();
o.starred = true;
o.websiteUrl = "foo";
}
@@ -3619,21 +3619,21 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed948(o.profiles);
+ checkUnnamed974(o.profiles);
unittest.expect(o.starred, unittest.isTrue);
unittest.expect(o.websiteUrl, unittest.equals('foo'));
}
buildCounterWebPropertySummary--;
}
-buildUnnamed949() {
+buildUnnamed975() {
var o = new core.List<api.Webproperty>();
o.add(buildWebproperty());
o.add(buildWebproperty());
return o;
}
-checkUnnamed949(core.List<api.Webproperty> o) {
+checkUnnamed975(core.List<api.Webproperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebproperty(o[0]);
checkWebproperty(o[1]);
@@ -3644,7 +3644,7 @@
var o = new api.Webproperties();
buildCounterWebproperties++;
if (buildCounterWebproperties < 3) {
- o.items = buildUnnamed949();
+ o.items = buildUnnamed975();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3660,7 +3660,7 @@
checkWebproperties(api.Webproperties o) {
buildCounterWebproperties++;
if (buildCounterWebproperties < 3) {
- checkUnnamed949(o.items);
+ checkUnnamed975(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3714,14 +3714,14 @@
buildCounterWebpropertyParentLink--;
}
-buildUnnamed950() {
+buildUnnamed976() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed950(core.List<core.String> o) {
+checkUnnamed976(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3732,7 +3732,7 @@
var o = new api.WebpropertyPermissions();
buildCounterWebpropertyPermissions++;
if (buildCounterWebpropertyPermissions < 3) {
- o.effective = buildUnnamed950();
+ o.effective = buildUnnamed976();
}
buildCounterWebpropertyPermissions--;
return o;
@@ -3741,7 +3741,7 @@
checkWebpropertyPermissions(api.WebpropertyPermissions o) {
buildCounterWebpropertyPermissions++;
if (buildCounterWebpropertyPermissions < 3) {
- checkUnnamed950(o.effective);
+ checkUnnamed976(o.effective);
}
buildCounterWebpropertyPermissions--;
}
@@ -8330,6 +8330,69 @@
unittest.group("resource-ManagementRemarketingAudienceResourceApi", () {
+ unittest.test("method--delete", () {
+
+ var mock = new HttpServerMock();
+ api.ManagementRemarketingAudienceResourceApi res = new api.AnalyticsApi(mock).management.remarketingAudience;
+ var arg_accountId = "foo";
+ var arg_webPropertyId = "foo";
+ var arg_remarketingAudienceId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("analytics/v3/"));
+ pathOffset += 13;
+ unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.equals("management/accounts/"));
+ pathOffset += 20;
+ index = path.indexOf("/webproperties/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_accountId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.equals("/webproperties/"));
+ pathOffset += 15;
+ index = path.indexOf("/remarketingAudiences/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_webPropertyId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.equals("/remarketingAudiences/"));
+ pathOffset += 22;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_remarketingAudienceId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = "";
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.delete(arg_accountId, arg_webPropertyId, arg_remarketingAudienceId).then(unittest.expectAsync((_) {}));
+ });
+
unittest.test("method--get", () {
var mock = new HttpServerMock();
diff --git a/generated/googleapis/test/analyticsreporting/v4_test.dart b/generated/googleapis/test/analyticsreporting/v4_test.dart
index acf5068..b32829c 100644
--- a/generated/googleapis/test/analyticsreporting/v4_test.dart
+++ b/generated/googleapis/test/analyticsreporting/v4_test.dart
@@ -74,14 +74,14 @@
buildCounterCohort--;
}
-buildUnnamed138() {
+buildUnnamed159() {
var o = new core.List<api.Cohort>();
o.add(buildCohort());
o.add(buildCohort());
return o;
}
-checkUnnamed138(core.List<api.Cohort> o) {
+checkUnnamed159(core.List<api.Cohort> o) {
unittest.expect(o, unittest.hasLength(2));
checkCohort(o[0]);
checkCohort(o[1]);
@@ -92,7 +92,7 @@
var o = new api.CohortGroup();
buildCounterCohortGroup++;
if (buildCounterCohortGroup < 3) {
- o.cohorts = buildUnnamed138();
+ o.cohorts = buildUnnamed159();
o.lifetimeValue = true;
}
buildCounterCohortGroup--;
@@ -102,20 +102,20 @@
checkCohortGroup(api.CohortGroup o) {
buildCounterCohortGroup++;
if (buildCounterCohortGroup < 3) {
- checkUnnamed138(o.cohorts);
+ checkUnnamed159(o.cohorts);
unittest.expect(o.lifetimeValue, unittest.isTrue);
}
buildCounterCohortGroup--;
}
-buildUnnamed139() {
+buildUnnamed160() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed139(core.List<core.String> o) {
+checkUnnamed160(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -126,7 +126,7 @@
var o = new api.ColumnHeader();
buildCounterColumnHeader++;
if (buildCounterColumnHeader < 3) {
- o.dimensions = buildUnnamed139();
+ o.dimensions = buildUnnamed160();
o.metricHeader = buildMetricHeader();
}
buildCounterColumnHeader--;
@@ -136,7 +136,7 @@
checkColumnHeader(api.ColumnHeader o) {
buildCounterColumnHeader++;
if (buildCounterColumnHeader < 3) {
- checkUnnamed139(o.dimensions);
+ checkUnnamed160(o.dimensions);
checkMetricHeader(o.metricHeader);
}
buildCounterColumnHeader--;
@@ -163,27 +163,27 @@
buildCounterDateRange--;
}
-buildUnnamed140() {
+buildUnnamed161() {
var o = new core.List<api.PivotValueRegion>();
o.add(buildPivotValueRegion());
o.add(buildPivotValueRegion());
return o;
}
-checkUnnamed140(core.List<api.PivotValueRegion> o) {
+checkUnnamed161(core.List<api.PivotValueRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotValueRegion(o[0]);
checkPivotValueRegion(o[1]);
}
-buildUnnamed141() {
+buildUnnamed162() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed141(core.List<core.String> o) {
+checkUnnamed162(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -194,8 +194,8 @@
var o = new api.DateRangeValues();
buildCounterDateRangeValues++;
if (buildCounterDateRangeValues < 3) {
- o.pivotValueRegions = buildUnnamed140();
- o.values = buildUnnamed141();
+ o.pivotValueRegions = buildUnnamed161();
+ o.values = buildUnnamed162();
}
buildCounterDateRangeValues--;
return o;
@@ -204,20 +204,20 @@
checkDateRangeValues(api.DateRangeValues o) {
buildCounterDateRangeValues++;
if (buildCounterDateRangeValues < 3) {
- checkUnnamed140(o.pivotValueRegions);
- checkUnnamed141(o.values);
+ checkUnnamed161(o.pivotValueRegions);
+ checkUnnamed162(o.values);
}
buildCounterDateRangeValues--;
}
-buildUnnamed142() {
+buildUnnamed163() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed142(core.List<core.String> o) {
+checkUnnamed163(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -228,7 +228,7 @@
var o = new api.Dimension();
buildCounterDimension++;
if (buildCounterDimension < 3) {
- o.histogramBuckets = buildUnnamed142();
+ o.histogramBuckets = buildUnnamed163();
o.name = "foo";
}
buildCounterDimension--;
@@ -238,20 +238,20 @@
checkDimension(api.Dimension o) {
buildCounterDimension++;
if (buildCounterDimension < 3) {
- checkUnnamed142(o.histogramBuckets);
+ checkUnnamed163(o.histogramBuckets);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterDimension--;
}
-buildUnnamed143() {
+buildUnnamed164() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed143(core.List<core.String> o) {
+checkUnnamed164(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -264,7 +264,7 @@
if (buildCounterDimensionFilter < 3) {
o.caseSensitive = true;
o.dimensionName = "foo";
- o.expressions = buildUnnamed143();
+ o.expressions = buildUnnamed164();
o.not = true;
o.operator = "foo";
}
@@ -277,21 +277,21 @@
if (buildCounterDimensionFilter < 3) {
unittest.expect(o.caseSensitive, unittest.isTrue);
unittest.expect(o.dimensionName, unittest.equals('foo'));
- checkUnnamed143(o.expressions);
+ checkUnnamed164(o.expressions);
unittest.expect(o.not, unittest.isTrue);
unittest.expect(o.operator, unittest.equals('foo'));
}
buildCounterDimensionFilter--;
}
-buildUnnamed144() {
+buildUnnamed165() {
var o = new core.List<api.DimensionFilter>();
o.add(buildDimensionFilter());
o.add(buildDimensionFilter());
return o;
}
-checkUnnamed144(core.List<api.DimensionFilter> o) {
+checkUnnamed165(core.List<api.DimensionFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilter(o[0]);
checkDimensionFilter(o[1]);
@@ -302,7 +302,7 @@
var o = new api.DimensionFilterClause();
buildCounterDimensionFilterClause++;
if (buildCounterDimensionFilterClause < 3) {
- o.filters = buildUnnamed144();
+ o.filters = buildUnnamed165();
o.operator = "foo";
}
buildCounterDimensionFilterClause--;
@@ -312,7 +312,7 @@
checkDimensionFilterClause(api.DimensionFilterClause o) {
buildCounterDimensionFilterClause++;
if (buildCounterDimensionFilterClause < 3) {
- checkUnnamed144(o.filters);
+ checkUnnamed165(o.filters);
unittest.expect(o.operator, unittest.equals('foo'));
}
buildCounterDimensionFilterClause--;
@@ -341,14 +341,14 @@
buildCounterDynamicSegment--;
}
-buildUnnamed145() {
+buildUnnamed166() {
var o = new core.List<api.ReportRequest>();
o.add(buildReportRequest());
o.add(buildReportRequest());
return o;
}
-checkUnnamed145(core.List<api.ReportRequest> o) {
+checkUnnamed166(core.List<api.ReportRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRequest(o[0]);
checkReportRequest(o[1]);
@@ -359,7 +359,7 @@
var o = new api.GetReportsRequest();
buildCounterGetReportsRequest++;
if (buildCounterGetReportsRequest < 3) {
- o.reportRequests = buildUnnamed145();
+ o.reportRequests = buildUnnamed166();
}
buildCounterGetReportsRequest--;
return o;
@@ -368,19 +368,19 @@
checkGetReportsRequest(api.GetReportsRequest o) {
buildCounterGetReportsRequest++;
if (buildCounterGetReportsRequest < 3) {
- checkUnnamed145(o.reportRequests);
+ checkUnnamed166(o.reportRequests);
}
buildCounterGetReportsRequest--;
}
-buildUnnamed146() {
+buildUnnamed167() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed146(core.List<api.Report> o) {
+checkUnnamed167(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -391,7 +391,7 @@
var o = new api.GetReportsResponse();
buildCounterGetReportsResponse++;
if (buildCounterGetReportsResponse < 3) {
- o.reports = buildUnnamed146();
+ o.reports = buildUnnamed167();
}
buildCounterGetReportsResponse--;
return o;
@@ -400,7 +400,7 @@
checkGetReportsResponse(api.GetReportsResponse o) {
buildCounterGetReportsResponse++;
if (buildCounterGetReportsResponse < 3) {
- checkUnnamed146(o.reports);
+ checkUnnamed167(o.reports);
}
buildCounterGetReportsResponse--;
}
@@ -453,14 +453,14 @@
buildCounterMetricFilter--;
}
-buildUnnamed147() {
+buildUnnamed168() {
var o = new core.List<api.MetricFilter>();
o.add(buildMetricFilter());
o.add(buildMetricFilter());
return o;
}
-checkUnnamed147(core.List<api.MetricFilter> o) {
+checkUnnamed168(core.List<api.MetricFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricFilter(o[0]);
checkMetricFilter(o[1]);
@@ -471,7 +471,7 @@
var o = new api.MetricFilterClause();
buildCounterMetricFilterClause++;
if (buildCounterMetricFilterClause < 3) {
- o.filters = buildUnnamed147();
+ o.filters = buildUnnamed168();
o.operator = "foo";
}
buildCounterMetricFilterClause--;
@@ -481,33 +481,33 @@
checkMetricFilterClause(api.MetricFilterClause o) {
buildCounterMetricFilterClause++;
if (buildCounterMetricFilterClause < 3) {
- checkUnnamed147(o.filters);
+ checkUnnamed168(o.filters);
unittest.expect(o.operator, unittest.equals('foo'));
}
buildCounterMetricFilterClause--;
}
-buildUnnamed148() {
+buildUnnamed169() {
var o = new core.List<api.MetricHeaderEntry>();
o.add(buildMetricHeaderEntry());
o.add(buildMetricHeaderEntry());
return o;
}
-checkUnnamed148(core.List<api.MetricHeaderEntry> o) {
+checkUnnamed169(core.List<api.MetricHeaderEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricHeaderEntry(o[0]);
checkMetricHeaderEntry(o[1]);
}
-buildUnnamed149() {
+buildUnnamed170() {
var o = new core.List<api.PivotHeader>();
o.add(buildPivotHeader());
o.add(buildPivotHeader());
return o;
}
-checkUnnamed149(core.List<api.PivotHeader> o) {
+checkUnnamed170(core.List<api.PivotHeader> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotHeader(o[0]);
checkPivotHeader(o[1]);
@@ -518,8 +518,8 @@
var o = new api.MetricHeader();
buildCounterMetricHeader++;
if (buildCounterMetricHeader < 3) {
- o.metricHeaderEntries = buildUnnamed148();
- o.pivotHeaders = buildUnnamed149();
+ o.metricHeaderEntries = buildUnnamed169();
+ o.pivotHeaders = buildUnnamed170();
}
buildCounterMetricHeader--;
return o;
@@ -528,8 +528,8 @@
checkMetricHeader(api.MetricHeader o) {
buildCounterMetricHeader++;
if (buildCounterMetricHeader < 3) {
- checkUnnamed148(o.metricHeaderEntries);
- checkUnnamed149(o.pivotHeaders);
+ checkUnnamed169(o.metricHeaderEntries);
+ checkUnnamed170(o.pivotHeaders);
}
buildCounterMetricHeader--;
}
@@ -555,14 +555,14 @@
buildCounterMetricHeaderEntry--;
}
-buildUnnamed150() {
+buildUnnamed171() {
var o = new core.List<api.SegmentFilterClause>();
o.add(buildSegmentFilterClause());
o.add(buildSegmentFilterClause());
return o;
}
-checkUnnamed150(core.List<api.SegmentFilterClause> o) {
+checkUnnamed171(core.List<api.SegmentFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegmentFilterClause(o[0]);
checkSegmentFilterClause(o[1]);
@@ -573,7 +573,7 @@
var o = new api.OrFiltersForSegment();
buildCounterOrFiltersForSegment++;
if (buildCounterOrFiltersForSegment < 3) {
- o.segmentFilterClauses = buildUnnamed150();
+ o.segmentFilterClauses = buildUnnamed171();
}
buildCounterOrFiltersForSegment--;
return o;
@@ -582,7 +582,7 @@
checkOrFiltersForSegment(api.OrFiltersForSegment o) {
buildCounterOrFiltersForSegment++;
if (buildCounterOrFiltersForSegment < 3) {
- checkUnnamed150(o.segmentFilterClauses);
+ checkUnnamed171(o.segmentFilterClauses);
}
buildCounterOrFiltersForSegment--;
}
@@ -610,40 +610,40 @@
buildCounterOrderBy--;
}
-buildUnnamed151() {
+buildUnnamed172() {
var o = new core.List<api.DimensionFilterClause>();
o.add(buildDimensionFilterClause());
o.add(buildDimensionFilterClause());
return o;
}
-checkUnnamed151(core.List<api.DimensionFilterClause> o) {
+checkUnnamed172(core.List<api.DimensionFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilterClause(o[0]);
checkDimensionFilterClause(o[1]);
}
-buildUnnamed152() {
+buildUnnamed173() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed152(core.List<api.Dimension> o) {
+checkUnnamed173(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed153() {
+buildUnnamed174() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed153(core.List<api.Metric> o) {
+checkUnnamed174(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -654,10 +654,10 @@
var o = new api.Pivot();
buildCounterPivot++;
if (buildCounterPivot < 3) {
- o.dimensionFilterClauses = buildUnnamed151();
- o.dimensions = buildUnnamed152();
+ o.dimensionFilterClauses = buildUnnamed172();
+ o.dimensions = buildUnnamed173();
o.maxGroupCount = 42;
- o.metrics = buildUnnamed153();
+ o.metrics = buildUnnamed174();
o.startGroup = 42;
}
buildCounterPivot--;
@@ -667,23 +667,23 @@
checkPivot(api.Pivot o) {
buildCounterPivot++;
if (buildCounterPivot < 3) {
- checkUnnamed151(o.dimensionFilterClauses);
- checkUnnamed152(o.dimensions);
+ checkUnnamed172(o.dimensionFilterClauses);
+ checkUnnamed173(o.dimensions);
unittest.expect(o.maxGroupCount, unittest.equals(42));
- checkUnnamed153(o.metrics);
+ checkUnnamed174(o.metrics);
unittest.expect(o.startGroup, unittest.equals(42));
}
buildCounterPivot--;
}
-buildUnnamed154() {
+buildUnnamed175() {
var o = new core.List<api.PivotHeaderEntry>();
o.add(buildPivotHeaderEntry());
o.add(buildPivotHeaderEntry());
return o;
}
-checkUnnamed154(core.List<api.PivotHeaderEntry> o) {
+checkUnnamed175(core.List<api.PivotHeaderEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotHeaderEntry(o[0]);
checkPivotHeaderEntry(o[1]);
@@ -694,7 +694,7 @@
var o = new api.PivotHeader();
buildCounterPivotHeader++;
if (buildCounterPivotHeader < 3) {
- o.pivotHeaderEntries = buildUnnamed154();
+ o.pivotHeaderEntries = buildUnnamed175();
o.totalPivotGroupsCount = 42;
}
buildCounterPivotHeader--;
@@ -704,33 +704,33 @@
checkPivotHeader(api.PivotHeader o) {
buildCounterPivotHeader++;
if (buildCounterPivotHeader < 3) {
- checkUnnamed154(o.pivotHeaderEntries);
+ checkUnnamed175(o.pivotHeaderEntries);
unittest.expect(o.totalPivotGroupsCount, unittest.equals(42));
}
buildCounterPivotHeader--;
}
-buildUnnamed155() {
+buildUnnamed176() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed155(core.List<core.String> o) {
+checkUnnamed176(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed156() {
+buildUnnamed177() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed156(core.List<core.String> o) {
+checkUnnamed177(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -741,8 +741,8 @@
var o = new api.PivotHeaderEntry();
buildCounterPivotHeaderEntry++;
if (buildCounterPivotHeaderEntry < 3) {
- o.dimensionNames = buildUnnamed155();
- o.dimensionValues = buildUnnamed156();
+ o.dimensionNames = buildUnnamed176();
+ o.dimensionValues = buildUnnamed177();
o.metric = buildMetricHeaderEntry();
}
buildCounterPivotHeaderEntry--;
@@ -752,21 +752,21 @@
checkPivotHeaderEntry(api.PivotHeaderEntry o) {
buildCounterPivotHeaderEntry++;
if (buildCounterPivotHeaderEntry < 3) {
- checkUnnamed155(o.dimensionNames);
- checkUnnamed156(o.dimensionValues);
+ checkUnnamed176(o.dimensionNames);
+ checkUnnamed177(o.dimensionValues);
checkMetricHeaderEntry(o.metric);
}
buildCounterPivotHeaderEntry--;
}
-buildUnnamed157() {
+buildUnnamed178() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed157(core.List<core.String> o) {
+checkUnnamed178(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -777,7 +777,7 @@
var o = new api.PivotValueRegion();
buildCounterPivotValueRegion++;
if (buildCounterPivotValueRegion < 3) {
- o.values = buildUnnamed157();
+ o.values = buildUnnamed178();
}
buildCounterPivotValueRegion--;
return o;
@@ -786,7 +786,7 @@
checkPivotValueRegion(api.PivotValueRegion o) {
buildCounterPivotValueRegion++;
if (buildCounterPivotValueRegion < 3) {
- checkUnnamed157(o.values);
+ checkUnnamed178(o.values);
}
buildCounterPivotValueRegion--;
}
@@ -814,79 +814,79 @@
buildCounterReport--;
}
-buildUnnamed158() {
+buildUnnamed179() {
var o = new core.List<api.DateRangeValues>();
o.add(buildDateRangeValues());
o.add(buildDateRangeValues());
return o;
}
-checkUnnamed158(core.List<api.DateRangeValues> o) {
+checkUnnamed179(core.List<api.DateRangeValues> o) {
unittest.expect(o, unittest.hasLength(2));
checkDateRangeValues(o[0]);
checkDateRangeValues(o[1]);
}
-buildUnnamed159() {
+buildUnnamed180() {
var o = new core.List<api.DateRangeValues>();
o.add(buildDateRangeValues());
o.add(buildDateRangeValues());
return o;
}
-checkUnnamed159(core.List<api.DateRangeValues> o) {
+checkUnnamed180(core.List<api.DateRangeValues> o) {
unittest.expect(o, unittest.hasLength(2));
checkDateRangeValues(o[0]);
checkDateRangeValues(o[1]);
}
-buildUnnamed160() {
+buildUnnamed181() {
var o = new core.List<api.ReportRow>();
o.add(buildReportRow());
o.add(buildReportRow());
return o;
}
-checkUnnamed160(core.List<api.ReportRow> o) {
+checkUnnamed181(core.List<api.ReportRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRow(o[0]);
checkReportRow(o[1]);
}
-buildUnnamed161() {
+buildUnnamed182() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed161(core.List<core.String> o) {
+checkUnnamed182(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed162() {
+buildUnnamed183() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed162(core.List<core.String> o) {
+checkUnnamed183(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed163() {
+buildUnnamed184() {
var o = new core.List<api.DateRangeValues>();
o.add(buildDateRangeValues());
o.add(buildDateRangeValues());
return o;
}
-checkUnnamed163(core.List<api.DateRangeValues> o) {
+checkUnnamed184(core.List<api.DateRangeValues> o) {
unittest.expect(o, unittest.hasLength(2));
checkDateRangeValues(o[0]);
checkDateRangeValues(o[1]);
@@ -899,13 +899,13 @@
if (buildCounterReportData < 3) {
o.dataLastRefreshed = "foo";
o.isDataGolden = true;
- o.maximums = buildUnnamed158();
- o.minimums = buildUnnamed159();
+ o.maximums = buildUnnamed179();
+ o.minimums = buildUnnamed180();
o.rowCount = 42;
- o.rows = buildUnnamed160();
- o.samplesReadCounts = buildUnnamed161();
- o.samplingSpaceSizes = buildUnnamed162();
- o.totals = buildUnnamed163();
+ o.rows = buildUnnamed181();
+ o.samplesReadCounts = buildUnnamed182();
+ o.samplingSpaceSizes = buildUnnamed183();
+ o.totals = buildUnnamed184();
}
buildCounterReportData--;
return o;
@@ -916,116 +916,116 @@
if (buildCounterReportData < 3) {
unittest.expect(o.dataLastRefreshed, unittest.equals('foo'));
unittest.expect(o.isDataGolden, unittest.isTrue);
- checkUnnamed158(o.maximums);
- checkUnnamed159(o.minimums);
+ checkUnnamed179(o.maximums);
+ checkUnnamed180(o.minimums);
unittest.expect(o.rowCount, unittest.equals(42));
- checkUnnamed160(o.rows);
- checkUnnamed161(o.samplesReadCounts);
- checkUnnamed162(o.samplingSpaceSizes);
- checkUnnamed163(o.totals);
+ checkUnnamed181(o.rows);
+ checkUnnamed182(o.samplesReadCounts);
+ checkUnnamed183(o.samplingSpaceSizes);
+ checkUnnamed184(o.totals);
}
buildCounterReportData--;
}
-buildUnnamed164() {
+buildUnnamed185() {
var o = new core.List<api.DateRange>();
o.add(buildDateRange());
o.add(buildDateRange());
return o;
}
-checkUnnamed164(core.List<api.DateRange> o) {
+checkUnnamed185(core.List<api.DateRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkDateRange(o[0]);
checkDateRange(o[1]);
}
-buildUnnamed165() {
+buildUnnamed186() {
var o = new core.List<api.DimensionFilterClause>();
o.add(buildDimensionFilterClause());
o.add(buildDimensionFilterClause());
return o;
}
-checkUnnamed165(core.List<api.DimensionFilterClause> o) {
+checkUnnamed186(core.List<api.DimensionFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilterClause(o[0]);
checkDimensionFilterClause(o[1]);
}
-buildUnnamed166() {
+buildUnnamed187() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed166(core.List<api.Dimension> o) {
+checkUnnamed187(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed167() {
+buildUnnamed188() {
var o = new core.List<api.MetricFilterClause>();
o.add(buildMetricFilterClause());
o.add(buildMetricFilterClause());
return o;
}
-checkUnnamed167(core.List<api.MetricFilterClause> o) {
+checkUnnamed188(core.List<api.MetricFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricFilterClause(o[0]);
checkMetricFilterClause(o[1]);
}
-buildUnnamed168() {
+buildUnnamed189() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed168(core.List<api.Metric> o) {
+checkUnnamed189(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed169() {
+buildUnnamed190() {
var o = new core.List<api.OrderBy>();
o.add(buildOrderBy());
o.add(buildOrderBy());
return o;
}
-checkUnnamed169(core.List<api.OrderBy> o) {
+checkUnnamed190(core.List<api.OrderBy> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderBy(o[0]);
checkOrderBy(o[1]);
}
-buildUnnamed170() {
+buildUnnamed191() {
var o = new core.List<api.Pivot>();
o.add(buildPivot());
o.add(buildPivot());
return o;
}
-checkUnnamed170(core.List<api.Pivot> o) {
+checkUnnamed191(core.List<api.Pivot> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivot(o[0]);
checkPivot(o[1]);
}
-buildUnnamed171() {
+buildUnnamed192() {
var o = new core.List<api.Segment>();
o.add(buildSegment());
o.add(buildSegment());
return o;
}
-checkUnnamed171(core.List<api.Segment> o) {
+checkUnnamed192(core.List<api.Segment> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegment(o[0]);
checkSegment(o[1]);
@@ -1037,21 +1037,21 @@
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
o.cohortGroup = buildCohortGroup();
- o.dateRanges = buildUnnamed164();
- o.dimensionFilterClauses = buildUnnamed165();
- o.dimensions = buildUnnamed166();
+ o.dateRanges = buildUnnamed185();
+ o.dimensionFilterClauses = buildUnnamed186();
+ o.dimensions = buildUnnamed187();
o.filtersExpression = "foo";
o.hideTotals = true;
o.hideValueRanges = true;
o.includeEmptyRows = true;
- o.metricFilterClauses = buildUnnamed167();
- o.metrics = buildUnnamed168();
- o.orderBys = buildUnnamed169();
+ o.metricFilterClauses = buildUnnamed188();
+ o.metrics = buildUnnamed189();
+ o.orderBys = buildUnnamed190();
o.pageSize = 42;
o.pageToken = "foo";
- o.pivots = buildUnnamed170();
+ o.pivots = buildUnnamed191();
o.samplingLevel = "foo";
- o.segments = buildUnnamed171();
+ o.segments = buildUnnamed192();
o.viewId = "foo";
}
buildCounterReportRequest--;
@@ -1062,47 +1062,47 @@
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
checkCohortGroup(o.cohortGroup);
- checkUnnamed164(o.dateRanges);
- checkUnnamed165(o.dimensionFilterClauses);
- checkUnnamed166(o.dimensions);
+ checkUnnamed185(o.dateRanges);
+ checkUnnamed186(o.dimensionFilterClauses);
+ checkUnnamed187(o.dimensions);
unittest.expect(o.filtersExpression, unittest.equals('foo'));
unittest.expect(o.hideTotals, unittest.isTrue);
unittest.expect(o.hideValueRanges, unittest.isTrue);
unittest.expect(o.includeEmptyRows, unittest.isTrue);
- checkUnnamed167(o.metricFilterClauses);
- checkUnnamed168(o.metrics);
- checkUnnamed169(o.orderBys);
+ checkUnnamed188(o.metricFilterClauses);
+ checkUnnamed189(o.metrics);
+ checkUnnamed190(o.orderBys);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed170(o.pivots);
+ checkUnnamed191(o.pivots);
unittest.expect(o.samplingLevel, unittest.equals('foo'));
- checkUnnamed171(o.segments);
+ checkUnnamed192(o.segments);
unittest.expect(o.viewId, unittest.equals('foo'));
}
buildCounterReportRequest--;
}
-buildUnnamed172() {
+buildUnnamed193() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed172(core.List<core.String> o) {
+checkUnnamed193(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed173() {
+buildUnnamed194() {
var o = new core.List<api.DateRangeValues>();
o.add(buildDateRangeValues());
o.add(buildDateRangeValues());
return o;
}
-checkUnnamed173(core.List<api.DateRangeValues> o) {
+checkUnnamed194(core.List<api.DateRangeValues> o) {
unittest.expect(o, unittest.hasLength(2));
checkDateRangeValues(o[0]);
checkDateRangeValues(o[1]);
@@ -1113,8 +1113,8 @@
var o = new api.ReportRow();
buildCounterReportRow++;
if (buildCounterReportRow < 3) {
- o.dimensions = buildUnnamed172();
- o.metrics = buildUnnamed173();
+ o.dimensions = buildUnnamed193();
+ o.metrics = buildUnnamed194();
}
buildCounterReportRow--;
return o;
@@ -1123,8 +1123,8 @@
checkReportRow(api.ReportRow o) {
buildCounterReportRow++;
if (buildCounterReportRow < 3) {
- checkUnnamed172(o.dimensions);
- checkUnnamed173(o.metrics);
+ checkUnnamed193(o.dimensions);
+ checkUnnamed194(o.metrics);
}
buildCounterReportRow--;
}
@@ -1150,14 +1150,14 @@
buildCounterSegment--;
}
-buildUnnamed174() {
+buildUnnamed195() {
var o = new core.List<api.SegmentFilter>();
o.add(buildSegmentFilter());
o.add(buildSegmentFilter());
return o;
}
-checkUnnamed174(core.List<api.SegmentFilter> o) {
+checkUnnamed195(core.List<api.SegmentFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegmentFilter(o[0]);
checkSegmentFilter(o[1]);
@@ -1168,7 +1168,7 @@
var o = new api.SegmentDefinition();
buildCounterSegmentDefinition++;
if (buildCounterSegmentDefinition < 3) {
- o.segmentFilters = buildUnnamed174();
+ o.segmentFilters = buildUnnamed195();
}
buildCounterSegmentDefinition--;
return o;
@@ -1177,19 +1177,19 @@
checkSegmentDefinition(api.SegmentDefinition o) {
buildCounterSegmentDefinition++;
if (buildCounterSegmentDefinition < 3) {
- checkUnnamed174(o.segmentFilters);
+ checkUnnamed195(o.segmentFilters);
}
buildCounterSegmentDefinition--;
}
-buildUnnamed175() {
+buildUnnamed196() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed175(core.List<core.String> o) {
+checkUnnamed196(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1202,7 +1202,7 @@
if (buildCounterSegmentDimensionFilter < 3) {
o.caseSensitive = true;
o.dimensionName = "foo";
- o.expressions = buildUnnamed175();
+ o.expressions = buildUnnamed196();
o.maxComparisonValue = "foo";
o.minComparisonValue = "foo";
o.operator = "foo";
@@ -1216,7 +1216,7 @@
if (buildCounterSegmentDimensionFilter < 3) {
unittest.expect(o.caseSensitive, unittest.isTrue);
unittest.expect(o.dimensionName, unittest.equals('foo'));
- checkUnnamed175(o.expressions);
+ checkUnnamed196(o.expressions);
unittest.expect(o.maxComparisonValue, unittest.equals('foo'));
unittest.expect(o.minComparisonValue, unittest.equals('foo'));
unittest.expect(o.operator, unittest.equals('foo'));
@@ -1297,14 +1297,14 @@
buildCounterSegmentMetricFilter--;
}
-buildUnnamed176() {
+buildUnnamed197() {
var o = new core.List<api.OrFiltersForSegment>();
o.add(buildOrFiltersForSegment());
o.add(buildOrFiltersForSegment());
return o;
}
-checkUnnamed176(core.List<api.OrFiltersForSegment> o) {
+checkUnnamed197(core.List<api.OrFiltersForSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrFiltersForSegment(o[0]);
checkOrFiltersForSegment(o[1]);
@@ -1316,7 +1316,7 @@
buildCounterSegmentSequenceStep++;
if (buildCounterSegmentSequenceStep < 3) {
o.matchType = "foo";
- o.orFiltersForSegment = buildUnnamed176();
+ o.orFiltersForSegment = buildUnnamed197();
}
buildCounterSegmentSequenceStep--;
return o;
@@ -1326,19 +1326,19 @@
buildCounterSegmentSequenceStep++;
if (buildCounterSegmentSequenceStep < 3) {
unittest.expect(o.matchType, unittest.equals('foo'));
- checkUnnamed176(o.orFiltersForSegment);
+ checkUnnamed197(o.orFiltersForSegment);
}
buildCounterSegmentSequenceStep--;
}
-buildUnnamed177() {
+buildUnnamed198() {
var o = new core.List<api.SegmentSequenceStep>();
o.add(buildSegmentSequenceStep());
o.add(buildSegmentSequenceStep());
return o;
}
-checkUnnamed177(core.List<api.SegmentSequenceStep> o) {
+checkUnnamed198(core.List<api.SegmentSequenceStep> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegmentSequenceStep(o[0]);
checkSegmentSequenceStep(o[1]);
@@ -1350,7 +1350,7 @@
buildCounterSequenceSegment++;
if (buildCounterSequenceSegment < 3) {
o.firstStepShouldMatchFirstHit = true;
- o.segmentSequenceSteps = buildUnnamed177();
+ o.segmentSequenceSteps = buildUnnamed198();
}
buildCounterSequenceSegment--;
return o;
@@ -1360,19 +1360,19 @@
buildCounterSequenceSegment++;
if (buildCounterSequenceSegment < 3) {
unittest.expect(o.firstStepShouldMatchFirstHit, unittest.isTrue);
- checkUnnamed177(o.segmentSequenceSteps);
+ checkUnnamed198(o.segmentSequenceSteps);
}
buildCounterSequenceSegment--;
}
-buildUnnamed178() {
+buildUnnamed199() {
var o = new core.List<api.OrFiltersForSegment>();
o.add(buildOrFiltersForSegment());
o.add(buildOrFiltersForSegment());
return o;
}
-checkUnnamed178(core.List<api.OrFiltersForSegment> o) {
+checkUnnamed199(core.List<api.OrFiltersForSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrFiltersForSegment(o[0]);
checkOrFiltersForSegment(o[1]);
@@ -1383,7 +1383,7 @@
var o = new api.SimpleSegment();
buildCounterSimpleSegment++;
if (buildCounterSimpleSegment < 3) {
- o.orFiltersForSegment = buildUnnamed178();
+ o.orFiltersForSegment = buildUnnamed199();
}
buildCounterSimpleSegment--;
return o;
@@ -1392,7 +1392,7 @@
checkSimpleSegment(api.SimpleSegment o) {
buildCounterSimpleSegment++;
if (buildCounterSimpleSegment < 3) {
- checkUnnamed178(o.orFiltersForSegment);
+ checkUnnamed199(o.orFiltersForSegment);
}
buildCounterSimpleSegment--;
}
diff --git a/generated/googleapis/test/androidenterprise/v1_test.dart b/generated/googleapis/test/androidenterprise/v1_test.dart
index 03bdc40..0c587c2 100644
--- a/generated/googleapis/test/androidenterprise/v1_test.dart
+++ b/generated/googleapis/test/androidenterprise/v1_test.dart
@@ -91,14 +91,14 @@
buildCounterAdministratorWebToken--;
}
-buildUnnamed1822() {
+buildUnnamed1926() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1822(core.List<core.String> o) {
+checkUnnamed1926(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -111,7 +111,7 @@
if (buildCounterAdministratorWebTokenSpec < 3) {
o.kind = "foo";
o.parent = "foo";
- o.permission = buildUnnamed1822();
+ o.permission = buildUnnamed1926();
}
buildCounterAdministratorWebTokenSpec--;
return o;
@@ -122,19 +122,19 @@
if (buildCounterAdministratorWebTokenSpec < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
- checkUnnamed1822(o.permission);
+ checkUnnamed1926(o.permission);
}
buildCounterAdministratorWebTokenSpec--;
}
-buildUnnamed1823() {
+buildUnnamed1927() {
var o = new core.List<api.AppRestrictionsSchemaRestriction>();
o.add(buildAppRestrictionsSchemaRestriction());
o.add(buildAppRestrictionsSchemaRestriction());
return o;
}
-checkUnnamed1823(core.List<api.AppRestrictionsSchemaRestriction> o) {
+checkUnnamed1927(core.List<api.AppRestrictionsSchemaRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppRestrictionsSchemaRestriction(o[0]);
checkAppRestrictionsSchemaRestriction(o[1]);
@@ -146,7 +146,7 @@
buildCounterAppRestrictionsSchema++;
if (buildCounterAppRestrictionsSchema < 3) {
o.kind = "foo";
- o.restrictions = buildUnnamed1823();
+ o.restrictions = buildUnnamed1927();
}
buildCounterAppRestrictionsSchema--;
return o;
@@ -156,7 +156,7 @@
buildCounterAppRestrictionsSchema++;
if (buildCounterAppRestrictionsSchema < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1823(o.restrictions);
+ checkUnnamed1927(o.restrictions);
}
buildCounterAppRestrictionsSchema--;
}
@@ -180,40 +180,40 @@
buildCounterAppRestrictionsSchemaChangeEvent--;
}
-buildUnnamed1824() {
+buildUnnamed1928() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1824(core.List<core.String> o) {
+checkUnnamed1928(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1825() {
+buildUnnamed1929() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1825(core.List<core.String> o) {
+checkUnnamed1929(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1826() {
+buildUnnamed1930() {
var o = new core.List<api.AppRestrictionsSchemaRestriction>();
o.add(buildAppRestrictionsSchemaRestriction());
o.add(buildAppRestrictionsSchemaRestriction());
return o;
}
-checkUnnamed1826(core.List<api.AppRestrictionsSchemaRestriction> o) {
+checkUnnamed1930(core.List<api.AppRestrictionsSchemaRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppRestrictionsSchemaRestriction(o[0]);
checkAppRestrictionsSchemaRestriction(o[1]);
@@ -226,10 +226,10 @@
if (buildCounterAppRestrictionsSchemaRestriction < 3) {
o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue();
o.description = "foo";
- o.entry = buildUnnamed1824();
- o.entryValue = buildUnnamed1825();
+ o.entry = buildUnnamed1928();
+ o.entryValue = buildUnnamed1929();
o.key = "foo";
- o.nestedRestriction = buildUnnamed1826();
+ o.nestedRestriction = buildUnnamed1930();
o.restrictionType = "foo";
o.title = "foo";
}
@@ -242,24 +242,24 @@
if (buildCounterAppRestrictionsSchemaRestriction < 3) {
checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1824(o.entry);
- checkUnnamed1825(o.entryValue);
+ checkUnnamed1928(o.entry);
+ checkUnnamed1929(o.entryValue);
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed1826(o.nestedRestriction);
+ checkUnnamed1930(o.nestedRestriction);
unittest.expect(o.restrictionType, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterAppRestrictionsSchemaRestriction--;
}
-buildUnnamed1827() {
+buildUnnamed1931() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1827(core.List<core.String> o) {
+checkUnnamed1931(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -273,7 +273,7 @@
o.type = "foo";
o.valueBool = true;
o.valueInteger = 42;
- o.valueMultiselect = buildUnnamed1827();
+ o.valueMultiselect = buildUnnamed1931();
o.valueString = "foo";
}
buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
@@ -286,7 +286,7 @@
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.valueBool, unittest.isTrue);
unittest.expect(o.valueInteger, unittest.equals(42));
- checkUnnamed1827(o.valueMultiselect);
+ checkUnnamed1931(o.valueMultiselect);
unittest.expect(o.valueString, unittest.equals('foo'));
}
buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
@@ -418,14 +418,14 @@
buildCounterDeviceState--;
}
-buildUnnamed1828() {
+buildUnnamed1932() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed1828(core.List<api.Device> o) {
+checkUnnamed1932(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -436,7 +436,7 @@
var o = new api.DevicesListResponse();
buildCounterDevicesListResponse++;
if (buildCounterDevicesListResponse < 3) {
- o.device = buildUnnamed1828();
+ o.device = buildUnnamed1932();
o.kind = "foo";
}
buildCounterDevicesListResponse--;
@@ -446,20 +446,20 @@
checkDevicesListResponse(api.DevicesListResponse o) {
buildCounterDevicesListResponse++;
if (buildCounterDevicesListResponse < 3) {
- checkUnnamed1828(o.device);
+ checkUnnamed1932(o.device);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDevicesListResponse--;
}
-buildUnnamed1829() {
+buildUnnamed1933() {
var o = new core.List<api.Administrator>();
o.add(buildAdministrator());
o.add(buildAdministrator());
return o;
}
-checkUnnamed1829(core.List<api.Administrator> o) {
+checkUnnamed1933(core.List<api.Administrator> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdministrator(o[0]);
checkAdministrator(o[1]);
@@ -470,7 +470,7 @@
var o = new api.Enterprise();
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
- o.administrator = buildUnnamed1829();
+ o.administrator = buildUnnamed1933();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -483,7 +483,7 @@
checkEnterprise(api.Enterprise o) {
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
- checkUnnamed1829(o.administrator);
+ checkUnnamed1933(o.administrator);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -513,14 +513,14 @@
buildCounterEnterpriseAccount--;
}
-buildUnnamed1830() {
+buildUnnamed1934() {
var o = new core.List<api.Enterprise>();
o.add(buildEnterprise());
o.add(buildEnterprise());
return o;
}
-checkUnnamed1830(core.List<api.Enterprise> o) {
+checkUnnamed1934(core.List<api.Enterprise> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnterprise(o[0]);
checkEnterprise(o[1]);
@@ -531,7 +531,7 @@
var o = new api.EnterprisesListResponse();
buildCounterEnterprisesListResponse++;
if (buildCounterEnterprisesListResponse < 3) {
- o.enterprise = buildUnnamed1830();
+ o.enterprise = buildUnnamed1934();
o.kind = "foo";
}
buildCounterEnterprisesListResponse--;
@@ -541,7 +541,7 @@
checkEnterprisesListResponse(api.EnterprisesListResponse o) {
buildCounterEnterprisesListResponse++;
if (buildCounterEnterprisesListResponse < 3) {
- checkUnnamed1830(o.enterprise);
+ checkUnnamed1934(o.enterprise);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEnterprisesListResponse--;
@@ -591,14 +591,14 @@
buildCounterEntitlement--;
}
-buildUnnamed1831() {
+buildUnnamed1935() {
var o = new core.List<api.Entitlement>();
o.add(buildEntitlement());
o.add(buildEntitlement());
return o;
}
-checkUnnamed1831(core.List<api.Entitlement> o) {
+checkUnnamed1935(core.List<api.Entitlement> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntitlement(o[0]);
checkEntitlement(o[1]);
@@ -609,7 +609,7 @@
var o = new api.EntitlementsListResponse();
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
- o.entitlement = buildUnnamed1831();
+ o.entitlement = buildUnnamed1935();
o.kind = "foo";
}
buildCounterEntitlementsListResponse--;
@@ -619,7 +619,7 @@
checkEntitlementsListResponse(api.EntitlementsListResponse o) {
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
- checkUnnamed1831(o.entitlement);
+ checkUnnamed1935(o.entitlement);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEntitlementsListResponse--;
@@ -654,14 +654,14 @@
buildCounterGroupLicense--;
}
-buildUnnamed1832() {
+buildUnnamed1936() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed1832(core.List<api.User> o) {
+checkUnnamed1936(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -673,7 +673,7 @@
buildCounterGroupLicenseUsersListResponse++;
if (buildCounterGroupLicenseUsersListResponse < 3) {
o.kind = "foo";
- o.user = buildUnnamed1832();
+ o.user = buildUnnamed1936();
}
buildCounterGroupLicenseUsersListResponse--;
return o;
@@ -683,19 +683,19 @@
buildCounterGroupLicenseUsersListResponse++;
if (buildCounterGroupLicenseUsersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1832(o.user);
+ checkUnnamed1936(o.user);
}
buildCounterGroupLicenseUsersListResponse--;
}
-buildUnnamed1833() {
+buildUnnamed1937() {
var o = new core.List<api.GroupLicense>();
o.add(buildGroupLicense());
o.add(buildGroupLicense());
return o;
}
-checkUnnamed1833(core.List<api.GroupLicense> o) {
+checkUnnamed1937(core.List<api.GroupLicense> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroupLicense(o[0]);
checkGroupLicense(o[1]);
@@ -706,7 +706,7 @@
var o = new api.GroupLicensesListResponse();
buildCounterGroupLicensesListResponse++;
if (buildCounterGroupLicensesListResponse < 3) {
- o.groupLicense = buildUnnamed1833();
+ o.groupLicense = buildUnnamed1937();
o.kind = "foo";
}
buildCounterGroupLicensesListResponse--;
@@ -716,7 +716,7 @@
checkGroupLicensesListResponse(api.GroupLicensesListResponse o) {
buildCounterGroupLicensesListResponse++;
if (buildCounterGroupLicensesListResponse < 3) {
- checkUnnamed1833(o.groupLicense);
+ checkUnnamed1937(o.groupLicense);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterGroupLicensesListResponse--;
@@ -774,14 +774,14 @@
buildCounterInstallFailureEvent--;
}
-buildUnnamed1834() {
+buildUnnamed1938() {
var o = new core.List<api.Install>();
o.add(buildInstall());
o.add(buildInstall());
return o;
}
-checkUnnamed1834(core.List<api.Install> o) {
+checkUnnamed1938(core.List<api.Install> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstall(o[0]);
checkInstall(o[1]);
@@ -792,7 +792,7 @@
var o = new api.InstallsListResponse();
buildCounterInstallsListResponse++;
if (buildCounterInstallsListResponse < 3) {
- o.install = buildUnnamed1834();
+ o.install = buildUnnamed1938();
o.kind = "foo";
}
buildCounterInstallsListResponse--;
@@ -802,7 +802,7 @@
checkInstallsListResponse(api.InstallsListResponse o) {
buildCounterInstallsListResponse++;
if (buildCounterInstallsListResponse < 3) {
- checkUnnamed1834(o.install);
+ checkUnnamed1938(o.install);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterInstallsListResponse--;
@@ -829,14 +829,14 @@
buildCounterLocalizedText--;
}
-buildUnnamed1835() {
+buildUnnamed1939() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed1835(core.List<api.ManagedProperty> o) {
+checkUnnamed1939(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
@@ -848,7 +848,7 @@
buildCounterManagedConfiguration++;
if (buildCounterManagedConfiguration < 3) {
o.kind = "foo";
- o.managedProperty = buildUnnamed1835();
+ o.managedProperty = buildUnnamed1939();
o.productId = "foo";
}
buildCounterManagedConfiguration--;
@@ -859,20 +859,20 @@
buildCounterManagedConfiguration++;
if (buildCounterManagedConfiguration < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1835(o.managedProperty);
+ checkUnnamed1939(o.managedProperty);
unittest.expect(o.productId, unittest.equals('foo'));
}
buildCounterManagedConfiguration--;
}
-buildUnnamed1836() {
+buildUnnamed1940() {
var o = new core.List<api.ManagedConfiguration>();
o.add(buildManagedConfiguration());
o.add(buildManagedConfiguration());
return o;
}
-checkUnnamed1836(core.List<api.ManagedConfiguration> o) {
+checkUnnamed1940(core.List<api.ManagedConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedConfiguration(o[0]);
checkManagedConfiguration(o[1]);
@@ -884,7 +884,7 @@
buildCounterManagedConfigurationsForDeviceListResponse++;
if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
o.kind = "foo";
- o.managedConfigurationForDevice = buildUnnamed1836();
+ o.managedConfigurationForDevice = buildUnnamed1940();
}
buildCounterManagedConfigurationsForDeviceListResponse--;
return o;
@@ -894,19 +894,19 @@
buildCounterManagedConfigurationsForDeviceListResponse++;
if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1836(o.managedConfigurationForDevice);
+ checkUnnamed1940(o.managedConfigurationForDevice);
}
buildCounterManagedConfigurationsForDeviceListResponse--;
}
-buildUnnamed1837() {
+buildUnnamed1941() {
var o = new core.List<api.ManagedConfiguration>();
o.add(buildManagedConfiguration());
o.add(buildManagedConfiguration());
return o;
}
-checkUnnamed1837(core.List<api.ManagedConfiguration> o) {
+checkUnnamed1941(core.List<api.ManagedConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedConfiguration(o[0]);
checkManagedConfiguration(o[1]);
@@ -918,7 +918,7 @@
buildCounterManagedConfigurationsForUserListResponse++;
if (buildCounterManagedConfigurationsForUserListResponse < 3) {
o.kind = "foo";
- o.managedConfigurationForUser = buildUnnamed1837();
+ o.managedConfigurationForUser = buildUnnamed1941();
}
buildCounterManagedConfigurationsForUserListResponse--;
return o;
@@ -928,32 +928,32 @@
buildCounterManagedConfigurationsForUserListResponse++;
if (buildCounterManagedConfigurationsForUserListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1837(o.managedConfigurationForUser);
+ checkUnnamed1941(o.managedConfigurationForUser);
}
buildCounterManagedConfigurationsForUserListResponse--;
}
-buildUnnamed1838() {
+buildUnnamed1942() {
var o = new core.List<api.ManagedPropertyBundle>();
o.add(buildManagedPropertyBundle());
o.add(buildManagedPropertyBundle());
return o;
}
-checkUnnamed1838(core.List<api.ManagedPropertyBundle> o) {
+checkUnnamed1942(core.List<api.ManagedPropertyBundle> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedPropertyBundle(o[0]);
checkManagedPropertyBundle(o[1]);
}
-buildUnnamed1839() {
+buildUnnamed1943() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1839(core.List<core.String> o) {
+checkUnnamed1943(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -967,10 +967,10 @@
o.key = "foo";
o.valueBool = true;
o.valueBundle = buildManagedPropertyBundle();
- o.valueBundleArray = buildUnnamed1838();
+ o.valueBundleArray = buildUnnamed1942();
o.valueInteger = 42;
o.valueString = "foo";
- o.valueStringArray = buildUnnamed1839();
+ o.valueStringArray = buildUnnamed1943();
}
buildCounterManagedProperty--;
return o;
@@ -982,22 +982,22 @@
unittest.expect(o.key, unittest.equals('foo'));
unittest.expect(o.valueBool, unittest.isTrue);
checkManagedPropertyBundle(o.valueBundle);
- checkUnnamed1838(o.valueBundleArray);
+ checkUnnamed1942(o.valueBundleArray);
unittest.expect(o.valueInteger, unittest.equals(42));
unittest.expect(o.valueString, unittest.equals('foo'));
- checkUnnamed1839(o.valueStringArray);
+ checkUnnamed1943(o.valueStringArray);
}
buildCounterManagedProperty--;
}
-buildUnnamed1840() {
+buildUnnamed1944() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed1840(core.List<api.ManagedProperty> o) {
+checkUnnamed1944(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
@@ -1008,7 +1008,7 @@
var o = new api.ManagedPropertyBundle();
buildCounterManagedPropertyBundle++;
if (buildCounterManagedPropertyBundle < 3) {
- o.managedProperty = buildUnnamed1840();
+ o.managedProperty = buildUnnamed1944();
}
buildCounterManagedPropertyBundle--;
return o;
@@ -1017,7 +1017,7 @@
checkManagedPropertyBundle(api.ManagedPropertyBundle o) {
buildCounterManagedPropertyBundle++;
if (buildCounterManagedPropertyBundle < 3) {
- checkUnnamed1840(o.managedProperty);
+ checkUnnamed1944(o.managedProperty);
}
buildCounterManagedPropertyBundle--;
}
@@ -1045,27 +1045,27 @@
buildCounterNewDeviceEvent--;
}
-buildUnnamed1841() {
+buildUnnamed1945() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1841(core.List<core.String> o) {
+checkUnnamed1945(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1842() {
+buildUnnamed1946() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1842(core.List<core.String> o) {
+checkUnnamed1946(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1076,9 +1076,9 @@
var o = new api.NewPermissionsEvent();
buildCounterNewPermissionsEvent++;
if (buildCounterNewPermissionsEvent < 3) {
- o.approvedPermissions = buildUnnamed1841();
+ o.approvedPermissions = buildUnnamed1945();
o.productId = "foo";
- o.requestedPermissions = buildUnnamed1842();
+ o.requestedPermissions = buildUnnamed1946();
}
buildCounterNewPermissionsEvent--;
return o;
@@ -1087,9 +1087,9 @@
checkNewPermissionsEvent(api.NewPermissionsEvent o) {
buildCounterNewPermissionsEvent++;
if (buildCounterNewPermissionsEvent < 3) {
- checkUnnamed1841(o.approvedPermissions);
+ checkUnnamed1945(o.approvedPermissions);
unittest.expect(o.productId, unittest.equals('foo'));
- checkUnnamed1842(o.requestedPermissions);
+ checkUnnamed1946(o.requestedPermissions);
}
buildCounterNewPermissionsEvent--;
}
@@ -1129,14 +1129,14 @@
buildCounterNotification--;
}
-buildUnnamed1843() {
+buildUnnamed1947() {
var o = new core.List<api.Notification>();
o.add(buildNotification());
o.add(buildNotification());
return o;
}
-checkUnnamed1843(core.List<api.Notification> o) {
+checkUnnamed1947(core.List<api.Notification> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotification(o[0]);
checkNotification(o[1]);
@@ -1148,7 +1148,7 @@
buildCounterNotificationSet++;
if (buildCounterNotificationSet < 3) {
o.kind = "foo";
- o.notification = buildUnnamed1843();
+ o.notification = buildUnnamed1947();
o.notificationSetId = "foo";
}
buildCounterNotificationSet--;
@@ -1159,7 +1159,7 @@
buildCounterNotificationSet++;
if (buildCounterNotificationSet < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1843(o.notification);
+ checkUnnamed1947(o.notification);
unittest.expect(o.notificationSetId, unittest.equals('foo'));
}
buildCounterNotificationSet--;
@@ -1213,14 +1213,14 @@
buildCounterPermission--;
}
-buildUnnamed1844() {
+buildUnnamed1948() {
var o = new core.List<api.AppVersion>();
o.add(buildAppVersion());
o.add(buildAppVersion());
return o;
}
-checkUnnamed1844(core.List<api.AppVersion> o) {
+checkUnnamed1948(core.List<api.AppVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppVersion(o[0]);
checkAppVersion(o[1]);
@@ -1231,7 +1231,7 @@
var o = new api.Product();
buildCounterProduct++;
if (buildCounterProduct < 3) {
- o.appVersion = buildUnnamed1844();
+ o.appVersion = buildUnnamed1948();
o.authorName = "foo";
o.detailsUrl = "foo";
o.distributionChannel = "foo";
@@ -1251,7 +1251,7 @@
checkProduct(api.Product o) {
buildCounterProduct++;
if (buildCounterProduct < 3) {
- checkUnnamed1844(o.appVersion);
+ checkUnnamed1948(o.appVersion);
unittest.expect(o.authorName, unittest.equals('foo'));
unittest.expect(o.detailsUrl, unittest.equals('foo'));
unittest.expect(o.distributionChannel, unittest.equals('foo'));
@@ -1330,14 +1330,14 @@
buildCounterProductPermission--;
}
-buildUnnamed1845() {
+buildUnnamed1949() {
var o = new core.List<api.ProductPermission>();
o.add(buildProductPermission());
o.add(buildProductPermission());
return o;
}
-checkUnnamed1845(core.List<api.ProductPermission> o) {
+checkUnnamed1949(core.List<api.ProductPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductPermission(o[0]);
checkProductPermission(o[1]);
@@ -1349,7 +1349,7 @@
buildCounterProductPermissions++;
if (buildCounterProductPermissions < 3) {
o.kind = "foo";
- o.permission = buildUnnamed1845();
+ o.permission = buildUnnamed1949();
o.productId = "foo";
}
buildCounterProductPermissions--;
@@ -1360,20 +1360,20 @@
buildCounterProductPermissions++;
if (buildCounterProductPermissions < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1845(o.permission);
+ checkUnnamed1949(o.permission);
unittest.expect(o.productId, unittest.equals('foo'));
}
buildCounterProductPermissions--;
}
-buildUnnamed1846() {
+buildUnnamed1950() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1846(core.List<core.String> o) {
+checkUnnamed1950(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1385,7 +1385,7 @@
buildCounterProductSet++;
if (buildCounterProductSet < 3) {
o.kind = "foo";
- o.productId = buildUnnamed1846();
+ o.productId = buildUnnamed1950();
o.productSetBehavior = "foo";
}
buildCounterProductSet--;
@@ -1396,7 +1396,7 @@
buildCounterProductSet++;
if (buildCounterProductSet < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1846(o.productId);
+ checkUnnamed1950(o.productId);
unittest.expect(o.productSetBehavior, unittest.equals('foo'));
}
buildCounterProductSet--;
@@ -1440,14 +1440,14 @@
buildCounterProductsGenerateApprovalUrlResponse--;
}
-buildUnnamed1847() {
+buildUnnamed1951() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed1847(core.List<api.Product> o) {
+checkUnnamed1951(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -1460,7 +1460,7 @@
if (buildCounterProductsListResponse < 3) {
o.kind = "foo";
o.pageInfo = buildPageInfo();
- o.product = buildUnnamed1847();
+ o.product = buildUnnamed1951();
o.tokenPagination = buildTokenPagination();
}
buildCounterProductsListResponse--;
@@ -1472,7 +1472,7 @@
if (buildCounterProductsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
- checkUnnamed1847(o.product);
+ checkUnnamed1951(o.product);
checkTokenPagination(o.tokenPagination);
}
buildCounterProductsListResponse--;
@@ -1528,14 +1528,14 @@
buildCounterServiceAccountKey--;
}
-buildUnnamed1848() {
+buildUnnamed1952() {
var o = new core.List<api.ServiceAccountKey>();
o.add(buildServiceAccountKey());
o.add(buildServiceAccountKey());
return o;
}
-checkUnnamed1848(core.List<api.ServiceAccountKey> o) {
+checkUnnamed1952(core.List<api.ServiceAccountKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccountKey(o[0]);
checkServiceAccountKey(o[1]);
@@ -1546,7 +1546,7 @@
var o = new api.ServiceAccountKeysListResponse();
buildCounterServiceAccountKeysListResponse++;
if (buildCounterServiceAccountKeysListResponse < 3) {
- o.serviceAccountKey = buildUnnamed1848();
+ o.serviceAccountKey = buildUnnamed1952();
}
buildCounterServiceAccountKeysListResponse--;
return o;
@@ -1555,7 +1555,7 @@
checkServiceAccountKeysListResponse(api.ServiceAccountKeysListResponse o) {
buildCounterServiceAccountKeysListResponse++;
if (buildCounterServiceAccountKeysListResponse < 3) {
- checkUnnamed1848(o.serviceAccountKey);
+ checkUnnamed1952(o.serviceAccountKey);
}
buildCounterServiceAccountKeysListResponse--;
}
@@ -1583,27 +1583,27 @@
buildCounterSignupInfo--;
}
-buildUnnamed1849() {
+buildUnnamed1953() {
var o = new core.List<api.LocalizedText>();
o.add(buildLocalizedText());
o.add(buildLocalizedText());
return o;
}
-checkUnnamed1849(core.List<api.LocalizedText> o) {
+checkUnnamed1953(core.List<api.LocalizedText> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedText(o[0]);
checkLocalizedText(o[1]);
}
-buildUnnamed1850() {
+buildUnnamed1954() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1850(core.List<core.String> o) {
+checkUnnamed1954(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1616,9 +1616,9 @@
if (buildCounterStoreCluster < 3) {
o.id = "foo";
o.kind = "foo";
- o.name = buildUnnamed1849();
+ o.name = buildUnnamed1953();
o.orderInPage = "foo";
- o.productId = buildUnnamed1850();
+ o.productId = buildUnnamed1954();
}
buildCounterStoreCluster--;
return o;
@@ -1629,9 +1629,9 @@
if (buildCounterStoreCluster < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1849(o.name);
+ checkUnnamed1953(o.name);
unittest.expect(o.orderInPage, unittest.equals('foo'));
- checkUnnamed1850(o.productId);
+ checkUnnamed1954(o.productId);
}
buildCounterStoreCluster--;
}
@@ -1659,14 +1659,14 @@
buildCounterStoreLayout--;
}
-buildUnnamed1851() {
+buildUnnamed1955() {
var o = new core.List<api.StoreCluster>();
o.add(buildStoreCluster());
o.add(buildStoreCluster());
return o;
}
-checkUnnamed1851(core.List<api.StoreCluster> o) {
+checkUnnamed1955(core.List<api.StoreCluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkStoreCluster(o[0]);
checkStoreCluster(o[1]);
@@ -1677,7 +1677,7 @@
var o = new api.StoreLayoutClustersListResponse();
buildCounterStoreLayoutClustersListResponse++;
if (buildCounterStoreLayoutClustersListResponse < 3) {
- o.cluster = buildUnnamed1851();
+ o.cluster = buildUnnamed1955();
o.kind = "foo";
}
buildCounterStoreLayoutClustersListResponse--;
@@ -1687,20 +1687,20 @@
checkStoreLayoutClustersListResponse(api.StoreLayoutClustersListResponse o) {
buildCounterStoreLayoutClustersListResponse++;
if (buildCounterStoreLayoutClustersListResponse < 3) {
- checkUnnamed1851(o.cluster);
+ checkUnnamed1955(o.cluster);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterStoreLayoutClustersListResponse--;
}
-buildUnnamed1852() {
+buildUnnamed1956() {
var o = new core.List<api.StorePage>();
o.add(buildStorePage());
o.add(buildStorePage());
return o;
}
-checkUnnamed1852(core.List<api.StorePage> o) {
+checkUnnamed1956(core.List<api.StorePage> o) {
unittest.expect(o, unittest.hasLength(2));
checkStorePage(o[0]);
checkStorePage(o[1]);
@@ -1712,7 +1712,7 @@
buildCounterStoreLayoutPagesListResponse++;
if (buildCounterStoreLayoutPagesListResponse < 3) {
o.kind = "foo";
- o.page = buildUnnamed1852();
+ o.page = buildUnnamed1956();
}
buildCounterStoreLayoutPagesListResponse--;
return o;
@@ -1722,32 +1722,32 @@
buildCounterStoreLayoutPagesListResponse++;
if (buildCounterStoreLayoutPagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1852(o.page);
+ checkUnnamed1956(o.page);
}
buildCounterStoreLayoutPagesListResponse--;
}
-buildUnnamed1853() {
+buildUnnamed1957() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1853(core.List<core.String> o) {
+checkUnnamed1957(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1854() {
+buildUnnamed1958() {
var o = new core.List<api.LocalizedText>();
o.add(buildLocalizedText());
o.add(buildLocalizedText());
return o;
}
-checkUnnamed1854(core.List<api.LocalizedText> o) {
+checkUnnamed1958(core.List<api.LocalizedText> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedText(o[0]);
checkLocalizedText(o[1]);
@@ -1760,8 +1760,8 @@
if (buildCounterStorePage < 3) {
o.id = "foo";
o.kind = "foo";
- o.link = buildUnnamed1853();
- o.name = buildUnnamed1854();
+ o.link = buildUnnamed1957();
+ o.name = buildUnnamed1958();
}
buildCounterStorePage--;
return o;
@@ -1772,8 +1772,8 @@
if (buildCounterStorePage < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1853(o.link);
- checkUnnamed1854(o.name);
+ checkUnnamed1957(o.link);
+ checkUnnamed1958(o.name);
}
buildCounterStorePage--;
}
@@ -1853,14 +1853,14 @@
buildCounterUserToken--;
}
-buildUnnamed1855() {
+buildUnnamed1959() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed1855(core.List<api.User> o) {
+checkUnnamed1959(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -1872,7 +1872,7 @@
buildCounterUsersListResponse++;
if (buildCounterUsersListResponse < 3) {
o.kind = "foo";
- o.user = buildUnnamed1855();
+ o.user = buildUnnamed1959();
}
buildCounterUsersListResponse--;
return o;
@@ -1882,7 +1882,7 @@
buildCounterUsersListResponse++;
if (buildCounterUsersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1855(o.user);
+ checkUnnamed1959(o.user);
}
buildCounterUsersListResponse--;
}
diff --git a/generated/googleapis/test/androidpublisher/v2_test.dart b/generated/googleapis/test/androidpublisher/v2_test.dart
index 97d328d..ade32cd 100644
--- a/generated/googleapis/test/androidpublisher/v2_test.dart
+++ b/generated/googleapis/test/androidpublisher/v2_test.dart
@@ -112,14 +112,14 @@
buildCounterApkListing--;
}
-buildUnnamed2707() {
+buildUnnamed2812() {
var o = new core.List<api.ApkListing>();
o.add(buildApkListing());
o.add(buildApkListing());
return o;
}
-checkUnnamed2707(core.List<api.ApkListing> o) {
+checkUnnamed2812(core.List<api.ApkListing> o) {
unittest.expect(o, unittest.hasLength(2));
checkApkListing(o[0]);
checkApkListing(o[1]);
@@ -131,7 +131,7 @@
buildCounterApkListingsListResponse++;
if (buildCounterApkListingsListResponse < 3) {
o.kind = "foo";
- o.listings = buildUnnamed2707();
+ o.listings = buildUnnamed2812();
}
buildCounterApkListingsListResponse--;
return o;
@@ -141,7 +141,7 @@
buildCounterApkListingsListResponse++;
if (buildCounterApkListingsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2707(o.listings);
+ checkUnnamed2812(o.listings);
}
buildCounterApkListingsListResponse--;
}
@@ -184,14 +184,14 @@
buildCounterApksAddExternallyHostedResponse--;
}
-buildUnnamed2708() {
+buildUnnamed2813() {
var o = new core.List<api.Apk>();
o.add(buildApk());
o.add(buildApk());
return o;
}
-checkUnnamed2708(core.List<api.Apk> o) {
+checkUnnamed2813(core.List<api.Apk> o) {
unittest.expect(o, unittest.hasLength(2));
checkApk(o[0]);
checkApk(o[1]);
@@ -202,7 +202,7 @@
var o = new api.ApksListResponse();
buildCounterApksListResponse++;
if (buildCounterApksListResponse < 3) {
- o.apks = buildUnnamed2708();
+ o.apks = buildUnnamed2813();
o.kind = "foo";
}
buildCounterApksListResponse--;
@@ -212,7 +212,7 @@
checkApksListResponse(api.ApksListResponse o) {
buildCounterApksListResponse++;
if (buildCounterApksListResponse < 3) {
- checkUnnamed2708(o.apks);
+ checkUnnamed2813(o.apks);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterApksListResponse--;
@@ -408,14 +408,14 @@
buildCounterEntitlement--;
}
-buildUnnamed2709() {
+buildUnnamed2814() {
var o = new core.List<api.Entitlement>();
o.add(buildEntitlement());
o.add(buildEntitlement());
return o;
}
-checkUnnamed2709(core.List<api.Entitlement> o) {
+checkUnnamed2814(core.List<api.Entitlement> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntitlement(o[0]);
checkEntitlement(o[1]);
@@ -427,7 +427,7 @@
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
o.pageInfo = buildPageInfo();
- o.resources = buildUnnamed2709();
+ o.resources = buildUnnamed2814();
o.tokenPagination = buildTokenPagination();
}
buildCounterEntitlementsListResponse--;
@@ -438,7 +438,7 @@
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
checkPageInfo(o.pageInfo);
- checkUnnamed2709(o.resources);
+ checkUnnamed2814(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterEntitlementsListResponse--;
@@ -484,53 +484,53 @@
buildCounterExpansionFilesUploadResponse--;
}
-buildUnnamed2710() {
+buildUnnamed2815() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2710(core.List<core.String> o) {
+checkUnnamed2815(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2711() {
+buildUnnamed2816() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2711(core.List<core.String> o) {
+checkUnnamed2816(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2712() {
+buildUnnamed2817() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2712(core.List<core.String> o) {
+checkUnnamed2817(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2713() {
+buildUnnamed2818() {
var o = new core.List<api.ExternallyHostedApkUsesPermission>();
o.add(buildExternallyHostedApkUsesPermission());
o.add(buildExternallyHostedApkUsesPermission());
return o;
}
-checkUnnamed2713(core.List<api.ExternallyHostedApkUsesPermission> o) {
+checkUnnamed2818(core.List<api.ExternallyHostedApkUsesPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternallyHostedApkUsesPermission(o[0]);
checkExternallyHostedApkUsesPermission(o[1]);
@@ -542,7 +542,7 @@
buildCounterExternallyHostedApk++;
if (buildCounterExternallyHostedApk < 3) {
o.applicationLabel = "foo";
- o.certificateBase64s = buildUnnamed2710();
+ o.certificateBase64s = buildUnnamed2815();
o.externallyHostedUrl = "foo";
o.fileSha1Base64 = "foo";
o.fileSha256Base64 = "foo";
@@ -550,10 +550,10 @@
o.iconBase64 = "foo";
o.maximumSdk = 42;
o.minimumSdk = 42;
- o.nativeCodes = buildUnnamed2711();
+ o.nativeCodes = buildUnnamed2816();
o.packageName = "foo";
- o.usesFeatures = buildUnnamed2712();
- o.usesPermissions = buildUnnamed2713();
+ o.usesFeatures = buildUnnamed2817();
+ o.usesPermissions = buildUnnamed2818();
o.versionCode = 42;
o.versionName = "foo";
}
@@ -565,7 +565,7 @@
buildCounterExternallyHostedApk++;
if (buildCounterExternallyHostedApk < 3) {
unittest.expect(o.applicationLabel, unittest.equals('foo'));
- checkUnnamed2710(o.certificateBase64s);
+ checkUnnamed2815(o.certificateBase64s);
unittest.expect(o.externallyHostedUrl, unittest.equals('foo'));
unittest.expect(o.fileSha1Base64, unittest.equals('foo'));
unittest.expect(o.fileSha256Base64, unittest.equals('foo'));
@@ -573,10 +573,10 @@
unittest.expect(o.iconBase64, unittest.equals('foo'));
unittest.expect(o.maximumSdk, unittest.equals(42));
unittest.expect(o.minimumSdk, unittest.equals(42));
- checkUnnamed2711(o.nativeCodes);
+ checkUnnamed2816(o.nativeCodes);
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed2712(o.usesFeatures);
- checkUnnamed2713(o.usesPermissions);
+ checkUnnamed2817(o.usesFeatures);
+ checkUnnamed2818(o.usesPermissions);
unittest.expect(o.versionCode, unittest.equals(42));
unittest.expect(o.versionName, unittest.equals('foo'));
}
@@ -627,14 +627,14 @@
buildCounterImage--;
}
-buildUnnamed2714() {
+buildUnnamed2819() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed2714(core.List<api.Image> o) {
+checkUnnamed2819(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
@@ -645,7 +645,7 @@
var o = new api.ImagesDeleteAllResponse();
buildCounterImagesDeleteAllResponse++;
if (buildCounterImagesDeleteAllResponse < 3) {
- o.deleted = buildUnnamed2714();
+ o.deleted = buildUnnamed2819();
}
buildCounterImagesDeleteAllResponse--;
return o;
@@ -654,19 +654,19 @@
checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) {
buildCounterImagesDeleteAllResponse++;
if (buildCounterImagesDeleteAllResponse < 3) {
- checkUnnamed2714(o.deleted);
+ checkUnnamed2819(o.deleted);
}
buildCounterImagesDeleteAllResponse--;
}
-buildUnnamed2715() {
+buildUnnamed2820() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed2715(core.List<api.Image> o) {
+checkUnnamed2820(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
@@ -677,7 +677,7 @@
var o = new api.ImagesListResponse();
buildCounterImagesListResponse++;
if (buildCounterImagesListResponse < 3) {
- o.images = buildUnnamed2715();
+ o.images = buildUnnamed2820();
}
buildCounterImagesListResponse--;
return o;
@@ -686,7 +686,7 @@
checkImagesListResponse(api.ImagesListResponse o) {
buildCounterImagesListResponse++;
if (buildCounterImagesListResponse < 3) {
- checkUnnamed2715(o.images);
+ checkUnnamed2820(o.images);
}
buildCounterImagesListResponse--;
}
@@ -710,27 +710,27 @@
buildCounterImagesUploadResponse--;
}
-buildUnnamed2716() {
+buildUnnamed2821() {
var o = new core.Map<core.String, api.InAppProductListing>();
o["x"] = buildInAppProductListing();
o["y"] = buildInAppProductListing();
return o;
}
-checkUnnamed2716(core.Map<core.String, api.InAppProductListing> o) {
+checkUnnamed2821(core.Map<core.String, api.InAppProductListing> o) {
unittest.expect(o, unittest.hasLength(2));
checkInAppProductListing(o["x"]);
checkInAppProductListing(o["y"]);
}
-buildUnnamed2717() {
+buildUnnamed2822() {
var o = new core.Map<core.String, api.Price>();
o["x"] = buildPrice();
o["y"] = buildPrice();
return o;
}
-checkUnnamed2717(core.Map<core.String, api.Price> o) {
+checkUnnamed2822(core.Map<core.String, api.Price> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrice(o["x"]);
checkPrice(o["y"]);
@@ -743,9 +743,9 @@
if (buildCounterInAppProduct < 3) {
o.defaultLanguage = "foo";
o.defaultPrice = buildPrice();
- o.listings = buildUnnamed2716();
+ o.listings = buildUnnamed2821();
o.packageName = "foo";
- o.prices = buildUnnamed2717();
+ o.prices = buildUnnamed2822();
o.purchaseType = "foo";
o.season = buildSeason();
o.sku = "foo";
@@ -762,9 +762,9 @@
if (buildCounterInAppProduct < 3) {
unittest.expect(o.defaultLanguage, unittest.equals('foo'));
checkPrice(o.defaultPrice);
- checkUnnamed2716(o.listings);
+ checkUnnamed2821(o.listings);
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed2717(o.prices);
+ checkUnnamed2822(o.prices);
unittest.expect(o.purchaseType, unittest.equals('foo'));
checkSeason(o.season);
unittest.expect(o.sku, unittest.equals('foo'));
@@ -796,14 +796,14 @@
buildCounterInAppProductListing--;
}
-buildUnnamed2718() {
+buildUnnamed2823() {
var o = new core.List<api.InappproductsBatchRequestEntry>();
o.add(buildInappproductsBatchRequestEntry());
o.add(buildInappproductsBatchRequestEntry());
return o;
}
-checkUnnamed2718(core.List<api.InappproductsBatchRequestEntry> o) {
+checkUnnamed2823(core.List<api.InappproductsBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkInappproductsBatchRequestEntry(o[0]);
checkInappproductsBatchRequestEntry(o[1]);
@@ -814,7 +814,7 @@
var o = new api.InappproductsBatchRequest();
buildCounterInappproductsBatchRequest++;
if (buildCounterInappproductsBatchRequest < 3) {
- o.entrys = buildUnnamed2718();
+ o.entrys = buildUnnamed2823();
}
buildCounterInappproductsBatchRequest--;
return o;
@@ -823,7 +823,7 @@
checkInappproductsBatchRequest(api.InappproductsBatchRequest o) {
buildCounterInappproductsBatchRequest++;
if (buildCounterInappproductsBatchRequest < 3) {
- checkUnnamed2718(o.entrys);
+ checkUnnamed2823(o.entrys);
}
buildCounterInappproductsBatchRequest--;
}
@@ -853,14 +853,14 @@
buildCounterInappproductsBatchRequestEntry--;
}
-buildUnnamed2719() {
+buildUnnamed2824() {
var o = new core.List<api.InappproductsBatchResponseEntry>();
o.add(buildInappproductsBatchResponseEntry());
o.add(buildInappproductsBatchResponseEntry());
return o;
}
-checkUnnamed2719(core.List<api.InappproductsBatchResponseEntry> o) {
+checkUnnamed2824(core.List<api.InappproductsBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkInappproductsBatchResponseEntry(o[0]);
checkInappproductsBatchResponseEntry(o[1]);
@@ -871,7 +871,7 @@
var o = new api.InappproductsBatchResponse();
buildCounterInappproductsBatchResponse++;
if (buildCounterInappproductsBatchResponse < 3) {
- o.entrys = buildUnnamed2719();
+ o.entrys = buildUnnamed2824();
o.kind = "foo";
}
buildCounterInappproductsBatchResponse--;
@@ -881,7 +881,7 @@
checkInappproductsBatchResponse(api.InappproductsBatchResponse o) {
buildCounterInappproductsBatchResponse++;
if (buildCounterInappproductsBatchResponse < 3) {
- checkUnnamed2719(o.entrys);
+ checkUnnamed2824(o.entrys);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterInappproductsBatchResponse--;
@@ -948,14 +948,14 @@
buildCounterInappproductsInsertResponse--;
}
-buildUnnamed2720() {
+buildUnnamed2825() {
var o = new core.List<api.InAppProduct>();
o.add(buildInAppProduct());
o.add(buildInAppProduct());
return o;
}
-checkUnnamed2720(core.List<api.InAppProduct> o) {
+checkUnnamed2825(core.List<api.InAppProduct> o) {
unittest.expect(o, unittest.hasLength(2));
checkInAppProduct(o[0]);
checkInAppProduct(o[1]);
@@ -966,7 +966,7 @@
var o = new api.InappproductsListResponse();
buildCounterInappproductsListResponse++;
if (buildCounterInappproductsListResponse < 3) {
- o.inappproduct = buildUnnamed2720();
+ o.inappproduct = buildUnnamed2825();
o.kind = "foo";
o.pageInfo = buildPageInfo();
o.tokenPagination = buildTokenPagination();
@@ -978,7 +978,7 @@
checkInappproductsListResponse(api.InappproductsListResponse o) {
buildCounterInappproductsListResponse++;
if (buildCounterInappproductsListResponse < 3) {
- checkUnnamed2720(o.inappproduct);
+ checkUnnamed2825(o.inappproduct);
unittest.expect(o.kind, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
checkTokenPagination(o.tokenPagination);
@@ -1051,14 +1051,14 @@
buildCounterListing--;
}
-buildUnnamed2721() {
+buildUnnamed2826() {
var o = new core.List<api.Listing>();
o.add(buildListing());
o.add(buildListing());
return o;
}
-checkUnnamed2721(core.List<api.Listing> o) {
+checkUnnamed2826(core.List<api.Listing> o) {
unittest.expect(o, unittest.hasLength(2));
checkListing(o[0]);
checkListing(o[1]);
@@ -1070,7 +1070,7 @@
buildCounterListingsListResponse++;
if (buildCounterListingsListResponse < 3) {
o.kind = "foo";
- o.listings = buildUnnamed2721();
+ o.listings = buildUnnamed2826();
}
buildCounterListingsListResponse--;
return o;
@@ -1080,7 +1080,7 @@
buildCounterListingsListResponse++;
if (buildCounterListingsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2721(o.listings);
+ checkUnnamed2826(o.listings);
}
buildCounterListingsListResponse--;
}
@@ -1198,14 +1198,14 @@
buildCounterProrate--;
}
-buildUnnamed2722() {
+buildUnnamed2827() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed2722(core.List<api.Comment> o) {
+checkUnnamed2827(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1217,7 +1217,7 @@
buildCounterReview++;
if (buildCounterReview < 3) {
o.authorName = "foo";
- o.comments = buildUnnamed2722();
+ o.comments = buildUnnamed2827();
o.reviewId = "foo";
}
buildCounterReview--;
@@ -1228,7 +1228,7 @@
buildCounterReview++;
if (buildCounterReview < 3) {
unittest.expect(o.authorName, unittest.equals('foo'));
- checkUnnamed2722(o.comments);
+ checkUnnamed2827(o.comments);
unittest.expect(o.reviewId, unittest.equals('foo'));
}
buildCounterReview--;
@@ -1255,14 +1255,14 @@
buildCounterReviewReplyResult--;
}
-buildUnnamed2723() {
+buildUnnamed2828() {
var o = new core.List<api.Review>();
o.add(buildReview());
o.add(buildReview());
return o;
}
-checkUnnamed2723(core.List<api.Review> o) {
+checkUnnamed2828(core.List<api.Review> o) {
unittest.expect(o, unittest.hasLength(2));
checkReview(o[0]);
checkReview(o[1]);
@@ -1274,7 +1274,7 @@
buildCounterReviewsListResponse++;
if (buildCounterReviewsListResponse < 3) {
o.pageInfo = buildPageInfo();
- o.reviews = buildUnnamed2723();
+ o.reviews = buildUnnamed2828();
o.tokenPagination = buildTokenPagination();
}
buildCounterReviewsListResponse--;
@@ -1285,7 +1285,7 @@
buildCounterReviewsListResponse++;
if (buildCounterReviewsListResponse < 3) {
checkPageInfo(o.pageInfo);
- checkUnnamed2723(o.reviews);
+ checkUnnamed2828(o.reviews);
checkTokenPagination(o.tokenPagination);
}
buildCounterReviewsListResponse--;
@@ -1329,14 +1329,14 @@
buildCounterReviewsReplyResponse--;
}
-buildUnnamed2724() {
+buildUnnamed2829() {
var o = new core.List<api.Prorate>();
o.add(buildProrate());
o.add(buildProrate());
return o;
}
-checkUnnamed2724(core.List<api.Prorate> o) {
+checkUnnamed2829(core.List<api.Prorate> o) {
unittest.expect(o, unittest.hasLength(2));
checkProrate(o[0]);
checkProrate(o[1]);
@@ -1348,7 +1348,7 @@
buildCounterSeason++;
if (buildCounterSeason < 3) {
o.end = buildMonthDay();
- o.prorations = buildUnnamed2724();
+ o.prorations = buildUnnamed2829();
o.start = buildMonthDay();
}
buildCounterSeason--;
@@ -1359,7 +1359,7 @@
buildCounterSeason++;
if (buildCounterSeason < 3) {
checkMonthDay(o.end);
- checkUnnamed2724(o.prorations);
+ checkUnnamed2829(o.prorations);
checkMonthDay(o.start);
}
buildCounterSeason--;
@@ -1463,27 +1463,27 @@
buildCounterSubscriptionPurchasesDeferResponse--;
}
-buildUnnamed2725() {
+buildUnnamed2830() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2725(core.List<core.String> o) {
+checkUnnamed2830(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2726() {
+buildUnnamed2831() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2726(core.List<core.String> o) {
+checkUnnamed2831(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1494,8 +1494,8 @@
var o = new api.Testers();
buildCounterTesters++;
if (buildCounterTesters < 3) {
- o.googleGroups = buildUnnamed2725();
- o.googlePlusCommunities = buildUnnamed2726();
+ o.googleGroups = buildUnnamed2830();
+ o.googlePlusCommunities = buildUnnamed2831();
}
buildCounterTesters--;
return o;
@@ -1504,8 +1504,8 @@
checkTesters(api.Testers o) {
buildCounterTesters++;
if (buildCounterTesters < 3) {
- checkUnnamed2725(o.googleGroups);
- checkUnnamed2726(o.googlePlusCommunities);
+ checkUnnamed2830(o.googleGroups);
+ checkUnnamed2831(o.googlePlusCommunities);
}
buildCounterTesters--;
}
@@ -1552,14 +1552,14 @@
buildCounterTokenPagination--;
}
-buildUnnamed2727() {
+buildUnnamed2832() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2727(core.List<core.int> o) {
+checkUnnamed2832(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -1572,7 +1572,7 @@
if (buildCounterTrack < 3) {
o.track = "foo";
o.userFraction = 42.0;
- o.versionCodes = buildUnnamed2727();
+ o.versionCodes = buildUnnamed2832();
}
buildCounterTrack--;
return o;
@@ -1583,19 +1583,19 @@
if (buildCounterTrack < 3) {
unittest.expect(o.track, unittest.equals('foo'));
unittest.expect(o.userFraction, unittest.equals(42.0));
- checkUnnamed2727(o.versionCodes);
+ checkUnnamed2832(o.versionCodes);
}
buildCounterTrack--;
}
-buildUnnamed2728() {
+buildUnnamed2833() {
var o = new core.List<api.Track>();
o.add(buildTrack());
o.add(buildTrack());
return o;
}
-checkUnnamed2728(core.List<api.Track> o) {
+checkUnnamed2833(core.List<api.Track> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrack(o[0]);
checkTrack(o[1]);
@@ -1607,7 +1607,7 @@
buildCounterTracksListResponse++;
if (buildCounterTracksListResponse < 3) {
o.kind = "foo";
- o.tracks = buildUnnamed2728();
+ o.tracks = buildUnnamed2833();
}
buildCounterTracksListResponse--;
return o;
@@ -1617,7 +1617,7 @@
buildCounterTracksListResponse++;
if (buildCounterTracksListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2728(o.tracks);
+ checkUnnamed2833(o.tracks);
}
buildCounterTracksListResponse--;
}
@@ -1688,14 +1688,14 @@
buildCounterVoidedPurchase--;
}
-buildUnnamed2729() {
+buildUnnamed2834() {
var o = new core.List<api.VoidedPurchase>();
o.add(buildVoidedPurchase());
o.add(buildVoidedPurchase());
return o;
}
-checkUnnamed2729(core.List<api.VoidedPurchase> o) {
+checkUnnamed2834(core.List<api.VoidedPurchase> o) {
unittest.expect(o, unittest.hasLength(2));
checkVoidedPurchase(o[0]);
checkVoidedPurchase(o[1]);
@@ -1708,7 +1708,7 @@
if (buildCounterVoidedPurchasesListResponse < 3) {
o.pageInfo = buildPageInfo();
o.tokenPagination = buildTokenPagination();
- o.voidedPurchases = buildUnnamed2729();
+ o.voidedPurchases = buildUnnamed2834();
}
buildCounterVoidedPurchasesListResponse--;
return o;
@@ -1719,7 +1719,7 @@
if (buildCounterVoidedPurchasesListResponse < 3) {
checkPageInfo(o.pageInfo);
checkTokenPagination(o.tokenPagination);
- checkUnnamed2729(o.voidedPurchases);
+ checkUnnamed2834(o.voidedPurchases);
}
buildCounterVoidedPurchasesListResponse--;
}
diff --git a/generated/googleapis/test/appengine/v1_test.dart b/generated/googleapis/test/appengine/v1_test.dart
index 89e0003..bd87e65 100644
--- a/generated/googleapis/test/appengine/v1_test.dart
+++ b/generated/googleapis/test/appengine/v1_test.dart
@@ -97,14 +97,14 @@
buildCounterApiEndpointHandler--;
}
-buildUnnamed2862() {
+buildUnnamed2967() {
var o = new core.List<api.UrlDispatchRule>();
o.add(buildUrlDispatchRule());
o.add(buildUrlDispatchRule());
return o;
}
-checkUnnamed2862(core.List<api.UrlDispatchRule> o) {
+checkUnnamed2967(core.List<api.UrlDispatchRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlDispatchRule(o[0]);
checkUrlDispatchRule(o[1]);
@@ -120,10 +120,13 @@
o.defaultBucket = "foo";
o.defaultCookieExpiration = "foo";
o.defaultHostname = "foo";
- o.dispatchRules = buildUnnamed2862();
+ o.dispatchRules = buildUnnamed2967();
+ o.gcrDomain = "foo";
+ o.iap = buildIdentityAwareProxy();
o.id = "foo";
o.locationId = "foo";
o.name = "foo";
+ o.servingStatus = "foo";
}
buildCounterApplication--;
return o;
@@ -137,10 +140,13 @@
unittest.expect(o.defaultBucket, unittest.equals('foo'));
unittest.expect(o.defaultCookieExpiration, unittest.equals('foo'));
unittest.expect(o.defaultHostname, unittest.equals('foo'));
- checkUnnamed2862(o.dispatchRules);
+ checkUnnamed2967(o.dispatchRules);
+ unittest.expect(o.gcrDomain, unittest.equals('foo'));
+ checkIdentityAwareProxy(o.iap);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.locationId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.servingStatus, unittest.equals('foo'));
}
buildCounterApplication--;
}
@@ -266,14 +272,14 @@
buildCounterDebugInstanceRequest--;
}
-buildUnnamed2863() {
+buildUnnamed2968() {
var o = new core.Map<core.String, api.FileInfo>();
o["x"] = buildFileInfo();
o["y"] = buildFileInfo();
return o;
}
-checkUnnamed2863(core.Map<core.String, api.FileInfo> o) {
+checkUnnamed2968(core.Map<core.String, api.FileInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileInfo(o["x"]);
checkFileInfo(o["y"]);
@@ -285,7 +291,7 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
o.container = buildContainerInfo();
- o.files = buildUnnamed2863();
+ o.files = buildUnnamed2968();
o.zip = buildZipInfo();
}
buildCounterDeployment--;
@@ -296,7 +302,7 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
checkContainerInfo(o.container);
- checkUnnamed2863(o.files);
+ checkUnnamed2968(o.files);
checkZipInfo(o.zip);
}
buildCounterDeployment--;
@@ -425,6 +431,31 @@
buildCounterHealthCheck--;
}
+core.int buildCounterIdentityAwareProxy = 0;
+buildIdentityAwareProxy() {
+ var o = new api.IdentityAwareProxy();
+ buildCounterIdentityAwareProxy++;
+ if (buildCounterIdentityAwareProxy < 3) {
+ o.enabled = true;
+ o.oauth2ClientId = "foo";
+ o.oauth2ClientSecret = "foo";
+ o.oauth2ClientSecretSha256 = "foo";
+ }
+ buildCounterIdentityAwareProxy--;
+ return o;
+}
+
+checkIdentityAwareProxy(api.IdentityAwareProxy o) {
+ buildCounterIdentityAwareProxy++;
+ if (buildCounterIdentityAwareProxy < 3) {
+ unittest.expect(o.enabled, unittest.isTrue);
+ unittest.expect(o.oauth2ClientId, unittest.equals('foo'));
+ unittest.expect(o.oauth2ClientSecret, unittest.equals('foo'));
+ unittest.expect(o.oauth2ClientSecretSha256, unittest.equals('foo'));
+ }
+ buildCounterIdentityAwareProxy--;
+}
+
core.int buildCounterInstance = 0;
buildInstance() {
var o = new api.Instance();
@@ -495,14 +526,14 @@
buildCounterLibrary--;
}
-buildUnnamed2864() {
+buildUnnamed2969() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed2864(core.List<api.Instance> o) {
+checkUnnamed2969(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -513,7 +544,7 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed2864();
+ o.instances = buildUnnamed2969();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -523,20 +554,20 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed2864(o.instances);
+ checkUnnamed2969(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed2865() {
+buildUnnamed2970() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed2865(core.List<api.Location> o) {
+checkUnnamed2970(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -547,7 +578,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed2865();
+ o.locations = buildUnnamed2970();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -557,20 +588,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed2865(o.locations);
+ checkUnnamed2970(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed2866() {
+buildUnnamed2971() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2866(core.List<api.Operation> o) {
+checkUnnamed2971(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -582,7 +613,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2866();
+ o.operations = buildUnnamed2971();
}
buildCounterListOperationsResponse--;
return o;
@@ -592,19 +623,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2866(o.operations);
+ checkUnnamed2971(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed2867() {
+buildUnnamed2972() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed2867(core.List<api.Service> o) {
+checkUnnamed2972(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -616,7 +647,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed2867();
+ o.services = buildUnnamed2972();
}
buildCounterListServicesResponse--;
return o;
@@ -626,19 +657,19 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2867(o.services);
+ checkUnnamed2972(o.services);
}
buildCounterListServicesResponse--;
}
-buildUnnamed2868() {
+buildUnnamed2973() {
var o = new core.List<api.Version>();
o.add(buildVersion());
o.add(buildVersion());
return o;
}
-checkUnnamed2868(core.List<api.Version> o) {
+checkUnnamed2973(core.List<api.Version> o) {
unittest.expect(o, unittest.hasLength(2));
checkVersion(o[0]);
checkVersion(o[1]);
@@ -650,7 +681,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
o.nextPageToken = "foo";
- o.versions = buildUnnamed2868();
+ o.versions = buildUnnamed2973();
}
buildCounterListVersionsResponse--;
return o;
@@ -660,32 +691,63 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2868(o.versions);
+ checkUnnamed2973(o.versions);
}
buildCounterListVersionsResponse--;
}
-buildUnnamed2869() {
+core.int buildCounterLivenessCheck = 0;
+buildLivenessCheck() {
+ var o = new api.LivenessCheck();
+ buildCounterLivenessCheck++;
+ if (buildCounterLivenessCheck < 3) {
+ o.checkInterval = "foo";
+ o.failureThreshold = 42;
+ o.host = "foo";
+ o.initialDelay = "foo";
+ o.path = "foo";
+ o.successThreshold = 42;
+ o.timeout = "foo";
+ }
+ buildCounterLivenessCheck--;
+ return o;
+}
+
+checkLivenessCheck(api.LivenessCheck o) {
+ buildCounterLivenessCheck++;
+ if (buildCounterLivenessCheck < 3) {
+ unittest.expect(o.checkInterval, unittest.equals('foo'));
+ unittest.expect(o.failureThreshold, unittest.equals(42));
+ unittest.expect(o.host, unittest.equals('foo'));
+ unittest.expect(o.initialDelay, unittest.equals('foo'));
+ unittest.expect(o.path, unittest.equals('foo'));
+ unittest.expect(o.successThreshold, unittest.equals(42));
+ unittest.expect(o.timeout, unittest.equals('foo'));
+ }
+ buildCounterLivenessCheck--;
+}
+
+buildUnnamed2974() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2869(core.Map<core.String, core.String> o) {
+checkUnnamed2974(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2870() {
+buildUnnamed2975() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2870(core.Map<core.String, core.Object> o) {
+checkUnnamed2975(core.Map<core.String, core.Object> 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'));
@@ -696,9 +758,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed2869();
+ o.labels = buildUnnamed2974();
o.locationId = "foo";
- o.metadata = buildUnnamed2870();
+ o.metadata = buildUnnamed2975();
o.name = "foo";
}
buildCounterLocation--;
@@ -708,9 +770,9 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed2869(o.labels);
+ checkUnnamed2974(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed2870(o.metadata);
+ checkUnnamed2975(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -756,14 +818,14 @@
buildCounterManualScaling--;
}
-buildUnnamed2871() {
+buildUnnamed2976() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2871(core.List<core.String> o) {
+checkUnnamed2976(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -774,7 +836,7 @@
var o = new api.Network();
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- o.forwardedPorts = buildUnnamed2871();
+ o.forwardedPorts = buildUnnamed2976();
o.instanceTag = "foo";
o.name = "foo";
o.subnetworkName = "foo";
@@ -786,7 +848,7 @@
checkNetwork(api.Network o) {
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- checkUnnamed2871(o.forwardedPorts);
+ checkUnnamed2976(o.forwardedPorts);
unittest.expect(o.instanceTag, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.subnetworkName, unittest.equals('foo'));
@@ -819,27 +881,27 @@
buildCounterNetworkUtilization--;
}
-buildUnnamed2872() {
+buildUnnamed2977() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2872(core.Map<core.String, core.Object> o) {
+checkUnnamed2977(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed2873() {
+buildUnnamed2978() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2873(core.Map<core.String, core.Object> o) {
+checkUnnamed2978(core.Map<core.String, core.Object> 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'));
@@ -852,9 +914,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2872();
+ o.metadata = buildUnnamed2977();
o.name = "foo";
- o.response = buildUnnamed2873();
+ o.response = buildUnnamed2978();
}
buildCounterOperation--;
return o;
@@ -865,9 +927,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2872(o.metadata);
+ checkUnnamed2977(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2873(o.response);
+ checkUnnamed2978(o.response);
}
buildCounterOperation--;
}
@@ -928,14 +990,14 @@
buildCounterOperationMetadataExperimental--;
}
-buildUnnamed2874() {
+buildUnnamed2979() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2874(core.List<core.String> o) {
+checkUnnamed2979(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -952,7 +1014,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed2874();
+ o.warning = buildUnnamed2979();
}
buildCounterOperationMetadataV1--;
return o;
@@ -967,11 +1029,55 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed2874(o.warning);
+ checkUnnamed2979(o.warning);
}
buildCounterOperationMetadataV1--;
}
+buildUnnamed2980() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2980(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterOperationMetadataV1Beta = 0;
+buildOperationMetadataV1Beta() {
+ var o = new api.OperationMetadataV1Beta();
+ buildCounterOperationMetadataV1Beta++;
+ if (buildCounterOperationMetadataV1Beta < 3) {
+ o.endTime = "foo";
+ o.ephemeralMessage = "foo";
+ o.insertTime = "foo";
+ o.method = "foo";
+ o.target = "foo";
+ o.user = "foo";
+ o.warning = buildUnnamed2980();
+ }
+ buildCounterOperationMetadataV1Beta--;
+ return o;
+}
+
+checkOperationMetadataV1Beta(api.OperationMetadataV1Beta o) {
+ buildCounterOperationMetadataV1Beta++;
+ if (buildCounterOperationMetadataV1Beta < 3) {
+ unittest.expect(o.endTime, unittest.equals('foo'));
+ unittest.expect(o.ephemeralMessage, unittest.equals('foo'));
+ unittest.expect(o.insertTime, unittest.equals('foo'));
+ unittest.expect(o.method, unittest.equals('foo'));
+ unittest.expect(o.target, unittest.equals('foo'));
+ unittest.expect(o.user, unittest.equals('foo'));
+ checkUnnamed2980(o.warning);
+ }
+ buildCounterOperationMetadataV1Beta--;
+}
+
core.int buildCounterOperationMetadataV1Beta5 = 0;
buildOperationMetadataV1Beta5() {
var o = new api.OperationMetadataV1Beta5();
@@ -999,6 +1105,35 @@
buildCounterOperationMetadataV1Beta5--;
}
+core.int buildCounterReadinessCheck = 0;
+buildReadinessCheck() {
+ var o = new api.ReadinessCheck();
+ buildCounterReadinessCheck++;
+ if (buildCounterReadinessCheck < 3) {
+ o.checkInterval = "foo";
+ o.failureThreshold = 42;
+ o.host = "foo";
+ o.path = "foo";
+ o.successThreshold = 42;
+ o.timeout = "foo";
+ }
+ buildCounterReadinessCheck--;
+ return o;
+}
+
+checkReadinessCheck(api.ReadinessCheck o) {
+ buildCounterReadinessCheck++;
+ if (buildCounterReadinessCheck < 3) {
+ unittest.expect(o.checkInterval, unittest.equals('foo'));
+ unittest.expect(o.failureThreshold, unittest.equals(42));
+ unittest.expect(o.host, unittest.equals('foo'));
+ unittest.expect(o.path, unittest.equals('foo'));
+ unittest.expect(o.successThreshold, unittest.equals(42));
+ unittest.expect(o.timeout, unittest.equals('foo'));
+ }
+ buildCounterReadinessCheck--;
+}
+
core.int buildCounterRepairApplicationRequest = 0;
buildRepairApplicationRequest() {
var o = new api.RepairApplicationRequest();
@@ -1037,14 +1172,14 @@
buildCounterRequestUtilization--;
}
-buildUnnamed2875() {
+buildUnnamed2981() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed2875(core.List<api.Volume> o) {
+checkUnnamed2981(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1058,7 +1193,7 @@
o.cpu = 42.0;
o.diskGb = 42.0;
o.memoryGb = 42.0;
- o.volumes = buildUnnamed2875();
+ o.volumes = buildUnnamed2981();
}
buildCounterResources--;
return o;
@@ -1070,7 +1205,7 @@
unittest.expect(o.cpu, unittest.equals(42.0));
unittest.expect(o.diskGb, unittest.equals(42.0));
unittest.expect(o.memoryGb, unittest.equals(42.0));
- checkUnnamed2875(o.volumes);
+ checkUnnamed2981(o.volumes);
}
buildCounterResources--;
}
@@ -1117,14 +1252,14 @@
buildCounterService--;
}
-buildUnnamed2876() {
+buildUnnamed2982() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2876(core.Map<core.String, core.String> o) {
+checkUnnamed2982(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1137,7 +1272,7 @@
if (buildCounterStaticFilesHandler < 3) {
o.applicationReadable = true;
o.expiration = "foo";
- o.httpHeaders = buildUnnamed2876();
+ o.httpHeaders = buildUnnamed2982();
o.mimeType = "foo";
o.path = "foo";
o.requireMatchingFile = true;
@@ -1152,7 +1287,7 @@
if (buildCounterStaticFilesHandler < 3) {
unittest.expect(o.applicationReadable, unittest.isTrue);
unittest.expect(o.expiration, unittest.equals('foo'));
- checkUnnamed2876(o.httpHeaders);
+ checkUnnamed2982(o.httpHeaders);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.requireMatchingFile, unittest.isTrue);
@@ -1161,30 +1296,30 @@
buildCounterStaticFilesHandler--;
}
-buildUnnamed2877() {
+buildUnnamed2983() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2877(core.Map<core.String, core.Object> o) {
+checkUnnamed2983(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed2878() {
+buildUnnamed2984() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2877());
- o.add(buildUnnamed2877());
+ o.add(buildUnnamed2983());
+ o.add(buildUnnamed2983());
return o;
}
-checkUnnamed2878(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2984(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2877(o[0]);
- checkUnnamed2877(o[1]);
+ checkUnnamed2983(o[0]);
+ checkUnnamed2983(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1193,7 +1328,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2878();
+ o.details = buildUnnamed2984();
o.message = "foo";
}
buildCounterStatus--;
@@ -1204,20 +1339,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2878(o.details);
+ checkUnnamed2984(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed2879() {
+buildUnnamed2985() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed2879(core.Map<core.String, core.double> o) {
+checkUnnamed2985(core.Map<core.String, core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42.0));
unittest.expect(o["y"], unittest.equals(42.0));
@@ -1228,7 +1363,7 @@
var o = new api.TrafficSplit();
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- o.allocations = buildUnnamed2879();
+ o.allocations = buildUnnamed2985();
o.shardBy = "foo";
}
buildCounterTrafficSplit--;
@@ -1238,7 +1373,7 @@
checkTrafficSplit(api.TrafficSplit o) {
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- checkUnnamed2879(o.allocations);
+ checkUnnamed2985(o.allocations);
unittest.expect(o.shardBy, unittest.equals('foo'));
}
buildCounterTrafficSplit--;
@@ -1300,79 +1435,79 @@
buildCounterUrlMap--;
}
-buildUnnamed2880() {
+buildUnnamed2986() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2880(core.Map<core.String, core.String> o) {
+checkUnnamed2986(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2881() {
+buildUnnamed2987() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2881(core.Map<core.String, core.String> o) {
+checkUnnamed2987(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2882() {
+buildUnnamed2988() {
var o = new core.List<api.ErrorHandler>();
o.add(buildErrorHandler());
o.add(buildErrorHandler());
return o;
}
-checkUnnamed2882(core.List<api.ErrorHandler> o) {
+checkUnnamed2988(core.List<api.ErrorHandler> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorHandler(o[0]);
checkErrorHandler(o[1]);
}
-buildUnnamed2883() {
+buildUnnamed2989() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed2883(core.List<api.UrlMap> o) {
+checkUnnamed2989(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
}
-buildUnnamed2884() {
+buildUnnamed2990() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2884(core.List<core.String> o) {
+checkUnnamed2990(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2885() {
+buildUnnamed2991() {
var o = new core.List<api.Library>();
o.add(buildLibrary());
o.add(buildLibrary());
return o;
}
-checkUnnamed2885(core.List<api.Library> o) {
+checkUnnamed2991(core.List<api.Library> o) {
unittest.expect(o, unittest.hasLength(2));
checkLibrary(o[0]);
checkLibrary(o[1]);
@@ -1386,7 +1521,7 @@
o.apiConfig = buildApiConfigHandler();
o.automaticScaling = buildAutomaticScaling();
o.basicScaling = buildBasicScaling();
- o.betaSettings = buildUnnamed2880();
+ o.betaSettings = buildUnnamed2986();
o.createTime = "foo";
o.createdBy = "foo";
o.defaultExpiration = "foo";
@@ -1394,18 +1529,20 @@
o.diskUsageBytes = "foo";
o.endpointsApiService = buildEndpointsApiService();
o.env = "foo";
- o.envVariables = buildUnnamed2881();
- o.errorHandlers = buildUnnamed2882();
- o.handlers = buildUnnamed2883();
+ o.envVariables = buildUnnamed2987();
+ o.errorHandlers = buildUnnamed2988();
+ o.handlers = buildUnnamed2989();
o.healthCheck = buildHealthCheck();
o.id = "foo";
- o.inboundServices = buildUnnamed2884();
+ o.inboundServices = buildUnnamed2990();
o.instanceClass = "foo";
- o.libraries = buildUnnamed2885();
+ o.libraries = buildUnnamed2991();
+ o.livenessCheck = buildLivenessCheck();
o.manualScaling = buildManualScaling();
o.name = "foo";
o.network = buildNetwork();
o.nobuildFilesRegex = "foo";
+ o.readinessCheck = buildReadinessCheck();
o.resources = buildResources();
o.runtime = "foo";
o.servingStatus = "foo";
@@ -1423,7 +1560,7 @@
checkApiConfigHandler(o.apiConfig);
checkAutomaticScaling(o.automaticScaling);
checkBasicScaling(o.basicScaling);
- checkUnnamed2880(o.betaSettings);
+ checkUnnamed2986(o.betaSettings);
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.createdBy, unittest.equals('foo'));
unittest.expect(o.defaultExpiration, unittest.equals('foo'));
@@ -1431,18 +1568,20 @@
unittest.expect(o.diskUsageBytes, unittest.equals('foo'));
checkEndpointsApiService(o.endpointsApiService);
unittest.expect(o.env, unittest.equals('foo'));
- checkUnnamed2881(o.envVariables);
- checkUnnamed2882(o.errorHandlers);
- checkUnnamed2883(o.handlers);
+ checkUnnamed2987(o.envVariables);
+ checkUnnamed2988(o.errorHandlers);
+ checkUnnamed2989(o.handlers);
checkHealthCheck(o.healthCheck);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2884(o.inboundServices);
+ checkUnnamed2990(o.inboundServices);
unittest.expect(o.instanceClass, unittest.equals('foo'));
- checkUnnamed2885(o.libraries);
+ checkUnnamed2991(o.libraries);
+ checkLivenessCheck(o.livenessCheck);
checkManualScaling(o.manualScaling);
unittest.expect(o.name, unittest.equals('foo'));
checkNetwork(o.network);
unittest.expect(o.nobuildFilesRegex, unittest.equals('foo'));
+ checkReadinessCheck(o.readinessCheck);
checkResources(o.resources);
unittest.expect(o.runtime, unittest.equals('foo'));
unittest.expect(o.servingStatus, unittest.equals('foo'));
@@ -1625,6 +1764,15 @@
});
+ unittest.group("obj-schema-IdentityAwareProxy", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildIdentityAwareProxy();
+ var od = new api.IdentityAwareProxy.fromJson(o.toJson());
+ checkIdentityAwareProxy(od);
+ });
+ });
+
+
unittest.group("obj-schema-Instance", () {
unittest.test("to-json--from-json", () {
var o = buildInstance();
@@ -1688,6 +1836,15 @@
});
+ unittest.group("obj-schema-LivenessCheck", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLivenessCheck();
+ var od = new api.LivenessCheck.fromJson(o.toJson());
+ checkLivenessCheck(od);
+ });
+ });
+
+
unittest.group("obj-schema-Location", () {
unittest.test("to-json--from-json", () {
var o = buildLocation();
@@ -1769,6 +1926,15 @@
});
+ unittest.group("obj-schema-OperationMetadataV1Beta", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOperationMetadataV1Beta();
+ var od = new api.OperationMetadataV1Beta.fromJson(o.toJson());
+ checkOperationMetadataV1Beta(od);
+ });
+ });
+
+
unittest.group("obj-schema-OperationMetadataV1Beta5", () {
unittest.test("to-json--from-json", () {
var o = buildOperationMetadataV1Beta5();
@@ -1778,6 +1944,15 @@
});
+ unittest.group("obj-schema-ReadinessCheck", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReadinessCheck();
+ var od = new api.ReadinessCheck.fromJson(o.toJson());
+ checkReadinessCheck(od);
+ });
+ });
+
+
unittest.group("obj-schema-RepairApplicationRequest", () {
unittest.test("to-json--from-json", () {
var o = buildRepairApplicationRequest();
diff --git a/generated/googleapis/test/appsactivity/v1_test.dart b/generated/googleapis/test/appsactivity/v1_test.dart
index 4f46881..f424664 100644
--- a/generated/googleapis/test/appsactivity/v1_test.dart
+++ b/generated/googleapis/test/appsactivity/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed988() {
+buildUnnamed1014() {
var o = new core.List<api.Event>();
o.add(buildEvent());
o.add(buildEvent());
return o;
}
-checkUnnamed988(core.List<api.Event> o) {
+checkUnnamed1014(core.List<api.Event> o) {
unittest.expect(o, unittest.hasLength(2));
checkEvent(o[0]);
checkEvent(o[1]);
@@ -70,7 +70,7 @@
buildCounterActivity++;
if (buildCounterActivity < 3) {
o.combinedEvent = buildEvent();
- o.singleEvents = buildUnnamed988();
+ o.singleEvents = buildUnnamed1014();
}
buildCounterActivity--;
return o;
@@ -80,32 +80,32 @@
buildCounterActivity++;
if (buildCounterActivity < 3) {
checkEvent(o.combinedEvent);
- checkUnnamed988(o.singleEvents);
+ checkUnnamed1014(o.singleEvents);
}
buildCounterActivity--;
}
-buildUnnamed989() {
+buildUnnamed1015() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed989(core.List<core.String> o) {
+checkUnnamed1015(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed990() {
+buildUnnamed1016() {
var o = new core.List<api.PermissionChange>();
o.add(buildPermissionChange());
o.add(buildPermissionChange());
return o;
}
-checkUnnamed990(core.List<api.PermissionChange> o) {
+checkUnnamed1016(core.List<api.PermissionChange> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionChange(o[0]);
checkPermissionChange(o[1]);
@@ -116,11 +116,11 @@
var o = new api.Event();
buildCounterEvent++;
if (buildCounterEvent < 3) {
- o.additionalEventTypes = buildUnnamed989();
+ o.additionalEventTypes = buildUnnamed1015();
o.eventTimeMillis = "foo";
o.fromUserDeletion = true;
o.move = buildMove();
- o.permissionChanges = buildUnnamed990();
+ o.permissionChanges = buildUnnamed1016();
o.primaryEventType = "foo";
o.rename = buildRename();
o.target = buildTarget();
@@ -133,11 +133,11 @@
checkEvent(api.Event o) {
buildCounterEvent++;
if (buildCounterEvent < 3) {
- checkUnnamed989(o.additionalEventTypes);
+ checkUnnamed1015(o.additionalEventTypes);
unittest.expect(o.eventTimeMillis, unittest.equals('foo'));
unittest.expect(o.fromUserDeletion, unittest.isTrue);
checkMove(o.move);
- checkUnnamed990(o.permissionChanges);
+ checkUnnamed1016(o.permissionChanges);
unittest.expect(o.primaryEventType, unittest.equals('foo'));
checkRename(o.rename);
checkTarget(o.target);
@@ -146,14 +146,14 @@
buildCounterEvent--;
}
-buildUnnamed991() {
+buildUnnamed1017() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed991(core.List<api.Activity> o) {
+checkUnnamed1017(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -164,7 +164,7 @@
var o = new api.ListActivitiesResponse();
buildCounterListActivitiesResponse++;
if (buildCounterListActivitiesResponse < 3) {
- o.activities = buildUnnamed991();
+ o.activities = buildUnnamed1017();
o.nextPageToken = "foo";
}
buildCounterListActivitiesResponse--;
@@ -174,33 +174,33 @@
checkListActivitiesResponse(api.ListActivitiesResponse o) {
buildCounterListActivitiesResponse++;
if (buildCounterListActivitiesResponse < 3) {
- checkUnnamed991(o.activities);
+ checkUnnamed1017(o.activities);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListActivitiesResponse--;
}
-buildUnnamed992() {
+buildUnnamed1018() {
var o = new core.List<api.Parent>();
o.add(buildParent());
o.add(buildParent());
return o;
}
-checkUnnamed992(core.List<api.Parent> o) {
+checkUnnamed1018(core.List<api.Parent> o) {
unittest.expect(o, unittest.hasLength(2));
checkParent(o[0]);
checkParent(o[1]);
}
-buildUnnamed993() {
+buildUnnamed1019() {
var o = new core.List<api.Parent>();
o.add(buildParent());
o.add(buildParent());
return o;
}
-checkUnnamed993(core.List<api.Parent> o) {
+checkUnnamed1019(core.List<api.Parent> o) {
unittest.expect(o, unittest.hasLength(2));
checkParent(o[0]);
checkParent(o[1]);
@@ -211,8 +211,8 @@
var o = new api.Move();
buildCounterMove++;
if (buildCounterMove < 3) {
- o.addedParents = buildUnnamed992();
- o.removedParents = buildUnnamed993();
+ o.addedParents = buildUnnamed1018();
+ o.removedParents = buildUnnamed1019();
}
buildCounterMove--;
return o;
@@ -221,8 +221,8 @@
checkMove(api.Move o) {
buildCounterMove++;
if (buildCounterMove < 3) {
- checkUnnamed992(o.addedParents);
- checkUnnamed993(o.removedParents);
+ checkUnnamed1018(o.addedParents);
+ checkUnnamed1019(o.removedParents);
}
buildCounterMove--;
}
@@ -279,27 +279,27 @@
buildCounterPermission--;
}
-buildUnnamed994() {
+buildUnnamed1020() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed994(core.List<api.Permission> o) {
+checkUnnamed1020(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
}
-buildUnnamed995() {
+buildUnnamed1021() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed995(core.List<api.Permission> o) {
+checkUnnamed1021(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -310,8 +310,8 @@
var o = new api.PermissionChange();
buildCounterPermissionChange++;
if (buildCounterPermissionChange < 3) {
- o.addedPermissions = buildUnnamed994();
- o.removedPermissions = buildUnnamed995();
+ o.addedPermissions = buildUnnamed1020();
+ o.removedPermissions = buildUnnamed1021();
}
buildCounterPermissionChange--;
return o;
@@ -320,8 +320,8 @@
checkPermissionChange(api.PermissionChange o) {
buildCounterPermissionChange++;
if (buildCounterPermissionChange < 3) {
- checkUnnamed994(o.addedPermissions);
- checkUnnamed995(o.removedPermissions);
+ checkUnnamed1020(o.addedPermissions);
+ checkUnnamed1021(o.removedPermissions);
}
buildCounterPermissionChange--;
}
diff --git a/generated/googleapis/test/appstate/v1_test.dart b/generated/googleapis/test/appstate/v1_test.dart
index 5a419b4..ee4696f 100644
--- a/generated/googleapis/test/appstate/v1_test.dart
+++ b/generated/googleapis/test/appstate/v1_test.dart
@@ -76,14 +76,14 @@
buildCounterGetResponse--;
}
-buildUnnamed2696() {
+buildUnnamed2801() {
var o = new core.List<api.GetResponse>();
o.add(buildGetResponse());
o.add(buildGetResponse());
return o;
}
-checkUnnamed2696(core.List<api.GetResponse> o) {
+checkUnnamed2801(core.List<api.GetResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkGetResponse(o[0]);
checkGetResponse(o[1]);
@@ -94,7 +94,7 @@
var o = new api.ListResponse();
buildCounterListResponse++;
if (buildCounterListResponse < 3) {
- o.items = buildUnnamed2696();
+ o.items = buildUnnamed2801();
o.kind = "foo";
o.maximumKeyCount = 42;
}
@@ -105,7 +105,7 @@
checkListResponse(api.ListResponse o) {
buildCounterListResponse++;
if (buildCounterListResponse < 3) {
- checkUnnamed2696(o.items);
+ checkUnnamed2801(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.maximumKeyCount, unittest.equals(42));
}
diff --git a/generated/googleapis/test/bigquery/v2_test.dart b/generated/googleapis/test/bigquery/v2_test.dart
index b0be8b5..1ff1748 100644
--- a/generated/googleapis/test/bigquery/v2_test.dart
+++ b/generated/googleapis/test/bigquery/v2_test.dart
@@ -80,14 +80,14 @@
buildCounterBigtableColumn--;
}
-buildUnnamed2889() {
+buildUnnamed2995() {
var o = new core.List<api.BigtableColumn>();
o.add(buildBigtableColumn());
o.add(buildBigtableColumn());
return o;
}
-checkUnnamed2889(core.List<api.BigtableColumn> o) {
+checkUnnamed2995(core.List<api.BigtableColumn> o) {
unittest.expect(o, unittest.hasLength(2));
checkBigtableColumn(o[0]);
checkBigtableColumn(o[1]);
@@ -98,7 +98,7 @@
var o = new api.BigtableColumnFamily();
buildCounterBigtableColumnFamily++;
if (buildCounterBigtableColumnFamily < 3) {
- o.columns = buildUnnamed2889();
+ o.columns = buildUnnamed2995();
o.encoding = "foo";
o.familyId = "foo";
o.onlyReadLatest = true;
@@ -111,7 +111,7 @@
checkBigtableColumnFamily(api.BigtableColumnFamily o) {
buildCounterBigtableColumnFamily++;
if (buildCounterBigtableColumnFamily < 3) {
- checkUnnamed2889(o.columns);
+ checkUnnamed2995(o.columns);
unittest.expect(o.encoding, unittest.equals('foo'));
unittest.expect(o.familyId, unittest.equals('foo'));
unittest.expect(o.onlyReadLatest, unittest.isTrue);
@@ -120,14 +120,14 @@
buildCounterBigtableColumnFamily--;
}
-buildUnnamed2890() {
+buildUnnamed2996() {
var o = new core.List<api.BigtableColumnFamily>();
o.add(buildBigtableColumnFamily());
o.add(buildBigtableColumnFamily());
return o;
}
-checkUnnamed2890(core.List<api.BigtableColumnFamily> o) {
+checkUnnamed2996(core.List<api.BigtableColumnFamily> o) {
unittest.expect(o, unittest.hasLength(2));
checkBigtableColumnFamily(o[0]);
checkBigtableColumnFamily(o[1]);
@@ -138,7 +138,7 @@
var o = new api.BigtableOptions();
buildCounterBigtableOptions++;
if (buildCounterBigtableOptions < 3) {
- o.columnFamilies = buildUnnamed2890();
+ o.columnFamilies = buildUnnamed2996();
o.ignoreUnspecifiedColumnFamilies = true;
o.readRowkeyAsString = true;
}
@@ -149,7 +149,7 @@
checkBigtableOptions(api.BigtableOptions o) {
buildCounterBigtableOptions++;
if (buildCounterBigtableOptions < 3) {
- checkUnnamed2890(o.columnFamilies);
+ checkUnnamed2996(o.columnFamilies);
unittest.expect(o.ignoreUnspecifiedColumnFamilies, unittest.isTrue);
unittest.expect(o.readRowkeyAsString, unittest.isTrue);
}
@@ -214,27 +214,27 @@
buildCounterDatasetAccess--;
}
-buildUnnamed2891() {
+buildUnnamed2997() {
var o = new core.List<api.DatasetAccess>();
o.add(buildDatasetAccess());
o.add(buildDatasetAccess());
return o;
}
-checkUnnamed2891(core.List<api.DatasetAccess> o) {
+checkUnnamed2997(core.List<api.DatasetAccess> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatasetAccess(o[0]);
checkDatasetAccess(o[1]);
}
-buildUnnamed2892() {
+buildUnnamed2998() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2892(core.Map<core.String, core.String> o) {
+checkUnnamed2998(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -245,7 +245,7 @@
var o = new api.Dataset();
buildCounterDataset++;
if (buildCounterDataset < 3) {
- o.access = buildUnnamed2891();
+ o.access = buildUnnamed2997();
o.creationTime = "foo";
o.datasetReference = buildDatasetReference();
o.defaultTableExpirationMs = "foo";
@@ -254,7 +254,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed2892();
+ o.labels = buildUnnamed2998();
o.lastModifiedTime = "foo";
o.location = "foo";
o.selfLink = "foo";
@@ -266,7 +266,7 @@
checkDataset(api.Dataset o) {
buildCounterDataset++;
if (buildCounterDataset < 3) {
- checkUnnamed2891(o.access);
+ checkUnnamed2997(o.access);
unittest.expect(o.creationTime, unittest.equals('foo'));
checkDatasetReference(o.datasetReference);
unittest.expect(o.defaultTableExpirationMs, unittest.equals('foo'));
@@ -275,7 +275,7 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2892(o.labels);
+ checkUnnamed2998(o.labels);
unittest.expect(o.lastModifiedTime, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -283,14 +283,14 @@
buildCounterDataset--;
}
-buildUnnamed2893() {
+buildUnnamed2999() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2893(core.Map<core.String, core.String> o) {
+checkUnnamed2999(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -305,7 +305,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed2893();
+ o.labels = buildUnnamed2999();
}
buildCounterDatasetListDatasets--;
return o;
@@ -318,19 +318,19 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2893(o.labels);
+ checkUnnamed2999(o.labels);
}
buildCounterDatasetListDatasets--;
}
-buildUnnamed2894() {
+buildUnnamed3000() {
var o = new core.List<api.DatasetListDatasets>();
o.add(buildDatasetListDatasets());
o.add(buildDatasetListDatasets());
return o;
}
-checkUnnamed2894(core.List<api.DatasetListDatasets> o) {
+checkUnnamed3000(core.List<api.DatasetListDatasets> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatasetListDatasets(o[0]);
checkDatasetListDatasets(o[1]);
@@ -341,7 +341,7 @@
var o = new api.DatasetList();
buildCounterDatasetList++;
if (buildCounterDatasetList < 3) {
- o.datasets = buildUnnamed2894();
+ o.datasets = buildUnnamed3000();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -353,7 +353,7 @@
checkDatasetList(api.DatasetList o) {
buildCounterDatasetList++;
if (buildCounterDatasetList < 3) {
- checkUnnamed2894(o.datasets);
+ checkUnnamed3000(o.datasets);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -407,14 +407,14 @@
buildCounterErrorProto--;
}
-buildUnnamed2895() {
+buildUnnamed3001() {
var o = new core.List<api.ExplainQueryStep>();
o.add(buildExplainQueryStep());
o.add(buildExplainQueryStep());
return o;
}
-checkUnnamed2895(core.List<api.ExplainQueryStep> o) {
+checkUnnamed3001(core.List<api.ExplainQueryStep> o) {
unittest.expect(o, unittest.hasLength(2));
checkExplainQueryStep(o[0]);
checkExplainQueryStep(o[1]);
@@ -434,7 +434,7 @@
o.recordsRead = "foo";
o.recordsWritten = "foo";
o.status = "foo";
- o.steps = buildUnnamed2895();
+ o.steps = buildUnnamed3001();
o.waitRatioAvg = 42.0;
o.waitRatioMax = 42.0;
o.writeRatioAvg = 42.0;
@@ -456,7 +456,7 @@
unittest.expect(o.recordsRead, unittest.equals('foo'));
unittest.expect(o.recordsWritten, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed2895(o.steps);
+ checkUnnamed3001(o.steps);
unittest.expect(o.waitRatioAvg, unittest.equals(42.0));
unittest.expect(o.waitRatioMax, unittest.equals(42.0));
unittest.expect(o.writeRatioAvg, unittest.equals(42.0));
@@ -465,14 +465,14 @@
buildCounterExplainQueryStage--;
}
-buildUnnamed2896() {
+buildUnnamed3002() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2896(core.List<core.String> o) {
+checkUnnamed3002(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -484,7 +484,7 @@
buildCounterExplainQueryStep++;
if (buildCounterExplainQueryStep < 3) {
o.kind = "foo";
- o.substeps = buildUnnamed2896();
+ o.substeps = buildUnnamed3002();
}
buildCounterExplainQueryStep--;
return o;
@@ -494,19 +494,19 @@
buildCounterExplainQueryStep++;
if (buildCounterExplainQueryStep < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2896(o.substeps);
+ checkUnnamed3002(o.substeps);
}
buildCounterExplainQueryStep--;
}
-buildUnnamed2897() {
+buildUnnamed3003() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2897(core.List<core.String> o) {
+checkUnnamed3003(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -526,7 +526,7 @@
o.maxBadRecords = 42;
o.schema = buildTableSchema();
o.sourceFormat = "foo";
- o.sourceUris = buildUnnamed2897();
+ o.sourceUris = buildUnnamed3003();
}
buildCounterExternalDataConfiguration--;
return o;
@@ -544,32 +544,32 @@
unittest.expect(o.maxBadRecords, unittest.equals(42));
checkTableSchema(o.schema);
unittest.expect(o.sourceFormat, unittest.equals('foo'));
- checkUnnamed2897(o.sourceUris);
+ checkUnnamed3003(o.sourceUris);
}
buildCounterExternalDataConfiguration--;
}
-buildUnnamed2898() {
+buildUnnamed3004() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed2898(core.List<api.ErrorProto> o) {
+checkUnnamed3004(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
}
-buildUnnamed2899() {
+buildUnnamed3005() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed2899(core.List<api.TableRow> o) {
+checkUnnamed3005(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -581,14 +581,14 @@
buildCounterGetQueryResultsResponse++;
if (buildCounterGetQueryResultsResponse < 3) {
o.cacheHit = true;
- o.errors = buildUnnamed2898();
+ o.errors = buildUnnamed3004();
o.etag = "foo";
o.jobComplete = true;
o.jobReference = buildJobReference();
o.kind = "foo";
o.numDmlAffectedRows = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed2899();
+ o.rows = buildUnnamed3005();
o.schema = buildTableSchema();
o.totalBytesProcessed = "foo";
o.totalRows = "foo";
@@ -601,14 +601,14 @@
buildCounterGetQueryResultsResponse++;
if (buildCounterGetQueryResultsResponse < 3) {
unittest.expect(o.cacheHit, unittest.isTrue);
- checkUnnamed2898(o.errors);
+ checkUnnamed3004(o.errors);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.jobComplete, unittest.isTrue);
checkJobReference(o.jobReference);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.numDmlAffectedRows, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed2899(o.rows);
+ checkUnnamed3005(o.rows);
checkTableSchema(o.schema);
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
unittest.expect(o.totalRows, unittest.equals('foo'));
@@ -691,14 +691,14 @@
buildCounterJobCancelResponse--;
}
-buildUnnamed2900() {
+buildUnnamed3006() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2900(core.Map<core.String, core.String> o) {
+checkUnnamed3006(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -712,7 +712,7 @@
o.copy = buildJobConfigurationTableCopy();
o.dryRun = true;
o.extract = buildJobConfigurationExtract();
- o.labels = buildUnnamed2900();
+ o.labels = buildUnnamed3006();
o.load = buildJobConfigurationLoad();
o.query = buildJobConfigurationQuery();
}
@@ -726,21 +726,21 @@
checkJobConfigurationTableCopy(o.copy);
unittest.expect(o.dryRun, unittest.isTrue);
checkJobConfigurationExtract(o.extract);
- checkUnnamed2900(o.labels);
+ checkUnnamed3006(o.labels);
checkJobConfigurationLoad(o.load);
checkJobConfigurationQuery(o.query);
}
buildCounterJobConfiguration--;
}
-buildUnnamed2901() {
+buildUnnamed3007() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2901(core.List<core.String> o) {
+checkUnnamed3007(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -754,7 +754,7 @@
o.compression = "foo";
o.destinationFormat = "foo";
o.destinationUri = "foo";
- o.destinationUris = buildUnnamed2901();
+ o.destinationUris = buildUnnamed3007();
o.fieldDelimiter = "foo";
o.printHeader = true;
o.sourceTable = buildTableReference();
@@ -769,7 +769,7 @@
unittest.expect(o.compression, unittest.equals('foo'));
unittest.expect(o.destinationFormat, unittest.equals('foo'));
unittest.expect(o.destinationUri, unittest.equals('foo'));
- checkUnnamed2901(o.destinationUris);
+ checkUnnamed3007(o.destinationUris);
unittest.expect(o.fieldDelimiter, unittest.equals('foo'));
unittest.expect(o.printHeader, unittest.isTrue);
checkTableReference(o.sourceTable);
@@ -777,40 +777,40 @@
buildCounterJobConfigurationExtract--;
}
-buildUnnamed2902() {
+buildUnnamed3008() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2902(core.List<core.String> o) {
+checkUnnamed3008(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2903() {
+buildUnnamed3009() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2903(core.List<core.String> o) {
+checkUnnamed3009(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2904() {
+buildUnnamed3010() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2904(core.List<core.String> o) {
+checkUnnamed3010(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -831,15 +831,15 @@
o.ignoreUnknownValues = true;
o.maxBadRecords = 42;
o.nullMarker = "foo";
- o.projectionFields = buildUnnamed2902();
+ o.projectionFields = buildUnnamed3008();
o.quote = "foo";
o.schema = buildTableSchema();
o.schemaInline = "foo";
o.schemaInlineFormat = "foo";
- o.schemaUpdateOptions = buildUnnamed2903();
+ o.schemaUpdateOptions = buildUnnamed3009();
o.skipLeadingRows = 42;
o.sourceFormat = "foo";
- o.sourceUris = buildUnnamed2904();
+ o.sourceUris = buildUnnamed3010();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationLoad--;
@@ -859,67 +859,67 @@
unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
unittest.expect(o.maxBadRecords, unittest.equals(42));
unittest.expect(o.nullMarker, unittest.equals('foo'));
- checkUnnamed2902(o.projectionFields);
+ checkUnnamed3008(o.projectionFields);
unittest.expect(o.quote, unittest.equals('foo'));
checkTableSchema(o.schema);
unittest.expect(o.schemaInline, unittest.equals('foo'));
unittest.expect(o.schemaInlineFormat, unittest.equals('foo'));
- checkUnnamed2903(o.schemaUpdateOptions);
+ checkUnnamed3009(o.schemaUpdateOptions);
unittest.expect(o.skipLeadingRows, unittest.equals(42));
unittest.expect(o.sourceFormat, unittest.equals('foo'));
- checkUnnamed2904(o.sourceUris);
+ checkUnnamed3010(o.sourceUris);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationLoad--;
}
-buildUnnamed2905() {
+buildUnnamed3011() {
var o = new core.List<api.QueryParameter>();
o.add(buildQueryParameter());
o.add(buildQueryParameter());
return o;
}
-checkUnnamed2905(core.List<api.QueryParameter> o) {
+checkUnnamed3011(core.List<api.QueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameter(o[0]);
checkQueryParameter(o[1]);
}
-buildUnnamed2906() {
+buildUnnamed3012() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2906(core.List<core.String> o) {
+checkUnnamed3012(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2907() {
+buildUnnamed3013() {
var o = new core.Map<core.String, api.ExternalDataConfiguration>();
o["x"] = buildExternalDataConfiguration();
o["y"] = buildExternalDataConfiguration();
return o;
}
-checkUnnamed2907(core.Map<core.String, api.ExternalDataConfiguration> o) {
+checkUnnamed3013(core.Map<core.String, api.ExternalDataConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternalDataConfiguration(o["x"]);
checkExternalDataConfiguration(o["y"]);
}
-buildUnnamed2908() {
+buildUnnamed3014() {
var o = new core.List<api.UserDefinedFunctionResource>();
o.add(buildUserDefinedFunctionResource());
o.add(buildUserDefinedFunctionResource());
return o;
}
-checkUnnamed2908(core.List<api.UserDefinedFunctionResource> o) {
+checkUnnamed3014(core.List<api.UserDefinedFunctionResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedFunctionResource(o[0]);
checkUserDefinedFunctionResource(o[1]);
@@ -941,12 +941,12 @@
o.preserveNulls = true;
o.priority = "foo";
o.query = "foo";
- o.queryParameters = buildUnnamed2905();
- o.schemaUpdateOptions = buildUnnamed2906();
- o.tableDefinitions = buildUnnamed2907();
+ o.queryParameters = buildUnnamed3011();
+ o.schemaUpdateOptions = buildUnnamed3012();
+ o.tableDefinitions = buildUnnamed3013();
o.useLegacySql = true;
o.useQueryCache = true;
- o.userDefinedFunctionResources = buildUnnamed2908();
+ o.userDefinedFunctionResources = buildUnnamed3014();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationQuery--;
@@ -967,25 +967,25 @@
unittest.expect(o.preserveNulls, unittest.isTrue);
unittest.expect(o.priority, unittest.equals('foo'));
unittest.expect(o.query, unittest.equals('foo'));
- checkUnnamed2905(o.queryParameters);
- checkUnnamed2906(o.schemaUpdateOptions);
- checkUnnamed2907(o.tableDefinitions);
+ checkUnnamed3011(o.queryParameters);
+ checkUnnamed3012(o.schemaUpdateOptions);
+ checkUnnamed3013(o.tableDefinitions);
unittest.expect(o.useLegacySql, unittest.isTrue);
unittest.expect(o.useQueryCache, unittest.isTrue);
- checkUnnamed2908(o.userDefinedFunctionResources);
+ checkUnnamed3014(o.userDefinedFunctionResources);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationQuery--;
}
-buildUnnamed2909() {
+buildUnnamed3015() {
var o = new core.List<api.TableReference>();
o.add(buildTableReference());
o.add(buildTableReference());
return o;
}
-checkUnnamed2909(core.List<api.TableReference> o) {
+checkUnnamed3015(core.List<api.TableReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableReference(o[0]);
checkTableReference(o[1]);
@@ -999,7 +999,7 @@
o.createDisposition = "foo";
o.destinationTable = buildTableReference();
o.sourceTable = buildTableReference();
- o.sourceTables = buildUnnamed2909();
+ o.sourceTables = buildUnnamed3015();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationTableCopy--;
@@ -1012,7 +1012,7 @@
unittest.expect(o.createDisposition, unittest.equals('foo'));
checkTableReference(o.destinationTable);
checkTableReference(o.sourceTable);
- checkUnnamed2909(o.sourceTables);
+ checkUnnamed3015(o.sourceTables);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationTableCopy--;
@@ -1053,14 +1053,14 @@
buildCounterJobListJobs--;
}
-buildUnnamed2910() {
+buildUnnamed3016() {
var o = new core.List<api.JobListJobs>();
o.add(buildJobListJobs());
o.add(buildJobListJobs());
return o;
}
-checkUnnamed2910(core.List<api.JobListJobs> o) {
+checkUnnamed3016(core.List<api.JobListJobs> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobListJobs(o[0]);
checkJobListJobs(o[1]);
@@ -1072,7 +1072,7 @@
buildCounterJobList++;
if (buildCounterJobList < 3) {
o.etag = "foo";
- o.jobs = buildUnnamed2910();
+ o.jobs = buildUnnamed3016();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1084,7 +1084,7 @@
buildCounterJobList++;
if (buildCounterJobList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2910(o.jobs);
+ checkUnnamed3016(o.jobs);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1143,40 +1143,40 @@
buildCounterJobStatistics--;
}
-buildUnnamed2911() {
+buildUnnamed3017() {
var o = new core.List<api.ExplainQueryStage>();
o.add(buildExplainQueryStage());
o.add(buildExplainQueryStage());
return o;
}
-checkUnnamed2911(core.List<api.ExplainQueryStage> o) {
+checkUnnamed3017(core.List<api.ExplainQueryStage> o) {
unittest.expect(o, unittest.hasLength(2));
checkExplainQueryStage(o[0]);
checkExplainQueryStage(o[1]);
}
-buildUnnamed2912() {
+buildUnnamed3018() {
var o = new core.List<api.TableReference>();
o.add(buildTableReference());
o.add(buildTableReference());
return o;
}
-checkUnnamed2912(core.List<api.TableReference> o) {
+checkUnnamed3018(core.List<api.TableReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableReference(o[0]);
checkTableReference(o[1]);
}
-buildUnnamed2913() {
+buildUnnamed3019() {
var o = new core.List<api.QueryParameter>();
o.add(buildQueryParameter());
o.add(buildQueryParameter());
return o;
}
-checkUnnamed2913(core.List<api.QueryParameter> o) {
+checkUnnamed3019(core.List<api.QueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameter(o[0]);
checkQueryParameter(o[1]);
@@ -1190,13 +1190,13 @@
o.billingTier = 42;
o.cacheHit = true;
o.numDmlAffectedRows = "foo";
- o.queryPlan = buildUnnamed2911();
- o.referencedTables = buildUnnamed2912();
+ o.queryPlan = buildUnnamed3017();
+ o.referencedTables = buildUnnamed3018();
o.schema = buildTableSchema();
o.statementType = "foo";
o.totalBytesBilled = "foo";
o.totalBytesProcessed = "foo";
- o.undeclaredQueryParameters = buildUnnamed2913();
+ o.undeclaredQueryParameters = buildUnnamed3019();
}
buildCounterJobStatistics2--;
return o;
@@ -1208,13 +1208,13 @@
unittest.expect(o.billingTier, unittest.equals(42));
unittest.expect(o.cacheHit, unittest.isTrue);
unittest.expect(o.numDmlAffectedRows, unittest.equals('foo'));
- checkUnnamed2911(o.queryPlan);
- checkUnnamed2912(o.referencedTables);
+ checkUnnamed3017(o.queryPlan);
+ checkUnnamed3018(o.referencedTables);
checkTableSchema(o.schema);
unittest.expect(o.statementType, unittest.equals('foo'));
unittest.expect(o.totalBytesBilled, unittest.equals('foo'));
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
- checkUnnamed2913(o.undeclaredQueryParameters);
+ checkUnnamed3019(o.undeclaredQueryParameters);
}
buildCounterJobStatistics2--;
}
@@ -1244,14 +1244,14 @@
buildCounterJobStatistics3--;
}
-buildUnnamed2914() {
+buildUnnamed3020() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2914(core.List<core.String> o) {
+checkUnnamed3020(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1262,7 +1262,7 @@
var o = new api.JobStatistics4();
buildCounterJobStatistics4++;
if (buildCounterJobStatistics4 < 3) {
- o.destinationUriFileCounts = buildUnnamed2914();
+ o.destinationUriFileCounts = buildUnnamed3020();
}
buildCounterJobStatistics4--;
return o;
@@ -1271,19 +1271,19 @@
checkJobStatistics4(api.JobStatistics4 o) {
buildCounterJobStatistics4++;
if (buildCounterJobStatistics4 < 3) {
- checkUnnamed2914(o.destinationUriFileCounts);
+ checkUnnamed3020(o.destinationUriFileCounts);
}
buildCounterJobStatistics4--;
}
-buildUnnamed2915() {
+buildUnnamed3021() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed2915(core.List<api.ErrorProto> o) {
+checkUnnamed3021(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
@@ -1295,7 +1295,7 @@
buildCounterJobStatus++;
if (buildCounterJobStatus < 3) {
o.errorResult = buildErrorProto();
- o.errors = buildUnnamed2915();
+ o.errors = buildUnnamed3021();
o.state = "foo";
}
buildCounterJobStatus--;
@@ -1306,7 +1306,7 @@
buildCounterJobStatus++;
if (buildCounterJobStatus < 3) {
checkErrorProto(o.errorResult);
- checkUnnamed2915(o.errors);
+ checkUnnamed3021(o.errors);
unittest.expect(o.state, unittest.equals('foo'));
}
buildCounterJobStatus--;
@@ -1352,14 +1352,14 @@
buildCounterProjectListProjects--;
}
-buildUnnamed2916() {
+buildUnnamed3022() {
var o = new core.List<api.ProjectListProjects>();
o.add(buildProjectListProjects());
o.add(buildProjectListProjects());
return o;
}
-checkUnnamed2916(core.List<api.ProjectListProjects> o) {
+checkUnnamed3022(core.List<api.ProjectListProjects> o) {
unittest.expect(o, unittest.hasLength(2));
checkProjectListProjects(o[0]);
checkProjectListProjects(o[1]);
@@ -1373,7 +1373,7 @@
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.projects = buildUnnamed2916();
+ o.projects = buildUnnamed3022();
o.totalItems = 42;
}
buildCounterProjectList--;
@@ -1386,7 +1386,7 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2916(o.projects);
+ checkUnnamed3022(o.projects);
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterProjectList--;
@@ -1457,14 +1457,14 @@
buildCounterQueryParameterTypeStructTypes--;
}
-buildUnnamed2917() {
+buildUnnamed3023() {
var o = new core.List<api.QueryParameterTypeStructTypes>();
o.add(buildQueryParameterTypeStructTypes());
o.add(buildQueryParameterTypeStructTypes());
return o;
}
-checkUnnamed2917(core.List<api.QueryParameterTypeStructTypes> o) {
+checkUnnamed3023(core.List<api.QueryParameterTypeStructTypes> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameterTypeStructTypes(o[0]);
checkQueryParameterTypeStructTypes(o[1]);
@@ -1476,7 +1476,7 @@
buildCounterQueryParameterType++;
if (buildCounterQueryParameterType < 3) {
o.arrayType = buildQueryParameterType();
- o.structTypes = buildUnnamed2917();
+ o.structTypes = buildUnnamed3023();
o.type = "foo";
}
buildCounterQueryParameterType--;
@@ -1487,33 +1487,33 @@
buildCounterQueryParameterType++;
if (buildCounterQueryParameterType < 3) {
checkQueryParameterType(o.arrayType);
- checkUnnamed2917(o.structTypes);
+ checkUnnamed3023(o.structTypes);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterQueryParameterType--;
}
-buildUnnamed2918() {
+buildUnnamed3024() {
var o = new core.List<api.QueryParameterValue>();
o.add(buildQueryParameterValue());
o.add(buildQueryParameterValue());
return o;
}
-checkUnnamed2918(core.List<api.QueryParameterValue> o) {
+checkUnnamed3024(core.List<api.QueryParameterValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameterValue(o[0]);
checkQueryParameterValue(o[1]);
}
-buildUnnamed2919() {
+buildUnnamed3025() {
var o = new core.Map<core.String, api.QueryParameterValue>();
o["x"] = buildQueryParameterValue();
o["y"] = buildQueryParameterValue();
return o;
}
-checkUnnamed2919(core.Map<core.String, api.QueryParameterValue> o) {
+checkUnnamed3025(core.Map<core.String, api.QueryParameterValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameterValue(o["x"]);
checkQueryParameterValue(o["y"]);
@@ -1524,8 +1524,8 @@
var o = new api.QueryParameterValue();
buildCounterQueryParameterValue++;
if (buildCounterQueryParameterValue < 3) {
- o.arrayValues = buildUnnamed2918();
- o.structValues = buildUnnamed2919();
+ o.arrayValues = buildUnnamed3024();
+ o.structValues = buildUnnamed3025();
o.value = "foo";
}
buildCounterQueryParameterValue--;
@@ -1535,21 +1535,21 @@
checkQueryParameterValue(api.QueryParameterValue o) {
buildCounterQueryParameterValue++;
if (buildCounterQueryParameterValue < 3) {
- checkUnnamed2918(o.arrayValues);
- checkUnnamed2919(o.structValues);
+ checkUnnamed3024(o.arrayValues);
+ checkUnnamed3025(o.structValues);
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterQueryParameterValue--;
}
-buildUnnamed2920() {
+buildUnnamed3026() {
var o = new core.List<api.QueryParameter>();
o.add(buildQueryParameter());
o.add(buildQueryParameter());
return o;
}
-checkUnnamed2920(core.List<api.QueryParameter> o) {
+checkUnnamed3026(core.List<api.QueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameter(o[0]);
checkQueryParameter(o[1]);
@@ -1567,7 +1567,7 @@
o.parameterMode = "foo";
o.preserveNulls = true;
o.query = "foo";
- o.queryParameters = buildUnnamed2920();
+ o.queryParameters = buildUnnamed3026();
o.timeoutMs = 42;
o.useLegacySql = true;
o.useQueryCache = true;
@@ -1586,7 +1586,7 @@
unittest.expect(o.parameterMode, unittest.equals('foo'));
unittest.expect(o.preserveNulls, unittest.isTrue);
unittest.expect(o.query, unittest.equals('foo'));
- checkUnnamed2920(o.queryParameters);
+ checkUnnamed3026(o.queryParameters);
unittest.expect(o.timeoutMs, unittest.equals(42));
unittest.expect(o.useLegacySql, unittest.isTrue);
unittest.expect(o.useQueryCache, unittest.isTrue);
@@ -1594,27 +1594,27 @@
buildCounterQueryRequest--;
}
-buildUnnamed2921() {
+buildUnnamed3027() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed2921(core.List<api.ErrorProto> o) {
+checkUnnamed3027(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
}
-buildUnnamed2922() {
+buildUnnamed3028() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed2922(core.List<api.TableRow> o) {
+checkUnnamed3028(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -1626,13 +1626,13 @@
buildCounterQueryResponse++;
if (buildCounterQueryResponse < 3) {
o.cacheHit = true;
- o.errors = buildUnnamed2921();
+ o.errors = buildUnnamed3027();
o.jobComplete = true;
o.jobReference = buildJobReference();
o.kind = "foo";
o.numDmlAffectedRows = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed2922();
+ o.rows = buildUnnamed3028();
o.schema = buildTableSchema();
o.totalBytesProcessed = "foo";
o.totalRows = "foo";
@@ -1645,13 +1645,13 @@
buildCounterQueryResponse++;
if (buildCounterQueryResponse < 3) {
unittest.expect(o.cacheHit, unittest.isTrue);
- checkUnnamed2921(o.errors);
+ checkUnnamed3027(o.errors);
unittest.expect(o.jobComplete, unittest.isTrue);
checkJobReference(o.jobReference);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.numDmlAffectedRows, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed2922(o.rows);
+ checkUnnamed3028(o.rows);
checkTableSchema(o.schema);
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
unittest.expect(o.totalRows, unittest.equals('foo'));
@@ -1682,14 +1682,14 @@
buildCounterStreamingbuffer--;
}
-buildUnnamed2923() {
+buildUnnamed3029() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2923(core.Map<core.String, core.String> o) {
+checkUnnamed3029(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1708,7 +1708,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed2923();
+ o.labels = buildUnnamed3029();
o.lastModifiedTime = "foo";
o.location = "foo";
o.numBytes = "foo";
@@ -1737,7 +1737,7 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2923(o.labels);
+ checkUnnamed3029(o.labels);
unittest.expect(o.lastModifiedTime, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.numBytes, unittest.equals('foo'));
@@ -1794,14 +1794,14 @@
buildCounterTableDataInsertAllRequestRows--;
}
-buildUnnamed2924() {
+buildUnnamed3030() {
var o = new core.List<api.TableDataInsertAllRequestRows>();
o.add(buildTableDataInsertAllRequestRows());
o.add(buildTableDataInsertAllRequestRows());
return o;
}
-checkUnnamed2924(core.List<api.TableDataInsertAllRequestRows> o) {
+checkUnnamed3030(core.List<api.TableDataInsertAllRequestRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableDataInsertAllRequestRows(o[0]);
checkTableDataInsertAllRequestRows(o[1]);
@@ -1814,7 +1814,7 @@
if (buildCounterTableDataInsertAllRequest < 3) {
o.ignoreUnknownValues = true;
o.kind = "foo";
- o.rows = buildUnnamed2924();
+ o.rows = buildUnnamed3030();
o.skipInvalidRows = true;
o.templateSuffix = "foo";
}
@@ -1827,21 +1827,21 @@
if (buildCounterTableDataInsertAllRequest < 3) {
unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2924(o.rows);
+ checkUnnamed3030(o.rows);
unittest.expect(o.skipInvalidRows, unittest.isTrue);
unittest.expect(o.templateSuffix, unittest.equals('foo'));
}
buildCounterTableDataInsertAllRequest--;
}
-buildUnnamed2925() {
+buildUnnamed3031() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed2925(core.List<api.ErrorProto> o) {
+checkUnnamed3031(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
@@ -1852,7 +1852,7 @@
var o = new api.TableDataInsertAllResponseInsertErrors();
buildCounterTableDataInsertAllResponseInsertErrors++;
if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
- o.errors = buildUnnamed2925();
+ o.errors = buildUnnamed3031();
o.index = 42;
}
buildCounterTableDataInsertAllResponseInsertErrors--;
@@ -1862,20 +1862,20 @@
checkTableDataInsertAllResponseInsertErrors(api.TableDataInsertAllResponseInsertErrors o) {
buildCounterTableDataInsertAllResponseInsertErrors++;
if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
- checkUnnamed2925(o.errors);
+ checkUnnamed3031(o.errors);
unittest.expect(o.index, unittest.equals(42));
}
buildCounterTableDataInsertAllResponseInsertErrors--;
}
-buildUnnamed2926() {
+buildUnnamed3032() {
var o = new core.List<api.TableDataInsertAllResponseInsertErrors>();
o.add(buildTableDataInsertAllResponseInsertErrors());
o.add(buildTableDataInsertAllResponseInsertErrors());
return o;
}
-checkUnnamed2926(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
+checkUnnamed3032(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableDataInsertAllResponseInsertErrors(o[0]);
checkTableDataInsertAllResponseInsertErrors(o[1]);
@@ -1886,7 +1886,7 @@
var o = new api.TableDataInsertAllResponse();
buildCounterTableDataInsertAllResponse++;
if (buildCounterTableDataInsertAllResponse < 3) {
- o.insertErrors = buildUnnamed2926();
+ o.insertErrors = buildUnnamed3032();
o.kind = "foo";
}
buildCounterTableDataInsertAllResponse--;
@@ -1896,20 +1896,20 @@
checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) {
buildCounterTableDataInsertAllResponse++;
if (buildCounterTableDataInsertAllResponse < 3) {
- checkUnnamed2926(o.insertErrors);
+ checkUnnamed3032(o.insertErrors);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTableDataInsertAllResponse--;
}
-buildUnnamed2927() {
+buildUnnamed3033() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed2927(core.List<api.TableRow> o) {
+checkUnnamed3033(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -1923,7 +1923,7 @@
o.etag = "foo";
o.kind = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed2927();
+ o.rows = buildUnnamed3033();
o.totalRows = "foo";
}
buildCounterTableDataList--;
@@ -1936,20 +1936,20 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed2927(o.rows);
+ checkUnnamed3033(o.rows);
unittest.expect(o.totalRows, unittest.equals('foo'));
}
buildCounterTableDataList--;
}
-buildUnnamed2928() {
+buildUnnamed3034() {
var o = new core.List<api.TableFieldSchema>();
o.add(buildTableFieldSchema());
o.add(buildTableFieldSchema());
return o;
}
-checkUnnamed2928(core.List<api.TableFieldSchema> o) {
+checkUnnamed3034(core.List<api.TableFieldSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableFieldSchema(o[0]);
checkTableFieldSchema(o[1]);
@@ -1961,7 +1961,7 @@
buildCounterTableFieldSchema++;
if (buildCounterTableFieldSchema < 3) {
o.description = "foo";
- o.fields = buildUnnamed2928();
+ o.fields = buildUnnamed3034();
o.mode = "foo";
o.name = "foo";
o.type = "foo";
@@ -1974,7 +1974,7 @@
buildCounterTableFieldSchema++;
if (buildCounterTableFieldSchema < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2928(o.fields);
+ checkUnnamed3034(o.fields);
unittest.expect(o.mode, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -1982,14 +1982,14 @@
buildCounterTableFieldSchema--;
}
-buildUnnamed2929() {
+buildUnnamed3035() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2929(core.Map<core.String, core.String> o) {
+checkUnnamed3035(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2022,7 +2022,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed2929();
+ o.labels = buildUnnamed3035();
o.tableReference = buildTableReference();
o.type = "foo";
o.view = buildTableListTablesView();
@@ -2037,7 +2037,7 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2929(o.labels);
+ checkUnnamed3035(o.labels);
checkTableReference(o.tableReference);
unittest.expect(o.type, unittest.equals('foo'));
checkTableListTablesView(o.view);
@@ -2045,14 +2045,14 @@
buildCounterTableListTables--;
}
-buildUnnamed2930() {
+buildUnnamed3036() {
var o = new core.List<api.TableListTables>();
o.add(buildTableListTables());
o.add(buildTableListTables());
return o;
}
-checkUnnamed2930(core.List<api.TableListTables> o) {
+checkUnnamed3036(core.List<api.TableListTables> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableListTables(o[0]);
checkTableListTables(o[1]);
@@ -2066,7 +2066,7 @@
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.tables = buildUnnamed2930();
+ o.tables = buildUnnamed3036();
o.totalItems = 42;
}
buildCounterTableList--;
@@ -2079,7 +2079,7 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2930(o.tables);
+ checkUnnamed3036(o.tables);
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterTableList--;
@@ -2108,14 +2108,14 @@
buildCounterTableReference--;
}
-buildUnnamed2931() {
+buildUnnamed3037() {
var o = new core.List<api.TableCell>();
o.add(buildTableCell());
o.add(buildTableCell());
return o;
}
-checkUnnamed2931(core.List<api.TableCell> o) {
+checkUnnamed3037(core.List<api.TableCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableCell(o[0]);
checkTableCell(o[1]);
@@ -2126,7 +2126,7 @@
var o = new api.TableRow();
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
- o.f = buildUnnamed2931();
+ o.f = buildUnnamed3037();
}
buildCounterTableRow--;
return o;
@@ -2135,19 +2135,19 @@
checkTableRow(api.TableRow o) {
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
- checkUnnamed2931(o.f);
+ checkUnnamed3037(o.f);
}
buildCounterTableRow--;
}
-buildUnnamed2932() {
+buildUnnamed3038() {
var o = new core.List<api.TableFieldSchema>();
o.add(buildTableFieldSchema());
o.add(buildTableFieldSchema());
return o;
}
-checkUnnamed2932(core.List<api.TableFieldSchema> o) {
+checkUnnamed3038(core.List<api.TableFieldSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableFieldSchema(o[0]);
checkTableFieldSchema(o[1]);
@@ -2158,7 +2158,7 @@
var o = new api.TableSchema();
buildCounterTableSchema++;
if (buildCounterTableSchema < 3) {
- o.fields = buildUnnamed2932();
+ o.fields = buildUnnamed3038();
}
buildCounterTableSchema--;
return o;
@@ -2167,7 +2167,7 @@
checkTableSchema(api.TableSchema o) {
buildCounterTableSchema++;
if (buildCounterTableSchema < 3) {
- checkUnnamed2932(o.fields);
+ checkUnnamed3038(o.fields);
}
buildCounterTableSchema--;
}
@@ -2214,14 +2214,14 @@
buildCounterUserDefinedFunctionResource--;
}
-buildUnnamed2933() {
+buildUnnamed3039() {
var o = new core.List<api.UserDefinedFunctionResource>();
o.add(buildUserDefinedFunctionResource());
o.add(buildUserDefinedFunctionResource());
return o;
}
-checkUnnamed2933(core.List<api.UserDefinedFunctionResource> o) {
+checkUnnamed3039(core.List<api.UserDefinedFunctionResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedFunctionResource(o[0]);
checkUserDefinedFunctionResource(o[1]);
@@ -2234,7 +2234,7 @@
if (buildCounterViewDefinition < 3) {
o.query = "foo";
o.useLegacySql = true;
- o.userDefinedFunctionResources = buildUnnamed2933();
+ o.userDefinedFunctionResources = buildUnnamed3039();
}
buildCounterViewDefinition--;
return o;
@@ -2245,19 +2245,19 @@
if (buildCounterViewDefinition < 3) {
unittest.expect(o.query, unittest.equals('foo'));
unittest.expect(o.useLegacySql, unittest.isTrue);
- checkUnnamed2933(o.userDefinedFunctionResources);
+ checkUnnamed3039(o.userDefinedFunctionResources);
}
buildCounterViewDefinition--;
}
-buildUnnamed2934() {
+buildUnnamed3040() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2934(core.List<core.String> o) {
+checkUnnamed3040(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3397,7 +3397,7 @@
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_projection = "foo";
- var arg_stateFilter = buildUnnamed2934();
+ var arg_stateFilter = buildUnnamed3040();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3647,6 +3647,7 @@
var arg_tableId = "foo";
var arg_maxResults = 42;
var arg_pageToken = "foo";
+ var arg_selectedFields = "foo";
var arg_startIndex = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3699,6 +3700,7 @@
}
unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["selectedFields"].first, unittest.equals(arg_selectedFields));
unittest.expect(queryMap["startIndex"].first, unittest.equals(arg_startIndex));
@@ -3708,7 +3710,7 @@
var resp = convert.JSON.encode(buildTableDataList());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, arg_datasetId, arg_tableId, maxResults: arg_maxResults, pageToken: arg_pageToken, startIndex: arg_startIndex).then(unittest.expectAsync(((api.TableDataList response) {
+ res.list(arg_projectId, arg_datasetId, arg_tableId, maxResults: arg_maxResults, pageToken: arg_pageToken, selectedFields: arg_selectedFields, startIndex: arg_startIndex).then(unittest.expectAsync(((api.TableDataList response) {
checkTableDataList(response);
})));
});
@@ -3787,6 +3789,7 @@
var arg_projectId = "foo";
var arg_datasetId = "foo";
var arg_tableId = "foo";
+ var arg_selectedFields = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3832,6 +3835,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["selectedFields"].first, unittest.equals(arg_selectedFields));
var h = {
@@ -3840,7 +3844,7 @@
var resp = convert.JSON.encode(buildTable());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_projectId, arg_datasetId, arg_tableId).then(unittest.expectAsync(((api.Table response) {
+ res.get(arg_projectId, arg_datasetId, arg_tableId, selectedFields: arg_selectedFields).then(unittest.expectAsync(((api.Table response) {
checkTable(response);
})));
});
diff --git a/generated/googleapis/test/blogger/v3_test.dart b/generated/googleapis/test/blogger/v3_test.dart
index 5d6441f..189c706 100644
--- a/generated/googleapis/test/blogger/v3_test.dart
+++ b/generated/googleapis/test/blogger/v3_test.dart
@@ -95,14 +95,14 @@
buildCounterBlogPages--;
}
-buildUnnamed1158() {
+buildUnnamed1189() {
var o = new core.List<api.Post>();
o.add(buildPost());
o.add(buildPost());
return o;
}
-checkUnnamed1158(core.List<api.Post> o) {
+checkUnnamed1189(core.List<api.Post> o) {
unittest.expect(o, unittest.hasLength(2));
checkPost(o[0]);
checkPost(o[1]);
@@ -113,7 +113,7 @@
var o = new api.BlogPosts();
buildCounterBlogPosts++;
if (buildCounterBlogPosts < 3) {
- o.items = buildUnnamed1158();
+ o.items = buildUnnamed1189();
o.selfLink = "foo";
o.totalItems = 42;
}
@@ -124,7 +124,7 @@
checkBlogPosts(api.BlogPosts o) {
buildCounterBlogPosts++;
if (buildCounterBlogPosts < 3) {
- checkUnnamed1158(o.items);
+ checkUnnamed1189(o.items);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
}
@@ -174,27 +174,27 @@
buildCounterBlog--;
}
-buildUnnamed1159() {
+buildUnnamed1190() {
var o = new core.List<api.BlogUserInfo>();
o.add(buildBlogUserInfo());
o.add(buildBlogUserInfo());
return o;
}
-checkUnnamed1159(core.List<api.BlogUserInfo> o) {
+checkUnnamed1190(core.List<api.BlogUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkBlogUserInfo(o[0]);
checkBlogUserInfo(o[1]);
}
-buildUnnamed1160() {
+buildUnnamed1191() {
var o = new core.List<api.Blog>();
o.add(buildBlog());
o.add(buildBlog());
return o;
}
-checkUnnamed1160(core.List<api.Blog> o) {
+checkUnnamed1191(core.List<api.Blog> o) {
unittest.expect(o, unittest.hasLength(2));
checkBlog(o[0]);
checkBlog(o[1]);
@@ -205,8 +205,8 @@
var o = new api.BlogList();
buildCounterBlogList++;
if (buildCounterBlogList < 3) {
- o.blogUserInfos = buildUnnamed1159();
- o.items = buildUnnamed1160();
+ o.blogUserInfos = buildUnnamed1190();
+ o.items = buildUnnamed1191();
o.kind = "foo";
}
buildCounterBlogList--;
@@ -216,8 +216,8 @@
checkBlogList(api.BlogList o) {
buildCounterBlogList++;
if (buildCounterBlogList < 3) {
- checkUnnamed1159(o.blogUserInfos);
- checkUnnamed1160(o.items);
+ checkUnnamed1190(o.blogUserInfos);
+ checkUnnamed1191(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBlogList--;
@@ -415,14 +415,14 @@
buildCounterComment--;
}
-buildUnnamed1161() {
+buildUnnamed1192() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed1161(core.List<api.Comment> o) {
+checkUnnamed1192(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -434,7 +434,7 @@
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1161();
+ o.items = buildUnnamed1192();
o.kind = "foo";
o.nextPageToken = "foo";
o.prevPageToken = "foo";
@@ -447,7 +447,7 @@
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1161(o.items);
+ checkUnnamed1192(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.prevPageToken, unittest.equals('foo'));
@@ -559,14 +559,14 @@
buildCounterPage--;
}
-buildUnnamed1162() {
+buildUnnamed1193() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1162(core.List<api.Page> o) {
+checkUnnamed1193(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -578,7 +578,7 @@
buildCounterPageList++;
if (buildCounterPageList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1162();
+ o.items = buildUnnamed1193();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -590,7 +590,7 @@
buildCounterPageList++;
if (buildCounterPageList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1162(o.items);
+ checkUnnamed1193(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -618,14 +618,14 @@
buildCounterPageviewsCounts--;
}
-buildUnnamed1163() {
+buildUnnamed1194() {
var o = new core.List<api.PageviewsCounts>();
o.add(buildPageviewsCounts());
o.add(buildPageviewsCounts());
return o;
}
-checkUnnamed1163(core.List<api.PageviewsCounts> o) {
+checkUnnamed1194(core.List<api.PageviewsCounts> o) {
unittest.expect(o, unittest.hasLength(2));
checkPageviewsCounts(o[0]);
checkPageviewsCounts(o[1]);
@@ -637,7 +637,7 @@
buildCounterPageviews++;
if (buildCounterPageviews < 3) {
o.blogId = "foo";
- o.counts = buildUnnamed1163();
+ o.counts = buildUnnamed1194();
o.kind = "foo";
}
buildCounterPageviews--;
@@ -648,7 +648,7 @@
buildCounterPageviews++;
if (buildCounterPageviews < 3) {
unittest.expect(o.blogId, unittest.equals('foo'));
- checkUnnamed1163(o.counts);
+ checkUnnamed1194(o.counts);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPageviews--;
@@ -736,27 +736,27 @@
buildCounterPostImages--;
}
-buildUnnamed1164() {
+buildUnnamed1195() {
var o = new core.List<api.PostImages>();
o.add(buildPostImages());
o.add(buildPostImages());
return o;
}
-checkUnnamed1164(core.List<api.PostImages> o) {
+checkUnnamed1195(core.List<api.PostImages> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostImages(o[0]);
checkPostImages(o[1]);
}
-buildUnnamed1165() {
+buildUnnamed1196() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1165(core.List<core.String> o) {
+checkUnnamed1196(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -787,14 +787,14 @@
buildCounterPostLocation--;
}
-buildUnnamed1166() {
+buildUnnamed1197() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed1166(core.List<api.Comment> o) {
+checkUnnamed1197(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -805,7 +805,7 @@
var o = new api.PostReplies();
buildCounterPostReplies++;
if (buildCounterPostReplies < 3) {
- o.items = buildUnnamed1166();
+ o.items = buildUnnamed1197();
o.selfLink = "foo";
o.totalItems = "foo";
}
@@ -816,7 +816,7 @@
checkPostReplies(api.PostReplies o) {
buildCounterPostReplies++;
if (buildCounterPostReplies < 3) {
- checkUnnamed1166(o.items);
+ checkUnnamed1197(o.items);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals('foo'));
}
@@ -834,9 +834,9 @@
o.customMetaData = "foo";
o.etag = "foo";
o.id = "foo";
- o.images = buildUnnamed1164();
+ o.images = buildUnnamed1195();
o.kind = "foo";
- o.labels = buildUnnamed1165();
+ o.labels = buildUnnamed1196();
o.location = buildPostLocation();
o.published = core.DateTime.parse("2002-02-27T14:01:02");
o.readerComments = "foo";
@@ -861,9 +861,9 @@
unittest.expect(o.customMetaData, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1164(o.images);
+ checkUnnamed1195(o.images);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1165(o.labels);
+ checkUnnamed1196(o.labels);
checkPostLocation(o.location);
unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.readerComments, unittest.equals('foo'));
@@ -878,14 +878,14 @@
buildCounterPost--;
}
-buildUnnamed1167() {
+buildUnnamed1198() {
var o = new core.List<api.Post>();
o.add(buildPost());
o.add(buildPost());
return o;
}
-checkUnnamed1167(core.List<api.Post> o) {
+checkUnnamed1198(core.List<api.Post> o) {
unittest.expect(o, unittest.hasLength(2));
checkPost(o[0]);
checkPost(o[1]);
@@ -897,7 +897,7 @@
buildCounterPostList++;
if (buildCounterPostList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1167();
+ o.items = buildUnnamed1198();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -909,7 +909,7 @@
buildCounterPostList++;
if (buildCounterPostList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1167(o.items);
+ checkUnnamed1198(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -966,14 +966,14 @@
buildCounterPostUserInfo--;
}
-buildUnnamed1168() {
+buildUnnamed1199() {
var o = new core.List<api.PostUserInfo>();
o.add(buildPostUserInfo());
o.add(buildPostUserInfo());
return o;
}
-checkUnnamed1168(core.List<api.PostUserInfo> o) {
+checkUnnamed1199(core.List<api.PostUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostUserInfo(o[0]);
checkPostUserInfo(o[1]);
@@ -984,7 +984,7 @@
var o = new api.PostUserInfosList();
buildCounterPostUserInfosList++;
if (buildCounterPostUserInfosList < 3) {
- o.items = buildUnnamed1168();
+ o.items = buildUnnamed1199();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -995,7 +995,7 @@
checkPostUserInfosList(api.PostUserInfosList o) {
buildCounterPostUserInfosList++;
if (buildCounterPostUserInfosList < 3) {
- checkUnnamed1168(o.items);
+ checkUnnamed1199(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1079,105 +1079,105 @@
buildCounterUser--;
}
-buildUnnamed1169() {
+buildUnnamed1200() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1169(core.List<core.String> o) {
+checkUnnamed1200(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1170() {
+buildUnnamed1201() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1170(core.List<core.String> o) {
+checkUnnamed1201(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1171() {
+buildUnnamed1202() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1171(core.List<core.String> o) {
+checkUnnamed1202(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1172() {
+buildUnnamed1203() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1172(core.List<core.String> o) {
+checkUnnamed1203(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1173() {
+buildUnnamed1204() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1173(core.List<core.String> o) {
+checkUnnamed1204(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1174() {
+buildUnnamed1205() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1174(core.List<core.String> o) {
+checkUnnamed1205(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1175() {
+buildUnnamed1206() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1175(core.List<core.String> o) {
+checkUnnamed1206(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1176() {
+buildUnnamed1207() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1176(core.List<core.String> o) {
+checkUnnamed1207(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1672,8 +1672,8 @@
api.BlogsResourceApi res = new api.BloggerApi(mock).blogs;
var arg_userId = "foo";
var arg_fetchUserInfo = true;
- var arg_role = buildUnnamed1169();
- var arg_status = buildUnnamed1170();
+ var arg_role = buildUnnamed1200();
+ var arg_status = buildUnnamed1201();
var arg_view = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1941,7 +1941,7 @@
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_startDate = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_status = buildUnnamed1171();
+ var arg_status = buildUnnamed1202();
var arg_view = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2015,7 +2015,7 @@
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_startDate = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_status = buildUnnamed1172();
+ var arg_status = buildUnnamed1203();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2217,7 +2217,7 @@
var mock = new HttpServerMock();
api.PageViewsResourceApi res = new api.BloggerApi(mock).pageViews;
var arg_blogId = "foo";
- var arg_range = buildUnnamed1173();
+ var arg_range = buildUnnamed1204();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2452,7 +2452,7 @@
var arg_fetchBodies = true;
var arg_maxResults = 42;
var arg_pageToken = "foo";
- var arg_status = buildUnnamed1174();
+ var arg_status = buildUnnamed1205();
var arg_view = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2843,7 +2843,7 @@
var arg_orderBy = "foo";
var arg_pageToken = "foo";
var arg_startDate = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_status = buildUnnamed1175();
+ var arg_status = buildUnnamed1206();
var arg_view = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3168,7 +3168,7 @@
var arg_orderBy = "foo";
var arg_pageToken = "foo";
var arg_startDate = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_status = buildUnnamed1176();
+ var arg_status = buildUnnamed1207();
var arg_view = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/books/v1_test.dart b/generated/googleapis/test/books/v1_test.dart
index fe40795..793a033 100644
--- a/generated/googleapis/test/books/v1_test.dart
+++ b/generated/googleapis/test/books/v1_test.dart
@@ -128,14 +128,14 @@
buildCounterAnnotationLayerSummary--;
}
-buildUnnamed792() {
+buildUnnamed818() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed792(core.List<core.String> o) {
+checkUnnamed818(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -158,7 +158,7 @@
o.kind = "foo";
o.layerId = "foo";
o.layerSummary = buildAnnotationLayerSummary();
- o.pageIds = buildUnnamed792();
+ o.pageIds = buildUnnamed818();
o.selectedText = "foo";
o.selfLink = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
@@ -183,7 +183,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.layerId, unittest.equals('foo'));
checkAnnotationLayerSummary(o.layerSummary);
- checkUnnamed792(o.pageIds);
+ checkUnnamed818(o.pageIds);
unittest.expect(o.selectedText, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -227,14 +227,14 @@
buildCounterAnnotationdata--;
}
-buildUnnamed793() {
+buildUnnamed819() {
var o = new core.List<api.Annotation>();
o.add(buildAnnotation());
o.add(buildAnnotation());
return o;
}
-checkUnnamed793(core.List<api.Annotation> o) {
+checkUnnamed819(core.List<api.Annotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotation(o[0]);
checkAnnotation(o[1]);
@@ -245,7 +245,7 @@
var o = new api.Annotations();
buildCounterAnnotations++;
if (buildCounterAnnotations < 3) {
- o.items = buildUnnamed793();
+ o.items = buildUnnamed819();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -257,7 +257,7 @@
checkAnnotations(api.Annotations o) {
buildCounterAnnotations++;
if (buildCounterAnnotations < 3) {
- checkUnnamed793(o.items);
+ checkUnnamed819(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -292,14 +292,14 @@
buildCounterAnnotationsSummaryLayers--;
}
-buildUnnamed794() {
+buildUnnamed820() {
var o = new core.List<api.AnnotationsSummaryLayers>();
o.add(buildAnnotationsSummaryLayers());
o.add(buildAnnotationsSummaryLayers());
return o;
}
-checkUnnamed794(core.List<api.AnnotationsSummaryLayers> o) {
+checkUnnamed820(core.List<api.AnnotationsSummaryLayers> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotationsSummaryLayers(o[0]);
checkAnnotationsSummaryLayers(o[1]);
@@ -311,7 +311,7 @@
buildCounterAnnotationsSummary++;
if (buildCounterAnnotationsSummary < 3) {
o.kind = "foo";
- o.layers = buildUnnamed794();
+ o.layers = buildUnnamed820();
}
buildCounterAnnotationsSummary--;
return o;
@@ -321,19 +321,19 @@
buildCounterAnnotationsSummary++;
if (buildCounterAnnotationsSummary < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed794(o.layers);
+ checkUnnamed820(o.layers);
}
buildCounterAnnotationsSummary--;
}
-buildUnnamed795() {
+buildUnnamed821() {
var o = new core.List<api.Annotationdata>();
o.add(buildAnnotationdata());
o.add(buildAnnotationdata());
return o;
}
-checkUnnamed795(core.List<api.Annotationdata> o) {
+checkUnnamed821(core.List<api.Annotationdata> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotationdata(o[0]);
checkAnnotationdata(o[1]);
@@ -344,7 +344,7 @@
var o = new api.Annotationsdata();
buildCounterAnnotationsdata++;
if (buildCounterAnnotationsdata < 3) {
- o.items = buildUnnamed795();
+ o.items = buildUnnamed821();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -356,7 +356,7 @@
checkAnnotationsdata(api.Annotationsdata o) {
buildCounterAnnotationsdata++;
if (buildCounterAnnotationsdata < 3) {
- checkUnnamed795(o.items);
+ checkUnnamed821(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -470,14 +470,14 @@
buildCounterBookshelf--;
}
-buildUnnamed796() {
+buildUnnamed822() {
var o = new core.List<api.Bookshelf>();
o.add(buildBookshelf());
o.add(buildBookshelf());
return o;
}
-checkUnnamed796(core.List<api.Bookshelf> o) {
+checkUnnamed822(core.List<api.Bookshelf> o) {
unittest.expect(o, unittest.hasLength(2));
checkBookshelf(o[0]);
checkBookshelf(o[1]);
@@ -488,7 +488,7 @@
var o = new api.Bookshelves();
buildCounterBookshelves++;
if (buildCounterBookshelves < 3) {
- o.items = buildUnnamed796();
+ o.items = buildUnnamed822();
o.kind = "foo";
}
buildCounterBookshelves--;
@@ -498,7 +498,7 @@
checkBookshelves(api.Bookshelves o) {
buildCounterBookshelves++;
if (buildCounterBookshelves < 3) {
- checkUnnamed796(o.items);
+ checkUnnamed822(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBookshelves--;
@@ -527,14 +527,14 @@
buildCounterCategoryItems--;
}
-buildUnnamed797() {
+buildUnnamed823() {
var o = new core.List<api.CategoryItems>();
o.add(buildCategoryItems());
o.add(buildCategoryItems());
return o;
}
-checkUnnamed797(core.List<api.CategoryItems> o) {
+checkUnnamed823(core.List<api.CategoryItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkCategoryItems(o[0]);
checkCategoryItems(o[1]);
@@ -545,7 +545,7 @@
var o = new api.Category();
buildCounterCategory++;
if (buildCounterCategory < 3) {
- o.items = buildUnnamed797();
+ o.items = buildUnnamed823();
o.kind = "foo";
}
buildCounterCategory--;
@@ -555,7 +555,7 @@
checkCategory(api.Category o) {
buildCounterCategory++;
if (buildCounterCategory < 3) {
- checkUnnamed797(o.items);
+ checkUnnamed823(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCategory--;
@@ -682,14 +682,14 @@
buildCounterDictlayerdataDictWordsDerivatives--;
}
-buildUnnamed798() {
+buildUnnamed824() {
var o = new core.List<api.DictlayerdataDictWordsDerivatives>();
o.add(buildDictlayerdataDictWordsDerivatives());
o.add(buildDictlayerdataDictWordsDerivatives());
return o;
}
-checkUnnamed798(core.List<api.DictlayerdataDictWordsDerivatives> o) {
+checkUnnamed824(core.List<api.DictlayerdataDictWordsDerivatives> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsDerivatives(o[0]);
checkDictlayerdataDictWordsDerivatives(o[1]);
@@ -737,14 +737,14 @@
buildCounterDictlayerdataDictWordsExamples--;
}
-buildUnnamed799() {
+buildUnnamed825() {
var o = new core.List<api.DictlayerdataDictWordsExamples>();
o.add(buildDictlayerdataDictWordsExamples());
o.add(buildDictlayerdataDictWordsExamples());
return o;
}
-checkUnnamed799(core.List<api.DictlayerdataDictWordsExamples> o) {
+checkUnnamed825(core.List<api.DictlayerdataDictWordsExamples> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsExamples(o[0]);
checkDictlayerdataDictWordsExamples(o[1]);
@@ -771,14 +771,14 @@
buildCounterDictlayerdataDictWordsSensesConjugations--;
}
-buildUnnamed800() {
+buildUnnamed826() {
var o = new core.List<api.DictlayerdataDictWordsSensesConjugations>();
o.add(buildDictlayerdataDictWordsSensesConjugations());
o.add(buildDictlayerdataDictWordsSensesConjugations());
return o;
}
-checkUnnamed800(core.List<api.DictlayerdataDictWordsSensesConjugations> o) {
+checkUnnamed826(core.List<api.DictlayerdataDictWordsSensesConjugations> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesConjugations(o[0]);
checkDictlayerdataDictWordsSensesConjugations(o[1]);
@@ -826,14 +826,14 @@
buildCounterDictlayerdataDictWordsSensesDefinitionsExamples--;
}
-buildUnnamed801() {
+buildUnnamed827() {
var o = new core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples>();
o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples());
o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples());
return o;
}
-checkUnnamed801(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o) {
+checkUnnamed827(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesDefinitionsExamples(o[0]);
checkDictlayerdataDictWordsSensesDefinitionsExamples(o[1]);
@@ -845,7 +845,7 @@
buildCounterDictlayerdataDictWordsSensesDefinitions++;
if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) {
o.definition = "foo";
- o.examples = buildUnnamed801();
+ o.examples = buildUnnamed827();
}
buildCounterDictlayerdataDictWordsSensesDefinitions--;
return o;
@@ -855,19 +855,19 @@
buildCounterDictlayerdataDictWordsSensesDefinitions++;
if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) {
unittest.expect(o.definition, unittest.equals('foo'));
- checkUnnamed801(o.examples);
+ checkUnnamed827(o.examples);
}
buildCounterDictlayerdataDictWordsSensesDefinitions--;
}
-buildUnnamed802() {
+buildUnnamed828() {
var o = new core.List<api.DictlayerdataDictWordsSensesDefinitions>();
o.add(buildDictlayerdataDictWordsSensesDefinitions());
o.add(buildDictlayerdataDictWordsSensesDefinitions());
return o;
}
-checkUnnamed802(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) {
+checkUnnamed828(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesDefinitions(o[0]);
checkDictlayerdataDictWordsSensesDefinitions(o[1]);
@@ -936,14 +936,14 @@
buildCounterDictlayerdataDictWordsSensesSynonyms--;
}
-buildUnnamed803() {
+buildUnnamed829() {
var o = new core.List<api.DictlayerdataDictWordsSensesSynonyms>();
o.add(buildDictlayerdataDictWordsSensesSynonyms());
o.add(buildDictlayerdataDictWordsSensesSynonyms());
return o;
}
-checkUnnamed803(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) {
+checkUnnamed829(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesSynonyms(o[0]);
checkDictlayerdataDictWordsSensesSynonyms(o[1]);
@@ -954,14 +954,14 @@
var o = new api.DictlayerdataDictWordsSenses();
buildCounterDictlayerdataDictWordsSenses++;
if (buildCounterDictlayerdataDictWordsSenses < 3) {
- o.conjugations = buildUnnamed800();
- o.definitions = buildUnnamed802();
+ o.conjugations = buildUnnamed826();
+ o.definitions = buildUnnamed828();
o.partOfSpeech = "foo";
o.pronunciation = "foo";
o.pronunciationUrl = "foo";
o.source = buildDictlayerdataDictWordsSensesSource();
o.syllabification = "foo";
- o.synonyms = buildUnnamed803();
+ o.synonyms = buildUnnamed829();
}
buildCounterDictlayerdataDictWordsSenses--;
return o;
@@ -970,26 +970,26 @@
checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) {
buildCounterDictlayerdataDictWordsSenses++;
if (buildCounterDictlayerdataDictWordsSenses < 3) {
- checkUnnamed800(o.conjugations);
- checkUnnamed802(o.definitions);
+ checkUnnamed826(o.conjugations);
+ checkUnnamed828(o.definitions);
unittest.expect(o.partOfSpeech, unittest.equals('foo'));
unittest.expect(o.pronunciation, unittest.equals('foo'));
unittest.expect(o.pronunciationUrl, unittest.equals('foo'));
checkDictlayerdataDictWordsSensesSource(o.source);
unittest.expect(o.syllabification, unittest.equals('foo'));
- checkUnnamed803(o.synonyms);
+ checkUnnamed829(o.synonyms);
}
buildCounterDictlayerdataDictWordsSenses--;
}
-buildUnnamed804() {
+buildUnnamed830() {
var o = new core.List<api.DictlayerdataDictWordsSenses>();
o.add(buildDictlayerdataDictWordsSenses());
o.add(buildDictlayerdataDictWordsSenses());
return o;
}
-checkUnnamed804(core.List<api.DictlayerdataDictWordsSenses> o) {
+checkUnnamed830(core.List<api.DictlayerdataDictWordsSenses> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSenses(o[0]);
checkDictlayerdataDictWordsSenses(o[1]);
@@ -1021,9 +1021,9 @@
var o = new api.DictlayerdataDictWords();
buildCounterDictlayerdataDictWords++;
if (buildCounterDictlayerdataDictWords < 3) {
- o.derivatives = buildUnnamed798();
- o.examples = buildUnnamed799();
- o.senses = buildUnnamed804();
+ o.derivatives = buildUnnamed824();
+ o.examples = buildUnnamed825();
+ o.senses = buildUnnamed830();
o.source = buildDictlayerdataDictWordsSource();
}
buildCounterDictlayerdataDictWords--;
@@ -1033,22 +1033,22 @@
checkDictlayerdataDictWords(api.DictlayerdataDictWords o) {
buildCounterDictlayerdataDictWords++;
if (buildCounterDictlayerdataDictWords < 3) {
- checkUnnamed798(o.derivatives);
- checkUnnamed799(o.examples);
- checkUnnamed804(o.senses);
+ checkUnnamed824(o.derivatives);
+ checkUnnamed825(o.examples);
+ checkUnnamed830(o.senses);
checkDictlayerdataDictWordsSource(o.source);
}
buildCounterDictlayerdataDictWords--;
}
-buildUnnamed805() {
+buildUnnamed831() {
var o = new core.List<api.DictlayerdataDictWords>();
o.add(buildDictlayerdataDictWords());
o.add(buildDictlayerdataDictWords());
return o;
}
-checkUnnamed805(core.List<api.DictlayerdataDictWords> o) {
+checkUnnamed831(core.List<api.DictlayerdataDictWords> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWords(o[0]);
checkDictlayerdataDictWords(o[1]);
@@ -1060,7 +1060,7 @@
buildCounterDictlayerdataDict++;
if (buildCounterDictlayerdataDict < 3) {
o.source = buildDictlayerdataDictSource();
- o.words = buildUnnamed805();
+ o.words = buildUnnamed831();
}
buildCounterDictlayerdataDict--;
return o;
@@ -1070,7 +1070,7 @@
buildCounterDictlayerdataDict++;
if (buildCounterDictlayerdataDict < 3) {
checkDictlayerdataDictSource(o.source);
- checkUnnamed805(o.words);
+ checkUnnamed831(o.words);
}
buildCounterDictlayerdataDict--;
}
@@ -1127,14 +1127,14 @@
buildCounterDiscoveryclustersClustersBannerWithContentContainer--;
}
-buildUnnamed806() {
+buildUnnamed832() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed806(core.List<api.Volume> o) {
+checkUnnamed832(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1150,7 +1150,7 @@
o.title = "foo";
o.totalVolumes = 42;
o.uid = "foo";
- o.volumes = buildUnnamed806();
+ o.volumes = buildUnnamed832();
}
buildCounterDiscoveryclustersClusters--;
return o;
@@ -1164,19 +1164,19 @@
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.totalVolumes, unittest.equals(42));
unittest.expect(o.uid, unittest.equals('foo'));
- checkUnnamed806(o.volumes);
+ checkUnnamed832(o.volumes);
}
buildCounterDiscoveryclustersClusters--;
}
-buildUnnamed807() {
+buildUnnamed833() {
var o = new core.List<api.DiscoveryclustersClusters>();
o.add(buildDiscoveryclustersClusters());
o.add(buildDiscoveryclustersClusters());
return o;
}
-checkUnnamed807(core.List<api.DiscoveryclustersClusters> o) {
+checkUnnamed833(core.List<api.DiscoveryclustersClusters> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiscoveryclustersClusters(o[0]);
checkDiscoveryclustersClusters(o[1]);
@@ -1187,7 +1187,7 @@
var o = new api.Discoveryclusters();
buildCounterDiscoveryclusters++;
if (buildCounterDiscoveryclusters < 3) {
- o.clusters = buildUnnamed807();
+ o.clusters = buildUnnamed833();
o.kind = "foo";
o.totalClusters = 42;
}
@@ -1198,7 +1198,7 @@
checkDiscoveryclusters(api.Discoveryclusters o) {
buildCounterDiscoveryclusters++;
if (buildCounterDiscoveryclusters < 3) {
- checkUnnamed807(o.clusters);
+ checkUnnamed833(o.clusters);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalClusters, unittest.equals(42));
}
@@ -1246,14 +1246,14 @@
buildCounterDownloadAccessRestriction--;
}
-buildUnnamed808() {
+buildUnnamed834() {
var o = new core.List<api.DownloadAccessRestriction>();
o.add(buildDownloadAccessRestriction());
o.add(buildDownloadAccessRestriction());
return o;
}
-checkUnnamed808(core.List<api.DownloadAccessRestriction> o) {
+checkUnnamed834(core.List<api.DownloadAccessRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkDownloadAccessRestriction(o[0]);
checkDownloadAccessRestriction(o[1]);
@@ -1264,7 +1264,7 @@
var o = new api.DownloadAccesses();
buildCounterDownloadAccesses++;
if (buildCounterDownloadAccesses < 3) {
- o.downloadAccessList = buildUnnamed808();
+ o.downloadAccessList = buildUnnamed834();
o.kind = "foo";
}
buildCounterDownloadAccesses--;
@@ -1274,7 +1274,7 @@
checkDownloadAccesses(api.DownloadAccesses o) {
buildCounterDownloadAccesses++;
if (buildCounterDownloadAccesses < 3) {
- checkUnnamed808(o.downloadAccessList);
+ checkUnnamed834(o.downloadAccessList);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDownloadAccesses--;
@@ -1328,30 +1328,30 @@
buildCounterGeolayerdataGeoBoundary--;
}
-buildUnnamed809() {
+buildUnnamed835() {
var o = new core.List<api.GeolayerdataGeoBoundary>();
o.add(buildGeolayerdataGeoBoundary());
o.add(buildGeolayerdataGeoBoundary());
return o;
}
-checkUnnamed809(core.List<api.GeolayerdataGeoBoundary> o) {
+checkUnnamed835(core.List<api.GeolayerdataGeoBoundary> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeolayerdataGeoBoundary(o[0]);
checkGeolayerdataGeoBoundary(o[1]);
}
-buildUnnamed810() {
+buildUnnamed836() {
var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>();
- o.add(buildUnnamed809());
- o.add(buildUnnamed809());
+ o.add(buildUnnamed835());
+ o.add(buildUnnamed835());
return o;
}
-checkUnnamed810(core.List<core.List<api.GeolayerdataGeoBoundary>> o) {
+checkUnnamed836(core.List<core.List<api.GeolayerdataGeoBoundary>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed809(o[0]);
- checkUnnamed809(o[1]);
+ checkUnnamed835(o[0]);
+ checkUnnamed835(o[1]);
}
core.int buildCounterGeolayerdataGeoViewportHi = 0;
@@ -1422,7 +1422,7 @@
var o = new api.GeolayerdataGeo();
buildCounterGeolayerdataGeo++;
if (buildCounterGeolayerdataGeo < 3) {
- o.boundary = buildUnnamed810();
+ o.boundary = buildUnnamed836();
o.cachePolicy = "foo";
o.countryCode = "foo";
o.latitude = 42.0;
@@ -1438,7 +1438,7 @@
checkGeolayerdataGeo(api.GeolayerdataGeo o) {
buildCounterGeolayerdataGeo++;
if (buildCounterGeolayerdataGeo < 3) {
- checkUnnamed810(o.boundary);
+ checkUnnamed836(o.boundary);
unittest.expect(o.cachePolicy, unittest.equals('foo'));
unittest.expect(o.countryCode, unittest.equals('foo'));
unittest.expect(o.latitude, unittest.equals(42.0));
@@ -1473,14 +1473,14 @@
buildCounterGeolayerdata--;
}
-buildUnnamed811() {
+buildUnnamed837() {
var o = new core.List<api.Layersummary>();
o.add(buildLayersummary());
o.add(buildLayersummary());
return o;
}
-checkUnnamed811(core.List<api.Layersummary> o) {
+checkUnnamed837(core.List<api.Layersummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkLayersummary(o[0]);
checkLayersummary(o[1]);
@@ -1491,7 +1491,7 @@
var o = new api.Layersummaries();
buildCounterLayersummaries++;
if (buildCounterLayersummaries < 3) {
- o.items = buildUnnamed811();
+ o.items = buildUnnamed837();
o.kind = "foo";
o.totalItems = 42;
}
@@ -1502,21 +1502,21 @@
checkLayersummaries(api.Layersummaries o) {
buildCounterLayersummaries++;
if (buildCounterLayersummaries < 3) {
- checkUnnamed811(o.items);
+ checkUnnamed837(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterLayersummaries--;
}
-buildUnnamed812() {
+buildUnnamed838() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed812(core.List<core.String> o) {
+checkUnnamed838(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1528,7 +1528,7 @@
buildCounterLayersummary++;
if (buildCounterLayersummary < 3) {
o.annotationCount = 42;
- o.annotationTypes = buildUnnamed812();
+ o.annotationTypes = buildUnnamed838();
o.annotationsDataLink = "foo";
o.annotationsLink = "foo";
o.contentVersion = "foo";
@@ -1549,7 +1549,7 @@
buildCounterLayersummary++;
if (buildCounterLayersummary < 3) {
unittest.expect(o.annotationCount, unittest.equals(42));
- checkUnnamed812(o.annotationTypes);
+ checkUnnamed838(o.annotationTypes);
unittest.expect(o.annotationsDataLink, unittest.equals('foo'));
unittest.expect(o.annotationsLink, unittest.equals('foo'));
unittest.expect(o.contentVersion, unittest.equals('foo'));
@@ -1592,14 +1592,14 @@
buildCounterMetadataItems--;
}
-buildUnnamed813() {
+buildUnnamed839() {
var o = new core.List<api.MetadataItems>();
o.add(buildMetadataItems());
o.add(buildMetadataItems());
return o;
}
-checkUnnamed813(core.List<api.MetadataItems> o) {
+checkUnnamed839(core.List<api.MetadataItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataItems(o[0]);
checkMetadataItems(o[1]);
@@ -1610,7 +1610,7 @@
var o = new api.Metadata();
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- o.items = buildUnnamed813();
+ o.items = buildUnnamed839();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -1620,20 +1620,20 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed813(o.items);
+ checkUnnamed839(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
}
-buildUnnamed814() {
+buildUnnamed840() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed814(core.List<core.String> o) {
+checkUnnamed840(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1645,7 +1645,7 @@
buildCounterNotification++;
if (buildCounterNotification < 3) {
o.body = "foo";
- o.crmExperimentIds = buildUnnamed814();
+ o.crmExperimentIds = buildUnnamed840();
o.docId = "foo";
o.docType = "foo";
o.dontShowNotification = true;
@@ -1667,7 +1667,7 @@
buildCounterNotification++;
if (buildCounterNotification < 3) {
unittest.expect(o.body, unittest.equals('foo'));
- checkUnnamed814(o.crmExperimentIds);
+ checkUnnamed840(o.crmExperimentIds);
unittest.expect(o.docId, unittest.equals('foo'));
unittest.expect(o.docType, unittest.equals('foo'));
unittest.expect(o.dontShowNotification, unittest.isTrue);
@@ -1713,14 +1713,14 @@
buildCounterOffersItemsItems--;
}
-buildUnnamed815() {
+buildUnnamed841() {
var o = new core.List<api.OffersItemsItems>();
o.add(buildOffersItemsItems());
o.add(buildOffersItemsItems());
return o;
}
-checkUnnamed815(core.List<api.OffersItemsItems> o) {
+checkUnnamed841(core.List<api.OffersItemsItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffersItemsItems(o[0]);
checkOffersItemsItems(o[1]);
@@ -1734,7 +1734,7 @@
o.artUrl = "foo";
o.gservicesKey = "foo";
o.id = "foo";
- o.items = buildUnnamed815();
+ o.items = buildUnnamed841();
}
buildCounterOffersItems--;
return o;
@@ -1746,19 +1746,19 @@
unittest.expect(o.artUrl, unittest.equals('foo'));
unittest.expect(o.gservicesKey, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed815(o.items);
+ checkUnnamed841(o.items);
}
buildCounterOffersItems--;
}
-buildUnnamed816() {
+buildUnnamed842() {
var o = new core.List<api.OffersItems>();
o.add(buildOffersItems());
o.add(buildOffersItems());
return o;
}
-checkUnnamed816(core.List<api.OffersItems> o) {
+checkUnnamed842(core.List<api.OffersItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffersItems(o[0]);
checkOffersItems(o[1]);
@@ -1769,7 +1769,7 @@
var o = new api.Offers();
buildCounterOffers++;
if (buildCounterOffers < 3) {
- o.items = buildUnnamed816();
+ o.items = buildUnnamed842();
o.kind = "foo";
}
buildCounterOffers--;
@@ -1779,7 +1779,7 @@
checkOffers(api.Offers o) {
buildCounterOffers++;
if (buildCounterOffers < 3) {
- checkUnnamed816(o.items);
+ checkUnnamed842(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterOffers--;
@@ -1945,14 +1945,14 @@
buildCounterSeriesSeries--;
}
-buildUnnamed817() {
+buildUnnamed843() {
var o = new core.List<api.SeriesSeries>();
o.add(buildSeriesSeries());
o.add(buildSeriesSeries());
return o;
}
-checkUnnamed817(core.List<api.SeriesSeries> o) {
+checkUnnamed843(core.List<api.SeriesSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkSeriesSeries(o[0]);
checkSeriesSeries(o[1]);
@@ -1964,7 +1964,7 @@
buildCounterSeries++;
if (buildCounterSeries < 3) {
o.kind = "foo";
- o.series = buildUnnamed817();
+ o.series = buildUnnamed843();
}
buildCounterSeries--;
return o;
@@ -1974,19 +1974,19 @@
buildCounterSeries++;
if (buildCounterSeries < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed817(o.series);
+ checkUnnamed843(o.series);
}
buildCounterSeries--;
}
-buildUnnamed818() {
+buildUnnamed844() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed818(core.List<api.Volume> o) {
+checkUnnamed844(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1998,7 +1998,7 @@
buildCounterSeriesmembership++;
if (buildCounterSeriesmembership < 3) {
o.kind = "foo";
- o.member = buildUnnamed818();
+ o.member = buildUnnamed844();
o.nextPageToken = "foo";
}
buildCounterSeriesmembership--;
@@ -2009,7 +2009,7 @@
buildCounterSeriesmembership++;
if (buildCounterSeriesmembership < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed818(o.member);
+ checkUnnamed844(o.member);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSeriesmembership--;
@@ -2230,14 +2230,14 @@
buildCounterVolumeLayerInfoLayers--;
}
-buildUnnamed819() {
+buildUnnamed845() {
var o = new core.List<api.VolumeLayerInfoLayers>();
o.add(buildVolumeLayerInfoLayers());
o.add(buildVolumeLayerInfoLayers());
return o;
}
-checkUnnamed819(core.List<api.VolumeLayerInfoLayers> o) {
+checkUnnamed845(core.List<api.VolumeLayerInfoLayers> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeLayerInfoLayers(o[0]);
checkVolumeLayerInfoLayers(o[1]);
@@ -2248,7 +2248,7 @@
var o = new api.VolumeLayerInfo();
buildCounterVolumeLayerInfo++;
if (buildCounterVolumeLayerInfo < 3) {
- o.layers = buildUnnamed819();
+ o.layers = buildUnnamed845();
}
buildCounterVolumeLayerInfo--;
return o;
@@ -2257,7 +2257,7 @@
checkVolumeLayerInfo(api.VolumeLayerInfo o) {
buildCounterVolumeLayerInfo++;
if (buildCounterVolumeLayerInfo < 3) {
- checkUnnamed819(o.layers);
+ checkUnnamed845(o.layers);
}
buildCounterVolumeLayerInfo--;
}
@@ -2392,14 +2392,14 @@
buildCounterVolumeSaleInfoOffers--;
}
-buildUnnamed820() {
+buildUnnamed846() {
var o = new core.List<api.VolumeSaleInfoOffers>();
o.add(buildVolumeSaleInfoOffers());
o.add(buildVolumeSaleInfoOffers());
return o;
}
-checkUnnamed820(core.List<api.VolumeSaleInfoOffers> o) {
+checkUnnamed846(core.List<api.VolumeSaleInfoOffers> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeSaleInfoOffers(o[0]);
checkVolumeSaleInfoOffers(o[1]);
@@ -2435,7 +2435,7 @@
o.country = "foo";
o.isEbook = true;
o.listPrice = buildVolumeSaleInfoListPrice();
- o.offers = buildUnnamed820();
+ o.offers = buildUnnamed846();
o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02");
o.retailPrice = buildVolumeSaleInfoRetailPrice();
o.saleability = "foo";
@@ -2451,7 +2451,7 @@
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.isEbook, unittest.isTrue);
checkVolumeSaleInfoListPrice(o.listPrice);
- checkUnnamed820(o.offers);
+ checkUnnamed846(o.offers);
unittest.expect(o.onSaleDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkVolumeSaleInfoRetailPrice(o.retailPrice);
unittest.expect(o.saleability, unittest.equals('foo'));
@@ -2621,27 +2621,27 @@
buildCounterVolumeUserInfo--;
}
-buildUnnamed821() {
+buildUnnamed847() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed821(core.List<core.String> o) {
+checkUnnamed847(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed822() {
+buildUnnamed848() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed822(core.List<core.String> o) {
+checkUnnamed848(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2720,14 +2720,14 @@
buildCounterVolumeVolumeInfoIndustryIdentifiers--;
}
-buildUnnamed823() {
+buildUnnamed849() {
var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>();
o.add(buildVolumeVolumeInfoIndustryIdentifiers());
o.add(buildVolumeVolumeInfoIndustryIdentifiers());
return o;
}
-checkUnnamed823(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) {
+checkUnnamed849(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeVolumeInfoIndustryIdentifiers(o[0]);
checkVolumeVolumeInfoIndustryIdentifiers(o[1]);
@@ -2764,15 +2764,15 @@
buildCounterVolumeVolumeInfo++;
if (buildCounterVolumeVolumeInfo < 3) {
o.allowAnonLogging = true;
- o.authors = buildUnnamed821();
+ o.authors = buildUnnamed847();
o.averageRating = 42.0;
o.canonicalVolumeLink = "foo";
- o.categories = buildUnnamed822();
+ o.categories = buildUnnamed848();
o.contentVersion = "foo";
o.description = "foo";
o.dimensions = buildVolumeVolumeInfoDimensions();
o.imageLinks = buildVolumeVolumeInfoImageLinks();
- o.industryIdentifiers = buildUnnamed823();
+ o.industryIdentifiers = buildUnnamed849();
o.infoLink = "foo";
o.language = "foo";
o.mainCategory = "foo";
@@ -2799,15 +2799,15 @@
buildCounterVolumeVolumeInfo++;
if (buildCounterVolumeVolumeInfo < 3) {
unittest.expect(o.allowAnonLogging, unittest.isTrue);
- checkUnnamed821(o.authors);
+ checkUnnamed847(o.authors);
unittest.expect(o.averageRating, unittest.equals(42.0));
unittest.expect(o.canonicalVolumeLink, unittest.equals('foo'));
- checkUnnamed822(o.categories);
+ checkUnnamed848(o.categories);
unittest.expect(o.contentVersion, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
checkVolumeVolumeInfoDimensions(o.dimensions);
checkVolumeVolumeInfoImageLinks(o.imageLinks);
- checkUnnamed823(o.industryIdentifiers);
+ checkUnnamed849(o.industryIdentifiers);
unittest.expect(o.infoLink, unittest.equals('foo'));
unittest.expect(o.language, unittest.equals('foo'));
unittest.expect(o.mainCategory, unittest.equals('foo'));
@@ -2868,14 +2868,14 @@
buildCounterVolume--;
}
-buildUnnamed824() {
+buildUnnamed850() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed824(core.List<api.Volume> o) {
+checkUnnamed850(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -2886,7 +2886,7 @@
var o = new api.Volume2();
buildCounterVolume2++;
if (buildCounterVolume2 < 3) {
- o.items = buildUnnamed824();
+ o.items = buildUnnamed850();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2897,7 +2897,7 @@
checkVolume2(api.Volume2 o) {
buildCounterVolume2++;
if (buildCounterVolume2 < 3) {
- checkUnnamed824(o.items);
+ checkUnnamed850(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2929,14 +2929,14 @@
buildCounterVolumeannotationContentRanges--;
}
-buildUnnamed825() {
+buildUnnamed851() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed825(core.List<core.String> o) {
+checkUnnamed851(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2956,7 +2956,7 @@
o.id = "foo";
o.kind = "foo";
o.layerId = "foo";
- o.pageIds = buildUnnamed825();
+ o.pageIds = buildUnnamed851();
o.selectedText = "foo";
o.selfLink = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
@@ -2978,7 +2978,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.layerId, unittest.equals('foo'));
- checkUnnamed825(o.pageIds);
+ checkUnnamed851(o.pageIds);
unittest.expect(o.selectedText, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -2987,14 +2987,14 @@
buildCounterVolumeannotation--;
}
-buildUnnamed826() {
+buildUnnamed852() {
var o = new core.List<api.Volumeannotation>();
o.add(buildVolumeannotation());
o.add(buildVolumeannotation());
return o;
}
-checkUnnamed826(core.List<api.Volumeannotation> o) {
+checkUnnamed852(core.List<api.Volumeannotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeannotation(o[0]);
checkVolumeannotation(o[1]);
@@ -3005,7 +3005,7 @@
var o = new api.Volumeannotations();
buildCounterVolumeannotations++;
if (buildCounterVolumeannotations < 3) {
- o.items = buildUnnamed826();
+ o.items = buildUnnamed852();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -3018,7 +3018,7 @@
checkVolumeannotations(api.Volumeannotations o) {
buildCounterVolumeannotations++;
if (buildCounterVolumeannotations < 3) {
- checkUnnamed826(o.items);
+ checkUnnamed852(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -3027,14 +3027,14 @@
buildCounterVolumeannotations--;
}
-buildUnnamed827() {
+buildUnnamed853() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed827(core.List<api.Volume> o) {
+checkUnnamed853(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -3045,7 +3045,7 @@
var o = new api.Volumes();
buildCounterVolumes++;
if (buildCounterVolumes < 3) {
- o.items = buildUnnamed827();
+ o.items = buildUnnamed853();
o.kind = "foo";
o.totalItems = 42;
}
@@ -3056,7 +3056,7 @@
checkVolumes(api.Volumes o) {
buildCounterVolumes++;
if (buildCounterVolumes < 3) {
- checkUnnamed827(o.items);
+ checkUnnamed853(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
}
@@ -3084,14 +3084,14 @@
buildCounterVolumeseriesinfoVolumeSeriesIssue--;
}
-buildUnnamed828() {
+buildUnnamed854() {
var o = new core.List<api.VolumeseriesinfoVolumeSeriesIssue>();
o.add(buildVolumeseriesinfoVolumeSeriesIssue());
o.add(buildVolumeseriesinfoVolumeSeriesIssue());
return o;
}
-checkUnnamed828(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) {
+checkUnnamed854(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeseriesinfoVolumeSeriesIssue(o[0]);
checkVolumeseriesinfoVolumeSeriesIssue(o[1]);
@@ -3102,7 +3102,7 @@
var o = new api.VolumeseriesinfoVolumeSeries();
buildCounterVolumeseriesinfoVolumeSeries++;
if (buildCounterVolumeseriesinfoVolumeSeries < 3) {
- o.issue = buildUnnamed828();
+ o.issue = buildUnnamed854();
o.orderNumber = 42;
o.seriesBookType = "foo";
o.seriesId = "foo";
@@ -3114,7 +3114,7 @@
checkVolumeseriesinfoVolumeSeries(api.VolumeseriesinfoVolumeSeries o) {
buildCounterVolumeseriesinfoVolumeSeries++;
if (buildCounterVolumeseriesinfoVolumeSeries < 3) {
- checkUnnamed828(o.issue);
+ checkUnnamed854(o.issue);
unittest.expect(o.orderNumber, unittest.equals(42));
unittest.expect(o.seriesBookType, unittest.equals('foo'));
unittest.expect(o.seriesId, unittest.equals('foo'));
@@ -3122,14 +3122,14 @@
buildCounterVolumeseriesinfoVolumeSeries--;
}
-buildUnnamed829() {
+buildUnnamed855() {
var o = new core.List<api.VolumeseriesinfoVolumeSeries>();
o.add(buildVolumeseriesinfoVolumeSeries());
o.add(buildVolumeseriesinfoVolumeSeries());
return o;
}
-checkUnnamed829(core.List<api.VolumeseriesinfoVolumeSeries> o) {
+checkUnnamed855(core.List<api.VolumeseriesinfoVolumeSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeseriesinfoVolumeSeries(o[0]);
checkVolumeseriesinfoVolumeSeries(o[1]);
@@ -3143,7 +3143,7 @@
o.bookDisplayNumber = "foo";
o.kind = "foo";
o.shortSeriesBookTitle = "foo";
- o.volumeSeries = buildUnnamed829();
+ o.volumeSeries = buildUnnamed855();
}
buildCounterVolumeseriesinfo--;
return o;
@@ -3155,162 +3155,162 @@
unittest.expect(o.bookDisplayNumber, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.shortSeriesBookTitle, unittest.equals('foo'));
- checkUnnamed829(o.volumeSeries);
+ checkUnnamed855(o.volumeSeries);
}
buildCounterVolumeseriesinfo--;
}
-buildUnnamed830() {
+buildUnnamed856() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed830(core.List<core.String> o) {
+checkUnnamed856(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed831() {
+buildUnnamed857() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed831(core.List<core.String> o) {
+checkUnnamed857(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed832() {
+buildUnnamed858() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed832(core.List<core.String> o) {
+checkUnnamed858(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed833() {
+buildUnnamed859() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed833(core.List<core.String> o) {
+checkUnnamed859(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed834() {
+buildUnnamed860() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed834(core.List<core.String> o) {
+checkUnnamed860(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed835() {
+buildUnnamed861() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed835(core.List<core.String> o) {
+checkUnnamed861(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed836() {
+buildUnnamed862() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed836(core.List<core.String> o) {
+checkUnnamed862(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed837() {
+buildUnnamed863() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed837(core.List<core.String> o) {
+checkUnnamed863(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed838() {
+buildUnnamed864() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed838(core.List<core.String> o) {
+checkUnnamed864(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed839() {
+buildUnnamed865() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed839(core.List<core.String> o) {
+checkUnnamed865(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed840() {
+buildUnnamed866() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed840(core.List<core.String> o) {
+checkUnnamed866(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed841() {
+buildUnnamed867() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed841(core.List<core.String> o) {
+checkUnnamed867(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4833,7 +4833,7 @@
var arg_volumeId = "foo";
var arg_layerId = "foo";
var arg_contentVersion = "foo";
- var arg_annotationDataId = buildUnnamed830();
+ var arg_annotationDataId = buildUnnamed856();
var arg_h = 42;
var arg_locale = "foo";
var arg_maxResults = 42;
@@ -5118,7 +5118,7 @@
var mock = new HttpServerMock();
api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig;
- var arg_volumeIds = buildUnnamed831();
+ var arg_volumeIds = buildUnnamed857();
var arg_cpksver = "foo";
var arg_locale = "foo";
var arg_source = "foo";
@@ -5231,11 +5231,11 @@
var arg_source = "foo";
var arg_nonce = "foo";
var arg_cpksver = "foo";
- var arg_features = buildUnnamed832();
+ var arg_features = buildUnnamed858();
var arg_includeNonComicsSeries = true;
var arg_locale = "foo";
var arg_showPreorders = true;
- var arg_volumeIds = buildUnnamed833();
+ var arg_volumeIds = buildUnnamed859();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5448,7 +5448,7 @@
api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary.annotations;
var arg_contentVersion = "foo";
var arg_layerId = "foo";
- var arg_layerIds = buildUnnamed834();
+ var arg_layerIds = buildUnnamed860();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_showDeleted = true;
@@ -5511,7 +5511,7 @@
var mock = new HttpServerMock();
api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary.annotations;
- var arg_layerIds = buildUnnamed835();
+ var arg_layerIds = buildUnnamed861();
var arg_volumeId = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6238,7 +6238,7 @@
var mock = new HttpServerMock();
api.OnboardingResourceApi res = new api.BooksApi(mock).onboarding;
- var arg_categoryId = buildUnnamed836();
+ var arg_categoryId = buildUnnamed862();
var arg_locale = "foo";
var arg_maxAllowedMaturityRating = "foo";
var arg_pageSize = 42;
@@ -6529,7 +6529,7 @@
var mock = new HttpServerMock();
api.SeriesResourceApi res = new api.BooksApi(mock).series;
- var arg_seriesId = buildUnnamed837();
+ var arg_seriesId = buildUnnamed863();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -6838,11 +6838,11 @@
var mock = new HttpServerMock();
api.VolumesMybooksResourceApi res = new api.BooksApi(mock).volumes.mybooks;
- var arg_acquireMethod = buildUnnamed838();
+ var arg_acquireMethod = buildUnnamed864();
var arg_country = "foo";
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_processingState = buildUnnamed839();
+ var arg_processingState = buildUnnamed865();
var arg_source = "foo";
var arg_startIndex = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -7011,10 +7011,10 @@
api.VolumesUseruploadedResourceApi res = new api.BooksApi(mock).volumes.useruploaded;
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_processingState = buildUnnamed840();
+ var arg_processingState = buildUnnamed866();
var arg_source = "foo";
var arg_startIndex = 42;
- var arg_volumeId = buildUnnamed841();
+ var arg_volumeId = buildUnnamed867();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
diff --git a/generated/googleapis/test/calendar/v3_test.dart b/generated/googleapis/test/calendar/v3_test.dart
index 3f4f785..c372bd2 100644
--- a/generated/googleapis/test/calendar/v3_test.dart
+++ b/generated/googleapis/test/calendar/v3_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed996() {
+buildUnnamed1022() {
var o = new core.List<api.AclRule>();
o.add(buildAclRule());
o.add(buildAclRule());
return o;
}
-checkUnnamed996(core.List<api.AclRule> o) {
+checkUnnamed1022(core.List<api.AclRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAclRule(o[0]);
checkAclRule(o[1]);
@@ -70,7 +70,7 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
o.etag = "foo";
- o.items = buildUnnamed996();
+ o.items = buildUnnamed1022();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -83,7 +83,7 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed996(o.items);
+ checkUnnamed1022(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
@@ -170,14 +170,14 @@
buildCounterCalendar--;
}
-buildUnnamed997() {
+buildUnnamed1023() {
var o = new core.List<api.CalendarListEntry>();
o.add(buildCalendarListEntry());
o.add(buildCalendarListEntry());
return o;
}
-checkUnnamed997(core.List<api.CalendarListEntry> o) {
+checkUnnamed1023(core.List<api.CalendarListEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkCalendarListEntry(o[0]);
checkCalendarListEntry(o[1]);
@@ -189,7 +189,7 @@
buildCounterCalendarList++;
if (buildCounterCalendarList < 3) {
o.etag = "foo";
- o.items = buildUnnamed997();
+ o.items = buildUnnamed1023();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -202,7 +202,7 @@
buildCounterCalendarList++;
if (buildCounterCalendarList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed997(o.items);
+ checkUnnamed1023(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
@@ -210,27 +210,27 @@
buildCounterCalendarList--;
}
-buildUnnamed998() {
+buildUnnamed1024() {
var o = new core.List<api.EventReminder>();
o.add(buildEventReminder());
o.add(buildEventReminder());
return o;
}
-checkUnnamed998(core.List<api.EventReminder> o) {
+checkUnnamed1024(core.List<api.EventReminder> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventReminder(o[0]);
checkEventReminder(o[1]);
}
-buildUnnamed999() {
+buildUnnamed1025() {
var o = new core.List<api.CalendarNotification>();
o.add(buildCalendarNotification());
o.add(buildCalendarNotification());
return o;
}
-checkUnnamed999(core.List<api.CalendarNotification> o) {
+checkUnnamed1025(core.List<api.CalendarNotification> o) {
unittest.expect(o, unittest.hasLength(2));
checkCalendarNotification(o[0]);
checkCalendarNotification(o[1]);
@@ -241,7 +241,7 @@
var o = new api.CalendarListEntryNotificationSettings();
buildCounterCalendarListEntryNotificationSettings++;
if (buildCounterCalendarListEntryNotificationSettings < 3) {
- o.notifications = buildUnnamed999();
+ o.notifications = buildUnnamed1025();
}
buildCounterCalendarListEntryNotificationSettings--;
return o;
@@ -250,7 +250,7 @@
checkCalendarListEntryNotificationSettings(api.CalendarListEntryNotificationSettings o) {
buildCounterCalendarListEntryNotificationSettings++;
if (buildCounterCalendarListEntryNotificationSettings < 3) {
- checkUnnamed999(o.notifications);
+ checkUnnamed1025(o.notifications);
}
buildCounterCalendarListEntryNotificationSettings--;
}
@@ -263,7 +263,7 @@
o.accessRole = "foo";
o.backgroundColor = "foo";
o.colorId = "foo";
- o.defaultReminders = buildUnnamed998();
+ o.defaultReminders = buildUnnamed1024();
o.deleted = true;
o.description = "foo";
o.etag = "foo";
@@ -289,7 +289,7 @@
unittest.expect(o.accessRole, unittest.equals('foo'));
unittest.expect(o.backgroundColor, unittest.equals('foo'));
unittest.expect(o.colorId, unittest.equals('foo'));
- checkUnnamed998(o.defaultReminders);
+ checkUnnamed1024(o.defaultReminders);
unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
@@ -329,14 +329,14 @@
buildCounterCalendarNotification--;
}
-buildUnnamed1000() {
+buildUnnamed1026() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1000(core.Map<core.String, core.String> o) {
+checkUnnamed1026(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -351,7 +351,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed1000();
+ o.params = buildUnnamed1026();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -369,7 +369,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1000(o.params);
+ checkUnnamed1026(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -400,27 +400,27 @@
buildCounterColorDefinition--;
}
-buildUnnamed1001() {
+buildUnnamed1027() {
var o = new core.Map<core.String, api.ColorDefinition>();
o["x"] = buildColorDefinition();
o["y"] = buildColorDefinition();
return o;
}
-checkUnnamed1001(core.Map<core.String, api.ColorDefinition> o) {
+checkUnnamed1027(core.Map<core.String, api.ColorDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorDefinition(o["x"]);
checkColorDefinition(o["y"]);
}
-buildUnnamed1002() {
+buildUnnamed1028() {
var o = new core.Map<core.String, api.ColorDefinition>();
o["x"] = buildColorDefinition();
o["y"] = buildColorDefinition();
return o;
}
-checkUnnamed1002(core.Map<core.String, api.ColorDefinition> o) {
+checkUnnamed1028(core.Map<core.String, api.ColorDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorDefinition(o["x"]);
checkColorDefinition(o["y"]);
@@ -431,8 +431,8 @@
var o = new api.Colors();
buildCounterColors++;
if (buildCounterColors < 3) {
- o.calendar = buildUnnamed1001();
- o.event = buildUnnamed1002();
+ o.calendar = buildUnnamed1027();
+ o.event = buildUnnamed1028();
o.kind = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
}
@@ -443,14 +443,75 @@
checkColors(api.Colors o) {
buildCounterColors++;
if (buildCounterColors < 3) {
- checkUnnamed1001(o.calendar);
- checkUnnamed1002(o.event);
+ checkUnnamed1027(o.calendar);
+ checkUnnamed1028(o.event);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
}
buildCounterColors--;
}
+buildUnnamed1029() {
+ var o = new core.List<api.Link>();
+ o.add(buildLink());
+ o.add(buildLink());
+ return o;
+}
+
+checkUnnamed1029(core.List<api.Link> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLink(o[0]);
+ checkLink(o[1]);
+}
+
+core.int buildCounterDeepLinkData = 0;
+buildDeepLinkData() {
+ var o = new api.DeepLinkData();
+ buildCounterDeepLinkData++;
+ if (buildCounterDeepLinkData < 3) {
+ o.links = buildUnnamed1029();
+ o.url = "foo";
+ }
+ buildCounterDeepLinkData--;
+ return o;
+}
+
+checkDeepLinkData(api.DeepLinkData o) {
+ buildCounterDeepLinkData++;
+ if (buildCounterDeepLinkData < 3) {
+ checkUnnamed1029(o.links);
+ unittest.expect(o.url, unittest.equals('foo'));
+ }
+ buildCounterDeepLinkData--;
+}
+
+core.int buildCounterDisplayInfo = 0;
+buildDisplayInfo() {
+ var o = new api.DisplayInfo();
+ buildCounterDisplayInfo++;
+ if (buildCounterDisplayInfo < 3) {
+ o.appIconUrl = "foo";
+ o.appShortTitle = "foo";
+ o.appTitle = "foo";
+ o.linkShortTitle = "foo";
+ o.linkTitle = "foo";
+ }
+ buildCounterDisplayInfo--;
+ return o;
+}
+
+checkDisplayInfo(api.DisplayInfo o) {
+ buildCounterDisplayInfo++;
+ if (buildCounterDisplayInfo < 3) {
+ unittest.expect(o.appIconUrl, unittest.equals('foo'));
+ unittest.expect(o.appShortTitle, unittest.equals('foo'));
+ unittest.expect(o.appTitle, unittest.equals('foo'));
+ unittest.expect(o.linkShortTitle, unittest.equals('foo'));
+ unittest.expect(o.linkTitle, unittest.equals('foo'));
+ }
+ buildCounterDisplayInfo--;
+}
+
core.int buildCounterError = 0;
buildError() {
var o = new api.Error();
@@ -472,27 +533,27 @@
buildCounterError--;
}
-buildUnnamed1003() {
+buildUnnamed1030() {
var o = new core.List<api.EventAttachment>();
o.add(buildEventAttachment());
o.add(buildEventAttachment());
return o;
}
-checkUnnamed1003(core.List<api.EventAttachment> o) {
+checkUnnamed1030(core.List<api.EventAttachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventAttachment(o[0]);
checkEventAttachment(o[1]);
}
-buildUnnamed1004() {
+buildUnnamed1031() {
var o = new core.List<api.EventAttendee>();
o.add(buildEventAttendee());
o.add(buildEventAttendee());
return o;
}
-checkUnnamed1004(core.List<api.EventAttendee> o) {
+checkUnnamed1031(core.List<api.EventAttendee> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventAttendee(o[0]);
checkEventAttendee(o[1]);
@@ -523,27 +584,27 @@
buildCounterEventCreator--;
}
-buildUnnamed1005() {
+buildUnnamed1032() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1005(core.Map<core.String, core.String> o) {
+checkUnnamed1032(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1006() {
+buildUnnamed1033() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1006(core.Map<core.String, core.String> o) {
+checkUnnamed1033(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -554,8 +615,8 @@
var o = new api.EventExtendedProperties();
buildCounterEventExtendedProperties++;
if (buildCounterEventExtendedProperties < 3) {
- o.private = buildUnnamed1005();
- o.shared = buildUnnamed1006();
+ o.private = buildUnnamed1032();
+ o.shared = buildUnnamed1033();
}
buildCounterEventExtendedProperties--;
return o;
@@ -564,20 +625,20 @@
checkEventExtendedProperties(api.EventExtendedProperties o) {
buildCounterEventExtendedProperties++;
if (buildCounterEventExtendedProperties < 3) {
- checkUnnamed1005(o.private);
- checkUnnamed1006(o.shared);
+ checkUnnamed1032(o.private);
+ checkUnnamed1033(o.shared);
}
buildCounterEventExtendedProperties--;
}
-buildUnnamed1007() {
+buildUnnamed1034() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1007(core.Map<core.String, core.String> o) {
+checkUnnamed1034(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -592,7 +653,7 @@
o.height = 42;
o.iconLink = "foo";
o.link = "foo";
- o.preferences = buildUnnamed1007();
+ o.preferences = buildUnnamed1034();
o.title = "foo";
o.type = "foo";
o.width = 42;
@@ -608,7 +669,7 @@
unittest.expect(o.height, unittest.equals(42));
unittest.expect(o.iconLink, unittest.equals('foo'));
unittest.expect(o.link, unittest.equals('foo'));
- checkUnnamed1007(o.preferences);
+ checkUnnamed1034(o.preferences);
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.width, unittest.equals(42));
@@ -641,27 +702,27 @@
buildCounterEventOrganizer--;
}
-buildUnnamed1008() {
+buildUnnamed1035() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1008(core.List<core.String> o) {
+checkUnnamed1035(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1009() {
+buildUnnamed1036() {
var o = new core.List<api.EventReminder>();
o.add(buildEventReminder());
o.add(buildEventReminder());
return o;
}
-checkUnnamed1009(core.List<api.EventReminder> o) {
+checkUnnamed1036(core.List<api.EventReminder> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventReminder(o[0]);
checkEventReminder(o[1]);
@@ -672,7 +733,7 @@
var o = new api.EventReminders();
buildCounterEventReminders++;
if (buildCounterEventReminders < 3) {
- o.overrides = buildUnnamed1009();
+ o.overrides = buildUnnamed1036();
o.useDefault = true;
}
buildCounterEventReminders--;
@@ -682,7 +743,7 @@
checkEventReminders(api.EventReminders o) {
buildCounterEventReminders++;
if (buildCounterEventReminders < 3) {
- checkUnnamed1009(o.overrides);
+ checkUnnamed1036(o.overrides);
unittest.expect(o.useDefault, unittest.isTrue);
}
buildCounterEventReminders--;
@@ -715,8 +776,8 @@
buildCounterEvent++;
if (buildCounterEvent < 3) {
o.anyoneCanAddSelf = true;
- o.attachments = buildUnnamed1003();
- o.attendees = buildUnnamed1004();
+ o.attachments = buildUnnamed1030();
+ o.attendees = buildUnnamed1031();
o.attendeesOmitted = true;
o.colorId = "foo";
o.created = core.DateTime.parse("2002-02-27T14:01:02");
@@ -740,7 +801,7 @@
o.organizer = buildEventOrganizer();
o.originalStartTime = buildEventDateTime();
o.privateCopy = true;
- o.recurrence = buildUnnamed1008();
+ o.recurrence = buildUnnamed1035();
o.recurringEventId = "foo";
o.reminders = buildEventReminders();
o.sequence = 42;
@@ -760,8 +821,8 @@
buildCounterEvent++;
if (buildCounterEvent < 3) {
unittest.expect(o.anyoneCanAddSelf, unittest.isTrue);
- checkUnnamed1003(o.attachments);
- checkUnnamed1004(o.attendees);
+ checkUnnamed1030(o.attachments);
+ checkUnnamed1031(o.attendees);
unittest.expect(o.attendeesOmitted, unittest.isTrue);
unittest.expect(o.colorId, unittest.equals('foo'));
unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -785,7 +846,7 @@
checkEventOrganizer(o.organizer);
checkEventDateTime(o.originalStartTime);
unittest.expect(o.privateCopy, unittest.isTrue);
- checkUnnamed1008(o.recurrence);
+ checkUnnamed1035(o.recurrence);
unittest.expect(o.recurringEventId, unittest.equals('foo'));
checkEventReminders(o.reminders);
unittest.expect(o.sequence, unittest.equals(42));
@@ -887,6 +948,27 @@
buildCounterEventDateTime--;
}
+core.int buildCounterEventHabitInstance = 0;
+buildEventHabitInstance() {
+ var o = new api.EventHabitInstance();
+ buildCounterEventHabitInstance++;
+ if (buildCounterEventHabitInstance < 3) {
+ o.data = buildHabitInstanceData();
+ o.parentId = "foo";
+ }
+ buildCounterEventHabitInstance--;
+ return o;
+}
+
+checkEventHabitInstance(api.EventHabitInstance o) {
+ buildCounterEventHabitInstance++;
+ if (buildCounterEventHabitInstance < 3) {
+ checkHabitInstanceData(o.data);
+ unittest.expect(o.parentId, unittest.equals('foo'));
+ }
+ buildCounterEventHabitInstance--;
+}
+
core.int buildCounterEventReminder = 0;
buildEventReminder() {
var o = new api.EventReminder();
@@ -908,27 +990,27 @@
buildCounterEventReminder--;
}
-buildUnnamed1010() {
+buildUnnamed1037() {
var o = new core.List<api.EventReminder>();
o.add(buildEventReminder());
o.add(buildEventReminder());
return o;
}
-checkUnnamed1010(core.List<api.EventReminder> o) {
+checkUnnamed1037(core.List<api.EventReminder> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventReminder(o[0]);
checkEventReminder(o[1]);
}
-buildUnnamed1011() {
+buildUnnamed1038() {
var o = new core.List<api.Event>();
o.add(buildEvent());
o.add(buildEvent());
return o;
}
-checkUnnamed1011(core.List<api.Event> o) {
+checkUnnamed1038(core.List<api.Event> o) {
unittest.expect(o, unittest.hasLength(2));
checkEvent(o[0]);
checkEvent(o[1]);
@@ -940,10 +1022,10 @@
buildCounterEvents++;
if (buildCounterEvents < 3) {
o.accessRole = "foo";
- o.defaultReminders = buildUnnamed1010();
+ o.defaultReminders = buildUnnamed1037();
o.description = "foo";
o.etag = "foo";
- o.items = buildUnnamed1011();
+ o.items = buildUnnamed1038();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -959,10 +1041,10 @@
buildCounterEvents++;
if (buildCounterEvents < 3) {
unittest.expect(o.accessRole, unittest.equals('foo'));
- checkUnnamed1010(o.defaultReminders);
+ checkUnnamed1037(o.defaultReminders);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1011(o.items);
+ checkUnnamed1038(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
@@ -973,27 +1055,27 @@
buildCounterEvents--;
}
-buildUnnamed1012() {
+buildUnnamed1039() {
var o = new core.List<api.TimePeriod>();
o.add(buildTimePeriod());
o.add(buildTimePeriod());
return o;
}
-checkUnnamed1012(core.List<api.TimePeriod> o) {
+checkUnnamed1039(core.List<api.TimePeriod> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimePeriod(o[0]);
checkTimePeriod(o[1]);
}
-buildUnnamed1013() {
+buildUnnamed1040() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed1013(core.List<api.Error> o) {
+checkUnnamed1040(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -1004,8 +1086,8 @@
var o = new api.FreeBusyCalendar();
buildCounterFreeBusyCalendar++;
if (buildCounterFreeBusyCalendar < 3) {
- o.busy = buildUnnamed1012();
- o.errors = buildUnnamed1013();
+ o.busy = buildUnnamed1039();
+ o.errors = buildUnnamed1040();
}
buildCounterFreeBusyCalendar--;
return o;
@@ -1014,33 +1096,33 @@
checkFreeBusyCalendar(api.FreeBusyCalendar o) {
buildCounterFreeBusyCalendar++;
if (buildCounterFreeBusyCalendar < 3) {
- checkUnnamed1012(o.busy);
- checkUnnamed1013(o.errors);
+ checkUnnamed1039(o.busy);
+ checkUnnamed1040(o.errors);
}
buildCounterFreeBusyCalendar--;
}
-buildUnnamed1014() {
+buildUnnamed1041() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1014(core.List<core.String> o) {
+checkUnnamed1041(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1015() {
+buildUnnamed1042() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed1015(core.List<api.Error> o) {
+checkUnnamed1042(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -1051,8 +1133,8 @@
var o = new api.FreeBusyGroup();
buildCounterFreeBusyGroup++;
if (buildCounterFreeBusyGroup < 3) {
- o.calendars = buildUnnamed1014();
- o.errors = buildUnnamed1015();
+ o.calendars = buildUnnamed1041();
+ o.errors = buildUnnamed1042();
}
buildCounterFreeBusyGroup--;
return o;
@@ -1061,20 +1143,20 @@
checkFreeBusyGroup(api.FreeBusyGroup o) {
buildCounterFreeBusyGroup++;
if (buildCounterFreeBusyGroup < 3) {
- checkUnnamed1014(o.calendars);
- checkUnnamed1015(o.errors);
+ checkUnnamed1041(o.calendars);
+ checkUnnamed1042(o.errors);
}
buildCounterFreeBusyGroup--;
}
-buildUnnamed1016() {
+buildUnnamed1043() {
var o = new core.List<api.FreeBusyRequestItem>();
o.add(buildFreeBusyRequestItem());
o.add(buildFreeBusyRequestItem());
return o;
}
-checkUnnamed1016(core.List<api.FreeBusyRequestItem> o) {
+checkUnnamed1043(core.List<api.FreeBusyRequestItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkFreeBusyRequestItem(o[0]);
checkFreeBusyRequestItem(o[1]);
@@ -1087,7 +1169,7 @@
if (buildCounterFreeBusyRequest < 3) {
o.calendarExpansionMax = 42;
o.groupExpansionMax = 42;
- o.items = buildUnnamed1016();
+ o.items = buildUnnamed1043();
o.timeMax = core.DateTime.parse("2002-02-27T14:01:02");
o.timeMin = core.DateTime.parse("2002-02-27T14:01:02");
o.timeZone = "foo";
@@ -1101,7 +1183,7 @@
if (buildCounterFreeBusyRequest < 3) {
unittest.expect(o.calendarExpansionMax, unittest.equals(42));
unittest.expect(o.groupExpansionMax, unittest.equals(42));
- checkUnnamed1016(o.items);
+ checkUnnamed1043(o.items);
unittest.expect(o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.timeMin, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.timeZone, unittest.equals('foo'));
@@ -1128,27 +1210,27 @@
buildCounterFreeBusyRequestItem--;
}
-buildUnnamed1017() {
+buildUnnamed1044() {
var o = new core.Map<core.String, api.FreeBusyCalendar>();
o["x"] = buildFreeBusyCalendar();
o["y"] = buildFreeBusyCalendar();
return o;
}
-checkUnnamed1017(core.Map<core.String, api.FreeBusyCalendar> o) {
+checkUnnamed1044(core.Map<core.String, api.FreeBusyCalendar> o) {
unittest.expect(o, unittest.hasLength(2));
checkFreeBusyCalendar(o["x"]);
checkFreeBusyCalendar(o["y"]);
}
-buildUnnamed1018() {
+buildUnnamed1045() {
var o = new core.Map<core.String, api.FreeBusyGroup>();
o["x"] = buildFreeBusyGroup();
o["y"] = buildFreeBusyGroup();
return o;
}
-checkUnnamed1018(core.Map<core.String, api.FreeBusyGroup> o) {
+checkUnnamed1045(core.Map<core.String, api.FreeBusyGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkFreeBusyGroup(o["x"]);
checkFreeBusyGroup(o["y"]);
@@ -1159,8 +1241,8 @@
var o = new api.FreeBusyResponse();
buildCounterFreeBusyResponse++;
if (buildCounterFreeBusyResponse < 3) {
- o.calendars = buildUnnamed1017();
- o.groups = buildUnnamed1018();
+ o.calendars = buildUnnamed1044();
+ o.groups = buildUnnamed1045();
o.kind = "foo";
o.timeMax = core.DateTime.parse("2002-02-27T14:01:02");
o.timeMin = core.DateTime.parse("2002-02-27T14:01:02");
@@ -1172,8 +1254,8 @@
checkFreeBusyResponse(api.FreeBusyResponse o) {
buildCounterFreeBusyResponse++;
if (buildCounterFreeBusyResponse < 3) {
- checkUnnamed1017(o.calendars);
- checkUnnamed1018(o.groups);
+ checkUnnamed1044(o.calendars);
+ checkUnnamed1045(o.groups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.timeMin, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -1181,6 +1263,81 @@
buildCounterFreeBusyResponse--;
}
+core.int buildCounterHabitInstanceData = 0;
+buildHabitInstanceData() {
+ var o = new api.HabitInstanceData();
+ buildCounterHabitInstanceData++;
+ if (buildCounterHabitInstanceData < 3) {
+ o.status = "foo";
+ o.statusInferred = true;
+ o.type = "foo";
+ }
+ buildCounterHabitInstanceData--;
+ return o;
+}
+
+checkHabitInstanceData(api.HabitInstanceData o) {
+ buildCounterHabitInstanceData++;
+ if (buildCounterHabitInstanceData < 3) {
+ unittest.expect(o.status, unittest.equals('foo'));
+ unittest.expect(o.statusInferred, unittest.isTrue);
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterHabitInstanceData--;
+}
+
+core.int buildCounterLaunchInfo = 0;
+buildLaunchInfo() {
+ var o = new api.LaunchInfo();
+ buildCounterLaunchInfo++;
+ if (buildCounterLaunchInfo < 3) {
+ o.appId = "foo";
+ o.installUrl = "foo";
+ o.intentAction = "foo";
+ o.uri = "foo";
+ }
+ buildCounterLaunchInfo--;
+ return o;
+}
+
+checkLaunchInfo(api.LaunchInfo o) {
+ buildCounterLaunchInfo++;
+ if (buildCounterLaunchInfo < 3) {
+ unittest.expect(o.appId, unittest.equals('foo'));
+ unittest.expect(o.installUrl, unittest.equals('foo'));
+ unittest.expect(o.intentAction, unittest.equals('foo'));
+ unittest.expect(o.uri, unittest.equals('foo'));
+ }
+ buildCounterLaunchInfo--;
+}
+
+core.int buildCounterLink = 0;
+buildLink() {
+ var o = new api.Link();
+ buildCounterLink++;
+ if (buildCounterLink < 3) {
+ o.applinkingSource = "foo";
+ o.displayInfo = buildDisplayInfo();
+ o.launchInfo = buildLaunchInfo();
+ o.platform = "foo";
+ o.url = "foo";
+ }
+ buildCounterLink--;
+ return o;
+}
+
+checkLink(api.Link o) {
+ buildCounterLink++;
+ if (buildCounterLink < 3) {
+ unittest.expect(o.applinkingSource, unittest.equals('foo'));
+ checkDisplayInfo(o.displayInfo);
+ checkLaunchInfo(o.launchInfo);
+ unittest.expect(o.platform, unittest.equals('foo'));
+ unittest.expect(o.url, unittest.equals('foo'));
+ }
+ buildCounterLink--;
+}
+
core.int buildCounterSetting = 0;
buildSetting() {
var o = new api.Setting();
@@ -1206,14 +1363,14 @@
buildCounterSetting--;
}
-buildUnnamed1019() {
+buildUnnamed1046() {
var o = new core.List<api.Setting>();
o.add(buildSetting());
o.add(buildSetting());
return o;
}
-checkUnnamed1019(core.List<api.Setting> o) {
+checkUnnamed1046(core.List<api.Setting> o) {
unittest.expect(o, unittest.hasLength(2));
checkSetting(o[0]);
checkSetting(o[1]);
@@ -1225,7 +1382,7 @@
buildCounterSettings++;
if (buildCounterSettings < 3) {
o.etag = "foo";
- o.items = buildUnnamed1019();
+ o.items = buildUnnamed1046();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -1238,7 +1395,7 @@
buildCounterSettings++;
if (buildCounterSettings < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1019(o.items);
+ checkUnnamed1046(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
@@ -1267,53 +1424,53 @@
buildCounterTimePeriod--;
}
-buildUnnamed1020() {
+buildUnnamed1047() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1020(core.List<core.String> o) {
+checkUnnamed1047(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1021() {
+buildUnnamed1048() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1021(core.List<core.String> o) {
+checkUnnamed1048(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1022() {
+buildUnnamed1049() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1022(core.List<core.String> o) {
+checkUnnamed1049(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1023() {
+buildUnnamed1050() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1023(core.List<core.String> o) {
+checkUnnamed1050(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1420,6 +1577,24 @@
});
+ unittest.group("obj-schema-DeepLinkData", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDeepLinkData();
+ var od = new api.DeepLinkData.fromJson(o.toJson());
+ checkDeepLinkData(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-DisplayInfo", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDisplayInfo();
+ var od = new api.DisplayInfo.fromJson(o.toJson());
+ checkDisplayInfo(od);
+ });
+ });
+
+
unittest.group("obj-schema-Error", () {
unittest.test("to-json--from-json", () {
var o = buildError();
@@ -1519,6 +1694,15 @@
});
+ unittest.group("obj-schema-EventHabitInstance", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildEventHabitInstance();
+ var od = new api.EventHabitInstance.fromJson(o.toJson());
+ checkEventHabitInstance(od);
+ });
+ });
+
+
unittest.group("obj-schema-EventReminder", () {
unittest.test("to-json--from-json", () {
var o = buildEventReminder();
@@ -1582,6 +1766,33 @@
});
+ unittest.group("obj-schema-HabitInstanceData", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildHabitInstanceData();
+ var od = new api.HabitInstanceData.fromJson(o.toJson());
+ checkHabitInstanceData(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-LaunchInfo", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLaunchInfo();
+ var od = new api.LaunchInfo.fromJson(o.toJson());
+ checkLaunchInfo(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Link", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLink();
+ var od = new api.Link.fromJson(o.toJson());
+ checkLink(od);
+ });
+ });
+
+
unittest.group("obj-schema-Setting", () {
unittest.test("to-json--from-json", () {
var o = buildSetting();
@@ -3148,9 +3359,9 @@
var arg_maxResults = 42;
var arg_orderBy = "foo";
var arg_pageToken = "foo";
- var arg_privateExtendedProperty = buildUnnamed1020();
+ var arg_privateExtendedProperty = buildUnnamed1047();
var arg_q = "foo";
- var arg_sharedExtendedProperty = buildUnnamed1021();
+ var arg_sharedExtendedProperty = buildUnnamed1048();
var arg_showDeleted = true;
var arg_showHiddenInvitations = true;
var arg_singleEvents = true;
@@ -3496,9 +3707,9 @@
var arg_maxResults = 42;
var arg_orderBy = "foo";
var arg_pageToken = "foo";
- var arg_privateExtendedProperty = buildUnnamed1022();
+ var arg_privateExtendedProperty = buildUnnamed1049();
var arg_q = "foo";
- var arg_sharedExtendedProperty = buildUnnamed1023();
+ var arg_sharedExtendedProperty = buildUnnamed1050();
var arg_showDeleted = true;
var arg_showHiddenInvitations = true;
var arg_singleEvents = true;
diff --git a/generated/googleapis/test/civicinfo/v2_test.dart b/generated/googleapis/test/civicinfo/v2_test.dart
index c9b2115..eb5fa0e 100644
--- a/generated/googleapis/test/civicinfo/v2_test.dart
+++ b/generated/googleapis/test/civicinfo/v2_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2379() {
+buildUnnamed2484() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed2379(core.List<api.Source> o) {
+checkUnnamed2484(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -73,7 +73,7 @@
o.id = "foo";
o.localJurisdiction = buildAdministrationRegion();
o.name = "foo";
- o.sources = buildUnnamed2379();
+ o.sources = buildUnnamed2484();
}
buildCounterAdministrationRegion--;
return o;
@@ -86,45 +86,45 @@
unittest.expect(o.id, unittest.equals('foo'));
checkAdministrationRegion(o.localJurisdiction);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2379(o.sources);
+ checkUnnamed2484(o.sources);
}
buildCounterAdministrationRegion--;
}
-buildUnnamed2380() {
+buildUnnamed2485() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2380(core.List<core.String> o) {
+checkUnnamed2485(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2381() {
+buildUnnamed2486() {
var o = new core.List<api.ElectionOfficial>();
o.add(buildElectionOfficial());
o.add(buildElectionOfficial());
return o;
}
-checkUnnamed2381(core.List<api.ElectionOfficial> o) {
+checkUnnamed2486(core.List<api.ElectionOfficial> o) {
unittest.expect(o, unittest.hasLength(2));
checkElectionOfficial(o[0]);
checkElectionOfficial(o[1]);
}
-buildUnnamed2382() {
+buildUnnamed2487() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2382(core.List<core.String> o) {
+checkUnnamed2487(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -136,18 +136,18 @@
buildCounterAdministrativeBody++;
if (buildCounterAdministrativeBody < 3) {
o.absenteeVotingInfoUrl = "foo";
- o.addressLines = buildUnnamed2380();
+ o.addressLines = buildUnnamed2485();
o.ballotInfoUrl = "foo";
o.correspondenceAddress = buildSimpleAddressType();
o.electionInfoUrl = "foo";
- o.electionOfficials = buildUnnamed2381();
+ o.electionOfficials = buildUnnamed2486();
o.electionRegistrationConfirmationUrl = "foo";
o.electionRegistrationUrl = "foo";
o.electionRulesUrl = "foo";
o.hoursOfOperation = "foo";
o.name = "foo";
o.physicalAddress = buildSimpleAddressType();
- o.voterServices = buildUnnamed2382();
+ o.voterServices = buildUnnamed2487();
o.votingLocationFinderUrl = "foo";
}
buildCounterAdministrativeBody--;
@@ -158,31 +158,31 @@
buildCounterAdministrativeBody++;
if (buildCounterAdministrativeBody < 3) {
unittest.expect(o.absenteeVotingInfoUrl, unittest.equals('foo'));
- checkUnnamed2380(o.addressLines);
+ checkUnnamed2485(o.addressLines);
unittest.expect(o.ballotInfoUrl, unittest.equals('foo'));
checkSimpleAddressType(o.correspondenceAddress);
unittest.expect(o.electionInfoUrl, unittest.equals('foo'));
- checkUnnamed2381(o.electionOfficials);
+ checkUnnamed2486(o.electionOfficials);
unittest.expect(o.electionRegistrationConfirmationUrl, unittest.equals('foo'));
unittest.expect(o.electionRegistrationUrl, unittest.equals('foo'));
unittest.expect(o.electionRulesUrl, unittest.equals('foo'));
unittest.expect(o.hoursOfOperation, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkSimpleAddressType(o.physicalAddress);
- checkUnnamed2382(o.voterServices);
+ checkUnnamed2487(o.voterServices);
unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
}
buildCounterAdministrativeBody--;
}
-buildUnnamed2383() {
+buildUnnamed2488() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed2383(core.List<api.Channel> o) {
+checkUnnamed2488(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
@@ -194,7 +194,7 @@
buildCounterCandidate++;
if (buildCounterCandidate < 3) {
o.candidateUrl = "foo";
- o.channels = buildUnnamed2383();
+ o.channels = buildUnnamed2488();
o.email = "foo";
o.name = "foo";
o.orderOnBallot = "foo";
@@ -210,7 +210,7 @@
buildCounterCandidate++;
if (buildCounterCandidate < 3) {
unittest.expect(o.candidateUrl, unittest.equals('foo'));
- checkUnnamed2383(o.channels);
+ checkUnnamed2488(o.channels);
unittest.expect(o.email, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.orderOnBallot, unittest.equals('foo'));
@@ -242,66 +242,66 @@
buildCounterChannel--;
}
-buildUnnamed2384() {
+buildUnnamed2489() {
var o = new core.List<api.Candidate>();
o.add(buildCandidate());
o.add(buildCandidate());
return o;
}
-checkUnnamed2384(core.List<api.Candidate> o) {
+checkUnnamed2489(core.List<api.Candidate> o) {
unittest.expect(o, unittest.hasLength(2));
checkCandidate(o[0]);
checkCandidate(o[1]);
}
-buildUnnamed2385() {
+buildUnnamed2490() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2385(core.List<core.String> o) {
+checkUnnamed2490(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2386() {
+buildUnnamed2491() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2386(core.List<core.String> o) {
+checkUnnamed2491(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2387() {
+buildUnnamed2492() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2387(core.List<core.String> o) {
+checkUnnamed2492(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2388() {
+buildUnnamed2493() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed2388(core.List<api.Source> o) {
+checkUnnamed2493(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -313,16 +313,16 @@
buildCounterContest++;
if (buildCounterContest < 3) {
o.ballotPlacement = "foo";
- o.candidates = buildUnnamed2384();
+ o.candidates = buildUnnamed2489();
o.district = buildElectoralDistrict();
o.electorateSpecifications = "foo";
o.id = "foo";
- o.level = buildUnnamed2385();
+ o.level = buildUnnamed2490();
o.numberElected = "foo";
o.numberVotingFor = "foo";
o.office = "foo";
o.primaryParty = "foo";
- o.referendumBallotResponses = buildUnnamed2386();
+ o.referendumBallotResponses = buildUnnamed2491();
o.referendumBrief = "foo";
o.referendumConStatement = "foo";
o.referendumEffectOfAbstain = "foo";
@@ -332,8 +332,8 @@
o.referendumText = "foo";
o.referendumTitle = "foo";
o.referendumUrl = "foo";
- o.roles = buildUnnamed2387();
- o.sources = buildUnnamed2388();
+ o.roles = buildUnnamed2492();
+ o.sources = buildUnnamed2493();
o.special = "foo";
o.type = "foo";
}
@@ -345,16 +345,16 @@
buildCounterContest++;
if (buildCounterContest < 3) {
unittest.expect(o.ballotPlacement, unittest.equals('foo'));
- checkUnnamed2384(o.candidates);
+ checkUnnamed2489(o.candidates);
checkElectoralDistrict(o.district);
unittest.expect(o.electorateSpecifications, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2385(o.level);
+ checkUnnamed2490(o.level);
unittest.expect(o.numberElected, unittest.equals('foo'));
unittest.expect(o.numberVotingFor, unittest.equals('foo'));
unittest.expect(o.office, unittest.equals('foo'));
unittest.expect(o.primaryParty, unittest.equals('foo'));
- checkUnnamed2386(o.referendumBallotResponses);
+ checkUnnamed2491(o.referendumBallotResponses);
unittest.expect(o.referendumBrief, unittest.equals('foo'));
unittest.expect(o.referendumConStatement, unittest.equals('foo'));
unittest.expect(o.referendumEffectOfAbstain, unittest.equals('foo'));
@@ -364,8 +364,8 @@
unittest.expect(o.referendumText, unittest.equals('foo'));
unittest.expect(o.referendumTitle, unittest.equals('foo'));
unittest.expect(o.referendumUrl, unittest.equals('foo'));
- checkUnnamed2387(o.roles);
- checkUnnamed2388(o.sources);
+ checkUnnamed2492(o.roles);
+ checkUnnamed2493(o.sources);
unittest.expect(o.special, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
@@ -429,14 +429,14 @@
buildCounterDivisionSearchRequest--;
}
-buildUnnamed2389() {
+buildUnnamed2494() {
var o = new core.List<api.DivisionSearchResult>();
o.add(buildDivisionSearchResult());
o.add(buildDivisionSearchResult());
return o;
}
-checkUnnamed2389(core.List<api.DivisionSearchResult> o) {
+checkUnnamed2494(core.List<api.DivisionSearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkDivisionSearchResult(o[0]);
checkDivisionSearchResult(o[1]);
@@ -448,7 +448,7 @@
buildCounterDivisionSearchResponse++;
if (buildCounterDivisionSearchResponse < 3) {
o.kind = "foo";
- o.results = buildUnnamed2389();
+ o.results = buildUnnamed2494();
}
buildCounterDivisionSearchResponse--;
return o;
@@ -458,19 +458,19 @@
buildCounterDivisionSearchResponse++;
if (buildCounterDivisionSearchResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2389(o.results);
+ checkUnnamed2494(o.results);
}
buildCounterDivisionSearchResponse--;
}
-buildUnnamed2390() {
+buildUnnamed2495() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2390(core.List<core.String> o) {
+checkUnnamed2495(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -481,7 +481,7 @@
var o = new api.DivisionSearchResult();
buildCounterDivisionSearchResult++;
if (buildCounterDivisionSearchResult < 3) {
- o.aliases = buildUnnamed2390();
+ o.aliases = buildUnnamed2495();
o.name = "foo";
o.ocdId = "foo";
}
@@ -492,7 +492,7 @@
checkDivisionSearchResult(api.DivisionSearchResult o) {
buildCounterDivisionSearchResult++;
if (buildCounterDivisionSearchResult < 3) {
- checkUnnamed2390(o.aliases);
+ checkUnnamed2495(o.aliases);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.ocdId, unittest.equals('foo'));
}
@@ -570,14 +570,14 @@
buildCounterElectionsQueryRequest--;
}
-buildUnnamed2391() {
+buildUnnamed2496() {
var o = new core.List<api.Election>();
o.add(buildElection());
o.add(buildElection());
return o;
}
-checkUnnamed2391(core.List<api.Election> o) {
+checkUnnamed2496(core.List<api.Election> o) {
unittest.expect(o, unittest.hasLength(2));
checkElection(o[0]);
checkElection(o[1]);
@@ -588,7 +588,7 @@
var o = new api.ElectionsQueryResponse();
buildCounterElectionsQueryResponse++;
if (buildCounterElectionsQueryResponse < 3) {
- o.elections = buildUnnamed2391();
+ o.elections = buildUnnamed2496();
o.kind = "foo";
}
buildCounterElectionsQueryResponse--;
@@ -598,7 +598,7 @@
checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
buildCounterElectionsQueryResponse++;
if (buildCounterElectionsQueryResponse < 3) {
- checkUnnamed2391(o.elections);
+ checkUnnamed2496(o.elections);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterElectionsQueryResponse--;
@@ -629,27 +629,27 @@
buildCounterElectoralDistrict--;
}
-buildUnnamed2392() {
+buildUnnamed2497() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2392(core.List<core.String> o) {
+checkUnnamed2497(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2393() {
+buildUnnamed2498() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2393(core.List<core.int> o) {
+checkUnnamed2498(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -660,9 +660,9 @@
var o = new api.GeographicDivision();
buildCounterGeographicDivision++;
if (buildCounterGeographicDivision < 3) {
- o.alsoKnownAs = buildUnnamed2392();
+ o.alsoKnownAs = buildUnnamed2497();
o.name = "foo";
- o.officeIndices = buildUnnamed2393();
+ o.officeIndices = buildUnnamed2498();
}
buildCounterGeographicDivision--;
return o;
@@ -671,60 +671,60 @@
checkGeographicDivision(api.GeographicDivision o) {
buildCounterGeographicDivision++;
if (buildCounterGeographicDivision < 3) {
- checkUnnamed2392(o.alsoKnownAs);
+ checkUnnamed2497(o.alsoKnownAs);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2393(o.officeIndices);
+ checkUnnamed2498(o.officeIndices);
}
buildCounterGeographicDivision--;
}
-buildUnnamed2394() {
+buildUnnamed2499() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2394(core.List<core.String> o) {
+checkUnnamed2499(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2395() {
+buildUnnamed2500() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2395(core.List<core.int> o) {
+checkUnnamed2500(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed2396() {
+buildUnnamed2501() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2396(core.List<core.String> o) {
+checkUnnamed2501(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2397() {
+buildUnnamed2502() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed2397(core.List<api.Source> o) {
+checkUnnamed2502(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -736,11 +736,11 @@
buildCounterOffice++;
if (buildCounterOffice < 3) {
o.divisionId = "foo";
- o.levels = buildUnnamed2394();
+ o.levels = buildUnnamed2499();
o.name = "foo";
- o.officialIndices = buildUnnamed2395();
- o.roles = buildUnnamed2396();
- o.sources = buildUnnamed2397();
+ o.officialIndices = buildUnnamed2500();
+ o.roles = buildUnnamed2501();
+ o.sources = buildUnnamed2502();
}
buildCounterOffice--;
return o;
@@ -750,75 +750,75 @@
buildCounterOffice++;
if (buildCounterOffice < 3) {
unittest.expect(o.divisionId, unittest.equals('foo'));
- checkUnnamed2394(o.levels);
+ checkUnnamed2499(o.levels);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2395(o.officialIndices);
- checkUnnamed2396(o.roles);
- checkUnnamed2397(o.sources);
+ checkUnnamed2500(o.officialIndices);
+ checkUnnamed2501(o.roles);
+ checkUnnamed2502(o.sources);
}
buildCounterOffice--;
}
-buildUnnamed2398() {
+buildUnnamed2503() {
var o = new core.List<api.SimpleAddressType>();
o.add(buildSimpleAddressType());
o.add(buildSimpleAddressType());
return o;
}
-checkUnnamed2398(core.List<api.SimpleAddressType> o) {
+checkUnnamed2503(core.List<api.SimpleAddressType> o) {
unittest.expect(o, unittest.hasLength(2));
checkSimpleAddressType(o[0]);
checkSimpleAddressType(o[1]);
}
-buildUnnamed2399() {
+buildUnnamed2504() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed2399(core.List<api.Channel> o) {
+checkUnnamed2504(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
}
-buildUnnamed2400() {
+buildUnnamed2505() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2400(core.List<core.String> o) {
+checkUnnamed2505(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2401() {
+buildUnnamed2506() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2401(core.List<core.String> o) {
+checkUnnamed2506(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2402() {
+buildUnnamed2507() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2402(core.List<core.String> o) {
+checkUnnamed2507(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -829,14 +829,14 @@
var o = new api.Official();
buildCounterOfficial++;
if (buildCounterOfficial < 3) {
- o.address = buildUnnamed2398();
- o.channels = buildUnnamed2399();
- o.emails = buildUnnamed2400();
+ o.address = buildUnnamed2503();
+ o.channels = buildUnnamed2504();
+ o.emails = buildUnnamed2505();
o.name = "foo";
o.party = "foo";
- o.phones = buildUnnamed2401();
+ o.phones = buildUnnamed2506();
o.photoUrl = "foo";
- o.urls = buildUnnamed2402();
+ o.urls = buildUnnamed2507();
}
buildCounterOfficial--;
return o;
@@ -845,26 +845,26 @@
checkOfficial(api.Official o) {
buildCounterOfficial++;
if (buildCounterOfficial < 3) {
- checkUnnamed2398(o.address);
- checkUnnamed2399(o.channels);
- checkUnnamed2400(o.emails);
+ checkUnnamed2503(o.address);
+ checkUnnamed2504(o.channels);
+ checkUnnamed2505(o.emails);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.party, unittest.equals('foo'));
- checkUnnamed2401(o.phones);
+ checkUnnamed2506(o.phones);
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2402(o.urls);
+ checkUnnamed2507(o.urls);
}
buildCounterOfficial--;
}
-buildUnnamed2403() {
+buildUnnamed2508() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed2403(core.List<api.Source> o) {
+checkUnnamed2508(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -881,7 +881,7 @@
o.name = "foo";
o.notes = "foo";
o.pollingHours = "foo";
- o.sources = buildUnnamed2403();
+ o.sources = buildUnnamed2508();
o.startDate = "foo";
o.voterServices = "foo";
}
@@ -898,21 +898,21 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
unittest.expect(o.pollingHours, unittest.equals('foo'));
- checkUnnamed2403(o.sources);
+ checkUnnamed2508(o.sources);
unittest.expect(o.startDate, unittest.equals('foo'));
unittest.expect(o.voterServices, unittest.equals('foo'));
}
buildCounterPollingLocation--;
}
-buildUnnamed2404() {
+buildUnnamed2509() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2404(core.List<core.String> o) {
+checkUnnamed2509(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -923,7 +923,7 @@
var o = new api.PostalAddress();
buildCounterPostalAddress++;
if (buildCounterPostalAddress < 3) {
- o.addressLines = buildUnnamed2404();
+ o.addressLines = buildUnnamed2509();
o.administrativeAreaName = "foo";
o.countryName = "foo";
o.countryNameCode = "foo";
@@ -962,7 +962,7 @@
checkPostalAddress(api.PostalAddress o) {
buildCounterPostalAddress++;
if (buildCounterPostalAddress < 3) {
- checkUnnamed2404(o.addressLines);
+ checkUnnamed2509(o.addressLines);
unittest.expect(o.administrativeAreaName, unittest.equals('foo'));
unittest.expect(o.countryName, unittest.equals('foo'));
unittest.expect(o.countryNameCode, unittest.equals('foo'));
@@ -997,40 +997,40 @@
buildCounterPostalAddress--;
}
-buildUnnamed2405() {
+buildUnnamed2510() {
var o = new core.Map<core.String, api.GeographicDivision>();
o["x"] = buildGeographicDivision();
o["y"] = buildGeographicDivision();
return o;
}
-checkUnnamed2405(core.Map<core.String, api.GeographicDivision> o) {
+checkUnnamed2510(core.Map<core.String, api.GeographicDivision> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeographicDivision(o["x"]);
checkGeographicDivision(o["y"]);
}
-buildUnnamed2406() {
+buildUnnamed2511() {
var o = new core.List<api.Office>();
o.add(buildOffice());
o.add(buildOffice());
return o;
}
-checkUnnamed2406(core.List<api.Office> o) {
+checkUnnamed2511(core.List<api.Office> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffice(o[0]);
checkOffice(o[1]);
}
-buildUnnamed2407() {
+buildUnnamed2512() {
var o = new core.List<api.Official>();
o.add(buildOfficial());
o.add(buildOfficial());
return o;
}
-checkUnnamed2407(core.List<api.Official> o) {
+checkUnnamed2512(core.List<api.Official> o) {
unittest.expect(o, unittest.hasLength(2));
checkOfficial(o[0]);
checkOfficial(o[1]);
@@ -1041,9 +1041,9 @@
var o = new api.RepresentativeInfoData();
buildCounterRepresentativeInfoData++;
if (buildCounterRepresentativeInfoData < 3) {
- o.divisions = buildUnnamed2405();
- o.offices = buildUnnamed2406();
- o.officials = buildUnnamed2407();
+ o.divisions = buildUnnamed2510();
+ o.offices = buildUnnamed2511();
+ o.officials = buildUnnamed2512();
}
buildCounterRepresentativeInfoData--;
return o;
@@ -1052,9 +1052,9 @@
checkRepresentativeInfoData(api.RepresentativeInfoData o) {
buildCounterRepresentativeInfoData++;
if (buildCounterRepresentativeInfoData < 3) {
- checkUnnamed2405(o.divisions);
- checkUnnamed2406(o.offices);
- checkUnnamed2407(o.officials);
+ checkUnnamed2510(o.divisions);
+ checkUnnamed2511(o.offices);
+ checkUnnamed2512(o.officials);
}
buildCounterRepresentativeInfoData--;
}
@@ -1078,40 +1078,40 @@
buildCounterRepresentativeInfoRequest--;
}
-buildUnnamed2408() {
+buildUnnamed2513() {
var o = new core.Map<core.String, api.GeographicDivision>();
o["x"] = buildGeographicDivision();
o["y"] = buildGeographicDivision();
return o;
}
-checkUnnamed2408(core.Map<core.String, api.GeographicDivision> o) {
+checkUnnamed2513(core.Map<core.String, api.GeographicDivision> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeographicDivision(o["x"]);
checkGeographicDivision(o["y"]);
}
-buildUnnamed2409() {
+buildUnnamed2514() {
var o = new core.List<api.Office>();
o.add(buildOffice());
o.add(buildOffice());
return o;
}
-checkUnnamed2409(core.List<api.Office> o) {
+checkUnnamed2514(core.List<api.Office> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffice(o[0]);
checkOffice(o[1]);
}
-buildUnnamed2410() {
+buildUnnamed2515() {
var o = new core.List<api.Official>();
o.add(buildOfficial());
o.add(buildOfficial());
return o;
}
-checkUnnamed2410(core.List<api.Official> o) {
+checkUnnamed2515(core.List<api.Official> o) {
unittest.expect(o, unittest.hasLength(2));
checkOfficial(o[0]);
checkOfficial(o[1]);
@@ -1122,11 +1122,11 @@
var o = new api.RepresentativeInfoResponse();
buildCounterRepresentativeInfoResponse++;
if (buildCounterRepresentativeInfoResponse < 3) {
- o.divisions = buildUnnamed2408();
+ o.divisions = buildUnnamed2513();
o.kind = "foo";
o.normalizedInput = buildSimpleAddressType();
- o.offices = buildUnnamed2409();
- o.officials = buildUnnamed2410();
+ o.offices = buildUnnamed2514();
+ o.officials = buildUnnamed2515();
}
buildCounterRepresentativeInfoResponse--;
return o;
@@ -1135,11 +1135,11 @@
checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
buildCounterRepresentativeInfoResponse++;
if (buildCounterRepresentativeInfoResponse < 3) {
- checkUnnamed2408(o.divisions);
+ checkUnnamed2513(o.divisions);
unittest.expect(o.kind, unittest.equals('foo'));
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed2409(o.offices);
- checkUnnamed2410(o.officials);
+ checkUnnamed2514(o.offices);
+ checkUnnamed2515(o.officials);
}
buildCounterRepresentativeInfoResponse--;
}
@@ -1217,79 +1217,79 @@
buildCounterVoterInfoRequest--;
}
-buildUnnamed2411() {
+buildUnnamed2516() {
var o = new core.List<api.Contest>();
o.add(buildContest());
o.add(buildContest());
return o;
}
-checkUnnamed2411(core.List<api.Contest> o) {
+checkUnnamed2516(core.List<api.Contest> o) {
unittest.expect(o, unittest.hasLength(2));
checkContest(o[0]);
checkContest(o[1]);
}
-buildUnnamed2412() {
+buildUnnamed2517() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed2412(core.List<api.PollingLocation> o) {
+checkUnnamed2517(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed2413() {
+buildUnnamed2518() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed2413(core.List<api.PollingLocation> o) {
+checkUnnamed2518(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed2414() {
+buildUnnamed2519() {
var o = new core.List<api.Election>();
o.add(buildElection());
o.add(buildElection());
return o;
}
-checkUnnamed2414(core.List<api.Election> o) {
+checkUnnamed2519(core.List<api.Election> o) {
unittest.expect(o, unittest.hasLength(2));
checkElection(o[0]);
checkElection(o[1]);
}
-buildUnnamed2415() {
+buildUnnamed2520() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed2415(core.List<api.PollingLocation> o) {
+checkUnnamed2520(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed2416() {
+buildUnnamed2521() {
var o = new core.List<api.AdministrationRegion>();
o.add(buildAdministrationRegion());
o.add(buildAdministrationRegion());
return o;
}
-checkUnnamed2416(core.List<api.AdministrationRegion> o) {
+checkUnnamed2521(core.List<api.AdministrationRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdministrationRegion(o[0]);
checkAdministrationRegion(o[1]);
@@ -1300,17 +1300,17 @@
var o = new api.VoterInfoResponse();
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- o.contests = buildUnnamed2411();
- o.dropOffLocations = buildUnnamed2412();
- o.earlyVoteSites = buildUnnamed2413();
+ o.contests = buildUnnamed2516();
+ o.dropOffLocations = buildUnnamed2517();
+ o.earlyVoteSites = buildUnnamed2518();
o.election = buildElection();
o.kind = "foo";
o.mailOnly = true;
o.normalizedInput = buildSimpleAddressType();
- o.otherElections = buildUnnamed2414();
- o.pollingLocations = buildUnnamed2415();
+ o.otherElections = buildUnnamed2519();
+ o.pollingLocations = buildUnnamed2520();
o.precinctId = "foo";
- o.state = buildUnnamed2416();
+ o.state = buildUnnamed2521();
}
buildCounterVoterInfoResponse--;
return o;
@@ -1319,17 +1319,17 @@
checkVoterInfoResponse(api.VoterInfoResponse o) {
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- checkUnnamed2411(o.contests);
- checkUnnamed2412(o.dropOffLocations);
- checkUnnamed2413(o.earlyVoteSites);
+ checkUnnamed2516(o.contests);
+ checkUnnamed2517(o.dropOffLocations);
+ checkUnnamed2518(o.earlyVoteSites);
checkElection(o.election);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.mailOnly, unittest.isTrue);
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed2414(o.otherElections);
- checkUnnamed2415(o.pollingLocations);
+ checkUnnamed2519(o.otherElections);
+ checkUnnamed2520(o.pollingLocations);
unittest.expect(o.precinctId, unittest.equals('foo'));
- checkUnnamed2416(o.state);
+ checkUnnamed2521(o.state);
}
buildCounterVoterInfoResponse--;
}
@@ -1359,53 +1359,53 @@
buildCounterVoterInfoSegmentResult--;
}
-buildUnnamed2417() {
+buildUnnamed2522() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2417(core.List<core.String> o) {
+checkUnnamed2522(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2418() {
+buildUnnamed2523() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2418(core.List<core.String> o) {
+checkUnnamed2523(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2419() {
+buildUnnamed2524() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2419(core.List<core.String> o) {
+checkUnnamed2524(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2420() {
+buildUnnamed2525() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2420(core.List<core.String> o) {
+checkUnnamed2525(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1838,8 +1838,8 @@
var arg_request = buildRepresentativeInfoRequest();
var arg_address = "foo";
var arg_includeOffices = true;
- var arg_levels = buildUnnamed2417();
- var arg_roles = buildUnnamed2418();
+ var arg_levels = buildUnnamed2522();
+ var arg_roles = buildUnnamed2523();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.RepresentativeInfoRequest.fromJson(json);
checkRepresentativeInfoRequest(obj);
@@ -1894,9 +1894,9 @@
api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives;
var arg_request = buildDivisionRepresentativeInfoRequest();
var arg_ocdId = "foo";
- var arg_levels = buildUnnamed2419();
+ var arg_levels = buildUnnamed2524();
var arg_recursive = true;
- var arg_roles = buildUnnamed2420();
+ var arg_roles = buildUnnamed2525();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.DivisionRepresentativeInfoRequest.fromJson(json);
checkDivisionRepresentativeInfoRequest(obj);
diff --git a/generated/googleapis/test/classroom/v1_test.dart b/generated/googleapis/test/classroom/v1_test.dart
index ca88e05..26eaa4e 100644
--- a/generated/googleapis/test/classroom/v1_test.dart
+++ b/generated/googleapis/test/classroom/v1_test.dart
@@ -70,14 +70,14 @@
buildCounterAssignment--;
}
-buildUnnamed670() {
+buildUnnamed691() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed670(core.List<api.Attachment> o) {
+checkUnnamed691(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
@@ -88,7 +88,7 @@
var o = new api.AssignmentSubmission();
buildCounterAssignmentSubmission++;
if (buildCounterAssignmentSubmission < 3) {
- o.attachments = buildUnnamed670();
+ o.attachments = buildUnnamed691();
}
buildCounterAssignmentSubmission--;
return o;
@@ -97,7 +97,7 @@
checkAssignmentSubmission(api.AssignmentSubmission o) {
buildCounterAssignmentSubmission++;
if (buildCounterAssignmentSubmission < 3) {
- checkUnnamed670(o.attachments);
+ checkUnnamed691(o.attachments);
}
buildCounterAssignmentSubmission--;
}
@@ -127,14 +127,14 @@
buildCounterAttachment--;
}
-buildUnnamed671() {
+buildUnnamed692() {
var o = new core.List<api.CourseMaterialSet>();
o.add(buildCourseMaterialSet());
o.add(buildCourseMaterialSet());
return o;
}
-checkUnnamed671(core.List<api.CourseMaterialSet> o) {
+checkUnnamed692(core.List<api.CourseMaterialSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseMaterialSet(o[0]);
checkCourseMaterialSet(o[1]);
@@ -147,7 +147,7 @@
if (buildCounterCourse < 3) {
o.alternateLink = "foo";
o.courseGroupEmail = "foo";
- o.courseMaterialSets = buildUnnamed671();
+ o.courseMaterialSets = buildUnnamed692();
o.courseState = "foo";
o.creationTime = "foo";
o.description = "foo";
@@ -172,7 +172,7 @@
if (buildCounterCourse < 3) {
unittest.expect(o.alternateLink, unittest.equals('foo'));
unittest.expect(o.courseGroupEmail, unittest.equals('foo'));
- checkUnnamed671(o.courseMaterialSets);
+ checkUnnamed692(o.courseMaterialSets);
unittest.expect(o.courseState, unittest.equals('foo'));
unittest.expect(o.creationTime, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
@@ -235,14 +235,14 @@
buildCounterCourseMaterial--;
}
-buildUnnamed672() {
+buildUnnamed693() {
var o = new core.List<api.CourseMaterial>();
o.add(buildCourseMaterial());
o.add(buildCourseMaterial());
return o;
}
-checkUnnamed672(core.List<api.CourseMaterial> o) {
+checkUnnamed693(core.List<api.CourseMaterial> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseMaterial(o[0]);
checkCourseMaterial(o[1]);
@@ -253,7 +253,7 @@
var o = new api.CourseMaterialSet();
buildCounterCourseMaterialSet++;
if (buildCounterCourseMaterialSet < 3) {
- o.materials = buildUnnamed672();
+ o.materials = buildUnnamed693();
o.title = "foo";
}
buildCounterCourseMaterialSet--;
@@ -263,20 +263,20 @@
checkCourseMaterialSet(api.CourseMaterialSet o) {
buildCounterCourseMaterialSet++;
if (buildCounterCourseMaterialSet < 3) {
- checkUnnamed672(o.materials);
+ checkUnnamed693(o.materials);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterCourseMaterialSet--;
}
-buildUnnamed673() {
+buildUnnamed694() {
var o = new core.List<api.Material>();
o.add(buildMaterial());
o.add(buildMaterial());
return o;
}
-checkUnnamed673(core.List<api.Material> o) {
+checkUnnamed694(core.List<api.Material> o) {
unittest.expect(o, unittest.hasLength(2));
checkMaterial(o[0]);
checkMaterial(o[1]);
@@ -296,7 +296,7 @@
o.dueDate = buildDate();
o.dueTime = buildTimeOfDay();
o.id = "foo";
- o.materials = buildUnnamed673();
+ o.materials = buildUnnamed694();
o.maxPoints = 42.0;
o.multipleChoiceQuestion = buildMultipleChoiceQuestion();
o.state = "foo";
@@ -321,7 +321,7 @@
checkDate(o.dueDate);
checkTimeOfDay(o.dueTime);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed673(o.materials);
+ checkUnnamed694(o.materials);
unittest.expect(o.maxPoints, unittest.equals(42.0));
checkMultipleChoiceQuestion(o.multipleChoiceQuestion);
unittest.expect(o.state, unittest.equals('foo'));
@@ -565,14 +565,14 @@
buildCounterLink--;
}
-buildUnnamed674() {
+buildUnnamed695() {
var o = new core.List<api.CourseAlias>();
o.add(buildCourseAlias());
o.add(buildCourseAlias());
return o;
}
-checkUnnamed674(core.List<api.CourseAlias> o) {
+checkUnnamed695(core.List<api.CourseAlias> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseAlias(o[0]);
checkCourseAlias(o[1]);
@@ -583,7 +583,7 @@
var o = new api.ListCourseAliasesResponse();
buildCounterListCourseAliasesResponse++;
if (buildCounterListCourseAliasesResponse < 3) {
- o.aliases = buildUnnamed674();
+ o.aliases = buildUnnamed695();
o.nextPageToken = "foo";
}
buildCounterListCourseAliasesResponse--;
@@ -593,20 +593,20 @@
checkListCourseAliasesResponse(api.ListCourseAliasesResponse o) {
buildCounterListCourseAliasesResponse++;
if (buildCounterListCourseAliasesResponse < 3) {
- checkUnnamed674(o.aliases);
+ checkUnnamed695(o.aliases);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCourseAliasesResponse--;
}
-buildUnnamed675() {
+buildUnnamed696() {
var o = new core.List<api.CourseWork>();
o.add(buildCourseWork());
o.add(buildCourseWork());
return o;
}
-checkUnnamed675(core.List<api.CourseWork> o) {
+checkUnnamed696(core.List<api.CourseWork> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseWork(o[0]);
checkCourseWork(o[1]);
@@ -617,7 +617,7 @@
var o = new api.ListCourseWorkResponse();
buildCounterListCourseWorkResponse++;
if (buildCounterListCourseWorkResponse < 3) {
- o.courseWork = buildUnnamed675();
+ o.courseWork = buildUnnamed696();
o.nextPageToken = "foo";
}
buildCounterListCourseWorkResponse--;
@@ -627,20 +627,20 @@
checkListCourseWorkResponse(api.ListCourseWorkResponse o) {
buildCounterListCourseWorkResponse++;
if (buildCounterListCourseWorkResponse < 3) {
- checkUnnamed675(o.courseWork);
+ checkUnnamed696(o.courseWork);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCourseWorkResponse--;
}
-buildUnnamed676() {
+buildUnnamed697() {
var o = new core.List<api.Course>();
o.add(buildCourse());
o.add(buildCourse());
return o;
}
-checkUnnamed676(core.List<api.Course> o) {
+checkUnnamed697(core.List<api.Course> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourse(o[0]);
checkCourse(o[1]);
@@ -651,7 +651,7 @@
var o = new api.ListCoursesResponse();
buildCounterListCoursesResponse++;
if (buildCounterListCoursesResponse < 3) {
- o.courses = buildUnnamed676();
+ o.courses = buildUnnamed697();
o.nextPageToken = "foo";
}
buildCounterListCoursesResponse--;
@@ -661,20 +661,20 @@
checkListCoursesResponse(api.ListCoursesResponse o) {
buildCounterListCoursesResponse++;
if (buildCounterListCoursesResponse < 3) {
- checkUnnamed676(o.courses);
+ checkUnnamed697(o.courses);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCoursesResponse--;
}
-buildUnnamed677() {
+buildUnnamed698() {
var o = new core.List<api.GuardianInvitation>();
o.add(buildGuardianInvitation());
o.add(buildGuardianInvitation());
return o;
}
-checkUnnamed677(core.List<api.GuardianInvitation> o) {
+checkUnnamed698(core.List<api.GuardianInvitation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuardianInvitation(o[0]);
checkGuardianInvitation(o[1]);
@@ -685,7 +685,7 @@
var o = new api.ListGuardianInvitationsResponse();
buildCounterListGuardianInvitationsResponse++;
if (buildCounterListGuardianInvitationsResponse < 3) {
- o.guardianInvitations = buildUnnamed677();
+ o.guardianInvitations = buildUnnamed698();
o.nextPageToken = "foo";
}
buildCounterListGuardianInvitationsResponse--;
@@ -695,20 +695,20 @@
checkListGuardianInvitationsResponse(api.ListGuardianInvitationsResponse o) {
buildCounterListGuardianInvitationsResponse++;
if (buildCounterListGuardianInvitationsResponse < 3) {
- checkUnnamed677(o.guardianInvitations);
+ checkUnnamed698(o.guardianInvitations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGuardianInvitationsResponse--;
}
-buildUnnamed678() {
+buildUnnamed699() {
var o = new core.List<api.Guardian>();
o.add(buildGuardian());
o.add(buildGuardian());
return o;
}
-checkUnnamed678(core.List<api.Guardian> o) {
+checkUnnamed699(core.List<api.Guardian> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuardian(o[0]);
checkGuardian(o[1]);
@@ -719,7 +719,7 @@
var o = new api.ListGuardiansResponse();
buildCounterListGuardiansResponse++;
if (buildCounterListGuardiansResponse < 3) {
- o.guardians = buildUnnamed678();
+ o.guardians = buildUnnamed699();
o.nextPageToken = "foo";
}
buildCounterListGuardiansResponse--;
@@ -729,20 +729,20 @@
checkListGuardiansResponse(api.ListGuardiansResponse o) {
buildCounterListGuardiansResponse++;
if (buildCounterListGuardiansResponse < 3) {
- checkUnnamed678(o.guardians);
+ checkUnnamed699(o.guardians);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGuardiansResponse--;
}
-buildUnnamed679() {
+buildUnnamed700() {
var o = new core.List<api.Invitation>();
o.add(buildInvitation());
o.add(buildInvitation());
return o;
}
-checkUnnamed679(core.List<api.Invitation> o) {
+checkUnnamed700(core.List<api.Invitation> o) {
unittest.expect(o, unittest.hasLength(2));
checkInvitation(o[0]);
checkInvitation(o[1]);
@@ -753,7 +753,7 @@
var o = new api.ListInvitationsResponse();
buildCounterListInvitationsResponse++;
if (buildCounterListInvitationsResponse < 3) {
- o.invitations = buildUnnamed679();
+ o.invitations = buildUnnamed700();
o.nextPageToken = "foo";
}
buildCounterListInvitationsResponse--;
@@ -763,20 +763,20 @@
checkListInvitationsResponse(api.ListInvitationsResponse o) {
buildCounterListInvitationsResponse++;
if (buildCounterListInvitationsResponse < 3) {
- checkUnnamed679(o.invitations);
+ checkUnnamed700(o.invitations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInvitationsResponse--;
}
-buildUnnamed680() {
+buildUnnamed701() {
var o = new core.List<api.StudentSubmission>();
o.add(buildStudentSubmission());
o.add(buildStudentSubmission());
return o;
}
-checkUnnamed680(core.List<api.StudentSubmission> o) {
+checkUnnamed701(core.List<api.StudentSubmission> o) {
unittest.expect(o, unittest.hasLength(2));
checkStudentSubmission(o[0]);
checkStudentSubmission(o[1]);
@@ -788,7 +788,7 @@
buildCounterListStudentSubmissionsResponse++;
if (buildCounterListStudentSubmissionsResponse < 3) {
o.nextPageToken = "foo";
- o.studentSubmissions = buildUnnamed680();
+ o.studentSubmissions = buildUnnamed701();
}
buildCounterListStudentSubmissionsResponse--;
return o;
@@ -798,19 +798,19 @@
buildCounterListStudentSubmissionsResponse++;
if (buildCounterListStudentSubmissionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed680(o.studentSubmissions);
+ checkUnnamed701(o.studentSubmissions);
}
buildCounterListStudentSubmissionsResponse--;
}
-buildUnnamed681() {
+buildUnnamed702() {
var o = new core.List<api.Student>();
o.add(buildStudent());
o.add(buildStudent());
return o;
}
-checkUnnamed681(core.List<api.Student> o) {
+checkUnnamed702(core.List<api.Student> o) {
unittest.expect(o, unittest.hasLength(2));
checkStudent(o[0]);
checkStudent(o[1]);
@@ -822,7 +822,7 @@
buildCounterListStudentsResponse++;
if (buildCounterListStudentsResponse < 3) {
o.nextPageToken = "foo";
- o.students = buildUnnamed681();
+ o.students = buildUnnamed702();
}
buildCounterListStudentsResponse--;
return o;
@@ -832,19 +832,19 @@
buildCounterListStudentsResponse++;
if (buildCounterListStudentsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed681(o.students);
+ checkUnnamed702(o.students);
}
buildCounterListStudentsResponse--;
}
-buildUnnamed682() {
+buildUnnamed703() {
var o = new core.List<api.Teacher>();
o.add(buildTeacher());
o.add(buildTeacher());
return o;
}
-checkUnnamed682(core.List<api.Teacher> o) {
+checkUnnamed703(core.List<api.Teacher> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeacher(o[0]);
checkTeacher(o[1]);
@@ -856,7 +856,7 @@
buildCounterListTeachersResponse++;
if (buildCounterListTeachersResponse < 3) {
o.nextPageToken = "foo";
- o.teachers = buildUnnamed682();
+ o.teachers = buildUnnamed703();
}
buildCounterListTeachersResponse--;
return o;
@@ -866,7 +866,7 @@
buildCounterListTeachersResponse++;
if (buildCounterListTeachersResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed682(o.teachers);
+ checkUnnamed703(o.teachers);
}
buildCounterListTeachersResponse--;
}
@@ -896,14 +896,14 @@
buildCounterMaterial--;
}
-buildUnnamed683() {
+buildUnnamed704() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed683(core.List<api.Attachment> o) {
+checkUnnamed704(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
@@ -914,7 +914,7 @@
var o = new api.ModifyAttachmentsRequest();
buildCounterModifyAttachmentsRequest++;
if (buildCounterModifyAttachmentsRequest < 3) {
- o.addAttachments = buildUnnamed683();
+ o.addAttachments = buildUnnamed704();
}
buildCounterModifyAttachmentsRequest--;
return o;
@@ -923,19 +923,19 @@
checkModifyAttachmentsRequest(api.ModifyAttachmentsRequest o) {
buildCounterModifyAttachmentsRequest++;
if (buildCounterModifyAttachmentsRequest < 3) {
- checkUnnamed683(o.addAttachments);
+ checkUnnamed704(o.addAttachments);
}
buildCounterModifyAttachmentsRequest--;
}
-buildUnnamed684() {
+buildUnnamed705() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed684(core.List<core.String> o) {
+checkUnnamed705(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -946,7 +946,7 @@
var o = new api.MultipleChoiceQuestion();
buildCounterMultipleChoiceQuestion++;
if (buildCounterMultipleChoiceQuestion < 3) {
- o.choices = buildUnnamed684();
+ o.choices = buildUnnamed705();
}
buildCounterMultipleChoiceQuestion--;
return o;
@@ -955,7 +955,7 @@
checkMultipleChoiceQuestion(api.MultipleChoiceQuestion o) {
buildCounterMultipleChoiceQuestion++;
if (buildCounterMultipleChoiceQuestion < 3) {
- checkUnnamed684(o.choices);
+ checkUnnamed705(o.choices);
}
buildCounterMultipleChoiceQuestion--;
}
@@ -1215,14 +1215,14 @@
buildCounterTurnInStudentSubmissionRequest--;
}
-buildUnnamed685() {
+buildUnnamed706() {
var o = new core.List<api.GlobalPermission>();
o.add(buildGlobalPermission());
o.add(buildGlobalPermission());
return o;
}
-checkUnnamed685(core.List<api.GlobalPermission> o) {
+checkUnnamed706(core.List<api.GlobalPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkGlobalPermission(o[0]);
checkGlobalPermission(o[1]);
@@ -1236,7 +1236,7 @@
o.emailAddress = "foo";
o.id = "foo";
o.name = buildName();
- o.permissions = buildUnnamed685();
+ o.permissions = buildUnnamed706();
o.photoUrl = "foo";
}
buildCounterUserProfile--;
@@ -1249,7 +1249,7 @@
unittest.expect(o.emailAddress, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkName(o.name);
- checkUnnamed685(o.permissions);
+ checkUnnamed706(o.permissions);
unittest.expect(o.photoUrl, unittest.equals('foo'));
}
buildCounterUserProfile--;
@@ -1280,53 +1280,53 @@
buildCounterYouTubeVideo--;
}
-buildUnnamed686() {
+buildUnnamed707() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed686(core.List<core.String> o) {
+checkUnnamed707(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed687() {
+buildUnnamed708() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed687(core.List<core.String> o) {
+checkUnnamed708(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed688() {
+buildUnnamed709() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed688(core.List<core.String> o) {
+checkUnnamed709(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed689() {
+buildUnnamed710() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed689(core.List<core.String> o) {
+checkUnnamed710(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1867,10 +1867,10 @@
var mock = new HttpServerMock();
api.CoursesResourceApi res = new api.ClassroomApi(mock).courses;
- var arg_studentId = "foo";
- var arg_teacherId = "foo";
- var arg_courseStates = buildUnnamed686();
+ var arg_courseStates = buildUnnamed707();
var arg_pageSize = 42;
+ var arg_teacherId = "foo";
+ var arg_studentId = "foo";
var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1898,10 +1898,10 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["studentId"].first, unittest.equals(arg_studentId));
- unittest.expect(queryMap["teacherId"].first, unittest.equals(arg_teacherId));
unittest.expect(queryMap["courseStates"], unittest.equals(arg_courseStates));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["teacherId"].first, unittest.equals(arg_teacherId));
+ unittest.expect(queryMap["studentId"].first, unittest.equals(arg_studentId));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
@@ -1911,7 +1911,7 @@
var resp = convert.JSON.encode(buildListCoursesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(studentId: arg_studentId, teacherId: arg_teacherId, courseStates: arg_courseStates, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListCoursesResponse response) {
+ res.list(courseStates: arg_courseStates, pageSize: arg_pageSize, teacherId: arg_teacherId, studentId: arg_studentId, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListCoursesResponse response) {
checkListCoursesResponse(response);
})));
});
@@ -2363,9 +2363,9 @@
var mock = new HttpServerMock();
api.CoursesCourseWorkResourceApi res = new api.ClassroomApi(mock).courses.courseWork;
var arg_courseId = "foo";
- var arg_courseWorkStates = buildUnnamed687();
- var arg_orderBy = "foo";
+ var arg_courseWorkStates = buildUnnamed708();
var arg_pageSize = 42;
+ var arg_orderBy = "foo";
var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2401,8 +2401,8 @@
}
}
unittest.expect(queryMap["courseWorkStates"], unittest.equals(arg_courseWorkStates));
- unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
@@ -2412,7 +2412,7 @@
var resp = convert.JSON.encode(buildListCourseWorkResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_courseId, courseWorkStates: arg_courseWorkStates, orderBy: arg_orderBy, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListCourseWorkResponse response) {
+ res.list(arg_courseId, courseWorkStates: arg_courseWorkStates, pageSize: arg_pageSize, orderBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListCourseWorkResponse response) {
checkListCourseWorkResponse(response);
})));
});
@@ -2551,10 +2551,10 @@
api.CoursesCourseWorkStudentSubmissionsResourceApi res = new api.ClassroomApi(mock).courses.courseWork.studentSubmissions;
var arg_courseId = "foo";
var arg_courseWorkId = "foo";
+ var arg_states = buildUnnamed709();
var arg_userId = "foo";
- var arg_states = buildUnnamed688();
- var arg_late = "foo";
var arg_pageSize = 42;
+ var arg_late = "foo";
var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2596,10 +2596,10 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["userId"].first, unittest.equals(arg_userId));
unittest.expect(queryMap["states"], unittest.equals(arg_states));
- unittest.expect(queryMap["late"].first, unittest.equals(arg_late));
+ unittest.expect(queryMap["userId"].first, unittest.equals(arg_userId));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["late"].first, unittest.equals(arg_late));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
@@ -2609,7 +2609,7 @@
var resp = convert.JSON.encode(buildListStudentSubmissionsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_courseId, arg_courseWorkId, userId: arg_userId, states: arg_states, late: arg_late, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListStudentSubmissionsResponse response) {
+ res.list(arg_courseId, arg_courseWorkId, states: arg_states, userId: arg_userId, pageSize: arg_pageSize, late: arg_late, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListStudentSubmissionsResponse response) {
checkListStudentSubmissionsResponse(response);
})));
});
@@ -3617,9 +3617,9 @@
var mock = new HttpServerMock();
api.InvitationsResourceApi res = new api.ClassroomApi(mock).invitations;
- var arg_userId = "foo";
var arg_courseId = "foo";
var arg_pageSize = 42;
+ var arg_userId = "foo";
var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3647,9 +3647,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["userId"].first, unittest.equals(arg_userId));
unittest.expect(queryMap["courseId"].first, unittest.equals(arg_courseId));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["userId"].first, unittest.equals(arg_userId));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
@@ -3659,7 +3659,7 @@
var resp = convert.JSON.encode(buildListInvitationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(userId: arg_userId, courseId: arg_courseId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListInvitationsResponse response) {
+ res.list(courseId: arg_courseId, pageSize: arg_pageSize, userId: arg_userId, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListInvitationsResponse response) {
checkListInvitationsResponse(response);
})));
});
@@ -3834,10 +3834,10 @@
var mock = new HttpServerMock();
api.UserProfilesGuardianInvitationsResourceApi res = new api.ClassroomApi(mock).userProfiles.guardianInvitations;
var arg_studentId = "foo";
- var arg_invitedEmailAddress = "foo";
- var arg_states = buildUnnamed689();
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_invitedEmailAddress = "foo";
+ var arg_states = buildUnnamed710();
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3871,10 +3871,10 @@
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["invitedEmailAddress"].first, unittest.equals(arg_invitedEmailAddress));
unittest.expect(queryMap["states"], unittest.equals(arg_states));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -3883,7 +3883,7 @@
var resp = convert.JSON.encode(buildListGuardianInvitationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_studentId, invitedEmailAddress: arg_invitedEmailAddress, states: arg_states, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListGuardianInvitationsResponse response) {
+ res.list(arg_studentId, pageSize: arg_pageSize, invitedEmailAddress: arg_invitedEmailAddress, states: arg_states, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListGuardianInvitationsResponse response) {
checkListGuardianInvitationsResponse(response);
})));
});
@@ -4068,9 +4068,9 @@
var mock = new HttpServerMock();
api.UserProfilesGuardiansResourceApi res = new api.ClassroomApi(mock).userProfiles.guardians;
var arg_studentId = "foo";
+ var arg_pageSize = 42;
var arg_invitedEmailAddress = "foo";
var arg_pageToken = "foo";
- var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4104,9 +4104,9 @@
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["invitedEmailAddress"].first, unittest.equals(arg_invitedEmailAddress));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -4115,7 +4115,7 @@
var resp = convert.JSON.encode(buildListGuardiansResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_studentId, invitedEmailAddress: arg_invitedEmailAddress, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListGuardiansResponse response) {
+ res.list(arg_studentId, pageSize: arg_pageSize, invitedEmailAddress: arg_invitedEmailAddress, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListGuardiansResponse response) {
checkListGuardiansResponse(response);
})));
});
diff --git a/generated/googleapis/test/cloudbilling/v1_test.dart b/generated/googleapis/test/cloudbilling/v1_test.dart
index 1fa9f5a..e6b19a7 100644
--- a/generated/googleapis/test/cloudbilling/v1_test.dart
+++ b/generated/googleapis/test/cloudbilling/v1_test.dart
@@ -74,14 +74,14 @@
buildCounterBillingAccount--;
}
-buildUnnamed19() {
+buildUnnamed37() {
var o = new core.List<api.BillingAccount>();
o.add(buildBillingAccount());
o.add(buildBillingAccount());
return o;
}
-checkUnnamed19(core.List<api.BillingAccount> o) {
+checkUnnamed37(core.List<api.BillingAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingAccount(o[0]);
checkBillingAccount(o[1]);
@@ -92,7 +92,7 @@
var o = new api.ListBillingAccountsResponse();
buildCounterListBillingAccountsResponse++;
if (buildCounterListBillingAccountsResponse < 3) {
- o.billingAccounts = buildUnnamed19();
+ o.billingAccounts = buildUnnamed37();
o.nextPageToken = "foo";
}
buildCounterListBillingAccountsResponse--;
@@ -102,20 +102,20 @@
checkListBillingAccountsResponse(api.ListBillingAccountsResponse o) {
buildCounterListBillingAccountsResponse++;
if (buildCounterListBillingAccountsResponse < 3) {
- checkUnnamed19(o.billingAccounts);
+ checkUnnamed37(o.billingAccounts);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListBillingAccountsResponse--;
}
-buildUnnamed20() {
+buildUnnamed38() {
var o = new core.List<api.ProjectBillingInfo>();
o.add(buildProjectBillingInfo());
o.add(buildProjectBillingInfo());
return o;
}
-checkUnnamed20(core.List<api.ProjectBillingInfo> o) {
+checkUnnamed38(core.List<api.ProjectBillingInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkProjectBillingInfo(o[0]);
checkProjectBillingInfo(o[1]);
@@ -127,7 +127,7 @@
buildCounterListProjectBillingInfoResponse++;
if (buildCounterListProjectBillingInfoResponse < 3) {
o.nextPageToken = "foo";
- o.projectBillingInfo = buildUnnamed20();
+ o.projectBillingInfo = buildUnnamed38();
}
buildCounterListProjectBillingInfoResponse--;
return o;
@@ -137,7 +137,7 @@
buildCounterListProjectBillingInfoResponse++;
if (buildCounterListProjectBillingInfoResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed20(o.projectBillingInfo);
+ checkUnnamed38(o.projectBillingInfo);
}
buildCounterListProjectBillingInfoResponse--;
}
diff --git a/generated/googleapis/test/cloudbuild/v1_test.dart b/generated/googleapis/test/cloudbuild/v1_test.dart
index a1087e4..c3dc8b7 100644
--- a/generated/googleapis/test/cloudbuild/v1_test.dart
+++ b/generated/googleapis/test/cloudbuild/v1_test.dart
@@ -51,40 +51,40 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1216() {
+buildUnnamed1269() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1216(core.List<core.String> o) {
+checkUnnamed1269(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1217() {
+buildUnnamed1270() {
var o = new core.List<api.BuildStep>();
o.add(buildBuildStep());
o.add(buildBuildStep());
return o;
}
-checkUnnamed1217(core.List<api.BuildStep> o) {
+checkUnnamed1270(core.List<api.BuildStep> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildStep(o[0]);
checkBuildStep(o[1]);
}
-buildUnnamed1218() {
+buildUnnamed1271() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1218(core.Map<core.String, core.String> o) {
+checkUnnamed1271(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -99,7 +99,7 @@
o.createTime = "foo";
o.finishTime = "foo";
o.id = "foo";
- o.images = buildUnnamed1216();
+ o.images = buildUnnamed1269();
o.logUrl = "foo";
o.logsBucket = "foo";
o.options = buildBuildOptions();
@@ -110,8 +110,8 @@
o.startTime = "foo";
o.status = "foo";
o.statusDetail = "foo";
- o.steps = buildUnnamed1217();
- o.substitutions = buildUnnamed1218();
+ o.steps = buildUnnamed1270();
+ o.substitutions = buildUnnamed1271();
o.timeout = "foo";
}
buildCounterBuild--;
@@ -125,7 +125,7 @@
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.finishTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1216(o.images);
+ checkUnnamed1269(o.images);
unittest.expect(o.logUrl, unittest.equals('foo'));
unittest.expect(o.logsBucket, unittest.equals('foo'));
checkBuildOptions(o.options);
@@ -136,8 +136,8 @@
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.statusDetail, unittest.equals('foo'));
- checkUnnamed1217(o.steps);
- checkUnnamed1218(o.substitutions);
+ checkUnnamed1270(o.steps);
+ checkUnnamed1271(o.substitutions);
unittest.expect(o.timeout, unittest.equals('foo'));
}
buildCounterBuild--;
@@ -162,14 +162,14 @@
buildCounterBuildOperationMetadata--;
}
-buildUnnamed1219() {
+buildUnnamed1272() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1219(core.List<core.String> o) {
+checkUnnamed1272(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -181,7 +181,7 @@
buildCounterBuildOptions++;
if (buildCounterBuildOptions < 3) {
o.requestedVerifyOption = "foo";
- o.sourceProvenanceHash = buildUnnamed1219();
+ o.sourceProvenanceHash = buildUnnamed1272();
}
buildCounterBuildOptions--;
return o;
@@ -191,45 +191,45 @@
buildCounterBuildOptions++;
if (buildCounterBuildOptions < 3) {
unittest.expect(o.requestedVerifyOption, unittest.equals('foo'));
- checkUnnamed1219(o.sourceProvenanceHash);
+ checkUnnamed1272(o.sourceProvenanceHash);
}
buildCounterBuildOptions--;
}
-buildUnnamed1220() {
+buildUnnamed1273() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1220(core.List<core.String> o) {
+checkUnnamed1273(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1221() {
+buildUnnamed1274() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1221(core.List<core.String> o) {
+checkUnnamed1274(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1222() {
+buildUnnamed1275() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1222(core.List<core.String> o) {
+checkUnnamed1275(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -240,13 +240,13 @@
var o = new api.BuildStep();
buildCounterBuildStep++;
if (buildCounterBuildStep < 3) {
- o.args = buildUnnamed1220();
+ o.args = buildUnnamed1273();
o.dir = "foo";
o.entrypoint = "foo";
- o.env = buildUnnamed1221();
+ o.env = buildUnnamed1274();
o.id = "foo";
o.name = "foo";
- o.waitFor = buildUnnamed1222();
+ o.waitFor = buildUnnamed1275();
}
buildCounterBuildStep--;
return o;
@@ -255,25 +255,25 @@
checkBuildStep(api.BuildStep o) {
buildCounterBuildStep++;
if (buildCounterBuildStep < 3) {
- checkUnnamed1220(o.args);
+ checkUnnamed1273(o.args);
unittest.expect(o.dir, unittest.equals('foo'));
unittest.expect(o.entrypoint, unittest.equals('foo'));
- checkUnnamed1221(o.env);
+ checkUnnamed1274(o.env);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1222(o.waitFor);
+ checkUnnamed1275(o.waitFor);
}
buildCounterBuildStep--;
}
-buildUnnamed1223() {
+buildUnnamed1276() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1223(core.Map<core.String, core.String> o) {
+checkUnnamed1276(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -290,7 +290,7 @@
o.disabled = true;
o.filename = "foo";
o.id = "foo";
- o.substitutions = buildUnnamed1223();
+ o.substitutions = buildUnnamed1276();
o.triggerTemplate = buildRepoSource();
}
buildCounterBuildTrigger--;
@@ -306,7 +306,7 @@
unittest.expect(o.disabled, unittest.isTrue);
unittest.expect(o.filename, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1223(o.substitutions);
+ checkUnnamed1276(o.substitutions);
checkRepoSource(o.triggerTemplate);
}
buildCounterBuildTrigger--;
@@ -384,14 +384,14 @@
buildCounterEmpty--;
}
-buildUnnamed1224() {
+buildUnnamed1277() {
var o = new core.List<api.Hash>();
o.add(buildHash());
o.add(buildHash());
return o;
}
-checkUnnamed1224(core.List<api.Hash> o) {
+checkUnnamed1277(core.List<api.Hash> o) {
unittest.expect(o, unittest.hasLength(2));
checkHash(o[0]);
checkHash(o[1]);
@@ -402,7 +402,7 @@
var o = new api.FileHashes();
buildCounterFileHashes++;
if (buildCounterFileHashes < 3) {
- o.fileHash = buildUnnamed1224();
+ o.fileHash = buildUnnamed1277();
}
buildCounterFileHashes--;
return o;
@@ -411,7 +411,7 @@
checkFileHashes(api.FileHashes o) {
buildCounterFileHashes++;
if (buildCounterFileHashes < 3) {
- checkUnnamed1224(o.fileHash);
+ checkUnnamed1277(o.fileHash);
}
buildCounterFileHashes--;
}
@@ -437,14 +437,14 @@
buildCounterHash--;
}
-buildUnnamed1225() {
+buildUnnamed1278() {
var o = new core.List<api.BuildTrigger>();
o.add(buildBuildTrigger());
o.add(buildBuildTrigger());
return o;
}
-checkUnnamed1225(core.List<api.BuildTrigger> o) {
+checkUnnamed1278(core.List<api.BuildTrigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildTrigger(o[0]);
checkBuildTrigger(o[1]);
@@ -455,7 +455,7 @@
var o = new api.ListBuildTriggersResponse();
buildCounterListBuildTriggersResponse++;
if (buildCounterListBuildTriggersResponse < 3) {
- o.triggers = buildUnnamed1225();
+ o.triggers = buildUnnamed1278();
}
buildCounterListBuildTriggersResponse--;
return o;
@@ -464,19 +464,19 @@
checkListBuildTriggersResponse(api.ListBuildTriggersResponse o) {
buildCounterListBuildTriggersResponse++;
if (buildCounterListBuildTriggersResponse < 3) {
- checkUnnamed1225(o.triggers);
+ checkUnnamed1278(o.triggers);
}
buildCounterListBuildTriggersResponse--;
}
-buildUnnamed1226() {
+buildUnnamed1279() {
var o = new core.List<api.Build>();
o.add(buildBuild());
o.add(buildBuild());
return o;
}
-checkUnnamed1226(core.List<api.Build> o) {
+checkUnnamed1279(core.List<api.Build> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuild(o[0]);
checkBuild(o[1]);
@@ -487,7 +487,7 @@
var o = new api.ListBuildsResponse();
buildCounterListBuildsResponse++;
if (buildCounterListBuildsResponse < 3) {
- o.builds = buildUnnamed1226();
+ o.builds = buildUnnamed1279();
o.nextPageToken = "foo";
}
buildCounterListBuildsResponse--;
@@ -497,20 +497,20 @@
checkListBuildsResponse(api.ListBuildsResponse o) {
buildCounterListBuildsResponse++;
if (buildCounterListBuildsResponse < 3) {
- checkUnnamed1226(o.builds);
+ checkUnnamed1279(o.builds);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListBuildsResponse--;
}
-buildUnnamed1227() {
+buildUnnamed1280() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1227(core.List<api.Operation> o) {
+checkUnnamed1280(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -522,7 +522,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1227();
+ o.operations = buildUnnamed1280();
}
buildCounterListOperationsResponse--;
return o;
@@ -532,32 +532,32 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1227(o.operations);
+ checkUnnamed1280(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1228() {
+buildUnnamed1281() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1228(core.Map<core.String, core.Object> o) {
+checkUnnamed1281(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed1229() {
+buildUnnamed1282() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1229(core.Map<core.String, core.Object> o) {
+checkUnnamed1282(core.Map<core.String, core.Object> 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'));
@@ -570,9 +570,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1228();
+ o.metadata = buildUnnamed1281();
o.name = "foo";
- o.response = buildUnnamed1229();
+ o.response = buildUnnamed1282();
}
buildCounterOperation--;
return o;
@@ -583,9 +583,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1228(o.metadata);
+ checkUnnamed1281(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1229(o.response);
+ checkUnnamed1282(o.response);
}
buildCounterOperation--;
}
@@ -617,27 +617,27 @@
buildCounterRepoSource--;
}
-buildUnnamed1230() {
+buildUnnamed1283() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1230(core.List<core.String> o) {
+checkUnnamed1283(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1231() {
+buildUnnamed1284() {
var o = new core.List<api.BuiltImage>();
o.add(buildBuiltImage());
o.add(buildBuiltImage());
return o;
}
-checkUnnamed1231(core.List<api.BuiltImage> o) {
+checkUnnamed1284(core.List<api.BuiltImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuiltImage(o[0]);
checkBuiltImage(o[1]);
@@ -648,8 +648,8 @@
var o = new api.Results();
buildCounterResults++;
if (buildCounterResults < 3) {
- o.buildStepImages = buildUnnamed1230();
- o.images = buildUnnamed1231();
+ o.buildStepImages = buildUnnamed1283();
+ o.images = buildUnnamed1284();
}
buildCounterResults--;
return o;
@@ -658,8 +658,8 @@
checkResults(api.Results o) {
buildCounterResults++;
if (buildCounterResults < 3) {
- checkUnnamed1230(o.buildStepImages);
- checkUnnamed1231(o.images);
+ checkUnnamed1283(o.buildStepImages);
+ checkUnnamed1284(o.images);
}
buildCounterResults--;
}
@@ -685,14 +685,14 @@
buildCounterSource--;
}
-buildUnnamed1232() {
+buildUnnamed1285() {
var o = new core.Map<core.String, api.FileHashes>();
o["x"] = buildFileHashes();
o["y"] = buildFileHashes();
return o;
}
-checkUnnamed1232(core.Map<core.String, api.FileHashes> o) {
+checkUnnamed1285(core.Map<core.String, api.FileHashes> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileHashes(o["x"]);
checkFileHashes(o["y"]);
@@ -703,7 +703,7 @@
var o = new api.SourceProvenance();
buildCounterSourceProvenance++;
if (buildCounterSourceProvenance < 3) {
- o.fileHashes = buildUnnamed1232();
+ o.fileHashes = buildUnnamed1285();
o.resolvedRepoSource = buildRepoSource();
o.resolvedStorageSource = buildStorageSource();
}
@@ -714,37 +714,37 @@
checkSourceProvenance(api.SourceProvenance o) {
buildCounterSourceProvenance++;
if (buildCounterSourceProvenance < 3) {
- checkUnnamed1232(o.fileHashes);
+ checkUnnamed1285(o.fileHashes);
checkRepoSource(o.resolvedRepoSource);
checkStorageSource(o.resolvedStorageSource);
}
buildCounterSourceProvenance--;
}
-buildUnnamed1233() {
+buildUnnamed1286() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1233(core.Map<core.String, core.Object> o) {
+checkUnnamed1286(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed1234() {
+buildUnnamed1287() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1233());
- o.add(buildUnnamed1233());
+ o.add(buildUnnamed1286());
+ o.add(buildUnnamed1286());
return o;
}
-checkUnnamed1234(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1287(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1233(o[0]);
- checkUnnamed1233(o[1]);
+ checkUnnamed1286(o[0]);
+ checkUnnamed1286(o[1]);
}
core.int buildCounterStatus = 0;
@@ -753,7 +753,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1234();
+ o.details = buildUnnamed1287();
o.message = "foo";
}
buildCounterStatus--;
@@ -764,7 +764,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1234(o.details);
+ checkUnnamed1287(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1084,9 +1084,9 @@
var mock = new HttpServerMock();
api.OperationsResourceApi res = new api.CloudbuildApi(mock).operations;
var arg_name = "foo";
+ var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_filter = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1114,9 +1114,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -1125,7 +1125,7 @@
var resp = convert.JSON.encode(buildListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListOperationsResponse response) {
+ res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
@@ -1312,9 +1312,9 @@
var mock = new HttpServerMock();
api.ProjectsBuildsResourceApi res = new api.CloudbuildApi(mock).projects.builds;
var arg_projectId = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_filter = "foo";
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1348,9 +1348,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1359,7 +1359,7 @@
var resp = convert.JSON.encode(buildListBuildsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListBuildsResponse response) {
+ res.list(arg_projectId, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListBuildsResponse response) {
checkListBuildsResponse(response);
})));
});
diff --git a/generated/googleapis/test/clouddebugger/v2_test.dart b/generated/googleapis/test/clouddebugger/v2_test.dart
index 131cd66..83fce38 100644
--- a/generated/googleapis/test/clouddebugger/v2_test.dart
+++ b/generated/googleapis/test/clouddebugger/v2_test.dart
@@ -72,66 +72,66 @@
buildCounterAliasContext--;
}
-buildUnnamed776() {
+buildUnnamed802() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed776(core.List<api.Variable> o) {
+checkUnnamed802(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
}
-buildUnnamed777() {
+buildUnnamed803() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed777(core.List<core.String> o) {
+checkUnnamed803(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed778() {
+buildUnnamed804() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed778(core.Map<core.String, core.String> o) {
+checkUnnamed804(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed779() {
+buildUnnamed805() {
var o = new core.List<api.StackFrame>();
o.add(buildStackFrame());
o.add(buildStackFrame());
return o;
}
-checkUnnamed779(core.List<api.StackFrame> o) {
+checkUnnamed805(core.List<api.StackFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkStackFrame(o[0]);
checkStackFrame(o[1]);
}
-buildUnnamed780() {
+buildUnnamed806() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed780(core.List<api.Variable> o) {
+checkUnnamed806(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -145,19 +145,19 @@
o.action = "foo";
o.condition = "foo";
o.createTime = "foo";
- o.evaluatedExpressions = buildUnnamed776();
- o.expressions = buildUnnamed777();
+ o.evaluatedExpressions = buildUnnamed802();
+ o.expressions = buildUnnamed803();
o.finalTime = "foo";
o.id = "foo";
o.isFinalState = true;
- o.labels = buildUnnamed778();
+ o.labels = buildUnnamed804();
o.location = buildSourceLocation();
o.logLevel = "foo";
o.logMessageFormat = "foo";
- o.stackFrames = buildUnnamed779();
+ o.stackFrames = buildUnnamed805();
o.status = buildStatusMessage();
o.userEmail = "foo";
- o.variableTable = buildUnnamed780();
+ o.variableTable = buildUnnamed806();
}
buildCounterBreakpoint--;
return o;
@@ -169,19 +169,19 @@
unittest.expect(o.action, unittest.equals('foo'));
unittest.expect(o.condition, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed776(o.evaluatedExpressions);
- checkUnnamed777(o.expressions);
+ checkUnnamed802(o.evaluatedExpressions);
+ checkUnnamed803(o.expressions);
unittest.expect(o.finalTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isFinalState, unittest.isTrue);
- checkUnnamed778(o.labels);
+ checkUnnamed804(o.labels);
checkSourceLocation(o.location);
unittest.expect(o.logLevel, unittest.equals('foo'));
unittest.expect(o.logMessageFormat, unittest.equals('foo'));
- checkUnnamed779(o.stackFrames);
+ checkUnnamed805(o.stackFrames);
checkStatusMessage(o.status);
unittest.expect(o.userEmail, unittest.equals('foo'));
- checkUnnamed780(o.variableTable);
+ checkUnnamed806(o.variableTable);
}
buildCounterBreakpoint--;
}
@@ -253,40 +253,40 @@
buildCounterCloudWorkspaceSourceContext--;
}
-buildUnnamed781() {
+buildUnnamed807() {
var o = new core.List<api.ExtendedSourceContext>();
o.add(buildExtendedSourceContext());
o.add(buildExtendedSourceContext());
return o;
}
-checkUnnamed781(core.List<api.ExtendedSourceContext> o) {
+checkUnnamed807(core.List<api.ExtendedSourceContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkExtendedSourceContext(o[0]);
checkExtendedSourceContext(o[1]);
}
-buildUnnamed782() {
+buildUnnamed808() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed782(core.Map<core.String, core.String> o) {
+checkUnnamed808(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed783() {
+buildUnnamed809() {
var o = new core.List<api.SourceContext>();
o.add(buildSourceContext());
o.add(buildSourceContext());
return o;
}
-checkUnnamed783(core.List<api.SourceContext> o) {
+checkUnnamed809(core.List<api.SourceContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceContext(o[0]);
checkSourceContext(o[1]);
@@ -299,13 +299,13 @@
if (buildCounterDebuggee < 3) {
o.agentVersion = "foo";
o.description = "foo";
- o.extSourceContexts = buildUnnamed781();
+ o.extSourceContexts = buildUnnamed807();
o.id = "foo";
o.isDisabled = true;
o.isInactive = true;
- o.labels = buildUnnamed782();
+ o.labels = buildUnnamed808();
o.project = "foo";
- o.sourceContexts = buildUnnamed783();
+ o.sourceContexts = buildUnnamed809();
o.status = buildStatusMessage();
o.uniquifier = "foo";
}
@@ -318,13 +318,13 @@
if (buildCounterDebuggee < 3) {
unittest.expect(o.agentVersion, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed781(o.extSourceContexts);
+ checkUnnamed807(o.extSourceContexts);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isDisabled, unittest.isTrue);
unittest.expect(o.isInactive, unittest.isTrue);
- checkUnnamed782(o.labels);
+ checkUnnamed808(o.labels);
unittest.expect(o.project, unittest.equals('foo'));
- checkUnnamed783(o.sourceContexts);
+ checkUnnamed809(o.sourceContexts);
checkStatusMessage(o.status);
unittest.expect(o.uniquifier, unittest.equals('foo'));
}
@@ -348,14 +348,14 @@
buildCounterEmpty--;
}
-buildUnnamed784() {
+buildUnnamed810() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed784(core.Map<core.String, core.String> o) {
+checkUnnamed810(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -367,7 +367,7 @@
buildCounterExtendedSourceContext++;
if (buildCounterExtendedSourceContext < 3) {
o.context = buildSourceContext();
- o.labels = buildUnnamed784();
+ o.labels = buildUnnamed810();
}
buildCounterExtendedSourceContext--;
return o;
@@ -377,19 +377,19 @@
buildCounterExtendedSourceContext++;
if (buildCounterExtendedSourceContext < 3) {
checkSourceContext(o.context);
- checkUnnamed784(o.labels);
+ checkUnnamed810(o.labels);
}
buildCounterExtendedSourceContext--;
}
-buildUnnamed785() {
+buildUnnamed811() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed785(core.List<core.String> o) {
+checkUnnamed811(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -401,7 +401,7 @@
buildCounterFormatMessage++;
if (buildCounterFormatMessage < 3) {
o.format = "foo";
- o.parameters = buildUnnamed785();
+ o.parameters = buildUnnamed811();
}
buildCounterFormatMessage--;
return o;
@@ -411,7 +411,7 @@
buildCounterFormatMessage++;
if (buildCounterFormatMessage < 3) {
unittest.expect(o.format, unittest.equals('foo'));
- checkUnnamed785(o.parameters);
+ checkUnnamed811(o.parameters);
}
buildCounterFormatMessage--;
}
@@ -483,14 +483,14 @@
buildCounterGitSourceContext--;
}
-buildUnnamed786() {
+buildUnnamed812() {
var o = new core.List<api.Breakpoint>();
o.add(buildBreakpoint());
o.add(buildBreakpoint());
return o;
}
-checkUnnamed786(core.List<api.Breakpoint> o) {
+checkUnnamed812(core.List<api.Breakpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkBreakpoint(o[0]);
checkBreakpoint(o[1]);
@@ -501,7 +501,7 @@
var o = new api.ListActiveBreakpointsResponse();
buildCounterListActiveBreakpointsResponse++;
if (buildCounterListActiveBreakpointsResponse < 3) {
- o.breakpoints = buildUnnamed786();
+ o.breakpoints = buildUnnamed812();
o.nextWaitToken = "foo";
o.waitExpired = true;
}
@@ -512,21 +512,21 @@
checkListActiveBreakpointsResponse(api.ListActiveBreakpointsResponse o) {
buildCounterListActiveBreakpointsResponse++;
if (buildCounterListActiveBreakpointsResponse < 3) {
- checkUnnamed786(o.breakpoints);
+ checkUnnamed812(o.breakpoints);
unittest.expect(o.nextWaitToken, unittest.equals('foo'));
unittest.expect(o.waitExpired, unittest.isTrue);
}
buildCounterListActiveBreakpointsResponse--;
}
-buildUnnamed787() {
+buildUnnamed813() {
var o = new core.List<api.Breakpoint>();
o.add(buildBreakpoint());
o.add(buildBreakpoint());
return o;
}
-checkUnnamed787(core.List<api.Breakpoint> o) {
+checkUnnamed813(core.List<api.Breakpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkBreakpoint(o[0]);
checkBreakpoint(o[1]);
@@ -537,7 +537,7 @@
var o = new api.ListBreakpointsResponse();
buildCounterListBreakpointsResponse++;
if (buildCounterListBreakpointsResponse < 3) {
- o.breakpoints = buildUnnamed787();
+ o.breakpoints = buildUnnamed813();
o.nextWaitToken = "foo";
}
buildCounterListBreakpointsResponse--;
@@ -547,20 +547,20 @@
checkListBreakpointsResponse(api.ListBreakpointsResponse o) {
buildCounterListBreakpointsResponse++;
if (buildCounterListBreakpointsResponse < 3) {
- checkUnnamed787(o.breakpoints);
+ checkUnnamed813(o.breakpoints);
unittest.expect(o.nextWaitToken, unittest.equals('foo'));
}
buildCounterListBreakpointsResponse--;
}
-buildUnnamed788() {
+buildUnnamed814() {
var o = new core.List<api.Debuggee>();
o.add(buildDebuggee());
o.add(buildDebuggee());
return o;
}
-checkUnnamed788(core.List<api.Debuggee> o) {
+checkUnnamed814(core.List<api.Debuggee> o) {
unittest.expect(o, unittest.hasLength(2));
checkDebuggee(o[0]);
checkDebuggee(o[1]);
@@ -571,7 +571,7 @@
var o = new api.ListDebuggeesResponse();
buildCounterListDebuggeesResponse++;
if (buildCounterListDebuggeesResponse < 3) {
- o.debuggees = buildUnnamed788();
+ o.debuggees = buildUnnamed814();
}
buildCounterListDebuggeesResponse--;
return o;
@@ -580,7 +580,7 @@
checkListDebuggeesResponse(api.ListDebuggeesResponse o) {
buildCounterListDebuggeesResponse++;
if (buildCounterListDebuggeesResponse < 3) {
- checkUnnamed788(o.debuggees);
+ checkUnnamed814(o.debuggees);
}
buildCounterListDebuggeesResponse--;
}
@@ -730,27 +730,27 @@
buildCounterSourceLocation--;
}
-buildUnnamed789() {
+buildUnnamed815() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed789(core.List<api.Variable> o) {
+checkUnnamed815(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
}
-buildUnnamed790() {
+buildUnnamed816() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed790(core.List<api.Variable> o) {
+checkUnnamed816(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -761,9 +761,9 @@
var o = new api.StackFrame();
buildCounterStackFrame++;
if (buildCounterStackFrame < 3) {
- o.arguments = buildUnnamed789();
+ o.arguments = buildUnnamed815();
o.function = "foo";
- o.locals = buildUnnamed790();
+ o.locals = buildUnnamed816();
o.location = buildSourceLocation();
}
buildCounterStackFrame--;
@@ -773,9 +773,9 @@
checkStackFrame(api.StackFrame o) {
buildCounterStackFrame++;
if (buildCounterStackFrame < 3) {
- checkUnnamed789(o.arguments);
+ checkUnnamed815(o.arguments);
unittest.expect(o.function, unittest.equals('foo'));
- checkUnnamed790(o.locals);
+ checkUnnamed816(o.locals);
checkSourceLocation(o.location);
}
buildCounterStackFrame--;
@@ -840,14 +840,14 @@
buildCounterUpdateActiveBreakpointResponse--;
}
-buildUnnamed791() {
+buildUnnamed817() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed791(core.List<api.Variable> o) {
+checkUnnamed817(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -858,7 +858,7 @@
var o = new api.Variable();
buildCounterVariable++;
if (buildCounterVariable < 3) {
- o.members = buildUnnamed791();
+ o.members = buildUnnamed817();
o.name = "foo";
o.status = buildStatusMessage();
o.type = "foo";
@@ -872,7 +872,7 @@
checkVariable(api.Variable o) {
buildCounterVariable++;
if (buildCounterVariable < 3) {
- checkUnnamed791(o.members);
+ checkUnnamed817(o.members);
unittest.expect(o.name, unittest.equals('foo'));
checkStatusMessage(o.status);
unittest.expect(o.type, unittest.equals('foo'));
@@ -1184,8 +1184,8 @@
var mock = new HttpServerMock();
api.ControllerDebuggeesBreakpointsResourceApi res = new api.ClouddebuggerApi(mock).controller.debuggees.breakpoints;
var arg_debuggeeId = "foo";
- var arg_successOnTimeout = true;
var arg_waitToken = "foo";
+ var arg_successOnTimeout = true;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1219,8 +1219,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["successOnTimeout"].first, unittest.equals("$arg_successOnTimeout"));
unittest.expect(queryMap["waitToken"].first, unittest.equals(arg_waitToken));
+ unittest.expect(queryMap["successOnTimeout"].first, unittest.equals("$arg_successOnTimeout"));
var h = {
@@ -1229,7 +1229,7 @@
var resp = convert.JSON.encode(buildListActiveBreakpointsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_debuggeeId, successOnTimeout: arg_successOnTimeout, waitToken: arg_waitToken).then(unittest.expectAsync(((api.ListActiveBreakpointsResponse response) {
+ res.list(arg_debuggeeId, waitToken: arg_waitToken, successOnTimeout: arg_successOnTimeout).then(unittest.expectAsync(((api.ListActiveBreakpointsResponse response) {
checkListActiveBreakpointsResponse(response);
})));
});
@@ -1472,8 +1472,8 @@
var arg_waitToken = "foo";
var arg_clientVersion = "foo";
var arg_action_value = "foo";
- var arg_includeAllUsers = true;
var arg_includeInactive = true;
+ var arg_includeAllUsers = true;
var arg_stripResults = true;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1511,8 +1511,8 @@
unittest.expect(queryMap["waitToken"].first, unittest.equals(arg_waitToken));
unittest.expect(queryMap["clientVersion"].first, unittest.equals(arg_clientVersion));
unittest.expect(queryMap["action.value"].first, unittest.equals(arg_action_value));
- unittest.expect(queryMap["includeAllUsers"].first, unittest.equals("$arg_includeAllUsers"));
unittest.expect(queryMap["includeInactive"].first, unittest.equals("$arg_includeInactive"));
+ unittest.expect(queryMap["includeAllUsers"].first, unittest.equals("$arg_includeAllUsers"));
unittest.expect(queryMap["stripResults"].first, unittest.equals("$arg_stripResults"));
@@ -1522,7 +1522,7 @@
var resp = convert.JSON.encode(buildListBreakpointsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_debuggeeId, waitToken: arg_waitToken, clientVersion: arg_clientVersion, action_value: arg_action_value, includeAllUsers: arg_includeAllUsers, includeInactive: arg_includeInactive, stripResults: arg_stripResults).then(unittest.expectAsync(((api.ListBreakpointsResponse response) {
+ res.list(arg_debuggeeId, waitToken: arg_waitToken, clientVersion: arg_clientVersion, action_value: arg_action_value, includeInactive: arg_includeInactive, includeAllUsers: arg_includeAllUsers, stripResults: arg_stripResults).then(unittest.expectAsync(((api.ListBreakpointsResponse response) {
checkListBreakpointsResponse(response);
})));
});
diff --git a/generated/googleapis/test/cloudfunctions/v1_test.dart b/generated/googleapis/test/cloudfunctions/v1_test.dart
new file mode 100644
index 0000000..5064c0f
--- /dev/null
+++ b/generated/googleapis/test/cloudfunctions/v1_test.dart
@@ -0,0 +1,211 @@
+library googleapis.cloudfunctions.v1.test;
+
+import "dart:core" as core;
+import "dart:collection" as collection;
+import "dart:async" as async;
+import "dart:convert" as convert;
+
+import 'package:http/http.dart' as http;
+import 'package:http/testing.dart' as http_testing;
+import 'package:unittest/unittest.dart' as unittest;
+
+import 'package:googleapis/cloudfunctions/v1.dart' as api;
+
+class HttpServerMock extends http.BaseClient {
+ core.Function _callback;
+ core.bool _expectJson;
+
+ void register(core.Function callback, core.bool expectJson) {
+ _callback = callback;
+ _expectJson = expectJson;
+ }
+
+ async.Future<http.StreamedResponse> send(http.BaseRequest request) {
+ if (_expectJson) {
+ return request.finalize()
+ .transform(convert.UTF8.decoder)
+ .join('')
+ .then((core.String jsonString) {
+ if (jsonString.isEmpty) {
+ return _callback(request, null);
+ } else {
+ return _callback(request, convert.JSON.decode(jsonString));
+ }
+ });
+ } else {
+ var stream = request.finalize();
+ if (stream == null) {
+ return _callback(request, []);
+ } else {
+ return stream.toBytes().then((data) {
+ return _callback(request, data);
+ });
+ }
+ }
+ }
+}
+
+http.StreamedResponse stringResponse(
+ core.int status, core.Map headers, core.String body) {
+ var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]);
+ return new http.StreamedResponse(stream, status, headers: headers);
+}
+
+buildUnnamed97() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed97(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+buildUnnamed98() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
+ o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
+ return o;
+}
+
+checkUnnamed98(core.Map<core.String, core.Object> 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;
+buildLocation() {
+ var o = new api.Location();
+ buildCounterLocation++;
+ if (buildCounterLocation < 3) {
+ o.labels = buildUnnamed97();
+ o.locationId = "foo";
+ o.metadata = buildUnnamed98();
+ o.name = "foo";
+ }
+ buildCounterLocation--;
+ return o;
+}
+
+checkLocation(api.Location o) {
+ buildCounterLocation++;
+ if (buildCounterLocation < 3) {
+ checkUnnamed97(o.labels);
+ unittest.expect(o.locationId, unittest.equals('foo'));
+ checkUnnamed98(o.metadata);
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterLocation--;
+}
+
+buildUnnamed99() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
+ o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
+ return o;
+}
+
+checkUnnamed99(core.Map<core.String, core.Object> 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 buildCounterOperationMetadataV1Beta2 = 0;
+buildOperationMetadataV1Beta2() {
+ var o = new api.OperationMetadataV1Beta2();
+ buildCounterOperationMetadataV1Beta2++;
+ if (buildCounterOperationMetadataV1Beta2 < 3) {
+ o.request = buildUnnamed99();
+ o.target = "foo";
+ o.type = "foo";
+ }
+ buildCounterOperationMetadataV1Beta2--;
+ return o;
+}
+
+checkOperationMetadataV1Beta2(api.OperationMetadataV1Beta2 o) {
+ buildCounterOperationMetadataV1Beta2++;
+ if (buildCounterOperationMetadataV1Beta2 < 3) {
+ checkUnnamed99(o.request);
+ unittest.expect(o.target, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterOperationMetadataV1Beta2--;
+}
+
+
+main() {
+ unittest.group("obj-schema-Location", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLocation();
+ var od = new api.Location.fromJson(o.toJson());
+ checkLocation(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-OperationMetadataV1Beta2", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOperationMetadataV1Beta2();
+ var od = new api.OperationMetadataV1Beta2.fromJson(o.toJson());
+ checkOperationMetadataV1Beta2(od);
+ });
+ });
+
+
+ unittest.group("resource-ProjectsLocationsResourceApi", () {
+ unittest.test("method--get", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsLocationsResourceApi res = new api.CloudfunctionsApi(mock).projects.locations;
+ var arg_name = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildLocation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.get(arg_name).then(unittest.expectAsync(((api.Location response) {
+ checkLocation(response);
+ })));
+ });
+
+ });
+
+
+}
+
diff --git a/generated/googleapis_beta/test/cloudkms/v1beta1_test.dart b/generated/googleapis/test/cloudkms/v1_test.dart
similarity index 93%
rename from generated/googleapis_beta/test/cloudkms/v1beta1_test.dart
rename to generated/googleapis/test/cloudkms/v1_test.dart
index e54f815..6153770 100644
--- a/generated/googleapis_beta/test/cloudkms/v1beta1_test.dart
+++ b/generated/googleapis/test/cloudkms/v1_test.dart
@@ -1,4 +1,4 @@
-library googleapis_beta.cloudkms.v1beta1.test;
+library googleapis.cloudkms.v1.test;
import "dart:core" as core;
import "dart:collection" as collection;
@@ -9,7 +9,7 @@
import 'package:http/testing.dart' as http_testing;
import 'package:unittest/unittest.dart' as unittest;
-import 'package:googleapis_beta/cloudkms/v1beta1.dart' as api;
+import 'package:googleapis/cloudkms/v1.dart' as api;
class HttpServerMock extends http.BaseClient {
core.Function _callback;
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3320() {
+buildUnnamed1237() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed3320(core.List<api.AuditLogConfig> o) {
+checkUnnamed1237(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed3321() {
+buildUnnamed1238() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3321(core.List<core.String> o) {
+checkUnnamed1238(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,8 +82,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed3320();
- o.exemptedMembers = buildUnnamed3321();
+ o.auditLogConfigs = buildUnnamed1237();
+ o.exemptedMembers = buildUnnamed1238();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -93,21 +93,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed3320(o.auditLogConfigs);
- checkUnnamed3321(o.exemptedMembers);
+ checkUnnamed1237(o.auditLogConfigs);
+ checkUnnamed1238(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed3322() {
+buildUnnamed1239() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3322(core.List<core.String> o) {
+checkUnnamed1239(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -118,7 +118,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed3322();
+ o.exemptedMembers = buildUnnamed1239();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -128,20 +128,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed3322(o.exemptedMembers);
+ checkUnnamed1239(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed3323() {
+buildUnnamed1240() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3323(core.List<core.String> o) {
+checkUnnamed1240(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -152,7 +152,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed3323();
+ o.members = buildUnnamed1240();
o.role = "foo";
}
buildCounterBinding--;
@@ -162,7 +162,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed3323(o.members);
+ checkUnnamed1240(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -185,14 +185,14 @@
buildCounterCloudAuditOptions--;
}
-buildUnnamed3324() {
+buildUnnamed1241() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3324(core.List<core.String> o) {
+checkUnnamed1241(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -208,7 +208,7 @@
o.svc = "foo";
o.sys = "foo";
o.value = "foo";
- o.values = buildUnnamed3324();
+ o.values = buildUnnamed1241();
}
buildCounterCondition--;
return o;
@@ -222,7 +222,7 @@
unittest.expect(o.svc, unittest.equals('foo'));
unittest.expect(o.sys, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
- checkUnnamed3324(o.values);
+ checkUnnamed1241(o.values);
}
buildCounterCondition--;
}
@@ -441,14 +441,14 @@
buildCounterKeyRing--;
}
-buildUnnamed3325() {
+buildUnnamed1242() {
var o = new core.List<api.CryptoKeyVersion>();
o.add(buildCryptoKeyVersion());
o.add(buildCryptoKeyVersion());
return o;
}
-checkUnnamed3325(core.List<api.CryptoKeyVersion> o) {
+checkUnnamed1242(core.List<api.CryptoKeyVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkCryptoKeyVersion(o[0]);
checkCryptoKeyVersion(o[1]);
@@ -459,7 +459,7 @@
var o = new api.ListCryptoKeyVersionsResponse();
buildCounterListCryptoKeyVersionsResponse++;
if (buildCounterListCryptoKeyVersionsResponse < 3) {
- o.cryptoKeyVersions = buildUnnamed3325();
+ o.cryptoKeyVersions = buildUnnamed1242();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -470,21 +470,21 @@
checkListCryptoKeyVersionsResponse(api.ListCryptoKeyVersionsResponse o) {
buildCounterListCryptoKeyVersionsResponse++;
if (buildCounterListCryptoKeyVersionsResponse < 3) {
- checkUnnamed3325(o.cryptoKeyVersions);
+ checkUnnamed1242(o.cryptoKeyVersions);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListCryptoKeyVersionsResponse--;
}
-buildUnnamed3326() {
+buildUnnamed1243() {
var o = new core.List<api.CryptoKey>();
o.add(buildCryptoKey());
o.add(buildCryptoKey());
return o;
}
-checkUnnamed3326(core.List<api.CryptoKey> o) {
+checkUnnamed1243(core.List<api.CryptoKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkCryptoKey(o[0]);
checkCryptoKey(o[1]);
@@ -495,7 +495,7 @@
var o = new api.ListCryptoKeysResponse();
buildCounterListCryptoKeysResponse++;
if (buildCounterListCryptoKeysResponse < 3) {
- o.cryptoKeys = buildUnnamed3326();
+ o.cryptoKeys = buildUnnamed1243();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -506,21 +506,21 @@
checkListCryptoKeysResponse(api.ListCryptoKeysResponse o) {
buildCounterListCryptoKeysResponse++;
if (buildCounterListCryptoKeysResponse < 3) {
- checkUnnamed3326(o.cryptoKeys);
+ checkUnnamed1243(o.cryptoKeys);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListCryptoKeysResponse--;
}
-buildUnnamed3327() {
+buildUnnamed1244() {
var o = new core.List<api.KeyRing>();
o.add(buildKeyRing());
o.add(buildKeyRing());
return o;
}
-checkUnnamed3327(core.List<api.KeyRing> o) {
+checkUnnamed1244(core.List<api.KeyRing> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyRing(o[0]);
checkKeyRing(o[1]);
@@ -531,7 +531,7 @@
var o = new api.ListKeyRingsResponse();
buildCounterListKeyRingsResponse++;
if (buildCounterListKeyRingsResponse < 3) {
- o.keyRings = buildUnnamed3327();
+ o.keyRings = buildUnnamed1244();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -542,21 +542,21 @@
checkListKeyRingsResponse(api.ListKeyRingsResponse o) {
buildCounterListKeyRingsResponse++;
if (buildCounterListKeyRingsResponse < 3) {
- checkUnnamed3327(o.keyRings);
+ checkUnnamed1244(o.keyRings);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListKeyRingsResponse--;
}
-buildUnnamed3328() {
+buildUnnamed1245() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed3328(core.List<api.Location> o) {
+checkUnnamed1245(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -567,7 +567,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed3328();
+ o.locations = buildUnnamed1245();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -577,33 +577,33 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed3328(o.locations);
+ checkUnnamed1245(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed3329() {
+buildUnnamed1246() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3329(core.Map<core.String, core.String> o) {
+checkUnnamed1246(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3330() {
+buildUnnamed1247() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3330(core.Map<core.String, core.Object> o) {
+checkUnnamed1247(core.Map<core.String, core.Object> 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'));
@@ -614,9 +614,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed3329();
+ o.labels = buildUnnamed1246();
o.locationId = "foo";
- o.metadata = buildUnnamed3330();
+ o.metadata = buildUnnamed1247();
o.name = "foo";
}
buildCounterLocation--;
@@ -626,9 +626,9 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed3329(o.labels);
+ checkUnnamed1246(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed3330(o.metadata);
+ checkUnnamed1247(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -657,40 +657,40 @@
buildCounterLogConfig--;
}
-buildUnnamed3331() {
+buildUnnamed1248() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed3331(core.List<api.AuditConfig> o) {
+checkUnnamed1248(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed3332() {
+buildUnnamed1249() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed3332(core.List<api.Binding> o) {
+checkUnnamed1249(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
}
-buildUnnamed3333() {
+buildUnnamed1250() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed3333(core.List<api.Rule> o) {
+checkUnnamed1250(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -701,11 +701,11 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed3331();
- o.bindings = buildUnnamed3332();
+ o.auditConfigs = buildUnnamed1248();
+ o.bindings = buildUnnamed1249();
o.etag = "foo";
o.iamOwned = true;
- o.rules = buildUnnamed3333();
+ o.rules = buildUnnamed1250();
o.version = 42;
}
buildCounterPolicy--;
@@ -715,11 +715,11 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed3331(o.auditConfigs);
- checkUnnamed3332(o.bindings);
+ checkUnnamed1248(o.auditConfigs);
+ checkUnnamed1249(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
- checkUnnamed3333(o.rules);
+ checkUnnamed1250(o.rules);
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
@@ -742,66 +742,66 @@
buildCounterRestoreCryptoKeyVersionRequest--;
}
-buildUnnamed3334() {
+buildUnnamed1251() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed3334(core.List<api.Condition> o) {
+checkUnnamed1251(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed3335() {
+buildUnnamed1252() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3335(core.List<core.String> o) {
+checkUnnamed1252(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3336() {
+buildUnnamed1253() {
var o = new core.List<api.LogConfig>();
o.add(buildLogConfig());
o.add(buildLogConfig());
return o;
}
-checkUnnamed3336(core.List<api.LogConfig> o) {
+checkUnnamed1253(core.List<api.LogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogConfig(o[0]);
checkLogConfig(o[1]);
}
-buildUnnamed3337() {
+buildUnnamed1254() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3337(core.List<core.String> o) {
+checkUnnamed1254(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3338() {
+buildUnnamed1255() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3338(core.List<core.String> o) {
+checkUnnamed1255(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -813,12 +813,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.action = "foo";
- o.conditions = buildUnnamed3334();
+ o.conditions = buildUnnamed1251();
o.description = "foo";
- o.in_ = buildUnnamed3335();
- o.logConfig = buildUnnamed3336();
- o.notIn = buildUnnamed3337();
- o.permissions = buildUnnamed3338();
+ o.in_ = buildUnnamed1252();
+ o.logConfig = buildUnnamed1253();
+ o.notIn = buildUnnamed1254();
+ o.permissions = buildUnnamed1255();
}
buildCounterRule--;
return o;
@@ -828,12 +828,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed3334(o.conditions);
+ checkUnnamed1251(o.conditions);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed3335(o.in_);
- checkUnnamed3336(o.logConfig);
- checkUnnamed3337(o.notIn);
- checkUnnamed3338(o.permissions);
+ checkUnnamed1252(o.in_);
+ checkUnnamed1253(o.logConfig);
+ checkUnnamed1254(o.notIn);
+ checkUnnamed1255(o.permissions);
}
buildCounterRule--;
}
@@ -859,14 +859,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed3339() {
+buildUnnamed1256() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3339(core.List<core.String> o) {
+checkUnnamed1256(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -877,7 +877,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed3339();
+ o.permissions = buildUnnamed1256();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -886,19 +886,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed3339(o.permissions);
+ checkUnnamed1256(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed3340() {
+buildUnnamed1257() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3340(core.List<core.String> o) {
+checkUnnamed1257(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -909,7 +909,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed3340();
+ o.permissions = buildUnnamed1257();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -918,7 +918,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed3340(o.permissions);
+ checkUnnamed1257(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1209,8 +1209,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1247,9 +1247,9 @@
var mock = new HttpServerMock();
api.ProjectsLocationsResourceApi res = new api.CloudkmsApi(mock).projects.locations;
var arg_name = "foo";
+ var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_filter = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1257,8 +1257,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1277,9 +1277,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -1288,7 +1288,7 @@
var resp = convert.JSON.encode(buildListLocationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListLocationsResponse response) {
+ res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListLocationsResponse response) {
checkListLocationsResponse(response);
})));
});
@@ -1314,8 +1314,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1360,8 +1360,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1405,8 +1405,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1443,8 +1443,8 @@
var mock = new HttpServerMock();
api.ProjectsLocationsKeyRingsResourceApi res = new api.CloudkmsApi(mock).projects.locations.keyRings;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1452,8 +1452,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1472,8 +1472,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1482,7 +1482,7 @@
var resp = convert.JSON.encode(buildListKeyRingsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListKeyRingsResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListKeyRingsResponse response) {
checkListKeyRingsResponse(response);
})));
});
@@ -1503,8 +1503,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1552,8 +1552,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1606,8 +1606,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1656,8 +1656,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1705,8 +1705,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1750,8 +1750,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1795,8 +1795,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1833,8 +1833,8 @@
var mock = new HttpServerMock();
api.ProjectsLocationsKeyRingsCryptoKeysResourceApi res = new api.CloudkmsApi(mock).projects.locations.keyRings.cryptoKeys;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1842,8 +1842,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1862,8 +1862,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1872,7 +1872,7 @@
var resp = convert.JSON.encode(buildListCryptoKeysResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListCryptoKeysResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListCryptoKeysResponse response) {
checkListCryptoKeysResponse(response);
})));
});
@@ -1894,8 +1894,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1944,8 +1944,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1993,8 +1993,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -2042,8 +2042,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -2095,8 +2095,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -2144,8 +2144,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -2189,8 +2189,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -2236,8 +2236,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -2288,8 +2288,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -2338,8 +2338,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
diff --git a/generated/googleapis/test/cloudresourcemanager/v1_test.dart b/generated/googleapis/test/cloudresourcemanager/v1_test.dart
index b9a6c43..3d9c307 100644
--- a/generated/googleapis/test/cloudresourcemanager/v1_test.dart
+++ b/generated/googleapis/test/cloudresourcemanager/v1_test.dart
@@ -70,14 +70,82 @@
buildCounterAncestor--;
}
-buildUnnamed1555() {
+buildUnnamed1616() {
+ var o = new core.List<api.AuditLogConfig>();
+ o.add(buildAuditLogConfig());
+ o.add(buildAuditLogConfig());
+ return o;
+}
+
+checkUnnamed1616(core.List<api.AuditLogConfig> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAuditLogConfig(o[0]);
+ checkAuditLogConfig(o[1]);
+}
+
+core.int buildCounterAuditConfig = 0;
+buildAuditConfig() {
+ var o = new api.AuditConfig();
+ buildCounterAuditConfig++;
+ if (buildCounterAuditConfig < 3) {
+ o.auditLogConfigs = buildUnnamed1616();
+ o.service = "foo";
+ }
+ buildCounterAuditConfig--;
+ return o;
+}
+
+checkAuditConfig(api.AuditConfig o) {
+ buildCounterAuditConfig++;
+ if (buildCounterAuditConfig < 3) {
+ checkUnnamed1616(o.auditLogConfigs);
+ unittest.expect(o.service, unittest.equals('foo'));
+ }
+ buildCounterAuditConfig--;
+}
+
+buildUnnamed1617() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1555(core.List<core.String> o) {
+checkUnnamed1617(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterAuditLogConfig = 0;
+buildAuditLogConfig() {
+ var o = new api.AuditLogConfig();
+ buildCounterAuditLogConfig++;
+ if (buildCounterAuditLogConfig < 3) {
+ o.exemptedMembers = buildUnnamed1617();
+ o.logType = "foo";
+ }
+ buildCounterAuditLogConfig--;
+ return o;
+}
+
+checkAuditLogConfig(api.AuditLogConfig o) {
+ buildCounterAuditLogConfig++;
+ if (buildCounterAuditLogConfig < 3) {
+ checkUnnamed1617(o.exemptedMembers);
+ unittest.expect(o.logType, unittest.equals('foo'));
+ }
+ buildCounterAuditLogConfig--;
+}
+
+buildUnnamed1618() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1618(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -88,7 +156,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1555();
+ o.members = buildUnnamed1618();
o.role = "foo";
}
buildCounterBinding--;
@@ -98,12 +166,100 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1555(o.members);
+ checkUnnamed1618(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
+core.int buildCounterBooleanConstraint = 0;
+buildBooleanConstraint() {
+ var o = new api.BooleanConstraint();
+ buildCounterBooleanConstraint++;
+ if (buildCounterBooleanConstraint < 3) {
+ }
+ buildCounterBooleanConstraint--;
+ return o;
+}
+
+checkBooleanConstraint(api.BooleanConstraint o) {
+ buildCounterBooleanConstraint++;
+ if (buildCounterBooleanConstraint < 3) {
+ }
+ buildCounterBooleanConstraint--;
+}
+
+core.int buildCounterBooleanPolicy = 0;
+buildBooleanPolicy() {
+ var o = new api.BooleanPolicy();
+ buildCounterBooleanPolicy++;
+ if (buildCounterBooleanPolicy < 3) {
+ o.enforced = true;
+ }
+ buildCounterBooleanPolicy--;
+ return o;
+}
+
+checkBooleanPolicy(api.BooleanPolicy o) {
+ buildCounterBooleanPolicy++;
+ if (buildCounterBooleanPolicy < 3) {
+ unittest.expect(o.enforced, unittest.isTrue);
+ }
+ buildCounterBooleanPolicy--;
+}
+
+core.int buildCounterClearOrgPolicyRequest = 0;
+buildClearOrgPolicyRequest() {
+ var o = new api.ClearOrgPolicyRequest();
+ buildCounterClearOrgPolicyRequest++;
+ if (buildCounterClearOrgPolicyRequest < 3) {
+ o.constraint = "foo";
+ o.etag = "foo";
+ }
+ buildCounterClearOrgPolicyRequest--;
+ return o;
+}
+
+checkClearOrgPolicyRequest(api.ClearOrgPolicyRequest o) {
+ buildCounterClearOrgPolicyRequest++;
+ if (buildCounterClearOrgPolicyRequest < 3) {
+ unittest.expect(o.constraint, unittest.equals('foo'));
+ unittest.expect(o.etag, unittest.equals('foo'));
+ }
+ buildCounterClearOrgPolicyRequest--;
+}
+
+core.int buildCounterConstraint = 0;
+buildConstraint() {
+ var o = new api.Constraint();
+ buildCounterConstraint++;
+ if (buildCounterConstraint < 3) {
+ o.booleanConstraint = buildBooleanConstraint();
+ o.constraintDefault = "foo";
+ o.description = "foo";
+ o.displayName = "foo";
+ o.listConstraint = buildListConstraint();
+ o.name = "foo";
+ o.version = 42;
+ }
+ buildCounterConstraint--;
+ return o;
+}
+
+checkConstraint(api.Constraint o) {
+ buildCounterConstraint++;
+ if (buildCounterConstraint < 3) {
+ checkBooleanConstraint(o.booleanConstraint);
+ unittest.expect(o.constraintDefault, unittest.equals('foo'));
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.displayName, unittest.equals('foo'));
+ checkListConstraint(o.listConstraint);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.version, unittest.equals(42));
+ }
+ buildCounterConstraint--;
+}
+
core.int buildCounterEmpty = 0;
buildEmpty() {
var o = new api.Empty();
@@ -182,14 +338,14 @@
buildCounterGetAncestryRequest--;
}
-buildUnnamed1556() {
+buildUnnamed1619() {
var o = new core.List<api.Ancestor>();
o.add(buildAncestor());
o.add(buildAncestor());
return o;
}
-checkUnnamed1556(core.List<api.Ancestor> o) {
+checkUnnamed1619(core.List<api.Ancestor> o) {
unittest.expect(o, unittest.hasLength(2));
checkAncestor(o[0]);
checkAncestor(o[1]);
@@ -200,7 +356,7 @@
var o = new api.GetAncestryResponse();
buildCounterGetAncestryResponse++;
if (buildCounterGetAncestryResponse < 3) {
- o.ancestor = buildUnnamed1556();
+ o.ancestor = buildUnnamed1619();
}
buildCounterGetAncestryResponse--;
return o;
@@ -209,11 +365,30 @@
checkGetAncestryResponse(api.GetAncestryResponse o) {
buildCounterGetAncestryResponse++;
if (buildCounterGetAncestryResponse < 3) {
- checkUnnamed1556(o.ancestor);
+ checkUnnamed1619(o.ancestor);
}
buildCounterGetAncestryResponse--;
}
+core.int buildCounterGetEffectiveOrgPolicyRequest = 0;
+buildGetEffectiveOrgPolicyRequest() {
+ var o = new api.GetEffectiveOrgPolicyRequest();
+ buildCounterGetEffectiveOrgPolicyRequest++;
+ if (buildCounterGetEffectiveOrgPolicyRequest < 3) {
+ o.constraint = "foo";
+ }
+ buildCounterGetEffectiveOrgPolicyRequest--;
+ return o;
+}
+
+checkGetEffectiveOrgPolicyRequest(api.GetEffectiveOrgPolicyRequest o) {
+ buildCounterGetEffectiveOrgPolicyRequest++;
+ if (buildCounterGetEffectiveOrgPolicyRequest < 3) {
+ unittest.expect(o.constraint, unittest.equals('foo'));
+ }
+ buildCounterGetEffectiveOrgPolicyRequest--;
+}
+
core.int buildCounterGetIamPolicyRequest = 0;
buildGetIamPolicyRequest() {
var o = new api.GetIamPolicyRequest();
@@ -231,14 +406,33 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed1557() {
+core.int buildCounterGetOrgPolicyRequest = 0;
+buildGetOrgPolicyRequest() {
+ var o = new api.GetOrgPolicyRequest();
+ buildCounterGetOrgPolicyRequest++;
+ if (buildCounterGetOrgPolicyRequest < 3) {
+ o.constraint = "foo";
+ }
+ buildCounterGetOrgPolicyRequest--;
+ return o;
+}
+
+checkGetOrgPolicyRequest(api.GetOrgPolicyRequest o) {
+ buildCounterGetOrgPolicyRequest++;
+ if (buildCounterGetOrgPolicyRequest < 3) {
+ unittest.expect(o.constraint, unittest.equals('foo'));
+ }
+ buildCounterGetOrgPolicyRequest--;
+}
+
+buildUnnamed1620() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1557(core.List<core.String> o) {
+checkUnnamed1620(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -254,7 +448,7 @@
o.origin = "foo";
o.parent = "foo";
o.reason = "foo";
- o.restrictions = buildUnnamed1557();
+ o.restrictions = buildUnnamed1620();
}
buildCounterLien--;
return o;
@@ -268,19 +462,93 @@
unittest.expect(o.origin, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
unittest.expect(o.reason, unittest.equals('foo'));
- checkUnnamed1557(o.restrictions);
+ checkUnnamed1620(o.restrictions);
}
buildCounterLien--;
}
-buildUnnamed1558() {
+core.int buildCounterListAvailableOrgPolicyConstraintsRequest = 0;
+buildListAvailableOrgPolicyConstraintsRequest() {
+ var o = new api.ListAvailableOrgPolicyConstraintsRequest();
+ buildCounterListAvailableOrgPolicyConstraintsRequest++;
+ if (buildCounterListAvailableOrgPolicyConstraintsRequest < 3) {
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ }
+ buildCounterListAvailableOrgPolicyConstraintsRequest--;
+ return o;
+}
+
+checkListAvailableOrgPolicyConstraintsRequest(api.ListAvailableOrgPolicyConstraintsRequest o) {
+ buildCounterListAvailableOrgPolicyConstraintsRequest++;
+ if (buildCounterListAvailableOrgPolicyConstraintsRequest < 3) {
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ }
+ buildCounterListAvailableOrgPolicyConstraintsRequest--;
+}
+
+buildUnnamed1621() {
+ var o = new core.List<api.Constraint>();
+ o.add(buildConstraint());
+ o.add(buildConstraint());
+ return o;
+}
+
+checkUnnamed1621(core.List<api.Constraint> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkConstraint(o[0]);
+ checkConstraint(o[1]);
+}
+
+core.int buildCounterListAvailableOrgPolicyConstraintsResponse = 0;
+buildListAvailableOrgPolicyConstraintsResponse() {
+ var o = new api.ListAvailableOrgPolicyConstraintsResponse();
+ buildCounterListAvailableOrgPolicyConstraintsResponse++;
+ if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) {
+ o.constraints = buildUnnamed1621();
+ o.nextPageToken = "foo";
+ }
+ buildCounterListAvailableOrgPolicyConstraintsResponse--;
+ return o;
+}
+
+checkListAvailableOrgPolicyConstraintsResponse(api.ListAvailableOrgPolicyConstraintsResponse o) {
+ buildCounterListAvailableOrgPolicyConstraintsResponse++;
+ if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) {
+ checkUnnamed1621(o.constraints);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterListAvailableOrgPolicyConstraintsResponse--;
+}
+
+core.int buildCounterListConstraint = 0;
+buildListConstraint() {
+ var o = new api.ListConstraint();
+ buildCounterListConstraint++;
+ if (buildCounterListConstraint < 3) {
+ o.suggestedValue = "foo";
+ }
+ buildCounterListConstraint--;
+ return o;
+}
+
+checkListConstraint(api.ListConstraint o) {
+ buildCounterListConstraint++;
+ if (buildCounterListConstraint < 3) {
+ unittest.expect(o.suggestedValue, unittest.equals('foo'));
+ }
+ buildCounterListConstraint--;
+}
+
+buildUnnamed1622() {
var o = new core.List<api.Lien>();
o.add(buildLien());
o.add(buildLien());
return o;
}
-checkUnnamed1558(core.List<api.Lien> o) {
+checkUnnamed1622(core.List<api.Lien> o) {
unittest.expect(o, unittest.hasLength(2));
checkLien(o[0]);
checkLien(o[1]);
@@ -291,7 +559,7 @@
var o = new api.ListLiensResponse();
buildCounterListLiensResponse++;
if (buildCounterListLiensResponse < 3) {
- o.liens = buildUnnamed1558();
+ o.liens = buildUnnamed1622();
o.nextPageToken = "foo";
}
buildCounterListLiensResponse--;
@@ -301,20 +569,128 @@
checkListLiensResponse(api.ListLiensResponse o) {
buildCounterListLiensResponse++;
if (buildCounterListLiensResponse < 3) {
- checkUnnamed1558(o.liens);
+ checkUnnamed1622(o.liens);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLiensResponse--;
}
-buildUnnamed1559() {
+core.int buildCounterListOrgPoliciesRequest = 0;
+buildListOrgPoliciesRequest() {
+ var o = new api.ListOrgPoliciesRequest();
+ buildCounterListOrgPoliciesRequest++;
+ if (buildCounterListOrgPoliciesRequest < 3) {
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ }
+ buildCounterListOrgPoliciesRequest--;
+ return o;
+}
+
+checkListOrgPoliciesRequest(api.ListOrgPoliciesRequest o) {
+ buildCounterListOrgPoliciesRequest++;
+ if (buildCounterListOrgPoliciesRequest < 3) {
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ }
+ buildCounterListOrgPoliciesRequest--;
+}
+
+buildUnnamed1623() {
+ var o = new core.List<api.OrgPolicy>();
+ o.add(buildOrgPolicy());
+ o.add(buildOrgPolicy());
+ return o;
+}
+
+checkUnnamed1623(core.List<api.OrgPolicy> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOrgPolicy(o[0]);
+ checkOrgPolicy(o[1]);
+}
+
+core.int buildCounterListOrgPoliciesResponse = 0;
+buildListOrgPoliciesResponse() {
+ var o = new api.ListOrgPoliciesResponse();
+ buildCounterListOrgPoliciesResponse++;
+ if (buildCounterListOrgPoliciesResponse < 3) {
+ o.nextPageToken = "foo";
+ o.policies = buildUnnamed1623();
+ }
+ buildCounterListOrgPoliciesResponse--;
+ return o;
+}
+
+checkListOrgPoliciesResponse(api.ListOrgPoliciesResponse o) {
+ buildCounterListOrgPoliciesResponse++;
+ if (buildCounterListOrgPoliciesResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed1623(o.policies);
+ }
+ buildCounterListOrgPoliciesResponse--;
+}
+
+buildUnnamed1624() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1624(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1625() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1625(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterListPolicy = 0;
+buildListPolicy() {
+ var o = new api.ListPolicy();
+ buildCounterListPolicy++;
+ if (buildCounterListPolicy < 3) {
+ o.allValues = "foo";
+ o.allowedValues = buildUnnamed1624();
+ o.deniedValues = buildUnnamed1625();
+ o.inheritFromParent = true;
+ o.suggestedValue = "foo";
+ }
+ buildCounterListPolicy--;
+ return o;
+}
+
+checkListPolicy(api.ListPolicy o) {
+ buildCounterListPolicy++;
+ if (buildCounterListPolicy < 3) {
+ unittest.expect(o.allValues, unittest.equals('foo'));
+ checkUnnamed1624(o.allowedValues);
+ checkUnnamed1625(o.deniedValues);
+ unittest.expect(o.inheritFromParent, unittest.isTrue);
+ unittest.expect(o.suggestedValue, unittest.equals('foo'));
+ }
+ buildCounterListPolicy--;
+}
+
+buildUnnamed1626() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed1559(core.List<api.Project> o) {
+checkUnnamed1626(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -326,7 +702,7 @@
buildCounterListProjectsResponse++;
if (buildCounterListProjectsResponse < 3) {
o.nextPageToken = "foo";
- o.projects = buildUnnamed1559();
+ o.projects = buildUnnamed1626();
}
buildCounterListProjectsResponse--;
return o;
@@ -336,32 +712,32 @@
buildCounterListProjectsResponse++;
if (buildCounterListProjectsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1559(o.projects);
+ checkUnnamed1626(o.projects);
}
buildCounterListProjectsResponse--;
}
-buildUnnamed1560() {
+buildUnnamed1627() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1560(core.Map<core.String, core.Object> o) {
+checkUnnamed1627(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed1561() {
+buildUnnamed1628() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1561(core.Map<core.String, core.Object> o) {
+checkUnnamed1628(core.Map<core.String, core.Object> 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'));
@@ -374,9 +750,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1560();
+ o.metadata = buildUnnamed1627();
o.name = "foo";
- o.response = buildUnnamed1561();
+ o.response = buildUnnamed1628();
}
buildCounterOperation--;
return o;
@@ -387,13 +763,44 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1560(o.metadata);
+ checkUnnamed1627(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1561(o.response);
+ checkUnnamed1628(o.response);
}
buildCounterOperation--;
}
+core.int buildCounterOrgPolicy = 0;
+buildOrgPolicy() {
+ var o = new api.OrgPolicy();
+ buildCounterOrgPolicy++;
+ if (buildCounterOrgPolicy < 3) {
+ o.booleanPolicy = buildBooleanPolicy();
+ o.constraint = "foo";
+ o.etag = "foo";
+ o.listPolicy = buildListPolicy();
+ o.restoreDefault = buildRestoreDefault();
+ o.updateTime = "foo";
+ o.version = 42;
+ }
+ buildCounterOrgPolicy--;
+ return o;
+}
+
+checkOrgPolicy(api.OrgPolicy o) {
+ buildCounterOrgPolicy++;
+ if (buildCounterOrgPolicy < 3) {
+ checkBooleanPolicy(o.booleanPolicy);
+ unittest.expect(o.constraint, unittest.equals('foo'));
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkListPolicy(o.listPolicy);
+ checkRestoreDefault(o.restoreDefault);
+ unittest.expect(o.updateTime, unittest.equals('foo'));
+ unittest.expect(o.version, unittest.equals(42));
+ }
+ buildCounterOrgPolicy--;
+}
+
core.int buildCounterOrganization = 0;
buildOrganization() {
var o = new api.Organization();
@@ -440,14 +847,27 @@
buildCounterOrganizationOwner--;
}
-buildUnnamed1562() {
+buildUnnamed1629() {
+ var o = new core.List<api.AuditConfig>();
+ o.add(buildAuditConfig());
+ o.add(buildAuditConfig());
+ return o;
+}
+
+checkUnnamed1629(core.List<api.AuditConfig> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAuditConfig(o[0]);
+ checkAuditConfig(o[1]);
+}
+
+buildUnnamed1630() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1562(core.List<api.Binding> o) {
+checkUnnamed1630(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -458,7 +878,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed1562();
+ o.auditConfigs = buildUnnamed1629();
+ o.bindings = buildUnnamed1630();
o.etag = "foo";
o.version = 42;
}
@@ -469,21 +890,22 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1562(o.bindings);
+ checkUnnamed1629(o.auditConfigs);
+ checkUnnamed1630(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed1563() {
+buildUnnamed1631() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1563(core.Map<core.String, core.String> o) {
+checkUnnamed1631(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -495,7 +917,7 @@
buildCounterProject++;
if (buildCounterProject < 3) {
o.createTime = "foo";
- o.labels = buildUnnamed1563();
+ o.labels = buildUnnamed1631();
o.lifecycleState = "foo";
o.name = "foo";
o.parent = buildResourceId();
@@ -510,7 +932,7 @@
buildCounterProject++;
if (buildCounterProject < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed1563(o.labels);
+ checkUnnamed1631(o.labels);
unittest.expect(o.lifecycleState, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkResourceId(o.parent);
@@ -564,6 +986,23 @@
buildCounterResourceId--;
}
+core.int buildCounterRestoreDefault = 0;
+buildRestoreDefault() {
+ var o = new api.RestoreDefault();
+ buildCounterRestoreDefault++;
+ if (buildCounterRestoreDefault < 3) {
+ }
+ buildCounterRestoreDefault--;
+ return o;
+}
+
+checkRestoreDefault(api.RestoreDefault o) {
+ buildCounterRestoreDefault++;
+ if (buildCounterRestoreDefault < 3) {
+ }
+ buildCounterRestoreDefault--;
+}
+
core.int buildCounterSearchOrganizationsRequest = 0;
buildSearchOrganizationsRequest() {
var o = new api.SearchOrganizationsRequest();
@@ -587,14 +1026,14 @@
buildCounterSearchOrganizationsRequest--;
}
-buildUnnamed1564() {
+buildUnnamed1632() {
var o = new core.List<api.Organization>();
o.add(buildOrganization());
o.add(buildOrganization());
return o;
}
-checkUnnamed1564(core.List<api.Organization> o) {
+checkUnnamed1632(core.List<api.Organization> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrganization(o[0]);
checkOrganization(o[1]);
@@ -606,7 +1045,7 @@
buildCounterSearchOrganizationsResponse++;
if (buildCounterSearchOrganizationsResponse < 3) {
o.nextPageToken = "foo";
- o.organizations = buildUnnamed1564();
+ o.organizations = buildUnnamed1632();
}
buildCounterSearchOrganizationsResponse--;
return o;
@@ -616,7 +1055,7 @@
buildCounterSearchOrganizationsResponse++;
if (buildCounterSearchOrganizationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1564(o.organizations);
+ checkUnnamed1632(o.organizations);
}
buildCounterSearchOrganizationsResponse--;
}
@@ -627,6 +1066,7 @@
buildCounterSetIamPolicyRequest++;
if (buildCounterSetIamPolicyRequest < 3) {
o.policy = buildPolicy();
+ o.updateMask = "foo";
}
buildCounterSetIamPolicyRequest--;
return o;
@@ -636,34 +1076,54 @@
buildCounterSetIamPolicyRequest++;
if (buildCounterSetIamPolicyRequest < 3) {
checkPolicy(o.policy);
+ unittest.expect(o.updateMask, unittest.equals('foo'));
}
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed1565() {
+core.int buildCounterSetOrgPolicyRequest = 0;
+buildSetOrgPolicyRequest() {
+ var o = new api.SetOrgPolicyRequest();
+ buildCounterSetOrgPolicyRequest++;
+ if (buildCounterSetOrgPolicyRequest < 3) {
+ o.policy = buildOrgPolicy();
+ }
+ buildCounterSetOrgPolicyRequest--;
+ return o;
+}
+
+checkSetOrgPolicyRequest(api.SetOrgPolicyRequest o) {
+ buildCounterSetOrgPolicyRequest++;
+ if (buildCounterSetOrgPolicyRequest < 3) {
+ checkOrgPolicy(o.policy);
+ }
+ buildCounterSetOrgPolicyRequest--;
+}
+
+buildUnnamed1633() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1565(core.Map<core.String, core.Object> o) {
+checkUnnamed1633(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed1566() {
+buildUnnamed1634() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1565());
- o.add(buildUnnamed1565());
+ o.add(buildUnnamed1633());
+ o.add(buildUnnamed1633());
return o;
}
-checkUnnamed1566(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1634(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1565(o[0]);
- checkUnnamed1565(o[1]);
+ checkUnnamed1633(o[0]);
+ checkUnnamed1633(o[1]);
}
core.int buildCounterStatus = 0;
@@ -672,7 +1132,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1566();
+ o.details = buildUnnamed1634();
o.message = "foo";
}
buildCounterStatus--;
@@ -683,20 +1143,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1566(o.details);
+ checkUnnamed1634(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed1567() {
+buildUnnamed1635() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1567(core.List<core.String> o) {
+checkUnnamed1635(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -707,7 +1167,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1567();
+ o.permissions = buildUnnamed1635();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -716,19 +1176,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1567(o.permissions);
+ checkUnnamed1635(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1568() {
+buildUnnamed1636() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1568(core.List<core.String> o) {
+checkUnnamed1636(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -739,7 +1199,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1568();
+ o.permissions = buildUnnamed1636();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -748,7 +1208,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1568(o.permissions);
+ checkUnnamed1636(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -781,6 +1241,24 @@
});
+ unittest.group("obj-schema-AuditConfig", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAuditConfig();
+ var od = new api.AuditConfig.fromJson(o.toJson());
+ checkAuditConfig(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-AuditLogConfig", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAuditLogConfig();
+ var od = new api.AuditLogConfig.fromJson(o.toJson());
+ checkAuditLogConfig(od);
+ });
+ });
+
+
unittest.group("obj-schema-Binding", () {
unittest.test("to-json--from-json", () {
var o = buildBinding();
@@ -790,6 +1268,42 @@
});
+ unittest.group("obj-schema-BooleanConstraint", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildBooleanConstraint();
+ var od = new api.BooleanConstraint.fromJson(o.toJson());
+ checkBooleanConstraint(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-BooleanPolicy", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildBooleanPolicy();
+ var od = new api.BooleanPolicy.fromJson(o.toJson());
+ checkBooleanPolicy(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ClearOrgPolicyRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildClearOrgPolicyRequest();
+ var od = new api.ClearOrgPolicyRequest.fromJson(o.toJson());
+ checkClearOrgPolicyRequest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Constraint", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildConstraint();
+ var od = new api.Constraint.fromJson(o.toJson());
+ checkConstraint(od);
+ });
+ });
+
+
unittest.group("obj-schema-Empty", () {
unittest.test("to-json--from-json", () {
var o = buildEmpty();
@@ -835,6 +1349,15 @@
});
+ unittest.group("obj-schema-GetEffectiveOrgPolicyRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGetEffectiveOrgPolicyRequest();
+ var od = new api.GetEffectiveOrgPolicyRequest.fromJson(o.toJson());
+ checkGetEffectiveOrgPolicyRequest(od);
+ });
+ });
+
+
unittest.group("obj-schema-GetIamPolicyRequest", () {
unittest.test("to-json--from-json", () {
var o = buildGetIamPolicyRequest();
@@ -844,6 +1367,15 @@
});
+ unittest.group("obj-schema-GetOrgPolicyRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGetOrgPolicyRequest();
+ var od = new api.GetOrgPolicyRequest.fromJson(o.toJson());
+ checkGetOrgPolicyRequest(od);
+ });
+ });
+
+
unittest.group("obj-schema-Lien", () {
unittest.test("to-json--from-json", () {
var o = buildLien();
@@ -853,6 +1385,33 @@
});
+ unittest.group("obj-schema-ListAvailableOrgPolicyConstraintsRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListAvailableOrgPolicyConstraintsRequest();
+ var od = new api.ListAvailableOrgPolicyConstraintsRequest.fromJson(o.toJson());
+ checkListAvailableOrgPolicyConstraintsRequest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ListAvailableOrgPolicyConstraintsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListAvailableOrgPolicyConstraintsResponse();
+ var od = new api.ListAvailableOrgPolicyConstraintsResponse.fromJson(o.toJson());
+ checkListAvailableOrgPolicyConstraintsResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ListConstraint", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListConstraint();
+ var od = new api.ListConstraint.fromJson(o.toJson());
+ checkListConstraint(od);
+ });
+ });
+
+
unittest.group("obj-schema-ListLiensResponse", () {
unittest.test("to-json--from-json", () {
var o = buildListLiensResponse();
@@ -862,6 +1421,33 @@
});
+ unittest.group("obj-schema-ListOrgPoliciesRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListOrgPoliciesRequest();
+ var od = new api.ListOrgPoliciesRequest.fromJson(o.toJson());
+ checkListOrgPoliciesRequest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ListOrgPoliciesResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListOrgPoliciesResponse();
+ var od = new api.ListOrgPoliciesResponse.fromJson(o.toJson());
+ checkListOrgPoliciesResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ListPolicy", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListPolicy();
+ var od = new api.ListPolicy.fromJson(o.toJson());
+ checkListPolicy(od);
+ });
+ });
+
+
unittest.group("obj-schema-ListProjectsResponse", () {
unittest.test("to-json--from-json", () {
var o = buildListProjectsResponse();
@@ -880,6 +1466,15 @@
});
+ unittest.group("obj-schema-OrgPolicy", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOrgPolicy();
+ var od = new api.OrgPolicy.fromJson(o.toJson());
+ checkOrgPolicy(od);
+ });
+ });
+
+
unittest.group("obj-schema-Organization", () {
unittest.test("to-json--from-json", () {
var o = buildOrganization();
@@ -934,6 +1529,15 @@
});
+ unittest.group("obj-schema-RestoreDefault", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildRestoreDefault();
+ var od = new api.RestoreDefault.fromJson(o.toJson());
+ checkRestoreDefault(od);
+ });
+ });
+
+
unittest.group("obj-schema-SearchOrganizationsRequest", () {
unittest.test("to-json--from-json", () {
var o = buildSearchOrganizationsRequest();
@@ -961,6 +1565,15 @@
});
+ unittest.group("obj-schema-SetOrgPolicyRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSetOrgPolicyRequest();
+ var od = new api.SetOrgPolicyRequest.fromJson(o.toJson());
+ checkSetOrgPolicyRequest(od);
+ });
+ });
+
+
unittest.group("obj-schema-Status", () {
unittest.test("to-json--from-json", () {
var o = buildStatus();
@@ -997,6 +1610,500 @@
});
+ unittest.group("resource-FoldersResourceApi", () {
+ unittest.test("method--clearOrgPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.FoldersResourceApi res = new api.CloudresourcemanagerApi(mock).folders;
+ var arg_request = buildClearOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ClearOrgPolicyRequest.fromJson(json);
+ checkClearOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.clearOrgPolicy(arg_request, arg_resource).then(unittest.expectAsync(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
+ unittest.test("method--clearOrgPolicyV1", () {
+
+ var mock = new HttpServerMock();
+ api.FoldersResourceApi res = new api.CloudresourcemanagerApi(mock).folders;
+ var arg_request = buildClearOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ClearOrgPolicyRequest.fromJson(json);
+ checkClearOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.clearOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
+ unittest.test("method--getEffectiveOrgPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.FoldersResourceApi res = new api.CloudresourcemanagerApi(mock).folders;
+ var arg_request = buildGetEffectiveOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.GetEffectiveOrgPolicyRequest.fromJson(json);
+ checkGetEffectiveOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getEffectiveOrgPolicy(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
+ unittest.test("method--getEffectiveOrgPolicyV1", () {
+
+ var mock = new HttpServerMock();
+ api.FoldersResourceApi res = new api.CloudresourcemanagerApi(mock).folders;
+ var arg_request = buildGetEffectiveOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.GetEffectiveOrgPolicyRequest.fromJson(json);
+ checkGetEffectiveOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getEffectiveOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
+ unittest.test("method--getOrgPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.FoldersResourceApi res = new api.CloudresourcemanagerApi(mock).folders;
+ var arg_request = buildGetOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.GetOrgPolicyRequest.fromJson(json);
+ checkGetOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getOrgPolicy(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
+ unittest.test("method--getOrgPolicyV1", () {
+
+ var mock = new HttpServerMock();
+ api.FoldersResourceApi res = new api.CloudresourcemanagerApi(mock).folders;
+ var arg_request = buildGetOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.GetOrgPolicyRequest.fromJson(json);
+ checkGetOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
+ unittest.test("method--listAvailableOrgPolicyConstraints", () {
+
+ var mock = new HttpServerMock();
+ api.FoldersResourceApi res = new api.CloudresourcemanagerApi(mock).folders;
+ var arg_request = buildListAvailableOrgPolicyConstraintsRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ListAvailableOrgPolicyConstraintsRequest.fromJson(json);
+ checkListAvailableOrgPolicyConstraintsRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListAvailableOrgPolicyConstraintsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.listAvailableOrgPolicyConstraints(arg_request, arg_resource).then(unittest.expectAsync(((api.ListAvailableOrgPolicyConstraintsResponse response) {
+ checkListAvailableOrgPolicyConstraintsResponse(response);
+ })));
+ });
+
+ unittest.test("method--listOrgPolicies", () {
+
+ var mock = new HttpServerMock();
+ api.FoldersResourceApi res = new api.CloudresourcemanagerApi(mock).folders;
+ var arg_request = buildListOrgPoliciesRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ListOrgPoliciesRequest.fromJson(json);
+ checkListOrgPoliciesRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListOrgPoliciesResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.listOrgPolicies(arg_request, arg_resource).then(unittest.expectAsync(((api.ListOrgPoliciesResponse response) {
+ checkListOrgPoliciesResponse(response);
+ })));
+ });
+
+ unittest.test("method--setOrgPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.FoldersResourceApi res = new api.CloudresourcemanagerApi(mock).folders;
+ var arg_request = buildSetOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.SetOrgPolicyRequest.fromJson(json);
+ checkSetOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.setOrgPolicy(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
+ unittest.test("method--setOrgPolicyV1", () {
+
+ var mock = new HttpServerMock();
+ api.FoldersResourceApi res = new api.CloudresourcemanagerApi(mock).folders;
+ var arg_request = buildSetOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.SetOrgPolicyRequest.fromJson(json);
+ checkSetOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.setOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
+ });
+
+
unittest.group("resource-LiensResourceApi", () {
unittest.test("method--create", () {
@@ -1192,6 +2299,104 @@
unittest.group("resource-OrganizationsResourceApi", () {
+ unittest.test("method--clearOrgPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildClearOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ClearOrgPolicyRequest.fromJson(json);
+ checkClearOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.clearOrgPolicy(arg_request, arg_resource).then(unittest.expectAsync(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
+ unittest.test("method--clearOrgPolicyV1", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildClearOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ClearOrgPolicyRequest.fromJson(json);
+ checkClearOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.clearOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
unittest.test("method--get", () {
var mock = new HttpServerMock();
@@ -1237,6 +2442,104 @@
})));
});
+ unittest.test("method--getEffectiveOrgPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildGetEffectiveOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.GetEffectiveOrgPolicyRequest.fromJson(json);
+ checkGetEffectiveOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getEffectiveOrgPolicy(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
+ unittest.test("method--getEffectiveOrgPolicyV1", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildGetEffectiveOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.GetEffectiveOrgPolicyRequest.fromJson(json);
+ checkGetEffectiveOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getEffectiveOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
unittest.test("method--getIamPolicy", () {
var mock = new HttpServerMock();
@@ -1286,6 +2589,202 @@
})));
});
+ unittest.test("method--getOrgPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildGetOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.GetOrgPolicyRequest.fromJson(json);
+ checkGetOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getOrgPolicy(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
+ unittest.test("method--getOrgPolicyV1", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildGetOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.GetOrgPolicyRequest.fromJson(json);
+ checkGetOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
+ unittest.test("method--listAvailableOrgPolicyConstraints", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildListAvailableOrgPolicyConstraintsRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ListAvailableOrgPolicyConstraintsRequest.fromJson(json);
+ checkListAvailableOrgPolicyConstraintsRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListAvailableOrgPolicyConstraintsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.listAvailableOrgPolicyConstraints(arg_request, arg_resource).then(unittest.expectAsync(((api.ListAvailableOrgPolicyConstraintsResponse response) {
+ checkListAvailableOrgPolicyConstraintsResponse(response);
+ })));
+ });
+
+ unittest.test("method--listOrgPolicies", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildListOrgPoliciesRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ListOrgPoliciesRequest.fromJson(json);
+ checkListOrgPoliciesRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListOrgPoliciesResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.listOrgPolicies(arg_request, arg_resource).then(unittest.expectAsync(((api.ListOrgPoliciesResponse response) {
+ checkListOrgPoliciesResponse(response);
+ })));
+ });
+
unittest.test("method--search", () {
var mock = new HttpServerMock();
@@ -1382,6 +2881,104 @@
})));
});
+ unittest.test("method--setOrgPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildSetOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.SetOrgPolicyRequest.fromJson(json);
+ checkSetOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.setOrgPolicy(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
+ unittest.test("method--setOrgPolicyV1", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildSetOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.SetOrgPolicyRequest.fromJson(json);
+ checkSetOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.setOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
unittest.test("method--testIamPermissions", () {
var mock = new HttpServerMock();
@@ -1435,6 +3032,104 @@
unittest.group("resource-ProjectsResourceApi", () {
+ unittest.test("method--clearOrgPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projects;
+ var arg_request = buildClearOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ClearOrgPolicyRequest.fromJson(json);
+ checkClearOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.clearOrgPolicy(arg_request, arg_resource).then(unittest.expectAsync(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
+ unittest.test("method--clearOrgPolicyV1", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projects;
+ var arg_request = buildClearOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ClearOrgPolicyRequest.fromJson(json);
+ checkClearOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.clearOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
unittest.test("method--create", () {
var mock = new HttpServerMock();
@@ -1631,6 +3326,104 @@
})));
});
+ unittest.test("method--getEffectiveOrgPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projects;
+ var arg_request = buildGetEffectiveOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.GetEffectiveOrgPolicyRequest.fromJson(json);
+ checkGetEffectiveOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getEffectiveOrgPolicy(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
+ unittest.test("method--getEffectiveOrgPolicyV1", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projects;
+ var arg_request = buildGetEffectiveOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.GetEffectiveOrgPolicyRequest.fromJson(json);
+ checkGetEffectiveOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getEffectiveOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
unittest.test("method--getIamPolicy", () {
var mock = new HttpServerMock();
@@ -1686,6 +3479,104 @@
})));
});
+ unittest.test("method--getOrgPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projects;
+ var arg_request = buildGetOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.GetOrgPolicyRequest.fromJson(json);
+ checkGetOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getOrgPolicy(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
+ unittest.test("method--getOrgPolicyV1", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projects;
+ var arg_request = buildGetOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.GetOrgPolicyRequest.fromJson(json);
+ checkGetOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
unittest.test("method--list", () {
var mock = new HttpServerMock();
@@ -1735,6 +3626,104 @@
})));
});
+ unittest.test("method--listAvailableOrgPolicyConstraints", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projects;
+ var arg_request = buildListAvailableOrgPolicyConstraintsRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ListAvailableOrgPolicyConstraintsRequest.fromJson(json);
+ checkListAvailableOrgPolicyConstraintsRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListAvailableOrgPolicyConstraintsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.listAvailableOrgPolicyConstraints(arg_request, arg_resource).then(unittest.expectAsync(((api.ListAvailableOrgPolicyConstraintsResponse response) {
+ checkListAvailableOrgPolicyConstraintsResponse(response);
+ })));
+ });
+
+ unittest.test("method--listOrgPolicies", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projects;
+ var arg_request = buildListOrgPoliciesRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ListOrgPoliciesRequest.fromJson(json);
+ checkListOrgPoliciesRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListOrgPoliciesResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.listOrgPolicies(arg_request, arg_resource).then(unittest.expectAsync(((api.ListOrgPoliciesResponse response) {
+ checkListOrgPoliciesResponse(response);
+ })));
+ });
+
unittest.test("method--setIamPolicy", () {
var mock = new HttpServerMock();
@@ -1790,6 +3779,104 @@
})));
});
+ unittest.test("method--setOrgPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projects;
+ var arg_request = buildSetOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.SetOrgPolicyRequest.fromJson(json);
+ checkSetOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.setOrgPolicy(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
+ unittest.test("method--setOrgPolicyV1", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projects;
+ var arg_request = buildSetOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.SetOrgPolicyRequest.fromJson(json);
+ checkSetOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.setOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
unittest.test("method--testIamPermissions", () {
var mock = new HttpServerMock();
diff --git a/generated/googleapis/test/cloudtrace/v1_test.dart b/generated/googleapis/test/cloudtrace/v1_test.dart
index 0c2c903..4bec95f 100644
--- a/generated/googleapis/test/cloudtrace/v1_test.dart
+++ b/generated/googleapis/test/cloudtrace/v1_test.dart
@@ -68,14 +68,14 @@
buildCounterEmpty--;
}
-buildUnnamed134() {
+buildUnnamed155() {
var o = new core.List<api.Trace>();
o.add(buildTrace());
o.add(buildTrace());
return o;
}
-checkUnnamed134(core.List<api.Trace> o) {
+checkUnnamed155(core.List<api.Trace> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrace(o[0]);
checkTrace(o[1]);
@@ -87,7 +87,7 @@
buildCounterListTracesResponse++;
if (buildCounterListTracesResponse < 3) {
o.nextPageToken = "foo";
- o.traces = buildUnnamed134();
+ o.traces = buildUnnamed155();
}
buildCounterListTracesResponse--;
return o;
@@ -97,19 +97,19 @@
buildCounterListTracesResponse++;
if (buildCounterListTracesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed134(o.traces);
+ checkUnnamed155(o.traces);
}
buildCounterListTracesResponse--;
}
-buildUnnamed135() {
+buildUnnamed156() {
var o = new core.List<api.TraceSpan>();
o.add(buildTraceSpan());
o.add(buildTraceSpan());
return o;
}
-checkUnnamed135(core.List<api.TraceSpan> o) {
+checkUnnamed156(core.List<api.TraceSpan> o) {
unittest.expect(o, unittest.hasLength(2));
checkTraceSpan(o[0]);
checkTraceSpan(o[1]);
@@ -121,7 +121,7 @@
buildCounterTrace++;
if (buildCounterTrace < 3) {
o.projectId = "foo";
- o.spans = buildUnnamed135();
+ o.spans = buildUnnamed156();
o.traceId = "foo";
}
buildCounterTrace--;
@@ -132,20 +132,20 @@
buildCounterTrace++;
if (buildCounterTrace < 3) {
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed135(o.spans);
+ checkUnnamed156(o.spans);
unittest.expect(o.traceId, unittest.equals('foo'));
}
buildCounterTrace--;
}
-buildUnnamed136() {
+buildUnnamed157() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed136(core.Map<core.String, core.String> o) {
+checkUnnamed157(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -158,7 +158,7 @@
if (buildCounterTraceSpan < 3) {
o.endTime = "foo";
o.kind = "foo";
- o.labels = buildUnnamed136();
+ o.labels = buildUnnamed157();
o.name = "foo";
o.parentSpanId = "foo";
o.spanId = "foo";
@@ -173,7 +173,7 @@
if (buildCounterTraceSpan < 3) {
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed136(o.labels);
+ checkUnnamed157(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentSpanId, unittest.equals('foo'));
unittest.expect(o.spanId, unittest.equals('foo'));
@@ -182,14 +182,14 @@
buildCounterTraceSpan--;
}
-buildUnnamed137() {
+buildUnnamed158() {
var o = new core.List<api.Trace>();
o.add(buildTrace());
o.add(buildTrace());
return o;
}
-checkUnnamed137(core.List<api.Trace> o) {
+checkUnnamed158(core.List<api.Trace> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrace(o[0]);
checkTrace(o[1]);
@@ -200,7 +200,7 @@
var o = new api.Traces();
buildCounterTraces++;
if (buildCounterTraces < 3) {
- o.traces = buildUnnamed137();
+ o.traces = buildUnnamed158();
}
buildCounterTraces--;
return o;
@@ -209,7 +209,7 @@
checkTraces(api.Traces o) {
buildCounterTraces++;
if (buildCounterTraces < 3) {
- checkUnnamed137(o.traces);
+ checkUnnamed158(o.traces);
}
buildCounterTraces--;
}
@@ -381,13 +381,13 @@
var mock = new HttpServerMock();
api.ProjectsTracesResourceApi res = new api.CloudtraceApi(mock).projects.traces;
var arg_projectId = "foo";
- var arg_orderBy = "foo";
var arg_filter = "foo";
var arg_endTime = "foo";
- var arg_pageToken = "foo";
var arg_startTime = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_view = "foo";
+ var arg_orderBy = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -421,13 +421,13 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["endTime"].first, unittest.equals(arg_endTime));
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTime));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
+ unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
var h = {
@@ -436,7 +436,7 @@
var resp = convert.JSON.encode(buildListTracesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, orderBy: arg_orderBy, filter: arg_filter, endTime: arg_endTime, pageToken: arg_pageToken, startTime: arg_startTime, pageSize: arg_pageSize, view: arg_view).then(unittest.expectAsync(((api.ListTracesResponse response) {
+ res.list(arg_projectId, filter: arg_filter, endTime: arg_endTime, startTime: arg_startTime, pageToken: arg_pageToken, pageSize: arg_pageSize, view: arg_view, orderBy: arg_orderBy).then(unittest.expectAsync(((api.ListTracesResponse response) {
checkListTracesResponse(response);
})));
});
diff --git a/generated/googleapis/test/compute/v1_test.dart b/generated/googleapis/test/compute/v1_test.dart
index 0735e71..3344b10 100644
--- a/generated/googleapis/test/compute/v1_test.dart
+++ b/generated/googleapis/test/compute/v1_test.dart
@@ -76,14 +76,14 @@
buildCounterAccessConfig--;
}
-buildUnnamed1902() {
+buildUnnamed2006() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1902(core.List<core.String> o) {
+checkUnnamed2006(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -103,7 +103,7 @@
o.region = "foo";
o.selfLink = "foo";
o.status = "foo";
- o.users = buildUnnamed1902();
+ o.users = buildUnnamed2006();
}
buildCounterAddress--;
return o;
@@ -121,19 +121,19 @@
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed1902(o.users);
+ checkUnnamed2006(o.users);
}
buildCounterAddress--;
}
-buildUnnamed1903() {
+buildUnnamed2007() {
var o = new core.Map<core.String, api.AddressesScopedList>();
o["x"] = buildAddressesScopedList();
o["y"] = buildAddressesScopedList();
return o;
}
-checkUnnamed1903(core.Map<core.String, api.AddressesScopedList> o) {
+checkUnnamed2007(core.Map<core.String, api.AddressesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddressesScopedList(o["x"]);
checkAddressesScopedList(o["y"]);
@@ -145,7 +145,7 @@
buildCounterAddressAggregatedList++;
if (buildCounterAddressAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1903();
+ o.items = buildUnnamed2007();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -158,7 +158,7 @@
buildCounterAddressAggregatedList++;
if (buildCounterAddressAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1903(o.items);
+ checkUnnamed2007(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -166,14 +166,14 @@
buildCounterAddressAggregatedList--;
}
-buildUnnamed1904() {
+buildUnnamed2008() {
var o = new core.List<api.Address>();
o.add(buildAddress());
o.add(buildAddress());
return o;
}
-checkUnnamed1904(core.List<api.Address> o) {
+checkUnnamed2008(core.List<api.Address> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddress(o[0]);
checkAddress(o[1]);
@@ -185,7 +185,7 @@
buildCounterAddressList++;
if (buildCounterAddressList < 3) {
o.id = "foo";
- o.items = buildUnnamed1904();
+ o.items = buildUnnamed2008();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -198,7 +198,7 @@
buildCounterAddressList++;
if (buildCounterAddressList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1904(o.items);
+ checkUnnamed2008(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -206,14 +206,14 @@
buildCounterAddressList--;
}
-buildUnnamed1905() {
+buildUnnamed2009() {
var o = new core.List<api.Address>();
o.add(buildAddress());
o.add(buildAddress());
return o;
}
-checkUnnamed1905(core.List<api.Address> o) {
+checkUnnamed2009(core.List<api.Address> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddress(o[0]);
checkAddress(o[1]);
@@ -240,14 +240,14 @@
buildCounterAddressesScopedListWarningData--;
}
-buildUnnamed1906() {
+buildUnnamed2010() {
var o = new core.List<api.AddressesScopedListWarningData>();
o.add(buildAddressesScopedListWarningData());
o.add(buildAddressesScopedListWarningData());
return o;
}
-checkUnnamed1906(core.List<api.AddressesScopedListWarningData> o) {
+checkUnnamed2010(core.List<api.AddressesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddressesScopedListWarningData(o[0]);
checkAddressesScopedListWarningData(o[1]);
@@ -259,7 +259,7 @@
buildCounterAddressesScopedListWarning++;
if (buildCounterAddressesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1906();
+ o.data = buildUnnamed2010();
o.message = "foo";
}
buildCounterAddressesScopedListWarning--;
@@ -270,7 +270,7 @@
buildCounterAddressesScopedListWarning++;
if (buildCounterAddressesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1906(o.data);
+ checkUnnamed2010(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAddressesScopedListWarning--;
@@ -281,7 +281,7 @@
var o = new api.AddressesScopedList();
buildCounterAddressesScopedList++;
if (buildCounterAddressesScopedList < 3) {
- o.addresses = buildUnnamed1905();
+ o.addresses = buildUnnamed2009();
o.warning = buildAddressesScopedListWarning();
}
buildCounterAddressesScopedList--;
@@ -291,20 +291,20 @@
checkAddressesScopedList(api.AddressesScopedList o) {
buildCounterAddressesScopedList++;
if (buildCounterAddressesScopedList < 3) {
- checkUnnamed1905(o.addresses);
+ checkUnnamed2009(o.addresses);
checkAddressesScopedListWarning(o.warning);
}
buildCounterAddressesScopedList--;
}
-buildUnnamed1907() {
+buildUnnamed2011() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1907(core.List<core.String> o) {
+checkUnnamed2011(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -323,7 +323,7 @@
o.initializeParams = buildAttachedDiskInitializeParams();
o.interface = "foo";
o.kind = "foo";
- o.licenses = buildUnnamed1907();
+ o.licenses = buildUnnamed2011();
o.mode = "foo";
o.source = "foo";
o.type = "foo";
@@ -343,7 +343,7 @@
checkAttachedDiskInitializeParams(o.initializeParams);
unittest.expect(o.interface, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1907(o.licenses);
+ checkUnnamed2011(o.licenses);
unittest.expect(o.mode, unittest.equals('foo'));
unittest.expect(o.source, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -415,14 +415,14 @@
buildCounterAutoscaler--;
}
-buildUnnamed1908() {
+buildUnnamed2012() {
var o = new core.Map<core.String, api.AutoscalersScopedList>();
o["x"] = buildAutoscalersScopedList();
o["y"] = buildAutoscalersScopedList();
return o;
}
-checkUnnamed1908(core.Map<core.String, api.AutoscalersScopedList> o) {
+checkUnnamed2012(core.Map<core.String, api.AutoscalersScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalersScopedList(o["x"]);
checkAutoscalersScopedList(o["y"]);
@@ -434,7 +434,7 @@
buildCounterAutoscalerAggregatedList++;
if (buildCounterAutoscalerAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1908();
+ o.items = buildUnnamed2012();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -447,7 +447,7 @@
buildCounterAutoscalerAggregatedList++;
if (buildCounterAutoscalerAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1908(o.items);
+ checkUnnamed2012(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -455,14 +455,14 @@
buildCounterAutoscalerAggregatedList--;
}
-buildUnnamed1909() {
+buildUnnamed2013() {
var o = new core.List<api.Autoscaler>();
o.add(buildAutoscaler());
o.add(buildAutoscaler());
return o;
}
-checkUnnamed1909(core.List<api.Autoscaler> o) {
+checkUnnamed2013(core.List<api.Autoscaler> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscaler(o[0]);
checkAutoscaler(o[1]);
@@ -474,7 +474,7 @@
buildCounterAutoscalerList++;
if (buildCounterAutoscalerList < 3) {
o.id = "foo";
- o.items = buildUnnamed1909();
+ o.items = buildUnnamed2013();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -487,7 +487,7 @@
buildCounterAutoscalerList++;
if (buildCounterAutoscalerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1909(o.items);
+ checkUnnamed2013(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -495,14 +495,14 @@
buildCounterAutoscalerList--;
}
-buildUnnamed1910() {
+buildUnnamed2014() {
var o = new core.List<api.Autoscaler>();
o.add(buildAutoscaler());
o.add(buildAutoscaler());
return o;
}
-checkUnnamed1910(core.List<api.Autoscaler> o) {
+checkUnnamed2014(core.List<api.Autoscaler> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscaler(o[0]);
checkAutoscaler(o[1]);
@@ -529,14 +529,14 @@
buildCounterAutoscalersScopedListWarningData--;
}
-buildUnnamed1911() {
+buildUnnamed2015() {
var o = new core.List<api.AutoscalersScopedListWarningData>();
o.add(buildAutoscalersScopedListWarningData());
o.add(buildAutoscalersScopedListWarningData());
return o;
}
-checkUnnamed1911(core.List<api.AutoscalersScopedListWarningData> o) {
+checkUnnamed2015(core.List<api.AutoscalersScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalersScopedListWarningData(o[0]);
checkAutoscalersScopedListWarningData(o[1]);
@@ -548,7 +548,7 @@
buildCounterAutoscalersScopedListWarning++;
if (buildCounterAutoscalersScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1911();
+ o.data = buildUnnamed2015();
o.message = "foo";
}
buildCounterAutoscalersScopedListWarning--;
@@ -559,7 +559,7 @@
buildCounterAutoscalersScopedListWarning++;
if (buildCounterAutoscalersScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1911(o.data);
+ checkUnnamed2015(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAutoscalersScopedListWarning--;
@@ -570,7 +570,7 @@
var o = new api.AutoscalersScopedList();
buildCounterAutoscalersScopedList++;
if (buildCounterAutoscalersScopedList < 3) {
- o.autoscalers = buildUnnamed1910();
+ o.autoscalers = buildUnnamed2014();
o.warning = buildAutoscalersScopedListWarning();
}
buildCounterAutoscalersScopedList--;
@@ -580,20 +580,20 @@
checkAutoscalersScopedList(api.AutoscalersScopedList o) {
buildCounterAutoscalersScopedList++;
if (buildCounterAutoscalersScopedList < 3) {
- checkUnnamed1910(o.autoscalers);
+ checkUnnamed2014(o.autoscalers);
checkAutoscalersScopedListWarning(o.warning);
}
buildCounterAutoscalersScopedList--;
}
-buildUnnamed1912() {
+buildUnnamed2016() {
var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>();
o.add(buildAutoscalingPolicyCustomMetricUtilization());
o.add(buildAutoscalingPolicyCustomMetricUtilization());
return o;
}
-checkUnnamed1912(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) {
+checkUnnamed2016(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalingPolicyCustomMetricUtilization(o[0]);
checkAutoscalingPolicyCustomMetricUtilization(o[1]);
@@ -606,7 +606,7 @@
if (buildCounterAutoscalingPolicy < 3) {
o.coolDownPeriodSec = 42;
o.cpuUtilization = buildAutoscalingPolicyCpuUtilization();
- o.customMetricUtilizations = buildUnnamed1912();
+ o.customMetricUtilizations = buildUnnamed2016();
o.loadBalancingUtilization = buildAutoscalingPolicyLoadBalancingUtilization();
o.maxNumReplicas = 42;
o.minNumReplicas = 42;
@@ -620,7 +620,7 @@
if (buildCounterAutoscalingPolicy < 3) {
unittest.expect(o.coolDownPeriodSec, unittest.equals(42));
checkAutoscalingPolicyCpuUtilization(o.cpuUtilization);
- checkUnnamed1912(o.customMetricUtilizations);
+ checkUnnamed2016(o.customMetricUtilizations);
checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization);
unittest.expect(o.maxNumReplicas, unittest.equals(42));
unittest.expect(o.minNumReplicas, unittest.equals(42));
@@ -724,27 +724,100 @@
buildCounterBackend--;
}
-buildUnnamed1913() {
+core.int buildCounterBackendBucket = 0;
+buildBackendBucket() {
+ var o = new api.BackendBucket();
+ buildCounterBackendBucket++;
+ if (buildCounterBackendBucket < 3) {
+ o.bucketName = "foo";
+ o.creationTimestamp = "foo";
+ o.description = "foo";
+ o.enableCdn = true;
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ o.selfLink = "foo";
+ }
+ buildCounterBackendBucket--;
+ return o;
+}
+
+checkBackendBucket(api.BackendBucket o) {
+ buildCounterBackendBucket++;
+ if (buildCounterBackendBucket < 3) {
+ unittest.expect(o.bucketName, unittest.equals('foo'));
+ unittest.expect(o.creationTimestamp, unittest.equals('foo'));
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.enableCdn, unittest.isTrue);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.selfLink, unittest.equals('foo'));
+ }
+ buildCounterBackendBucket--;
+}
+
+buildUnnamed2017() {
+ var o = new core.List<api.BackendBucket>();
+ o.add(buildBackendBucket());
+ o.add(buildBackendBucket());
+ return o;
+}
+
+checkUnnamed2017(core.List<api.BackendBucket> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkBackendBucket(o[0]);
+ checkBackendBucket(o[1]);
+}
+
+core.int buildCounterBackendBucketList = 0;
+buildBackendBucketList() {
+ var o = new api.BackendBucketList();
+ buildCounterBackendBucketList++;
+ if (buildCounterBackendBucketList < 3) {
+ o.id = "foo";
+ o.items = buildUnnamed2017();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ o.selfLink = "foo";
+ }
+ buildCounterBackendBucketList--;
+ return o;
+}
+
+checkBackendBucketList(api.BackendBucketList o) {
+ buildCounterBackendBucketList++;
+ if (buildCounterBackendBucketList < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkUnnamed2017(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ unittest.expect(o.selfLink, unittest.equals('foo'));
+ }
+ buildCounterBackendBucketList--;
+}
+
+buildUnnamed2018() {
var o = new core.List<api.Backend>();
o.add(buildBackend());
o.add(buildBackend());
return o;
}
-checkUnnamed1913(core.List<api.Backend> o) {
+checkUnnamed2018(core.List<api.Backend> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackend(o[0]);
checkBackend(o[1]);
}
-buildUnnamed1914() {
+buildUnnamed2019() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1914(core.List<core.String> o) {
+checkUnnamed2019(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -756,13 +829,13 @@
buildCounterBackendService++;
if (buildCounterBackendService < 3) {
o.affinityCookieTtlSec = 42;
- o.backends = buildUnnamed1913();
+ o.backends = buildUnnamed2018();
o.connectionDraining = buildConnectionDraining();
o.creationTimestamp = "foo";
o.description = "foo";
o.enableCDN = true;
o.fingerprint = "foo";
- o.healthChecks = buildUnnamed1914();
+ o.healthChecks = buildUnnamed2019();
o.id = "foo";
o.kind = "foo";
o.loadBalancingScheme = "foo";
@@ -783,13 +856,13 @@
buildCounterBackendService++;
if (buildCounterBackendService < 3) {
unittest.expect(o.affinityCookieTtlSec, unittest.equals(42));
- checkUnnamed1913(o.backends);
+ checkUnnamed2018(o.backends);
checkConnectionDraining(o.connectionDraining);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.enableCDN, unittest.isTrue);
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1914(o.healthChecks);
+ checkUnnamed2019(o.healthChecks);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.loadBalancingScheme, unittest.equals('foo'));
@@ -805,14 +878,14 @@
buildCounterBackendService--;
}
-buildUnnamed1915() {
+buildUnnamed2020() {
var o = new core.Map<core.String, api.BackendServicesScopedList>();
o["x"] = buildBackendServicesScopedList();
o["y"] = buildBackendServicesScopedList();
return o;
}
-checkUnnamed1915(core.Map<core.String, api.BackendServicesScopedList> o) {
+checkUnnamed2020(core.Map<core.String, api.BackendServicesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendServicesScopedList(o["x"]);
checkBackendServicesScopedList(o["y"]);
@@ -824,7 +897,7 @@
buildCounterBackendServiceAggregatedList++;
if (buildCounterBackendServiceAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1915();
+ o.items = buildUnnamed2020();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -837,7 +910,7 @@
buildCounterBackendServiceAggregatedList++;
if (buildCounterBackendServiceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1915(o.items);
+ checkUnnamed2020(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -845,14 +918,14 @@
buildCounterBackendServiceAggregatedList--;
}
-buildUnnamed1916() {
+buildUnnamed2021() {
var o = new core.List<api.HealthStatus>();
o.add(buildHealthStatus());
o.add(buildHealthStatus());
return o;
}
-checkUnnamed1916(core.List<api.HealthStatus> o) {
+checkUnnamed2021(core.List<api.HealthStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthStatus(o[0]);
checkHealthStatus(o[1]);
@@ -863,7 +936,7 @@
var o = new api.BackendServiceGroupHealth();
buildCounterBackendServiceGroupHealth++;
if (buildCounterBackendServiceGroupHealth < 3) {
- o.healthStatus = buildUnnamed1916();
+ o.healthStatus = buildUnnamed2021();
o.kind = "foo";
}
buildCounterBackendServiceGroupHealth--;
@@ -873,20 +946,20 @@
checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) {
buildCounterBackendServiceGroupHealth++;
if (buildCounterBackendServiceGroupHealth < 3) {
- checkUnnamed1916(o.healthStatus);
+ checkUnnamed2021(o.healthStatus);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBackendServiceGroupHealth--;
}
-buildUnnamed1917() {
+buildUnnamed2022() {
var o = new core.List<api.BackendService>();
o.add(buildBackendService());
o.add(buildBackendService());
return o;
}
-checkUnnamed1917(core.List<api.BackendService> o) {
+checkUnnamed2022(core.List<api.BackendService> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendService(o[0]);
checkBackendService(o[1]);
@@ -898,7 +971,7 @@
buildCounterBackendServiceList++;
if (buildCounterBackendServiceList < 3) {
o.id = "foo";
- o.items = buildUnnamed1917();
+ o.items = buildUnnamed2022();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -911,7 +984,7 @@
buildCounterBackendServiceList++;
if (buildCounterBackendServiceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1917(o.items);
+ checkUnnamed2022(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -919,14 +992,14 @@
buildCounterBackendServiceList--;
}
-buildUnnamed1918() {
+buildUnnamed2023() {
var o = new core.List<api.BackendService>();
o.add(buildBackendService());
o.add(buildBackendService());
return o;
}
-checkUnnamed1918(core.List<api.BackendService> o) {
+checkUnnamed2023(core.List<api.BackendService> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendService(o[0]);
checkBackendService(o[1]);
@@ -953,14 +1026,14 @@
buildCounterBackendServicesScopedListWarningData--;
}
-buildUnnamed1919() {
+buildUnnamed2024() {
var o = new core.List<api.BackendServicesScopedListWarningData>();
o.add(buildBackendServicesScopedListWarningData());
o.add(buildBackendServicesScopedListWarningData());
return o;
}
-checkUnnamed1919(core.List<api.BackendServicesScopedListWarningData> o) {
+checkUnnamed2024(core.List<api.BackendServicesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendServicesScopedListWarningData(o[0]);
checkBackendServicesScopedListWarningData(o[1]);
@@ -972,7 +1045,7 @@
buildCounterBackendServicesScopedListWarning++;
if (buildCounterBackendServicesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1919();
+ o.data = buildUnnamed2024();
o.message = "foo";
}
buildCounterBackendServicesScopedListWarning--;
@@ -983,7 +1056,7 @@
buildCounterBackendServicesScopedListWarning++;
if (buildCounterBackendServicesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1919(o.data);
+ checkUnnamed2024(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterBackendServicesScopedListWarning--;
@@ -994,7 +1067,7 @@
var o = new api.BackendServicesScopedList();
buildCounterBackendServicesScopedList++;
if (buildCounterBackendServicesScopedList < 3) {
- o.backendServices = buildUnnamed1918();
+ o.backendServices = buildUnnamed2023();
o.warning = buildBackendServicesScopedListWarning();
}
buildCounterBackendServicesScopedList--;
@@ -1004,7 +1077,7 @@
checkBackendServicesScopedList(api.BackendServicesScopedList o) {
buildCounterBackendServicesScopedList++;
if (buildCounterBackendServicesScopedList < 3) {
- checkUnnamed1918(o.backendServices);
+ checkUnnamed2023(o.backendServices);
checkBackendServicesScopedListWarning(o.warning);
}
buildCounterBackendServicesScopedList--;
@@ -1119,27 +1192,27 @@
buildCounterDeprecationStatus--;
}
-buildUnnamed1920() {
+buildUnnamed2025() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1920(core.List<core.String> o) {
+checkUnnamed2025(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1921() {
+buildUnnamed2026() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1921(core.List<core.String> o) {
+checkUnnamed2026(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1157,7 +1230,7 @@
o.kind = "foo";
o.lastAttachTimestamp = "foo";
o.lastDetachTimestamp = "foo";
- o.licenses = buildUnnamed1920();
+ o.licenses = buildUnnamed2025();
o.name = "foo";
o.options = "foo";
o.selfLink = "foo";
@@ -1170,7 +1243,7 @@
o.sourceSnapshotId = "foo";
o.status = "foo";
o.type = "foo";
- o.users = buildUnnamed1921();
+ o.users = buildUnnamed2026();
o.zone = "foo";
}
buildCounterDisk--;
@@ -1187,7 +1260,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastAttachTimestamp, unittest.equals('foo'));
unittest.expect(o.lastDetachTimestamp, unittest.equals('foo'));
- checkUnnamed1920(o.licenses);
+ checkUnnamed2025(o.licenses);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.options, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1200,20 +1273,20 @@
unittest.expect(o.sourceSnapshotId, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
- checkUnnamed1921(o.users);
+ checkUnnamed2026(o.users);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterDisk--;
}
-buildUnnamed1922() {
+buildUnnamed2027() {
var o = new core.Map<core.String, api.DisksScopedList>();
o["x"] = buildDisksScopedList();
o["y"] = buildDisksScopedList();
return o;
}
-checkUnnamed1922(core.Map<core.String, api.DisksScopedList> o) {
+checkUnnamed2027(core.Map<core.String, api.DisksScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisksScopedList(o["x"]);
checkDisksScopedList(o["y"]);
@@ -1225,7 +1298,7 @@
buildCounterDiskAggregatedList++;
if (buildCounterDiskAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1922();
+ o.items = buildUnnamed2027();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1238,7 +1311,7 @@
buildCounterDiskAggregatedList++;
if (buildCounterDiskAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1922(o.items);
+ checkUnnamed2027(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1246,14 +1319,14 @@
buildCounterDiskAggregatedList--;
}
-buildUnnamed1923() {
+buildUnnamed2028() {
var o = new core.List<api.Disk>();
o.add(buildDisk());
o.add(buildDisk());
return o;
}
-checkUnnamed1923(core.List<api.Disk> o) {
+checkUnnamed2028(core.List<api.Disk> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisk(o[0]);
checkDisk(o[1]);
@@ -1265,7 +1338,7 @@
buildCounterDiskList++;
if (buildCounterDiskList < 3) {
o.id = "foo";
- o.items = buildUnnamed1923();
+ o.items = buildUnnamed2028();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1278,7 +1351,7 @@
buildCounterDiskList++;
if (buildCounterDiskList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1923(o.items);
+ checkUnnamed2028(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1344,14 +1417,14 @@
buildCounterDiskType--;
}
-buildUnnamed1924() {
+buildUnnamed2029() {
var o = new core.Map<core.String, api.DiskTypesScopedList>();
o["x"] = buildDiskTypesScopedList();
o["y"] = buildDiskTypesScopedList();
return o;
}
-checkUnnamed1924(core.Map<core.String, api.DiskTypesScopedList> o) {
+checkUnnamed2029(core.Map<core.String, api.DiskTypesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskTypesScopedList(o["x"]);
checkDiskTypesScopedList(o["y"]);
@@ -1363,7 +1436,7 @@
buildCounterDiskTypeAggregatedList++;
if (buildCounterDiskTypeAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1924();
+ o.items = buildUnnamed2029();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1376,7 +1449,7 @@
buildCounterDiskTypeAggregatedList++;
if (buildCounterDiskTypeAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1924(o.items);
+ checkUnnamed2029(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1384,14 +1457,14 @@
buildCounterDiskTypeAggregatedList--;
}
-buildUnnamed1925() {
+buildUnnamed2030() {
var o = new core.List<api.DiskType>();
o.add(buildDiskType());
o.add(buildDiskType());
return o;
}
-checkUnnamed1925(core.List<api.DiskType> o) {
+checkUnnamed2030(core.List<api.DiskType> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskType(o[0]);
checkDiskType(o[1]);
@@ -1403,7 +1476,7 @@
buildCounterDiskTypeList++;
if (buildCounterDiskTypeList < 3) {
o.id = "foo";
- o.items = buildUnnamed1925();
+ o.items = buildUnnamed2030();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1416,7 +1489,7 @@
buildCounterDiskTypeList++;
if (buildCounterDiskTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1925(o.items);
+ checkUnnamed2030(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1424,14 +1497,14 @@
buildCounterDiskTypeList--;
}
-buildUnnamed1926() {
+buildUnnamed2031() {
var o = new core.List<api.DiskType>();
o.add(buildDiskType());
o.add(buildDiskType());
return o;
}
-checkUnnamed1926(core.List<api.DiskType> o) {
+checkUnnamed2031(core.List<api.DiskType> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskType(o[0]);
checkDiskType(o[1]);
@@ -1458,14 +1531,14 @@
buildCounterDiskTypesScopedListWarningData--;
}
-buildUnnamed1927() {
+buildUnnamed2032() {
var o = new core.List<api.DiskTypesScopedListWarningData>();
o.add(buildDiskTypesScopedListWarningData());
o.add(buildDiskTypesScopedListWarningData());
return o;
}
-checkUnnamed1927(core.List<api.DiskTypesScopedListWarningData> o) {
+checkUnnamed2032(core.List<api.DiskTypesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskTypesScopedListWarningData(o[0]);
checkDiskTypesScopedListWarningData(o[1]);
@@ -1477,7 +1550,7 @@
buildCounterDiskTypesScopedListWarning++;
if (buildCounterDiskTypesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1927();
+ o.data = buildUnnamed2032();
o.message = "foo";
}
buildCounterDiskTypesScopedListWarning--;
@@ -1488,7 +1561,7 @@
buildCounterDiskTypesScopedListWarning++;
if (buildCounterDiskTypesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1927(o.data);
+ checkUnnamed2032(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDiskTypesScopedListWarning--;
@@ -1499,7 +1572,7 @@
var o = new api.DiskTypesScopedList();
buildCounterDiskTypesScopedList++;
if (buildCounterDiskTypesScopedList < 3) {
- o.diskTypes = buildUnnamed1926();
+ o.diskTypes = buildUnnamed2031();
o.warning = buildDiskTypesScopedListWarning();
}
buildCounterDiskTypesScopedList--;
@@ -1509,7 +1582,7 @@
checkDiskTypesScopedList(api.DiskTypesScopedList o) {
buildCounterDiskTypesScopedList++;
if (buildCounterDiskTypesScopedList < 3) {
- checkUnnamed1926(o.diskTypes);
+ checkUnnamed2031(o.diskTypes);
checkDiskTypesScopedListWarning(o.warning);
}
buildCounterDiskTypesScopedList--;
@@ -1534,14 +1607,14 @@
buildCounterDisksResizeRequest--;
}
-buildUnnamed1928() {
+buildUnnamed2033() {
var o = new core.List<api.Disk>();
o.add(buildDisk());
o.add(buildDisk());
return o;
}
-checkUnnamed1928(core.List<api.Disk> o) {
+checkUnnamed2033(core.List<api.Disk> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisk(o[0]);
checkDisk(o[1]);
@@ -1568,14 +1641,14 @@
buildCounterDisksScopedListWarningData--;
}
-buildUnnamed1929() {
+buildUnnamed2034() {
var o = new core.List<api.DisksScopedListWarningData>();
o.add(buildDisksScopedListWarningData());
o.add(buildDisksScopedListWarningData());
return o;
}
-checkUnnamed1929(core.List<api.DisksScopedListWarningData> o) {
+checkUnnamed2034(core.List<api.DisksScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisksScopedListWarningData(o[0]);
checkDisksScopedListWarningData(o[1]);
@@ -1587,7 +1660,7 @@
buildCounterDisksScopedListWarning++;
if (buildCounterDisksScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1929();
+ o.data = buildUnnamed2034();
o.message = "foo";
}
buildCounterDisksScopedListWarning--;
@@ -1598,7 +1671,7 @@
buildCounterDisksScopedListWarning++;
if (buildCounterDisksScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1929(o.data);
+ checkUnnamed2034(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDisksScopedListWarning--;
@@ -1609,7 +1682,7 @@
var o = new api.DisksScopedList();
buildCounterDisksScopedList++;
if (buildCounterDisksScopedList < 3) {
- o.disks = buildUnnamed1928();
+ o.disks = buildUnnamed2033();
o.warning = buildDisksScopedListWarning();
}
buildCounterDisksScopedList--;
@@ -1619,20 +1692,20 @@
checkDisksScopedList(api.DisksScopedList o) {
buildCounterDisksScopedList++;
if (buildCounterDisksScopedList < 3) {
- checkUnnamed1928(o.disks);
+ checkUnnamed2033(o.disks);
checkDisksScopedListWarning(o.warning);
}
buildCounterDisksScopedList--;
}
-buildUnnamed1930() {
+buildUnnamed2035() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1930(core.List<core.String> o) {
+checkUnnamed2035(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1644,7 +1717,7 @@
buildCounterFirewallAllowed++;
if (buildCounterFirewallAllowed < 3) {
o.IPProtocol = "foo";
- o.ports = buildUnnamed1930();
+ o.ports = buildUnnamed2035();
}
buildCounterFirewallAllowed--;
return o;
@@ -1654,58 +1727,58 @@
buildCounterFirewallAllowed++;
if (buildCounterFirewallAllowed < 3) {
unittest.expect(o.IPProtocol, unittest.equals('foo'));
- checkUnnamed1930(o.ports);
+ checkUnnamed2035(o.ports);
}
buildCounterFirewallAllowed--;
}
-buildUnnamed1931() {
+buildUnnamed2036() {
var o = new core.List<api.FirewallAllowed>();
o.add(buildFirewallAllowed());
o.add(buildFirewallAllowed());
return o;
}
-checkUnnamed1931(core.List<api.FirewallAllowed> o) {
+checkUnnamed2036(core.List<api.FirewallAllowed> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallAllowed(o[0]);
checkFirewallAllowed(o[1]);
}
-buildUnnamed1932() {
+buildUnnamed2037() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1932(core.List<core.String> o) {
+checkUnnamed2037(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1933() {
+buildUnnamed2038() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1933(core.List<core.String> o) {
+checkUnnamed2038(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1934() {
+buildUnnamed2039() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1934(core.List<core.String> o) {
+checkUnnamed2039(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1716,7 +1789,7 @@
var o = new api.Firewall();
buildCounterFirewall++;
if (buildCounterFirewall < 3) {
- o.allowed = buildUnnamed1931();
+ o.allowed = buildUnnamed2036();
o.creationTimestamp = "foo";
o.description = "foo";
o.id = "foo";
@@ -1724,9 +1797,9 @@
o.name = "foo";
o.network = "foo";
o.selfLink = "foo";
- o.sourceRanges = buildUnnamed1932();
- o.sourceTags = buildUnnamed1933();
- o.targetTags = buildUnnamed1934();
+ o.sourceRanges = buildUnnamed2037();
+ o.sourceTags = buildUnnamed2038();
+ o.targetTags = buildUnnamed2039();
}
buildCounterFirewall--;
return o;
@@ -1735,7 +1808,7 @@
checkFirewall(api.Firewall o) {
buildCounterFirewall++;
if (buildCounterFirewall < 3) {
- checkUnnamed1931(o.allowed);
+ checkUnnamed2036(o.allowed);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -1743,21 +1816,21 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1932(o.sourceRanges);
- checkUnnamed1933(o.sourceTags);
- checkUnnamed1934(o.targetTags);
+ checkUnnamed2037(o.sourceRanges);
+ checkUnnamed2038(o.sourceTags);
+ checkUnnamed2039(o.targetTags);
}
buildCounterFirewall--;
}
-buildUnnamed1935() {
+buildUnnamed2040() {
var o = new core.List<api.Firewall>();
o.add(buildFirewall());
o.add(buildFirewall());
return o;
}
-checkUnnamed1935(core.List<api.Firewall> o) {
+checkUnnamed2040(core.List<api.Firewall> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewall(o[0]);
checkFirewall(o[1]);
@@ -1769,7 +1842,7 @@
buildCounterFirewallList++;
if (buildCounterFirewallList < 3) {
o.id = "foo";
- o.items = buildUnnamed1935();
+ o.items = buildUnnamed2040();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1782,7 +1855,7 @@
buildCounterFirewallList++;
if (buildCounterFirewallList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1935(o.items);
+ checkUnnamed2040(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1790,14 +1863,14 @@
buildCounterFirewallList--;
}
-buildUnnamed1936() {
+buildUnnamed2041() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1936(core.List<core.String> o) {
+checkUnnamed2041(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1819,7 +1892,7 @@
o.name = "foo";
o.network = "foo";
o.portRange = "foo";
- o.ports = buildUnnamed1936();
+ o.ports = buildUnnamed2041();
o.region = "foo";
o.selfLink = "foo";
o.subnetwork = "foo";
@@ -1843,7 +1916,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.portRange, unittest.equals('foo'));
- checkUnnamed1936(o.ports);
+ checkUnnamed2041(o.ports);
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.subnetwork, unittest.equals('foo'));
@@ -1852,14 +1925,14 @@
buildCounterForwardingRule--;
}
-buildUnnamed1937() {
+buildUnnamed2042() {
var o = new core.Map<core.String, api.ForwardingRulesScopedList>();
o["x"] = buildForwardingRulesScopedList();
o["y"] = buildForwardingRulesScopedList();
return o;
}
-checkUnnamed1937(core.Map<core.String, api.ForwardingRulesScopedList> o) {
+checkUnnamed2042(core.Map<core.String, api.ForwardingRulesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRulesScopedList(o["x"]);
checkForwardingRulesScopedList(o["y"]);
@@ -1871,7 +1944,7 @@
buildCounterForwardingRuleAggregatedList++;
if (buildCounterForwardingRuleAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1937();
+ o.items = buildUnnamed2042();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1884,7 +1957,7 @@
buildCounterForwardingRuleAggregatedList++;
if (buildCounterForwardingRuleAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1937(o.items);
+ checkUnnamed2042(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1892,14 +1965,14 @@
buildCounterForwardingRuleAggregatedList--;
}
-buildUnnamed1938() {
+buildUnnamed2043() {
var o = new core.List<api.ForwardingRule>();
o.add(buildForwardingRule());
o.add(buildForwardingRule());
return o;
}
-checkUnnamed1938(core.List<api.ForwardingRule> o) {
+checkUnnamed2043(core.List<api.ForwardingRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRule(o[0]);
checkForwardingRule(o[1]);
@@ -1911,7 +1984,7 @@
buildCounterForwardingRuleList++;
if (buildCounterForwardingRuleList < 3) {
o.id = "foo";
- o.items = buildUnnamed1938();
+ o.items = buildUnnamed2043();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1924,7 +1997,7 @@
buildCounterForwardingRuleList++;
if (buildCounterForwardingRuleList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1938(o.items);
+ checkUnnamed2043(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1932,14 +2005,14 @@
buildCounterForwardingRuleList--;
}
-buildUnnamed1939() {
+buildUnnamed2044() {
var o = new core.List<api.ForwardingRule>();
o.add(buildForwardingRule());
o.add(buildForwardingRule());
return o;
}
-checkUnnamed1939(core.List<api.ForwardingRule> o) {
+checkUnnamed2044(core.List<api.ForwardingRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRule(o[0]);
checkForwardingRule(o[1]);
@@ -1966,14 +2039,14 @@
buildCounterForwardingRulesScopedListWarningData--;
}
-buildUnnamed1940() {
+buildUnnamed2045() {
var o = new core.List<api.ForwardingRulesScopedListWarningData>();
o.add(buildForwardingRulesScopedListWarningData());
o.add(buildForwardingRulesScopedListWarningData());
return o;
}
-checkUnnamed1940(core.List<api.ForwardingRulesScopedListWarningData> o) {
+checkUnnamed2045(core.List<api.ForwardingRulesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRulesScopedListWarningData(o[0]);
checkForwardingRulesScopedListWarningData(o[1]);
@@ -1985,7 +2058,7 @@
buildCounterForwardingRulesScopedListWarning++;
if (buildCounterForwardingRulesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1940();
+ o.data = buildUnnamed2045();
o.message = "foo";
}
buildCounterForwardingRulesScopedListWarning--;
@@ -1996,7 +2069,7 @@
buildCounterForwardingRulesScopedListWarning++;
if (buildCounterForwardingRulesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1940(o.data);
+ checkUnnamed2045(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterForwardingRulesScopedListWarning--;
@@ -2007,7 +2080,7 @@
var o = new api.ForwardingRulesScopedList();
buildCounterForwardingRulesScopedList++;
if (buildCounterForwardingRulesScopedList < 3) {
- o.forwardingRules = buildUnnamed1939();
+ o.forwardingRules = buildUnnamed2044();
o.warning = buildForwardingRulesScopedListWarning();
}
buildCounterForwardingRulesScopedList--;
@@ -2017,7 +2090,7 @@
checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) {
buildCounterForwardingRulesScopedList++;
if (buildCounterForwardingRulesScopedList < 3) {
- checkUnnamed1939(o.forwardingRules);
+ checkUnnamed2044(o.forwardingRules);
checkForwardingRulesScopedListWarning(o.warning);
}
buildCounterForwardingRulesScopedList--;
@@ -2143,14 +2216,14 @@
buildCounterHealthCheck--;
}
-buildUnnamed1941() {
+buildUnnamed2046() {
var o = new core.List<api.HealthCheck>();
o.add(buildHealthCheck());
o.add(buildHealthCheck());
return o;
}
-checkUnnamed1941(core.List<api.HealthCheck> o) {
+checkUnnamed2046(core.List<api.HealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheck(o[0]);
checkHealthCheck(o[1]);
@@ -2162,7 +2235,7 @@
buildCounterHealthCheckList++;
if (buildCounterHealthCheckList < 3) {
o.id = "foo";
- o.items = buildUnnamed1941();
+ o.items = buildUnnamed2046();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2175,7 +2248,7 @@
buildCounterHealthCheckList++;
if (buildCounterHealthCheckList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1941(o.items);
+ checkUnnamed2046(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2227,14 +2300,14 @@
buildCounterHealthStatus--;
}
-buildUnnamed1942() {
+buildUnnamed2047() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1942(core.List<core.String> o) {
+checkUnnamed2047(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2246,7 +2319,7 @@
buildCounterHostRule++;
if (buildCounterHostRule < 3) {
o.description = "foo";
- o.hosts = buildUnnamed1942();
+ o.hosts = buildUnnamed2047();
o.pathMatcher = "foo";
}
buildCounterHostRule--;
@@ -2257,7 +2330,7 @@
buildCounterHostRule++;
if (buildCounterHostRule < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1942(o.hosts);
+ checkUnnamed2047(o.hosts);
unittest.expect(o.pathMatcher, unittest.equals('foo'));
}
buildCounterHostRule--;
@@ -2306,14 +2379,14 @@
buildCounterHttpHealthCheck--;
}
-buildUnnamed1943() {
+buildUnnamed2048() {
var o = new core.List<api.HttpHealthCheck>();
o.add(buildHttpHealthCheck());
o.add(buildHttpHealthCheck());
return o;
}
-checkUnnamed1943(core.List<api.HttpHealthCheck> o) {
+checkUnnamed2048(core.List<api.HttpHealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpHealthCheck(o[0]);
checkHttpHealthCheck(o[1]);
@@ -2325,7 +2398,7 @@
buildCounterHttpHealthCheckList++;
if (buildCounterHttpHealthCheckList < 3) {
o.id = "foo";
- o.items = buildUnnamed1943();
+ o.items = buildUnnamed2048();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2338,7 +2411,7 @@
buildCounterHttpHealthCheckList++;
if (buildCounterHttpHealthCheckList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1943(o.items);
+ checkUnnamed2048(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2389,14 +2462,14 @@
buildCounterHttpsHealthCheck--;
}
-buildUnnamed1944() {
+buildUnnamed2049() {
var o = new core.List<api.HttpsHealthCheck>();
o.add(buildHttpsHealthCheck());
o.add(buildHttpsHealthCheck());
return o;
}
-checkUnnamed1944(core.List<api.HttpsHealthCheck> o) {
+checkUnnamed2049(core.List<api.HttpsHealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpsHealthCheck(o[0]);
checkHttpsHealthCheck(o[1]);
@@ -2408,7 +2481,7 @@
buildCounterHttpsHealthCheckList++;
if (buildCounterHttpsHealthCheckList < 3) {
o.id = "foo";
- o.items = buildUnnamed1944();
+ o.items = buildUnnamed2049();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2421,7 +2494,7 @@
buildCounterHttpsHealthCheckList++;
if (buildCounterHttpsHealthCheckList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1944(o.items);
+ checkUnnamed2049(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2429,27 +2502,27 @@
buildCounterHttpsHealthCheckList--;
}
-buildUnnamed1945() {
+buildUnnamed2050() {
var o = new core.List<api.GuestOsFeature>();
o.add(buildGuestOsFeature());
o.add(buildGuestOsFeature());
return o;
}
-checkUnnamed1945(core.List<api.GuestOsFeature> o) {
+checkUnnamed2050(core.List<api.GuestOsFeature> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuestOsFeature(o[0]);
checkGuestOsFeature(o[1]);
}
-buildUnnamed1946() {
+buildUnnamed2051() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1946(core.List<core.String> o) {
+checkUnnamed2051(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2489,11 +2562,11 @@
o.description = "foo";
o.diskSizeGb = "foo";
o.family = "foo";
- o.guestOsFeatures = buildUnnamed1945();
+ o.guestOsFeatures = buildUnnamed2050();
o.id = "foo";
o.imageEncryptionKey = buildCustomerEncryptionKey();
o.kind = "foo";
- o.licenses = buildUnnamed1946();
+ o.licenses = buildUnnamed2051();
o.name = "foo";
o.rawDisk = buildImageRawDisk();
o.selfLink = "foo";
@@ -2516,11 +2589,11 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.diskSizeGb, unittest.equals('foo'));
unittest.expect(o.family, unittest.equals('foo'));
- checkUnnamed1945(o.guestOsFeatures);
+ checkUnnamed2050(o.guestOsFeatures);
unittest.expect(o.id, unittest.equals('foo'));
checkCustomerEncryptionKey(o.imageEncryptionKey);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1946(o.licenses);
+ checkUnnamed2051(o.licenses);
unittest.expect(o.name, unittest.equals('foo'));
checkImageRawDisk(o.rawDisk);
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2533,14 +2606,14 @@
buildCounterImage--;
}
-buildUnnamed1947() {
+buildUnnamed2052() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed1947(core.List<api.Image> o) {
+checkUnnamed2052(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
@@ -2552,7 +2625,7 @@
buildCounterImageList++;
if (buildCounterImageList < 3) {
o.id = "foo";
- o.items = buildUnnamed1947();
+ o.items = buildUnnamed2052();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2565,7 +2638,7 @@
buildCounterImageList++;
if (buildCounterImageList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1947(o.items);
+ checkUnnamed2052(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2573,40 +2646,40 @@
buildCounterImageList--;
}
-buildUnnamed1948() {
+buildUnnamed2053() {
var o = new core.List<api.AttachedDisk>();
o.add(buildAttachedDisk());
o.add(buildAttachedDisk());
return o;
}
-checkUnnamed1948(core.List<api.AttachedDisk> o) {
+checkUnnamed2053(core.List<api.AttachedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachedDisk(o[0]);
checkAttachedDisk(o[1]);
}
-buildUnnamed1949() {
+buildUnnamed2054() {
var o = new core.List<api.NetworkInterface>();
o.add(buildNetworkInterface());
o.add(buildNetworkInterface());
return o;
}
-checkUnnamed1949(core.List<api.NetworkInterface> o) {
+checkUnnamed2054(core.List<api.NetworkInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkInterface(o[0]);
checkNetworkInterface(o[1]);
}
-buildUnnamed1950() {
+buildUnnamed2055() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed1950(core.List<api.ServiceAccount> o) {
+checkUnnamed2055(core.List<api.ServiceAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccount(o[0]);
checkServiceAccount(o[1]);
@@ -2621,16 +2694,16 @@
o.cpuPlatform = "foo";
o.creationTimestamp = "foo";
o.description = "foo";
- o.disks = buildUnnamed1948();
+ o.disks = buildUnnamed2053();
o.id = "foo";
o.kind = "foo";
o.machineType = "foo";
o.metadata = buildMetadata();
o.name = "foo";
- o.networkInterfaces = buildUnnamed1949();
+ o.networkInterfaces = buildUnnamed2054();
o.scheduling = buildScheduling();
o.selfLink = "foo";
- o.serviceAccounts = buildUnnamed1950();
+ o.serviceAccounts = buildUnnamed2055();
o.status = "foo";
o.statusMessage = "foo";
o.tags = buildTags();
@@ -2647,16 +2720,16 @@
unittest.expect(o.cpuPlatform, unittest.equals('foo'));
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1948(o.disks);
+ checkUnnamed2053(o.disks);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.machineType, unittest.equals('foo'));
checkMetadata(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1949(o.networkInterfaces);
+ checkUnnamed2054(o.networkInterfaces);
checkScheduling(o.scheduling);
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1950(o.serviceAccounts);
+ checkUnnamed2055(o.serviceAccounts);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.statusMessage, unittest.equals('foo'));
checkTags(o.tags);
@@ -2665,14 +2738,14 @@
buildCounterInstance--;
}
-buildUnnamed1951() {
+buildUnnamed2056() {
var o = new core.Map<core.String, api.InstancesScopedList>();
o["x"] = buildInstancesScopedList();
o["y"] = buildInstancesScopedList();
return o;
}
-checkUnnamed1951(core.Map<core.String, api.InstancesScopedList> o) {
+checkUnnamed2056(core.Map<core.String, api.InstancesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstancesScopedList(o["x"]);
checkInstancesScopedList(o["y"]);
@@ -2684,7 +2757,7 @@
buildCounterInstanceAggregatedList++;
if (buildCounterInstanceAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1951();
+ o.items = buildUnnamed2056();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2697,7 +2770,7 @@
buildCounterInstanceAggregatedList++;
if (buildCounterInstanceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1951(o.items);
+ checkUnnamed2056(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2705,14 +2778,14 @@
buildCounterInstanceAggregatedList--;
}
-buildUnnamed1952() {
+buildUnnamed2057() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed1952(core.List<api.NamedPort> o) {
+checkUnnamed2057(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -2729,7 +2802,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.namedPorts = buildUnnamed1952();
+ o.namedPorts = buildUnnamed2057();
o.network = "foo";
o.region = "foo";
o.selfLink = "foo";
@@ -2750,7 +2823,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1952(o.namedPorts);
+ checkUnnamed2057(o.namedPorts);
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2761,14 +2834,14 @@
buildCounterInstanceGroup--;
}
-buildUnnamed1953() {
+buildUnnamed2058() {
var o = new core.Map<core.String, api.InstanceGroupsScopedList>();
o["x"] = buildInstanceGroupsScopedList();
o["y"] = buildInstanceGroupsScopedList();
return o;
}
-checkUnnamed1953(core.Map<core.String, api.InstanceGroupsScopedList> o) {
+checkUnnamed2058(core.Map<core.String, api.InstanceGroupsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupsScopedList(o["x"]);
checkInstanceGroupsScopedList(o["y"]);
@@ -2780,7 +2853,7 @@
buildCounterInstanceGroupAggregatedList++;
if (buildCounterInstanceGroupAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1953();
+ o.items = buildUnnamed2058();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2793,7 +2866,7 @@
buildCounterInstanceGroupAggregatedList++;
if (buildCounterInstanceGroupAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1953(o.items);
+ checkUnnamed2058(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2801,14 +2874,14 @@
buildCounterInstanceGroupAggregatedList--;
}
-buildUnnamed1954() {
+buildUnnamed2059() {
var o = new core.List<api.InstanceGroup>();
o.add(buildInstanceGroup());
o.add(buildInstanceGroup());
return o;
}
-checkUnnamed1954(core.List<api.InstanceGroup> o) {
+checkUnnamed2059(core.List<api.InstanceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroup(o[0]);
checkInstanceGroup(o[1]);
@@ -2820,7 +2893,7 @@
buildCounterInstanceGroupList++;
if (buildCounterInstanceGroupList < 3) {
o.id = "foo";
- o.items = buildUnnamed1954();
+ o.items = buildUnnamed2059();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2833,7 +2906,7 @@
buildCounterInstanceGroupList++;
if (buildCounterInstanceGroupList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1954(o.items);
+ checkUnnamed2059(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2841,27 +2914,27 @@
buildCounterInstanceGroupList--;
}
-buildUnnamed1955() {
+buildUnnamed2060() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed1955(core.List<api.NamedPort> o) {
+checkUnnamed2060(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
}
-buildUnnamed1956() {
+buildUnnamed2061() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1956(core.List<core.String> o) {
+checkUnnamed2061(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2882,10 +2955,10 @@
o.instanceTemplate = "foo";
o.kind = "foo";
o.name = "foo";
- o.namedPorts = buildUnnamed1955();
+ o.namedPorts = buildUnnamed2060();
o.region = "foo";
o.selfLink = "foo";
- o.targetPools = buildUnnamed1956();
+ o.targetPools = buildUnnamed2061();
o.targetSize = 42;
o.zone = "foo";
}
@@ -2906,10 +2979,10 @@
unittest.expect(o.instanceTemplate, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1955(o.namedPorts);
+ checkUnnamed2060(o.namedPorts);
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1956(o.targetPools);
+ checkUnnamed2061(o.targetPools);
unittest.expect(o.targetSize, unittest.equals(42));
unittest.expect(o.zone, unittest.equals('foo'));
}
@@ -2949,14 +3022,14 @@
buildCounterInstanceGroupManagerActionsSummary--;
}
-buildUnnamed1957() {
+buildUnnamed2062() {
var o = new core.Map<core.String, api.InstanceGroupManagersScopedList>();
o["x"] = buildInstanceGroupManagersScopedList();
o["y"] = buildInstanceGroupManagersScopedList();
return o;
}
-checkUnnamed1957(core.Map<core.String, api.InstanceGroupManagersScopedList> o) {
+checkUnnamed2062(core.Map<core.String, api.InstanceGroupManagersScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagersScopedList(o["x"]);
checkInstanceGroupManagersScopedList(o["y"]);
@@ -2968,7 +3041,7 @@
buildCounterInstanceGroupManagerAggregatedList++;
if (buildCounterInstanceGroupManagerAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1957();
+ o.items = buildUnnamed2062();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2981,7 +3054,7 @@
buildCounterInstanceGroupManagerAggregatedList++;
if (buildCounterInstanceGroupManagerAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1957(o.items);
+ checkUnnamed2062(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2989,14 +3062,14 @@
buildCounterInstanceGroupManagerAggregatedList--;
}
-buildUnnamed1958() {
+buildUnnamed2063() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed1958(core.List<api.InstanceGroupManager> o) {
+checkUnnamed2063(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -3008,7 +3081,7 @@
buildCounterInstanceGroupManagerList++;
if (buildCounterInstanceGroupManagerList < 3) {
o.id = "foo";
- o.items = buildUnnamed1958();
+ o.items = buildUnnamed2063();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3021,7 +3094,7 @@
buildCounterInstanceGroupManagerList++;
if (buildCounterInstanceGroupManagerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1958(o.items);
+ checkUnnamed2063(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3029,14 +3102,14 @@
buildCounterInstanceGroupManagerList--;
}
-buildUnnamed1959() {
+buildUnnamed2064() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1959(core.List<core.String> o) {
+checkUnnamed2064(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3047,7 +3120,7 @@
var o = new api.InstanceGroupManagersAbandonInstancesRequest();
buildCounterInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) {
- o.instances = buildUnnamed1959();
+ o.instances = buildUnnamed2064();
}
buildCounterInstanceGroupManagersAbandonInstancesRequest--;
return o;
@@ -3056,19 +3129,19 @@
checkInstanceGroupManagersAbandonInstancesRequest(api.InstanceGroupManagersAbandonInstancesRequest o) {
buildCounterInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) {
- checkUnnamed1959(o.instances);
+ checkUnnamed2064(o.instances);
}
buildCounterInstanceGroupManagersAbandonInstancesRequest--;
}
-buildUnnamed1960() {
+buildUnnamed2065() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1960(core.List<core.String> o) {
+checkUnnamed2065(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3079,7 +3152,7 @@
var o = new api.InstanceGroupManagersDeleteInstancesRequest();
buildCounterInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) {
- o.instances = buildUnnamed1960();
+ o.instances = buildUnnamed2065();
}
buildCounterInstanceGroupManagersDeleteInstancesRequest--;
return o;
@@ -3088,19 +3161,19 @@
checkInstanceGroupManagersDeleteInstancesRequest(api.InstanceGroupManagersDeleteInstancesRequest o) {
buildCounterInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) {
- checkUnnamed1960(o.instances);
+ checkUnnamed2065(o.instances);
}
buildCounterInstanceGroupManagersDeleteInstancesRequest--;
}
-buildUnnamed1961() {
+buildUnnamed2066() {
var o = new core.List<api.ManagedInstance>();
o.add(buildManagedInstance());
o.add(buildManagedInstance());
return o;
}
-checkUnnamed1961(core.List<api.ManagedInstance> o) {
+checkUnnamed2066(core.List<api.ManagedInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedInstance(o[0]);
checkManagedInstance(o[1]);
@@ -3111,7 +3184,7 @@
var o = new api.InstanceGroupManagersListManagedInstancesResponse();
buildCounterInstanceGroupManagersListManagedInstancesResponse++;
if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) {
- o.managedInstances = buildUnnamed1961();
+ o.managedInstances = buildUnnamed2066();
}
buildCounterInstanceGroupManagersListManagedInstancesResponse--;
return o;
@@ -3120,19 +3193,19 @@
checkInstanceGroupManagersListManagedInstancesResponse(api.InstanceGroupManagersListManagedInstancesResponse o) {
buildCounterInstanceGroupManagersListManagedInstancesResponse++;
if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) {
- checkUnnamed1961(o.managedInstances);
+ checkUnnamed2066(o.managedInstances);
}
buildCounterInstanceGroupManagersListManagedInstancesResponse--;
}
-buildUnnamed1962() {
+buildUnnamed2067() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1962(core.List<core.String> o) {
+checkUnnamed2067(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3143,7 +3216,7 @@
var o = new api.InstanceGroupManagersRecreateInstancesRequest();
buildCounterInstanceGroupManagersRecreateInstancesRequest++;
if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) {
- o.instances = buildUnnamed1962();
+ o.instances = buildUnnamed2067();
}
buildCounterInstanceGroupManagersRecreateInstancesRequest--;
return o;
@@ -3152,19 +3225,19 @@
checkInstanceGroupManagersRecreateInstancesRequest(api.InstanceGroupManagersRecreateInstancesRequest o) {
buildCounterInstanceGroupManagersRecreateInstancesRequest++;
if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) {
- checkUnnamed1962(o.instances);
+ checkUnnamed2067(o.instances);
}
buildCounterInstanceGroupManagersRecreateInstancesRequest--;
}
-buildUnnamed1963() {
+buildUnnamed2068() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed1963(core.List<api.InstanceGroupManager> o) {
+checkUnnamed2068(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -3191,14 +3264,14 @@
buildCounterInstanceGroupManagersScopedListWarningData--;
}
-buildUnnamed1964() {
+buildUnnamed2069() {
var o = new core.List<api.InstanceGroupManagersScopedListWarningData>();
o.add(buildInstanceGroupManagersScopedListWarningData());
o.add(buildInstanceGroupManagersScopedListWarningData());
return o;
}
-checkUnnamed1964(core.List<api.InstanceGroupManagersScopedListWarningData> o) {
+checkUnnamed2069(core.List<api.InstanceGroupManagersScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagersScopedListWarningData(o[0]);
checkInstanceGroupManagersScopedListWarningData(o[1]);
@@ -3210,7 +3283,7 @@
buildCounterInstanceGroupManagersScopedListWarning++;
if (buildCounterInstanceGroupManagersScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1964();
+ o.data = buildUnnamed2069();
o.message = "foo";
}
buildCounterInstanceGroupManagersScopedListWarning--;
@@ -3221,7 +3294,7 @@
buildCounterInstanceGroupManagersScopedListWarning++;
if (buildCounterInstanceGroupManagersScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1964(o.data);
+ checkUnnamed2069(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupManagersScopedListWarning--;
@@ -3232,7 +3305,7 @@
var o = new api.InstanceGroupManagersScopedList();
buildCounterInstanceGroupManagersScopedList++;
if (buildCounterInstanceGroupManagersScopedList < 3) {
- o.instanceGroupManagers = buildUnnamed1963();
+ o.instanceGroupManagers = buildUnnamed2068();
o.warning = buildInstanceGroupManagersScopedListWarning();
}
buildCounterInstanceGroupManagersScopedList--;
@@ -3242,7 +3315,7 @@
checkInstanceGroupManagersScopedList(api.InstanceGroupManagersScopedList o) {
buildCounterInstanceGroupManagersScopedList++;
if (buildCounterInstanceGroupManagersScopedList < 3) {
- checkUnnamed1963(o.instanceGroupManagers);
+ checkUnnamed2068(o.instanceGroupManagers);
checkInstanceGroupManagersScopedListWarning(o.warning);
}
buildCounterInstanceGroupManagersScopedList--;
@@ -3267,14 +3340,14 @@
buildCounterInstanceGroupManagersSetInstanceTemplateRequest--;
}
-buildUnnamed1965() {
+buildUnnamed2070() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1965(core.List<core.String> o) {
+checkUnnamed2070(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3286,7 +3359,7 @@
buildCounterInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) {
o.fingerprint = "foo";
- o.targetPools = buildUnnamed1965();
+ o.targetPools = buildUnnamed2070();
}
buildCounterInstanceGroupManagersSetTargetPoolsRequest--;
return o;
@@ -3296,19 +3369,19 @@
buildCounterInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1965(o.targetPools);
+ checkUnnamed2070(o.targetPools);
}
buildCounterInstanceGroupManagersSetTargetPoolsRequest--;
}
-buildUnnamed1966() {
+buildUnnamed2071() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed1966(core.List<api.InstanceReference> o) {
+checkUnnamed2071(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -3319,7 +3392,7 @@
var o = new api.InstanceGroupsAddInstancesRequest();
buildCounterInstanceGroupsAddInstancesRequest++;
if (buildCounterInstanceGroupsAddInstancesRequest < 3) {
- o.instances = buildUnnamed1966();
+ o.instances = buildUnnamed2071();
}
buildCounterInstanceGroupsAddInstancesRequest--;
return o;
@@ -3328,19 +3401,19 @@
checkInstanceGroupsAddInstancesRequest(api.InstanceGroupsAddInstancesRequest o) {
buildCounterInstanceGroupsAddInstancesRequest++;
if (buildCounterInstanceGroupsAddInstancesRequest < 3) {
- checkUnnamed1966(o.instances);
+ checkUnnamed2071(o.instances);
}
buildCounterInstanceGroupsAddInstancesRequest--;
}
-buildUnnamed1967() {
+buildUnnamed2072() {
var o = new core.List<api.InstanceWithNamedPorts>();
o.add(buildInstanceWithNamedPorts());
o.add(buildInstanceWithNamedPorts());
return o;
}
-checkUnnamed1967(core.List<api.InstanceWithNamedPorts> o) {
+checkUnnamed2072(core.List<api.InstanceWithNamedPorts> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceWithNamedPorts(o[0]);
checkInstanceWithNamedPorts(o[1]);
@@ -3352,7 +3425,7 @@
buildCounterInstanceGroupsListInstances++;
if (buildCounterInstanceGroupsListInstances < 3) {
o.id = "foo";
- o.items = buildUnnamed1967();
+ o.items = buildUnnamed2072();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3365,7 +3438,7 @@
buildCounterInstanceGroupsListInstances++;
if (buildCounterInstanceGroupsListInstances < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1967(o.items);
+ checkUnnamed2072(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3392,14 +3465,14 @@
buildCounterInstanceGroupsListInstancesRequest--;
}
-buildUnnamed1968() {
+buildUnnamed2073() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed1968(core.List<api.InstanceReference> o) {
+checkUnnamed2073(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -3410,7 +3483,7 @@
var o = new api.InstanceGroupsRemoveInstancesRequest();
buildCounterInstanceGroupsRemoveInstancesRequest++;
if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) {
- o.instances = buildUnnamed1968();
+ o.instances = buildUnnamed2073();
}
buildCounterInstanceGroupsRemoveInstancesRequest--;
return o;
@@ -3419,19 +3492,19 @@
checkInstanceGroupsRemoveInstancesRequest(api.InstanceGroupsRemoveInstancesRequest o) {
buildCounterInstanceGroupsRemoveInstancesRequest++;
if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) {
- checkUnnamed1968(o.instances);
+ checkUnnamed2073(o.instances);
}
buildCounterInstanceGroupsRemoveInstancesRequest--;
}
-buildUnnamed1969() {
+buildUnnamed2074() {
var o = new core.List<api.InstanceGroup>();
o.add(buildInstanceGroup());
o.add(buildInstanceGroup());
return o;
}
-checkUnnamed1969(core.List<api.InstanceGroup> o) {
+checkUnnamed2074(core.List<api.InstanceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroup(o[0]);
checkInstanceGroup(o[1]);
@@ -3458,14 +3531,14 @@
buildCounterInstanceGroupsScopedListWarningData--;
}
-buildUnnamed1970() {
+buildUnnamed2075() {
var o = new core.List<api.InstanceGroupsScopedListWarningData>();
o.add(buildInstanceGroupsScopedListWarningData());
o.add(buildInstanceGroupsScopedListWarningData());
return o;
}
-checkUnnamed1970(core.List<api.InstanceGroupsScopedListWarningData> o) {
+checkUnnamed2075(core.List<api.InstanceGroupsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupsScopedListWarningData(o[0]);
checkInstanceGroupsScopedListWarningData(o[1]);
@@ -3477,7 +3550,7 @@
buildCounterInstanceGroupsScopedListWarning++;
if (buildCounterInstanceGroupsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1970();
+ o.data = buildUnnamed2075();
o.message = "foo";
}
buildCounterInstanceGroupsScopedListWarning--;
@@ -3488,7 +3561,7 @@
buildCounterInstanceGroupsScopedListWarning++;
if (buildCounterInstanceGroupsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1970(o.data);
+ checkUnnamed2075(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupsScopedListWarning--;
@@ -3499,7 +3572,7 @@
var o = new api.InstanceGroupsScopedList();
buildCounterInstanceGroupsScopedList++;
if (buildCounterInstanceGroupsScopedList < 3) {
- o.instanceGroups = buildUnnamed1969();
+ o.instanceGroups = buildUnnamed2074();
o.warning = buildInstanceGroupsScopedListWarning();
}
buildCounterInstanceGroupsScopedList--;
@@ -3509,20 +3582,20 @@
checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) {
buildCounterInstanceGroupsScopedList++;
if (buildCounterInstanceGroupsScopedList < 3) {
- checkUnnamed1969(o.instanceGroups);
+ checkUnnamed2074(o.instanceGroups);
checkInstanceGroupsScopedListWarning(o.warning);
}
buildCounterInstanceGroupsScopedList--;
}
-buildUnnamed1971() {
+buildUnnamed2076() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed1971(core.List<api.NamedPort> o) {
+checkUnnamed2076(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -3534,7 +3607,7 @@
buildCounterInstanceGroupsSetNamedPortsRequest++;
if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) {
o.fingerprint = "foo";
- o.namedPorts = buildUnnamed1971();
+ o.namedPorts = buildUnnamed2076();
}
buildCounterInstanceGroupsSetNamedPortsRequest--;
return o;
@@ -3544,19 +3617,19 @@
buildCounterInstanceGroupsSetNamedPortsRequest++;
if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1971(o.namedPorts);
+ checkUnnamed2076(o.namedPorts);
}
buildCounterInstanceGroupsSetNamedPortsRequest--;
}
-buildUnnamed1972() {
+buildUnnamed2077() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed1972(core.List<api.Instance> o) {
+checkUnnamed2077(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -3568,7 +3641,7 @@
buildCounterInstanceList++;
if (buildCounterInstanceList < 3) {
o.id = "foo";
- o.items = buildUnnamed1972();
+ o.items = buildUnnamed2077();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3581,7 +3654,7 @@
buildCounterInstanceList++;
if (buildCounterInstanceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1972(o.items);
+ checkUnnamed2077(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3610,40 +3683,40 @@
buildCounterInstanceMoveRequest--;
}
-buildUnnamed1973() {
+buildUnnamed2078() {
var o = new core.List<api.AttachedDisk>();
o.add(buildAttachedDisk());
o.add(buildAttachedDisk());
return o;
}
-checkUnnamed1973(core.List<api.AttachedDisk> o) {
+checkUnnamed2078(core.List<api.AttachedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachedDisk(o[0]);
checkAttachedDisk(o[1]);
}
-buildUnnamed1974() {
+buildUnnamed2079() {
var o = new core.List<api.NetworkInterface>();
o.add(buildNetworkInterface());
o.add(buildNetworkInterface());
return o;
}
-checkUnnamed1974(core.List<api.NetworkInterface> o) {
+checkUnnamed2079(core.List<api.NetworkInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkInterface(o[0]);
checkNetworkInterface(o[1]);
}
-buildUnnamed1975() {
+buildUnnamed2080() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed1975(core.List<api.ServiceAccount> o) {
+checkUnnamed2080(core.List<api.ServiceAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccount(o[0]);
checkServiceAccount(o[1]);
@@ -3656,12 +3729,12 @@
if (buildCounterInstanceProperties < 3) {
o.canIpForward = true;
o.description = "foo";
- o.disks = buildUnnamed1973();
+ o.disks = buildUnnamed2078();
o.machineType = "foo";
o.metadata = buildMetadata();
- o.networkInterfaces = buildUnnamed1974();
+ o.networkInterfaces = buildUnnamed2079();
o.scheduling = buildScheduling();
- o.serviceAccounts = buildUnnamed1975();
+ o.serviceAccounts = buildUnnamed2080();
o.tags = buildTags();
}
buildCounterInstanceProperties--;
@@ -3673,12 +3746,12 @@
if (buildCounterInstanceProperties < 3) {
unittest.expect(o.canIpForward, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1973(o.disks);
+ checkUnnamed2078(o.disks);
unittest.expect(o.machineType, unittest.equals('foo'));
checkMetadata(o.metadata);
- checkUnnamed1974(o.networkInterfaces);
+ checkUnnamed2079(o.networkInterfaces);
checkScheduling(o.scheduling);
- checkUnnamed1975(o.serviceAccounts);
+ checkUnnamed2080(o.serviceAccounts);
checkTags(o.tags);
}
buildCounterInstanceProperties--;
@@ -3734,14 +3807,14 @@
buildCounterInstanceTemplate--;
}
-buildUnnamed1976() {
+buildUnnamed2081() {
var o = new core.List<api.InstanceTemplate>();
o.add(buildInstanceTemplate());
o.add(buildInstanceTemplate());
return o;
}
-checkUnnamed1976(core.List<api.InstanceTemplate> o) {
+checkUnnamed2081(core.List<api.InstanceTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceTemplate(o[0]);
checkInstanceTemplate(o[1]);
@@ -3753,7 +3826,7 @@
buildCounterInstanceTemplateList++;
if (buildCounterInstanceTemplateList < 3) {
o.id = "foo";
- o.items = buildUnnamed1976();
+ o.items = buildUnnamed2081();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3766,7 +3839,7 @@
buildCounterInstanceTemplateList++;
if (buildCounterInstanceTemplateList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1976(o.items);
+ checkUnnamed2081(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3774,14 +3847,14 @@
buildCounterInstanceTemplateList--;
}
-buildUnnamed1977() {
+buildUnnamed2082() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed1977(core.List<api.NamedPort> o) {
+checkUnnamed2082(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -3793,7 +3866,7 @@
buildCounterInstanceWithNamedPorts++;
if (buildCounterInstanceWithNamedPorts < 3) {
o.instance = "foo";
- o.namedPorts = buildUnnamed1977();
+ o.namedPorts = buildUnnamed2082();
o.status = "foo";
}
buildCounterInstanceWithNamedPorts--;
@@ -3804,20 +3877,20 @@
buildCounterInstanceWithNamedPorts++;
if (buildCounterInstanceWithNamedPorts < 3) {
unittest.expect(o.instance, unittest.equals('foo'));
- checkUnnamed1977(o.namedPorts);
+ checkUnnamed2082(o.namedPorts);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterInstanceWithNamedPorts--;
}
-buildUnnamed1978() {
+buildUnnamed2083() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed1978(core.List<api.Instance> o) {
+checkUnnamed2083(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -3844,14 +3917,14 @@
buildCounterInstancesScopedListWarningData--;
}
-buildUnnamed1979() {
+buildUnnamed2084() {
var o = new core.List<api.InstancesScopedListWarningData>();
o.add(buildInstancesScopedListWarningData());
o.add(buildInstancesScopedListWarningData());
return o;
}
-checkUnnamed1979(core.List<api.InstancesScopedListWarningData> o) {
+checkUnnamed2084(core.List<api.InstancesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstancesScopedListWarningData(o[0]);
checkInstancesScopedListWarningData(o[1]);
@@ -3863,7 +3936,7 @@
buildCounterInstancesScopedListWarning++;
if (buildCounterInstancesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1979();
+ o.data = buildUnnamed2084();
o.message = "foo";
}
buildCounterInstancesScopedListWarning--;
@@ -3874,7 +3947,7 @@
buildCounterInstancesScopedListWarning++;
if (buildCounterInstancesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1979(o.data);
+ checkUnnamed2084(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstancesScopedListWarning--;
@@ -3885,7 +3958,7 @@
var o = new api.InstancesScopedList();
buildCounterInstancesScopedList++;
if (buildCounterInstancesScopedList < 3) {
- o.instances = buildUnnamed1978();
+ o.instances = buildUnnamed2083();
o.warning = buildInstancesScopedListWarning();
}
buildCounterInstancesScopedList--;
@@ -3895,7 +3968,7 @@
checkInstancesScopedList(api.InstancesScopedList o) {
buildCounterInstancesScopedList++;
if (buildCounterInstancesScopedList < 3) {
- checkUnnamed1978(o.instances);
+ checkUnnamed2083(o.instances);
checkInstancesScopedListWarning(o.warning);
}
buildCounterInstancesScopedList--;
@@ -3920,14 +3993,14 @@
buildCounterInstancesSetMachineTypeRequest--;
}
-buildUnnamed1980() {
+buildUnnamed2085() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1980(core.List<core.String> o) {
+checkUnnamed2085(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3939,7 +4012,7 @@
buildCounterInstancesSetServiceAccountRequest++;
if (buildCounterInstancesSetServiceAccountRequest < 3) {
o.email = "foo";
- o.scopes = buildUnnamed1980();
+ o.scopes = buildUnnamed2085();
}
buildCounterInstancesSetServiceAccountRequest--;
return o;
@@ -3949,19 +4022,19 @@
buildCounterInstancesSetServiceAccountRequest++;
if (buildCounterInstancesSetServiceAccountRequest < 3) {
unittest.expect(o.email, unittest.equals('foo'));
- checkUnnamed1980(o.scopes);
+ checkUnnamed2085(o.scopes);
}
buildCounterInstancesSetServiceAccountRequest--;
}
-buildUnnamed1981() {
+buildUnnamed2086() {
var o = new core.List<api.CustomerEncryptionKeyProtectedDisk>();
o.add(buildCustomerEncryptionKeyProtectedDisk());
o.add(buildCustomerEncryptionKeyProtectedDisk());
return o;
}
-checkUnnamed1981(core.List<api.CustomerEncryptionKeyProtectedDisk> o) {
+checkUnnamed2086(core.List<api.CustomerEncryptionKeyProtectedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomerEncryptionKeyProtectedDisk(o[0]);
checkCustomerEncryptionKeyProtectedDisk(o[1]);
@@ -3972,7 +4045,7 @@
var o = new api.InstancesStartWithEncryptionKeyRequest();
buildCounterInstancesStartWithEncryptionKeyRequest++;
if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) {
- o.disks = buildUnnamed1981();
+ o.disks = buildUnnamed2086();
}
buildCounterInstancesStartWithEncryptionKeyRequest--;
return o;
@@ -3981,7 +4054,7 @@
checkInstancesStartWithEncryptionKeyRequest(api.InstancesStartWithEncryptionKeyRequest o) {
buildCounterInstancesStartWithEncryptionKeyRequest++;
if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) {
- checkUnnamed1981(o.disks);
+ checkUnnamed2086(o.disks);
}
buildCounterInstancesStartWithEncryptionKeyRequest--;
}
@@ -4030,14 +4103,14 @@
buildCounterMachineTypeScratchDisks--;
}
-buildUnnamed1982() {
+buildUnnamed2087() {
var o = new core.List<api.MachineTypeScratchDisks>();
o.add(buildMachineTypeScratchDisks());
o.add(buildMachineTypeScratchDisks());
return o;
}
-checkUnnamed1982(core.List<api.MachineTypeScratchDisks> o) {
+checkUnnamed2087(core.List<api.MachineTypeScratchDisks> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypeScratchDisks(o[0]);
checkMachineTypeScratchDisks(o[1]);
@@ -4060,7 +4133,7 @@
o.maximumPersistentDisksSizeGb = "foo";
o.memoryMb = 42;
o.name = "foo";
- o.scratchDisks = buildUnnamed1982();
+ o.scratchDisks = buildUnnamed2087();
o.selfLink = "foo";
o.zone = "foo";
}
@@ -4083,21 +4156,21 @@
unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo'));
unittest.expect(o.memoryMb, unittest.equals(42));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1982(o.scratchDisks);
+ checkUnnamed2087(o.scratchDisks);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterMachineType--;
}
-buildUnnamed1983() {
+buildUnnamed2088() {
var o = new core.Map<core.String, api.MachineTypesScopedList>();
o["x"] = buildMachineTypesScopedList();
o["y"] = buildMachineTypesScopedList();
return o;
}
-checkUnnamed1983(core.Map<core.String, api.MachineTypesScopedList> o) {
+checkUnnamed2088(core.Map<core.String, api.MachineTypesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypesScopedList(o["x"]);
checkMachineTypesScopedList(o["y"]);
@@ -4109,7 +4182,7 @@
buildCounterMachineTypeAggregatedList++;
if (buildCounterMachineTypeAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1983();
+ o.items = buildUnnamed2088();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4122,7 +4195,7 @@
buildCounterMachineTypeAggregatedList++;
if (buildCounterMachineTypeAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1983(o.items);
+ checkUnnamed2088(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4130,14 +4203,14 @@
buildCounterMachineTypeAggregatedList--;
}
-buildUnnamed1984() {
+buildUnnamed2089() {
var o = new core.List<api.MachineType>();
o.add(buildMachineType());
o.add(buildMachineType());
return o;
}
-checkUnnamed1984(core.List<api.MachineType> o) {
+checkUnnamed2089(core.List<api.MachineType> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineType(o[0]);
checkMachineType(o[1]);
@@ -4149,7 +4222,7 @@
buildCounterMachineTypeList++;
if (buildCounterMachineTypeList < 3) {
o.id = "foo";
- o.items = buildUnnamed1984();
+ o.items = buildUnnamed2089();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4162,7 +4235,7 @@
buildCounterMachineTypeList++;
if (buildCounterMachineTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1984(o.items);
+ checkUnnamed2089(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4170,14 +4243,14 @@
buildCounterMachineTypeList--;
}
-buildUnnamed1985() {
+buildUnnamed2090() {
var o = new core.List<api.MachineType>();
o.add(buildMachineType());
o.add(buildMachineType());
return o;
}
-checkUnnamed1985(core.List<api.MachineType> o) {
+checkUnnamed2090(core.List<api.MachineType> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineType(o[0]);
checkMachineType(o[1]);
@@ -4204,14 +4277,14 @@
buildCounterMachineTypesScopedListWarningData--;
}
-buildUnnamed1986() {
+buildUnnamed2091() {
var o = new core.List<api.MachineTypesScopedListWarningData>();
o.add(buildMachineTypesScopedListWarningData());
o.add(buildMachineTypesScopedListWarningData());
return o;
}
-checkUnnamed1986(core.List<api.MachineTypesScopedListWarningData> o) {
+checkUnnamed2091(core.List<api.MachineTypesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypesScopedListWarningData(o[0]);
checkMachineTypesScopedListWarningData(o[1]);
@@ -4223,7 +4296,7 @@
buildCounterMachineTypesScopedListWarning++;
if (buildCounterMachineTypesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1986();
+ o.data = buildUnnamed2091();
o.message = "foo";
}
buildCounterMachineTypesScopedListWarning--;
@@ -4234,7 +4307,7 @@
buildCounterMachineTypesScopedListWarning++;
if (buildCounterMachineTypesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1986(o.data);
+ checkUnnamed2091(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterMachineTypesScopedListWarning--;
@@ -4245,7 +4318,7 @@
var o = new api.MachineTypesScopedList();
buildCounterMachineTypesScopedList++;
if (buildCounterMachineTypesScopedList < 3) {
- o.machineTypes = buildUnnamed1985();
+ o.machineTypes = buildUnnamed2090();
o.warning = buildMachineTypesScopedListWarning();
}
buildCounterMachineTypesScopedList--;
@@ -4255,7 +4328,7 @@
checkMachineTypesScopedList(api.MachineTypesScopedList o) {
buildCounterMachineTypesScopedList++;
if (buildCounterMachineTypesScopedList < 3) {
- checkUnnamed1985(o.machineTypes);
+ checkUnnamed2090(o.machineTypes);
checkMachineTypesScopedListWarning(o.warning);
}
buildCounterMachineTypesScopedList--;
@@ -4311,14 +4384,14 @@
buildCounterManagedInstanceLastAttemptErrorsErrors--;
}
-buildUnnamed1987() {
+buildUnnamed2092() {
var o = new core.List<api.ManagedInstanceLastAttemptErrorsErrors>();
o.add(buildManagedInstanceLastAttemptErrorsErrors());
o.add(buildManagedInstanceLastAttemptErrorsErrors());
return o;
}
-checkUnnamed1987(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) {
+checkUnnamed2092(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedInstanceLastAttemptErrorsErrors(o[0]);
checkManagedInstanceLastAttemptErrorsErrors(o[1]);
@@ -4329,7 +4402,7 @@
var o = new api.ManagedInstanceLastAttemptErrors();
buildCounterManagedInstanceLastAttemptErrors++;
if (buildCounterManagedInstanceLastAttemptErrors < 3) {
- o.errors = buildUnnamed1987();
+ o.errors = buildUnnamed2092();
}
buildCounterManagedInstanceLastAttemptErrors--;
return o;
@@ -4338,7 +4411,7 @@
checkManagedInstanceLastAttemptErrors(api.ManagedInstanceLastAttemptErrors o) {
buildCounterManagedInstanceLastAttemptErrors++;
if (buildCounterManagedInstanceLastAttemptErrors < 3) {
- checkUnnamed1987(o.errors);
+ checkUnnamed2092(o.errors);
}
buildCounterManagedInstanceLastAttemptErrors--;
}
@@ -4383,14 +4456,14 @@
buildCounterMetadataItems--;
}
-buildUnnamed1988() {
+buildUnnamed2093() {
var o = new core.List<api.MetadataItems>();
o.add(buildMetadataItems());
o.add(buildMetadataItems());
return o;
}
-checkUnnamed1988(core.List<api.MetadataItems> o) {
+checkUnnamed2093(core.List<api.MetadataItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataItems(o[0]);
checkMetadataItems(o[1]);
@@ -4402,7 +4475,7 @@
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
o.fingerprint = "foo";
- o.items = buildUnnamed1988();
+ o.items = buildUnnamed2093();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -4413,7 +4486,7 @@
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1988(o.items);
+ checkUnnamed2093(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -4440,14 +4513,14 @@
buildCounterNamedPort--;
}
-buildUnnamed1989() {
+buildUnnamed2094() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1989(core.List<core.String> o) {
+checkUnnamed2094(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4467,7 +4540,7 @@
o.kind = "foo";
o.name = "foo";
o.selfLink = "foo";
- o.subnetworks = buildUnnamed1989();
+ o.subnetworks = buildUnnamed2094();
}
buildCounterNetwork--;
return o;
@@ -4485,19 +4558,19 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1989(o.subnetworks);
+ checkUnnamed2094(o.subnetworks);
}
buildCounterNetwork--;
}
-buildUnnamed1990() {
+buildUnnamed2095() {
var o = new core.List<api.AccessConfig>();
o.add(buildAccessConfig());
o.add(buildAccessConfig());
return o;
}
-checkUnnamed1990(core.List<api.AccessConfig> o) {
+checkUnnamed2095(core.List<api.AccessConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccessConfig(o[0]);
checkAccessConfig(o[1]);
@@ -4508,7 +4581,7 @@
var o = new api.NetworkInterface();
buildCounterNetworkInterface++;
if (buildCounterNetworkInterface < 3) {
- o.accessConfigs = buildUnnamed1990();
+ o.accessConfigs = buildUnnamed2095();
o.kind = "foo";
o.name = "foo";
o.network = "foo";
@@ -4522,7 +4595,7 @@
checkNetworkInterface(api.NetworkInterface o) {
buildCounterNetworkInterface++;
if (buildCounterNetworkInterface < 3) {
- checkUnnamed1990(o.accessConfigs);
+ checkUnnamed2095(o.accessConfigs);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
@@ -4532,14 +4605,14 @@
buildCounterNetworkInterface--;
}
-buildUnnamed1991() {
+buildUnnamed2096() {
var o = new core.List<api.Network>();
o.add(buildNetwork());
o.add(buildNetwork());
return o;
}
-checkUnnamed1991(core.List<api.Network> o) {
+checkUnnamed2096(core.List<api.Network> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetwork(o[0]);
checkNetwork(o[1]);
@@ -4551,7 +4624,7 @@
buildCounterNetworkList++;
if (buildCounterNetworkList < 3) {
o.id = "foo";
- o.items = buildUnnamed1991();
+ o.items = buildUnnamed2096();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4564,7 +4637,7 @@
buildCounterNetworkList++;
if (buildCounterNetworkList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1991(o.items);
+ checkUnnamed2096(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4595,14 +4668,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed1992() {
+buildUnnamed2097() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed1992(core.List<api.OperationErrorErrors> o) {
+checkUnnamed2097(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -4613,7 +4686,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed1992();
+ o.errors = buildUnnamed2097();
}
buildCounterOperationError--;
return o;
@@ -4622,7 +4695,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed1992(o.errors);
+ checkUnnamed2097(o.errors);
}
buildCounterOperationError--;
}
@@ -4648,14 +4721,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed1993() {
+buildUnnamed2098() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed1993(core.List<api.OperationWarningsData> o) {
+checkUnnamed2098(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -4667,7 +4740,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed1993();
+ o.data = buildUnnamed2098();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -4678,20 +4751,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1993(o.data);
+ checkUnnamed2098(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed1994() {
+buildUnnamed2099() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed1994(core.List<api.OperationWarnings> o) {
+checkUnnamed2099(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -4723,7 +4796,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed1994();
+ o.warnings = buildUnnamed2099();
o.zone = "foo";
}
buildCounterOperation--;
@@ -4754,20 +4827,20 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed1994(o.warnings);
+ checkUnnamed2099(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed1995() {
+buildUnnamed2100() {
var o = new core.Map<core.String, api.OperationsScopedList>();
o["x"] = buildOperationsScopedList();
o["y"] = buildOperationsScopedList();
return o;
}
-checkUnnamed1995(core.Map<core.String, api.OperationsScopedList> o) {
+checkUnnamed2100(core.Map<core.String, api.OperationsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationsScopedList(o["x"]);
checkOperationsScopedList(o["y"]);
@@ -4779,7 +4852,7 @@
buildCounterOperationAggregatedList++;
if (buildCounterOperationAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1995();
+ o.items = buildUnnamed2100();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4792,7 +4865,7 @@
buildCounterOperationAggregatedList++;
if (buildCounterOperationAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1995(o.items);
+ checkUnnamed2100(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4800,14 +4873,14 @@
buildCounterOperationAggregatedList--;
}
-buildUnnamed1996() {
+buildUnnamed2101() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1996(core.List<api.Operation> o) {
+checkUnnamed2101(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -4819,7 +4892,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
o.id = "foo";
- o.items = buildUnnamed1996();
+ o.items = buildUnnamed2101();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4832,7 +4905,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1996(o.items);
+ checkUnnamed2101(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4840,14 +4913,14 @@
buildCounterOperationList--;
}
-buildUnnamed1997() {
+buildUnnamed2102() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1997(core.List<api.Operation> o) {
+checkUnnamed2102(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -4874,14 +4947,14 @@
buildCounterOperationsScopedListWarningData--;
}
-buildUnnamed1998() {
+buildUnnamed2103() {
var o = new core.List<api.OperationsScopedListWarningData>();
o.add(buildOperationsScopedListWarningData());
o.add(buildOperationsScopedListWarningData());
return o;
}
-checkUnnamed1998(core.List<api.OperationsScopedListWarningData> o) {
+checkUnnamed2103(core.List<api.OperationsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationsScopedListWarningData(o[0]);
checkOperationsScopedListWarningData(o[1]);
@@ -4893,7 +4966,7 @@
buildCounterOperationsScopedListWarning++;
if (buildCounterOperationsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1998();
+ o.data = buildUnnamed2103();
o.message = "foo";
}
buildCounterOperationsScopedListWarning--;
@@ -4904,7 +4977,7 @@
buildCounterOperationsScopedListWarning++;
if (buildCounterOperationsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1998(o.data);
+ checkUnnamed2103(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationsScopedListWarning--;
@@ -4915,7 +4988,7 @@
var o = new api.OperationsScopedList();
buildCounterOperationsScopedList++;
if (buildCounterOperationsScopedList < 3) {
- o.operations = buildUnnamed1997();
+ o.operations = buildUnnamed2102();
o.warning = buildOperationsScopedListWarning();
}
buildCounterOperationsScopedList--;
@@ -4925,20 +4998,20 @@
checkOperationsScopedList(api.OperationsScopedList o) {
buildCounterOperationsScopedList++;
if (buildCounterOperationsScopedList < 3) {
- checkUnnamed1997(o.operations);
+ checkUnnamed2102(o.operations);
checkOperationsScopedListWarning(o.warning);
}
buildCounterOperationsScopedList--;
}
-buildUnnamed1999() {
+buildUnnamed2104() {
var o = new core.List<api.PathRule>();
o.add(buildPathRule());
o.add(buildPathRule());
return o;
}
-checkUnnamed1999(core.List<api.PathRule> o) {
+checkUnnamed2104(core.List<api.PathRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathRule(o[0]);
checkPathRule(o[1]);
@@ -4952,7 +5025,7 @@
o.defaultService = "foo";
o.description = "foo";
o.name = "foo";
- o.pathRules = buildUnnamed1999();
+ o.pathRules = buildUnnamed2104();
}
buildCounterPathMatcher--;
return o;
@@ -4964,19 +5037,19 @@
unittest.expect(o.defaultService, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1999(o.pathRules);
+ checkUnnamed2104(o.pathRules);
}
buildCounterPathMatcher--;
}
-buildUnnamed2000() {
+buildUnnamed2105() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2000(core.List<core.String> o) {
+checkUnnamed2105(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4987,7 +5060,7 @@
var o = new api.PathRule();
buildCounterPathRule++;
if (buildCounterPathRule < 3) {
- o.paths = buildUnnamed2000();
+ o.paths = buildUnnamed2105();
o.service = "foo";
}
buildCounterPathRule--;
@@ -4997,33 +5070,33 @@
checkPathRule(api.PathRule o) {
buildCounterPathRule++;
if (buildCounterPathRule < 3) {
- checkUnnamed2000(o.paths);
+ checkUnnamed2105(o.paths);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterPathRule--;
}
-buildUnnamed2001() {
+buildUnnamed2106() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2001(core.List<core.String> o) {
+checkUnnamed2106(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2002() {
+buildUnnamed2107() {
var o = new core.List<api.Quota>();
o.add(buildQuota());
o.add(buildQuota());
return o;
}
-checkUnnamed2002(core.List<api.Quota> o) {
+checkUnnamed2107(core.List<api.Quota> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuota(o[0]);
checkQuota(o[1]);
@@ -5038,11 +5111,11 @@
o.creationTimestamp = "foo";
o.defaultServiceAccount = "foo";
o.description = "foo";
- o.enabledFeatures = buildUnnamed2001();
+ o.enabledFeatures = buildUnnamed2106();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.quotas = buildUnnamed2002();
+ o.quotas = buildUnnamed2107();
o.selfLink = "foo";
o.usageExportLocation = buildUsageExportLocation();
}
@@ -5057,11 +5130,11 @@
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.defaultServiceAccount, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2001(o.enabledFeatures);
+ checkUnnamed2106(o.enabledFeatures);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2002(o.quotas);
+ checkUnnamed2107(o.quotas);
unittest.expect(o.selfLink, unittest.equals('foo'));
checkUsageExportLocation(o.usageExportLocation);
}
@@ -5091,27 +5164,27 @@
buildCounterQuota--;
}
-buildUnnamed2003() {
+buildUnnamed2108() {
var o = new core.List<api.Quota>();
o.add(buildQuota());
o.add(buildQuota());
return o;
}
-checkUnnamed2003(core.List<api.Quota> o) {
+checkUnnamed2108(core.List<api.Quota> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuota(o[0]);
checkQuota(o[1]);
}
-buildUnnamed2004() {
+buildUnnamed2109() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2004(core.List<core.String> o) {
+checkUnnamed2109(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5128,10 +5201,10 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.quotas = buildUnnamed2003();
+ o.quotas = buildUnnamed2108();
o.selfLink = "foo";
o.status = "foo";
- o.zones = buildUnnamed2004();
+ o.zones = buildUnnamed2109();
}
buildCounterRegion--;
return o;
@@ -5146,22 +5219,22 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2003(o.quotas);
+ checkUnnamed2108(o.quotas);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed2004(o.zones);
+ checkUnnamed2109(o.zones);
}
buildCounterRegion--;
}
-buildUnnamed2005() {
+buildUnnamed2110() {
var o = new core.List<api.Autoscaler>();
o.add(buildAutoscaler());
o.add(buildAutoscaler());
return o;
}
-checkUnnamed2005(core.List<api.Autoscaler> o) {
+checkUnnamed2110(core.List<api.Autoscaler> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscaler(o[0]);
checkAutoscaler(o[1]);
@@ -5173,7 +5246,7 @@
buildCounterRegionAutoscalerList++;
if (buildCounterRegionAutoscalerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2005();
+ o.items = buildUnnamed2110();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5186,7 +5259,7 @@
buildCounterRegionAutoscalerList++;
if (buildCounterRegionAutoscalerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2005(o.items);
+ checkUnnamed2110(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5194,14 +5267,14 @@
buildCounterRegionAutoscalerList--;
}
-buildUnnamed2006() {
+buildUnnamed2111() {
var o = new core.List<api.InstanceGroup>();
o.add(buildInstanceGroup());
o.add(buildInstanceGroup());
return o;
}
-checkUnnamed2006(core.List<api.InstanceGroup> o) {
+checkUnnamed2111(core.List<api.InstanceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroup(o[0]);
checkInstanceGroup(o[1]);
@@ -5213,7 +5286,7 @@
buildCounterRegionInstanceGroupList++;
if (buildCounterRegionInstanceGroupList < 3) {
o.id = "foo";
- o.items = buildUnnamed2006();
+ o.items = buildUnnamed2111();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5226,7 +5299,7 @@
buildCounterRegionInstanceGroupList++;
if (buildCounterRegionInstanceGroupList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2006(o.items);
+ checkUnnamed2111(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5234,14 +5307,14 @@
buildCounterRegionInstanceGroupList--;
}
-buildUnnamed2007() {
+buildUnnamed2112() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed2007(core.List<api.InstanceGroupManager> o) {
+checkUnnamed2112(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -5253,7 +5326,7 @@
buildCounterRegionInstanceGroupManagerList++;
if (buildCounterRegionInstanceGroupManagerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2007();
+ o.items = buildUnnamed2112();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5266,7 +5339,7 @@
buildCounterRegionInstanceGroupManagerList++;
if (buildCounterRegionInstanceGroupManagerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2007(o.items);
+ checkUnnamed2112(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5274,14 +5347,14 @@
buildCounterRegionInstanceGroupManagerList--;
}
-buildUnnamed2008() {
+buildUnnamed2113() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2008(core.List<core.String> o) {
+checkUnnamed2113(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5292,7 +5365,7 @@
var o = new api.RegionInstanceGroupManagersAbandonInstancesRequest();
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) {
- o.instances = buildUnnamed2008();
+ o.instances = buildUnnamed2113();
}
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--;
return o;
@@ -5301,19 +5374,19 @@
checkRegionInstanceGroupManagersAbandonInstancesRequest(api.RegionInstanceGroupManagersAbandonInstancesRequest o) {
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) {
- checkUnnamed2008(o.instances);
+ checkUnnamed2113(o.instances);
}
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--;
}
-buildUnnamed2009() {
+buildUnnamed2114() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2009(core.List<core.String> o) {
+checkUnnamed2114(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5324,7 +5397,7 @@
var o = new api.RegionInstanceGroupManagersDeleteInstancesRequest();
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) {
- o.instances = buildUnnamed2009();
+ o.instances = buildUnnamed2114();
}
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--;
return o;
@@ -5333,19 +5406,19 @@
checkRegionInstanceGroupManagersDeleteInstancesRequest(api.RegionInstanceGroupManagersDeleteInstancesRequest o) {
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) {
- checkUnnamed2009(o.instances);
+ checkUnnamed2114(o.instances);
}
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--;
}
-buildUnnamed2010() {
+buildUnnamed2115() {
var o = new core.List<api.ManagedInstance>();
o.add(buildManagedInstance());
o.add(buildManagedInstance());
return o;
}
-checkUnnamed2010(core.List<api.ManagedInstance> o) {
+checkUnnamed2115(core.List<api.ManagedInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedInstance(o[0]);
checkManagedInstance(o[1]);
@@ -5356,7 +5429,7 @@
var o = new api.RegionInstanceGroupManagersListInstancesResponse();
buildCounterRegionInstanceGroupManagersListInstancesResponse++;
if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) {
- o.managedInstances = buildUnnamed2010();
+ o.managedInstances = buildUnnamed2115();
}
buildCounterRegionInstanceGroupManagersListInstancesResponse--;
return o;
@@ -5365,19 +5438,19 @@
checkRegionInstanceGroupManagersListInstancesResponse(api.RegionInstanceGroupManagersListInstancesResponse o) {
buildCounterRegionInstanceGroupManagersListInstancesResponse++;
if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) {
- checkUnnamed2010(o.managedInstances);
+ checkUnnamed2115(o.managedInstances);
}
buildCounterRegionInstanceGroupManagersListInstancesResponse--;
}
-buildUnnamed2011() {
+buildUnnamed2116() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2011(core.List<core.String> o) {
+checkUnnamed2116(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5388,7 +5461,7 @@
var o = new api.RegionInstanceGroupManagersRecreateRequest();
buildCounterRegionInstanceGroupManagersRecreateRequest++;
if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) {
- o.instances = buildUnnamed2011();
+ o.instances = buildUnnamed2116();
}
buildCounterRegionInstanceGroupManagersRecreateRequest--;
return o;
@@ -5397,19 +5470,19 @@
checkRegionInstanceGroupManagersRecreateRequest(api.RegionInstanceGroupManagersRecreateRequest o) {
buildCounterRegionInstanceGroupManagersRecreateRequest++;
if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) {
- checkUnnamed2011(o.instances);
+ checkUnnamed2116(o.instances);
}
buildCounterRegionInstanceGroupManagersRecreateRequest--;
}
-buildUnnamed2012() {
+buildUnnamed2117() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2012(core.List<core.String> o) {
+checkUnnamed2117(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5421,7 +5494,7 @@
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) {
o.fingerprint = "foo";
- o.targetPools = buildUnnamed2012();
+ o.targetPools = buildUnnamed2117();
}
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--;
return o;
@@ -5431,7 +5504,7 @@
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2012(o.targetPools);
+ checkUnnamed2117(o.targetPools);
}
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--;
}
@@ -5455,14 +5528,14 @@
buildCounterRegionInstanceGroupManagersSetTemplateRequest--;
}
-buildUnnamed2013() {
+buildUnnamed2118() {
var o = new core.List<api.InstanceWithNamedPorts>();
o.add(buildInstanceWithNamedPorts());
o.add(buildInstanceWithNamedPorts());
return o;
}
-checkUnnamed2013(core.List<api.InstanceWithNamedPorts> o) {
+checkUnnamed2118(core.List<api.InstanceWithNamedPorts> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceWithNamedPorts(o[0]);
checkInstanceWithNamedPorts(o[1]);
@@ -5474,7 +5547,7 @@
buildCounterRegionInstanceGroupsListInstances++;
if (buildCounterRegionInstanceGroupsListInstances < 3) {
o.id = "foo";
- o.items = buildUnnamed2013();
+ o.items = buildUnnamed2118();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5487,7 +5560,7 @@
buildCounterRegionInstanceGroupsListInstances++;
if (buildCounterRegionInstanceGroupsListInstances < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2013(o.items);
+ checkUnnamed2118(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5516,14 +5589,14 @@
buildCounterRegionInstanceGroupsListInstancesRequest--;
}
-buildUnnamed2014() {
+buildUnnamed2119() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2014(core.List<api.NamedPort> o) {
+checkUnnamed2119(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -5535,7 +5608,7 @@
buildCounterRegionInstanceGroupsSetNamedPortsRequest++;
if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) {
o.fingerprint = "foo";
- o.namedPorts = buildUnnamed2014();
+ o.namedPorts = buildUnnamed2119();
}
buildCounterRegionInstanceGroupsSetNamedPortsRequest--;
return o;
@@ -5545,19 +5618,19 @@
buildCounterRegionInstanceGroupsSetNamedPortsRequest++;
if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2014(o.namedPorts);
+ checkUnnamed2119(o.namedPorts);
}
buildCounterRegionInstanceGroupsSetNamedPortsRequest--;
}
-buildUnnamed2015() {
+buildUnnamed2120() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed2015(core.List<api.Region> o) {
+checkUnnamed2120(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -5569,7 +5642,7 @@
buildCounterRegionList++;
if (buildCounterRegionList < 3) {
o.id = "foo";
- o.items = buildUnnamed2015();
+ o.items = buildUnnamed2120();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5582,7 +5655,7 @@
buildCounterRegionList++;
if (buildCounterRegionList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2015(o.items);
+ checkUnnamed2120(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5609,14 +5682,14 @@
buildCounterResourceGroupReference--;
}
-buildUnnamed2016() {
+buildUnnamed2121() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2016(core.List<core.String> o) {
+checkUnnamed2121(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5643,14 +5716,14 @@
buildCounterRouteWarningsData--;
}
-buildUnnamed2017() {
+buildUnnamed2122() {
var o = new core.List<api.RouteWarningsData>();
o.add(buildRouteWarningsData());
o.add(buildRouteWarningsData());
return o;
}
-checkUnnamed2017(core.List<api.RouteWarningsData> o) {
+checkUnnamed2122(core.List<api.RouteWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouteWarningsData(o[0]);
checkRouteWarningsData(o[1]);
@@ -5662,7 +5735,7 @@
buildCounterRouteWarnings++;
if (buildCounterRouteWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2017();
+ o.data = buildUnnamed2122();
o.message = "foo";
}
buildCounterRouteWarnings--;
@@ -5673,20 +5746,20 @@
buildCounterRouteWarnings++;
if (buildCounterRouteWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2017(o.data);
+ checkUnnamed2122(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRouteWarnings--;
}
-buildUnnamed2018() {
+buildUnnamed2123() {
var o = new core.List<api.RouteWarnings>();
o.add(buildRouteWarnings());
o.add(buildRouteWarnings());
return o;
}
-checkUnnamed2018(core.List<api.RouteWarnings> o) {
+checkUnnamed2123(core.List<api.RouteWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouteWarnings(o[0]);
checkRouteWarnings(o[1]);
@@ -5711,8 +5784,8 @@
o.nextHopVpnTunnel = "foo";
o.priority = 42;
o.selfLink = "foo";
- o.tags = buildUnnamed2016();
- o.warnings = buildUnnamed2018();
+ o.tags = buildUnnamed2121();
+ o.warnings = buildUnnamed2123();
}
buildCounterRoute--;
return o;
@@ -5735,20 +5808,20 @@
unittest.expect(o.nextHopVpnTunnel, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2016(o.tags);
- checkUnnamed2018(o.warnings);
+ checkUnnamed2121(o.tags);
+ checkUnnamed2123(o.warnings);
}
buildCounterRoute--;
}
-buildUnnamed2019() {
+buildUnnamed2124() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2019(core.List<api.Route> o) {
+checkUnnamed2124(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
@@ -5760,7 +5833,7 @@
buildCounterRouteList++;
if (buildCounterRouteList < 3) {
o.id = "foo";
- o.items = buildUnnamed2019();
+ o.items = buildUnnamed2124();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5773,7 +5846,7 @@
buildCounterRouteList++;
if (buildCounterRouteList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2019(o.items);
+ checkUnnamed2124(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5781,27 +5854,27 @@
buildCounterRouteList--;
}
-buildUnnamed2020() {
+buildUnnamed2125() {
var o = new core.List<api.RouterBgpPeer>();
o.add(buildRouterBgpPeer());
o.add(buildRouterBgpPeer());
return o;
}
-checkUnnamed2020(core.List<api.RouterBgpPeer> o) {
+checkUnnamed2125(core.List<api.RouterBgpPeer> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterBgpPeer(o[0]);
checkRouterBgpPeer(o[1]);
}
-buildUnnamed2021() {
+buildUnnamed2126() {
var o = new core.List<api.RouterInterface>();
o.add(buildRouterInterface());
o.add(buildRouterInterface());
return o;
}
-checkUnnamed2021(core.List<api.RouterInterface> o) {
+checkUnnamed2126(core.List<api.RouterInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterInterface(o[0]);
checkRouterInterface(o[1]);
@@ -5813,11 +5886,11 @@
buildCounterRouter++;
if (buildCounterRouter < 3) {
o.bgp = buildRouterBgp();
- o.bgpPeers = buildUnnamed2020();
+ o.bgpPeers = buildUnnamed2125();
o.creationTimestamp = "foo";
o.description = "foo";
o.id = "foo";
- o.interfaces = buildUnnamed2021();
+ o.interfaces = buildUnnamed2126();
o.kind = "foo";
o.name = "foo";
o.network = "foo";
@@ -5832,11 +5905,11 @@
buildCounterRouter++;
if (buildCounterRouter < 3) {
checkRouterBgp(o.bgp);
- checkUnnamed2020(o.bgpPeers);
+ checkUnnamed2125(o.bgpPeers);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2021(o.interfaces);
+ checkUnnamed2126(o.interfaces);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
@@ -5846,14 +5919,14 @@
buildCounterRouter--;
}
-buildUnnamed2022() {
+buildUnnamed2127() {
var o = new core.Map<core.String, api.RoutersScopedList>();
o["x"] = buildRoutersScopedList();
o["y"] = buildRoutersScopedList();
return o;
}
-checkUnnamed2022(core.Map<core.String, api.RoutersScopedList> o) {
+checkUnnamed2127(core.Map<core.String, api.RoutersScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoutersScopedList(o["x"]);
checkRoutersScopedList(o["y"]);
@@ -5865,7 +5938,7 @@
buildCounterRouterAggregatedList++;
if (buildCounterRouterAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2022();
+ o.items = buildUnnamed2127();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5878,7 +5951,7 @@
buildCounterRouterAggregatedList++;
if (buildCounterRouterAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2022(o.items);
+ checkUnnamed2127(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5957,14 +6030,14 @@
buildCounterRouterInterface--;
}
-buildUnnamed2023() {
+buildUnnamed2128() {
var o = new core.List<api.Router>();
o.add(buildRouter());
o.add(buildRouter());
return o;
}
-checkUnnamed2023(core.List<api.Router> o) {
+checkUnnamed2128(core.List<api.Router> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouter(o[0]);
checkRouter(o[1]);
@@ -5976,7 +6049,7 @@
buildCounterRouterList++;
if (buildCounterRouterList < 3) {
o.id = "foo";
- o.items = buildUnnamed2023();
+ o.items = buildUnnamed2128();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5989,7 +6062,7 @@
buildCounterRouterList++;
if (buildCounterRouterList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2023(o.items);
+ checkUnnamed2128(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5997,27 +6070,27 @@
buildCounterRouterList--;
}
-buildUnnamed2024() {
+buildUnnamed2129() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2024(core.List<api.Route> o) {
+checkUnnamed2129(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
}
-buildUnnamed2025() {
+buildUnnamed2130() {
var o = new core.List<api.RouterStatusBgpPeerStatus>();
o.add(buildRouterStatusBgpPeerStatus());
o.add(buildRouterStatusBgpPeerStatus());
return o;
}
-checkUnnamed2025(core.List<api.RouterStatusBgpPeerStatus> o) {
+checkUnnamed2130(core.List<api.RouterStatusBgpPeerStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterStatusBgpPeerStatus(o[0]);
checkRouterStatusBgpPeerStatus(o[1]);
@@ -6028,8 +6101,8 @@
var o = new api.RouterStatus();
buildCounterRouterStatus++;
if (buildCounterRouterStatus < 3) {
- o.bestRoutes = buildUnnamed2024();
- o.bgpPeerStatus = buildUnnamed2025();
+ o.bestRoutes = buildUnnamed2129();
+ o.bgpPeerStatus = buildUnnamed2130();
o.network = "foo";
}
buildCounterRouterStatus--;
@@ -6039,21 +6112,21 @@
checkRouterStatus(api.RouterStatus o) {
buildCounterRouterStatus++;
if (buildCounterRouterStatus < 3) {
- checkUnnamed2024(o.bestRoutes);
- checkUnnamed2025(o.bgpPeerStatus);
+ checkUnnamed2129(o.bestRoutes);
+ checkUnnamed2130(o.bgpPeerStatus);
unittest.expect(o.network, unittest.equals('foo'));
}
buildCounterRouterStatus--;
}
-buildUnnamed2026() {
+buildUnnamed2131() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2026(core.List<api.Route> o) {
+checkUnnamed2131(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
@@ -6064,7 +6137,7 @@
var o = new api.RouterStatusBgpPeerStatus();
buildCounterRouterStatusBgpPeerStatus++;
if (buildCounterRouterStatusBgpPeerStatus < 3) {
- o.advertisedRoutes = buildUnnamed2026();
+ o.advertisedRoutes = buildUnnamed2131();
o.ipAddress = "foo";
o.linkedVpnTunnel = "foo";
o.name = "foo";
@@ -6082,7 +6155,7 @@
checkRouterStatusBgpPeerStatus(api.RouterStatusBgpPeerStatus o) {
buildCounterRouterStatusBgpPeerStatus++;
if (buildCounterRouterStatusBgpPeerStatus < 3) {
- checkUnnamed2026(o.advertisedRoutes);
+ checkUnnamed2131(o.advertisedRoutes);
unittest.expect(o.ipAddress, unittest.equals('foo'));
unittest.expect(o.linkedVpnTunnel, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -6136,14 +6209,14 @@
buildCounterRoutersPreviewResponse--;
}
-buildUnnamed2027() {
+buildUnnamed2132() {
var o = new core.List<api.Router>();
o.add(buildRouter());
o.add(buildRouter());
return o;
}
-checkUnnamed2027(core.List<api.Router> o) {
+checkUnnamed2132(core.List<api.Router> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouter(o[0]);
checkRouter(o[1]);
@@ -6170,14 +6243,14 @@
buildCounterRoutersScopedListWarningData--;
}
-buildUnnamed2028() {
+buildUnnamed2133() {
var o = new core.List<api.RoutersScopedListWarningData>();
o.add(buildRoutersScopedListWarningData());
o.add(buildRoutersScopedListWarningData());
return o;
}
-checkUnnamed2028(core.List<api.RoutersScopedListWarningData> o) {
+checkUnnamed2133(core.List<api.RoutersScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoutersScopedListWarningData(o[0]);
checkRoutersScopedListWarningData(o[1]);
@@ -6189,7 +6262,7 @@
buildCounterRoutersScopedListWarning++;
if (buildCounterRoutersScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2028();
+ o.data = buildUnnamed2133();
o.message = "foo";
}
buildCounterRoutersScopedListWarning--;
@@ -6200,7 +6273,7 @@
buildCounterRoutersScopedListWarning++;
if (buildCounterRoutersScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2028(o.data);
+ checkUnnamed2133(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRoutersScopedListWarning--;
@@ -6211,7 +6284,7 @@
var o = new api.RoutersScopedList();
buildCounterRoutersScopedList++;
if (buildCounterRoutersScopedList < 3) {
- o.routers = buildUnnamed2027();
+ o.routers = buildUnnamed2132();
o.warning = buildRoutersScopedListWarning();
}
buildCounterRoutersScopedList--;
@@ -6221,7 +6294,7 @@
checkRoutersScopedList(api.RoutersScopedList o) {
buildCounterRoutersScopedList++;
if (buildCounterRoutersScopedList < 3) {
- checkUnnamed2027(o.routers);
+ checkUnnamed2132(o.routers);
checkRoutersScopedListWarning(o.warning);
}
buildCounterRoutersScopedList--;
@@ -6304,14 +6377,14 @@
buildCounterSerialPortOutput--;
}
-buildUnnamed2029() {
+buildUnnamed2134() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2029(core.List<core.String> o) {
+checkUnnamed2134(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6323,7 +6396,7 @@
buildCounterServiceAccount++;
if (buildCounterServiceAccount < 3) {
o.email = "foo";
- o.scopes = buildUnnamed2029();
+ o.scopes = buildUnnamed2134();
}
buildCounterServiceAccount--;
return o;
@@ -6333,19 +6406,19 @@
buildCounterServiceAccount++;
if (buildCounterServiceAccount < 3) {
unittest.expect(o.email, unittest.equals('foo'));
- checkUnnamed2029(o.scopes);
+ checkUnnamed2134(o.scopes);
}
buildCounterServiceAccount--;
}
-buildUnnamed2030() {
+buildUnnamed2135() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2030(core.List<core.String> o) {
+checkUnnamed2135(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6361,7 +6434,7 @@
o.diskSizeGb = "foo";
o.id = "foo";
o.kind = "foo";
- o.licenses = buildUnnamed2030();
+ o.licenses = buildUnnamed2135();
o.name = "foo";
o.selfLink = "foo";
o.snapshotEncryptionKey = buildCustomerEncryptionKey();
@@ -6384,7 +6457,7 @@
unittest.expect(o.diskSizeGb, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2030(o.licenses);
+ checkUnnamed2135(o.licenses);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
checkCustomerEncryptionKey(o.snapshotEncryptionKey);
@@ -6398,14 +6471,14 @@
buildCounterSnapshot--;
}
-buildUnnamed2031() {
+buildUnnamed2136() {
var o = new core.List<api.Snapshot>();
o.add(buildSnapshot());
o.add(buildSnapshot());
return o;
}
-checkUnnamed2031(core.List<api.Snapshot> o) {
+checkUnnamed2136(core.List<api.Snapshot> o) {
unittest.expect(o, unittest.hasLength(2));
checkSnapshot(o[0]);
checkSnapshot(o[1]);
@@ -6417,7 +6490,7 @@
buildCounterSnapshotList++;
if (buildCounterSnapshotList < 3) {
o.id = "foo";
- o.items = buildUnnamed2031();
+ o.items = buildUnnamed2136();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6430,7 +6503,7 @@
buildCounterSnapshotList++;
if (buildCounterSnapshotList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2031(o.items);
+ checkUnnamed2136(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6471,14 +6544,14 @@
buildCounterSslCertificate--;
}
-buildUnnamed2032() {
+buildUnnamed2137() {
var o = new core.List<api.SslCertificate>();
o.add(buildSslCertificate());
o.add(buildSslCertificate());
return o;
}
-checkUnnamed2032(core.List<api.SslCertificate> o) {
+checkUnnamed2137(core.List<api.SslCertificate> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslCertificate(o[0]);
checkSslCertificate(o[1]);
@@ -6490,7 +6563,7 @@
buildCounterSslCertificateList++;
if (buildCounterSslCertificateList < 3) {
o.id = "foo";
- o.items = buildUnnamed2032();
+ o.items = buildUnnamed2137();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6503,7 +6576,7 @@
buildCounterSslCertificateList++;
if (buildCounterSslCertificateList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2032(o.items);
+ checkUnnamed2137(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6548,14 +6621,14 @@
buildCounterSubnetwork--;
}
-buildUnnamed2033() {
+buildUnnamed2138() {
var o = new core.Map<core.String, api.SubnetworksScopedList>();
o["x"] = buildSubnetworksScopedList();
o["y"] = buildSubnetworksScopedList();
return o;
}
-checkUnnamed2033(core.Map<core.String, api.SubnetworksScopedList> o) {
+checkUnnamed2138(core.Map<core.String, api.SubnetworksScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworksScopedList(o["x"]);
checkSubnetworksScopedList(o["y"]);
@@ -6567,7 +6640,7 @@
buildCounterSubnetworkAggregatedList++;
if (buildCounterSubnetworkAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2033();
+ o.items = buildUnnamed2138();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6580,7 +6653,7 @@
buildCounterSubnetworkAggregatedList++;
if (buildCounterSubnetworkAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2033(o.items);
+ checkUnnamed2138(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6588,14 +6661,14 @@
buildCounterSubnetworkAggregatedList--;
}
-buildUnnamed2034() {
+buildUnnamed2139() {
var o = new core.List<api.Subnetwork>();
o.add(buildSubnetwork());
o.add(buildSubnetwork());
return o;
}
-checkUnnamed2034(core.List<api.Subnetwork> o) {
+checkUnnamed2139(core.List<api.Subnetwork> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetwork(o[0]);
checkSubnetwork(o[1]);
@@ -6607,7 +6680,7 @@
buildCounterSubnetworkList++;
if (buildCounterSubnetworkList < 3) {
o.id = "foo";
- o.items = buildUnnamed2034();
+ o.items = buildUnnamed2139();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6620,7 +6693,7 @@
buildCounterSubnetworkList++;
if (buildCounterSubnetworkList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2034(o.items);
+ checkUnnamed2139(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6647,14 +6720,14 @@
buildCounterSubnetworksExpandIpCidrRangeRequest--;
}
-buildUnnamed2035() {
+buildUnnamed2140() {
var o = new core.List<api.Subnetwork>();
o.add(buildSubnetwork());
o.add(buildSubnetwork());
return o;
}
-checkUnnamed2035(core.List<api.Subnetwork> o) {
+checkUnnamed2140(core.List<api.Subnetwork> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetwork(o[0]);
checkSubnetwork(o[1]);
@@ -6681,14 +6754,14 @@
buildCounterSubnetworksScopedListWarningData--;
}
-buildUnnamed2036() {
+buildUnnamed2141() {
var o = new core.List<api.SubnetworksScopedListWarningData>();
o.add(buildSubnetworksScopedListWarningData());
o.add(buildSubnetworksScopedListWarningData());
return o;
}
-checkUnnamed2036(core.List<api.SubnetworksScopedListWarningData> o) {
+checkUnnamed2141(core.List<api.SubnetworksScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworksScopedListWarningData(o[0]);
checkSubnetworksScopedListWarningData(o[1]);
@@ -6700,7 +6773,7 @@
buildCounterSubnetworksScopedListWarning++;
if (buildCounterSubnetworksScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2036();
+ o.data = buildUnnamed2141();
o.message = "foo";
}
buildCounterSubnetworksScopedListWarning--;
@@ -6711,7 +6784,7 @@
buildCounterSubnetworksScopedListWarning++;
if (buildCounterSubnetworksScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2036(o.data);
+ checkUnnamed2141(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSubnetworksScopedListWarning--;
@@ -6722,7 +6795,7 @@
var o = new api.SubnetworksScopedList();
buildCounterSubnetworksScopedList++;
if (buildCounterSubnetworksScopedList < 3) {
- o.subnetworks = buildUnnamed2035();
+ o.subnetworks = buildUnnamed2140();
o.warning = buildSubnetworksScopedListWarning();
}
buildCounterSubnetworksScopedList--;
@@ -6732,7 +6805,7 @@
checkSubnetworksScopedList(api.SubnetworksScopedList o) {
buildCounterSubnetworksScopedList++;
if (buildCounterSubnetworksScopedList < 3) {
- checkUnnamed2035(o.subnetworks);
+ checkUnnamed2140(o.subnetworks);
checkSubnetworksScopedListWarning(o.warning);
}
buildCounterSubnetworksScopedList--;
@@ -6765,14 +6838,14 @@
buildCounterTCPHealthCheck--;
}
-buildUnnamed2037() {
+buildUnnamed2142() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2037(core.List<core.String> o) {
+checkUnnamed2142(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6784,7 +6857,7 @@
buildCounterTags++;
if (buildCounterTags < 3) {
o.fingerprint = "foo";
- o.items = buildUnnamed2037();
+ o.items = buildUnnamed2142();
}
buildCounterTags--;
return o;
@@ -6794,7 +6867,7 @@
buildCounterTags++;
if (buildCounterTags < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2037(o.items);
+ checkUnnamed2142(o.items);
}
buildCounterTags--;
}
@@ -6830,14 +6903,14 @@
buildCounterTargetHttpProxy--;
}
-buildUnnamed2038() {
+buildUnnamed2143() {
var o = new core.List<api.TargetHttpProxy>();
o.add(buildTargetHttpProxy());
o.add(buildTargetHttpProxy());
return o;
}
-checkUnnamed2038(core.List<api.TargetHttpProxy> o) {
+checkUnnamed2143(core.List<api.TargetHttpProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpProxy(o[0]);
checkTargetHttpProxy(o[1]);
@@ -6849,7 +6922,7 @@
buildCounterTargetHttpProxyList++;
if (buildCounterTargetHttpProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2038();
+ o.items = buildUnnamed2143();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6862,7 +6935,7 @@
buildCounterTargetHttpProxyList++;
if (buildCounterTargetHttpProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2038(o.items);
+ checkUnnamed2143(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6870,14 +6943,14 @@
buildCounterTargetHttpProxyList--;
}
-buildUnnamed2039() {
+buildUnnamed2144() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2039(core.List<core.String> o) {
+checkUnnamed2144(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6888,7 +6961,7 @@
var o = new api.TargetHttpsProxiesSetSslCertificatesRequest();
buildCounterTargetHttpsProxiesSetSslCertificatesRequest++;
if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) {
- o.sslCertificates = buildUnnamed2039();
+ o.sslCertificates = buildUnnamed2144();
}
buildCounterTargetHttpsProxiesSetSslCertificatesRequest--;
return o;
@@ -6897,19 +6970,19 @@
checkTargetHttpsProxiesSetSslCertificatesRequest(api.TargetHttpsProxiesSetSslCertificatesRequest o) {
buildCounterTargetHttpsProxiesSetSslCertificatesRequest++;
if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) {
- checkUnnamed2039(o.sslCertificates);
+ checkUnnamed2144(o.sslCertificates);
}
buildCounterTargetHttpsProxiesSetSslCertificatesRequest--;
}
-buildUnnamed2040() {
+buildUnnamed2145() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2040(core.List<core.String> o) {
+checkUnnamed2145(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6926,7 +6999,7 @@
o.kind = "foo";
o.name = "foo";
o.selfLink = "foo";
- o.sslCertificates = buildUnnamed2040();
+ o.sslCertificates = buildUnnamed2145();
o.urlMap = "foo";
}
buildCounterTargetHttpsProxy--;
@@ -6942,20 +7015,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2040(o.sslCertificates);
+ checkUnnamed2145(o.sslCertificates);
unittest.expect(o.urlMap, unittest.equals('foo'));
}
buildCounterTargetHttpsProxy--;
}
-buildUnnamed2041() {
+buildUnnamed2146() {
var o = new core.List<api.TargetHttpsProxy>();
o.add(buildTargetHttpsProxy());
o.add(buildTargetHttpsProxy());
return o;
}
-checkUnnamed2041(core.List<api.TargetHttpsProxy> o) {
+checkUnnamed2146(core.List<api.TargetHttpsProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpsProxy(o[0]);
checkTargetHttpsProxy(o[1]);
@@ -6967,7 +7040,7 @@
buildCounterTargetHttpsProxyList++;
if (buildCounterTargetHttpsProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2041();
+ o.items = buildUnnamed2146();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6980,7 +7053,7 @@
buildCounterTargetHttpsProxyList++;
if (buildCounterTargetHttpsProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2041(o.items);
+ checkUnnamed2146(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7023,14 +7096,14 @@
buildCounterTargetInstance--;
}
-buildUnnamed2042() {
+buildUnnamed2147() {
var o = new core.Map<core.String, api.TargetInstancesScopedList>();
o["x"] = buildTargetInstancesScopedList();
o["y"] = buildTargetInstancesScopedList();
return o;
}
-checkUnnamed2042(core.Map<core.String, api.TargetInstancesScopedList> o) {
+checkUnnamed2147(core.Map<core.String, api.TargetInstancesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstancesScopedList(o["x"]);
checkTargetInstancesScopedList(o["y"]);
@@ -7042,7 +7115,7 @@
buildCounterTargetInstanceAggregatedList++;
if (buildCounterTargetInstanceAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2042();
+ o.items = buildUnnamed2147();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7055,7 +7128,7 @@
buildCounterTargetInstanceAggregatedList++;
if (buildCounterTargetInstanceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2042(o.items);
+ checkUnnamed2147(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7063,14 +7136,14 @@
buildCounterTargetInstanceAggregatedList--;
}
-buildUnnamed2043() {
+buildUnnamed2148() {
var o = new core.List<api.TargetInstance>();
o.add(buildTargetInstance());
o.add(buildTargetInstance());
return o;
}
-checkUnnamed2043(core.List<api.TargetInstance> o) {
+checkUnnamed2148(core.List<api.TargetInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstance(o[0]);
checkTargetInstance(o[1]);
@@ -7082,7 +7155,7 @@
buildCounterTargetInstanceList++;
if (buildCounterTargetInstanceList < 3) {
o.id = "foo";
- o.items = buildUnnamed2043();
+ o.items = buildUnnamed2148();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7095,7 +7168,7 @@
buildCounterTargetInstanceList++;
if (buildCounterTargetInstanceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2043(o.items);
+ checkUnnamed2148(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7103,14 +7176,14 @@
buildCounterTargetInstanceList--;
}
-buildUnnamed2044() {
+buildUnnamed2149() {
var o = new core.List<api.TargetInstance>();
o.add(buildTargetInstance());
o.add(buildTargetInstance());
return o;
}
-checkUnnamed2044(core.List<api.TargetInstance> o) {
+checkUnnamed2149(core.List<api.TargetInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstance(o[0]);
checkTargetInstance(o[1]);
@@ -7137,14 +7210,14 @@
buildCounterTargetInstancesScopedListWarningData--;
}
-buildUnnamed2045() {
+buildUnnamed2150() {
var o = new core.List<api.TargetInstancesScopedListWarningData>();
o.add(buildTargetInstancesScopedListWarningData());
o.add(buildTargetInstancesScopedListWarningData());
return o;
}
-checkUnnamed2045(core.List<api.TargetInstancesScopedListWarningData> o) {
+checkUnnamed2150(core.List<api.TargetInstancesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstancesScopedListWarningData(o[0]);
checkTargetInstancesScopedListWarningData(o[1]);
@@ -7156,7 +7229,7 @@
buildCounterTargetInstancesScopedListWarning++;
if (buildCounterTargetInstancesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2045();
+ o.data = buildUnnamed2150();
o.message = "foo";
}
buildCounterTargetInstancesScopedListWarning--;
@@ -7167,7 +7240,7 @@
buildCounterTargetInstancesScopedListWarning++;
if (buildCounterTargetInstancesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2045(o.data);
+ checkUnnamed2150(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetInstancesScopedListWarning--;
@@ -7178,7 +7251,7 @@
var o = new api.TargetInstancesScopedList();
buildCounterTargetInstancesScopedList++;
if (buildCounterTargetInstancesScopedList < 3) {
- o.targetInstances = buildUnnamed2044();
+ o.targetInstances = buildUnnamed2149();
o.warning = buildTargetInstancesScopedListWarning();
}
buildCounterTargetInstancesScopedList--;
@@ -7188,33 +7261,33 @@
checkTargetInstancesScopedList(api.TargetInstancesScopedList o) {
buildCounterTargetInstancesScopedList++;
if (buildCounterTargetInstancesScopedList < 3) {
- checkUnnamed2044(o.targetInstances);
+ checkUnnamed2149(o.targetInstances);
checkTargetInstancesScopedListWarning(o.warning);
}
buildCounterTargetInstancesScopedList--;
}
-buildUnnamed2046() {
+buildUnnamed2151() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2046(core.List<core.String> o) {
+checkUnnamed2151(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2047() {
+buildUnnamed2152() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2047(core.List<core.String> o) {
+checkUnnamed2152(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7229,9 +7302,9 @@
o.creationTimestamp = "foo";
o.description = "foo";
o.failoverRatio = 42.0;
- o.healthChecks = buildUnnamed2046();
+ o.healthChecks = buildUnnamed2151();
o.id = "foo";
- o.instances = buildUnnamed2047();
+ o.instances = buildUnnamed2152();
o.kind = "foo";
o.name = "foo";
o.region = "foo";
@@ -7249,9 +7322,9 @@
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.failoverRatio, unittest.equals(42.0));
- checkUnnamed2046(o.healthChecks);
+ checkUnnamed2151(o.healthChecks);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2047(o.instances);
+ checkUnnamed2152(o.instances);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
@@ -7261,14 +7334,14 @@
buildCounterTargetPool--;
}
-buildUnnamed2048() {
+buildUnnamed2153() {
var o = new core.Map<core.String, api.TargetPoolsScopedList>();
o["x"] = buildTargetPoolsScopedList();
o["y"] = buildTargetPoolsScopedList();
return o;
}
-checkUnnamed2048(core.Map<core.String, api.TargetPoolsScopedList> o) {
+checkUnnamed2153(core.Map<core.String, api.TargetPoolsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolsScopedList(o["x"]);
checkTargetPoolsScopedList(o["y"]);
@@ -7280,7 +7353,7 @@
buildCounterTargetPoolAggregatedList++;
if (buildCounterTargetPoolAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2048();
+ o.items = buildUnnamed2153();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7293,7 +7366,7 @@
buildCounterTargetPoolAggregatedList++;
if (buildCounterTargetPoolAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2048(o.items);
+ checkUnnamed2153(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7301,14 +7374,14 @@
buildCounterTargetPoolAggregatedList--;
}
-buildUnnamed2049() {
+buildUnnamed2154() {
var o = new core.List<api.HealthStatus>();
o.add(buildHealthStatus());
o.add(buildHealthStatus());
return o;
}
-checkUnnamed2049(core.List<api.HealthStatus> o) {
+checkUnnamed2154(core.List<api.HealthStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthStatus(o[0]);
checkHealthStatus(o[1]);
@@ -7319,7 +7392,7 @@
var o = new api.TargetPoolInstanceHealth();
buildCounterTargetPoolInstanceHealth++;
if (buildCounterTargetPoolInstanceHealth < 3) {
- o.healthStatus = buildUnnamed2049();
+ o.healthStatus = buildUnnamed2154();
o.kind = "foo";
}
buildCounterTargetPoolInstanceHealth--;
@@ -7329,20 +7402,20 @@
checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) {
buildCounterTargetPoolInstanceHealth++;
if (buildCounterTargetPoolInstanceHealth < 3) {
- checkUnnamed2049(o.healthStatus);
+ checkUnnamed2154(o.healthStatus);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTargetPoolInstanceHealth--;
}
-buildUnnamed2050() {
+buildUnnamed2155() {
var o = new core.List<api.TargetPool>();
o.add(buildTargetPool());
o.add(buildTargetPool());
return o;
}
-checkUnnamed2050(core.List<api.TargetPool> o) {
+checkUnnamed2155(core.List<api.TargetPool> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPool(o[0]);
checkTargetPool(o[1]);
@@ -7354,7 +7427,7 @@
buildCounterTargetPoolList++;
if (buildCounterTargetPoolList < 3) {
o.id = "foo";
- o.items = buildUnnamed2050();
+ o.items = buildUnnamed2155();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7367,7 +7440,7 @@
buildCounterTargetPoolList++;
if (buildCounterTargetPoolList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2050(o.items);
+ checkUnnamed2155(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7375,14 +7448,14 @@
buildCounterTargetPoolList--;
}
-buildUnnamed2051() {
+buildUnnamed2156() {
var o = new core.List<api.HealthCheckReference>();
o.add(buildHealthCheckReference());
o.add(buildHealthCheckReference());
return o;
}
-checkUnnamed2051(core.List<api.HealthCheckReference> o) {
+checkUnnamed2156(core.List<api.HealthCheckReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheckReference(o[0]);
checkHealthCheckReference(o[1]);
@@ -7393,7 +7466,7 @@
var o = new api.TargetPoolsAddHealthCheckRequest();
buildCounterTargetPoolsAddHealthCheckRequest++;
if (buildCounterTargetPoolsAddHealthCheckRequest < 3) {
- o.healthChecks = buildUnnamed2051();
+ o.healthChecks = buildUnnamed2156();
}
buildCounterTargetPoolsAddHealthCheckRequest--;
return o;
@@ -7402,19 +7475,19 @@
checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) {
buildCounterTargetPoolsAddHealthCheckRequest++;
if (buildCounterTargetPoolsAddHealthCheckRequest < 3) {
- checkUnnamed2051(o.healthChecks);
+ checkUnnamed2156(o.healthChecks);
}
buildCounterTargetPoolsAddHealthCheckRequest--;
}
-buildUnnamed2052() {
+buildUnnamed2157() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed2052(core.List<api.InstanceReference> o) {
+checkUnnamed2157(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -7425,7 +7498,7 @@
var o = new api.TargetPoolsAddInstanceRequest();
buildCounterTargetPoolsAddInstanceRequest++;
if (buildCounterTargetPoolsAddInstanceRequest < 3) {
- o.instances = buildUnnamed2052();
+ o.instances = buildUnnamed2157();
}
buildCounterTargetPoolsAddInstanceRequest--;
return o;
@@ -7434,19 +7507,19 @@
checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) {
buildCounterTargetPoolsAddInstanceRequest++;
if (buildCounterTargetPoolsAddInstanceRequest < 3) {
- checkUnnamed2052(o.instances);
+ checkUnnamed2157(o.instances);
}
buildCounterTargetPoolsAddInstanceRequest--;
}
-buildUnnamed2053() {
+buildUnnamed2158() {
var o = new core.List<api.HealthCheckReference>();
o.add(buildHealthCheckReference());
o.add(buildHealthCheckReference());
return o;
}
-checkUnnamed2053(core.List<api.HealthCheckReference> o) {
+checkUnnamed2158(core.List<api.HealthCheckReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheckReference(o[0]);
checkHealthCheckReference(o[1]);
@@ -7457,7 +7530,7 @@
var o = new api.TargetPoolsRemoveHealthCheckRequest();
buildCounterTargetPoolsRemoveHealthCheckRequest++;
if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) {
- o.healthChecks = buildUnnamed2053();
+ o.healthChecks = buildUnnamed2158();
}
buildCounterTargetPoolsRemoveHealthCheckRequest--;
return o;
@@ -7466,19 +7539,19 @@
checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest o) {
buildCounterTargetPoolsRemoveHealthCheckRequest++;
if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) {
- checkUnnamed2053(o.healthChecks);
+ checkUnnamed2158(o.healthChecks);
}
buildCounterTargetPoolsRemoveHealthCheckRequest--;
}
-buildUnnamed2054() {
+buildUnnamed2159() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed2054(core.List<api.InstanceReference> o) {
+checkUnnamed2159(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -7489,7 +7562,7 @@
var o = new api.TargetPoolsRemoveInstanceRequest();
buildCounterTargetPoolsRemoveInstanceRequest++;
if (buildCounterTargetPoolsRemoveInstanceRequest < 3) {
- o.instances = buildUnnamed2054();
+ o.instances = buildUnnamed2159();
}
buildCounterTargetPoolsRemoveInstanceRequest--;
return o;
@@ -7498,19 +7571,19 @@
checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) {
buildCounterTargetPoolsRemoveInstanceRequest++;
if (buildCounterTargetPoolsRemoveInstanceRequest < 3) {
- checkUnnamed2054(o.instances);
+ checkUnnamed2159(o.instances);
}
buildCounterTargetPoolsRemoveInstanceRequest--;
}
-buildUnnamed2055() {
+buildUnnamed2160() {
var o = new core.List<api.TargetPool>();
o.add(buildTargetPool());
o.add(buildTargetPool());
return o;
}
-checkUnnamed2055(core.List<api.TargetPool> o) {
+checkUnnamed2160(core.List<api.TargetPool> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPool(o[0]);
checkTargetPool(o[1]);
@@ -7537,14 +7610,14 @@
buildCounterTargetPoolsScopedListWarningData--;
}
-buildUnnamed2056() {
+buildUnnamed2161() {
var o = new core.List<api.TargetPoolsScopedListWarningData>();
o.add(buildTargetPoolsScopedListWarningData());
o.add(buildTargetPoolsScopedListWarningData());
return o;
}
-checkUnnamed2056(core.List<api.TargetPoolsScopedListWarningData> o) {
+checkUnnamed2161(core.List<api.TargetPoolsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolsScopedListWarningData(o[0]);
checkTargetPoolsScopedListWarningData(o[1]);
@@ -7556,7 +7629,7 @@
buildCounterTargetPoolsScopedListWarning++;
if (buildCounterTargetPoolsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2056();
+ o.data = buildUnnamed2161();
o.message = "foo";
}
buildCounterTargetPoolsScopedListWarning--;
@@ -7567,7 +7640,7 @@
buildCounterTargetPoolsScopedListWarning++;
if (buildCounterTargetPoolsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2056(o.data);
+ checkUnnamed2161(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetPoolsScopedListWarning--;
@@ -7578,7 +7651,7 @@
var o = new api.TargetPoolsScopedList();
buildCounterTargetPoolsScopedList++;
if (buildCounterTargetPoolsScopedList < 3) {
- o.targetPools = buildUnnamed2055();
+ o.targetPools = buildUnnamed2160();
o.warning = buildTargetPoolsScopedListWarning();
}
buildCounterTargetPoolsScopedList--;
@@ -7588,7 +7661,7 @@
checkTargetPoolsScopedList(api.TargetPoolsScopedList o) {
buildCounterTargetPoolsScopedList++;
if (buildCounterTargetPoolsScopedList < 3) {
- checkUnnamed2055(o.targetPools);
+ checkUnnamed2160(o.targetPools);
checkTargetPoolsScopedListWarning(o.warning);
}
buildCounterTargetPoolsScopedList--;
@@ -7651,14 +7724,14 @@
buildCounterTargetSslProxiesSetProxyHeaderRequest--;
}
-buildUnnamed2057() {
+buildUnnamed2162() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2057(core.List<core.String> o) {
+checkUnnamed2162(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7669,7 +7742,7 @@
var o = new api.TargetSslProxiesSetSslCertificatesRequest();
buildCounterTargetSslProxiesSetSslCertificatesRequest++;
if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) {
- o.sslCertificates = buildUnnamed2057();
+ o.sslCertificates = buildUnnamed2162();
}
buildCounterTargetSslProxiesSetSslCertificatesRequest--;
return o;
@@ -7678,19 +7751,19 @@
checkTargetSslProxiesSetSslCertificatesRequest(api.TargetSslProxiesSetSslCertificatesRequest o) {
buildCounterTargetSslProxiesSetSslCertificatesRequest++;
if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) {
- checkUnnamed2057(o.sslCertificates);
+ checkUnnamed2162(o.sslCertificates);
}
buildCounterTargetSslProxiesSetSslCertificatesRequest--;
}
-buildUnnamed2058() {
+buildUnnamed2163() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2058(core.List<core.String> o) {
+checkUnnamed2163(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7709,7 +7782,7 @@
o.proxyHeader = "foo";
o.selfLink = "foo";
o.service = "foo";
- o.sslCertificates = buildUnnamed2058();
+ o.sslCertificates = buildUnnamed2163();
}
buildCounterTargetSslProxy--;
return o;
@@ -7726,19 +7799,19 @@
unittest.expect(o.proxyHeader, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.service, unittest.equals('foo'));
- checkUnnamed2058(o.sslCertificates);
+ checkUnnamed2163(o.sslCertificates);
}
buildCounterTargetSslProxy--;
}
-buildUnnamed2059() {
+buildUnnamed2164() {
var o = new core.List<api.TargetSslProxy>();
o.add(buildTargetSslProxy());
o.add(buildTargetSslProxy());
return o;
}
-checkUnnamed2059(core.List<api.TargetSslProxy> o) {
+checkUnnamed2164(core.List<api.TargetSslProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetSslProxy(o[0]);
checkTargetSslProxy(o[1]);
@@ -7750,7 +7823,7 @@
buildCounterTargetSslProxyList++;
if (buildCounterTargetSslProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2059();
+ o.items = buildUnnamed2164();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7763,7 +7836,7 @@
buildCounterTargetSslProxyList++;
if (buildCounterTargetSslProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2059(o.items);
+ checkUnnamed2164(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7771,27 +7844,27 @@
buildCounterTargetSslProxyList--;
}
-buildUnnamed2060() {
+buildUnnamed2165() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2060(core.List<core.String> o) {
+checkUnnamed2165(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2061() {
+buildUnnamed2166() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2061(core.List<core.String> o) {
+checkUnnamed2166(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7804,7 +7877,7 @@
if (buildCounterTargetVpnGateway < 3) {
o.creationTimestamp = "foo";
o.description = "foo";
- o.forwardingRules = buildUnnamed2060();
+ o.forwardingRules = buildUnnamed2165();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -7812,7 +7885,7 @@
o.region = "foo";
o.selfLink = "foo";
o.status = "foo";
- o.tunnels = buildUnnamed2061();
+ o.tunnels = buildUnnamed2166();
}
buildCounterTargetVpnGateway--;
return o;
@@ -7823,7 +7896,7 @@
if (buildCounterTargetVpnGateway < 3) {
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2060(o.forwardingRules);
+ checkUnnamed2165(o.forwardingRules);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -7831,19 +7904,19 @@
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed2061(o.tunnels);
+ checkUnnamed2166(o.tunnels);
}
buildCounterTargetVpnGateway--;
}
-buildUnnamed2062() {
+buildUnnamed2167() {
var o = new core.Map<core.String, api.TargetVpnGatewaysScopedList>();
o["x"] = buildTargetVpnGatewaysScopedList();
o["y"] = buildTargetVpnGatewaysScopedList();
return o;
}
-checkUnnamed2062(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) {
+checkUnnamed2167(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGatewaysScopedList(o["x"]);
checkTargetVpnGatewaysScopedList(o["y"]);
@@ -7855,7 +7928,7 @@
buildCounterTargetVpnGatewayAggregatedList++;
if (buildCounterTargetVpnGatewayAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2062();
+ o.items = buildUnnamed2167();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7868,7 +7941,7 @@
buildCounterTargetVpnGatewayAggregatedList++;
if (buildCounterTargetVpnGatewayAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2062(o.items);
+ checkUnnamed2167(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7876,14 +7949,14 @@
buildCounterTargetVpnGatewayAggregatedList--;
}
-buildUnnamed2063() {
+buildUnnamed2168() {
var o = new core.List<api.TargetVpnGateway>();
o.add(buildTargetVpnGateway());
o.add(buildTargetVpnGateway());
return o;
}
-checkUnnamed2063(core.List<api.TargetVpnGateway> o) {
+checkUnnamed2168(core.List<api.TargetVpnGateway> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGateway(o[0]);
checkTargetVpnGateway(o[1]);
@@ -7895,7 +7968,7 @@
buildCounterTargetVpnGatewayList++;
if (buildCounterTargetVpnGatewayList < 3) {
o.id = "foo";
- o.items = buildUnnamed2063();
+ o.items = buildUnnamed2168();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7908,7 +7981,7 @@
buildCounterTargetVpnGatewayList++;
if (buildCounterTargetVpnGatewayList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2063(o.items);
+ checkUnnamed2168(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7916,14 +7989,14 @@
buildCounterTargetVpnGatewayList--;
}
-buildUnnamed2064() {
+buildUnnamed2169() {
var o = new core.List<api.TargetVpnGateway>();
o.add(buildTargetVpnGateway());
o.add(buildTargetVpnGateway());
return o;
}
-checkUnnamed2064(core.List<api.TargetVpnGateway> o) {
+checkUnnamed2169(core.List<api.TargetVpnGateway> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGateway(o[0]);
checkTargetVpnGateway(o[1]);
@@ -7950,14 +8023,14 @@
buildCounterTargetVpnGatewaysScopedListWarningData--;
}
-buildUnnamed2065() {
+buildUnnamed2170() {
var o = new core.List<api.TargetVpnGatewaysScopedListWarningData>();
o.add(buildTargetVpnGatewaysScopedListWarningData());
o.add(buildTargetVpnGatewaysScopedListWarningData());
return o;
}
-checkUnnamed2065(core.List<api.TargetVpnGatewaysScopedListWarningData> o) {
+checkUnnamed2170(core.List<api.TargetVpnGatewaysScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGatewaysScopedListWarningData(o[0]);
checkTargetVpnGatewaysScopedListWarningData(o[1]);
@@ -7969,7 +8042,7 @@
buildCounterTargetVpnGatewaysScopedListWarning++;
if (buildCounterTargetVpnGatewaysScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2065();
+ o.data = buildUnnamed2170();
o.message = "foo";
}
buildCounterTargetVpnGatewaysScopedListWarning--;
@@ -7980,7 +8053,7 @@
buildCounterTargetVpnGatewaysScopedListWarning++;
if (buildCounterTargetVpnGatewaysScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2065(o.data);
+ checkUnnamed2170(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetVpnGatewaysScopedListWarning--;
@@ -7991,7 +8064,7 @@
var o = new api.TargetVpnGatewaysScopedList();
buildCounterTargetVpnGatewaysScopedList++;
if (buildCounterTargetVpnGatewaysScopedList < 3) {
- o.targetVpnGateways = buildUnnamed2064();
+ o.targetVpnGateways = buildUnnamed2169();
o.warning = buildTargetVpnGatewaysScopedListWarning();
}
buildCounterTargetVpnGatewaysScopedList--;
@@ -8001,7 +8074,7 @@
checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) {
buildCounterTargetVpnGatewaysScopedList++;
if (buildCounterTargetVpnGatewaysScopedList < 3) {
- checkUnnamed2064(o.targetVpnGateways);
+ checkUnnamed2169(o.targetVpnGateways);
checkTargetVpnGatewaysScopedListWarning(o.warning);
}
buildCounterTargetVpnGatewaysScopedList--;
@@ -8032,40 +8105,40 @@
buildCounterTestFailure--;
}
-buildUnnamed2066() {
+buildUnnamed2171() {
var o = new core.List<api.HostRule>();
o.add(buildHostRule());
o.add(buildHostRule());
return o;
}
-checkUnnamed2066(core.List<api.HostRule> o) {
+checkUnnamed2171(core.List<api.HostRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHostRule(o[0]);
checkHostRule(o[1]);
}
-buildUnnamed2067() {
+buildUnnamed2172() {
var o = new core.List<api.PathMatcher>();
o.add(buildPathMatcher());
o.add(buildPathMatcher());
return o;
}
-checkUnnamed2067(core.List<api.PathMatcher> o) {
+checkUnnamed2172(core.List<api.PathMatcher> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathMatcher(o[0]);
checkPathMatcher(o[1]);
}
-buildUnnamed2068() {
+buildUnnamed2173() {
var o = new core.List<api.UrlMapTest>();
o.add(buildUrlMapTest());
o.add(buildUrlMapTest());
return o;
}
-checkUnnamed2068(core.List<api.UrlMapTest> o) {
+checkUnnamed2173(core.List<api.UrlMapTest> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMapTest(o[0]);
checkUrlMapTest(o[1]);
@@ -8080,13 +8153,13 @@
o.defaultService = "foo";
o.description = "foo";
o.fingerprint = "foo";
- o.hostRules = buildUnnamed2066();
+ o.hostRules = buildUnnamed2171();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.pathMatchers = buildUnnamed2067();
+ o.pathMatchers = buildUnnamed2172();
o.selfLink = "foo";
- o.tests = buildUnnamed2068();
+ o.tests = buildUnnamed2173();
}
buildCounterUrlMap--;
return o;
@@ -8099,25 +8172,25 @@
unittest.expect(o.defaultService, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2066(o.hostRules);
+ checkUnnamed2171(o.hostRules);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2067(o.pathMatchers);
+ checkUnnamed2172(o.pathMatchers);
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2068(o.tests);
+ checkUnnamed2173(o.tests);
}
buildCounterUrlMap--;
}
-buildUnnamed2069() {
+buildUnnamed2174() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed2069(core.List<api.UrlMap> o) {
+checkUnnamed2174(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
@@ -8129,7 +8202,7 @@
buildCounterUrlMapList++;
if (buildCounterUrlMapList < 3) {
o.id = "foo";
- o.items = buildUnnamed2069();
+ o.items = buildUnnamed2174();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8142,7 +8215,7 @@
buildCounterUrlMapList++;
if (buildCounterUrlMapList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2069(o.items);
+ checkUnnamed2174(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8194,27 +8267,27 @@
buildCounterUrlMapTest--;
}
-buildUnnamed2070() {
+buildUnnamed2175() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2070(core.List<core.String> o) {
+checkUnnamed2175(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2071() {
+buildUnnamed2176() {
var o = new core.List<api.TestFailure>();
o.add(buildTestFailure());
o.add(buildTestFailure());
return o;
}
-checkUnnamed2071(core.List<api.TestFailure> o) {
+checkUnnamed2176(core.List<api.TestFailure> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestFailure(o[0]);
checkTestFailure(o[1]);
@@ -8225,9 +8298,9 @@
var o = new api.UrlMapValidationResult();
buildCounterUrlMapValidationResult++;
if (buildCounterUrlMapValidationResult < 3) {
- o.loadErrors = buildUnnamed2070();
+ o.loadErrors = buildUnnamed2175();
o.loadSucceeded = true;
- o.testFailures = buildUnnamed2071();
+ o.testFailures = buildUnnamed2176();
o.testPassed = true;
}
buildCounterUrlMapValidationResult--;
@@ -8237,9 +8310,9 @@
checkUrlMapValidationResult(api.UrlMapValidationResult o) {
buildCounterUrlMapValidationResult++;
if (buildCounterUrlMapValidationResult < 3) {
- checkUnnamed2070(o.loadErrors);
+ checkUnnamed2175(o.loadErrors);
unittest.expect(o.loadSucceeded, unittest.isTrue);
- checkUnnamed2071(o.testFailures);
+ checkUnnamed2176(o.testFailures);
unittest.expect(o.testPassed, unittest.isTrue);
}
buildCounterUrlMapValidationResult--;
@@ -8304,27 +8377,27 @@
buildCounterUsageExportLocation--;
}
-buildUnnamed2072() {
+buildUnnamed2177() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2072(core.List<core.String> o) {
+checkUnnamed2177(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2073() {
+buildUnnamed2178() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2073(core.List<core.String> o) {
+checkUnnamed2178(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8341,11 +8414,11 @@
o.id = "foo";
o.ikeVersion = 42;
o.kind = "foo";
- o.localTrafficSelector = buildUnnamed2072();
+ o.localTrafficSelector = buildUnnamed2177();
o.name = "foo";
o.peerIp = "foo";
o.region = "foo";
- o.remoteTrafficSelector = buildUnnamed2073();
+ o.remoteTrafficSelector = buildUnnamed2178();
o.router = "foo";
o.selfLink = "foo";
o.sharedSecret = "foo";
@@ -8366,11 +8439,11 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.ikeVersion, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2072(o.localTrafficSelector);
+ checkUnnamed2177(o.localTrafficSelector);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.peerIp, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed2073(o.remoteTrafficSelector);
+ checkUnnamed2178(o.remoteTrafficSelector);
unittest.expect(o.router, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.sharedSecret, unittest.equals('foo'));
@@ -8381,14 +8454,14 @@
buildCounterVpnTunnel--;
}
-buildUnnamed2074() {
+buildUnnamed2179() {
var o = new core.Map<core.String, api.VpnTunnelsScopedList>();
o["x"] = buildVpnTunnelsScopedList();
o["y"] = buildVpnTunnelsScopedList();
return o;
}
-checkUnnamed2074(core.Map<core.String, api.VpnTunnelsScopedList> o) {
+checkUnnamed2179(core.Map<core.String, api.VpnTunnelsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnelsScopedList(o["x"]);
checkVpnTunnelsScopedList(o["y"]);
@@ -8400,7 +8473,7 @@
buildCounterVpnTunnelAggregatedList++;
if (buildCounterVpnTunnelAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2074();
+ o.items = buildUnnamed2179();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8413,7 +8486,7 @@
buildCounterVpnTunnelAggregatedList++;
if (buildCounterVpnTunnelAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2074(o.items);
+ checkUnnamed2179(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8421,14 +8494,14 @@
buildCounterVpnTunnelAggregatedList--;
}
-buildUnnamed2075() {
+buildUnnamed2180() {
var o = new core.List<api.VpnTunnel>();
o.add(buildVpnTunnel());
o.add(buildVpnTunnel());
return o;
}
-checkUnnamed2075(core.List<api.VpnTunnel> o) {
+checkUnnamed2180(core.List<api.VpnTunnel> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnel(o[0]);
checkVpnTunnel(o[1]);
@@ -8440,7 +8513,7 @@
buildCounterVpnTunnelList++;
if (buildCounterVpnTunnelList < 3) {
o.id = "foo";
- o.items = buildUnnamed2075();
+ o.items = buildUnnamed2180();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8453,7 +8526,7 @@
buildCounterVpnTunnelList++;
if (buildCounterVpnTunnelList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2075(o.items);
+ checkUnnamed2180(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8461,14 +8534,14 @@
buildCounterVpnTunnelList--;
}
-buildUnnamed2076() {
+buildUnnamed2181() {
var o = new core.List<api.VpnTunnel>();
o.add(buildVpnTunnel());
o.add(buildVpnTunnel());
return o;
}
-checkUnnamed2076(core.List<api.VpnTunnel> o) {
+checkUnnamed2181(core.List<api.VpnTunnel> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnel(o[0]);
checkVpnTunnel(o[1]);
@@ -8495,14 +8568,14 @@
buildCounterVpnTunnelsScopedListWarningData--;
}
-buildUnnamed2077() {
+buildUnnamed2182() {
var o = new core.List<api.VpnTunnelsScopedListWarningData>();
o.add(buildVpnTunnelsScopedListWarningData());
o.add(buildVpnTunnelsScopedListWarningData());
return o;
}
-checkUnnamed2077(core.List<api.VpnTunnelsScopedListWarningData> o) {
+checkUnnamed2182(core.List<api.VpnTunnelsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnelsScopedListWarningData(o[0]);
checkVpnTunnelsScopedListWarningData(o[1]);
@@ -8514,7 +8587,7 @@
buildCounterVpnTunnelsScopedListWarning++;
if (buildCounterVpnTunnelsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2077();
+ o.data = buildUnnamed2182();
o.message = "foo";
}
buildCounterVpnTunnelsScopedListWarning--;
@@ -8525,7 +8598,7 @@
buildCounterVpnTunnelsScopedListWarning++;
if (buildCounterVpnTunnelsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2077(o.data);
+ checkUnnamed2182(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterVpnTunnelsScopedListWarning--;
@@ -8536,7 +8609,7 @@
var o = new api.VpnTunnelsScopedList();
buildCounterVpnTunnelsScopedList++;
if (buildCounterVpnTunnelsScopedList < 3) {
- o.vpnTunnels = buildUnnamed2076();
+ o.vpnTunnels = buildUnnamed2181();
o.warning = buildVpnTunnelsScopedListWarning();
}
buildCounterVpnTunnelsScopedList--;
@@ -8546,7 +8619,7 @@
checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) {
buildCounterVpnTunnelsScopedList++;
if (buildCounterVpnTunnelsScopedList < 3) {
- checkUnnamed2076(o.vpnTunnels);
+ checkUnnamed2181(o.vpnTunnels);
checkVpnTunnelsScopedListWarning(o.warning);
}
buildCounterVpnTunnelsScopedList--;
@@ -8587,14 +8660,14 @@
buildCounterZone--;
}
-buildUnnamed2078() {
+buildUnnamed2183() {
var o = new core.List<api.Zone>();
o.add(buildZone());
o.add(buildZone());
return o;
}
-checkUnnamed2078(core.List<api.Zone> o) {
+checkUnnamed2183(core.List<api.Zone> o) {
unittest.expect(o, unittest.hasLength(2));
checkZone(o[0]);
checkZone(o[1]);
@@ -8606,7 +8679,7 @@
buildCounterZoneList++;
if (buildCounterZoneList < 3) {
o.id = "foo";
- o.items = buildUnnamed2078();
+ o.items = buildUnnamed2183();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8619,7 +8692,7 @@
buildCounterZoneList++;
if (buildCounterZoneList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2078(o.items);
+ checkUnnamed2183(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8809,6 +8882,24 @@
});
+ unittest.group("obj-schema-BackendBucket", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildBackendBucket();
+ var od = new api.BackendBucket.fromJson(o.toJson());
+ checkBackendBucket(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-BackendBucketList", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildBackendBucketList();
+ var od = new api.BackendBucketList.fromJson(o.toJson());
+ checkBackendBucketList(od);
+ });
+ });
+
+
unittest.group("obj-schema-BackendService", () {
unittest.test("to-json--from-json", () {
var o = buildBackendService();
@@ -11376,6 +11467,286 @@
});
+ unittest.group("resource-BackendBucketsResourceApi", () {
+ unittest.test("method--delete", () {
+
+ var mock = new HttpServerMock();
+ api.BackendBucketsResourceApi res = new api.ComputeApi(mock).backendBuckets;
+ var arg_project = "foo";
+ var arg_backendBucket = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.delete(arg_project, arg_backendBucket).then(unittest.expectAsync(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
+ unittest.test("method--get", () {
+
+ var mock = new HttpServerMock();
+ api.BackendBucketsResourceApi res = new api.ComputeApi(mock).backendBuckets;
+ var arg_project = "foo";
+ var arg_backendBucket = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildBackendBucket());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.get(arg_project, arg_backendBucket).then(unittest.expectAsync(((api.BackendBucket response) {
+ checkBackendBucket(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+
+ var mock = new HttpServerMock();
+ api.BackendBucketsResourceApi res = new api.ComputeApi(mock).backendBuckets;
+ var arg_request = buildBackendBucket();
+ var arg_project = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.BackendBucket.fromJson(json);
+ checkBackendBucket(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.insert(arg_request, arg_project).then(unittest.expectAsync(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+
+ var mock = new HttpServerMock();
+ api.BackendBucketsResourceApi res = new api.ComputeApi(mock).backendBuckets;
+ var arg_project = "foo";
+ var arg_filter = "foo";
+ var arg_maxResults = 42;
+ var arg_orderBy = "foo";
+ var arg_pageToken = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var 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["maxResults"].first), unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildBackendBucketList());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, orderBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync(((api.BackendBucketList response) {
+ checkBackendBucketList(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+
+ var mock = new HttpServerMock();
+ api.BackendBucketsResourceApi res = new api.ComputeApi(mock).backendBuckets;
+ var arg_request = buildBackendBucket();
+ var arg_project = "foo";
+ var arg_backendBucket = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.BackendBucket.fromJson(json);
+ checkBackendBucket(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.patch(arg_request, arg_project, arg_backendBucket).then(unittest.expectAsync(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+
+ var mock = new HttpServerMock();
+ api.BackendBucketsResourceApi res = new api.ComputeApi(mock).backendBuckets;
+ var arg_request = buildBackendBucket();
+ var arg_project = "foo";
+ var arg_backendBucket = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.BackendBucket.fromJson(json);
+ checkBackendBucket(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.update(arg_request, arg_project, arg_backendBucket).then(unittest.expectAsync(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
+ });
+
+
unittest.group("resource-BackendServicesResourceApi", () {
unittest.test("method--aggregatedList", () {
diff --git a/generated/googleapis/test/consumersurveys/v2_test.dart b/generated/googleapis/test/consumersurveys/v2_test.dart
index 610d09f..6f6edac 100644
--- a/generated/googleapis/test/consumersurveys/v2_test.dart
+++ b/generated/googleapis/test/consumersurveys/v2_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed21() {
+buildUnnamed39() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed21(core.List<api.FieldMask> o) {
+checkUnnamed39(core.List<api.FieldMask> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldMask(o[0]);
checkFieldMask(o[1]);
@@ -69,7 +69,7 @@
var o = new api.FieldMask();
buildCounterFieldMask++;
if (buildCounterFieldMask < 3) {
- o.fields = buildUnnamed21();
+ o.fields = buildUnnamed39();
o.id = 42;
}
buildCounterFieldMask--;
@@ -79,20 +79,20 @@
checkFieldMask(api.FieldMask o) {
buildCounterFieldMask++;
if (buildCounterFieldMask < 3) {
- checkUnnamed21(o.fields);
+ checkUnnamed39(o.fields);
unittest.expect(o.id, unittest.equals(42));
}
buildCounterFieldMask--;
}
-buildUnnamed22() {
+buildUnnamed40() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed22(core.List<core.String> o) {
+checkUnnamed40(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -108,7 +108,7 @@
o.language = "foo";
o.mobileAppPanelId = "foo";
o.name = "foo";
- o.owners = buildUnnamed22();
+ o.owners = buildUnnamed40();
}
buildCounterMobileAppPanel--;
return o;
@@ -122,19 +122,19 @@
unittest.expect(o.language, unittest.equals('foo'));
unittest.expect(o.mobileAppPanelId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed22(o.owners);
+ checkUnnamed40(o.owners);
}
buildCounterMobileAppPanel--;
}
-buildUnnamed23() {
+buildUnnamed41() {
var o = new core.List<api.MobileAppPanel>();
o.add(buildMobileAppPanel());
o.add(buildMobileAppPanel());
return o;
}
-checkUnnamed23(core.List<api.MobileAppPanel> o) {
+checkUnnamed41(core.List<api.MobileAppPanel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileAppPanel(o[0]);
checkMobileAppPanel(o[1]);
@@ -147,7 +147,7 @@
if (buildCounterMobileAppPanelsListResponse < 3) {
o.pageInfo = buildPageInfo();
o.requestId = "foo";
- o.resources = buildUnnamed23();
+ o.resources = buildUnnamed41();
o.tokenPagination = buildTokenPagination();
}
buildCounterMobileAppPanelsListResponse--;
@@ -159,7 +159,7 @@
if (buildCounterMobileAppPanelsListResponse < 3) {
checkPageInfo(o.pageInfo);
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed23(o.resources);
+ checkUnnamed41(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterMobileAppPanelsListResponse--;
@@ -207,14 +207,14 @@
buildCounterResultsGetRequest--;
}
-buildUnnamed24() {
+buildUnnamed42() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed24(core.List<api.FieldMask> o) {
+checkUnnamed42(core.List<api.FieldMask> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldMask(o[0]);
checkFieldMask(o[1]);
@@ -225,7 +225,7 @@
var o = new api.ResultsMask();
buildCounterResultsMask++;
if (buildCounterResultsMask < 3) {
- o.fields = buildUnnamed24();
+ o.fields = buildUnnamed42();
o.projection = "foo";
}
buildCounterResultsMask--;
@@ -235,33 +235,33 @@
checkResultsMask(api.ResultsMask o) {
buildCounterResultsMask++;
if (buildCounterResultsMask < 3) {
- checkUnnamed24(o.fields);
+ checkUnnamed42(o.fields);
unittest.expect(o.projection, unittest.equals('foo'));
}
buildCounterResultsMask--;
}
-buildUnnamed25() {
+buildUnnamed43() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed25(core.List<core.String> o) {
+checkUnnamed43(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed26() {
+buildUnnamed44() {
var o = new core.List<api.SurveyQuestion>();
o.add(buildSurveyQuestion());
o.add(buildSurveyQuestion());
return o;
}
-checkUnnamed26(core.List<api.SurveyQuestion> o) {
+checkUnnamed44(core.List<api.SurveyQuestion> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurveyQuestion(o[0]);
checkSurveyQuestion(o[1]);
@@ -276,8 +276,8 @@
o.cost = buildSurveyCost();
o.customerData = "foo";
o.description = "foo";
- o.owners = buildUnnamed25();
- o.questions = buildUnnamed26();
+ o.owners = buildUnnamed43();
+ o.questions = buildUnnamed44();
o.rejectionReason = buildSurveyRejection();
o.state = "foo";
o.surveyUrlId = "foo";
@@ -295,8 +295,8 @@
checkSurveyCost(o.cost);
unittest.expect(o.customerData, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed25(o.owners);
- checkUnnamed26(o.questions);
+ checkUnnamed43(o.owners);
+ checkUnnamed44(o.questions);
checkSurveyRejection(o.rejectionReason);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.surveyUrlId, unittest.equals('foo'));
@@ -306,27 +306,27 @@
buildCounterSurvey--;
}
-buildUnnamed27() {
+buildUnnamed45() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed27(core.List<core.String> o) {
+checkUnnamed45(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed28() {
+buildUnnamed46() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed28(core.List<core.String> o) {
+checkUnnamed46(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -337,11 +337,11 @@
var o = new api.SurveyAudience();
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- o.ages = buildUnnamed27();
+ o.ages = buildUnnamed45();
o.country = "foo";
o.countrySubdivision = "foo";
o.gender = "foo";
- o.languages = buildUnnamed28();
+ o.languages = buildUnnamed46();
o.mobileAppPanelId = "foo";
o.populationSource = "foo";
}
@@ -352,11 +352,11 @@
checkSurveyAudience(api.SurveyAudience o) {
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- checkUnnamed27(o.ages);
+ checkUnnamed45(o.ages);
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.countrySubdivision, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
- checkUnnamed28(o.languages);
+ checkUnnamed46(o.languages);
unittest.expect(o.mobileAppPanelId, unittest.equals('foo'));
unittest.expect(o.populationSource, unittest.equals('foo'));
}
@@ -388,53 +388,53 @@
buildCounterSurveyCost--;
}
-buildUnnamed29() {
+buildUnnamed47() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed29(core.List<core.String> o) {
+checkUnnamed47(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed30() {
+buildUnnamed48() {
var o = new core.List<api.SurveyQuestionImage>();
o.add(buildSurveyQuestionImage());
o.add(buildSurveyQuestionImage());
return o;
}
-checkUnnamed30(core.List<api.SurveyQuestionImage> o) {
+checkUnnamed48(core.List<api.SurveyQuestionImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurveyQuestionImage(o[0]);
checkSurveyQuestionImage(o[1]);
}
-buildUnnamed31() {
+buildUnnamed49() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed31(core.List<core.String> o) {
+checkUnnamed49(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed32() {
+buildUnnamed50() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed32(core.List<core.String> o) {
+checkUnnamed50(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -446,20 +446,20 @@
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
o.answerOrder = "foo";
- o.answers = buildUnnamed29();
+ o.answers = buildUnnamed47();
o.hasOther = true;
o.highValueLabel = "foo";
- o.images = buildUnnamed30();
+ o.images = buildUnnamed48();
o.lastAnswerPositionPinned = true;
o.lowValueLabel = "foo";
o.mustPickSuggestion = true;
o.numStars = "foo";
o.openTextPlaceholder = "foo";
- o.openTextSuggestions = buildUnnamed31();
+ o.openTextSuggestions = buildUnnamed49();
o.question = "foo";
o.sentimentText = "foo";
o.singleLineResponse = true;
- o.thresholdAnswers = buildUnnamed32();
+ o.thresholdAnswers = buildUnnamed50();
o.type = "foo";
o.unitOfMeasurementLabel = "foo";
o.videoId = "foo";
@@ -472,20 +472,20 @@
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
unittest.expect(o.answerOrder, unittest.equals('foo'));
- checkUnnamed29(o.answers);
+ checkUnnamed47(o.answers);
unittest.expect(o.hasOther, unittest.isTrue);
unittest.expect(o.highValueLabel, unittest.equals('foo'));
- checkUnnamed30(o.images);
+ checkUnnamed48(o.images);
unittest.expect(o.lastAnswerPositionPinned, unittest.isTrue);
unittest.expect(o.lowValueLabel, unittest.equals('foo'));
unittest.expect(o.mustPickSuggestion, unittest.isTrue);
unittest.expect(o.numStars, unittest.equals('foo'));
unittest.expect(o.openTextPlaceholder, unittest.equals('foo'));
- checkUnnamed31(o.openTextSuggestions);
+ checkUnnamed49(o.openTextSuggestions);
unittest.expect(o.question, unittest.equals('foo'));
unittest.expect(o.sentimentText, unittest.equals('foo'));
unittest.expect(o.singleLineResponse, unittest.isTrue);
- checkUnnamed32(o.thresholdAnswers);
+ checkUnnamed50(o.thresholdAnswers);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.unitOfMeasurementLabel, unittest.equals('foo'));
unittest.expect(o.videoId, unittest.equals('foo'));
@@ -577,14 +577,14 @@
buildCounterSurveysDeleteResponse--;
}
-buildUnnamed33() {
+buildUnnamed51() {
var o = new core.List<api.Survey>();
o.add(buildSurvey());
o.add(buildSurvey());
return o;
}
-checkUnnamed33(core.List<api.Survey> o) {
+checkUnnamed51(core.List<api.Survey> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurvey(o[0]);
checkSurvey(o[1]);
@@ -597,7 +597,7 @@
if (buildCounterSurveysListResponse < 3) {
o.pageInfo = buildPageInfo();
o.requestId = "foo";
- o.resources = buildUnnamed33();
+ o.resources = buildUnnamed51();
o.tokenPagination = buildTokenPagination();
}
buildCounterSurveysListResponse--;
@@ -609,7 +609,7 @@
if (buildCounterSurveysListResponse < 3) {
checkPageInfo(o.pageInfo);
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed33(o.resources);
+ checkUnnamed51(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterSurveysListResponse--;
diff --git a/generated/googleapis/test/container/v1_test.dart b/generated/googleapis/test/container/v1_test.dart
index 752a1ac..ce741bd 100644
--- a/generated/googleapis/test/container/v1_test.dart
+++ b/generated/googleapis/test/container/v1_test.dart
@@ -110,40 +110,40 @@
buildCounterCancelOperationRequest--;
}
-buildUnnamed1569() {
+buildUnnamed1637() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1569(core.List<core.String> o) {
+checkUnnamed1637(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1570() {
+buildUnnamed1638() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1570(core.List<core.String> o) {
+checkUnnamed1638(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1571() {
+buildUnnamed1639() {
var o = new core.List<api.NodePool>();
o.add(buildNodePool());
o.add(buildNodePool());
return o;
}
-checkUnnamed1571(core.List<api.NodePool> o) {
+checkUnnamed1639(core.List<api.NodePool> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodePool(o[0]);
checkNodePool(o[1]);
@@ -166,8 +166,8 @@
o.expireTime = "foo";
o.initialClusterVersion = "foo";
o.initialNodeCount = 42;
- o.instanceGroupUrls = buildUnnamed1569();
- o.locations = buildUnnamed1570();
+ o.instanceGroupUrls = buildUnnamed1637();
+ o.locations = buildUnnamed1638();
o.loggingService = "foo";
o.masterAuth = buildMasterAuth();
o.monitoringService = "foo";
@@ -175,7 +175,7 @@
o.network = "foo";
o.nodeConfig = buildNodeConfig();
o.nodeIpv4CidrSize = 42;
- o.nodePools = buildUnnamed1571();
+ o.nodePools = buildUnnamed1639();
o.selfLink = "foo";
o.servicesIpv4Cidr = "foo";
o.status = "foo";
@@ -202,8 +202,8 @@
unittest.expect(o.expireTime, unittest.equals('foo'));
unittest.expect(o.initialClusterVersion, unittest.equals('foo'));
unittest.expect(o.initialNodeCount, unittest.equals(42));
- checkUnnamed1569(o.instanceGroupUrls);
- checkUnnamed1570(o.locations);
+ checkUnnamed1637(o.instanceGroupUrls);
+ checkUnnamed1638(o.locations);
unittest.expect(o.loggingService, unittest.equals('foo'));
checkMasterAuth(o.masterAuth);
unittest.expect(o.monitoringService, unittest.equals('foo'));
@@ -211,7 +211,7 @@
unittest.expect(o.network, unittest.equals('foo'));
checkNodeConfig(o.nodeConfig);
unittest.expect(o.nodeIpv4CidrSize, unittest.equals(42));
- checkUnnamed1571(o.nodePools);
+ checkUnnamed1639(o.nodePools);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.servicesIpv4Cidr, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
@@ -222,14 +222,14 @@
buildCounterCluster--;
}
-buildUnnamed1572() {
+buildUnnamed1640() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1572(core.List<core.String> o) {
+checkUnnamed1640(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -242,7 +242,7 @@
if (buildCounterClusterUpdate < 3) {
o.desiredAddonsConfig = buildAddonsConfig();
o.desiredImageType = "foo";
- o.desiredLocations = buildUnnamed1572();
+ o.desiredLocations = buildUnnamed1640();
o.desiredMasterVersion = "foo";
o.desiredMonitoringService = "foo";
o.desiredNodePoolAutoscaling = buildNodePoolAutoscaling();
@@ -258,7 +258,7 @@
if (buildCounterClusterUpdate < 3) {
checkAddonsConfig(o.desiredAddonsConfig);
unittest.expect(o.desiredImageType, unittest.equals('foo'));
- checkUnnamed1572(o.desiredLocations);
+ checkUnnamed1640(o.desiredLocations);
unittest.expect(o.desiredMasterVersion, unittest.equals('foo'));
unittest.expect(o.desiredMonitoringService, unittest.equals('foo'));
checkNodePoolAutoscaling(o.desiredNodePoolAutoscaling);
@@ -361,27 +361,27 @@
buildCounterHttpLoadBalancing--;
}
-buildUnnamed1573() {
+buildUnnamed1641() {
var o = new core.List<api.Cluster>();
o.add(buildCluster());
o.add(buildCluster());
return o;
}
-checkUnnamed1573(core.List<api.Cluster> o) {
+checkUnnamed1641(core.List<api.Cluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkCluster(o[0]);
checkCluster(o[1]);
}
-buildUnnamed1574() {
+buildUnnamed1642() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1574(core.List<core.String> o) {
+checkUnnamed1642(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -392,8 +392,8 @@
var o = new api.ListClustersResponse();
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- o.clusters = buildUnnamed1573();
- o.missingZones = buildUnnamed1574();
+ o.clusters = buildUnnamed1641();
+ o.missingZones = buildUnnamed1642();
}
buildCounterListClustersResponse--;
return o;
@@ -402,20 +402,20 @@
checkListClustersResponse(api.ListClustersResponse o) {
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- checkUnnamed1573(o.clusters);
- checkUnnamed1574(o.missingZones);
+ checkUnnamed1641(o.clusters);
+ checkUnnamed1642(o.missingZones);
}
buildCounterListClustersResponse--;
}
-buildUnnamed1575() {
+buildUnnamed1643() {
var o = new core.List<api.NodePool>();
o.add(buildNodePool());
o.add(buildNodePool());
return o;
}
-checkUnnamed1575(core.List<api.NodePool> o) {
+checkUnnamed1643(core.List<api.NodePool> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodePool(o[0]);
checkNodePool(o[1]);
@@ -426,7 +426,7 @@
var o = new api.ListNodePoolsResponse();
buildCounterListNodePoolsResponse++;
if (buildCounterListNodePoolsResponse < 3) {
- o.nodePools = buildUnnamed1575();
+ o.nodePools = buildUnnamed1643();
}
buildCounterListNodePoolsResponse--;
return o;
@@ -435,32 +435,32 @@
checkListNodePoolsResponse(api.ListNodePoolsResponse o) {
buildCounterListNodePoolsResponse++;
if (buildCounterListNodePoolsResponse < 3) {
- checkUnnamed1575(o.nodePools);
+ checkUnnamed1643(o.nodePools);
}
buildCounterListNodePoolsResponse--;
}
-buildUnnamed1576() {
+buildUnnamed1644() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1576(core.List<core.String> o) {
+checkUnnamed1644(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1577() {
+buildUnnamed1645() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1577(core.List<api.Operation> o) {
+checkUnnamed1645(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -471,8 +471,8 @@
var o = new api.ListOperationsResponse();
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
- o.missingZones = buildUnnamed1576();
- o.operations = buildUnnamed1577();
+ o.missingZones = buildUnnamed1644();
+ o.operations = buildUnnamed1645();
}
buildCounterListOperationsResponse--;
return o;
@@ -481,8 +481,8 @@
checkListOperationsResponse(api.ListOperationsResponse o) {
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
- checkUnnamed1576(o.missingZones);
- checkUnnamed1577(o.operations);
+ checkUnnamed1644(o.missingZones);
+ checkUnnamed1645(o.operations);
}
buildCounterListOperationsResponse--;
}
@@ -514,53 +514,53 @@
buildCounterMasterAuth--;
}
-buildUnnamed1578() {
+buildUnnamed1646() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1578(core.Map<core.String, core.String> o) {
+checkUnnamed1646(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1579() {
+buildUnnamed1647() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1579(core.Map<core.String, core.String> o) {
+checkUnnamed1647(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1580() {
+buildUnnamed1648() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1580(core.List<core.String> o) {
+checkUnnamed1648(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1581() {
+buildUnnamed1649() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1581(core.List<core.String> o) {
+checkUnnamed1649(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -573,14 +573,14 @@
if (buildCounterNodeConfig < 3) {
o.diskSizeGb = 42;
o.imageType = "foo";
- o.labels = buildUnnamed1578();
+ o.labels = buildUnnamed1646();
o.localSsdCount = 42;
o.machineType = "foo";
- o.metadata = buildUnnamed1579();
- o.oauthScopes = buildUnnamed1580();
+ o.metadata = buildUnnamed1647();
+ o.oauthScopes = buildUnnamed1648();
o.preemptible = true;
o.serviceAccount = "foo";
- o.tags = buildUnnamed1581();
+ o.tags = buildUnnamed1649();
}
buildCounterNodeConfig--;
return o;
@@ -591,14 +591,14 @@
if (buildCounterNodeConfig < 3) {
unittest.expect(o.diskSizeGb, unittest.equals(42));
unittest.expect(o.imageType, unittest.equals('foo'));
- checkUnnamed1578(o.labels);
+ checkUnnamed1646(o.labels);
unittest.expect(o.localSsdCount, unittest.equals(42));
unittest.expect(o.machineType, unittest.equals('foo'));
- checkUnnamed1579(o.metadata);
- checkUnnamed1580(o.oauthScopes);
+ checkUnnamed1647(o.metadata);
+ checkUnnamed1648(o.oauthScopes);
unittest.expect(o.preemptible, unittest.isTrue);
unittest.expect(o.serviceAccount, unittest.equals('foo'));
- checkUnnamed1581(o.tags);
+ checkUnnamed1649(o.tags);
}
buildCounterNodeConfig--;
}
@@ -624,14 +624,14 @@
buildCounterNodeManagement--;
}
-buildUnnamed1582() {
+buildUnnamed1650() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1582(core.List<core.String> o) {
+checkUnnamed1650(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -645,7 +645,7 @@
o.autoscaling = buildNodePoolAutoscaling();
o.config = buildNodeConfig();
o.initialNodeCount = 42;
- o.instanceGroupUrls = buildUnnamed1582();
+ o.instanceGroupUrls = buildUnnamed1650();
o.management = buildNodeManagement();
o.name = "foo";
o.selfLink = "foo";
@@ -663,7 +663,7 @@
checkNodePoolAutoscaling(o.autoscaling);
checkNodeConfig(o.config);
unittest.expect(o.initialNodeCount, unittest.equals(42));
- checkUnnamed1582(o.instanceGroupUrls);
+ checkUnnamed1650(o.instanceGroupUrls);
checkNodeManagement(o.management);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -747,40 +747,40 @@
buildCounterRollbackNodePoolUpgradeRequest--;
}
-buildUnnamed1583() {
+buildUnnamed1651() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1583(core.List<core.String> o) {
+checkUnnamed1651(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1584() {
+buildUnnamed1652() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1584(core.List<core.String> o) {
+checkUnnamed1652(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1585() {
+buildUnnamed1653() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1585(core.List<core.String> o) {
+checkUnnamed1653(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -793,9 +793,9 @@
if (buildCounterServerConfig < 3) {
o.defaultClusterVersion = "foo";
o.defaultImageType = "foo";
- o.validImageTypes = buildUnnamed1583();
- o.validMasterVersions = buildUnnamed1584();
- o.validNodeVersions = buildUnnamed1585();
+ o.validImageTypes = buildUnnamed1651();
+ o.validMasterVersions = buildUnnamed1652();
+ o.validNodeVersions = buildUnnamed1653();
}
buildCounterServerConfig--;
return o;
@@ -806,9 +806,9 @@
if (buildCounterServerConfig < 3) {
unittest.expect(o.defaultClusterVersion, unittest.equals('foo'));
unittest.expect(o.defaultImageType, unittest.equals('foo'));
- checkUnnamed1583(o.validImageTypes);
- checkUnnamed1584(o.validMasterVersions);
- checkUnnamed1585(o.validNodeVersions);
+ checkUnnamed1651(o.validImageTypes);
+ checkUnnamed1652(o.validMasterVersions);
+ checkUnnamed1653(o.validNodeVersions);
}
buildCounterServerConfig--;
}
diff --git a/generated/googleapis/test/content/v2_test.dart b/generated/googleapis/test/content/v2_test.dart
index 66ff197..5a78f09 100644
--- a/generated/googleapis/test/content/v2_test.dart
+++ b/generated/googleapis/test/content/v2_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed254() {
+buildUnnamed275() {
var o = new core.List<api.AccountAdwordsLink>();
o.add(buildAccountAdwordsLink());
o.add(buildAccountAdwordsLink());
return o;
}
-checkUnnamed254(core.List<api.AccountAdwordsLink> o) {
+checkUnnamed275(core.List<api.AccountAdwordsLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountAdwordsLink(o[0]);
checkAccountAdwordsLink(o[1]);
}
-buildUnnamed255() {
+buildUnnamed276() {
var o = new core.List<api.AccountUser>();
o.add(buildAccountUser());
o.add(buildAccountUser());
return o;
}
-checkUnnamed255(core.List<api.AccountUser> o) {
+checkUnnamed276(core.List<api.AccountUser> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountUser(o[0]);
checkAccountUser(o[1]);
@@ -83,13 +83,13 @@
buildCounterAccount++;
if (buildCounterAccount < 3) {
o.adultContent = true;
- o.adwordsLinks = buildUnnamed254();
+ o.adwordsLinks = buildUnnamed275();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
o.reviewsUrl = "foo";
o.sellerId = "foo";
- o.users = buildUnnamed255();
+ o.users = buildUnnamed276();
o.websiteUrl = "foo";
}
buildCounterAccount--;
@@ -100,13 +100,13 @@
buildCounterAccount++;
if (buildCounterAccount < 3) {
unittest.expect(o.adultContent, unittest.isTrue);
- checkUnnamed254(o.adwordsLinks);
+ checkUnnamed275(o.adwordsLinks);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.reviewsUrl, unittest.equals('foo'));
unittest.expect(o.sellerId, unittest.equals('foo'));
- checkUnnamed255(o.users);
+ checkUnnamed276(o.users);
unittest.expect(o.websiteUrl, unittest.equals('foo'));
}
buildCounterAccount--;
@@ -154,53 +154,53 @@
buildCounterAccountIdentifier--;
}
-buildUnnamed256() {
+buildUnnamed277() {
var o = new core.List<api.AccountShippingCarrierRate>();
o.add(buildAccountShippingCarrierRate());
o.add(buildAccountShippingCarrierRate());
return o;
}
-checkUnnamed256(core.List<api.AccountShippingCarrierRate> o) {
+checkUnnamed277(core.List<api.AccountShippingCarrierRate> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountShippingCarrierRate(o[0]);
checkAccountShippingCarrierRate(o[1]);
}
-buildUnnamed257() {
+buildUnnamed278() {
var o = new core.List<api.AccountShippingLocationGroup>();
o.add(buildAccountShippingLocationGroup());
o.add(buildAccountShippingLocationGroup());
return o;
}
-checkUnnamed257(core.List<api.AccountShippingLocationGroup> o) {
+checkUnnamed278(core.List<api.AccountShippingLocationGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountShippingLocationGroup(o[0]);
checkAccountShippingLocationGroup(o[1]);
}
-buildUnnamed258() {
+buildUnnamed279() {
var o = new core.List<api.AccountShippingRateTable>();
o.add(buildAccountShippingRateTable());
o.add(buildAccountShippingRateTable());
return o;
}
-checkUnnamed258(core.List<api.AccountShippingRateTable> o) {
+checkUnnamed279(core.List<api.AccountShippingRateTable> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountShippingRateTable(o[0]);
checkAccountShippingRateTable(o[1]);
}
-buildUnnamed259() {
+buildUnnamed280() {
var o = new core.List<api.AccountShippingShippingService>();
o.add(buildAccountShippingShippingService());
o.add(buildAccountShippingShippingService());
return o;
}
-checkUnnamed259(core.List<api.AccountShippingShippingService> o) {
+checkUnnamed280(core.List<api.AccountShippingShippingService> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountShippingShippingService(o[0]);
checkAccountShippingShippingService(o[1]);
@@ -212,11 +212,11 @@
buildCounterAccountShipping++;
if (buildCounterAccountShipping < 3) {
o.accountId = "foo";
- o.carrierRates = buildUnnamed256();
+ o.carrierRates = buildUnnamed277();
o.kind = "foo";
- o.locationGroups = buildUnnamed257();
- o.rateTables = buildUnnamed258();
- o.services = buildUnnamed259();
+ o.locationGroups = buildUnnamed278();
+ o.rateTables = buildUnnamed279();
+ o.services = buildUnnamed280();
}
buildCounterAccountShipping--;
return o;
@@ -226,11 +226,11 @@
buildCounterAccountShipping++;
if (buildCounterAccountShipping < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed256(o.carrierRates);
+ checkUnnamed277(o.carrierRates);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed257(o.locationGroups);
- checkUnnamed258(o.rateTables);
- checkUnnamed259(o.services);
+ checkUnnamed278(o.locationGroups);
+ checkUnnamed279(o.rateTables);
+ checkUnnamed280(o.services);
}
buildCounterAccountShipping--;
}
@@ -297,40 +297,40 @@
buildCounterAccountShippingCondition--;
}
-buildUnnamed260() {
+buildUnnamed281() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed260(core.List<core.String> o) {
+checkUnnamed281(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed261() {
+buildUnnamed282() {
var o = new core.List<api.AccountShippingPostalCodeRange>();
o.add(buildAccountShippingPostalCodeRange());
o.add(buildAccountShippingPostalCodeRange());
return o;
}
-checkUnnamed261(core.List<api.AccountShippingPostalCodeRange> o) {
+checkUnnamed282(core.List<api.AccountShippingPostalCodeRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountShippingPostalCodeRange(o[0]);
checkAccountShippingPostalCodeRange(o[1]);
}
-buildUnnamed262() {
+buildUnnamed283() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed262(core.List<core.String> o) {
+checkUnnamed283(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -342,10 +342,10 @@
buildCounterAccountShippingLocationGroup++;
if (buildCounterAccountShippingLocationGroup < 3) {
o.country = "foo";
- o.locationIds = buildUnnamed260();
+ o.locationIds = buildUnnamed281();
o.name = "foo";
- o.postalCodeRanges = buildUnnamed261();
- o.postalCodes = buildUnnamed262();
+ o.postalCodeRanges = buildUnnamed282();
+ o.postalCodes = buildUnnamed283();
}
buildCounterAccountShippingLocationGroup--;
return o;
@@ -355,10 +355,10 @@
buildCounterAccountShippingLocationGroup++;
if (buildCounterAccountShippingLocationGroup < 3) {
unittest.expect(o.country, unittest.equals('foo'));
- checkUnnamed260(o.locationIds);
+ checkUnnamed281(o.locationIds);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed261(o.postalCodeRanges);
- checkUnnamed262(o.postalCodes);
+ checkUnnamed282(o.postalCodeRanges);
+ checkUnnamed283(o.postalCodes);
}
buildCounterAccountShippingLocationGroup--;
}
@@ -384,14 +384,14 @@
buildCounterAccountShippingPostalCodeRange--;
}
-buildUnnamed263() {
+buildUnnamed284() {
var o = new core.List<api.AccountShippingRateTableCell>();
o.add(buildAccountShippingRateTableCell());
o.add(buildAccountShippingRateTableCell());
return o;
}
-checkUnnamed263(core.List<api.AccountShippingRateTableCell> o) {
+checkUnnamed284(core.List<api.AccountShippingRateTableCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountShippingRateTableCell(o[0]);
checkAccountShippingRateTableCell(o[1]);
@@ -402,7 +402,7 @@
var o = new api.AccountShippingRateTable();
buildCounterAccountShippingRateTable++;
if (buildCounterAccountShippingRateTable < 3) {
- o.content = buildUnnamed263();
+ o.content = buildUnnamed284();
o.name = "foo";
o.saleCountry = "foo";
}
@@ -413,7 +413,7 @@
checkAccountShippingRateTable(api.AccountShippingRateTable o) {
buildCounterAccountShippingRateTable++;
if (buildCounterAccountShippingRateTable < 3) {
- checkUnnamed263(o.content);
+ checkUnnamed284(o.content);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.saleCountry, unittest.equals('foo'));
}
@@ -499,14 +499,14 @@
buildCounterAccountShippingShippingServiceCalculationMethod--;
}
-buildUnnamed264() {
+buildUnnamed285() {
var o = new core.List<api.AccountShippingShippingServiceCostRule>();
o.add(buildAccountShippingShippingServiceCostRule());
o.add(buildAccountShippingShippingServiceCostRule());
return o;
}
-checkUnnamed264(core.List<api.AccountShippingShippingServiceCostRule> o) {
+checkUnnamed285(core.List<api.AccountShippingShippingServiceCostRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountShippingShippingServiceCostRule(o[0]);
checkAccountShippingShippingServiceCostRule(o[1]);
@@ -518,7 +518,7 @@
buildCounterAccountShippingShippingServiceCostRule++;
if (buildCounterAccountShippingShippingServiceCostRule < 3) {
o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod();
- o.children = buildUnnamed264();
+ o.children = buildUnnamed285();
o.condition = buildAccountShippingCondition();
}
buildCounterAccountShippingShippingServiceCostRule--;
@@ -529,20 +529,20 @@
buildCounterAccountShippingShippingServiceCostRule++;
if (buildCounterAccountShippingShippingServiceCostRule < 3) {
checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod);
- checkUnnamed264(o.children);
+ checkUnnamed285(o.children);
checkAccountShippingCondition(o.condition);
}
buildCounterAccountShippingShippingServiceCostRule--;
}
-buildUnnamed265() {
+buildUnnamed286() {
var o = new core.List<api.AccountStatusDataQualityIssue>();
o.add(buildAccountStatusDataQualityIssue());
o.add(buildAccountStatusDataQualityIssue());
return o;
}
-checkUnnamed265(core.List<api.AccountStatusDataQualityIssue> o) {
+checkUnnamed286(core.List<api.AccountStatusDataQualityIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountStatusDataQualityIssue(o[0]);
checkAccountStatusDataQualityIssue(o[1]);
@@ -554,7 +554,7 @@
buildCounterAccountStatus++;
if (buildCounterAccountStatus < 3) {
o.accountId = "foo";
- o.dataQualityIssues = buildUnnamed265();
+ o.dataQualityIssues = buildUnnamed286();
o.kind = "foo";
}
buildCounterAccountStatus--;
@@ -565,20 +565,20 @@
buildCounterAccountStatus++;
if (buildCounterAccountStatus < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed265(o.dataQualityIssues);
+ checkUnnamed286(o.dataQualityIssues);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountStatus--;
}
-buildUnnamed266() {
+buildUnnamed287() {
var o = new core.List<api.AccountStatusExampleItem>();
o.add(buildAccountStatusExampleItem());
o.add(buildAccountStatusExampleItem());
return o;
}
-checkUnnamed266(core.List<api.AccountStatusExampleItem> o) {
+checkUnnamed287(core.List<api.AccountStatusExampleItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountStatusExampleItem(o[0]);
checkAccountStatusExampleItem(o[1]);
@@ -592,7 +592,7 @@
o.country = "foo";
o.detail = "foo";
o.displayedValue = "foo";
- o.exampleItems = buildUnnamed266();
+ o.exampleItems = buildUnnamed287();
o.id = "foo";
o.lastChecked = "foo";
o.location = "foo";
@@ -610,7 +610,7 @@
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.detail, unittest.equals('foo'));
unittest.expect(o.displayedValue, unittest.equals('foo'));
- checkUnnamed266(o.exampleItems);
+ checkUnnamed287(o.exampleItems);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.lastChecked, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
@@ -648,14 +648,14 @@
buildCounterAccountStatusExampleItem--;
}
-buildUnnamed267() {
+buildUnnamed288() {
var o = new core.List<api.AccountTaxTaxRule>();
o.add(buildAccountTaxTaxRule());
o.add(buildAccountTaxTaxRule());
return o;
}
-checkUnnamed267(core.List<api.AccountTaxTaxRule> o) {
+checkUnnamed288(core.List<api.AccountTaxTaxRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountTaxTaxRule(o[0]);
checkAccountTaxTaxRule(o[1]);
@@ -668,7 +668,7 @@
if (buildCounterAccountTax < 3) {
o.accountId = "foo";
o.kind = "foo";
- o.rules = buildUnnamed267();
+ o.rules = buildUnnamed288();
}
buildCounterAccountTax--;
return o;
@@ -679,7 +679,7 @@
if (buildCounterAccountTax < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed267(o.rules);
+ checkUnnamed288(o.rules);
}
buildCounterAccountTax--;
}
@@ -732,14 +732,14 @@
buildCounterAccountUser--;
}
-buildUnnamed268() {
+buildUnnamed289() {
var o = new core.List<api.AccountIdentifier>();
o.add(buildAccountIdentifier());
o.add(buildAccountIdentifier());
return o;
}
-checkUnnamed268(core.List<api.AccountIdentifier> o) {
+checkUnnamed289(core.List<api.AccountIdentifier> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountIdentifier(o[0]);
checkAccountIdentifier(o[1]);
@@ -750,7 +750,7 @@
var o = new api.AccountsAuthInfoResponse();
buildCounterAccountsAuthInfoResponse++;
if (buildCounterAccountsAuthInfoResponse < 3) {
- o.accountIdentifiers = buildUnnamed268();
+ o.accountIdentifiers = buildUnnamed289();
o.kind = "foo";
}
buildCounterAccountsAuthInfoResponse--;
@@ -760,20 +760,20 @@
checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) {
buildCounterAccountsAuthInfoResponse++;
if (buildCounterAccountsAuthInfoResponse < 3) {
- checkUnnamed268(o.accountIdentifiers);
+ checkUnnamed289(o.accountIdentifiers);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsAuthInfoResponse--;
}
-buildUnnamed269() {
+buildUnnamed290() {
var o = new core.List<api.AccountsCustomBatchRequestEntry>();
o.add(buildAccountsCustomBatchRequestEntry());
o.add(buildAccountsCustomBatchRequestEntry());
return o;
}
-checkUnnamed269(core.List<api.AccountsCustomBatchRequestEntry> o) {
+checkUnnamed290(core.List<api.AccountsCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountsCustomBatchRequestEntry(o[0]);
checkAccountsCustomBatchRequestEntry(o[1]);
@@ -784,7 +784,7 @@
var o = new api.AccountsCustomBatchRequest();
buildCounterAccountsCustomBatchRequest++;
if (buildCounterAccountsCustomBatchRequest < 3) {
- o.entries = buildUnnamed269();
+ o.entries = buildUnnamed290();
}
buildCounterAccountsCustomBatchRequest--;
return o;
@@ -793,7 +793,7 @@
checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) {
buildCounterAccountsCustomBatchRequest++;
if (buildCounterAccountsCustomBatchRequest < 3) {
- checkUnnamed269(o.entries);
+ checkUnnamed290(o.entries);
}
buildCounterAccountsCustomBatchRequest--;
}
@@ -825,14 +825,14 @@
buildCounterAccountsCustomBatchRequestEntry--;
}
-buildUnnamed270() {
+buildUnnamed291() {
var o = new core.List<api.AccountsCustomBatchResponseEntry>();
o.add(buildAccountsCustomBatchResponseEntry());
o.add(buildAccountsCustomBatchResponseEntry());
return o;
}
-checkUnnamed270(core.List<api.AccountsCustomBatchResponseEntry> o) {
+checkUnnamed291(core.List<api.AccountsCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountsCustomBatchResponseEntry(o[0]);
checkAccountsCustomBatchResponseEntry(o[1]);
@@ -843,7 +843,7 @@
var o = new api.AccountsCustomBatchResponse();
buildCounterAccountsCustomBatchResponse++;
if (buildCounterAccountsCustomBatchResponse < 3) {
- o.entries = buildUnnamed270();
+ o.entries = buildUnnamed291();
o.kind = "foo";
}
buildCounterAccountsCustomBatchResponse--;
@@ -853,7 +853,7 @@
checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) {
buildCounterAccountsCustomBatchResponse++;
if (buildCounterAccountsCustomBatchResponse < 3) {
- checkUnnamed270(o.entries);
+ checkUnnamed291(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsCustomBatchResponse--;
@@ -884,14 +884,14 @@
buildCounterAccountsCustomBatchResponseEntry--;
}
-buildUnnamed271() {
+buildUnnamed292() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed271(core.List<api.Account> o) {
+checkUnnamed292(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -904,7 +904,7 @@
if (buildCounterAccountsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed271();
+ o.resources = buildUnnamed292();
}
buildCounterAccountsListResponse--;
return o;
@@ -915,19 +915,19 @@
if (buildCounterAccountsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed271(o.resources);
+ checkUnnamed292(o.resources);
}
buildCounterAccountsListResponse--;
}
-buildUnnamed272() {
+buildUnnamed293() {
var o = new core.List<api.AccountshippingCustomBatchRequestEntry>();
o.add(buildAccountshippingCustomBatchRequestEntry());
o.add(buildAccountshippingCustomBatchRequestEntry());
return o;
}
-checkUnnamed272(core.List<api.AccountshippingCustomBatchRequestEntry> o) {
+checkUnnamed293(core.List<api.AccountshippingCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountshippingCustomBatchRequestEntry(o[0]);
checkAccountshippingCustomBatchRequestEntry(o[1]);
@@ -938,7 +938,7 @@
var o = new api.AccountshippingCustomBatchRequest();
buildCounterAccountshippingCustomBatchRequest++;
if (buildCounterAccountshippingCustomBatchRequest < 3) {
- o.entries = buildUnnamed272();
+ o.entries = buildUnnamed293();
}
buildCounterAccountshippingCustomBatchRequest--;
return o;
@@ -947,7 +947,7 @@
checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o) {
buildCounterAccountshippingCustomBatchRequest++;
if (buildCounterAccountshippingCustomBatchRequest < 3) {
- checkUnnamed272(o.entries);
+ checkUnnamed293(o.entries);
}
buildCounterAccountshippingCustomBatchRequest--;
}
@@ -979,14 +979,14 @@
buildCounterAccountshippingCustomBatchRequestEntry--;
}
-buildUnnamed273() {
+buildUnnamed294() {
var o = new core.List<api.AccountshippingCustomBatchResponseEntry>();
o.add(buildAccountshippingCustomBatchResponseEntry());
o.add(buildAccountshippingCustomBatchResponseEntry());
return o;
}
-checkUnnamed273(core.List<api.AccountshippingCustomBatchResponseEntry> o) {
+checkUnnamed294(core.List<api.AccountshippingCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountshippingCustomBatchResponseEntry(o[0]);
checkAccountshippingCustomBatchResponseEntry(o[1]);
@@ -997,7 +997,7 @@
var o = new api.AccountshippingCustomBatchResponse();
buildCounterAccountshippingCustomBatchResponse++;
if (buildCounterAccountshippingCustomBatchResponse < 3) {
- o.entries = buildUnnamed273();
+ o.entries = buildUnnamed294();
o.kind = "foo";
}
buildCounterAccountshippingCustomBatchResponse--;
@@ -1007,7 +1007,7 @@
checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o) {
buildCounterAccountshippingCustomBatchResponse++;
if (buildCounterAccountshippingCustomBatchResponse < 3) {
- checkUnnamed273(o.entries);
+ checkUnnamed294(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountshippingCustomBatchResponse--;
@@ -1038,14 +1038,14 @@
buildCounterAccountshippingCustomBatchResponseEntry--;
}
-buildUnnamed274() {
+buildUnnamed295() {
var o = new core.List<api.AccountShipping>();
o.add(buildAccountShipping());
o.add(buildAccountShipping());
return o;
}
-checkUnnamed274(core.List<api.AccountShipping> o) {
+checkUnnamed295(core.List<api.AccountShipping> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountShipping(o[0]);
checkAccountShipping(o[1]);
@@ -1058,7 +1058,7 @@
if (buildCounterAccountshippingListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed274();
+ o.resources = buildUnnamed295();
}
buildCounterAccountshippingListResponse--;
return o;
@@ -1069,19 +1069,19 @@
if (buildCounterAccountshippingListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed274(o.resources);
+ checkUnnamed295(o.resources);
}
buildCounterAccountshippingListResponse--;
}
-buildUnnamed275() {
+buildUnnamed296() {
var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>();
o.add(buildAccountstatusesCustomBatchRequestEntry());
o.add(buildAccountstatusesCustomBatchRequestEntry());
return o;
}
-checkUnnamed275(core.List<api.AccountstatusesCustomBatchRequestEntry> o) {
+checkUnnamed296(core.List<api.AccountstatusesCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountstatusesCustomBatchRequestEntry(o[0]);
checkAccountstatusesCustomBatchRequestEntry(o[1]);
@@ -1092,7 +1092,7 @@
var o = new api.AccountstatusesCustomBatchRequest();
buildCounterAccountstatusesCustomBatchRequest++;
if (buildCounterAccountstatusesCustomBatchRequest < 3) {
- o.entries = buildUnnamed275();
+ o.entries = buildUnnamed296();
}
buildCounterAccountstatusesCustomBatchRequest--;
return o;
@@ -1101,7 +1101,7 @@
checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o) {
buildCounterAccountstatusesCustomBatchRequest++;
if (buildCounterAccountstatusesCustomBatchRequest < 3) {
- checkUnnamed275(o.entries);
+ checkUnnamed296(o.entries);
}
buildCounterAccountstatusesCustomBatchRequest--;
}
@@ -1131,14 +1131,14 @@
buildCounterAccountstatusesCustomBatchRequestEntry--;
}
-buildUnnamed276() {
+buildUnnamed297() {
var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>();
o.add(buildAccountstatusesCustomBatchResponseEntry());
o.add(buildAccountstatusesCustomBatchResponseEntry());
return o;
}
-checkUnnamed276(core.List<api.AccountstatusesCustomBatchResponseEntry> o) {
+checkUnnamed297(core.List<api.AccountstatusesCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountstatusesCustomBatchResponseEntry(o[0]);
checkAccountstatusesCustomBatchResponseEntry(o[1]);
@@ -1149,7 +1149,7 @@
var o = new api.AccountstatusesCustomBatchResponse();
buildCounterAccountstatusesCustomBatchResponse++;
if (buildCounterAccountstatusesCustomBatchResponse < 3) {
- o.entries = buildUnnamed276();
+ o.entries = buildUnnamed297();
o.kind = "foo";
}
buildCounterAccountstatusesCustomBatchResponse--;
@@ -1159,7 +1159,7 @@
checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o) {
buildCounterAccountstatusesCustomBatchResponse++;
if (buildCounterAccountstatusesCustomBatchResponse < 3) {
- checkUnnamed276(o.entries);
+ checkUnnamed297(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountstatusesCustomBatchResponse--;
@@ -1188,14 +1188,14 @@
buildCounterAccountstatusesCustomBatchResponseEntry--;
}
-buildUnnamed277() {
+buildUnnamed298() {
var o = new core.List<api.AccountStatus>();
o.add(buildAccountStatus());
o.add(buildAccountStatus());
return o;
}
-checkUnnamed277(core.List<api.AccountStatus> o) {
+checkUnnamed298(core.List<api.AccountStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountStatus(o[0]);
checkAccountStatus(o[1]);
@@ -1208,7 +1208,7 @@
if (buildCounterAccountstatusesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed277();
+ o.resources = buildUnnamed298();
}
buildCounterAccountstatusesListResponse--;
return o;
@@ -1219,19 +1219,19 @@
if (buildCounterAccountstatusesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed277(o.resources);
+ checkUnnamed298(o.resources);
}
buildCounterAccountstatusesListResponse--;
}
-buildUnnamed278() {
+buildUnnamed299() {
var o = new core.List<api.AccounttaxCustomBatchRequestEntry>();
o.add(buildAccounttaxCustomBatchRequestEntry());
o.add(buildAccounttaxCustomBatchRequestEntry());
return o;
}
-checkUnnamed278(core.List<api.AccounttaxCustomBatchRequestEntry> o) {
+checkUnnamed299(core.List<api.AccounttaxCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccounttaxCustomBatchRequestEntry(o[0]);
checkAccounttaxCustomBatchRequestEntry(o[1]);
@@ -1242,7 +1242,7 @@
var o = new api.AccounttaxCustomBatchRequest();
buildCounterAccounttaxCustomBatchRequest++;
if (buildCounterAccounttaxCustomBatchRequest < 3) {
- o.entries = buildUnnamed278();
+ o.entries = buildUnnamed299();
}
buildCounterAccounttaxCustomBatchRequest--;
return o;
@@ -1251,7 +1251,7 @@
checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) {
buildCounterAccounttaxCustomBatchRequest++;
if (buildCounterAccounttaxCustomBatchRequest < 3) {
- checkUnnamed278(o.entries);
+ checkUnnamed299(o.entries);
}
buildCounterAccounttaxCustomBatchRequest--;
}
@@ -1283,14 +1283,14 @@
buildCounterAccounttaxCustomBatchRequestEntry--;
}
-buildUnnamed279() {
+buildUnnamed300() {
var o = new core.List<api.AccounttaxCustomBatchResponseEntry>();
o.add(buildAccounttaxCustomBatchResponseEntry());
o.add(buildAccounttaxCustomBatchResponseEntry());
return o;
}
-checkUnnamed279(core.List<api.AccounttaxCustomBatchResponseEntry> o) {
+checkUnnamed300(core.List<api.AccounttaxCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccounttaxCustomBatchResponseEntry(o[0]);
checkAccounttaxCustomBatchResponseEntry(o[1]);
@@ -1301,7 +1301,7 @@
var o = new api.AccounttaxCustomBatchResponse();
buildCounterAccounttaxCustomBatchResponse++;
if (buildCounterAccounttaxCustomBatchResponse < 3) {
- o.entries = buildUnnamed279();
+ o.entries = buildUnnamed300();
o.kind = "foo";
}
buildCounterAccounttaxCustomBatchResponse--;
@@ -1311,7 +1311,7 @@
checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) {
buildCounterAccounttaxCustomBatchResponse++;
if (buildCounterAccounttaxCustomBatchResponse < 3) {
- checkUnnamed279(o.entries);
+ checkUnnamed300(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccounttaxCustomBatchResponse--;
@@ -1342,14 +1342,14 @@
buildCounterAccounttaxCustomBatchResponseEntry--;
}
-buildUnnamed280() {
+buildUnnamed301() {
var o = new core.List<api.AccountTax>();
o.add(buildAccountTax());
o.add(buildAccountTax());
return o;
}
-checkUnnamed280(core.List<api.AccountTax> o) {
+checkUnnamed301(core.List<api.AccountTax> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountTax(o[0]);
checkAccountTax(o[1]);
@@ -1362,7 +1362,7 @@
if (buildCounterAccounttaxListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed280();
+ o.resources = buildUnnamed301();
}
buildCounterAccounttaxListResponse--;
return o;
@@ -1373,7 +1373,7 @@
if (buildCounterAccounttaxListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed280(o.resources);
+ checkUnnamed301(o.resources);
}
buildCounterAccounttaxListResponse--;
}
@@ -1407,14 +1407,14 @@
buildCounterCarrierRate--;
}
-buildUnnamed281() {
+buildUnnamed302() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed281(core.List<core.String> o) {
+checkUnnamed302(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1427,7 +1427,7 @@
if (buildCounterCarriersCarrier < 3) {
o.country = "foo";
o.name = "foo";
- o.services = buildUnnamed281();
+ o.services = buildUnnamed302();
}
buildCounterCarriersCarrier--;
return o;
@@ -1438,19 +1438,19 @@
if (buildCounterCarriersCarrier < 3) {
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed281(o.services);
+ checkUnnamed302(o.services);
}
buildCounterCarriersCarrier--;
}
-buildUnnamed282() {
+buildUnnamed303() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed282(core.List<core.String> o) {
+checkUnnamed303(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1468,7 +1468,7 @@
o.fileName = "foo";
o.format = buildDatafeedFormat();
o.id = "foo";
- o.intendedDestinations = buildUnnamed282();
+ o.intendedDestinations = buildUnnamed303();
o.kind = "foo";
o.name = "foo";
o.targetCountry = "foo";
@@ -1487,7 +1487,7 @@
unittest.expect(o.fileName, unittest.equals('foo'));
checkDatafeedFormat(o.format);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed282(o.intendedDestinations);
+ checkUnnamed303(o.intendedDestinations);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.targetCountry, unittest.equals('foo'));
@@ -1551,27 +1551,27 @@
buildCounterDatafeedFormat--;
}
-buildUnnamed283() {
+buildUnnamed304() {
var o = new core.List<api.DatafeedStatusError>();
o.add(buildDatafeedStatusError());
o.add(buildDatafeedStatusError());
return o;
}
-checkUnnamed283(core.List<api.DatafeedStatusError> o) {
+checkUnnamed304(core.List<api.DatafeedStatusError> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedStatusError(o[0]);
checkDatafeedStatusError(o[1]);
}
-buildUnnamed284() {
+buildUnnamed305() {
var o = new core.List<api.DatafeedStatusError>();
o.add(buildDatafeedStatusError());
o.add(buildDatafeedStatusError());
return o;
}
-checkUnnamed284(core.List<api.DatafeedStatusError> o) {
+checkUnnamed305(core.List<api.DatafeedStatusError> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedStatusError(o[0]);
checkDatafeedStatusError(o[1]);
@@ -1583,13 +1583,13 @@
buildCounterDatafeedStatus++;
if (buildCounterDatafeedStatus < 3) {
o.datafeedId = "foo";
- o.errors = buildUnnamed283();
+ o.errors = buildUnnamed304();
o.itemsTotal = "foo";
o.itemsValid = "foo";
o.kind = "foo";
o.lastUploadDate = "foo";
o.processingStatus = "foo";
- o.warnings = buildUnnamed284();
+ o.warnings = buildUnnamed305();
}
buildCounterDatafeedStatus--;
return o;
@@ -1599,25 +1599,25 @@
buildCounterDatafeedStatus++;
if (buildCounterDatafeedStatus < 3) {
unittest.expect(o.datafeedId, unittest.equals('foo'));
- checkUnnamed283(o.errors);
+ checkUnnamed304(o.errors);
unittest.expect(o.itemsTotal, unittest.equals('foo'));
unittest.expect(o.itemsValid, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastUploadDate, unittest.equals('foo'));
unittest.expect(o.processingStatus, unittest.equals('foo'));
- checkUnnamed284(o.warnings);
+ checkUnnamed305(o.warnings);
}
buildCounterDatafeedStatus--;
}
-buildUnnamed285() {
+buildUnnamed306() {
var o = new core.List<api.DatafeedStatusExample>();
o.add(buildDatafeedStatusExample());
o.add(buildDatafeedStatusExample());
return o;
}
-checkUnnamed285(core.List<api.DatafeedStatusExample> o) {
+checkUnnamed306(core.List<api.DatafeedStatusExample> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedStatusExample(o[0]);
checkDatafeedStatusExample(o[1]);
@@ -1630,7 +1630,7 @@
if (buildCounterDatafeedStatusError < 3) {
o.code = "foo";
o.count = "foo";
- o.examples = buildUnnamed285();
+ o.examples = buildUnnamed306();
o.message = "foo";
}
buildCounterDatafeedStatusError--;
@@ -1642,7 +1642,7 @@
if (buildCounterDatafeedStatusError < 3) {
unittest.expect(o.code, unittest.equals('foo'));
unittest.expect(o.count, unittest.equals('foo'));
- checkUnnamed285(o.examples);
+ checkUnnamed306(o.examples);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDatafeedStatusError--;
@@ -1671,14 +1671,14 @@
buildCounterDatafeedStatusExample--;
}
-buildUnnamed286() {
+buildUnnamed307() {
var o = new core.List<api.DatafeedsCustomBatchRequestEntry>();
o.add(buildDatafeedsCustomBatchRequestEntry());
o.add(buildDatafeedsCustomBatchRequestEntry());
return o;
}
-checkUnnamed286(core.List<api.DatafeedsCustomBatchRequestEntry> o) {
+checkUnnamed307(core.List<api.DatafeedsCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedsCustomBatchRequestEntry(o[0]);
checkDatafeedsCustomBatchRequestEntry(o[1]);
@@ -1689,7 +1689,7 @@
var o = new api.DatafeedsCustomBatchRequest();
buildCounterDatafeedsCustomBatchRequest++;
if (buildCounterDatafeedsCustomBatchRequest < 3) {
- o.entries = buildUnnamed286();
+ o.entries = buildUnnamed307();
}
buildCounterDatafeedsCustomBatchRequest--;
return o;
@@ -1698,7 +1698,7 @@
checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) {
buildCounterDatafeedsCustomBatchRequest++;
if (buildCounterDatafeedsCustomBatchRequest < 3) {
- checkUnnamed286(o.entries);
+ checkUnnamed307(o.entries);
}
buildCounterDatafeedsCustomBatchRequest--;
}
@@ -1730,14 +1730,14 @@
buildCounterDatafeedsCustomBatchRequestEntry--;
}
-buildUnnamed287() {
+buildUnnamed308() {
var o = new core.List<api.DatafeedsCustomBatchResponseEntry>();
o.add(buildDatafeedsCustomBatchResponseEntry());
o.add(buildDatafeedsCustomBatchResponseEntry());
return o;
}
-checkUnnamed287(core.List<api.DatafeedsCustomBatchResponseEntry> o) {
+checkUnnamed308(core.List<api.DatafeedsCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedsCustomBatchResponseEntry(o[0]);
checkDatafeedsCustomBatchResponseEntry(o[1]);
@@ -1748,7 +1748,7 @@
var o = new api.DatafeedsCustomBatchResponse();
buildCounterDatafeedsCustomBatchResponse++;
if (buildCounterDatafeedsCustomBatchResponse < 3) {
- o.entries = buildUnnamed287();
+ o.entries = buildUnnamed308();
o.kind = "foo";
}
buildCounterDatafeedsCustomBatchResponse--;
@@ -1758,7 +1758,7 @@
checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) {
buildCounterDatafeedsCustomBatchResponse++;
if (buildCounterDatafeedsCustomBatchResponse < 3) {
- checkUnnamed287(o.entries);
+ checkUnnamed308(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDatafeedsCustomBatchResponse--;
@@ -1787,14 +1787,14 @@
buildCounterDatafeedsCustomBatchResponseEntry--;
}
-buildUnnamed288() {
+buildUnnamed309() {
var o = new core.List<api.Datafeed>();
o.add(buildDatafeed());
o.add(buildDatafeed());
return o;
}
-checkUnnamed288(core.List<api.Datafeed> o) {
+checkUnnamed309(core.List<api.Datafeed> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeed(o[0]);
checkDatafeed(o[1]);
@@ -1807,7 +1807,7 @@
if (buildCounterDatafeedsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed288();
+ o.resources = buildUnnamed309();
}
buildCounterDatafeedsListResponse--;
return o;
@@ -1818,19 +1818,19 @@
if (buildCounterDatafeedsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed288(o.resources);
+ checkUnnamed309(o.resources);
}
buildCounterDatafeedsListResponse--;
}
-buildUnnamed289() {
+buildUnnamed310() {
var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>();
o.add(buildDatafeedstatusesCustomBatchRequestEntry());
o.add(buildDatafeedstatusesCustomBatchRequestEntry());
return o;
}
-checkUnnamed289(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) {
+checkUnnamed310(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedstatusesCustomBatchRequestEntry(o[0]);
checkDatafeedstatusesCustomBatchRequestEntry(o[1]);
@@ -1841,7 +1841,7 @@
var o = new api.DatafeedstatusesCustomBatchRequest();
buildCounterDatafeedstatusesCustomBatchRequest++;
if (buildCounterDatafeedstatusesCustomBatchRequest < 3) {
- o.entries = buildUnnamed289();
+ o.entries = buildUnnamed310();
}
buildCounterDatafeedstatusesCustomBatchRequest--;
return o;
@@ -1850,7 +1850,7 @@
checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o) {
buildCounterDatafeedstatusesCustomBatchRequest++;
if (buildCounterDatafeedstatusesCustomBatchRequest < 3) {
- checkUnnamed289(o.entries);
+ checkUnnamed310(o.entries);
}
buildCounterDatafeedstatusesCustomBatchRequest--;
}
@@ -1880,14 +1880,14 @@
buildCounterDatafeedstatusesCustomBatchRequestEntry--;
}
-buildUnnamed290() {
+buildUnnamed311() {
var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>();
o.add(buildDatafeedstatusesCustomBatchResponseEntry());
o.add(buildDatafeedstatusesCustomBatchResponseEntry());
return o;
}
-checkUnnamed290(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) {
+checkUnnamed311(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedstatusesCustomBatchResponseEntry(o[0]);
checkDatafeedstatusesCustomBatchResponseEntry(o[1]);
@@ -1898,7 +1898,7 @@
var o = new api.DatafeedstatusesCustomBatchResponse();
buildCounterDatafeedstatusesCustomBatchResponse++;
if (buildCounterDatafeedstatusesCustomBatchResponse < 3) {
- o.entries = buildUnnamed290();
+ o.entries = buildUnnamed311();
o.kind = "foo";
}
buildCounterDatafeedstatusesCustomBatchResponse--;
@@ -1908,7 +1908,7 @@
checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse o) {
buildCounterDatafeedstatusesCustomBatchResponse++;
if (buildCounterDatafeedstatusesCustomBatchResponse < 3) {
- checkUnnamed290(o.entries);
+ checkUnnamed311(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDatafeedstatusesCustomBatchResponse--;
@@ -1937,14 +1937,14 @@
buildCounterDatafeedstatusesCustomBatchResponseEntry--;
}
-buildUnnamed291() {
+buildUnnamed312() {
var o = new core.List<api.DatafeedStatus>();
o.add(buildDatafeedStatus());
o.add(buildDatafeedStatus());
return o;
}
-checkUnnamed291(core.List<api.DatafeedStatus> o) {
+checkUnnamed312(core.List<api.DatafeedStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedStatus(o[0]);
checkDatafeedStatus(o[1]);
@@ -1957,7 +1957,7 @@
if (buildCounterDatafeedstatusesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed291();
+ o.resources = buildUnnamed312();
}
buildCounterDatafeedstatusesListResponse--;
return o;
@@ -1968,7 +1968,7 @@
if (buildCounterDatafeedstatusesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed291(o.resources);
+ checkUnnamed312(o.resources);
}
buildCounterDatafeedstatusesListResponse--;
}
@@ -2017,14 +2017,14 @@
buildCounterError--;
}
-buildUnnamed292() {
+buildUnnamed313() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed292(core.List<api.Error> o) {
+checkUnnamed313(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -2036,7 +2036,7 @@
buildCounterErrors++;
if (buildCounterErrors < 3) {
o.code = 42;
- o.errors = buildUnnamed292();
+ o.errors = buildUnnamed313();
o.message = "foo";
}
buildCounterErrors--;
@@ -2047,72 +2047,72 @@
buildCounterErrors++;
if (buildCounterErrors < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed292(o.errors);
+ checkUnnamed313(o.errors);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterErrors--;
}
-buildUnnamed293() {
+buildUnnamed314() {
var o = new core.List<api.LocationIdSet>();
o.add(buildLocationIdSet());
o.add(buildLocationIdSet());
return o;
}
-checkUnnamed293(core.List<api.LocationIdSet> o) {
+checkUnnamed314(core.List<api.LocationIdSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocationIdSet(o[0]);
checkLocationIdSet(o[1]);
}
-buildUnnamed294() {
+buildUnnamed315() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed294(core.List<core.String> o) {
+checkUnnamed315(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed295() {
+buildUnnamed316() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed295(core.List<core.String> o) {
+checkUnnamed316(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed296() {
+buildUnnamed317() {
var o = new core.List<api.Price>();
o.add(buildPrice());
o.add(buildPrice());
return o;
}
-checkUnnamed296(core.List<api.Price> o) {
+checkUnnamed317(core.List<api.Price> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrice(o[0]);
checkPrice(o[1]);
}
-buildUnnamed297() {
+buildUnnamed318() {
var o = new core.List<api.Weight>();
o.add(buildWeight());
o.add(buildWeight());
return o;
}
-checkUnnamed297(core.List<api.Weight> o) {
+checkUnnamed318(core.List<api.Weight> o) {
unittest.expect(o, unittest.hasLength(2));
checkWeight(o[0]);
checkWeight(o[1]);
@@ -2123,11 +2123,11 @@
var o = new api.Headers();
buildCounterHeaders++;
if (buildCounterHeaders < 3) {
- o.locations = buildUnnamed293();
- o.numberOfItems = buildUnnamed294();
- o.postalCodeGroupNames = buildUnnamed295();
- o.prices = buildUnnamed296();
- o.weights = buildUnnamed297();
+ o.locations = buildUnnamed314();
+ o.numberOfItems = buildUnnamed315();
+ o.postalCodeGroupNames = buildUnnamed316();
+ o.prices = buildUnnamed317();
+ o.weights = buildUnnamed318();
}
buildCounterHeaders--;
return o;
@@ -2136,11 +2136,11 @@
checkHeaders(api.Headers o) {
buildCounterHeaders++;
if (buildCounterHeaders < 3) {
- checkUnnamed293(o.locations);
- checkUnnamed294(o.numberOfItems);
- checkUnnamed295(o.postalCodeGroupNames);
- checkUnnamed296(o.prices);
- checkUnnamed297(o.weights);
+ checkUnnamed314(o.locations);
+ checkUnnamed315(o.numberOfItems);
+ checkUnnamed316(o.postalCodeGroupNames);
+ checkUnnamed317(o.prices);
+ checkUnnamed318(o.weights);
}
buildCounterHeaders--;
}
@@ -2203,14 +2203,14 @@
buildCounterInventory--;
}
-buildUnnamed298() {
+buildUnnamed319() {
var o = new core.List<api.InventoryCustomBatchRequestEntry>();
o.add(buildInventoryCustomBatchRequestEntry());
o.add(buildInventoryCustomBatchRequestEntry());
return o;
}
-checkUnnamed298(core.List<api.InventoryCustomBatchRequestEntry> o) {
+checkUnnamed319(core.List<api.InventoryCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkInventoryCustomBatchRequestEntry(o[0]);
checkInventoryCustomBatchRequestEntry(o[1]);
@@ -2221,7 +2221,7 @@
var o = new api.InventoryCustomBatchRequest();
buildCounterInventoryCustomBatchRequest++;
if (buildCounterInventoryCustomBatchRequest < 3) {
- o.entries = buildUnnamed298();
+ o.entries = buildUnnamed319();
}
buildCounterInventoryCustomBatchRequest--;
return o;
@@ -2230,7 +2230,7 @@
checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) {
buildCounterInventoryCustomBatchRequest++;
if (buildCounterInventoryCustomBatchRequest < 3) {
- checkUnnamed298(o.entries);
+ checkUnnamed319(o.entries);
}
buildCounterInventoryCustomBatchRequest--;
}
@@ -2262,14 +2262,14 @@
buildCounterInventoryCustomBatchRequestEntry--;
}
-buildUnnamed299() {
+buildUnnamed320() {
var o = new core.List<api.InventoryCustomBatchResponseEntry>();
o.add(buildInventoryCustomBatchResponseEntry());
o.add(buildInventoryCustomBatchResponseEntry());
return o;
}
-checkUnnamed299(core.List<api.InventoryCustomBatchResponseEntry> o) {
+checkUnnamed320(core.List<api.InventoryCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkInventoryCustomBatchResponseEntry(o[0]);
checkInventoryCustomBatchResponseEntry(o[1]);
@@ -2280,7 +2280,7 @@
var o = new api.InventoryCustomBatchResponse();
buildCounterInventoryCustomBatchResponse++;
if (buildCounterInventoryCustomBatchResponse < 3) {
- o.entries = buildUnnamed299();
+ o.entries = buildUnnamed320();
o.kind = "foo";
}
buildCounterInventoryCustomBatchResponse--;
@@ -2290,7 +2290,7 @@
checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) {
buildCounterInventoryCustomBatchResponse++;
if (buildCounterInventoryCustomBatchResponse < 3) {
- checkUnnamed299(o.entries);
+ checkUnnamed320(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterInventoryCustomBatchResponse--;
@@ -2394,14 +2394,14 @@
buildCounterInventorySetResponse--;
}
-buildUnnamed300() {
+buildUnnamed321() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed300(core.List<core.String> o) {
+checkUnnamed321(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2412,7 +2412,7 @@
var o = new api.LocationIdSet();
buildCounterLocationIdSet++;
if (buildCounterLocationIdSet < 3) {
- o.locationIds = buildUnnamed300();
+ o.locationIds = buildUnnamed321();
}
buildCounterLocationIdSet--;
return o;
@@ -2421,7 +2421,7 @@
checkLocationIdSet(api.LocationIdSet o) {
buildCounterLocationIdSet++;
if (buildCounterLocationIdSet < 3) {
- checkUnnamed300(o.locationIds);
+ checkUnnamed321(o.locationIds);
}
buildCounterLocationIdSet--;
}
@@ -2449,53 +2449,53 @@
buildCounterLoyaltyPoints--;
}
-buildUnnamed301() {
+buildUnnamed322() {
var o = new core.List<api.OrderLineItem>();
o.add(buildOrderLineItem());
o.add(buildOrderLineItem());
return o;
}
-checkUnnamed301(core.List<api.OrderLineItem> o) {
+checkUnnamed322(core.List<api.OrderLineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItem(o[0]);
checkOrderLineItem(o[1]);
}
-buildUnnamed302() {
+buildUnnamed323() {
var o = new core.List<api.OrderPromotion>();
o.add(buildOrderPromotion());
o.add(buildOrderPromotion());
return o;
}
-checkUnnamed302(core.List<api.OrderPromotion> o) {
+checkUnnamed323(core.List<api.OrderPromotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotion(o[0]);
checkOrderPromotion(o[1]);
}
-buildUnnamed303() {
+buildUnnamed324() {
var o = new core.List<api.OrderRefund>();
o.add(buildOrderRefund());
o.add(buildOrderRefund());
return o;
}
-checkUnnamed303(core.List<api.OrderRefund> o) {
+checkUnnamed324(core.List<api.OrderRefund> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderRefund(o[0]);
checkOrderRefund(o[1]);
}
-buildUnnamed304() {
+buildUnnamed325() {
var o = new core.List<api.OrderShipment>();
o.add(buildOrderShipment());
o.add(buildOrderShipment());
return o;
}
-checkUnnamed304(core.List<api.OrderShipment> o) {
+checkUnnamed325(core.List<api.OrderShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipment(o[0]);
checkOrderShipment(o[1]);
@@ -2512,16 +2512,16 @@
o.deliveryDetails = buildOrderDeliveryDetails();
o.id = "foo";
o.kind = "foo";
- o.lineItems = buildUnnamed301();
+ o.lineItems = buildUnnamed322();
o.merchantId = "foo";
o.merchantOrderId = "foo";
o.netAmount = buildPrice();
o.paymentMethod = buildOrderPaymentMethod();
o.paymentStatus = "foo";
o.placedDate = "foo";
- o.promotions = buildUnnamed302();
- o.refunds = buildUnnamed303();
- o.shipments = buildUnnamed304();
+ o.promotions = buildUnnamed323();
+ o.refunds = buildUnnamed324();
+ o.shipments = buildUnnamed325();
o.shippingCost = buildPrice();
o.shippingCostTax = buildPrice();
o.shippingOption = "foo";
@@ -2540,16 +2540,16 @@
checkOrderDeliveryDetails(o.deliveryDetails);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed301(o.lineItems);
+ checkUnnamed322(o.lineItems);
unittest.expect(o.merchantId, unittest.equals('foo'));
unittest.expect(o.merchantOrderId, unittest.equals('foo'));
checkPrice(o.netAmount);
checkOrderPaymentMethod(o.paymentMethod);
unittest.expect(o.paymentStatus, unittest.equals('foo'));
unittest.expect(o.placedDate, unittest.equals('foo'));
- checkUnnamed302(o.promotions);
- checkUnnamed303(o.refunds);
- checkUnnamed304(o.shipments);
+ checkUnnamed323(o.promotions);
+ checkUnnamed324(o.refunds);
+ checkUnnamed325(o.shipments);
checkPrice(o.shippingCost);
checkPrice(o.shippingCostTax);
unittest.expect(o.shippingOption, unittest.equals('foo'));
@@ -2558,27 +2558,27 @@
buildCounterOrder--;
}
-buildUnnamed305() {
+buildUnnamed326() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed305(core.List<core.String> o) {
+checkUnnamed326(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed306() {
+buildUnnamed327() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed306(core.List<core.String> o) {
+checkUnnamed327(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2590,13 +2590,13 @@
buildCounterOrderAddress++;
if (buildCounterOrderAddress < 3) {
o.country = "foo";
- o.fullAddress = buildUnnamed305();
+ o.fullAddress = buildUnnamed326();
o.isPostOfficeBox = true;
o.locality = "foo";
o.postalCode = "foo";
o.recipientName = "foo";
o.region = "foo";
- o.streetAddress = buildUnnamed306();
+ o.streetAddress = buildUnnamed327();
}
buildCounterOrderAddress--;
return o;
@@ -2606,13 +2606,13 @@
buildCounterOrderAddress++;
if (buildCounterOrderAddress < 3) {
unittest.expect(o.country, unittest.equals('foo'));
- checkUnnamed305(o.fullAddress);
+ checkUnnamed326(o.fullAddress);
unittest.expect(o.isPostOfficeBox, unittest.isTrue);
unittest.expect(o.locality, unittest.equals('foo'));
unittest.expect(o.postalCode, unittest.equals('foo'));
unittest.expect(o.recipientName, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed306(o.streetAddress);
+ checkUnnamed327(o.streetAddress);
}
buildCounterOrderAddress--;
}
@@ -2688,27 +2688,27 @@
buildCounterOrderDeliveryDetails--;
}
-buildUnnamed307() {
+buildUnnamed328() {
var o = new core.List<api.OrderCancellation>();
o.add(buildOrderCancellation());
o.add(buildOrderCancellation());
return o;
}
-checkUnnamed307(core.List<api.OrderCancellation> o) {
+checkUnnamed328(core.List<api.OrderCancellation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderCancellation(o[0]);
checkOrderCancellation(o[1]);
}
-buildUnnamed308() {
+buildUnnamed329() {
var o = new core.List<api.OrderReturn>();
o.add(buildOrderReturn());
o.add(buildOrderReturn());
return o;
}
-checkUnnamed308(core.List<api.OrderReturn> o) {
+checkUnnamed329(core.List<api.OrderReturn> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderReturn(o[0]);
checkOrderReturn(o[1]);
@@ -2719,7 +2719,7 @@
var o = new api.OrderLineItem();
buildCounterOrderLineItem++;
if (buildCounterOrderLineItem < 3) {
- o.cancellations = buildUnnamed307();
+ o.cancellations = buildUnnamed328();
o.id = "foo";
o.price = buildPrice();
o.product = buildOrderLineItemProduct();
@@ -2730,7 +2730,7 @@
o.quantityReturned = 42;
o.quantityShipped = 42;
o.returnInfo = buildOrderLineItemReturnInfo();
- o.returns = buildUnnamed308();
+ o.returns = buildUnnamed329();
o.shippingDetails = buildOrderLineItemShippingDetails();
o.tax = buildPrice();
}
@@ -2741,7 +2741,7 @@
checkOrderLineItem(api.OrderLineItem o) {
buildCounterOrderLineItem++;
if (buildCounterOrderLineItem < 3) {
- checkUnnamed307(o.cancellations);
+ checkUnnamed328(o.cancellations);
unittest.expect(o.id, unittest.equals('foo'));
checkPrice(o.price);
checkOrderLineItemProduct(o.product);
@@ -2752,21 +2752,21 @@
unittest.expect(o.quantityReturned, unittest.equals(42));
unittest.expect(o.quantityShipped, unittest.equals(42));
checkOrderLineItemReturnInfo(o.returnInfo);
- checkUnnamed308(o.returns);
+ checkUnnamed329(o.returns);
checkOrderLineItemShippingDetails(o.shippingDetails);
checkPrice(o.tax);
}
buildCounterOrderLineItem--;
}
-buildUnnamed309() {
+buildUnnamed330() {
var o = new core.List<api.OrderLineItemProductVariantAttribute>();
o.add(buildOrderLineItemProductVariantAttribute());
o.add(buildOrderLineItemProductVariantAttribute());
return o;
}
-checkUnnamed309(core.List<api.OrderLineItemProductVariantAttribute> o) {
+checkUnnamed330(core.List<api.OrderLineItemProductVariantAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItemProductVariantAttribute(o[0]);
checkOrderLineItemProductVariantAttribute(o[1]);
@@ -2791,7 +2791,7 @@
o.shownImage = "foo";
o.targetCountry = "foo";
o.title = "foo";
- o.variantAttributes = buildUnnamed309();
+ o.variantAttributes = buildUnnamed330();
}
buildCounterOrderLineItemProduct--;
return o;
@@ -2814,7 +2814,7 @@
unittest.expect(o.shownImage, unittest.equals('foo'));
unittest.expect(o.targetCountry, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed309(o.variantAttributes);
+ checkUnnamed330(o.variantAttributes);
}
buildCounterOrderLineItemProduct--;
}
@@ -2940,14 +2940,14 @@
buildCounterOrderPaymentMethod--;
}
-buildUnnamed310() {
+buildUnnamed331() {
var o = new core.List<api.OrderPromotionBenefit>();
o.add(buildOrderPromotionBenefit());
o.add(buildOrderPromotionBenefit());
return o;
}
-checkUnnamed310(core.List<api.OrderPromotionBenefit> o) {
+checkUnnamed331(core.List<api.OrderPromotionBenefit> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotionBenefit(o[0]);
checkOrderPromotionBenefit(o[1]);
@@ -2958,7 +2958,7 @@
var o = new api.OrderPromotion();
buildCounterOrderPromotion++;
if (buildCounterOrderPromotion < 3) {
- o.benefits = buildUnnamed310();
+ o.benefits = buildUnnamed331();
o.effectiveDates = "foo";
o.genericRedemptionCode = "foo";
o.id = "foo";
@@ -2973,7 +2973,7 @@
checkOrderPromotion(api.OrderPromotion o) {
buildCounterOrderPromotion++;
if (buildCounterOrderPromotion < 3) {
- checkUnnamed310(o.benefits);
+ checkUnnamed331(o.benefits);
unittest.expect(o.effectiveDates, unittest.equals('foo'));
unittest.expect(o.genericRedemptionCode, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -2984,14 +2984,14 @@
buildCounterOrderPromotion--;
}
-buildUnnamed311() {
+buildUnnamed332() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed311(core.List<core.String> o) {
+checkUnnamed332(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3003,7 +3003,7 @@
buildCounterOrderPromotionBenefit++;
if (buildCounterOrderPromotionBenefit < 3) {
o.discount = buildPrice();
- o.offerIds = buildUnnamed311();
+ o.offerIds = buildUnnamed332();
o.subType = "foo";
o.taxImpact = buildPrice();
o.type = "foo";
@@ -3016,7 +3016,7 @@
buildCounterOrderPromotionBenefit++;
if (buildCounterOrderPromotionBenefit < 3) {
checkPrice(o.discount);
- checkUnnamed311(o.offerIds);
+ checkUnnamed332(o.offerIds);
unittest.expect(o.subType, unittest.equals('foo'));
checkPrice(o.taxImpact);
unittest.expect(o.type, unittest.equals('foo'));
@@ -3078,14 +3078,14 @@
buildCounterOrderReturn--;
}
-buildUnnamed312() {
+buildUnnamed333() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed312(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed333(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
@@ -3100,7 +3100,7 @@
o.creationDate = "foo";
o.deliveryDate = "foo";
o.id = "foo";
- o.lineItems = buildUnnamed312();
+ o.lineItems = buildUnnamed333();
o.status = "foo";
o.trackingId = "foo";
}
@@ -3115,7 +3115,7 @@
unittest.expect(o.creationDate, unittest.equals('foo'));
unittest.expect(o.deliveryDate, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed312(o.lineItems);
+ checkUnnamed333(o.lineItems);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.trackingId, unittest.equals('foo'));
}
@@ -3338,14 +3338,14 @@
buildCounterOrdersCreateTestOrderResponse--;
}
-buildUnnamed313() {
+buildUnnamed334() {
var o = new core.List<api.OrdersCustomBatchRequestEntry>();
o.add(buildOrdersCustomBatchRequestEntry());
o.add(buildOrdersCustomBatchRequestEntry());
return o;
}
-checkUnnamed313(core.List<api.OrdersCustomBatchRequestEntry> o) {
+checkUnnamed334(core.List<api.OrdersCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchRequestEntry(o[0]);
checkOrdersCustomBatchRequestEntry(o[1]);
@@ -3356,7 +3356,7 @@
var o = new api.OrdersCustomBatchRequest();
buildCounterOrdersCustomBatchRequest++;
if (buildCounterOrdersCustomBatchRequest < 3) {
- o.entries = buildUnnamed313();
+ o.entries = buildUnnamed334();
}
buildCounterOrdersCustomBatchRequest--;
return o;
@@ -3365,7 +3365,7 @@
checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) {
buildCounterOrdersCustomBatchRequest++;
if (buildCounterOrdersCustomBatchRequest < 3) {
- checkUnnamed313(o.entries);
+ checkUnnamed334(o.entries);
}
buildCounterOrdersCustomBatchRequest--;
}
@@ -3507,14 +3507,14 @@
buildCounterOrdersCustomBatchRequestEntryReturnLineItem--;
}
-buildUnnamed314() {
+buildUnnamed335() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed314(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed335(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
@@ -3526,7 +3526,7 @@
buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
o.carrier = "foo";
- o.lineItems = buildUnnamed314();
+ o.lineItems = buildUnnamed335();
o.shipmentId = "foo";
o.trackingId = "foo";
}
@@ -3538,7 +3538,7 @@
buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
unittest.expect(o.carrier, unittest.equals('foo'));
- checkUnnamed314(o.lineItems);
+ checkUnnamed335(o.lineItems);
unittest.expect(o.shipmentId, unittest.equals('foo'));
unittest.expect(o.trackingId, unittest.equals('foo'));
}
@@ -3570,14 +3570,14 @@
buildCounterOrdersCustomBatchRequestEntryUpdateShipment--;
}
-buildUnnamed315() {
+buildUnnamed336() {
var o = new core.List<api.OrdersCustomBatchResponseEntry>();
o.add(buildOrdersCustomBatchResponseEntry());
o.add(buildOrdersCustomBatchResponseEntry());
return o;
}
-checkUnnamed315(core.List<api.OrdersCustomBatchResponseEntry> o) {
+checkUnnamed336(core.List<api.OrdersCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchResponseEntry(o[0]);
checkOrdersCustomBatchResponseEntry(o[1]);
@@ -3588,7 +3588,7 @@
var o = new api.OrdersCustomBatchResponse();
buildCounterOrdersCustomBatchResponse++;
if (buildCounterOrdersCustomBatchResponse < 3) {
- o.entries = buildUnnamed315();
+ o.entries = buildUnnamed336();
o.kind = "foo";
}
buildCounterOrdersCustomBatchResponse--;
@@ -3598,7 +3598,7 @@
checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) {
buildCounterOrdersCustomBatchResponse++;
if (buildCounterOrdersCustomBatchResponse < 3) {
- checkUnnamed315(o.entries);
+ checkUnnamed336(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterOrdersCustomBatchResponse--;
@@ -3673,14 +3673,14 @@
buildCounterOrdersGetTestOrderTemplateResponse--;
}
-buildUnnamed316() {
+buildUnnamed337() {
var o = new core.List<api.Order>();
o.add(buildOrder());
o.add(buildOrder());
return o;
}
-checkUnnamed316(core.List<api.Order> o) {
+checkUnnamed337(core.List<api.Order> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrder(o[0]);
checkOrder(o[1]);
@@ -3693,7 +3693,7 @@
if (buildCounterOrdersListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed316();
+ o.resources = buildUnnamed337();
}
buildCounterOrdersListResponse--;
return o;
@@ -3704,7 +3704,7 @@
if (buildCounterOrdersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed316(o.resources);
+ checkUnnamed337(o.resources);
}
buildCounterOrdersListResponse--;
}
@@ -3803,14 +3803,14 @@
buildCounterOrdersReturnLineItemResponse--;
}
-buildUnnamed317() {
+buildUnnamed338() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed317(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed338(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
@@ -3822,7 +3822,7 @@
buildCounterOrdersShipLineItemsRequest++;
if (buildCounterOrdersShipLineItemsRequest < 3) {
o.carrier = "foo";
- o.lineItems = buildUnnamed317();
+ o.lineItems = buildUnnamed338();
o.operationId = "foo";
o.shipmentId = "foo";
o.trackingId = "foo";
@@ -3835,7 +3835,7 @@
buildCounterOrdersShipLineItemsRequest++;
if (buildCounterOrdersShipLineItemsRequest < 3) {
unittest.expect(o.carrier, unittest.equals('foo'));
- checkUnnamed317(o.lineItems);
+ checkUnnamed338(o.lineItems);
unittest.expect(o.operationId, unittest.equals('foo'));
unittest.expect(o.shipmentId, unittest.equals('foo'));
unittest.expect(o.trackingId, unittest.equals('foo'));
@@ -3954,14 +3954,14 @@
buildCounterOrdersUpdateShipmentResponse--;
}
-buildUnnamed318() {
+buildUnnamed339() {
var o = new core.List<api.PostalCodeRange>();
o.add(buildPostalCodeRange());
o.add(buildPostalCodeRange());
return o;
}
-checkUnnamed318(core.List<api.PostalCodeRange> o) {
+checkUnnamed339(core.List<api.PostalCodeRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCodeRange(o[0]);
checkPostalCodeRange(o[1]);
@@ -3974,7 +3974,7 @@
if (buildCounterPostalCodeGroup < 3) {
o.country = "foo";
o.name = "foo";
- o.postalCodeRanges = buildUnnamed318();
+ o.postalCodeRanges = buildUnnamed339();
}
buildCounterPostalCodeGroup--;
return o;
@@ -3985,7 +3985,7 @@
if (buildCounterPostalCodeGroup < 3) {
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed318(o.postalCodeRanges);
+ checkUnnamed339(o.postalCodeRanges);
}
buildCounterPostalCodeGroup--;
}
@@ -4032,183 +4032,183 @@
buildCounterPrice--;
}
-buildUnnamed319() {
+buildUnnamed340() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed319(core.List<core.String> o) {
+checkUnnamed340(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed320() {
+buildUnnamed341() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed320(core.List<core.String> o) {
+checkUnnamed341(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed321() {
+buildUnnamed342() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed321(core.List<core.String> o) {
+checkUnnamed342(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed322() {
+buildUnnamed343() {
var o = new core.List<api.ProductAspect>();
o.add(buildProductAspect());
o.add(buildProductAspect());
return o;
}
-checkUnnamed322(core.List<api.ProductAspect> o) {
+checkUnnamed343(core.List<api.ProductAspect> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductAspect(o[0]);
checkProductAspect(o[1]);
}
-buildUnnamed323() {
+buildUnnamed344() {
var o = new core.List<api.ProductCustomAttribute>();
o.add(buildProductCustomAttribute());
o.add(buildProductCustomAttribute());
return o;
}
-checkUnnamed323(core.List<api.ProductCustomAttribute> o) {
+checkUnnamed344(core.List<api.ProductCustomAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductCustomAttribute(o[0]);
checkProductCustomAttribute(o[1]);
}
-buildUnnamed324() {
+buildUnnamed345() {
var o = new core.List<api.ProductCustomGroup>();
o.add(buildProductCustomGroup());
o.add(buildProductCustomGroup());
return o;
}
-checkUnnamed324(core.List<api.ProductCustomGroup> o) {
+checkUnnamed345(core.List<api.ProductCustomGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductCustomGroup(o[0]);
checkProductCustomGroup(o[1]);
}
-buildUnnamed325() {
+buildUnnamed346() {
var o = new core.List<api.ProductDestination>();
o.add(buildProductDestination());
o.add(buildProductDestination());
return o;
}
-checkUnnamed325(core.List<api.ProductDestination> o) {
+checkUnnamed346(core.List<api.ProductDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductDestination(o[0]);
checkProductDestination(o[1]);
}
-buildUnnamed326() {
+buildUnnamed347() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed326(core.List<core.String> o) {
+checkUnnamed347(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed327() {
+buildUnnamed348() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed327(core.List<core.String> o) {
+checkUnnamed348(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed328() {
+buildUnnamed349() {
var o = new core.List<api.ProductShipping>();
o.add(buildProductShipping());
o.add(buildProductShipping());
return o;
}
-checkUnnamed328(core.List<api.ProductShipping> o) {
+checkUnnamed349(core.List<api.ProductShipping> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductShipping(o[0]);
checkProductShipping(o[1]);
}
-buildUnnamed329() {
+buildUnnamed350() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed329(core.List<core.String> o) {
+checkUnnamed350(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed330() {
+buildUnnamed351() {
var o = new core.List<api.ProductTax>();
o.add(buildProductTax());
o.add(buildProductTax());
return o;
}
-checkUnnamed330(core.List<api.ProductTax> o) {
+checkUnnamed351(core.List<api.ProductTax> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductTax(o[0]);
checkProductTax(o[1]);
}
-buildUnnamed331() {
+buildUnnamed352() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed331(core.List<core.String> o) {
+checkUnnamed352(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed332() {
+buildUnnamed353() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed332(core.List<api.Error> o) {
+checkUnnamed353(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -4219,14 +4219,14 @@
var o = new api.Product();
buildCounterProduct++;
if (buildCounterProduct < 3) {
- o.additionalImageLinks = buildUnnamed319();
- o.additionalProductTypes = buildUnnamed320();
+ o.additionalImageLinks = buildUnnamed340();
+ o.additionalProductTypes = buildUnnamed341();
o.adult = true;
o.adwordsGrouping = "foo";
- o.adwordsLabels = buildUnnamed321();
+ o.adwordsLabels = buildUnnamed342();
o.adwordsRedirect = "foo";
o.ageGroup = "foo";
- o.aspects = buildUnnamed322();
+ o.aspects = buildUnnamed343();
o.availability = "foo";
o.availabilityDate = "foo";
o.brand = "foo";
@@ -4234,18 +4234,18 @@
o.color = "foo";
o.condition = "foo";
o.contentLanguage = "foo";
- o.customAttributes = buildUnnamed323();
- o.customGroups = buildUnnamed324();
+ o.customAttributes = buildUnnamed344();
+ o.customGroups = buildUnnamed345();
o.customLabel0 = "foo";
o.customLabel1 = "foo";
o.customLabel2 = "foo";
o.customLabel3 = "foo";
o.customLabel4 = "foo";
o.description = "foo";
- o.destinations = buildUnnamed325();
+ o.destinations = buildUnnamed346();
o.displayAdsId = "foo";
o.displayAdsLink = "foo";
- o.displayAdsSimilarIds = buildUnnamed326();
+ o.displayAdsSimilarIds = buildUnnamed347();
o.displayAdsTitle = "foo";
o.displayAdsValue = 42.0;
o.energyEfficiencyClass = "foo";
@@ -4271,11 +4271,11 @@
o.pattern = "foo";
o.price = buildPrice();
o.productType = "foo";
- o.promotionIds = buildUnnamed327();
+ o.promotionIds = buildUnnamed348();
o.salePrice = buildPrice();
o.salePriceEffectiveDate = "foo";
o.sellOnGoogleQuantity = "foo";
- o.shipping = buildUnnamed328();
+ o.shipping = buildUnnamed349();
o.shippingHeight = buildProductShippingDimension();
o.shippingLabel = "foo";
o.shippingLength = buildProductShippingDimension();
@@ -4283,14 +4283,14 @@
o.shippingWidth = buildProductShippingDimension();
o.sizeSystem = "foo";
o.sizeType = "foo";
- o.sizes = buildUnnamed329();
+ o.sizes = buildUnnamed350();
o.targetCountry = "foo";
- o.taxes = buildUnnamed330();
+ o.taxes = buildUnnamed351();
o.title = "foo";
o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure();
o.unitPricingMeasure = buildProductUnitPricingMeasure();
- o.validatedDestinations = buildUnnamed331();
- o.warnings = buildUnnamed332();
+ o.validatedDestinations = buildUnnamed352();
+ o.warnings = buildUnnamed353();
}
buildCounterProduct--;
return o;
@@ -4299,14 +4299,14 @@
checkProduct(api.Product o) {
buildCounterProduct++;
if (buildCounterProduct < 3) {
- checkUnnamed319(o.additionalImageLinks);
- checkUnnamed320(o.additionalProductTypes);
+ checkUnnamed340(o.additionalImageLinks);
+ checkUnnamed341(o.additionalProductTypes);
unittest.expect(o.adult, unittest.isTrue);
unittest.expect(o.adwordsGrouping, unittest.equals('foo'));
- checkUnnamed321(o.adwordsLabels);
+ checkUnnamed342(o.adwordsLabels);
unittest.expect(o.adwordsRedirect, unittest.equals('foo'));
unittest.expect(o.ageGroup, unittest.equals('foo'));
- checkUnnamed322(o.aspects);
+ checkUnnamed343(o.aspects);
unittest.expect(o.availability, unittest.equals('foo'));
unittest.expect(o.availabilityDate, unittest.equals('foo'));
unittest.expect(o.brand, unittest.equals('foo'));
@@ -4314,18 +4314,18 @@
unittest.expect(o.color, unittest.equals('foo'));
unittest.expect(o.condition, unittest.equals('foo'));
unittest.expect(o.contentLanguage, unittest.equals('foo'));
- checkUnnamed323(o.customAttributes);
- checkUnnamed324(o.customGroups);
+ checkUnnamed344(o.customAttributes);
+ checkUnnamed345(o.customGroups);
unittest.expect(o.customLabel0, unittest.equals('foo'));
unittest.expect(o.customLabel1, unittest.equals('foo'));
unittest.expect(o.customLabel2, unittest.equals('foo'));
unittest.expect(o.customLabel3, unittest.equals('foo'));
unittest.expect(o.customLabel4, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed325(o.destinations);
+ checkUnnamed346(o.destinations);
unittest.expect(o.displayAdsId, unittest.equals('foo'));
unittest.expect(o.displayAdsLink, unittest.equals('foo'));
- checkUnnamed326(o.displayAdsSimilarIds);
+ checkUnnamed347(o.displayAdsSimilarIds);
unittest.expect(o.displayAdsTitle, unittest.equals('foo'));
unittest.expect(o.displayAdsValue, unittest.equals(42.0));
unittest.expect(o.energyEfficiencyClass, unittest.equals('foo'));
@@ -4351,11 +4351,11 @@
unittest.expect(o.pattern, unittest.equals('foo'));
checkPrice(o.price);
unittest.expect(o.productType, unittest.equals('foo'));
- checkUnnamed327(o.promotionIds);
+ checkUnnamed348(o.promotionIds);
checkPrice(o.salePrice);
unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo'));
unittest.expect(o.sellOnGoogleQuantity, unittest.equals('foo'));
- checkUnnamed328(o.shipping);
+ checkUnnamed349(o.shipping);
checkProductShippingDimension(o.shippingHeight);
unittest.expect(o.shippingLabel, unittest.equals('foo'));
checkProductShippingDimension(o.shippingLength);
@@ -4363,14 +4363,14 @@
checkProductShippingDimension(o.shippingWidth);
unittest.expect(o.sizeSystem, unittest.equals('foo'));
unittest.expect(o.sizeType, unittest.equals('foo'));
- checkUnnamed329(o.sizes);
+ checkUnnamed350(o.sizes);
unittest.expect(o.targetCountry, unittest.equals('foo'));
- checkUnnamed330(o.taxes);
+ checkUnnamed351(o.taxes);
unittest.expect(o.title, unittest.equals('foo'));
checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure);
checkProductUnitPricingMeasure(o.unitPricingMeasure);
- checkUnnamed331(o.validatedDestinations);
- checkUnnamed332(o.warnings);
+ checkUnnamed352(o.validatedDestinations);
+ checkUnnamed353(o.warnings);
}
buildCounterProduct--;
}
@@ -4423,14 +4423,14 @@
buildCounterProductCustomAttribute--;
}
-buildUnnamed333() {
+buildUnnamed354() {
var o = new core.List<api.ProductCustomAttribute>();
o.add(buildProductCustomAttribute());
o.add(buildProductCustomAttribute());
return o;
}
-checkUnnamed333(core.List<api.ProductCustomAttribute> o) {
+checkUnnamed354(core.List<api.ProductCustomAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductCustomAttribute(o[0]);
checkProductCustomAttribute(o[1]);
@@ -4441,7 +4441,7 @@
var o = new api.ProductCustomGroup();
buildCounterProductCustomGroup++;
if (buildCounterProductCustomGroup < 3) {
- o.attributes = buildUnnamed333();
+ o.attributes = buildUnnamed354();
o.name = "foo";
}
buildCounterProductCustomGroup--;
@@ -4451,7 +4451,7 @@
checkProductCustomGroup(api.ProductCustomGroup o) {
buildCounterProductCustomGroup++;
if (buildCounterProductCustomGroup < 3) {
- checkUnnamed333(o.attributes);
+ checkUnnamed354(o.attributes);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterProductCustomGroup--;
@@ -4551,27 +4551,27 @@
buildCounterProductShippingWeight--;
}
-buildUnnamed334() {
+buildUnnamed355() {
var o = new core.List<api.ProductStatusDataQualityIssue>();
o.add(buildProductStatusDataQualityIssue());
o.add(buildProductStatusDataQualityIssue());
return o;
}
-checkUnnamed334(core.List<api.ProductStatusDataQualityIssue> o) {
+checkUnnamed355(core.List<api.ProductStatusDataQualityIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductStatusDataQualityIssue(o[0]);
checkProductStatusDataQualityIssue(o[1]);
}
-buildUnnamed335() {
+buildUnnamed356() {
var o = new core.List<api.ProductStatusDestinationStatus>();
o.add(buildProductStatusDestinationStatus());
o.add(buildProductStatusDestinationStatus());
return o;
}
-checkUnnamed335(core.List<api.ProductStatusDestinationStatus> o) {
+checkUnnamed356(core.List<api.ProductStatusDestinationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductStatusDestinationStatus(o[0]);
checkProductStatusDestinationStatus(o[1]);
@@ -4583,8 +4583,8 @@
buildCounterProductStatus++;
if (buildCounterProductStatus < 3) {
o.creationDate = "foo";
- o.dataQualityIssues = buildUnnamed334();
- o.destinationStatuses = buildUnnamed335();
+ o.dataQualityIssues = buildUnnamed355();
+ o.destinationStatuses = buildUnnamed356();
o.googleExpirationDate = "foo";
o.kind = "foo";
o.lastUpdateDate = "foo";
@@ -4600,8 +4600,8 @@
buildCounterProductStatus++;
if (buildCounterProductStatus < 3) {
unittest.expect(o.creationDate, unittest.equals('foo'));
- checkUnnamed334(o.dataQualityIssues);
- checkUnnamed335(o.destinationStatuses);
+ checkUnnamed355(o.dataQualityIssues);
+ checkUnnamed356(o.destinationStatuses);
unittest.expect(o.googleExpirationDate, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastUpdateDate, unittest.equals('foo'));
@@ -4739,14 +4739,14 @@
buildCounterProductUnitPricingMeasure--;
}
-buildUnnamed336() {
+buildUnnamed357() {
var o = new core.List<api.ProductsCustomBatchRequestEntry>();
o.add(buildProductsCustomBatchRequestEntry());
o.add(buildProductsCustomBatchRequestEntry());
return o;
}
-checkUnnamed336(core.List<api.ProductsCustomBatchRequestEntry> o) {
+checkUnnamed357(core.List<api.ProductsCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductsCustomBatchRequestEntry(o[0]);
checkProductsCustomBatchRequestEntry(o[1]);
@@ -4757,7 +4757,7 @@
var o = new api.ProductsCustomBatchRequest();
buildCounterProductsCustomBatchRequest++;
if (buildCounterProductsCustomBatchRequest < 3) {
- o.entries = buildUnnamed336();
+ o.entries = buildUnnamed357();
}
buildCounterProductsCustomBatchRequest--;
return o;
@@ -4766,7 +4766,7 @@
checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) {
buildCounterProductsCustomBatchRequest++;
if (buildCounterProductsCustomBatchRequest < 3) {
- checkUnnamed336(o.entries);
+ checkUnnamed357(o.entries);
}
buildCounterProductsCustomBatchRequest--;
}
@@ -4798,14 +4798,14 @@
buildCounterProductsCustomBatchRequestEntry--;
}
-buildUnnamed337() {
+buildUnnamed358() {
var o = new core.List<api.ProductsCustomBatchResponseEntry>();
o.add(buildProductsCustomBatchResponseEntry());
o.add(buildProductsCustomBatchResponseEntry());
return o;
}
-checkUnnamed337(core.List<api.ProductsCustomBatchResponseEntry> o) {
+checkUnnamed358(core.List<api.ProductsCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductsCustomBatchResponseEntry(o[0]);
checkProductsCustomBatchResponseEntry(o[1]);
@@ -4816,7 +4816,7 @@
var o = new api.ProductsCustomBatchResponse();
buildCounterProductsCustomBatchResponse++;
if (buildCounterProductsCustomBatchResponse < 3) {
- o.entries = buildUnnamed337();
+ o.entries = buildUnnamed358();
o.kind = "foo";
}
buildCounterProductsCustomBatchResponse--;
@@ -4826,7 +4826,7 @@
checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) {
buildCounterProductsCustomBatchResponse++;
if (buildCounterProductsCustomBatchResponse < 3) {
- checkUnnamed337(o.entries);
+ checkUnnamed358(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterProductsCustomBatchResponse--;
@@ -4857,14 +4857,14 @@
buildCounterProductsCustomBatchResponseEntry--;
}
-buildUnnamed338() {
+buildUnnamed359() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed338(core.List<api.Product> o) {
+checkUnnamed359(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -4877,7 +4877,7 @@
if (buildCounterProductsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed338();
+ o.resources = buildUnnamed359();
}
buildCounterProductsListResponse--;
return o;
@@ -4888,19 +4888,19 @@
if (buildCounterProductsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed338(o.resources);
+ checkUnnamed359(o.resources);
}
buildCounterProductsListResponse--;
}
-buildUnnamed339() {
+buildUnnamed360() {
var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>();
o.add(buildProductstatusesCustomBatchRequestEntry());
o.add(buildProductstatusesCustomBatchRequestEntry());
return o;
}
-checkUnnamed339(core.List<api.ProductstatusesCustomBatchRequestEntry> o) {
+checkUnnamed360(core.List<api.ProductstatusesCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductstatusesCustomBatchRequestEntry(o[0]);
checkProductstatusesCustomBatchRequestEntry(o[1]);
@@ -4911,7 +4911,7 @@
var o = new api.ProductstatusesCustomBatchRequest();
buildCounterProductstatusesCustomBatchRequest++;
if (buildCounterProductstatusesCustomBatchRequest < 3) {
- o.entries = buildUnnamed339();
+ o.entries = buildUnnamed360();
}
buildCounterProductstatusesCustomBatchRequest--;
return o;
@@ -4920,7 +4920,7 @@
checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o) {
buildCounterProductstatusesCustomBatchRequest++;
if (buildCounterProductstatusesCustomBatchRequest < 3) {
- checkUnnamed339(o.entries);
+ checkUnnamed360(o.entries);
}
buildCounterProductstatusesCustomBatchRequest--;
}
@@ -4950,14 +4950,14 @@
buildCounterProductstatusesCustomBatchRequestEntry--;
}
-buildUnnamed340() {
+buildUnnamed361() {
var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>();
o.add(buildProductstatusesCustomBatchResponseEntry());
o.add(buildProductstatusesCustomBatchResponseEntry());
return o;
}
-checkUnnamed340(core.List<api.ProductstatusesCustomBatchResponseEntry> o) {
+checkUnnamed361(core.List<api.ProductstatusesCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductstatusesCustomBatchResponseEntry(o[0]);
checkProductstatusesCustomBatchResponseEntry(o[1]);
@@ -4968,7 +4968,7 @@
var o = new api.ProductstatusesCustomBatchResponse();
buildCounterProductstatusesCustomBatchResponse++;
if (buildCounterProductstatusesCustomBatchResponse < 3) {
- o.entries = buildUnnamed340();
+ o.entries = buildUnnamed361();
o.kind = "foo";
}
buildCounterProductstatusesCustomBatchResponse--;
@@ -4978,7 +4978,7 @@
checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o) {
buildCounterProductstatusesCustomBatchResponse++;
if (buildCounterProductstatusesCustomBatchResponse < 3) {
- checkUnnamed340(o.entries);
+ checkUnnamed361(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterProductstatusesCustomBatchResponse--;
@@ -5009,14 +5009,14 @@
buildCounterProductstatusesCustomBatchResponseEntry--;
}
-buildUnnamed341() {
+buildUnnamed362() {
var o = new core.List<api.ProductStatus>();
o.add(buildProductStatus());
o.add(buildProductStatus());
return o;
}
-checkUnnamed341(core.List<api.ProductStatus> o) {
+checkUnnamed362(core.List<api.ProductStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductStatus(o[0]);
checkProductStatus(o[1]);
@@ -5029,7 +5029,7 @@
if (buildCounterProductstatusesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed341();
+ o.resources = buildUnnamed362();
}
buildCounterProductstatusesListResponse--;
return o;
@@ -5040,45 +5040,45 @@
if (buildCounterProductstatusesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed341(o.resources);
+ checkUnnamed362(o.resources);
}
buildCounterProductstatusesListResponse--;
}
-buildUnnamed342() {
+buildUnnamed363() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed342(core.List<core.String> o) {
+checkUnnamed363(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed343() {
+buildUnnamed364() {
var o = new core.List<api.CarrierRate>();
o.add(buildCarrierRate());
o.add(buildCarrierRate());
return o;
}
-checkUnnamed343(core.List<api.CarrierRate> o) {
+checkUnnamed364(core.List<api.CarrierRate> o) {
unittest.expect(o, unittest.hasLength(2));
checkCarrierRate(o[0]);
checkCarrierRate(o[1]);
}
-buildUnnamed344() {
+buildUnnamed365() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed344(core.List<api.Table> o) {
+checkUnnamed365(core.List<api.Table> o) {
unittest.expect(o, unittest.hasLength(2));
checkTable(o[0]);
checkTable(o[1]);
@@ -5089,11 +5089,11 @@
var o = new api.RateGroup();
buildCounterRateGroup++;
if (buildCounterRateGroup < 3) {
- o.applicableShippingLabels = buildUnnamed342();
- o.carrierRates = buildUnnamed343();
+ o.applicableShippingLabels = buildUnnamed363();
+ o.carrierRates = buildUnnamed364();
o.mainTable = buildTable();
o.singleValue = buildValue();
- o.subtables = buildUnnamed344();
+ o.subtables = buildUnnamed365();
}
buildCounterRateGroup--;
return o;
@@ -5102,23 +5102,23 @@
checkRateGroup(api.RateGroup o) {
buildCounterRateGroup++;
if (buildCounterRateGroup < 3) {
- checkUnnamed342(o.applicableShippingLabels);
- checkUnnamed343(o.carrierRates);
+ checkUnnamed363(o.applicableShippingLabels);
+ checkUnnamed364(o.carrierRates);
checkTable(o.mainTable);
checkValue(o.singleValue);
- checkUnnamed344(o.subtables);
+ checkUnnamed365(o.subtables);
}
buildCounterRateGroup--;
}
-buildUnnamed345() {
+buildUnnamed366() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed345(core.List<api.Value> o) {
+checkUnnamed366(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -5129,7 +5129,7 @@
var o = new api.Row();
buildCounterRow++;
if (buildCounterRow < 3) {
- o.cells = buildUnnamed345();
+ o.cells = buildUnnamed366();
}
buildCounterRow--;
return o;
@@ -5138,19 +5138,19 @@
checkRow(api.Row o) {
buildCounterRow++;
if (buildCounterRow < 3) {
- checkUnnamed345(o.cells);
+ checkUnnamed366(o.cells);
}
buildCounterRow--;
}
-buildUnnamed346() {
+buildUnnamed367() {
var o = new core.List<api.RateGroup>();
o.add(buildRateGroup());
o.add(buildRateGroup());
return o;
}
-checkUnnamed346(core.List<api.RateGroup> o) {
+checkUnnamed367(core.List<api.RateGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkRateGroup(o[0]);
checkRateGroup(o[1]);
@@ -5166,7 +5166,7 @@
o.deliveryCountry = "foo";
o.deliveryTime = buildDeliveryTime();
o.name = "foo";
- o.rateGroups = buildUnnamed346();
+ o.rateGroups = buildUnnamed367();
}
buildCounterService--;
return o;
@@ -5180,32 +5180,32 @@
unittest.expect(o.deliveryCountry, unittest.equals('foo'));
checkDeliveryTime(o.deliveryTime);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed346(o.rateGroups);
+ checkUnnamed367(o.rateGroups);
}
buildCounterService--;
}
-buildUnnamed347() {
+buildUnnamed368() {
var o = new core.List<api.PostalCodeGroup>();
o.add(buildPostalCodeGroup());
o.add(buildPostalCodeGroup());
return o;
}
-checkUnnamed347(core.List<api.PostalCodeGroup> o) {
+checkUnnamed368(core.List<api.PostalCodeGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCodeGroup(o[0]);
checkPostalCodeGroup(o[1]);
}
-buildUnnamed348() {
+buildUnnamed369() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed348(core.List<api.Service> o) {
+checkUnnamed369(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -5217,8 +5217,8 @@
buildCounterShippingSettings++;
if (buildCounterShippingSettings < 3) {
o.accountId = "foo";
- o.postalCodeGroups = buildUnnamed347();
- o.services = buildUnnamed348();
+ o.postalCodeGroups = buildUnnamed368();
+ o.services = buildUnnamed369();
}
buildCounterShippingSettings--;
return o;
@@ -5228,20 +5228,20 @@
buildCounterShippingSettings++;
if (buildCounterShippingSettings < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed347(o.postalCodeGroups);
- checkUnnamed348(o.services);
+ checkUnnamed368(o.postalCodeGroups);
+ checkUnnamed369(o.services);
}
buildCounterShippingSettings--;
}
-buildUnnamed349() {
+buildUnnamed370() {
var o = new core.List<api.ShippingsettingsCustomBatchRequestEntry>();
o.add(buildShippingsettingsCustomBatchRequestEntry());
o.add(buildShippingsettingsCustomBatchRequestEntry());
return o;
}
-checkUnnamed349(core.List<api.ShippingsettingsCustomBatchRequestEntry> o) {
+checkUnnamed370(core.List<api.ShippingsettingsCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkShippingsettingsCustomBatchRequestEntry(o[0]);
checkShippingsettingsCustomBatchRequestEntry(o[1]);
@@ -5252,7 +5252,7 @@
var o = new api.ShippingsettingsCustomBatchRequest();
buildCounterShippingsettingsCustomBatchRequest++;
if (buildCounterShippingsettingsCustomBatchRequest < 3) {
- o.entries = buildUnnamed349();
+ o.entries = buildUnnamed370();
}
buildCounterShippingsettingsCustomBatchRequest--;
return o;
@@ -5261,7 +5261,7 @@
checkShippingsettingsCustomBatchRequest(api.ShippingsettingsCustomBatchRequest o) {
buildCounterShippingsettingsCustomBatchRequest++;
if (buildCounterShippingsettingsCustomBatchRequest < 3) {
- checkUnnamed349(o.entries);
+ checkUnnamed370(o.entries);
}
buildCounterShippingsettingsCustomBatchRequest--;
}
@@ -5293,14 +5293,14 @@
buildCounterShippingsettingsCustomBatchRequestEntry--;
}
-buildUnnamed350() {
+buildUnnamed371() {
var o = new core.List<api.ShippingsettingsCustomBatchResponseEntry>();
o.add(buildShippingsettingsCustomBatchResponseEntry());
o.add(buildShippingsettingsCustomBatchResponseEntry());
return o;
}
-checkUnnamed350(core.List<api.ShippingsettingsCustomBatchResponseEntry> o) {
+checkUnnamed371(core.List<api.ShippingsettingsCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkShippingsettingsCustomBatchResponseEntry(o[0]);
checkShippingsettingsCustomBatchResponseEntry(o[1]);
@@ -5311,7 +5311,7 @@
var o = new api.ShippingsettingsCustomBatchResponse();
buildCounterShippingsettingsCustomBatchResponse++;
if (buildCounterShippingsettingsCustomBatchResponse < 3) {
- o.entries = buildUnnamed350();
+ o.entries = buildUnnamed371();
o.kind = "foo";
}
buildCounterShippingsettingsCustomBatchResponse--;
@@ -5321,7 +5321,7 @@
checkShippingsettingsCustomBatchResponse(api.ShippingsettingsCustomBatchResponse o) {
buildCounterShippingsettingsCustomBatchResponse++;
if (buildCounterShippingsettingsCustomBatchResponse < 3) {
- checkUnnamed350(o.entries);
+ checkUnnamed371(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterShippingsettingsCustomBatchResponse--;
@@ -5352,14 +5352,14 @@
buildCounterShippingsettingsCustomBatchResponseEntry--;
}
-buildUnnamed351() {
+buildUnnamed372() {
var o = new core.List<api.CarriersCarrier>();
o.add(buildCarriersCarrier());
o.add(buildCarriersCarrier());
return o;
}
-checkUnnamed351(core.List<api.CarriersCarrier> o) {
+checkUnnamed372(core.List<api.CarriersCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkCarriersCarrier(o[0]);
checkCarriersCarrier(o[1]);
@@ -5370,7 +5370,7 @@
var o = new api.ShippingsettingsGetSupportedCarriersResponse();
buildCounterShippingsettingsGetSupportedCarriersResponse++;
if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) {
- o.carriers = buildUnnamed351();
+ o.carriers = buildUnnamed372();
o.kind = "foo";
}
buildCounterShippingsettingsGetSupportedCarriersResponse--;
@@ -5380,20 +5380,20 @@
checkShippingsettingsGetSupportedCarriersResponse(api.ShippingsettingsGetSupportedCarriersResponse o) {
buildCounterShippingsettingsGetSupportedCarriersResponse++;
if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) {
- checkUnnamed351(o.carriers);
+ checkUnnamed372(o.carriers);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterShippingsettingsGetSupportedCarriersResponse--;
}
-buildUnnamed352() {
+buildUnnamed373() {
var o = new core.List<api.ShippingSettings>();
o.add(buildShippingSettings());
o.add(buildShippingSettings());
return o;
}
-checkUnnamed352(core.List<api.ShippingSettings> o) {
+checkUnnamed373(core.List<api.ShippingSettings> o) {
unittest.expect(o, unittest.hasLength(2));
checkShippingSettings(o[0]);
checkShippingSettings(o[1]);
@@ -5406,7 +5406,7 @@
if (buildCounterShippingsettingsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed352();
+ o.resources = buildUnnamed373();
}
buildCounterShippingsettingsListResponse--;
return o;
@@ -5417,19 +5417,19 @@
if (buildCounterShippingsettingsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed352(o.resources);
+ checkUnnamed373(o.resources);
}
buildCounterShippingsettingsListResponse--;
}
-buildUnnamed353() {
+buildUnnamed374() {
var o = new core.List<api.Row>();
o.add(buildRow());
o.add(buildRow());
return o;
}
-checkUnnamed353(core.List<api.Row> o) {
+checkUnnamed374(core.List<api.Row> o) {
unittest.expect(o, unittest.hasLength(2));
checkRow(o[0]);
checkRow(o[1]);
@@ -5443,7 +5443,7 @@
o.columnHeaders = buildHeaders();
o.name = "foo";
o.rowHeaders = buildHeaders();
- o.rows = buildUnnamed353();
+ o.rows = buildUnnamed374();
}
buildCounterTable--;
return o;
@@ -5455,32 +5455,32 @@
checkHeaders(o.columnHeaders);
unittest.expect(o.name, unittest.equals('foo'));
checkHeaders(o.rowHeaders);
- checkUnnamed353(o.rows);
+ checkUnnamed374(o.rows);
}
buildCounterTable--;
}
-buildUnnamed354() {
+buildUnnamed375() {
var o = new core.List<api.TestOrderLineItem>();
o.add(buildTestOrderLineItem());
o.add(buildTestOrderLineItem());
return o;
}
-checkUnnamed354(core.List<api.TestOrderLineItem> o) {
+checkUnnamed375(core.List<api.TestOrderLineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestOrderLineItem(o[0]);
checkTestOrderLineItem(o[1]);
}
-buildUnnamed355() {
+buildUnnamed376() {
var o = new core.List<api.OrderPromotion>();
o.add(buildOrderPromotion());
o.add(buildOrderPromotion());
return o;
}
-checkUnnamed355(core.List<api.OrderPromotion> o) {
+checkUnnamed376(core.List<api.OrderPromotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotion(o[0]);
checkOrderPromotion(o[1]);
@@ -5493,10 +5493,10 @@
if (buildCounterTestOrder < 3) {
o.customer = buildTestOrderCustomer();
o.kind = "foo";
- o.lineItems = buildUnnamed354();
+ o.lineItems = buildUnnamed375();
o.paymentMethod = buildTestOrderPaymentMethod();
o.predefinedDeliveryAddress = "foo";
- o.promotions = buildUnnamed355();
+ o.promotions = buildUnnamed376();
o.shippingCost = buildPrice();
o.shippingCostTax = buildPrice();
o.shippingOption = "foo";
@@ -5510,10 +5510,10 @@
if (buildCounterTestOrder < 3) {
checkTestOrderCustomer(o.customer);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed354(o.lineItems);
+ checkUnnamed375(o.lineItems);
checkTestOrderPaymentMethod(o.paymentMethod);
unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo'));
- checkUnnamed355(o.promotions);
+ checkUnnamed376(o.promotions);
checkPrice(o.shippingCost);
checkPrice(o.shippingCostTax);
unittest.expect(o.shippingOption, unittest.equals('foo'));
@@ -5571,14 +5571,14 @@
buildCounterTestOrderLineItem--;
}
-buildUnnamed356() {
+buildUnnamed377() {
var o = new core.List<api.OrderLineItemProductVariantAttribute>();
o.add(buildOrderLineItemProductVariantAttribute());
o.add(buildOrderLineItemProductVariantAttribute());
return o;
}
-checkUnnamed356(core.List<api.OrderLineItemProductVariantAttribute> o) {
+checkUnnamed377(core.List<api.OrderLineItemProductVariantAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItemProductVariantAttribute(o[0]);
checkOrderLineItemProductVariantAttribute(o[1]);
@@ -5601,7 +5601,7 @@
o.price = buildPrice();
o.targetCountry = "foo";
o.title = "foo";
- o.variantAttributes = buildUnnamed356();
+ o.variantAttributes = buildUnnamed377();
}
buildCounterTestOrderLineItemProduct--;
return o;
@@ -5622,7 +5622,7 @@
checkPrice(o.price);
unittest.expect(o.targetCountry, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed356(o.variantAttributes);
+ checkUnnamed377(o.variantAttributes);
}
buildCounterTestOrderLineItemProduct--;
}
@@ -5702,14 +5702,14 @@
buildCounterWeight--;
}
-buildUnnamed357() {
+buildUnnamed378() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed357(core.List<core.String> o) {
+checkUnnamed378(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -9233,7 +9233,7 @@
var arg_pageToken = "foo";
var arg_placedDateEnd = "foo";
var arg_placedDateStart = "foo";
- var arg_statuses = buildUnnamed357();
+ var arg_statuses = buildUnnamed378();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
diff --git a/generated/googleapis/test/content/v2sandbox_test.dart b/generated/googleapis/test/content/v2sandbox_test.dart
index 1fde967..af6069b 100644
--- a/generated/googleapis/test/content/v2sandbox_test.dart
+++ b/generated/googleapis/test/content/v2sandbox_test.dart
@@ -74,14 +74,14 @@
buildCounterError--;
}
-buildUnnamed1297() {
+buildUnnamed1350() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed1297(core.List<api.Error> o) {
+checkUnnamed1350(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -93,7 +93,7 @@
buildCounterErrors++;
if (buildCounterErrors < 3) {
o.code = 42;
- o.errors = buildUnnamed1297();
+ o.errors = buildUnnamed1350();
o.message = "foo";
}
buildCounterErrors--;
@@ -104,59 +104,59 @@
buildCounterErrors++;
if (buildCounterErrors < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1297(o.errors);
+ checkUnnamed1350(o.errors);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterErrors--;
}
-buildUnnamed1298() {
+buildUnnamed1351() {
var o = new core.List<api.OrderLineItem>();
o.add(buildOrderLineItem());
o.add(buildOrderLineItem());
return o;
}
-checkUnnamed1298(core.List<api.OrderLineItem> o) {
+checkUnnamed1351(core.List<api.OrderLineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItem(o[0]);
checkOrderLineItem(o[1]);
}
-buildUnnamed1299() {
+buildUnnamed1352() {
var o = new core.List<api.OrderPromotion>();
o.add(buildOrderPromotion());
o.add(buildOrderPromotion());
return o;
}
-checkUnnamed1299(core.List<api.OrderPromotion> o) {
+checkUnnamed1352(core.List<api.OrderPromotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotion(o[0]);
checkOrderPromotion(o[1]);
}
-buildUnnamed1300() {
+buildUnnamed1353() {
var o = new core.List<api.OrderRefund>();
o.add(buildOrderRefund());
o.add(buildOrderRefund());
return o;
}
-checkUnnamed1300(core.List<api.OrderRefund> o) {
+checkUnnamed1353(core.List<api.OrderRefund> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderRefund(o[0]);
checkOrderRefund(o[1]);
}
-buildUnnamed1301() {
+buildUnnamed1354() {
var o = new core.List<api.OrderShipment>();
o.add(buildOrderShipment());
o.add(buildOrderShipment());
return o;
}
-checkUnnamed1301(core.List<api.OrderShipment> o) {
+checkUnnamed1354(core.List<api.OrderShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipment(o[0]);
checkOrderShipment(o[1]);
@@ -173,16 +173,16 @@
o.deliveryDetails = buildOrderDeliveryDetails();
o.id = "foo";
o.kind = "foo";
- o.lineItems = buildUnnamed1298();
+ o.lineItems = buildUnnamed1351();
o.merchantId = "foo";
o.merchantOrderId = "foo";
o.netAmount = buildPrice();
o.paymentMethod = buildOrderPaymentMethod();
o.paymentStatus = "foo";
o.placedDate = "foo";
- o.promotions = buildUnnamed1299();
- o.refunds = buildUnnamed1300();
- o.shipments = buildUnnamed1301();
+ o.promotions = buildUnnamed1352();
+ o.refunds = buildUnnamed1353();
+ o.shipments = buildUnnamed1354();
o.shippingCost = buildPrice();
o.shippingCostTax = buildPrice();
o.shippingOption = "foo";
@@ -201,16 +201,16 @@
checkOrderDeliveryDetails(o.deliveryDetails);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1298(o.lineItems);
+ checkUnnamed1351(o.lineItems);
unittest.expect(o.merchantId, unittest.equals('foo'));
unittest.expect(o.merchantOrderId, unittest.equals('foo'));
checkPrice(o.netAmount);
checkOrderPaymentMethod(o.paymentMethod);
unittest.expect(o.paymentStatus, unittest.equals('foo'));
unittest.expect(o.placedDate, unittest.equals('foo'));
- checkUnnamed1299(o.promotions);
- checkUnnamed1300(o.refunds);
- checkUnnamed1301(o.shipments);
+ checkUnnamed1352(o.promotions);
+ checkUnnamed1353(o.refunds);
+ checkUnnamed1354(o.shipments);
checkPrice(o.shippingCost);
checkPrice(o.shippingCostTax);
unittest.expect(o.shippingOption, unittest.equals('foo'));
@@ -219,27 +219,27 @@
buildCounterOrder--;
}
-buildUnnamed1302() {
+buildUnnamed1355() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1302(core.List<core.String> o) {
+checkUnnamed1355(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1303() {
+buildUnnamed1356() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1303(core.List<core.String> o) {
+checkUnnamed1356(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -251,13 +251,13 @@
buildCounterOrderAddress++;
if (buildCounterOrderAddress < 3) {
o.country = "foo";
- o.fullAddress = buildUnnamed1302();
+ o.fullAddress = buildUnnamed1355();
o.isPostOfficeBox = true;
o.locality = "foo";
o.postalCode = "foo";
o.recipientName = "foo";
o.region = "foo";
- o.streetAddress = buildUnnamed1303();
+ o.streetAddress = buildUnnamed1356();
}
buildCounterOrderAddress--;
return o;
@@ -267,13 +267,13 @@
buildCounterOrderAddress++;
if (buildCounterOrderAddress < 3) {
unittest.expect(o.country, unittest.equals('foo'));
- checkUnnamed1302(o.fullAddress);
+ checkUnnamed1355(o.fullAddress);
unittest.expect(o.isPostOfficeBox, unittest.isTrue);
unittest.expect(o.locality, unittest.equals('foo'));
unittest.expect(o.postalCode, unittest.equals('foo'));
unittest.expect(o.recipientName, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed1303(o.streetAddress);
+ checkUnnamed1356(o.streetAddress);
}
buildCounterOrderAddress--;
}
@@ -349,27 +349,27 @@
buildCounterOrderDeliveryDetails--;
}
-buildUnnamed1304() {
+buildUnnamed1357() {
var o = new core.List<api.OrderCancellation>();
o.add(buildOrderCancellation());
o.add(buildOrderCancellation());
return o;
}
-checkUnnamed1304(core.List<api.OrderCancellation> o) {
+checkUnnamed1357(core.List<api.OrderCancellation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderCancellation(o[0]);
checkOrderCancellation(o[1]);
}
-buildUnnamed1305() {
+buildUnnamed1358() {
var o = new core.List<api.OrderReturn>();
o.add(buildOrderReturn());
o.add(buildOrderReturn());
return o;
}
-checkUnnamed1305(core.List<api.OrderReturn> o) {
+checkUnnamed1358(core.List<api.OrderReturn> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderReturn(o[0]);
checkOrderReturn(o[1]);
@@ -380,7 +380,7 @@
var o = new api.OrderLineItem();
buildCounterOrderLineItem++;
if (buildCounterOrderLineItem < 3) {
- o.cancellations = buildUnnamed1304();
+ o.cancellations = buildUnnamed1357();
o.id = "foo";
o.price = buildPrice();
o.product = buildOrderLineItemProduct();
@@ -391,7 +391,7 @@
o.quantityReturned = 42;
o.quantityShipped = 42;
o.returnInfo = buildOrderLineItemReturnInfo();
- o.returns = buildUnnamed1305();
+ o.returns = buildUnnamed1358();
o.shippingDetails = buildOrderLineItemShippingDetails();
o.tax = buildPrice();
}
@@ -402,7 +402,7 @@
checkOrderLineItem(api.OrderLineItem o) {
buildCounterOrderLineItem++;
if (buildCounterOrderLineItem < 3) {
- checkUnnamed1304(o.cancellations);
+ checkUnnamed1357(o.cancellations);
unittest.expect(o.id, unittest.equals('foo'));
checkPrice(o.price);
checkOrderLineItemProduct(o.product);
@@ -413,21 +413,21 @@
unittest.expect(o.quantityReturned, unittest.equals(42));
unittest.expect(o.quantityShipped, unittest.equals(42));
checkOrderLineItemReturnInfo(o.returnInfo);
- checkUnnamed1305(o.returns);
+ checkUnnamed1358(o.returns);
checkOrderLineItemShippingDetails(o.shippingDetails);
checkPrice(o.tax);
}
buildCounterOrderLineItem--;
}
-buildUnnamed1306() {
+buildUnnamed1359() {
var o = new core.List<api.OrderLineItemProductVariantAttribute>();
o.add(buildOrderLineItemProductVariantAttribute());
o.add(buildOrderLineItemProductVariantAttribute());
return o;
}
-checkUnnamed1306(core.List<api.OrderLineItemProductVariantAttribute> o) {
+checkUnnamed1359(core.List<api.OrderLineItemProductVariantAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItemProductVariantAttribute(o[0]);
checkOrderLineItemProductVariantAttribute(o[1]);
@@ -452,7 +452,7 @@
o.shownImage = "foo";
o.targetCountry = "foo";
o.title = "foo";
- o.variantAttributes = buildUnnamed1306();
+ o.variantAttributes = buildUnnamed1359();
}
buildCounterOrderLineItemProduct--;
return o;
@@ -475,7 +475,7 @@
unittest.expect(o.shownImage, unittest.equals('foo'));
unittest.expect(o.targetCountry, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1306(o.variantAttributes);
+ checkUnnamed1359(o.variantAttributes);
}
buildCounterOrderLineItemProduct--;
}
@@ -601,14 +601,14 @@
buildCounterOrderPaymentMethod--;
}
-buildUnnamed1307() {
+buildUnnamed1360() {
var o = new core.List<api.OrderPromotionBenefit>();
o.add(buildOrderPromotionBenefit());
o.add(buildOrderPromotionBenefit());
return o;
}
-checkUnnamed1307(core.List<api.OrderPromotionBenefit> o) {
+checkUnnamed1360(core.List<api.OrderPromotionBenefit> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotionBenefit(o[0]);
checkOrderPromotionBenefit(o[1]);
@@ -619,7 +619,7 @@
var o = new api.OrderPromotion();
buildCounterOrderPromotion++;
if (buildCounterOrderPromotion < 3) {
- o.benefits = buildUnnamed1307();
+ o.benefits = buildUnnamed1360();
o.effectiveDates = "foo";
o.genericRedemptionCode = "foo";
o.id = "foo";
@@ -634,7 +634,7 @@
checkOrderPromotion(api.OrderPromotion o) {
buildCounterOrderPromotion++;
if (buildCounterOrderPromotion < 3) {
- checkUnnamed1307(o.benefits);
+ checkUnnamed1360(o.benefits);
unittest.expect(o.effectiveDates, unittest.equals('foo'));
unittest.expect(o.genericRedemptionCode, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -645,14 +645,14 @@
buildCounterOrderPromotion--;
}
-buildUnnamed1308() {
+buildUnnamed1361() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1308(core.List<core.String> o) {
+checkUnnamed1361(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -664,7 +664,7 @@
buildCounterOrderPromotionBenefit++;
if (buildCounterOrderPromotionBenefit < 3) {
o.discount = buildPrice();
- o.offerIds = buildUnnamed1308();
+ o.offerIds = buildUnnamed1361();
o.subType = "foo";
o.taxImpact = buildPrice();
o.type = "foo";
@@ -677,7 +677,7 @@
buildCounterOrderPromotionBenefit++;
if (buildCounterOrderPromotionBenefit < 3) {
checkPrice(o.discount);
- checkUnnamed1308(o.offerIds);
+ checkUnnamed1361(o.offerIds);
unittest.expect(o.subType, unittest.equals('foo'));
checkPrice(o.taxImpact);
unittest.expect(o.type, unittest.equals('foo'));
@@ -739,14 +739,14 @@
buildCounterOrderReturn--;
}
-buildUnnamed1309() {
+buildUnnamed1362() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed1309(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed1362(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
@@ -761,7 +761,7 @@
o.creationDate = "foo";
o.deliveryDate = "foo";
o.id = "foo";
- o.lineItems = buildUnnamed1309();
+ o.lineItems = buildUnnamed1362();
o.status = "foo";
o.trackingId = "foo";
}
@@ -776,7 +776,7 @@
unittest.expect(o.creationDate, unittest.equals('foo'));
unittest.expect(o.deliveryDate, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1309(o.lineItems);
+ checkUnnamed1362(o.lineItems);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.trackingId, unittest.equals('foo'));
}
@@ -999,14 +999,14 @@
buildCounterOrdersCreateTestOrderResponse--;
}
-buildUnnamed1310() {
+buildUnnamed1363() {
var o = new core.List<api.OrdersCustomBatchRequestEntry>();
o.add(buildOrdersCustomBatchRequestEntry());
o.add(buildOrdersCustomBatchRequestEntry());
return o;
}
-checkUnnamed1310(core.List<api.OrdersCustomBatchRequestEntry> o) {
+checkUnnamed1363(core.List<api.OrdersCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchRequestEntry(o[0]);
checkOrdersCustomBatchRequestEntry(o[1]);
@@ -1017,7 +1017,7 @@
var o = new api.OrdersCustomBatchRequest();
buildCounterOrdersCustomBatchRequest++;
if (buildCounterOrdersCustomBatchRequest < 3) {
- o.entries = buildUnnamed1310();
+ o.entries = buildUnnamed1363();
}
buildCounterOrdersCustomBatchRequest--;
return o;
@@ -1026,7 +1026,7 @@
checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) {
buildCounterOrdersCustomBatchRequest++;
if (buildCounterOrdersCustomBatchRequest < 3) {
- checkUnnamed1310(o.entries);
+ checkUnnamed1363(o.entries);
}
buildCounterOrdersCustomBatchRequest--;
}
@@ -1168,14 +1168,14 @@
buildCounterOrdersCustomBatchRequestEntryReturnLineItem--;
}
-buildUnnamed1311() {
+buildUnnamed1364() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed1311(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed1364(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
@@ -1187,7 +1187,7 @@
buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
o.carrier = "foo";
- o.lineItems = buildUnnamed1311();
+ o.lineItems = buildUnnamed1364();
o.shipmentId = "foo";
o.trackingId = "foo";
}
@@ -1199,7 +1199,7 @@
buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
unittest.expect(o.carrier, unittest.equals('foo'));
- checkUnnamed1311(o.lineItems);
+ checkUnnamed1364(o.lineItems);
unittest.expect(o.shipmentId, unittest.equals('foo'));
unittest.expect(o.trackingId, unittest.equals('foo'));
}
@@ -1231,14 +1231,14 @@
buildCounterOrdersCustomBatchRequestEntryUpdateShipment--;
}
-buildUnnamed1312() {
+buildUnnamed1365() {
var o = new core.List<api.OrdersCustomBatchResponseEntry>();
o.add(buildOrdersCustomBatchResponseEntry());
o.add(buildOrdersCustomBatchResponseEntry());
return o;
}
-checkUnnamed1312(core.List<api.OrdersCustomBatchResponseEntry> o) {
+checkUnnamed1365(core.List<api.OrdersCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchResponseEntry(o[0]);
checkOrdersCustomBatchResponseEntry(o[1]);
@@ -1249,7 +1249,7 @@
var o = new api.OrdersCustomBatchResponse();
buildCounterOrdersCustomBatchResponse++;
if (buildCounterOrdersCustomBatchResponse < 3) {
- o.entries = buildUnnamed1312();
+ o.entries = buildUnnamed1365();
o.kind = "foo";
}
buildCounterOrdersCustomBatchResponse--;
@@ -1259,7 +1259,7 @@
checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) {
buildCounterOrdersCustomBatchResponse++;
if (buildCounterOrdersCustomBatchResponse < 3) {
- checkUnnamed1312(o.entries);
+ checkUnnamed1365(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterOrdersCustomBatchResponse--;
@@ -1334,14 +1334,14 @@
buildCounterOrdersGetTestOrderTemplateResponse--;
}
-buildUnnamed1313() {
+buildUnnamed1366() {
var o = new core.List<api.Order>();
o.add(buildOrder());
o.add(buildOrder());
return o;
}
-checkUnnamed1313(core.List<api.Order> o) {
+checkUnnamed1366(core.List<api.Order> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrder(o[0]);
checkOrder(o[1]);
@@ -1354,7 +1354,7 @@
if (buildCounterOrdersListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed1313();
+ o.resources = buildUnnamed1366();
}
buildCounterOrdersListResponse--;
return o;
@@ -1365,7 +1365,7 @@
if (buildCounterOrdersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1313(o.resources);
+ checkUnnamed1366(o.resources);
}
buildCounterOrdersListResponse--;
}
@@ -1464,14 +1464,14 @@
buildCounterOrdersReturnLineItemResponse--;
}
-buildUnnamed1314() {
+buildUnnamed1367() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed1314(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed1367(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
@@ -1483,7 +1483,7 @@
buildCounterOrdersShipLineItemsRequest++;
if (buildCounterOrdersShipLineItemsRequest < 3) {
o.carrier = "foo";
- o.lineItems = buildUnnamed1314();
+ o.lineItems = buildUnnamed1367();
o.operationId = "foo";
o.shipmentId = "foo";
o.trackingId = "foo";
@@ -1496,7 +1496,7 @@
buildCounterOrdersShipLineItemsRequest++;
if (buildCounterOrdersShipLineItemsRequest < 3) {
unittest.expect(o.carrier, unittest.equals('foo'));
- checkUnnamed1314(o.lineItems);
+ checkUnnamed1367(o.lineItems);
unittest.expect(o.operationId, unittest.equals('foo'));
unittest.expect(o.shipmentId, unittest.equals('foo'));
unittest.expect(o.trackingId, unittest.equals('foo'));
@@ -1636,27 +1636,27 @@
buildCounterPrice--;
}
-buildUnnamed1315() {
+buildUnnamed1368() {
var o = new core.List<api.TestOrderLineItem>();
o.add(buildTestOrderLineItem());
o.add(buildTestOrderLineItem());
return o;
}
-checkUnnamed1315(core.List<api.TestOrderLineItem> o) {
+checkUnnamed1368(core.List<api.TestOrderLineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestOrderLineItem(o[0]);
checkTestOrderLineItem(o[1]);
}
-buildUnnamed1316() {
+buildUnnamed1369() {
var o = new core.List<api.OrderPromotion>();
o.add(buildOrderPromotion());
o.add(buildOrderPromotion());
return o;
}
-checkUnnamed1316(core.List<api.OrderPromotion> o) {
+checkUnnamed1369(core.List<api.OrderPromotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotion(o[0]);
checkOrderPromotion(o[1]);
@@ -1669,10 +1669,10 @@
if (buildCounterTestOrder < 3) {
o.customer = buildTestOrderCustomer();
o.kind = "foo";
- o.lineItems = buildUnnamed1315();
+ o.lineItems = buildUnnamed1368();
o.paymentMethod = buildTestOrderPaymentMethod();
o.predefinedDeliveryAddress = "foo";
- o.promotions = buildUnnamed1316();
+ o.promotions = buildUnnamed1369();
o.shippingCost = buildPrice();
o.shippingCostTax = buildPrice();
o.shippingOption = "foo";
@@ -1686,10 +1686,10 @@
if (buildCounterTestOrder < 3) {
checkTestOrderCustomer(o.customer);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1315(o.lineItems);
+ checkUnnamed1368(o.lineItems);
checkTestOrderPaymentMethod(o.paymentMethod);
unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo'));
- checkUnnamed1316(o.promotions);
+ checkUnnamed1369(o.promotions);
checkPrice(o.shippingCost);
checkPrice(o.shippingCostTax);
unittest.expect(o.shippingOption, unittest.equals('foo'));
@@ -1747,14 +1747,14 @@
buildCounterTestOrderLineItem--;
}
-buildUnnamed1317() {
+buildUnnamed1370() {
var o = new core.List<api.OrderLineItemProductVariantAttribute>();
o.add(buildOrderLineItemProductVariantAttribute());
o.add(buildOrderLineItemProductVariantAttribute());
return o;
}
-checkUnnamed1317(core.List<api.OrderLineItemProductVariantAttribute> o) {
+checkUnnamed1370(core.List<api.OrderLineItemProductVariantAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItemProductVariantAttribute(o[0]);
checkOrderLineItemProductVariantAttribute(o[1]);
@@ -1777,7 +1777,7 @@
o.price = buildPrice();
o.targetCountry = "foo";
o.title = "foo";
- o.variantAttributes = buildUnnamed1317();
+ o.variantAttributes = buildUnnamed1370();
}
buildCounterTestOrderLineItemProduct--;
return o;
@@ -1798,7 +1798,7 @@
checkPrice(o.price);
unittest.expect(o.targetCountry, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1317(o.variantAttributes);
+ checkUnnamed1370(o.variantAttributes);
}
buildCounterTestOrderLineItemProduct--;
}
@@ -1830,14 +1830,14 @@
buildCounterTestOrderPaymentMethod--;
}
-buildUnnamed1318() {
+buildUnnamed1371() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1318(core.List<core.String> o) {
+checkUnnamed1371(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2787,7 +2787,7 @@
var arg_pageToken = "foo";
var arg_placedDateEnd = "foo";
var arg_placedDateStart = "foo";
- var arg_statuses = buildUnnamed1318();
+ var arg_statuses = buildUnnamed1371();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
diff --git a/generated/googleapis/test/customsearch/v1_test.dart b/generated/googleapis/test/customsearch/v1_test.dart
index 97afd9c..aaa563c 100644
--- a/generated/googleapis/test/customsearch/v1_test.dart
+++ b/generated/googleapis/test/customsearch/v1_test.dart
@@ -74,30 +74,30 @@
buildCounterContextFacets--;
}
-buildUnnamed223() {
+buildUnnamed244() {
var o = new core.List<api.ContextFacets>();
o.add(buildContextFacets());
o.add(buildContextFacets());
return o;
}
-checkUnnamed223(core.List<api.ContextFacets> o) {
+checkUnnamed244(core.List<api.ContextFacets> o) {
unittest.expect(o, unittest.hasLength(2));
checkContextFacets(o[0]);
checkContextFacets(o[1]);
}
-buildUnnamed224() {
+buildUnnamed245() {
var o = new core.List<core.List<api.ContextFacets>>();
- o.add(buildUnnamed223());
- o.add(buildUnnamed223());
+ o.add(buildUnnamed244());
+ o.add(buildUnnamed244());
return o;
}
-checkUnnamed224(core.List<core.List<api.ContextFacets>> o) {
+checkUnnamed245(core.List<core.List<api.ContextFacets>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed223(o[0]);
- checkUnnamed223(o[1]);
+ checkUnnamed244(o[0]);
+ checkUnnamed244(o[1]);
}
core.int buildCounterContext = 0;
@@ -105,7 +105,7 @@
var o = new api.Context();
buildCounterContext++;
if (buildCounterContext < 3) {
- o.facets = buildUnnamed224();
+ o.facets = buildUnnamed245();
o.title = "foo";
}
buildCounterContext--;
@@ -115,7 +115,7 @@
checkContext(api.Context o) {
buildCounterContext++;
if (buildCounterContext < 3) {
- checkUnnamed224(o.facets);
+ checkUnnamed245(o.facets);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterContext--;
@@ -146,14 +146,14 @@
buildCounterPromotionBodyLines--;
}
-buildUnnamed225() {
+buildUnnamed246() {
var o = new core.List<api.PromotionBodyLines>();
o.add(buildPromotionBodyLines());
o.add(buildPromotionBodyLines());
return o;
}
-checkUnnamed225(core.List<api.PromotionBodyLines> o) {
+checkUnnamed246(core.List<api.PromotionBodyLines> o) {
unittest.expect(o, unittest.hasLength(2));
checkPromotionBodyLines(o[0]);
checkPromotionBodyLines(o[1]);
@@ -187,7 +187,7 @@
var o = new api.Promotion();
buildCounterPromotion++;
if (buildCounterPromotion < 3) {
- o.bodyLines = buildUnnamed225();
+ o.bodyLines = buildUnnamed246();
o.displayLink = "foo";
o.htmlTitle = "foo";
o.image = buildPromotionImage();
@@ -201,7 +201,7 @@
checkPromotion(api.Promotion o) {
buildCounterPromotion++;
if (buildCounterPromotion < 3) {
- checkUnnamed225(o.bodyLines);
+ checkUnnamed246(o.bodyLines);
unittest.expect(o.displayLink, unittest.equals('foo'));
unittest.expect(o.htmlTitle, unittest.equals('foo'));
checkPromotionImage(o.image);
@@ -356,56 +356,56 @@
buildCounterResultLabels--;
}
-buildUnnamed226() {
+buildUnnamed247() {
var o = new core.List<api.ResultLabels>();
o.add(buildResultLabels());
o.add(buildResultLabels());
return o;
}
-checkUnnamed226(core.List<api.ResultLabels> o) {
+checkUnnamed247(core.List<api.ResultLabels> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultLabels(o[0]);
checkResultLabels(o[1]);
}
-buildUnnamed227() {
+buildUnnamed248() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed227(core.Map<core.String, core.Object> o) {
+checkUnnamed248(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed228() {
+buildUnnamed249() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed227());
- o.add(buildUnnamed227());
+ o.add(buildUnnamed248());
+ o.add(buildUnnamed248());
return o;
}
-checkUnnamed228(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed249(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed227(o[0]);
- checkUnnamed227(o[1]);
+ checkUnnamed248(o[0]);
+ checkUnnamed248(o[1]);
}
-buildUnnamed229() {
+buildUnnamed250() {
var o = new core.Map<core.String, core.List<core.Map<core.String, core.Object>>>();
- o["x"] = buildUnnamed228();
- o["y"] = buildUnnamed228();
+ o["x"] = buildUnnamed249();
+ o["y"] = buildUnnamed249();
return o;
}
-checkUnnamed229(core.Map<core.String, core.List<core.Map<core.String, core.Object>>> o) {
+checkUnnamed250(core.Map<core.String, core.List<core.Map<core.String, core.Object>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed228(o["x"]);
- checkUnnamed228(o["y"]);
+ checkUnnamed249(o["x"]);
+ checkUnnamed249(o["y"]);
}
core.int buildCounterResult = 0;
@@ -422,10 +422,10 @@
o.htmlTitle = "foo";
o.image = buildResultImage();
o.kind = "foo";
- o.labels = buildUnnamed226();
+ o.labels = buildUnnamed247();
o.link = "foo";
o.mime = "foo";
- o.pagemap = buildUnnamed229();
+ o.pagemap = buildUnnamed250();
o.snippet = "foo";
o.title = "foo";
}
@@ -445,66 +445,66 @@
unittest.expect(o.htmlTitle, unittest.equals('foo'));
checkResultImage(o.image);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed226(o.labels);
+ checkUnnamed247(o.labels);
unittest.expect(o.link, unittest.equals('foo'));
unittest.expect(o.mime, unittest.equals('foo'));
- checkUnnamed229(o.pagemap);
+ checkUnnamed250(o.pagemap);
unittest.expect(o.snippet, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterResult--;
}
-buildUnnamed230() {
+buildUnnamed251() {
var o = new core.List<api.Result>();
o.add(buildResult());
o.add(buildResult());
return o;
}
-checkUnnamed230(core.List<api.Result> o) {
+checkUnnamed251(core.List<api.Result> o) {
unittest.expect(o, unittest.hasLength(2));
checkResult(o[0]);
checkResult(o[1]);
}
-buildUnnamed231() {
+buildUnnamed252() {
var o = new core.List<api.Promotion>();
o.add(buildPromotion());
o.add(buildPromotion());
return o;
}
-checkUnnamed231(core.List<api.Promotion> o) {
+checkUnnamed252(core.List<api.Promotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkPromotion(o[0]);
checkPromotion(o[1]);
}
-buildUnnamed232() {
+buildUnnamed253() {
var o = new core.List<api.Query>();
o.add(buildQuery());
o.add(buildQuery());
return o;
}
-checkUnnamed232(core.List<api.Query> o) {
+checkUnnamed253(core.List<api.Query> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuery(o[0]);
checkQuery(o[1]);
}
-buildUnnamed233() {
+buildUnnamed254() {
var o = new core.Map<core.String, core.List<api.Query>>();
- o["x"] = buildUnnamed232();
- o["y"] = buildUnnamed232();
+ o["x"] = buildUnnamed253();
+ o["y"] = buildUnnamed253();
return o;
}
-checkUnnamed233(core.Map<core.String, core.List<api.Query>> o) {
+checkUnnamed254(core.Map<core.String, core.List<api.Query>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed232(o["x"]);
- checkUnnamed232(o["y"]);
+ checkUnnamed253(o["x"]);
+ checkUnnamed253(o["y"]);
}
core.int buildCounterSearchSearchInformation = 0;
@@ -580,10 +580,10 @@
buildCounterSearch++;
if (buildCounterSearch < 3) {
o.context = buildContext();
- o.items = buildUnnamed230();
+ o.items = buildUnnamed251();
o.kind = "foo";
- o.promotions = buildUnnamed231();
- o.queries = buildUnnamed233();
+ o.promotions = buildUnnamed252();
+ o.queries = buildUnnamed254();
o.searchInformation = buildSearchSearchInformation();
o.spelling = buildSearchSpelling();
o.url = buildSearchUrl();
@@ -596,10 +596,10 @@
buildCounterSearch++;
if (buildCounterSearch < 3) {
checkContext(o.context);
- checkUnnamed230(o.items);
+ checkUnnamed251(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed231(o.promotions);
- checkUnnamed233(o.queries);
+ checkUnnamed252(o.promotions);
+ checkUnnamed254(o.queries);
checkSearchSearchInformation(o.searchInformation);
checkSearchSpelling(o.spelling);
checkSearchUrl(o.url);
diff --git a/generated/googleapis/test/dataproc/v1_test.dart b/generated/googleapis/test/dataproc/v1_test.dart
index 67cc211..a9b6283 100644
--- a/generated/googleapis/test/dataproc/v1_test.dart
+++ b/generated/googleapis/test/dataproc/v1_test.dart
@@ -89,27 +89,27 @@
buildCounterCancelJobRequest--;
}
-buildUnnamed445() {
+buildUnnamed466() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed445(core.Map<core.String, core.String> o) {
+checkUnnamed466(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed446() {
+buildUnnamed467() {
var o = new core.List<api.ClusterStatus>();
o.add(buildClusterStatus());
o.add(buildClusterStatus());
return o;
}
-checkUnnamed446(core.List<api.ClusterStatus> o) {
+checkUnnamed467(core.List<api.ClusterStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkClusterStatus(o[0]);
checkClusterStatus(o[1]);
@@ -123,11 +123,11 @@
o.clusterName = "foo";
o.clusterUuid = "foo";
o.config = buildClusterConfig();
- o.labels = buildUnnamed445();
+ o.labels = buildUnnamed466();
o.metrics = buildClusterMetrics();
o.projectId = "foo";
o.status = buildClusterStatus();
- o.statusHistory = buildUnnamed446();
+ o.statusHistory = buildUnnamed467();
}
buildCounterCluster--;
return o;
@@ -139,23 +139,23 @@
unittest.expect(o.clusterName, unittest.equals('foo'));
unittest.expect(o.clusterUuid, unittest.equals('foo'));
checkClusterConfig(o.config);
- checkUnnamed445(o.labels);
+ checkUnnamed466(o.labels);
checkClusterMetrics(o.metrics);
unittest.expect(o.projectId, unittest.equals('foo'));
checkClusterStatus(o.status);
- checkUnnamed446(o.statusHistory);
+ checkUnnamed467(o.statusHistory);
}
buildCounterCluster--;
}
-buildUnnamed447() {
+buildUnnamed468() {
var o = new core.List<api.NodeInitializationAction>();
o.add(buildNodeInitializationAction());
o.add(buildNodeInitializationAction());
return o;
}
-checkUnnamed447(core.List<api.NodeInitializationAction> o) {
+checkUnnamed468(core.List<api.NodeInitializationAction> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeInitializationAction(o[0]);
checkNodeInitializationAction(o[1]);
@@ -168,7 +168,7 @@
if (buildCounterClusterConfig < 3) {
o.configBucket = "foo";
o.gceClusterConfig = buildGceClusterConfig();
- o.initializationActions = buildUnnamed447();
+ o.initializationActions = buildUnnamed468();
o.masterConfig = buildInstanceGroupConfig();
o.secondaryWorkerConfig = buildInstanceGroupConfig();
o.softwareConfig = buildSoftwareConfig();
@@ -183,7 +183,7 @@
if (buildCounterClusterConfig < 3) {
unittest.expect(o.configBucket, unittest.equals('foo'));
checkGceClusterConfig(o.gceClusterConfig);
- checkUnnamed447(o.initializationActions);
+ checkUnnamed468(o.initializationActions);
checkInstanceGroupConfig(o.masterConfig);
checkInstanceGroupConfig(o.secondaryWorkerConfig);
checkSoftwareConfig(o.softwareConfig);
@@ -192,27 +192,27 @@
buildCounterClusterConfig--;
}
-buildUnnamed448() {
+buildUnnamed469() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed448(core.Map<core.String, core.String> o) {
+checkUnnamed469(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed449() {
+buildUnnamed470() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed449(core.Map<core.String, core.String> o) {
+checkUnnamed470(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -223,8 +223,8 @@
var o = new api.ClusterMetrics();
buildCounterClusterMetrics++;
if (buildCounterClusterMetrics < 3) {
- o.hdfsMetrics = buildUnnamed448();
- o.yarnMetrics = buildUnnamed449();
+ o.hdfsMetrics = buildUnnamed469();
+ o.yarnMetrics = buildUnnamed470();
}
buildCounterClusterMetrics--;
return o;
@@ -233,46 +233,46 @@
checkClusterMetrics(api.ClusterMetrics o) {
buildCounterClusterMetrics++;
if (buildCounterClusterMetrics < 3) {
- checkUnnamed448(o.hdfsMetrics);
- checkUnnamed449(o.yarnMetrics);
+ checkUnnamed469(o.hdfsMetrics);
+ checkUnnamed470(o.yarnMetrics);
}
buildCounterClusterMetrics--;
}
-buildUnnamed450() {
+buildUnnamed471() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed450(core.Map<core.String, core.String> o) {
+checkUnnamed471(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed451() {
+buildUnnamed472() {
var o = new core.List<api.ClusterOperationStatus>();
o.add(buildClusterOperationStatus());
o.add(buildClusterOperationStatus());
return o;
}
-checkUnnamed451(core.List<api.ClusterOperationStatus> o) {
+checkUnnamed472(core.List<api.ClusterOperationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkClusterOperationStatus(o[0]);
checkClusterOperationStatus(o[1]);
}
-buildUnnamed452() {
+buildUnnamed473() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed452(core.List<core.String> o) {
+checkUnnamed473(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -286,11 +286,11 @@
o.clusterName = "foo";
o.clusterUuid = "foo";
o.description = "foo";
- o.labels = buildUnnamed450();
+ o.labels = buildUnnamed471();
o.operationType = "foo";
o.status = buildClusterOperationStatus();
- o.statusHistory = buildUnnamed451();
- o.warnings = buildUnnamed452();
+ o.statusHistory = buildUnnamed472();
+ o.warnings = buildUnnamed473();
}
buildCounterClusterOperationMetadata--;
return o;
@@ -302,11 +302,11 @@
unittest.expect(o.clusterName, unittest.equals('foo'));
unittest.expect(o.clusterUuid, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed450(o.labels);
+ checkUnnamed471(o.labels);
unittest.expect(o.operationType, unittest.equals('foo'));
checkClusterOperationStatus(o.status);
- checkUnnamed451(o.statusHistory);
- checkUnnamed452(o.warnings);
+ checkUnnamed472(o.statusHistory);
+ checkUnnamed473(o.warnings);
}
buildCounterClusterOperationMetadata--;
}
@@ -344,6 +344,7 @@
o.detail = "foo";
o.state = "foo";
o.stateStartTime = "foo";
+ o.substate = "foo";
}
buildCounterClusterStatus--;
return o;
@@ -355,6 +356,7 @@
unittest.expect(o.detail, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.stateStartTime, unittest.equals('foo'));
+ unittest.expect(o.substate, unittest.equals('foo'));
}
buildCounterClusterStatus--;
}
@@ -452,40 +454,40 @@
buildCounterEmpty--;
}
-buildUnnamed453() {
+buildUnnamed474() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed453(core.Map<core.String, core.String> o) {
+checkUnnamed474(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed454() {
+buildUnnamed475() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed454(core.List<core.String> o) {
+checkUnnamed475(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed455() {
+buildUnnamed476() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed455(core.List<core.String> o) {
+checkUnnamed476(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -497,12 +499,12 @@
buildCounterGceClusterConfig++;
if (buildCounterGceClusterConfig < 3) {
o.internalIpOnly = true;
- o.metadata = buildUnnamed453();
+ o.metadata = buildUnnamed474();
o.networkUri = "foo";
o.serviceAccount = "foo";
- o.serviceAccountScopes = buildUnnamed454();
+ o.serviceAccountScopes = buildUnnamed475();
o.subnetworkUri = "foo";
- o.tags = buildUnnamed455();
+ o.tags = buildUnnamed476();
o.zoneUri = "foo";
}
buildCounterGceClusterConfig--;
@@ -513,77 +515,77 @@
buildCounterGceClusterConfig++;
if (buildCounterGceClusterConfig < 3) {
unittest.expect(o.internalIpOnly, unittest.isTrue);
- checkUnnamed453(o.metadata);
+ checkUnnamed474(o.metadata);
unittest.expect(o.networkUri, unittest.equals('foo'));
unittest.expect(o.serviceAccount, unittest.equals('foo'));
- checkUnnamed454(o.serviceAccountScopes);
+ checkUnnamed475(o.serviceAccountScopes);
unittest.expect(o.subnetworkUri, unittest.equals('foo'));
- checkUnnamed455(o.tags);
+ checkUnnamed476(o.tags);
unittest.expect(o.zoneUri, unittest.equals('foo'));
}
buildCounterGceClusterConfig--;
}
-buildUnnamed456() {
+buildUnnamed477() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed456(core.List<core.String> o) {
+checkUnnamed477(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed457() {
+buildUnnamed478() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed457(core.List<core.String> o) {
+checkUnnamed478(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed458() {
+buildUnnamed479() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed458(core.List<core.String> o) {
+checkUnnamed479(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed459() {
+buildUnnamed480() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed459(core.List<core.String> o) {
+checkUnnamed480(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed460() {
+buildUnnamed481() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed460(core.Map<core.String, core.String> o) {
+checkUnnamed481(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -594,14 +596,14 @@
var o = new api.HadoopJob();
buildCounterHadoopJob++;
if (buildCounterHadoopJob < 3) {
- o.archiveUris = buildUnnamed456();
- o.args = buildUnnamed457();
- o.fileUris = buildUnnamed458();
- o.jarFileUris = buildUnnamed459();
+ o.archiveUris = buildUnnamed477();
+ o.args = buildUnnamed478();
+ o.fileUris = buildUnnamed479();
+ o.jarFileUris = buildUnnamed480();
o.loggingConfig = buildLoggingConfig();
o.mainClass = "foo";
o.mainJarFileUri = "foo";
- o.properties = buildUnnamed460();
+ o.properties = buildUnnamed481();
}
buildCounterHadoopJob--;
return o;
@@ -610,52 +612,52 @@
checkHadoopJob(api.HadoopJob o) {
buildCounterHadoopJob++;
if (buildCounterHadoopJob < 3) {
- checkUnnamed456(o.archiveUris);
- checkUnnamed457(o.args);
- checkUnnamed458(o.fileUris);
- checkUnnamed459(o.jarFileUris);
+ checkUnnamed477(o.archiveUris);
+ checkUnnamed478(o.args);
+ checkUnnamed479(o.fileUris);
+ checkUnnamed480(o.jarFileUris);
checkLoggingConfig(o.loggingConfig);
unittest.expect(o.mainClass, unittest.equals('foo'));
unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
- checkUnnamed460(o.properties);
+ checkUnnamed481(o.properties);
}
buildCounterHadoopJob--;
}
-buildUnnamed461() {
+buildUnnamed482() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed461(core.List<core.String> o) {
+checkUnnamed482(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed462() {
+buildUnnamed483() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed462(core.Map<core.String, core.String> o) {
+checkUnnamed483(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed463() {
+buildUnnamed484() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed463(core.Map<core.String, core.String> o) {
+checkUnnamed484(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -667,11 +669,11 @@
buildCounterHiveJob++;
if (buildCounterHiveJob < 3) {
o.continueOnFailure = true;
- o.jarFileUris = buildUnnamed461();
- o.properties = buildUnnamed462();
+ o.jarFileUris = buildUnnamed482();
+ o.properties = buildUnnamed483();
o.queryFileUri = "foo";
o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed463();
+ o.scriptVariables = buildUnnamed484();
}
buildCounterHiveJob--;
return o;
@@ -681,36 +683,36 @@
buildCounterHiveJob++;
if (buildCounterHiveJob < 3) {
unittest.expect(o.continueOnFailure, unittest.isTrue);
- checkUnnamed461(o.jarFileUris);
- checkUnnamed462(o.properties);
+ checkUnnamed482(o.jarFileUris);
+ checkUnnamed483(o.properties);
unittest.expect(o.queryFileUri, unittest.equals('foo'));
checkQueryList(o.queryList);
- checkUnnamed463(o.scriptVariables);
+ checkUnnamed484(o.scriptVariables);
}
buildCounterHiveJob--;
}
-buildUnnamed464() {
+buildUnnamed485() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed464(core.List<api.AcceleratorConfig> o) {
+checkUnnamed485(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
}
-buildUnnamed465() {
+buildUnnamed486() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed465(core.List<core.String> o) {
+checkUnnamed486(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -721,10 +723,10 @@
var o = new api.InstanceGroupConfig();
buildCounterInstanceGroupConfig++;
if (buildCounterInstanceGroupConfig < 3) {
- o.accelerators = buildUnnamed464();
+ o.accelerators = buildUnnamed485();
o.diskConfig = buildDiskConfig();
o.imageUri = "foo";
- o.instanceNames = buildUnnamed465();
+ o.instanceNames = buildUnnamed486();
o.isPreemptible = true;
o.machineTypeUri = "foo";
o.managedGroupConfig = buildManagedGroupConfig();
@@ -737,10 +739,10 @@
checkInstanceGroupConfig(api.InstanceGroupConfig o) {
buildCounterInstanceGroupConfig++;
if (buildCounterInstanceGroupConfig < 3) {
- checkUnnamed464(o.accelerators);
+ checkUnnamed485(o.accelerators);
checkDiskConfig(o.diskConfig);
unittest.expect(o.imageUri, unittest.equals('foo'));
- checkUnnamed465(o.instanceNames);
+ checkUnnamed486(o.instanceNames);
unittest.expect(o.isPreemptible, unittest.isTrue);
unittest.expect(o.machineTypeUri, unittest.equals('foo'));
checkManagedGroupConfig(o.managedGroupConfig);
@@ -749,40 +751,40 @@
buildCounterInstanceGroupConfig--;
}
-buildUnnamed466() {
+buildUnnamed487() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed466(core.Map<core.String, core.String> o) {
+checkUnnamed487(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed467() {
+buildUnnamed488() {
var o = new core.List<api.JobStatus>();
o.add(buildJobStatus());
o.add(buildJobStatus());
return o;
}
-checkUnnamed467(core.List<api.JobStatus> o) {
+checkUnnamed488(core.List<api.JobStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobStatus(o[0]);
checkJobStatus(o[1]);
}
-buildUnnamed468() {
+buildUnnamed489() {
var o = new core.List<api.YarnApplication>();
o.add(buildYarnApplication());
o.add(buildYarnApplication());
return o;
}
-checkUnnamed468(core.List<api.YarnApplication> o) {
+checkUnnamed489(core.List<api.YarnApplication> o) {
unittest.expect(o, unittest.hasLength(2));
checkYarnApplication(o[0]);
checkYarnApplication(o[1]);
@@ -797,7 +799,7 @@
o.driverOutputResourceUri = "foo";
o.hadoopJob = buildHadoopJob();
o.hiveJob = buildHiveJob();
- o.labels = buildUnnamed466();
+ o.labels = buildUnnamed487();
o.pigJob = buildPigJob();
o.placement = buildJobPlacement();
o.pysparkJob = buildPySparkJob();
@@ -806,8 +808,8 @@
o.sparkJob = buildSparkJob();
o.sparkSqlJob = buildSparkSqlJob();
o.status = buildJobStatus();
- o.statusHistory = buildUnnamed467();
- o.yarnApplications = buildUnnamed468();
+ o.statusHistory = buildUnnamed488();
+ o.yarnApplications = buildUnnamed489();
}
buildCounterJob--;
return o;
@@ -820,7 +822,7 @@
unittest.expect(o.driverOutputResourceUri, unittest.equals('foo'));
checkHadoopJob(o.hadoopJob);
checkHiveJob(o.hiveJob);
- checkUnnamed466(o.labels);
+ checkUnnamed487(o.labels);
checkPigJob(o.pigJob);
checkJobPlacement(o.placement);
checkPySparkJob(o.pysparkJob);
@@ -829,8 +831,8 @@
checkSparkJob(o.sparkJob);
checkSparkSqlJob(o.sparkSqlJob);
checkJobStatus(o.status);
- checkUnnamed467(o.statusHistory);
- checkUnnamed468(o.yarnApplications);
+ checkUnnamed488(o.statusHistory);
+ checkUnnamed489(o.yarnApplications);
}
buildCounterJob--;
}
@@ -904,6 +906,7 @@
o.details = "foo";
o.state = "foo";
o.stateStartTime = "foo";
+ o.substate = "foo";
}
buildCounterJobStatus--;
return o;
@@ -915,18 +918,19 @@
unittest.expect(o.details, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.stateStartTime, unittest.equals('foo'));
+ unittest.expect(o.substate, unittest.equals('foo'));
}
buildCounterJobStatus--;
}
-buildUnnamed469() {
+buildUnnamed490() {
var o = new core.List<api.Cluster>();
o.add(buildCluster());
o.add(buildCluster());
return o;
}
-checkUnnamed469(core.List<api.Cluster> o) {
+checkUnnamed490(core.List<api.Cluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkCluster(o[0]);
checkCluster(o[1]);
@@ -937,7 +941,7 @@
var o = new api.ListClustersResponse();
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- o.clusters = buildUnnamed469();
+ o.clusters = buildUnnamed490();
o.nextPageToken = "foo";
}
buildCounterListClustersResponse--;
@@ -947,20 +951,20 @@
checkListClustersResponse(api.ListClustersResponse o) {
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- checkUnnamed469(o.clusters);
+ checkUnnamed490(o.clusters);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListClustersResponse--;
}
-buildUnnamed470() {
+buildUnnamed491() {
var o = new core.List<api.Job>();
o.add(buildJob());
o.add(buildJob());
return o;
}
-checkUnnamed470(core.List<api.Job> o) {
+checkUnnamed491(core.List<api.Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkJob(o[0]);
checkJob(o[1]);
@@ -971,7 +975,7 @@
var o = new api.ListJobsResponse();
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- o.jobs = buildUnnamed470();
+ o.jobs = buildUnnamed491();
o.nextPageToken = "foo";
}
buildCounterListJobsResponse--;
@@ -981,20 +985,20 @@
checkListJobsResponse(api.ListJobsResponse o) {
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- checkUnnamed470(o.jobs);
+ checkUnnamed491(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListJobsResponse--;
}
-buildUnnamed471() {
+buildUnnamed492() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed471(core.List<api.Operation> o) {
+checkUnnamed492(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1006,7 +1010,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed471();
+ o.operations = buildUnnamed492();
}
buildCounterListOperationsResponse--;
return o;
@@ -1016,19 +1020,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed471(o.operations);
+ checkUnnamed492(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed472() {
+buildUnnamed493() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed472(core.Map<core.String, core.String> o) {
+checkUnnamed493(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1039,7 +1043,7 @@
var o = new api.LoggingConfig();
buildCounterLoggingConfig++;
if (buildCounterLoggingConfig < 3) {
- o.driverLogLevels = buildUnnamed472();
+ o.driverLogLevels = buildUnnamed493();
}
buildCounterLoggingConfig--;
return o;
@@ -1048,7 +1052,7 @@
checkLoggingConfig(api.LoggingConfig o) {
buildCounterLoggingConfig++;
if (buildCounterLoggingConfig < 3) {
- checkUnnamed472(o.driverLogLevels);
+ checkUnnamed493(o.driverLogLevels);
}
buildCounterLoggingConfig--;
}
@@ -1095,27 +1099,27 @@
buildCounterNodeInitializationAction--;
}
-buildUnnamed473() {
+buildUnnamed494() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed473(core.Map<core.String, core.Object> o) {
+checkUnnamed494(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed474() {
+buildUnnamed495() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed474(core.Map<core.String, core.Object> o) {
+checkUnnamed495(core.Map<core.String, core.Object> 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'));
@@ -1128,9 +1132,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed473();
+ o.metadata = buildUnnamed494();
o.name = "foo";
- o.response = buildUnnamed474();
+ o.response = buildUnnamed495();
}
buildCounterOperation--;
return o;
@@ -1141,34 +1145,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed473(o.metadata);
+ checkUnnamed494(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed474(o.response);
+ checkUnnamed495(o.response);
}
buildCounterOperation--;
}
-buildUnnamed475() {
+buildUnnamed496() {
var o = new core.List<api.OperationStatus>();
o.add(buildOperationStatus());
o.add(buildOperationStatus());
return o;
}
-checkUnnamed475(core.List<api.OperationStatus> o) {
+checkUnnamed496(core.List<api.OperationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationStatus(o[0]);
checkOperationStatus(o[1]);
}
-buildUnnamed476() {
+buildUnnamed497() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed476(core.List<core.String> o) {
+checkUnnamed497(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1190,8 +1194,8 @@
o.startTime = "foo";
o.state = "foo";
o.status = buildOperationStatus();
- o.statusHistory = buildUnnamed475();
- o.warnings = buildUnnamed476();
+ o.statusHistory = buildUnnamed496();
+ o.warnings = buildUnnamed497();
}
buildCounterOperationMetadata--;
return o;
@@ -1211,8 +1215,8 @@
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
checkOperationStatus(o.status);
- checkUnnamed475(o.statusHistory);
- checkUnnamed476(o.warnings);
+ checkUnnamed496(o.statusHistory);
+ checkUnnamed497(o.warnings);
}
buildCounterOperationMetadata--;
}
@@ -1242,40 +1246,40 @@
buildCounterOperationStatus--;
}
-buildUnnamed477() {
+buildUnnamed498() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed477(core.List<core.String> o) {
+checkUnnamed498(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed478() {
+buildUnnamed499() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed478(core.Map<core.String, core.String> o) {
+checkUnnamed499(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed479() {
+buildUnnamed500() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed479(core.Map<core.String, core.String> o) {
+checkUnnamed500(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1287,12 +1291,12 @@
buildCounterPigJob++;
if (buildCounterPigJob < 3) {
o.continueOnFailure = true;
- o.jarFileUris = buildUnnamed477();
+ o.jarFileUris = buildUnnamed498();
o.loggingConfig = buildLoggingConfig();
- o.properties = buildUnnamed478();
+ o.properties = buildUnnamed499();
o.queryFileUri = "foo";
o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed479();
+ o.scriptVariables = buildUnnamed500();
}
buildCounterPigJob--;
return o;
@@ -1302,89 +1306,89 @@
buildCounterPigJob++;
if (buildCounterPigJob < 3) {
unittest.expect(o.continueOnFailure, unittest.isTrue);
- checkUnnamed477(o.jarFileUris);
+ checkUnnamed498(o.jarFileUris);
checkLoggingConfig(o.loggingConfig);
- checkUnnamed478(o.properties);
+ checkUnnamed499(o.properties);
unittest.expect(o.queryFileUri, unittest.equals('foo'));
checkQueryList(o.queryList);
- checkUnnamed479(o.scriptVariables);
+ checkUnnamed500(o.scriptVariables);
}
buildCounterPigJob--;
}
-buildUnnamed480() {
+buildUnnamed501() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed480(core.List<core.String> o) {
+checkUnnamed501(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed481() {
+buildUnnamed502() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed481(core.List<core.String> o) {
+checkUnnamed502(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed482() {
+buildUnnamed503() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed482(core.List<core.String> o) {
+checkUnnamed503(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed483() {
+buildUnnamed504() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed483(core.List<core.String> o) {
+checkUnnamed504(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed484() {
+buildUnnamed505() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed484(core.Map<core.String, core.String> o) {
+checkUnnamed505(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed485() {
+buildUnnamed506() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed485(core.List<core.String> o) {
+checkUnnamed506(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1395,14 +1399,14 @@
var o = new api.PySparkJob();
buildCounterPySparkJob++;
if (buildCounterPySparkJob < 3) {
- o.archiveUris = buildUnnamed480();
- o.args = buildUnnamed481();
- o.fileUris = buildUnnamed482();
- o.jarFileUris = buildUnnamed483();
+ o.archiveUris = buildUnnamed501();
+ o.args = buildUnnamed502();
+ o.fileUris = buildUnnamed503();
+ o.jarFileUris = buildUnnamed504();
o.loggingConfig = buildLoggingConfig();
o.mainPythonFileUri = "foo";
- o.properties = buildUnnamed484();
- o.pythonFileUris = buildUnnamed485();
+ o.properties = buildUnnamed505();
+ o.pythonFileUris = buildUnnamed506();
}
buildCounterPySparkJob--;
return o;
@@ -1411,26 +1415,26 @@
checkPySparkJob(api.PySparkJob o) {
buildCounterPySparkJob++;
if (buildCounterPySparkJob < 3) {
- checkUnnamed480(o.archiveUris);
- checkUnnamed481(o.args);
- checkUnnamed482(o.fileUris);
- checkUnnamed483(o.jarFileUris);
+ checkUnnamed501(o.archiveUris);
+ checkUnnamed502(o.args);
+ checkUnnamed503(o.fileUris);
+ checkUnnamed504(o.jarFileUris);
checkLoggingConfig(o.loggingConfig);
unittest.expect(o.mainPythonFileUri, unittest.equals('foo'));
- checkUnnamed484(o.properties);
- checkUnnamed485(o.pythonFileUris);
+ checkUnnamed505(o.properties);
+ checkUnnamed506(o.pythonFileUris);
}
buildCounterPySparkJob--;
}
-buildUnnamed486() {
+buildUnnamed507() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed486(core.List<core.String> o) {
+checkUnnamed507(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1441,7 +1445,7 @@
var o = new api.QueryList();
buildCounterQueryList++;
if (buildCounterQueryList < 3) {
- o.queries = buildUnnamed486();
+ o.queries = buildUnnamed507();
}
buildCounterQueryList--;
return o;
@@ -1450,19 +1454,19 @@
checkQueryList(api.QueryList o) {
buildCounterQueryList++;
if (buildCounterQueryList < 3) {
- checkUnnamed486(o.queries);
+ checkUnnamed507(o.queries);
}
buildCounterQueryList--;
}
-buildUnnamed487() {
+buildUnnamed508() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed487(core.Map<core.String, core.String> o) {
+checkUnnamed508(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1474,7 +1478,7 @@
buildCounterSoftwareConfig++;
if (buildCounterSoftwareConfig < 3) {
o.imageVersion = "foo";
- o.properties = buildUnnamed487();
+ o.properties = buildUnnamed508();
}
buildCounterSoftwareConfig--;
return o;
@@ -1484,71 +1488,71 @@
buildCounterSoftwareConfig++;
if (buildCounterSoftwareConfig < 3) {
unittest.expect(o.imageVersion, unittest.equals('foo'));
- checkUnnamed487(o.properties);
+ checkUnnamed508(o.properties);
}
buildCounterSoftwareConfig--;
}
-buildUnnamed488() {
+buildUnnamed509() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed488(core.List<core.String> o) {
+checkUnnamed509(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed489() {
+buildUnnamed510() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed489(core.List<core.String> o) {
+checkUnnamed510(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed490() {
+buildUnnamed511() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed490(core.List<core.String> o) {
+checkUnnamed511(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed491() {
+buildUnnamed512() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed491(core.List<core.String> o) {
+checkUnnamed512(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed492() {
+buildUnnamed513() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed492(core.Map<core.String, core.String> o) {
+checkUnnamed513(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1559,14 +1563,14 @@
var o = new api.SparkJob();
buildCounterSparkJob++;
if (buildCounterSparkJob < 3) {
- o.archiveUris = buildUnnamed488();
- o.args = buildUnnamed489();
- o.fileUris = buildUnnamed490();
- o.jarFileUris = buildUnnamed491();
+ o.archiveUris = buildUnnamed509();
+ o.args = buildUnnamed510();
+ o.fileUris = buildUnnamed511();
+ o.jarFileUris = buildUnnamed512();
o.loggingConfig = buildLoggingConfig();
o.mainClass = "foo";
o.mainJarFileUri = "foo";
- o.properties = buildUnnamed492();
+ o.properties = buildUnnamed513();
}
buildCounterSparkJob--;
return o;
@@ -1575,52 +1579,52 @@
checkSparkJob(api.SparkJob o) {
buildCounterSparkJob++;
if (buildCounterSparkJob < 3) {
- checkUnnamed488(o.archiveUris);
- checkUnnamed489(o.args);
- checkUnnamed490(o.fileUris);
- checkUnnamed491(o.jarFileUris);
+ checkUnnamed509(o.archiveUris);
+ checkUnnamed510(o.args);
+ checkUnnamed511(o.fileUris);
+ checkUnnamed512(o.jarFileUris);
checkLoggingConfig(o.loggingConfig);
unittest.expect(o.mainClass, unittest.equals('foo'));
unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
- checkUnnamed492(o.properties);
+ checkUnnamed513(o.properties);
}
buildCounterSparkJob--;
}
-buildUnnamed493() {
+buildUnnamed514() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed493(core.List<core.String> o) {
+checkUnnamed514(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed494() {
+buildUnnamed515() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed494(core.Map<core.String, core.String> o) {
+checkUnnamed515(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed495() {
+buildUnnamed516() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed495(core.Map<core.String, core.String> o) {
+checkUnnamed516(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1631,12 +1635,12 @@
var o = new api.SparkSqlJob();
buildCounterSparkSqlJob++;
if (buildCounterSparkSqlJob < 3) {
- o.jarFileUris = buildUnnamed493();
+ o.jarFileUris = buildUnnamed514();
o.loggingConfig = buildLoggingConfig();
- o.properties = buildUnnamed494();
+ o.properties = buildUnnamed515();
o.queryFileUri = "foo";
o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed495();
+ o.scriptVariables = buildUnnamed516();
}
buildCounterSparkSqlJob--;
return o;
@@ -1645,40 +1649,40 @@
checkSparkSqlJob(api.SparkSqlJob o) {
buildCounterSparkSqlJob++;
if (buildCounterSparkSqlJob < 3) {
- checkUnnamed493(o.jarFileUris);
+ checkUnnamed514(o.jarFileUris);
checkLoggingConfig(o.loggingConfig);
- checkUnnamed494(o.properties);
+ checkUnnamed515(o.properties);
unittest.expect(o.queryFileUri, unittest.equals('foo'));
checkQueryList(o.queryList);
- checkUnnamed495(o.scriptVariables);
+ checkUnnamed516(o.scriptVariables);
}
buildCounterSparkSqlJob--;
}
-buildUnnamed496() {
+buildUnnamed517() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed496(core.Map<core.String, core.Object> o) {
+checkUnnamed517(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed497() {
+buildUnnamed518() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed496());
- o.add(buildUnnamed496());
+ o.add(buildUnnamed517());
+ o.add(buildUnnamed517());
return o;
}
-checkUnnamed497(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed518(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed496(o[0]);
- checkUnnamed496(o[1]);
+ checkUnnamed517(o[0]);
+ checkUnnamed517(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1687,7 +1691,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed497();
+ o.details = buildUnnamed518();
o.message = "foo";
}
buildCounterStatus--;
@@ -1698,7 +1702,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed497(o.details);
+ checkUnnamed518(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2377,9 +2381,9 @@
api.ProjectsRegionsClustersResourceApi res = new api.DataprocApi(mock).projects.regions.clusters;
var arg_projectId = "foo";
var arg_region = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2420,9 +2424,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -2431,7 +2435,7 @@
var resp = convert.JSON.encode(buildListClustersResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, arg_region, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListClustersResponse response) {
+ res.list(arg_projectId, arg_region, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListClustersResponse response) {
checkListClustersResponse(response);
})));
});
@@ -3051,9 +3055,9 @@
var mock = new HttpServerMock();
api.ProjectsRegionsOperationsResourceApi res = new api.DataprocApi(mock).projects.regions.operations;
var arg_name = "foo";
- var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3081,9 +3085,9 @@
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["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -3092,7 +3096,7 @@
var resp = convert.JSON.encode(buildListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response) {
+ res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
diff --git a/generated/googleapis/test/datastore/v1_test.dart b/generated/googleapis/test/datastore/v1_test.dart
index dc768dc..c16c975 100644
--- a/generated/googleapis/test/datastore/v1_test.dart
+++ b/generated/googleapis/test/datastore/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed566() {
+buildUnnamed587() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed566(core.List<api.Key> o) {
+checkUnnamed587(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -69,7 +69,7 @@
var o = new api.AllocateIdsRequest();
buildCounterAllocateIdsRequest++;
if (buildCounterAllocateIdsRequest < 3) {
- o.keys = buildUnnamed566();
+ o.keys = buildUnnamed587();
}
buildCounterAllocateIdsRequest--;
return o;
@@ -78,19 +78,19 @@
checkAllocateIdsRequest(api.AllocateIdsRequest o) {
buildCounterAllocateIdsRequest++;
if (buildCounterAllocateIdsRequest < 3) {
- checkUnnamed566(o.keys);
+ checkUnnamed587(o.keys);
}
buildCounterAllocateIdsRequest--;
}
-buildUnnamed567() {
+buildUnnamed588() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed567(core.List<api.Key> o) {
+checkUnnamed588(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -101,7 +101,7 @@
var o = new api.AllocateIdsResponse();
buildCounterAllocateIdsResponse++;
if (buildCounterAllocateIdsResponse < 3) {
- o.keys = buildUnnamed567();
+ o.keys = buildUnnamed588();
}
buildCounterAllocateIdsResponse--;
return o;
@@ -110,19 +110,19 @@
checkAllocateIdsResponse(api.AllocateIdsResponse o) {
buildCounterAllocateIdsResponse++;
if (buildCounterAllocateIdsResponse < 3) {
- checkUnnamed567(o.keys);
+ checkUnnamed588(o.keys);
}
buildCounterAllocateIdsResponse--;
}
-buildUnnamed568() {
+buildUnnamed589() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed568(core.List<api.Value> o) {
+checkUnnamed589(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -133,7 +133,7 @@
var o = new api.ArrayValue();
buildCounterArrayValue++;
if (buildCounterArrayValue < 3) {
- o.values = buildUnnamed568();
+ o.values = buildUnnamed589();
}
buildCounterArrayValue--;
return o;
@@ -142,7 +142,7 @@
checkArrayValue(api.ArrayValue o) {
buildCounterArrayValue++;
if (buildCounterArrayValue < 3) {
- checkUnnamed568(o.values);
+ checkUnnamed589(o.values);
}
buildCounterArrayValue--;
}
@@ -183,14 +183,14 @@
buildCounterBeginTransactionResponse--;
}
-buildUnnamed569() {
+buildUnnamed590() {
var o = new core.List<api.Mutation>();
o.add(buildMutation());
o.add(buildMutation());
return o;
}
-checkUnnamed569(core.List<api.Mutation> o) {
+checkUnnamed590(core.List<api.Mutation> o) {
unittest.expect(o, unittest.hasLength(2));
checkMutation(o[0]);
checkMutation(o[1]);
@@ -202,7 +202,7 @@
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
o.mode = "foo";
- o.mutations = buildUnnamed569();
+ o.mutations = buildUnnamed590();
o.transaction = "foo";
}
buildCounterCommitRequest--;
@@ -213,20 +213,20 @@
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
unittest.expect(o.mode, unittest.equals('foo'));
- checkUnnamed569(o.mutations);
+ checkUnnamed590(o.mutations);
unittest.expect(o.transaction, unittest.equals('foo'));
}
buildCounterCommitRequest--;
}
-buildUnnamed570() {
+buildUnnamed591() {
var o = new core.List<api.MutationResult>();
o.add(buildMutationResult());
o.add(buildMutationResult());
return o;
}
-checkUnnamed570(core.List<api.MutationResult> o) {
+checkUnnamed591(core.List<api.MutationResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkMutationResult(o[0]);
checkMutationResult(o[1]);
@@ -238,7 +238,7 @@
buildCounterCommitResponse++;
if (buildCounterCommitResponse < 3) {
o.indexUpdates = 42;
- o.mutationResults = buildUnnamed570();
+ o.mutationResults = buildUnnamed591();
}
buildCounterCommitResponse--;
return o;
@@ -248,19 +248,19 @@
buildCounterCommitResponse++;
if (buildCounterCommitResponse < 3) {
unittest.expect(o.indexUpdates, unittest.equals(42));
- checkUnnamed570(o.mutationResults);
+ checkUnnamed591(o.mutationResults);
}
buildCounterCommitResponse--;
}
-buildUnnamed571() {
+buildUnnamed592() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed571(core.List<api.Filter> o) {
+checkUnnamed592(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -271,7 +271,7 @@
var o = new api.CompositeFilter();
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- o.filters = buildUnnamed571();
+ o.filters = buildUnnamed592();
o.op = "foo";
}
buildCounterCompositeFilter--;
@@ -281,20 +281,20 @@
checkCompositeFilter(api.CompositeFilter o) {
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- checkUnnamed571(o.filters);
+ checkUnnamed592(o.filters);
unittest.expect(o.op, unittest.equals('foo'));
}
buildCounterCompositeFilter--;
}
-buildUnnamed572() {
+buildUnnamed593() {
var o = new core.Map<core.String, api.Value>();
o["x"] = buildValue();
o["y"] = buildValue();
return o;
}
-checkUnnamed572(core.Map<core.String, api.Value> o) {
+checkUnnamed593(core.Map<core.String, api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o["x"]);
checkValue(o["y"]);
@@ -306,7 +306,7 @@
buildCounterEntity++;
if (buildCounterEntity < 3) {
o.key = buildKey();
- o.properties = buildUnnamed572();
+ o.properties = buildUnnamed593();
}
buildCounterEntity--;
return o;
@@ -316,7 +316,7 @@
buildCounterEntity++;
if (buildCounterEntity < 3) {
checkKey(o.key);
- checkUnnamed572(o.properties);
+ checkUnnamed593(o.properties);
}
buildCounterEntity--;
}
@@ -365,27 +365,27 @@
buildCounterFilter--;
}
-buildUnnamed573() {
+buildUnnamed594() {
var o = new core.Map<core.String, api.GqlQueryParameter>();
o["x"] = buildGqlQueryParameter();
o["y"] = buildGqlQueryParameter();
return o;
}
-checkUnnamed573(core.Map<core.String, api.GqlQueryParameter> o) {
+checkUnnamed594(core.Map<core.String, api.GqlQueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkGqlQueryParameter(o["x"]);
checkGqlQueryParameter(o["y"]);
}
-buildUnnamed574() {
+buildUnnamed595() {
var o = new core.List<api.GqlQueryParameter>();
o.add(buildGqlQueryParameter());
o.add(buildGqlQueryParameter());
return o;
}
-checkUnnamed574(core.List<api.GqlQueryParameter> o) {
+checkUnnamed595(core.List<api.GqlQueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkGqlQueryParameter(o[0]);
checkGqlQueryParameter(o[1]);
@@ -397,8 +397,8 @@
buildCounterGqlQuery++;
if (buildCounterGqlQuery < 3) {
o.allowLiterals = true;
- o.namedBindings = buildUnnamed573();
- o.positionalBindings = buildUnnamed574();
+ o.namedBindings = buildUnnamed594();
+ o.positionalBindings = buildUnnamed595();
o.queryString = "foo";
}
buildCounterGqlQuery--;
@@ -409,8 +409,8 @@
buildCounterGqlQuery++;
if (buildCounterGqlQuery < 3) {
unittest.expect(o.allowLiterals, unittest.isTrue);
- checkUnnamed573(o.namedBindings);
- checkUnnamed574(o.positionalBindings);
+ checkUnnamed594(o.namedBindings);
+ checkUnnamed595(o.positionalBindings);
unittest.expect(o.queryString, unittest.equals('foo'));
}
buildCounterGqlQuery--;
@@ -437,14 +437,14 @@
buildCounterGqlQueryParameter--;
}
-buildUnnamed575() {
+buildUnnamed596() {
var o = new core.List<api.PathElement>();
o.add(buildPathElement());
o.add(buildPathElement());
return o;
}
-checkUnnamed575(core.List<api.PathElement> o) {
+checkUnnamed596(core.List<api.PathElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathElement(o[0]);
checkPathElement(o[1]);
@@ -456,7 +456,7 @@
buildCounterKey++;
if (buildCounterKey < 3) {
o.partitionId = buildPartitionId();
- o.path = buildUnnamed575();
+ o.path = buildUnnamed596();
}
buildCounterKey--;
return o;
@@ -466,7 +466,7 @@
buildCounterKey++;
if (buildCounterKey < 3) {
checkPartitionId(o.partitionId);
- checkUnnamed575(o.path);
+ checkUnnamed596(o.path);
}
buildCounterKey--;
}
@@ -511,14 +511,14 @@
buildCounterLatLng--;
}
-buildUnnamed576() {
+buildUnnamed597() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed576(core.List<api.Key> o) {
+checkUnnamed597(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -529,7 +529,7 @@
var o = new api.LookupRequest();
buildCounterLookupRequest++;
if (buildCounterLookupRequest < 3) {
- o.keys = buildUnnamed576();
+ o.keys = buildUnnamed597();
o.readOptions = buildReadOptions();
}
buildCounterLookupRequest--;
@@ -539,46 +539,46 @@
checkLookupRequest(api.LookupRequest o) {
buildCounterLookupRequest++;
if (buildCounterLookupRequest < 3) {
- checkUnnamed576(o.keys);
+ checkUnnamed597(o.keys);
checkReadOptions(o.readOptions);
}
buildCounterLookupRequest--;
}
-buildUnnamed577() {
+buildUnnamed598() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed577(core.List<api.Key> o) {
+checkUnnamed598(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
}
-buildUnnamed578() {
+buildUnnamed599() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed578(core.List<api.EntityResult> o) {
+checkUnnamed599(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
}
-buildUnnamed579() {
+buildUnnamed600() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed579(core.List<api.EntityResult> o) {
+checkUnnamed600(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
@@ -589,9 +589,9 @@
var o = new api.LookupResponse();
buildCounterLookupResponse++;
if (buildCounterLookupResponse < 3) {
- o.deferred = buildUnnamed577();
- o.found = buildUnnamed578();
- o.missing = buildUnnamed579();
+ o.deferred = buildUnnamed598();
+ o.found = buildUnnamed599();
+ o.missing = buildUnnamed600();
}
buildCounterLookupResponse--;
return o;
@@ -600,9 +600,9 @@
checkLookupResponse(api.LookupResponse o) {
buildCounterLookupResponse++;
if (buildCounterLookupResponse < 3) {
- checkUnnamed577(o.deferred);
- checkUnnamed578(o.found);
- checkUnnamed579(o.missing);
+ checkUnnamed598(o.deferred);
+ checkUnnamed599(o.found);
+ checkUnnamed600(o.missing);
}
buildCounterLookupResponse--;
}
@@ -783,53 +783,53 @@
buildCounterPropertyReference--;
}
-buildUnnamed580() {
+buildUnnamed601() {
var o = new core.List<api.PropertyReference>();
o.add(buildPropertyReference());
o.add(buildPropertyReference());
return o;
}
-checkUnnamed580(core.List<api.PropertyReference> o) {
+checkUnnamed601(core.List<api.PropertyReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyReference(o[0]);
checkPropertyReference(o[1]);
}
-buildUnnamed581() {
+buildUnnamed602() {
var o = new core.List<api.KindExpression>();
o.add(buildKindExpression());
o.add(buildKindExpression());
return o;
}
-checkUnnamed581(core.List<api.KindExpression> o) {
+checkUnnamed602(core.List<api.KindExpression> o) {
unittest.expect(o, unittest.hasLength(2));
checkKindExpression(o[0]);
checkKindExpression(o[1]);
}
-buildUnnamed582() {
+buildUnnamed603() {
var o = new core.List<api.PropertyOrder>();
o.add(buildPropertyOrder());
o.add(buildPropertyOrder());
return o;
}
-checkUnnamed582(core.List<api.PropertyOrder> o) {
+checkUnnamed603(core.List<api.PropertyOrder> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyOrder(o[0]);
checkPropertyOrder(o[1]);
}
-buildUnnamed583() {
+buildUnnamed604() {
var o = new core.List<api.Projection>();
o.add(buildProjection());
o.add(buildProjection());
return o;
}
-checkUnnamed583(core.List<api.Projection> o) {
+checkUnnamed604(core.List<api.Projection> o) {
unittest.expect(o, unittest.hasLength(2));
checkProjection(o[0]);
checkProjection(o[1]);
@@ -840,14 +840,14 @@
var o = new api.Query();
buildCounterQuery++;
if (buildCounterQuery < 3) {
- o.distinctOn = buildUnnamed580();
+ o.distinctOn = buildUnnamed601();
o.endCursor = "foo";
o.filter = buildFilter();
- o.kind = buildUnnamed581();
+ o.kind = buildUnnamed602();
o.limit = 42;
o.offset = 42;
- o.order = buildUnnamed582();
- o.projection = buildUnnamed583();
+ o.order = buildUnnamed603();
+ o.projection = buildUnnamed604();
o.startCursor = "foo";
}
buildCounterQuery--;
@@ -857,27 +857,27 @@
checkQuery(api.Query o) {
buildCounterQuery++;
if (buildCounterQuery < 3) {
- checkUnnamed580(o.distinctOn);
+ checkUnnamed601(o.distinctOn);
unittest.expect(o.endCursor, unittest.equals('foo'));
checkFilter(o.filter);
- checkUnnamed581(o.kind);
+ checkUnnamed602(o.kind);
unittest.expect(o.limit, unittest.equals(42));
unittest.expect(o.offset, unittest.equals(42));
- checkUnnamed582(o.order);
- checkUnnamed583(o.projection);
+ checkUnnamed603(o.order);
+ checkUnnamed604(o.projection);
unittest.expect(o.startCursor, unittest.equals('foo'));
}
buildCounterQuery--;
}
-buildUnnamed584() {
+buildUnnamed605() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed584(core.List<api.EntityResult> o) {
+checkUnnamed605(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
@@ -890,7 +890,7 @@
if (buildCounterQueryResultBatch < 3) {
o.endCursor = "foo";
o.entityResultType = "foo";
- o.entityResults = buildUnnamed584();
+ o.entityResults = buildUnnamed605();
o.moreResults = "foo";
o.skippedCursor = "foo";
o.skippedResults = 42;
@@ -905,7 +905,7 @@
if (buildCounterQueryResultBatch < 3) {
unittest.expect(o.endCursor, unittest.equals('foo'));
unittest.expect(o.entityResultType, unittest.equals('foo'));
- checkUnnamed584(o.entityResults);
+ checkUnnamed605(o.entityResults);
unittest.expect(o.moreResults, unittest.equals('foo'));
unittest.expect(o.skippedCursor, unittest.equals('foo'));
unittest.expect(o.skippedResults, unittest.equals(42));
diff --git a/generated/googleapis/test/deploymentmanager/v2_test.dart b/generated/googleapis/test/deploymentmanager/v2_test.dart
index 76f166e..50e2809 100644
--- a/generated/googleapis/test/deploymentmanager/v2_test.dart
+++ b/generated/googleapis/test/deploymentmanager/v2_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1857() {
+buildUnnamed1961() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1857(core.List<api.AuditLogConfig> o) {
+checkUnnamed1961(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed1858() {
+buildUnnamed1962() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1858(core.List<core.String> o) {
+checkUnnamed1962(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,8 +82,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed1857();
- o.exemptedMembers = buildUnnamed1858();
+ o.auditLogConfigs = buildUnnamed1961();
+ o.exemptedMembers = buildUnnamed1962();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -93,21 +93,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1857(o.auditLogConfigs);
- checkUnnamed1858(o.exemptedMembers);
+ checkUnnamed1961(o.auditLogConfigs);
+ checkUnnamed1962(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1859() {
+buildUnnamed1963() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1859(core.List<core.String> o) {
+checkUnnamed1963(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -118,7 +118,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed1859();
+ o.exemptedMembers = buildUnnamed1963();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -128,20 +128,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1859(o.exemptedMembers);
+ checkUnnamed1963(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed1860() {
+buildUnnamed1964() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1860(core.List<core.String> o) {
+checkUnnamed1964(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -152,7 +152,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1860();
+ o.members = buildUnnamed1964();
o.role = "foo";
}
buildCounterBinding--;
@@ -162,20 +162,20 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1860(o.members);
+ checkUnnamed1964(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed1861() {
+buildUnnamed1965() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1861(core.List<core.String> o) {
+checkUnnamed1965(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -191,7 +191,7 @@
o.svc = "foo";
o.sys = "foo";
o.value = "foo";
- o.values = buildUnnamed1861();
+ o.values = buildUnnamed1965();
}
buildCounterCondition--;
return o;
@@ -205,7 +205,7 @@
unittest.expect(o.svc, unittest.equals('foo'));
unittest.expect(o.sys, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
- checkUnnamed1861(o.values);
+ checkUnnamed1965(o.values);
}
buildCounterCondition--;
}
@@ -229,14 +229,14 @@
buildCounterConfigFile--;
}
-buildUnnamed1862() {
+buildUnnamed1966() {
var o = new core.List<api.DeploymentLabelEntry>();
o.add(buildDeploymentLabelEntry());
o.add(buildDeploymentLabelEntry());
return o;
}
-checkUnnamed1862(core.List<api.DeploymentLabelEntry> o) {
+checkUnnamed1966(core.List<api.DeploymentLabelEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeploymentLabelEntry(o[0]);
checkDeploymentLabelEntry(o[1]);
@@ -251,7 +251,7 @@
o.fingerprint = "foo";
o.id = "foo";
o.insertTime = "foo";
- o.labels = buildUnnamed1862();
+ o.labels = buildUnnamed1966();
o.manifest = "foo";
o.name = "foo";
o.operation = buildOperation();
@@ -270,7 +270,7 @@
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.insertTime, unittest.equals('foo'));
- checkUnnamed1862(o.labels);
+ checkUnnamed1966(o.labels);
unittest.expect(o.manifest, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkOperation(o.operation);
@@ -302,14 +302,14 @@
buildCounterDeploymentLabelEntry--;
}
-buildUnnamed1863() {
+buildUnnamed1967() {
var o = new core.List<api.DeploymentUpdateLabelEntry>();
o.add(buildDeploymentUpdateLabelEntry());
o.add(buildDeploymentUpdateLabelEntry());
return o;
}
-checkUnnamed1863(core.List<api.DeploymentUpdateLabelEntry> o) {
+checkUnnamed1967(core.List<api.DeploymentUpdateLabelEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeploymentUpdateLabelEntry(o[0]);
checkDeploymentUpdateLabelEntry(o[1]);
@@ -321,7 +321,7 @@
buildCounterDeploymentUpdate++;
if (buildCounterDeploymentUpdate < 3) {
o.description = "foo";
- o.labels = buildUnnamed1863();
+ o.labels = buildUnnamed1967();
o.manifest = "foo";
}
buildCounterDeploymentUpdate--;
@@ -332,7 +332,7 @@
buildCounterDeploymentUpdate++;
if (buildCounterDeploymentUpdate < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1863(o.labels);
+ checkUnnamed1967(o.labels);
unittest.expect(o.manifest, unittest.equals('foo'));
}
buildCounterDeploymentUpdate--;
@@ -378,14 +378,14 @@
buildCounterDeploymentsCancelPreviewRequest--;
}
-buildUnnamed1864() {
+buildUnnamed1968() {
var o = new core.List<api.Deployment>();
o.add(buildDeployment());
o.add(buildDeployment());
return o;
}
-checkUnnamed1864(core.List<api.Deployment> o) {
+checkUnnamed1968(core.List<api.Deployment> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeployment(o[0]);
checkDeployment(o[1]);
@@ -396,7 +396,7 @@
var o = new api.DeploymentsListResponse();
buildCounterDeploymentsListResponse++;
if (buildCounterDeploymentsListResponse < 3) {
- o.deployments = buildUnnamed1864();
+ o.deployments = buildUnnamed1968();
o.nextPageToken = "foo";
}
buildCounterDeploymentsListResponse--;
@@ -406,7 +406,7 @@
checkDeploymentsListResponse(api.DeploymentsListResponse o) {
buildCounterDeploymentsListResponse++;
if (buildCounterDeploymentsListResponse < 3) {
- checkUnnamed1864(o.deployments);
+ checkUnnamed1968(o.deployments);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterDeploymentsListResponse--;
@@ -492,14 +492,14 @@
buildCounterLogConfigCounterOptions--;
}
-buildUnnamed1865() {
+buildUnnamed1969() {
var o = new core.List<api.ImportFile>();
o.add(buildImportFile());
o.add(buildImportFile());
return o;
}
-checkUnnamed1865(core.List<api.ImportFile> o) {
+checkUnnamed1969(core.List<api.ImportFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkImportFile(o[0]);
checkImportFile(o[1]);
@@ -513,7 +513,7 @@
o.config = buildConfigFile();
o.expandedConfig = "foo";
o.id = "foo";
- o.imports = buildUnnamed1865();
+ o.imports = buildUnnamed1969();
o.insertTime = "foo";
o.layout = "foo";
o.name = "foo";
@@ -529,7 +529,7 @@
checkConfigFile(o.config);
unittest.expect(o.expandedConfig, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1865(o.imports);
+ checkUnnamed1969(o.imports);
unittest.expect(o.insertTime, unittest.equals('foo'));
unittest.expect(o.layout, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -538,14 +538,14 @@
buildCounterManifest--;
}
-buildUnnamed1866() {
+buildUnnamed1970() {
var o = new core.List<api.Manifest>();
o.add(buildManifest());
o.add(buildManifest());
return o;
}
-checkUnnamed1866(core.List<api.Manifest> o) {
+checkUnnamed1970(core.List<api.Manifest> o) {
unittest.expect(o, unittest.hasLength(2));
checkManifest(o[0]);
checkManifest(o[1]);
@@ -556,7 +556,7 @@
var o = new api.ManifestsListResponse();
buildCounterManifestsListResponse++;
if (buildCounterManifestsListResponse < 3) {
- o.manifests = buildUnnamed1866();
+ o.manifests = buildUnnamed1970();
o.nextPageToken = "foo";
}
buildCounterManifestsListResponse--;
@@ -566,7 +566,7 @@
checkManifestsListResponse(api.ManifestsListResponse o) {
buildCounterManifestsListResponse++;
if (buildCounterManifestsListResponse < 3) {
- checkUnnamed1866(o.manifests);
+ checkUnnamed1970(o.manifests);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterManifestsListResponse--;
@@ -595,14 +595,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed1867() {
+buildUnnamed1971() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed1867(core.List<api.OperationErrorErrors> o) {
+checkUnnamed1971(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -613,7 +613,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed1867();
+ o.errors = buildUnnamed1971();
}
buildCounterOperationError--;
return o;
@@ -622,7 +622,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed1867(o.errors);
+ checkUnnamed1971(o.errors);
}
buildCounterOperationError--;
}
@@ -648,14 +648,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed1868() {
+buildUnnamed1972() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed1868(core.List<api.OperationWarningsData> o) {
+checkUnnamed1972(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -667,7 +667,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed1868();
+ o.data = buildUnnamed1972();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -678,20 +678,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1868(o.data);
+ checkUnnamed1972(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed1869() {
+buildUnnamed1973() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed1869(core.List<api.OperationWarnings> o) {
+checkUnnamed1973(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -723,7 +723,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed1869();
+ o.warnings = buildUnnamed1973();
o.zone = "foo";
}
buildCounterOperation--;
@@ -754,20 +754,20 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed1869(o.warnings);
+ checkUnnamed1973(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed1870() {
+buildUnnamed1974() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1870(core.List<api.Operation> o) {
+checkUnnamed1974(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -779,7 +779,7 @@
buildCounterOperationsListResponse++;
if (buildCounterOperationsListResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1870();
+ o.operations = buildUnnamed1974();
}
buildCounterOperationsListResponse--;
return o;
@@ -789,45 +789,45 @@
buildCounterOperationsListResponse++;
if (buildCounterOperationsListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1870(o.operations);
+ checkUnnamed1974(o.operations);
}
buildCounterOperationsListResponse--;
}
-buildUnnamed1871() {
+buildUnnamed1975() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1871(core.List<api.AuditConfig> o) {
+checkUnnamed1975(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1872() {
+buildUnnamed1976() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1872(core.List<api.Binding> o) {
+checkUnnamed1976(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
}
-buildUnnamed1873() {
+buildUnnamed1977() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed1873(core.List<api.Rule> o) {
+checkUnnamed1977(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -838,11 +838,11 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed1871();
- o.bindings = buildUnnamed1872();
+ o.auditConfigs = buildUnnamed1975();
+ o.bindings = buildUnnamed1976();
o.etag = "foo";
o.iamOwned = true;
- o.rules = buildUnnamed1873();
+ o.rules = buildUnnamed1977();
o.version = 42;
}
buildCounterPolicy--;
@@ -852,11 +852,11 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1871(o.auditConfigs);
- checkUnnamed1872(o.bindings);
+ checkUnnamed1975(o.auditConfigs);
+ checkUnnamed1976(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
- checkUnnamed1873(o.rules);
+ checkUnnamed1977(o.rules);
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
@@ -883,14 +883,14 @@
buildCounterResourceWarningsData--;
}
-buildUnnamed1874() {
+buildUnnamed1978() {
var o = new core.List<api.ResourceWarningsData>();
o.add(buildResourceWarningsData());
o.add(buildResourceWarningsData());
return o;
}
-checkUnnamed1874(core.List<api.ResourceWarningsData> o) {
+checkUnnamed1978(core.List<api.ResourceWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceWarningsData(o[0]);
checkResourceWarningsData(o[1]);
@@ -902,7 +902,7 @@
buildCounterResourceWarnings++;
if (buildCounterResourceWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed1874();
+ o.data = buildUnnamed1978();
o.message = "foo";
}
buildCounterResourceWarnings--;
@@ -913,20 +913,20 @@
buildCounterResourceWarnings++;
if (buildCounterResourceWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1874(o.data);
+ checkUnnamed1978(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterResourceWarnings--;
}
-buildUnnamed1875() {
+buildUnnamed1979() {
var o = new core.List<api.ResourceWarnings>();
o.add(buildResourceWarnings());
o.add(buildResourceWarnings());
return o;
}
-checkUnnamed1875(core.List<api.ResourceWarnings> o) {
+checkUnnamed1979(core.List<api.ResourceWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceWarnings(o[0]);
checkResourceWarnings(o[1]);
@@ -948,7 +948,7 @@
o.update = buildResourceUpdate();
o.updateTime = "foo";
o.url = "foo";
- o.warnings = buildUnnamed1875();
+ o.warnings = buildUnnamed1979();
}
buildCounterResource--;
return o;
@@ -968,7 +968,7 @@
checkResourceUpdate(o.update);
unittest.expect(o.updateTime, unittest.equals('foo'));
unittest.expect(o.url, unittest.equals('foo'));
- checkUnnamed1875(o.warnings);
+ checkUnnamed1979(o.warnings);
}
buildCounterResource--;
}
@@ -1015,14 +1015,14 @@
buildCounterResourceUpdateErrorErrors--;
}
-buildUnnamed1876() {
+buildUnnamed1980() {
var o = new core.List<api.ResourceUpdateErrorErrors>();
o.add(buildResourceUpdateErrorErrors());
o.add(buildResourceUpdateErrorErrors());
return o;
}
-checkUnnamed1876(core.List<api.ResourceUpdateErrorErrors> o) {
+checkUnnamed1980(core.List<api.ResourceUpdateErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceUpdateErrorErrors(o[0]);
checkResourceUpdateErrorErrors(o[1]);
@@ -1033,7 +1033,7 @@
var o = new api.ResourceUpdateError();
buildCounterResourceUpdateError++;
if (buildCounterResourceUpdateError < 3) {
- o.errors = buildUnnamed1876();
+ o.errors = buildUnnamed1980();
}
buildCounterResourceUpdateError--;
return o;
@@ -1042,7 +1042,7 @@
checkResourceUpdateError(api.ResourceUpdateError o) {
buildCounterResourceUpdateError++;
if (buildCounterResourceUpdateError < 3) {
- checkUnnamed1876(o.errors);
+ checkUnnamed1980(o.errors);
}
buildCounterResourceUpdateError--;
}
@@ -1068,14 +1068,14 @@
buildCounterResourceUpdateWarningsData--;
}
-buildUnnamed1877() {
+buildUnnamed1981() {
var o = new core.List<api.ResourceUpdateWarningsData>();
o.add(buildResourceUpdateWarningsData());
o.add(buildResourceUpdateWarningsData());
return o;
}
-checkUnnamed1877(core.List<api.ResourceUpdateWarningsData> o) {
+checkUnnamed1981(core.List<api.ResourceUpdateWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceUpdateWarningsData(o[0]);
checkResourceUpdateWarningsData(o[1]);
@@ -1087,7 +1087,7 @@
buildCounterResourceUpdateWarnings++;
if (buildCounterResourceUpdateWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed1877();
+ o.data = buildUnnamed1981();
o.message = "foo";
}
buildCounterResourceUpdateWarnings--;
@@ -1098,20 +1098,20 @@
buildCounterResourceUpdateWarnings++;
if (buildCounterResourceUpdateWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1877(o.data);
+ checkUnnamed1981(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterResourceUpdateWarnings--;
}
-buildUnnamed1878() {
+buildUnnamed1982() {
var o = new core.List<api.ResourceUpdateWarnings>();
o.add(buildResourceUpdateWarnings());
o.add(buildResourceUpdateWarnings());
return o;
}
-checkUnnamed1878(core.List<api.ResourceUpdateWarnings> o) {
+checkUnnamed1982(core.List<api.ResourceUpdateWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceUpdateWarnings(o[0]);
checkResourceUpdateWarnings(o[1]);
@@ -1129,7 +1129,7 @@
o.manifest = "foo";
o.properties = "foo";
o.state = "foo";
- o.warnings = buildUnnamed1878();
+ o.warnings = buildUnnamed1982();
}
buildCounterResourceUpdate--;
return o;
@@ -1145,19 +1145,19 @@
unittest.expect(o.manifest, unittest.equals('foo'));
unittest.expect(o.properties, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed1878(o.warnings);
+ checkUnnamed1982(o.warnings);
}
buildCounterResourceUpdate--;
}
-buildUnnamed1879() {
+buildUnnamed1983() {
var o = new core.List<api.Resource>();
o.add(buildResource());
o.add(buildResource());
return o;
}
-checkUnnamed1879(core.List<api.Resource> o) {
+checkUnnamed1983(core.List<api.Resource> o) {
unittest.expect(o, unittest.hasLength(2));
checkResource(o[0]);
checkResource(o[1]);
@@ -1169,7 +1169,7 @@
buildCounterResourcesListResponse++;
if (buildCounterResourcesListResponse < 3) {
o.nextPageToken = "foo";
- o.resources = buildUnnamed1879();
+ o.resources = buildUnnamed1983();
}
buildCounterResourcesListResponse--;
return o;
@@ -1179,71 +1179,71 @@
buildCounterResourcesListResponse++;
if (buildCounterResourcesListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1879(o.resources);
+ checkUnnamed1983(o.resources);
}
buildCounterResourcesListResponse--;
}
-buildUnnamed1880() {
+buildUnnamed1984() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1880(core.List<api.Condition> o) {
+checkUnnamed1984(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1881() {
+buildUnnamed1985() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1881(core.List<core.String> o) {
+checkUnnamed1985(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1882() {
+buildUnnamed1986() {
var o = new core.List<api.LogConfig>();
o.add(buildLogConfig());
o.add(buildLogConfig());
return o;
}
-checkUnnamed1882(core.List<api.LogConfig> o) {
+checkUnnamed1986(core.List<api.LogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogConfig(o[0]);
checkLogConfig(o[1]);
}
-buildUnnamed1883() {
+buildUnnamed1987() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1883(core.List<core.String> o) {
+checkUnnamed1987(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1884() {
+buildUnnamed1988() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1884(core.List<core.String> o) {
+checkUnnamed1988(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1255,12 +1255,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.action = "foo";
- o.conditions = buildUnnamed1880();
+ o.conditions = buildUnnamed1984();
o.description = "foo";
- o.ins = buildUnnamed1881();
- o.logConfigs = buildUnnamed1882();
- o.notIns = buildUnnamed1883();
- o.permissions = buildUnnamed1884();
+ o.ins = buildUnnamed1985();
+ o.logConfigs = buildUnnamed1986();
+ o.notIns = buildUnnamed1987();
+ o.permissions = buildUnnamed1988();
}
buildCounterRule--;
return o;
@@ -1270,24 +1270,24 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed1880(o.conditions);
+ checkUnnamed1984(o.conditions);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1881(o.ins);
- checkUnnamed1882(o.logConfigs);
- checkUnnamed1883(o.notIns);
- checkUnnamed1884(o.permissions);
+ checkUnnamed1985(o.ins);
+ checkUnnamed1986(o.logConfigs);
+ checkUnnamed1987(o.notIns);
+ checkUnnamed1988(o.permissions);
}
buildCounterRule--;
}
-buildUnnamed1885() {
+buildUnnamed1989() {
var o = new core.List<api.ImportFile>();
o.add(buildImportFile());
o.add(buildImportFile());
return o;
}
-checkUnnamed1885(core.List<api.ImportFile> o) {
+checkUnnamed1989(core.List<api.ImportFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkImportFile(o[0]);
checkImportFile(o[1]);
@@ -1299,7 +1299,7 @@
buildCounterTargetConfiguration++;
if (buildCounterTargetConfiguration < 3) {
o.config = buildConfigFile();
- o.imports = buildUnnamed1885();
+ o.imports = buildUnnamed1989();
}
buildCounterTargetConfiguration--;
return o;
@@ -1309,19 +1309,19 @@
buildCounterTargetConfiguration++;
if (buildCounterTargetConfiguration < 3) {
checkConfigFile(o.config);
- checkUnnamed1885(o.imports);
+ checkUnnamed1989(o.imports);
}
buildCounterTargetConfiguration--;
}
-buildUnnamed1886() {
+buildUnnamed1990() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1886(core.List<core.String> o) {
+checkUnnamed1990(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1332,7 +1332,7 @@
var o = new api.TestPermissionsRequest();
buildCounterTestPermissionsRequest++;
if (buildCounterTestPermissionsRequest < 3) {
- o.permissions = buildUnnamed1886();
+ o.permissions = buildUnnamed1990();
}
buildCounterTestPermissionsRequest--;
return o;
@@ -1341,19 +1341,19 @@
checkTestPermissionsRequest(api.TestPermissionsRequest o) {
buildCounterTestPermissionsRequest++;
if (buildCounterTestPermissionsRequest < 3) {
- checkUnnamed1886(o.permissions);
+ checkUnnamed1990(o.permissions);
}
buildCounterTestPermissionsRequest--;
}
-buildUnnamed1887() {
+buildUnnamed1991() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1887(core.List<core.String> o) {
+checkUnnamed1991(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1364,7 +1364,7 @@
var o = new api.TestPermissionsResponse();
buildCounterTestPermissionsResponse++;
if (buildCounterTestPermissionsResponse < 3) {
- o.permissions = buildUnnamed1887();
+ o.permissions = buildUnnamed1991();
}
buildCounterTestPermissionsResponse--;
return o;
@@ -1373,7 +1373,7 @@
checkTestPermissionsResponse(api.TestPermissionsResponse o) {
buildCounterTestPermissionsResponse++;
if (buildCounterTestPermissionsResponse < 3) {
- checkUnnamed1887(o.permissions);
+ checkUnnamed1991(o.permissions);
}
buildCounterTestPermissionsResponse--;
}
@@ -1405,14 +1405,14 @@
buildCounterType--;
}
-buildUnnamed1888() {
+buildUnnamed1992() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1888(core.List<api.Type> o) {
+checkUnnamed1992(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
@@ -1424,7 +1424,7 @@
buildCounterTypesListResponse++;
if (buildCounterTypesListResponse < 3) {
o.nextPageToken = "foo";
- o.types = buildUnnamed1888();
+ o.types = buildUnnamed1992();
}
buildCounterTypesListResponse--;
return o;
@@ -1434,7 +1434,7 @@
buildCounterTypesListResponse++;
if (buildCounterTypesListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1888(o.types);
+ checkUnnamed1992(o.types);
}
buildCounterTypesListResponse--;
}
diff --git a/generated/googleapis/test/dfareporting/v2_6_test.dart b/generated/googleapis/test/dfareporting/v2_6_test.dart
index 12437be..5007cf2 100644
--- a/generated/googleapis/test/dfareporting/v2_6_test.dart
+++ b/generated/googleapis/test/dfareporting/v2_6_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2421() {
+buildUnnamed2526() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2421(core.List<core.String> o) {
+checkUnnamed2526(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2422() {
+buildUnnamed2527() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2422(core.List<core.String> o) {
+checkUnnamed2527(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,12 +82,12 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.accountPermissionIds = buildUnnamed2421();
+ o.accountPermissionIds = buildUnnamed2526();
o.accountProfile = "foo";
o.active = true;
o.activeAdsLimitTier = "foo";
o.activeViewOptOut = true;
- o.availablePermissionIds = buildUnnamed2422();
+ o.availablePermissionIds = buildUnnamed2527();
o.countryId = "foo";
o.currencyId = "foo";
o.defaultCreativeSizeId = "foo";
@@ -109,12 +109,12 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed2421(o.accountPermissionIds);
+ checkUnnamed2526(o.accountPermissionIds);
unittest.expect(o.accountProfile, unittest.equals('foo'));
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.activeAdsLimitTier, unittest.equals('foo'));
unittest.expect(o.activeViewOptOut, unittest.isTrue);
- checkUnnamed2422(o.availablePermissionIds);
+ checkUnnamed2527(o.availablePermissionIds);
unittest.expect(o.countryId, unittest.equals('foo'));
unittest.expect(o.currencyId, unittest.equals('foo'));
unittest.expect(o.defaultCreativeSizeId, unittest.equals('foo'));
@@ -159,14 +159,14 @@
buildCounterAccountActiveAdSummary--;
}
-buildUnnamed2423() {
+buildUnnamed2528() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2423(core.List<core.String> o) {
+checkUnnamed2528(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -177,7 +177,7 @@
var o = new api.AccountPermission();
buildCounterAccountPermission++;
if (buildCounterAccountPermission < 3) {
- o.accountProfiles = buildUnnamed2423();
+ o.accountProfiles = buildUnnamed2528();
o.id = "foo";
o.kind = "foo";
o.level = "foo";
@@ -191,7 +191,7 @@
checkAccountPermission(api.AccountPermission o) {
buildCounterAccountPermission++;
if (buildCounterAccountPermission < 3) {
- checkUnnamed2423(o.accountProfiles);
+ checkUnnamed2528(o.accountProfiles);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
@@ -224,14 +224,14 @@
buildCounterAccountPermissionGroup--;
}
-buildUnnamed2424() {
+buildUnnamed2529() {
var o = new core.List<api.AccountPermissionGroup>();
o.add(buildAccountPermissionGroup());
o.add(buildAccountPermissionGroup());
return o;
}
-checkUnnamed2424(core.List<api.AccountPermissionGroup> o) {
+checkUnnamed2529(core.List<api.AccountPermissionGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountPermissionGroup(o[0]);
checkAccountPermissionGroup(o[1]);
@@ -242,7 +242,7 @@
var o = new api.AccountPermissionGroupsListResponse();
buildCounterAccountPermissionGroupsListResponse++;
if (buildCounterAccountPermissionGroupsListResponse < 3) {
- o.accountPermissionGroups = buildUnnamed2424();
+ o.accountPermissionGroups = buildUnnamed2529();
o.kind = "foo";
}
buildCounterAccountPermissionGroupsListResponse--;
@@ -252,20 +252,20 @@
checkAccountPermissionGroupsListResponse(api.AccountPermissionGroupsListResponse o) {
buildCounterAccountPermissionGroupsListResponse++;
if (buildCounterAccountPermissionGroupsListResponse < 3) {
- checkUnnamed2424(o.accountPermissionGroups);
+ checkUnnamed2529(o.accountPermissionGroups);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountPermissionGroupsListResponse--;
}
-buildUnnamed2425() {
+buildUnnamed2530() {
var o = new core.List<api.AccountPermission>();
o.add(buildAccountPermission());
o.add(buildAccountPermission());
return o;
}
-checkUnnamed2425(core.List<api.AccountPermission> o) {
+checkUnnamed2530(core.List<api.AccountPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountPermission(o[0]);
checkAccountPermission(o[1]);
@@ -276,7 +276,7 @@
var o = new api.AccountPermissionsListResponse();
buildCounterAccountPermissionsListResponse++;
if (buildCounterAccountPermissionsListResponse < 3) {
- o.accountPermissions = buildUnnamed2425();
+ o.accountPermissions = buildUnnamed2530();
o.kind = "foo";
}
buildCounterAccountPermissionsListResponse--;
@@ -286,7 +286,7 @@
checkAccountPermissionsListResponse(api.AccountPermissionsListResponse o) {
buildCounterAccountPermissionsListResponse++;
if (buildCounterAccountPermissionsListResponse < 3) {
- checkUnnamed2425(o.accountPermissions);
+ checkUnnamed2530(o.accountPermissions);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountPermissionsListResponse--;
@@ -341,14 +341,14 @@
buildCounterAccountUserProfile--;
}
-buildUnnamed2426() {
+buildUnnamed2531() {
var o = new core.List<api.AccountUserProfile>();
o.add(buildAccountUserProfile());
o.add(buildAccountUserProfile());
return o;
}
-checkUnnamed2426(core.List<api.AccountUserProfile> o) {
+checkUnnamed2531(core.List<api.AccountUserProfile> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountUserProfile(o[0]);
checkAccountUserProfile(o[1]);
@@ -359,7 +359,7 @@
var o = new api.AccountUserProfilesListResponse();
buildCounterAccountUserProfilesListResponse++;
if (buildCounterAccountUserProfilesListResponse < 3) {
- o.accountUserProfiles = buildUnnamed2426();
+ o.accountUserProfiles = buildUnnamed2531();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -370,21 +370,21 @@
checkAccountUserProfilesListResponse(api.AccountUserProfilesListResponse o) {
buildCounterAccountUserProfilesListResponse++;
if (buildCounterAccountUserProfilesListResponse < 3) {
- checkUnnamed2426(o.accountUserProfiles);
+ checkUnnamed2531(o.accountUserProfiles);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAccountUserProfilesListResponse--;
}
-buildUnnamed2427() {
+buildUnnamed2532() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed2427(core.List<api.Account> o) {
+checkUnnamed2532(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -395,7 +395,7 @@
var o = new api.AccountsListResponse();
buildCounterAccountsListResponse++;
if (buildCounterAccountsListResponse < 3) {
- o.accounts = buildUnnamed2427();
+ o.accounts = buildUnnamed2532();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -406,34 +406,34 @@
checkAccountsListResponse(api.AccountsListResponse o) {
buildCounterAccountsListResponse++;
if (buildCounterAccountsListResponse < 3) {
- checkUnnamed2427(o.accounts);
+ checkUnnamed2532(o.accounts);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAccountsListResponse--;
}
-buildUnnamed2428() {
+buildUnnamed2533() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2428(core.List<api.DimensionValue> o) {
+checkUnnamed2533(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2429() {
+buildUnnamed2534() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2429(core.List<core.String> o) {
+checkUnnamed2534(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -444,9 +444,9 @@
var o = new api.Activities();
buildCounterActivities++;
if (buildCounterActivities < 3) {
- o.filters = buildUnnamed2428();
+ o.filters = buildUnnamed2533();
o.kind = "foo";
- o.metricNames = buildUnnamed2429();
+ o.metricNames = buildUnnamed2534();
}
buildCounterActivities--;
return o;
@@ -455,47 +455,47 @@
checkActivities(api.Activities o) {
buildCounterActivities++;
if (buildCounterActivities < 3) {
- checkUnnamed2428(o.filters);
+ checkUnnamed2533(o.filters);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2429(o.metricNames);
+ checkUnnamed2534(o.metricNames);
}
buildCounterActivities--;
}
-buildUnnamed2430() {
+buildUnnamed2535() {
var o = new core.List<api.CreativeGroupAssignment>();
o.add(buildCreativeGroupAssignment());
o.add(buildCreativeGroupAssignment());
return o;
}
-checkUnnamed2430(core.List<api.CreativeGroupAssignment> o) {
+checkUnnamed2535(core.List<api.CreativeGroupAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroupAssignment(o[0]);
checkCreativeGroupAssignment(o[1]);
}
-buildUnnamed2431() {
+buildUnnamed2536() {
var o = new core.List<api.EventTagOverride>();
o.add(buildEventTagOverride());
o.add(buildEventTagOverride());
return o;
}
-checkUnnamed2431(core.List<api.EventTagOverride> o) {
+checkUnnamed2536(core.List<api.EventTagOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTagOverride(o[0]);
checkEventTagOverride(o[1]);
}
-buildUnnamed2432() {
+buildUnnamed2537() {
var o = new core.List<api.PlacementAssignment>();
o.add(buildPlacementAssignment());
o.add(buildPlacementAssignment());
return o;
}
-checkUnnamed2432(core.List<api.PlacementAssignment> o) {
+checkUnnamed2537(core.List<api.PlacementAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementAssignment(o[0]);
checkPlacementAssignment(o[1]);
@@ -519,14 +519,14 @@
o.comments = "foo";
o.compatibility = "foo";
o.createInfo = buildLastModifiedInfo();
- o.creativeGroupAssignments = buildUnnamed2430();
+ o.creativeGroupAssignments = buildUnnamed2535();
o.creativeRotation = buildCreativeRotation();
o.dayPartTargeting = buildDayPartTargeting();
o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagProperties();
o.deliverySchedule = buildDeliverySchedule();
o.dynamicClickTracker = true;
o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.eventTagOverrides = buildUnnamed2431();
+ o.eventTagOverrides = buildUnnamed2536();
o.geoTargeting = buildGeoTargeting();
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
@@ -535,7 +535,7 @@
o.languageTargeting = buildLanguageTargeting();
o.lastModifiedInfo = buildLastModifiedInfo();
o.name = "foo";
- o.placementAssignments = buildUnnamed2432();
+ o.placementAssignments = buildUnnamed2537();
o.remarketingListExpression = buildListTargetingExpression();
o.size = buildSize();
o.sslCompliant = true;
@@ -566,14 +566,14 @@
unittest.expect(o.comments, unittest.equals('foo'));
unittest.expect(o.compatibility, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
- checkUnnamed2430(o.creativeGroupAssignments);
+ checkUnnamed2535(o.creativeGroupAssignments);
checkCreativeRotation(o.creativeRotation);
checkDayPartTargeting(o.dayPartTargeting);
checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProperties);
checkDeliverySchedule(o.deliverySchedule);
unittest.expect(o.dynamicClickTracker, unittest.isTrue);
unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed2431(o.eventTagOverrides);
+ checkUnnamed2536(o.eventTagOverrides);
checkGeoTargeting(o.geoTargeting);
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
@@ -582,7 +582,7 @@
checkLanguageTargeting(o.languageTargeting);
checkLastModifiedInfo(o.lastModifiedInfo);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2432(o.placementAssignments);
+ checkUnnamed2537(o.placementAssignments);
checkListTargetingExpression(o.remarketingListExpression);
checkSize(o.size);
unittest.expect(o.sslCompliant, unittest.isTrue);
@@ -629,14 +629,14 @@
buildCounterAdSlot--;
}
-buildUnnamed2433() {
+buildUnnamed2538() {
var o = new core.List<api.Ad>();
o.add(buildAd());
o.add(buildAd());
return o;
}
-checkUnnamed2433(core.List<api.Ad> o) {
+checkUnnamed2538(core.List<api.Ad> o) {
unittest.expect(o, unittest.hasLength(2));
checkAd(o[0]);
checkAd(o[1]);
@@ -647,7 +647,7 @@
var o = new api.AdsListResponse();
buildCounterAdsListResponse++;
if (buildCounterAdsListResponse < 3) {
- o.ads = buildUnnamed2433();
+ o.ads = buildUnnamed2538();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -658,7 +658,7 @@
checkAdsListResponse(api.AdsListResponse o) {
buildCounterAdsListResponse++;
if (buildCounterAdsListResponse < 3) {
- checkUnnamed2433(o.ads);
+ checkUnnamed2538(o.ads);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -737,14 +737,14 @@
buildCounterAdvertiserGroup--;
}
-buildUnnamed2434() {
+buildUnnamed2539() {
var o = new core.List<api.AdvertiserGroup>();
o.add(buildAdvertiserGroup());
o.add(buildAdvertiserGroup());
return o;
}
-checkUnnamed2434(core.List<api.AdvertiserGroup> o) {
+checkUnnamed2539(core.List<api.AdvertiserGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvertiserGroup(o[0]);
checkAdvertiserGroup(o[1]);
@@ -755,7 +755,7 @@
var o = new api.AdvertiserGroupsListResponse();
buildCounterAdvertiserGroupsListResponse++;
if (buildCounterAdvertiserGroupsListResponse < 3) {
- o.advertiserGroups = buildUnnamed2434();
+ o.advertiserGroups = buildUnnamed2539();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -766,21 +766,21 @@
checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) {
buildCounterAdvertiserGroupsListResponse++;
if (buildCounterAdvertiserGroupsListResponse < 3) {
- checkUnnamed2434(o.advertiserGroups);
+ checkUnnamed2539(o.advertiserGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdvertiserGroupsListResponse--;
}
-buildUnnamed2435() {
+buildUnnamed2540() {
var o = new core.List<api.Advertiser>();
o.add(buildAdvertiser());
o.add(buildAdvertiser());
return o;
}
-checkUnnamed2435(core.List<api.Advertiser> o) {
+checkUnnamed2540(core.List<api.Advertiser> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvertiser(o[0]);
checkAdvertiser(o[1]);
@@ -791,7 +791,7 @@
var o = new api.AdvertisersListResponse();
buildCounterAdvertisersListResponse++;
if (buildCounterAdvertisersListResponse < 3) {
- o.advertisers = buildUnnamed2435();
+ o.advertisers = buildUnnamed2540();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -802,7 +802,7 @@
checkAdvertisersListResponse(api.AdvertisersListResponse o) {
buildCounterAdvertisersListResponse++;
if (buildCounterAdvertisersListResponse < 3) {
- checkUnnamed2435(o.advertisers);
+ checkUnnamed2540(o.advertisers);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -832,14 +832,14 @@
buildCounterAudienceSegment--;
}
-buildUnnamed2436() {
+buildUnnamed2541() {
var o = new core.List<api.AudienceSegment>();
o.add(buildAudienceSegment());
o.add(buildAudienceSegment());
return o;
}
-checkUnnamed2436(core.List<api.AudienceSegment> o) {
+checkUnnamed2541(core.List<api.AudienceSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudienceSegment(o[0]);
checkAudienceSegment(o[1]);
@@ -850,7 +850,7 @@
var o = new api.AudienceSegmentGroup();
buildCounterAudienceSegmentGroup++;
if (buildCounterAudienceSegmentGroup < 3) {
- o.audienceSegments = buildUnnamed2436();
+ o.audienceSegments = buildUnnamed2541();
o.id = "foo";
o.name = "foo";
}
@@ -861,7 +861,7 @@
checkAudienceSegmentGroup(api.AudienceSegmentGroup o) {
buildCounterAudienceSegmentGroup++;
if (buildCounterAudienceSegmentGroup < 3) {
- checkUnnamed2436(o.audienceSegments);
+ checkUnnamed2541(o.audienceSegments);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
}
@@ -897,14 +897,14 @@
buildCounterBrowser--;
}
-buildUnnamed2437() {
+buildUnnamed2542() {
var o = new core.List<api.Browser>();
o.add(buildBrowser());
o.add(buildBrowser());
return o;
}
-checkUnnamed2437(core.List<api.Browser> o) {
+checkUnnamed2542(core.List<api.Browser> o) {
unittest.expect(o, unittest.hasLength(2));
checkBrowser(o[0]);
checkBrowser(o[1]);
@@ -915,7 +915,7 @@
var o = new api.BrowsersListResponse();
buildCounterBrowsersListResponse++;
if (buildCounterBrowsersListResponse < 3) {
- o.browsers = buildUnnamed2437();
+ o.browsers = buildUnnamed2542();
o.kind = "foo";
}
buildCounterBrowsersListResponse--;
@@ -925,72 +925,72 @@
checkBrowsersListResponse(api.BrowsersListResponse o) {
buildCounterBrowsersListResponse++;
if (buildCounterBrowsersListResponse < 3) {
- checkUnnamed2437(o.browsers);
+ checkUnnamed2542(o.browsers);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBrowsersListResponse--;
}
-buildUnnamed2438() {
+buildUnnamed2543() {
var o = new core.List<api.CreativeOptimizationConfiguration>();
o.add(buildCreativeOptimizationConfiguration());
o.add(buildCreativeOptimizationConfiguration());
return o;
}
-checkUnnamed2438(core.List<api.CreativeOptimizationConfiguration> o) {
+checkUnnamed2543(core.List<api.CreativeOptimizationConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeOptimizationConfiguration(o[0]);
checkCreativeOptimizationConfiguration(o[1]);
}
-buildUnnamed2439() {
+buildUnnamed2544() {
var o = new core.List<api.AudienceSegmentGroup>();
o.add(buildAudienceSegmentGroup());
o.add(buildAudienceSegmentGroup());
return o;
}
-checkUnnamed2439(core.List<api.AudienceSegmentGroup> o) {
+checkUnnamed2544(core.List<api.AudienceSegmentGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudienceSegmentGroup(o[0]);
checkAudienceSegmentGroup(o[1]);
}
-buildUnnamed2440() {
+buildUnnamed2545() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2440(core.List<core.String> o) {
+checkUnnamed2545(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2441() {
+buildUnnamed2546() {
var o = new core.List<api.EventTagOverride>();
o.add(buildEventTagOverride());
o.add(buildEventTagOverride());
return o;
}
-checkUnnamed2441(core.List<api.EventTagOverride> o) {
+checkUnnamed2546(core.List<api.EventTagOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTagOverride(o[0]);
checkEventTagOverride(o[1]);
}
-buildUnnamed2442() {
+buildUnnamed2547() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2442(core.List<core.String> o) {
+checkUnnamed2547(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1002,21 +1002,21 @@
buildCounterCampaign++;
if (buildCounterCampaign < 3) {
o.accountId = "foo";
- o.additionalCreativeOptimizationConfigurations = buildUnnamed2438();
+ o.additionalCreativeOptimizationConfigurations = buildUnnamed2543();
o.advertiserGroupId = "foo";
o.advertiserId = "foo";
o.advertiserIdDimensionValue = buildDimensionValue();
o.archived = true;
- o.audienceSegmentGroups = buildUnnamed2439();
+ o.audienceSegmentGroups = buildUnnamed2544();
o.billingInvoiceCode = "foo";
o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties();
o.comment = "foo";
o.createInfo = buildLastModifiedInfo();
- o.creativeGroupIds = buildUnnamed2440();
+ o.creativeGroupIds = buildUnnamed2545();
o.creativeOptimizationConfiguration = buildCreativeOptimizationConfiguration();
o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagProperties();
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.eventTagOverrides = buildUnnamed2441();
+ o.eventTagOverrides = buildUnnamed2546();
o.externalId = "foo";
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
@@ -1027,7 +1027,7 @@
o.nielsenOcrEnabled = true;
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.subaccountId = "foo";
- o.traffickerEmails = buildUnnamed2442();
+ o.traffickerEmails = buildUnnamed2547();
}
buildCounterCampaign--;
return o;
@@ -1037,21 +1037,21 @@
buildCounterCampaign++;
if (buildCounterCampaign < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed2438(o.additionalCreativeOptimizationConfigurations);
+ checkUnnamed2543(o.additionalCreativeOptimizationConfigurations);
unittest.expect(o.advertiserGroupId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
checkDimensionValue(o.advertiserIdDimensionValue);
unittest.expect(o.archived, unittest.isTrue);
- checkUnnamed2439(o.audienceSegmentGroups);
+ checkUnnamed2544(o.audienceSegmentGroups);
unittest.expect(o.billingInvoiceCode, unittest.equals('foo'));
checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties);
unittest.expect(o.comment, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
- checkUnnamed2440(o.creativeGroupIds);
+ checkUnnamed2545(o.creativeGroupIds);
checkCreativeOptimizationConfiguration(o.creativeOptimizationConfiguration);
checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProperties);
unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed2441(o.eventTagOverrides);
+ checkUnnamed2546(o.eventTagOverrides);
unittest.expect(o.externalId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
@@ -1062,7 +1062,7 @@
unittest.expect(o.nielsenOcrEnabled, unittest.isTrue);
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.subaccountId, unittest.equals('foo'));
- checkUnnamed2442(o.traffickerEmails);
+ checkUnnamed2547(o.traffickerEmails);
}
buildCounterCampaign--;
}
@@ -1088,14 +1088,14 @@
buildCounterCampaignCreativeAssociation--;
}
-buildUnnamed2443() {
+buildUnnamed2548() {
var o = new core.List<api.CampaignCreativeAssociation>();
o.add(buildCampaignCreativeAssociation());
o.add(buildCampaignCreativeAssociation());
return o;
}
-checkUnnamed2443(core.List<api.CampaignCreativeAssociation> o) {
+checkUnnamed2548(core.List<api.CampaignCreativeAssociation> o) {
unittest.expect(o, unittest.hasLength(2));
checkCampaignCreativeAssociation(o[0]);
checkCampaignCreativeAssociation(o[1]);
@@ -1106,7 +1106,7 @@
var o = new api.CampaignCreativeAssociationsListResponse();
buildCounterCampaignCreativeAssociationsListResponse++;
if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
- o.campaignCreativeAssociations = buildUnnamed2443();
+ o.campaignCreativeAssociations = buildUnnamed2548();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1117,21 +1117,21 @@
checkCampaignCreativeAssociationsListResponse(api.CampaignCreativeAssociationsListResponse o) {
buildCounterCampaignCreativeAssociationsListResponse++;
if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
- checkUnnamed2443(o.campaignCreativeAssociations);
+ checkUnnamed2548(o.campaignCreativeAssociations);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCampaignCreativeAssociationsListResponse--;
}
-buildUnnamed2444() {
+buildUnnamed2549() {
var o = new core.List<api.Campaign>();
o.add(buildCampaign());
o.add(buildCampaign());
return o;
}
-checkUnnamed2444(core.List<api.Campaign> o) {
+checkUnnamed2549(core.List<api.Campaign> o) {
unittest.expect(o, unittest.hasLength(2));
checkCampaign(o[0]);
checkCampaign(o[1]);
@@ -1142,7 +1142,7 @@
var o = new api.CampaignsListResponse();
buildCounterCampaignsListResponse++;
if (buildCounterCampaignsListResponse < 3) {
- o.campaigns = buildUnnamed2444();
+ o.campaigns = buildUnnamed2549();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1153,7 +1153,7 @@
checkCampaignsListResponse(api.CampaignsListResponse o) {
buildCounterCampaignsListResponse++;
if (buildCounterCampaignsListResponse < 3) {
- checkUnnamed2444(o.campaigns);
+ checkUnnamed2549(o.campaigns);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1205,14 +1205,14 @@
buildCounterChangeLog--;
}
-buildUnnamed2445() {
+buildUnnamed2550() {
var o = new core.List<api.ChangeLog>();
o.add(buildChangeLog());
o.add(buildChangeLog());
return o;
}
-checkUnnamed2445(core.List<api.ChangeLog> o) {
+checkUnnamed2550(core.List<api.ChangeLog> o) {
unittest.expect(o, unittest.hasLength(2));
checkChangeLog(o[0]);
checkChangeLog(o[1]);
@@ -1223,7 +1223,7 @@
var o = new api.ChangeLogsListResponse();
buildCounterChangeLogsListResponse++;
if (buildCounterChangeLogsListResponse < 3) {
- o.changeLogs = buildUnnamed2445();
+ o.changeLogs = buildUnnamed2550();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1234,21 +1234,21 @@
checkChangeLogsListResponse(api.ChangeLogsListResponse o) {
buildCounterChangeLogsListResponse++;
if (buildCounterChangeLogsListResponse < 3) {
- checkUnnamed2445(o.changeLogs);
+ checkUnnamed2550(o.changeLogs);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterChangeLogsListResponse--;
}
-buildUnnamed2446() {
+buildUnnamed2551() {
var o = new core.List<api.City>();
o.add(buildCity());
o.add(buildCity());
return o;
}
-checkUnnamed2446(core.List<api.City> o) {
+checkUnnamed2551(core.List<api.City> o) {
unittest.expect(o, unittest.hasLength(2));
checkCity(o[0]);
checkCity(o[1]);
@@ -1259,7 +1259,7 @@
var o = new api.CitiesListResponse();
buildCounterCitiesListResponse++;
if (buildCounterCitiesListResponse < 3) {
- o.cities = buildUnnamed2446();
+ o.cities = buildUnnamed2551();
o.kind = "foo";
}
buildCounterCitiesListResponse--;
@@ -1269,7 +1269,7 @@
checkCitiesListResponse(api.CitiesListResponse o) {
buildCounterCitiesListResponse++;
if (buildCounterCitiesListResponse < 3) {
- checkUnnamed2446(o.cities);
+ checkUnnamed2551(o.cities);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCitiesListResponse--;
@@ -1452,14 +1452,14 @@
buildCounterConnectionType--;
}
-buildUnnamed2447() {
+buildUnnamed2552() {
var o = new core.List<api.ConnectionType>();
o.add(buildConnectionType());
o.add(buildConnectionType());
return o;
}
-checkUnnamed2447(core.List<api.ConnectionType> o) {
+checkUnnamed2552(core.List<api.ConnectionType> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnectionType(o[0]);
checkConnectionType(o[1]);
@@ -1470,7 +1470,7 @@
var o = new api.ConnectionTypesListResponse();
buildCounterConnectionTypesListResponse++;
if (buildCounterConnectionTypesListResponse < 3) {
- o.connectionTypes = buildUnnamed2447();
+ o.connectionTypes = buildUnnamed2552();
o.kind = "foo";
}
buildCounterConnectionTypesListResponse--;
@@ -1480,20 +1480,20 @@
checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) {
buildCounterConnectionTypesListResponse++;
if (buildCounterConnectionTypesListResponse < 3) {
- checkUnnamed2447(o.connectionTypes);
+ checkUnnamed2552(o.connectionTypes);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConnectionTypesListResponse--;
}
-buildUnnamed2448() {
+buildUnnamed2553() {
var o = new core.List<api.ContentCategory>();
o.add(buildContentCategory());
o.add(buildContentCategory());
return o;
}
-checkUnnamed2448(core.List<api.ContentCategory> o) {
+checkUnnamed2553(core.List<api.ContentCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkContentCategory(o[0]);
checkContentCategory(o[1]);
@@ -1504,7 +1504,7 @@
var o = new api.ContentCategoriesListResponse();
buildCounterContentCategoriesListResponse++;
if (buildCounterContentCategoriesListResponse < 3) {
- o.contentCategories = buildUnnamed2448();
+ o.contentCategories = buildUnnamed2553();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1515,7 +1515,7 @@
checkContentCategoriesListResponse(api.ContentCategoriesListResponse o) {
buildCounterContentCategoriesListResponse++;
if (buildCounterContentCategoriesListResponse < 3) {
- checkUnnamed2448(o.contentCategories);
+ checkUnnamed2553(o.contentCategories);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1547,27 +1547,27 @@
buildCounterContentCategory--;
}
-buildUnnamed2449() {
+buildUnnamed2554() {
var o = new core.List<api.CustomFloodlightVariable>();
o.add(buildCustomFloodlightVariable());
o.add(buildCustomFloodlightVariable());
return o;
}
-checkUnnamed2449(core.List<api.CustomFloodlightVariable> o) {
+checkUnnamed2554(core.List<api.CustomFloodlightVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomFloodlightVariable(o[0]);
checkCustomFloodlightVariable(o[1]);
}
-buildUnnamed2450() {
+buildUnnamed2555() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2450(core.List<core.String> o) {
+checkUnnamed2555(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1579,9 +1579,9 @@
buildCounterConversion++;
if (buildCounterConversion < 3) {
o.childDirectedTreatment = true;
- o.customVariables = buildUnnamed2449();
+ o.customVariables = buildUnnamed2554();
o.encryptedUserId = "foo";
- o.encryptedUserIdCandidates = buildUnnamed2450();
+ o.encryptedUserIdCandidates = buildUnnamed2555();
o.floodlightActivityId = "foo";
o.floodlightConfigurationId = "foo";
o.kind = "foo";
@@ -1600,9 +1600,9 @@
buildCounterConversion++;
if (buildCounterConversion < 3) {
unittest.expect(o.childDirectedTreatment, unittest.isTrue);
- checkUnnamed2449(o.customVariables);
+ checkUnnamed2554(o.customVariables);
unittest.expect(o.encryptedUserId, unittest.equals('foo'));
- checkUnnamed2450(o.encryptedUserIdCandidates);
+ checkUnnamed2555(o.encryptedUserIdCandidates);
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
unittest.expect(o.floodlightConfigurationId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1639,14 +1639,14 @@
buildCounterConversionError--;
}
-buildUnnamed2451() {
+buildUnnamed2556() {
var o = new core.List<api.ConversionError>();
o.add(buildConversionError());
o.add(buildConversionError());
return o;
}
-checkUnnamed2451(core.List<api.ConversionError> o) {
+checkUnnamed2556(core.List<api.ConversionError> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionError(o[0]);
checkConversionError(o[1]);
@@ -1658,7 +1658,7 @@
buildCounterConversionStatus++;
if (buildCounterConversionStatus < 3) {
o.conversion = buildConversion();
- o.errors = buildUnnamed2451();
+ o.errors = buildUnnamed2556();
o.kind = "foo";
}
buildCounterConversionStatus--;
@@ -1669,20 +1669,20 @@
buildCounterConversionStatus++;
if (buildCounterConversionStatus < 3) {
checkConversion(o.conversion);
- checkUnnamed2451(o.errors);
+ checkUnnamed2556(o.errors);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionStatus--;
}
-buildUnnamed2452() {
+buildUnnamed2557() {
var o = new core.List<api.Conversion>();
o.add(buildConversion());
o.add(buildConversion());
return o;
}
-checkUnnamed2452(core.List<api.Conversion> o) {
+checkUnnamed2557(core.List<api.Conversion> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversion(o[0]);
checkConversion(o[1]);
@@ -1693,7 +1693,7 @@
var o = new api.ConversionsBatchInsertRequest();
buildCounterConversionsBatchInsertRequest++;
if (buildCounterConversionsBatchInsertRequest < 3) {
- o.conversions = buildUnnamed2452();
+ o.conversions = buildUnnamed2557();
o.encryptionInfo = buildEncryptionInfo();
o.kind = "foo";
}
@@ -1704,21 +1704,21 @@
checkConversionsBatchInsertRequest(api.ConversionsBatchInsertRequest o) {
buildCounterConversionsBatchInsertRequest++;
if (buildCounterConversionsBatchInsertRequest < 3) {
- checkUnnamed2452(o.conversions);
+ checkUnnamed2557(o.conversions);
checkEncryptionInfo(o.encryptionInfo);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionsBatchInsertRequest--;
}
-buildUnnamed2453() {
+buildUnnamed2558() {
var o = new core.List<api.ConversionStatus>();
o.add(buildConversionStatus());
o.add(buildConversionStatus());
return o;
}
-checkUnnamed2453(core.List<api.ConversionStatus> o) {
+checkUnnamed2558(core.List<api.ConversionStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionStatus(o[0]);
checkConversionStatus(o[1]);
@@ -1731,7 +1731,7 @@
if (buildCounterConversionsBatchInsertResponse < 3) {
o.hasFailures = true;
o.kind = "foo";
- o.status = buildUnnamed2453();
+ o.status = buildUnnamed2558();
}
buildCounterConversionsBatchInsertResponse--;
return o;
@@ -1742,19 +1742,19 @@
if (buildCounterConversionsBatchInsertResponse < 3) {
unittest.expect(o.hasFailures, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2453(o.status);
+ checkUnnamed2558(o.status);
}
buildCounterConversionsBatchInsertResponse--;
}
-buildUnnamed2454() {
+buildUnnamed2559() {
var o = new core.List<api.Country>();
o.add(buildCountry());
o.add(buildCountry());
return o;
}
-checkUnnamed2454(core.List<api.Country> o) {
+checkUnnamed2559(core.List<api.Country> o) {
unittest.expect(o, unittest.hasLength(2));
checkCountry(o[0]);
checkCountry(o[1]);
@@ -1765,7 +1765,7 @@
var o = new api.CountriesListResponse();
buildCounterCountriesListResponse++;
if (buildCounterCountriesListResponse < 3) {
- o.countries = buildUnnamed2454();
+ o.countries = buildUnnamed2559();
o.kind = "foo";
}
buildCounterCountriesListResponse--;
@@ -1775,7 +1775,7 @@
checkCountriesListResponse(api.CountriesListResponse o) {
buildCounterCountriesListResponse++;
if (buildCounterCountriesListResponse < 3) {
- checkUnnamed2454(o.countries);
+ checkUnnamed2559(o.countries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCountriesListResponse--;
@@ -1808,157 +1808,157 @@
buildCounterCountry--;
}
-buildUnnamed2455() {
+buildUnnamed2560() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2455(core.List<core.String> o) {
+checkUnnamed2560(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2456() {
+buildUnnamed2561() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2456(core.List<core.String> o) {
+checkUnnamed2561(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2457() {
+buildUnnamed2562() {
var o = new core.List<api.ClickTag>();
o.add(buildClickTag());
o.add(buildClickTag());
return o;
}
-checkUnnamed2457(core.List<api.ClickTag> o) {
+checkUnnamed2562(core.List<api.ClickTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkClickTag(o[0]);
checkClickTag(o[1]);
}
-buildUnnamed2458() {
+buildUnnamed2563() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2458(core.List<core.String> o) {
+checkUnnamed2563(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2459() {
+buildUnnamed2564() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2459(core.List<core.String> o) {
+checkUnnamed2564(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2460() {
+buildUnnamed2565() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed2460(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed2565(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
}
-buildUnnamed2461() {
+buildUnnamed2566() {
var o = new core.List<api.CreativeAsset>();
o.add(buildCreativeAsset());
o.add(buildCreativeAsset());
return o;
}
-checkUnnamed2461(core.List<api.CreativeAsset> o) {
+checkUnnamed2566(core.List<api.CreativeAsset> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeAsset(o[0]);
checkCreativeAsset(o[1]);
}
-buildUnnamed2462() {
+buildUnnamed2567() {
var o = new core.List<api.CreativeFieldAssignment>();
o.add(buildCreativeFieldAssignment());
o.add(buildCreativeFieldAssignment());
return o;
}
-checkUnnamed2462(core.List<api.CreativeFieldAssignment> o) {
+checkUnnamed2567(core.List<api.CreativeFieldAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFieldAssignment(o[0]);
checkCreativeFieldAssignment(o[1]);
}
-buildUnnamed2463() {
+buildUnnamed2568() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2463(core.List<core.String> o) {
+checkUnnamed2568(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2464() {
+buildUnnamed2569() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed2464(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed2569(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
}
-buildUnnamed2465() {
+buildUnnamed2570() {
var o = new core.List<api.ThirdPartyTrackingUrl>();
o.add(buildThirdPartyTrackingUrl());
o.add(buildThirdPartyTrackingUrl());
return o;
}
-checkUnnamed2465(core.List<api.ThirdPartyTrackingUrl> o) {
+checkUnnamed2570(core.List<api.ThirdPartyTrackingUrl> o) {
unittest.expect(o, unittest.hasLength(2));
checkThirdPartyTrackingUrl(o[0]);
checkThirdPartyTrackingUrl(o[1]);
}
-buildUnnamed2466() {
+buildUnnamed2571() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed2466(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed2571(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
@@ -1972,7 +1972,7 @@
o.accountId = "foo";
o.active = true;
o.adParameters = "foo";
- o.adTagKeys = buildUnnamed2455();
+ o.adTagKeys = buildUnnamed2560();
o.advertiserId = "foo";
o.allowScriptAccess = true;
o.archived = true;
@@ -1982,21 +1982,21 @@
o.autoAdvanceImages = true;
o.backgroundColor = "foo";
o.backupImageClickThroughUrl = "foo";
- o.backupImageFeatures = buildUnnamed2456();
+ o.backupImageFeatures = buildUnnamed2561();
o.backupImageReportingLabel = "foo";
o.backupImageTargetWindow = buildTargetWindow();
- o.clickTags = buildUnnamed2457();
+ o.clickTags = buildUnnamed2562();
o.commercialId = "foo";
- o.companionCreatives = buildUnnamed2458();
- o.compatibility = buildUnnamed2459();
+ o.companionCreatives = buildUnnamed2563();
+ o.compatibility = buildUnnamed2564();
o.convertFlashToHtml5 = true;
- o.counterCustomEvents = buildUnnamed2460();
+ o.counterCustomEvents = buildUnnamed2565();
o.creativeAssetSelection = buildCreativeAssetSelection();
- o.creativeAssets = buildUnnamed2461();
- o.creativeFieldAssignments = buildUnnamed2462();
- o.customKeyValues = buildUnnamed2463();
+ o.creativeAssets = buildUnnamed2566();
+ o.creativeFieldAssignments = buildUnnamed2567();
+ o.customKeyValues = buildUnnamed2568();
o.dynamicAssetSelection = true;
- o.exitCustomEvents = buildUnnamed2464();
+ o.exitCustomEvents = buildUnnamed2569();
o.fsCommand = buildFsCommand();
o.htmlCode = "foo";
o.htmlCodeLocked = true;
@@ -2022,8 +2022,8 @@
o.subaccountId = "foo";
o.thirdPartyBackupImageImpressionsUrl = "foo";
o.thirdPartyRichMediaImpressionsUrl = "foo";
- o.thirdPartyUrls = buildUnnamed2465();
- o.timerCustomEvents = buildUnnamed2466();
+ o.thirdPartyUrls = buildUnnamed2570();
+ o.timerCustomEvents = buildUnnamed2571();
o.totalFileSize = "foo";
o.type = "foo";
o.version = 42;
@@ -2040,7 +2040,7 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.adParameters, unittest.equals('foo'));
- checkUnnamed2455(o.adTagKeys);
+ checkUnnamed2560(o.adTagKeys);
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.allowScriptAccess, unittest.isTrue);
unittest.expect(o.archived, unittest.isTrue);
@@ -2050,21 +2050,21 @@
unittest.expect(o.autoAdvanceImages, unittest.isTrue);
unittest.expect(o.backgroundColor, unittest.equals('foo'));
unittest.expect(o.backupImageClickThroughUrl, unittest.equals('foo'));
- checkUnnamed2456(o.backupImageFeatures);
+ checkUnnamed2561(o.backupImageFeatures);
unittest.expect(o.backupImageReportingLabel, unittest.equals('foo'));
checkTargetWindow(o.backupImageTargetWindow);
- checkUnnamed2457(o.clickTags);
+ checkUnnamed2562(o.clickTags);
unittest.expect(o.commercialId, unittest.equals('foo'));
- checkUnnamed2458(o.companionCreatives);
- checkUnnamed2459(o.compatibility);
+ checkUnnamed2563(o.companionCreatives);
+ checkUnnamed2564(o.compatibility);
unittest.expect(o.convertFlashToHtml5, unittest.isTrue);
- checkUnnamed2460(o.counterCustomEvents);
+ checkUnnamed2565(o.counterCustomEvents);
checkCreativeAssetSelection(o.creativeAssetSelection);
- checkUnnamed2461(o.creativeAssets);
- checkUnnamed2462(o.creativeFieldAssignments);
- checkUnnamed2463(o.customKeyValues);
+ checkUnnamed2566(o.creativeAssets);
+ checkUnnamed2567(o.creativeFieldAssignments);
+ checkUnnamed2568(o.customKeyValues);
unittest.expect(o.dynamicAssetSelection, unittest.isTrue);
- checkUnnamed2464(o.exitCustomEvents);
+ checkUnnamed2569(o.exitCustomEvents);
checkFsCommand(o.fsCommand);
unittest.expect(o.htmlCode, unittest.equals('foo'));
unittest.expect(o.htmlCodeLocked, unittest.isTrue);
@@ -2090,8 +2090,8 @@
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.thirdPartyBackupImageImpressionsUrl, unittest.equals('foo'));
unittest.expect(o.thirdPartyRichMediaImpressionsUrl, unittest.equals('foo'));
- checkUnnamed2465(o.thirdPartyUrls);
- checkUnnamed2466(o.timerCustomEvents);
+ checkUnnamed2570(o.thirdPartyUrls);
+ checkUnnamed2571(o.timerCustomEvents);
unittest.expect(o.totalFileSize, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
@@ -2101,27 +2101,27 @@
buildCounterCreative--;
}
-buildUnnamed2467() {
+buildUnnamed2572() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2467(core.List<core.String> o) {
+checkUnnamed2572(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2468() {
+buildUnnamed2573() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2468(core.List<core.String> o) {
+checkUnnamed2573(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2141,9 +2141,9 @@
o.bitRate = 42;
o.childAssetType = "foo";
o.collapsedSize = buildSize();
- o.companionCreativeIds = buildUnnamed2467();
+ o.companionCreativeIds = buildUnnamed2572();
o.customStartTimeValue = 42;
- o.detectedFeatures = buildUnnamed2468();
+ o.detectedFeatures = buildUnnamed2573();
o.displayType = "foo";
o.duration = 42;
o.durationType = "foo";
@@ -2193,9 +2193,9 @@
unittest.expect(o.bitRate, unittest.equals(42));
unittest.expect(o.childAssetType, unittest.equals('foo'));
checkSize(o.collapsedSize);
- checkUnnamed2467(o.companionCreativeIds);
+ checkUnnamed2572(o.companionCreativeIds);
unittest.expect(o.customStartTimeValue, unittest.equals(42));
- checkUnnamed2468(o.detectedFeatures);
+ checkUnnamed2573(o.detectedFeatures);
unittest.expect(o.displayType, unittest.equals('foo'));
unittest.expect(o.duration, unittest.equals(42));
unittest.expect(o.durationType, unittest.equals('foo'));
@@ -2253,40 +2253,40 @@
buildCounterCreativeAssetId--;
}
-buildUnnamed2469() {
+buildUnnamed2574() {
var o = new core.List<api.ClickTag>();
o.add(buildClickTag());
o.add(buildClickTag());
return o;
}
-checkUnnamed2469(core.List<api.ClickTag> o) {
+checkUnnamed2574(core.List<api.ClickTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkClickTag(o[0]);
checkClickTag(o[1]);
}
-buildUnnamed2470() {
+buildUnnamed2575() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2470(core.List<core.String> o) {
+checkUnnamed2575(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2471() {
+buildUnnamed2576() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2471(core.List<core.String> o) {
+checkUnnamed2576(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2298,12 +2298,12 @@
buildCounterCreativeAssetMetadata++;
if (buildCounterCreativeAssetMetadata < 3) {
o.assetIdentifier = buildCreativeAssetId();
- o.clickTags = buildUnnamed2469();
- o.detectedFeatures = buildUnnamed2470();
+ o.clickTags = buildUnnamed2574();
+ o.detectedFeatures = buildUnnamed2575();
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
o.kind = "foo";
- o.warnedValidationRules = buildUnnamed2471();
+ o.warnedValidationRules = buildUnnamed2576();
}
buildCounterCreativeAssetMetadata--;
return o;
@@ -2313,24 +2313,24 @@
buildCounterCreativeAssetMetadata++;
if (buildCounterCreativeAssetMetadata < 3) {
checkCreativeAssetId(o.assetIdentifier);
- checkUnnamed2469(o.clickTags);
- checkUnnamed2470(o.detectedFeatures);
+ checkUnnamed2574(o.clickTags);
+ checkUnnamed2575(o.detectedFeatures);
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2471(o.warnedValidationRules);
+ checkUnnamed2576(o.warnedValidationRules);
}
buildCounterCreativeAssetMetadata--;
}
-buildUnnamed2472() {
+buildUnnamed2577() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed2472(core.List<api.Rule> o) {
+checkUnnamed2577(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -2342,7 +2342,7 @@
buildCounterCreativeAssetSelection++;
if (buildCounterCreativeAssetSelection < 3) {
o.defaultAssetId = "foo";
- o.rules = buildUnnamed2472();
+ o.rules = buildUnnamed2577();
}
buildCounterCreativeAssetSelection--;
return o;
@@ -2352,45 +2352,45 @@
buildCounterCreativeAssetSelection++;
if (buildCounterCreativeAssetSelection < 3) {
unittest.expect(o.defaultAssetId, unittest.equals('foo'));
- checkUnnamed2472(o.rules);
+ checkUnnamed2577(o.rules);
}
buildCounterCreativeAssetSelection--;
}
-buildUnnamed2473() {
+buildUnnamed2578() {
var o = new core.List<api.CompanionClickThroughOverride>();
o.add(buildCompanionClickThroughOverride());
o.add(buildCompanionClickThroughOverride());
return o;
}
-checkUnnamed2473(core.List<api.CompanionClickThroughOverride> o) {
+checkUnnamed2578(core.List<api.CompanionClickThroughOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompanionClickThroughOverride(o[0]);
checkCompanionClickThroughOverride(o[1]);
}
-buildUnnamed2474() {
+buildUnnamed2579() {
var o = new core.List<api.CreativeGroupAssignment>();
o.add(buildCreativeGroupAssignment());
o.add(buildCreativeGroupAssignment());
return o;
}
-checkUnnamed2474(core.List<api.CreativeGroupAssignment> o) {
+checkUnnamed2579(core.List<api.CreativeGroupAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroupAssignment(o[0]);
checkCreativeGroupAssignment(o[1]);
}
-buildUnnamed2475() {
+buildUnnamed2580() {
var o = new core.List<api.RichMediaExitOverride>();
o.add(buildRichMediaExitOverride());
o.add(buildRichMediaExitOverride());
return o;
}
-checkUnnamed2475(core.List<api.RichMediaExitOverride> o) {
+checkUnnamed2580(core.List<api.RichMediaExitOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkRichMediaExitOverride(o[0]);
checkRichMediaExitOverride(o[1]);
@@ -2404,12 +2404,12 @@
o.active = true;
o.applyEventTags = true;
o.clickThroughUrl = buildClickThroughUrl();
- o.companionCreativeOverrides = buildUnnamed2473();
- o.creativeGroupAssignments = buildUnnamed2474();
+ o.companionCreativeOverrides = buildUnnamed2578();
+ o.creativeGroupAssignments = buildUnnamed2579();
o.creativeId = "foo";
o.creativeIdDimensionValue = buildDimensionValue();
o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.richMediaExitOverrides = buildUnnamed2475();
+ o.richMediaExitOverrides = buildUnnamed2580();
o.sequence = 42;
o.sslCompliant = true;
o.startTime = core.DateTime.parse("2002-02-27T14:01:02");
@@ -2425,12 +2425,12 @@
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.applyEventTags, unittest.isTrue);
checkClickThroughUrl(o.clickThroughUrl);
- checkUnnamed2473(o.companionCreativeOverrides);
- checkUnnamed2474(o.creativeGroupAssignments);
+ checkUnnamed2578(o.companionCreativeOverrides);
+ checkUnnamed2579(o.creativeGroupAssignments);
unittest.expect(o.creativeId, unittest.equals('foo'));
checkDimensionValue(o.creativeIdDimensionValue);
unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed2475(o.richMediaExitOverrides);
+ checkUnnamed2580(o.richMediaExitOverrides);
unittest.expect(o.sequence, unittest.equals(42));
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -2551,14 +2551,14 @@
buildCounterCreativeFieldValue--;
}
-buildUnnamed2476() {
+buildUnnamed2581() {
var o = new core.List<api.CreativeFieldValue>();
o.add(buildCreativeFieldValue());
o.add(buildCreativeFieldValue());
return o;
}
-checkUnnamed2476(core.List<api.CreativeFieldValue> o) {
+checkUnnamed2581(core.List<api.CreativeFieldValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFieldValue(o[0]);
checkCreativeFieldValue(o[1]);
@@ -2569,7 +2569,7 @@
var o = new api.CreativeFieldValuesListResponse();
buildCounterCreativeFieldValuesListResponse++;
if (buildCounterCreativeFieldValuesListResponse < 3) {
- o.creativeFieldValues = buildUnnamed2476();
+ o.creativeFieldValues = buildUnnamed2581();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2580,21 +2580,21 @@
checkCreativeFieldValuesListResponse(api.CreativeFieldValuesListResponse o) {
buildCounterCreativeFieldValuesListResponse++;
if (buildCounterCreativeFieldValuesListResponse < 3) {
- checkUnnamed2476(o.creativeFieldValues);
+ checkUnnamed2581(o.creativeFieldValues);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativeFieldValuesListResponse--;
}
-buildUnnamed2477() {
+buildUnnamed2582() {
var o = new core.List<api.CreativeField>();
o.add(buildCreativeField());
o.add(buildCreativeField());
return o;
}
-checkUnnamed2477(core.List<api.CreativeField> o) {
+checkUnnamed2582(core.List<api.CreativeField> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeField(o[0]);
checkCreativeField(o[1]);
@@ -2605,7 +2605,7 @@
var o = new api.CreativeFieldsListResponse();
buildCounterCreativeFieldsListResponse++;
if (buildCounterCreativeFieldsListResponse < 3) {
- o.creativeFields = buildUnnamed2477();
+ o.creativeFields = buildUnnamed2582();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2616,7 +2616,7 @@
checkCreativeFieldsListResponse(api.CreativeFieldsListResponse o) {
buildCounterCreativeFieldsListResponse++;
if (buildCounterCreativeFieldsListResponse < 3) {
- checkUnnamed2477(o.creativeFields);
+ checkUnnamed2582(o.creativeFields);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2677,14 +2677,14 @@
buildCounterCreativeGroupAssignment--;
}
-buildUnnamed2478() {
+buildUnnamed2583() {
var o = new core.List<api.CreativeGroup>();
o.add(buildCreativeGroup());
o.add(buildCreativeGroup());
return o;
}
-checkUnnamed2478(core.List<api.CreativeGroup> o) {
+checkUnnamed2583(core.List<api.CreativeGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroup(o[0]);
checkCreativeGroup(o[1]);
@@ -2695,7 +2695,7 @@
var o = new api.CreativeGroupsListResponse();
buildCounterCreativeGroupsListResponse++;
if (buildCounterCreativeGroupsListResponse < 3) {
- o.creativeGroups = buildUnnamed2478();
+ o.creativeGroups = buildUnnamed2583();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2706,21 +2706,21 @@
checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) {
buildCounterCreativeGroupsListResponse++;
if (buildCounterCreativeGroupsListResponse < 3) {
- checkUnnamed2478(o.creativeGroups);
+ checkUnnamed2583(o.creativeGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativeGroupsListResponse--;
}
-buildUnnamed2479() {
+buildUnnamed2584() {
var o = new core.List<api.OptimizationActivity>();
o.add(buildOptimizationActivity());
o.add(buildOptimizationActivity());
return o;
}
-checkUnnamed2479(core.List<api.OptimizationActivity> o) {
+checkUnnamed2584(core.List<api.OptimizationActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkOptimizationActivity(o[0]);
checkOptimizationActivity(o[1]);
@@ -2733,7 +2733,7 @@
if (buildCounterCreativeOptimizationConfiguration < 3) {
o.id = "foo";
o.name = "foo";
- o.optimizationActivitys = buildUnnamed2479();
+ o.optimizationActivitys = buildUnnamed2584();
o.optimizationModel = "foo";
}
buildCounterCreativeOptimizationConfiguration--;
@@ -2745,20 +2745,20 @@
if (buildCounterCreativeOptimizationConfiguration < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2479(o.optimizationActivitys);
+ checkUnnamed2584(o.optimizationActivitys);
unittest.expect(o.optimizationModel, unittest.equals('foo'));
}
buildCounterCreativeOptimizationConfiguration--;
}
-buildUnnamed2480() {
+buildUnnamed2585() {
var o = new core.List<api.CreativeAssignment>();
o.add(buildCreativeAssignment());
o.add(buildCreativeAssignment());
return o;
}
-checkUnnamed2480(core.List<api.CreativeAssignment> o) {
+checkUnnamed2585(core.List<api.CreativeAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeAssignment(o[0]);
checkCreativeAssignment(o[1]);
@@ -2769,7 +2769,7 @@
var o = new api.CreativeRotation();
buildCounterCreativeRotation++;
if (buildCounterCreativeRotation < 3) {
- o.creativeAssignments = buildUnnamed2480();
+ o.creativeAssignments = buildUnnamed2585();
o.creativeOptimizationConfigurationId = "foo";
o.type = "foo";
o.weightCalculationStrategy = "foo";
@@ -2781,7 +2781,7 @@
checkCreativeRotation(api.CreativeRotation o) {
buildCounterCreativeRotation++;
if (buildCounterCreativeRotation < 3) {
- checkUnnamed2480(o.creativeAssignments);
+ checkUnnamed2585(o.creativeAssignments);
unittest.expect(o.creativeOptimizationConfigurationId, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.weightCalculationStrategy, unittest.equals('foo'));
@@ -2810,14 +2810,14 @@
buildCounterCreativeSettings--;
}
-buildUnnamed2481() {
+buildUnnamed2586() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed2481(core.List<api.Creative> o) {
+checkUnnamed2586(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -2828,7 +2828,7 @@
var o = new api.CreativesListResponse();
buildCounterCreativesListResponse++;
if (buildCounterCreativesListResponse < 3) {
- o.creatives = buildUnnamed2481();
+ o.creatives = buildUnnamed2586();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2839,60 +2839,60 @@
checkCreativesListResponse(api.CreativesListResponse o) {
buildCounterCreativesListResponse++;
if (buildCounterCreativesListResponse < 3) {
- checkUnnamed2481(o.creatives);
+ checkUnnamed2586(o.creatives);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativesListResponse--;
}
-buildUnnamed2482() {
+buildUnnamed2587() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2482(core.List<api.Dimension> o) {
+checkUnnamed2587(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2483() {
+buildUnnamed2588() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2483(core.List<api.Dimension> o) {
+checkUnnamed2588(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2484() {
+buildUnnamed2589() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2484(core.List<api.Metric> o) {
+checkUnnamed2589(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2485() {
+buildUnnamed2590() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2485(core.List<api.Metric> o) {
+checkUnnamed2590(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -2903,11 +2903,11 @@
var o = new api.CrossDimensionReachReportCompatibleFields();
buildCounterCrossDimensionReachReportCompatibleFields++;
if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
- o.breakdown = buildUnnamed2482();
- o.dimensionFilters = buildUnnamed2483();
+ o.breakdown = buildUnnamed2587();
+ o.dimensionFilters = buildUnnamed2588();
o.kind = "foo";
- o.metrics = buildUnnamed2484();
- o.overlapMetrics = buildUnnamed2485();
+ o.metrics = buildUnnamed2589();
+ o.overlapMetrics = buildUnnamed2590();
}
buildCounterCrossDimensionReachReportCompatibleFields--;
return o;
@@ -2916,11 +2916,11 @@
checkCrossDimensionReachReportCompatibleFields(api.CrossDimensionReachReportCompatibleFields o) {
buildCounterCrossDimensionReachReportCompatibleFields++;
if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
- checkUnnamed2482(o.breakdown);
- checkUnnamed2483(o.dimensionFilters);
+ checkUnnamed2587(o.breakdown);
+ checkUnnamed2588(o.dimensionFilters);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2484(o.metrics);
- checkUnnamed2485(o.overlapMetrics);
+ checkUnnamed2589(o.metrics);
+ checkUnnamed2590(o.overlapMetrics);
}
buildCounterCrossDimensionReachReportCompatibleFields--;
}
@@ -2948,14 +2948,14 @@
buildCounterCustomFloodlightVariable--;
}
-buildUnnamed2486() {
+buildUnnamed2591() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2486(core.List<api.DimensionValue> o) {
+checkUnnamed2591(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
@@ -2966,7 +2966,7 @@
var o = new api.CustomRichMediaEvents();
buildCounterCustomRichMediaEvents++;
if (buildCounterCustomRichMediaEvents < 3) {
- o.filteredEventIds = buildUnnamed2486();
+ o.filteredEventIds = buildUnnamed2591();
o.kind = "foo";
}
buildCounterCustomRichMediaEvents--;
@@ -2976,7 +2976,7 @@
checkCustomRichMediaEvents(api.CustomRichMediaEvents o) {
buildCounterCustomRichMediaEvents++;
if (buildCounterCustomRichMediaEvents < 3) {
- checkUnnamed2486(o.filteredEventIds);
+ checkUnnamed2591(o.filteredEventIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCustomRichMediaEvents--;
@@ -3007,27 +3007,27 @@
buildCounterDateRange--;
}
-buildUnnamed2487() {
+buildUnnamed2592() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2487(core.List<core.String> o) {
+checkUnnamed2592(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2488() {
+buildUnnamed2593() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2488(core.List<core.int> o) {
+checkUnnamed2593(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -3038,8 +3038,8 @@
var o = new api.DayPartTargeting();
buildCounterDayPartTargeting++;
if (buildCounterDayPartTargeting < 3) {
- o.daysOfWeek = buildUnnamed2487();
- o.hoursOfDay = buildUnnamed2488();
+ o.daysOfWeek = buildUnnamed2592();
+ o.hoursOfDay = buildUnnamed2593();
o.userLocalTime = true;
}
buildCounterDayPartTargeting--;
@@ -3049,8 +3049,8 @@
checkDayPartTargeting(api.DayPartTargeting o) {
buildCounterDayPartTargeting++;
if (buildCounterDayPartTargeting < 3) {
- checkUnnamed2487(o.daysOfWeek);
- checkUnnamed2488(o.hoursOfDay);
+ checkUnnamed2592(o.daysOfWeek);
+ checkUnnamed2593(o.hoursOfDay);
unittest.expect(o.userLocalTime, unittest.isTrue);
}
buildCounterDayPartTargeting--;
@@ -3202,14 +3202,14 @@
buildCounterDimensionValue--;
}
-buildUnnamed2489() {
+buildUnnamed2594() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2489(core.List<api.DimensionValue> o) {
+checkUnnamed2594(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
@@ -3221,7 +3221,7 @@
buildCounterDimensionValueList++;
if (buildCounterDimensionValueList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2489();
+ o.items = buildUnnamed2594();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3233,21 +3233,21 @@
buildCounterDimensionValueList++;
if (buildCounterDimensionValueList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2489(o.items);
+ checkUnnamed2594(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterDimensionValueList--;
}
-buildUnnamed2490() {
+buildUnnamed2595() {
var o = new core.List<api.DimensionFilter>();
o.add(buildDimensionFilter());
o.add(buildDimensionFilter());
return o;
}
-checkUnnamed2490(core.List<api.DimensionFilter> o) {
+checkUnnamed2595(core.List<api.DimensionFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilter(o[0]);
checkDimensionFilter(o[1]);
@@ -3260,7 +3260,7 @@
if (buildCounterDimensionValueRequest < 3) {
o.dimensionName = "foo";
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.filters = buildUnnamed2490();
+ o.filters = buildUnnamed2595();
o.kind = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
}
@@ -3273,47 +3273,47 @@
if (buildCounterDimensionValueRequest < 3) {
unittest.expect(o.dimensionName, unittest.equals('foo'));
unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed2490(o.filters);
+ checkUnnamed2595(o.filters);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
}
buildCounterDimensionValueRequest--;
}
-buildUnnamed2491() {
+buildUnnamed2596() {
var o = new core.List<api.DirectorySiteContactAssignment>();
o.add(buildDirectorySiteContactAssignment());
o.add(buildDirectorySiteContactAssignment());
return o;
}
-checkUnnamed2491(core.List<api.DirectorySiteContactAssignment> o) {
+checkUnnamed2596(core.List<api.DirectorySiteContactAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySiteContactAssignment(o[0]);
checkDirectorySiteContactAssignment(o[1]);
}
-buildUnnamed2492() {
+buildUnnamed2597() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2492(core.List<core.String> o) {
+checkUnnamed2597(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2493() {
+buildUnnamed2598() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2493(core.List<core.String> o) {
+checkUnnamed2598(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3325,14 +3325,14 @@
buildCounterDirectorySite++;
if (buildCounterDirectorySite < 3) {
o.active = true;
- o.contactAssignments = buildUnnamed2491();
+ o.contactAssignments = buildUnnamed2596();
o.countryId = "foo";
o.currencyId = "foo";
o.description = "foo";
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
- o.inpageTagFormats = buildUnnamed2492();
- o.interstitialTagFormats = buildUnnamed2493();
+ o.inpageTagFormats = buildUnnamed2597();
+ o.interstitialTagFormats = buildUnnamed2598();
o.kind = "foo";
o.name = "foo";
o.parentId = "foo";
@@ -3347,14 +3347,14 @@
buildCounterDirectorySite++;
if (buildCounterDirectorySite < 3) {
unittest.expect(o.active, unittest.isTrue);
- checkUnnamed2491(o.contactAssignments);
+ checkUnnamed2596(o.contactAssignments);
unittest.expect(o.countryId, unittest.equals('foo'));
unittest.expect(o.currencyId, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
- checkUnnamed2492(o.inpageTagFormats);
- checkUnnamed2493(o.interstitialTagFormats);
+ checkUnnamed2597(o.inpageTagFormats);
+ checkUnnamed2598(o.interstitialTagFormats);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentId, unittest.equals('foo'));
@@ -3422,14 +3422,14 @@
buildCounterDirectorySiteContactAssignment--;
}
-buildUnnamed2494() {
+buildUnnamed2599() {
var o = new core.List<api.DirectorySiteContact>();
o.add(buildDirectorySiteContact());
o.add(buildDirectorySiteContact());
return o;
}
-checkUnnamed2494(core.List<api.DirectorySiteContact> o) {
+checkUnnamed2599(core.List<api.DirectorySiteContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySiteContact(o[0]);
checkDirectorySiteContact(o[1]);
@@ -3440,7 +3440,7 @@
var o = new api.DirectorySiteContactsListResponse();
buildCounterDirectorySiteContactsListResponse++;
if (buildCounterDirectorySiteContactsListResponse < 3) {
- o.directorySiteContacts = buildUnnamed2494();
+ o.directorySiteContacts = buildUnnamed2599();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3451,7 +3451,7 @@
checkDirectorySiteContactsListResponse(api.DirectorySiteContactsListResponse o) {
buildCounterDirectorySiteContactsListResponse++;
if (buildCounterDirectorySiteContactsListResponse < 3) {
- checkUnnamed2494(o.directorySiteContacts);
+ checkUnnamed2599(o.directorySiteContacts);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3489,14 +3489,14 @@
buildCounterDirectorySiteSettings--;
}
-buildUnnamed2495() {
+buildUnnamed2600() {
var o = new core.List<api.DirectorySite>();
o.add(buildDirectorySite());
o.add(buildDirectorySite());
return o;
}
-checkUnnamed2495(core.List<api.DirectorySite> o) {
+checkUnnamed2600(core.List<api.DirectorySite> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySite(o[0]);
checkDirectorySite(o[1]);
@@ -3507,7 +3507,7 @@
var o = new api.DirectorySitesListResponse();
buildCounterDirectorySitesListResponse++;
if (buildCounterDirectorySitesListResponse < 3) {
- o.directorySites = buildUnnamed2495();
+ o.directorySites = buildUnnamed2600();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3518,7 +3518,7 @@
checkDirectorySitesListResponse(api.DirectorySitesListResponse o) {
buildCounterDirectorySitesListResponse++;
if (buildCounterDirectorySitesListResponse < 3) {
- checkUnnamed2495(o.directorySites);
+ checkUnnamed2600(o.directorySites);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3550,14 +3550,14 @@
buildCounterDynamicTargetingKey--;
}
-buildUnnamed2496() {
+buildUnnamed2601() {
var o = new core.List<api.DynamicTargetingKey>();
o.add(buildDynamicTargetingKey());
o.add(buildDynamicTargetingKey());
return o;
}
-checkUnnamed2496(core.List<api.DynamicTargetingKey> o) {
+checkUnnamed2601(core.List<api.DynamicTargetingKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkDynamicTargetingKey(o[0]);
checkDynamicTargetingKey(o[1]);
@@ -3568,7 +3568,7 @@
var o = new api.DynamicTargetingKeysListResponse();
buildCounterDynamicTargetingKeysListResponse++;
if (buildCounterDynamicTargetingKeysListResponse < 3) {
- o.dynamicTargetingKeys = buildUnnamed2496();
+ o.dynamicTargetingKeys = buildUnnamed2601();
o.kind = "foo";
}
buildCounterDynamicTargetingKeysListResponse--;
@@ -3578,7 +3578,7 @@
checkDynamicTargetingKeysListResponse(api.DynamicTargetingKeysListResponse o) {
buildCounterDynamicTargetingKeysListResponse++;
if (buildCounterDynamicTargetingKeysListResponse < 3) {
- checkUnnamed2496(o.dynamicTargetingKeys);
+ checkUnnamed2601(o.dynamicTargetingKeys);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDynamicTargetingKeysListResponse--;
@@ -3609,14 +3609,14 @@
buildCounterEncryptionInfo--;
}
-buildUnnamed2497() {
+buildUnnamed2602() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2497(core.List<core.String> o) {
+checkUnnamed2602(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3638,7 +3638,7 @@
o.kind = "foo";
o.name = "foo";
o.siteFilterType = "foo";
- o.siteIds = buildUnnamed2497();
+ o.siteIds = buildUnnamed2602();
o.sslCompliant = true;
o.status = "foo";
o.subaccountId = "foo";
@@ -3664,7 +3664,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.siteFilterType, unittest.equals('foo'));
- checkUnnamed2497(o.siteIds);
+ checkUnnamed2602(o.siteIds);
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subaccountId, unittest.equals('foo'));
@@ -3696,14 +3696,14 @@
buildCounterEventTagOverride--;
}
-buildUnnamed2498() {
+buildUnnamed2603() {
var o = new core.List<api.EventTag>();
o.add(buildEventTag());
o.add(buildEventTag());
return o;
}
-checkUnnamed2498(core.List<api.EventTag> o) {
+checkUnnamed2603(core.List<api.EventTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTag(o[0]);
checkEventTag(o[1]);
@@ -3714,7 +3714,7 @@
var o = new api.EventTagsListResponse();
buildCounterEventTagsListResponse++;
if (buildCounterEventTagsListResponse < 3) {
- o.eventTags = buildUnnamed2498();
+ o.eventTags = buildUnnamed2603();
o.kind = "foo";
}
buildCounterEventTagsListResponse--;
@@ -3724,7 +3724,7 @@
checkEventTagsListResponse(api.EventTagsListResponse o) {
buildCounterEventTagsListResponse++;
if (buildCounterEventTagsListResponse < 3) {
- checkUnnamed2498(o.eventTags);
+ checkUnnamed2603(o.eventTags);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEventTagsListResponse--;
@@ -3788,14 +3788,14 @@
buildCounterFile--;
}
-buildUnnamed2499() {
+buildUnnamed2604() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed2499(core.List<api.File> o) {
+checkUnnamed2604(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -3807,7 +3807,7 @@
buildCounterFileList++;
if (buildCounterFileList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2499();
+ o.items = buildUnnamed2604();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3819,7 +3819,7 @@
buildCounterFileList++;
if (buildCounterFileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2499(o.items);
+ checkUnnamed2604(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3872,14 +3872,14 @@
buildCounterFloodlightActivitiesGenerateTagResponse--;
}
-buildUnnamed2500() {
+buildUnnamed2605() {
var o = new core.List<api.FloodlightActivity>();
o.add(buildFloodlightActivity());
o.add(buildFloodlightActivity());
return o;
}
-checkUnnamed2500(core.List<api.FloodlightActivity> o) {
+checkUnnamed2605(core.List<api.FloodlightActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivity(o[0]);
checkFloodlightActivity(o[1]);
@@ -3890,7 +3890,7 @@
var o = new api.FloodlightActivitiesListResponse();
buildCounterFloodlightActivitiesListResponse++;
if (buildCounterFloodlightActivitiesListResponse < 3) {
- o.floodlightActivities = buildUnnamed2500();
+ o.floodlightActivities = buildUnnamed2605();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3901,47 +3901,47 @@
checkFloodlightActivitiesListResponse(api.FloodlightActivitiesListResponse o) {
buildCounterFloodlightActivitiesListResponse++;
if (buildCounterFloodlightActivitiesListResponse < 3) {
- checkUnnamed2500(o.floodlightActivities);
+ checkUnnamed2605(o.floodlightActivities);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterFloodlightActivitiesListResponse--;
}
-buildUnnamed2501() {
+buildUnnamed2606() {
var o = new core.List<api.FloodlightActivityDynamicTag>();
o.add(buildFloodlightActivityDynamicTag());
o.add(buildFloodlightActivityDynamicTag());
return o;
}
-checkUnnamed2501(core.List<api.FloodlightActivityDynamicTag> o) {
+checkUnnamed2606(core.List<api.FloodlightActivityDynamicTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityDynamicTag(o[0]);
checkFloodlightActivityDynamicTag(o[1]);
}
-buildUnnamed2502() {
+buildUnnamed2607() {
var o = new core.List<api.FloodlightActivityPublisherDynamicTag>();
o.add(buildFloodlightActivityPublisherDynamicTag());
o.add(buildFloodlightActivityPublisherDynamicTag());
return o;
}
-checkUnnamed2502(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
+checkUnnamed2607(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityPublisherDynamicTag(o[0]);
checkFloodlightActivityPublisherDynamicTag(o[1]);
}
-buildUnnamed2503() {
+buildUnnamed2608() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2503(core.List<core.String> o) {
+checkUnnamed2608(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3957,7 +3957,7 @@
o.advertiserIdDimensionValue = buildDimensionValue();
o.cacheBustingType = "foo";
o.countingMethod = "foo";
- o.defaultTags = buildUnnamed2501();
+ o.defaultTags = buildUnnamed2606();
o.expectedUrl = "foo";
o.floodlightActivityGroupId = "foo";
o.floodlightActivityGroupName = "foo";
@@ -3972,14 +3972,14 @@
o.kind = "foo";
o.name = "foo";
o.notes = "foo";
- o.publisherTags = buildUnnamed2502();
+ o.publisherTags = buildUnnamed2607();
o.secure = true;
o.sslCompliant = true;
o.sslRequired = true;
o.subaccountId = "foo";
o.tagFormat = "foo";
o.tagString = "foo";
- o.userDefinedVariableTypes = buildUnnamed2503();
+ o.userDefinedVariableTypes = buildUnnamed2608();
}
buildCounterFloodlightActivity--;
return o;
@@ -3993,7 +3993,7 @@
checkDimensionValue(o.advertiserIdDimensionValue);
unittest.expect(o.cacheBustingType, unittest.equals('foo'));
unittest.expect(o.countingMethod, unittest.equals('foo'));
- checkUnnamed2501(o.defaultTags);
+ checkUnnamed2606(o.defaultTags);
unittest.expect(o.expectedUrl, unittest.equals('foo'));
unittest.expect(o.floodlightActivityGroupId, unittest.equals('foo'));
unittest.expect(o.floodlightActivityGroupName, unittest.equals('foo'));
@@ -4008,14 +4008,14 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed2502(o.publisherTags);
+ checkUnnamed2607(o.publisherTags);
unittest.expect(o.secure, unittest.isTrue);
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.sslRequired, unittest.isTrue);
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.tagFormat, unittest.equals('foo'));
unittest.expect(o.tagString, unittest.equals('foo'));
- checkUnnamed2503(o.userDefinedVariableTypes);
+ checkUnnamed2608(o.userDefinedVariableTypes);
}
buildCounterFloodlightActivity--;
}
@@ -4084,14 +4084,14 @@
buildCounterFloodlightActivityGroup--;
}
-buildUnnamed2504() {
+buildUnnamed2609() {
var o = new core.List<api.FloodlightActivityGroup>();
o.add(buildFloodlightActivityGroup());
o.add(buildFloodlightActivityGroup());
return o;
}
-checkUnnamed2504(core.List<api.FloodlightActivityGroup> o) {
+checkUnnamed2609(core.List<api.FloodlightActivityGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityGroup(o[0]);
checkFloodlightActivityGroup(o[1]);
@@ -4102,7 +4102,7 @@
var o = new api.FloodlightActivityGroupsListResponse();
buildCounterFloodlightActivityGroupsListResponse++;
if (buildCounterFloodlightActivityGroupsListResponse < 3) {
- o.floodlightActivityGroups = buildUnnamed2504();
+ o.floodlightActivityGroups = buildUnnamed2609();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4113,7 +4113,7 @@
checkFloodlightActivityGroupsListResponse(api.FloodlightActivityGroupsListResponse o) {
buildCounterFloodlightActivityGroupsListResponse++;
if (buildCounterFloodlightActivityGroupsListResponse < 3) {
- checkUnnamed2504(o.floodlightActivityGroups);
+ checkUnnamed2609(o.floodlightActivityGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -4149,40 +4149,40 @@
buildCounterFloodlightActivityPublisherDynamicTag--;
}
-buildUnnamed2505() {
+buildUnnamed2610() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2505(core.List<core.String> o) {
+checkUnnamed2610(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2506() {
+buildUnnamed2611() {
var o = new core.List<api.ThirdPartyAuthenticationToken>();
o.add(buildThirdPartyAuthenticationToken());
o.add(buildThirdPartyAuthenticationToken());
return o;
}
-checkUnnamed2506(core.List<api.ThirdPartyAuthenticationToken> o) {
+checkUnnamed2611(core.List<api.ThirdPartyAuthenticationToken> o) {
unittest.expect(o, unittest.hasLength(2));
checkThirdPartyAuthenticationToken(o[0]);
checkThirdPartyAuthenticationToken(o[1]);
}
-buildUnnamed2507() {
+buildUnnamed2612() {
var o = new core.List<api.UserDefinedVariableConfiguration>();
o.add(buildUserDefinedVariableConfiguration());
o.add(buildUserDefinedVariableConfiguration());
return o;
}
-checkUnnamed2507(core.List<api.UserDefinedVariableConfiguration> o) {
+checkUnnamed2612(core.List<api.UserDefinedVariableConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedVariableConfiguration(o[0]);
checkUserDefinedVariableConfiguration(o[1]);
@@ -4206,11 +4206,11 @@
o.lookbackConfiguration = buildLookbackConfiguration();
o.naturalSearchConversionAttributionOption = "foo";
o.omnitureSettings = buildOmnitureSettings();
- o.standardVariableTypes = buildUnnamed2505();
+ o.standardVariableTypes = buildUnnamed2610();
o.subaccountId = "foo";
o.tagSettings = buildTagSettings();
- o.thirdPartyAuthenticationTokens = buildUnnamed2506();
- o.userDefinedVariableConfigurations = buildUnnamed2507();
+ o.thirdPartyAuthenticationTokens = buildUnnamed2611();
+ o.userDefinedVariableConfigurations = buildUnnamed2612();
}
buildCounterFloodlightConfiguration--;
return o;
@@ -4232,23 +4232,23 @@
checkLookbackConfiguration(o.lookbackConfiguration);
unittest.expect(o.naturalSearchConversionAttributionOption, unittest.equals('foo'));
checkOmnitureSettings(o.omnitureSettings);
- checkUnnamed2505(o.standardVariableTypes);
+ checkUnnamed2610(o.standardVariableTypes);
unittest.expect(o.subaccountId, unittest.equals('foo'));
checkTagSettings(o.tagSettings);
- checkUnnamed2506(o.thirdPartyAuthenticationTokens);
- checkUnnamed2507(o.userDefinedVariableConfigurations);
+ checkUnnamed2611(o.thirdPartyAuthenticationTokens);
+ checkUnnamed2612(o.userDefinedVariableConfigurations);
}
buildCounterFloodlightConfiguration--;
}
-buildUnnamed2508() {
+buildUnnamed2613() {
var o = new core.List<api.FloodlightConfiguration>();
o.add(buildFloodlightConfiguration());
o.add(buildFloodlightConfiguration());
return o;
}
-checkUnnamed2508(core.List<api.FloodlightConfiguration> o) {
+checkUnnamed2613(core.List<api.FloodlightConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightConfiguration(o[0]);
checkFloodlightConfiguration(o[1]);
@@ -4259,7 +4259,7 @@
var o = new api.FloodlightConfigurationsListResponse();
buildCounterFloodlightConfigurationsListResponse++;
if (buildCounterFloodlightConfigurationsListResponse < 3) {
- o.floodlightConfigurations = buildUnnamed2508();
+ o.floodlightConfigurations = buildUnnamed2613();
o.kind = "foo";
}
buildCounterFloodlightConfigurationsListResponse--;
@@ -4269,46 +4269,46 @@
checkFloodlightConfigurationsListResponse(api.FloodlightConfigurationsListResponse o) {
buildCounterFloodlightConfigurationsListResponse++;
if (buildCounterFloodlightConfigurationsListResponse < 3) {
- checkUnnamed2508(o.floodlightConfigurations);
+ checkUnnamed2613(o.floodlightConfigurations);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterFloodlightConfigurationsListResponse--;
}
-buildUnnamed2509() {
+buildUnnamed2614() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2509(core.List<api.Dimension> o) {
+checkUnnamed2614(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2510() {
+buildUnnamed2615() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2510(core.List<api.Dimension> o) {
+checkUnnamed2615(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2511() {
+buildUnnamed2616() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2511(core.List<api.Metric> o) {
+checkUnnamed2616(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -4319,10 +4319,10 @@
var o = new api.FloodlightReportCompatibleFields();
buildCounterFloodlightReportCompatibleFields++;
if (buildCounterFloodlightReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed2509();
- o.dimensions = buildUnnamed2510();
+ o.dimensionFilters = buildUnnamed2614();
+ o.dimensions = buildUnnamed2615();
o.kind = "foo";
- o.metrics = buildUnnamed2511();
+ o.metrics = buildUnnamed2616();
}
buildCounterFloodlightReportCompatibleFields--;
return o;
@@ -4331,10 +4331,10 @@
checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) {
buildCounterFloodlightReportCompatibleFields++;
if (buildCounterFloodlightReportCompatibleFields < 3) {
- checkUnnamed2509(o.dimensionFilters);
- checkUnnamed2510(o.dimensions);
+ checkUnnamed2614(o.dimensionFilters);
+ checkUnnamed2615(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2511(o.metrics);
+ checkUnnamed2616(o.metrics);
}
buildCounterFloodlightReportCompatibleFields--;
}
@@ -4387,66 +4387,66 @@
buildCounterFsCommand--;
}
-buildUnnamed2512() {
+buildUnnamed2617() {
var o = new core.List<api.City>();
o.add(buildCity());
o.add(buildCity());
return o;
}
-checkUnnamed2512(core.List<api.City> o) {
+checkUnnamed2617(core.List<api.City> o) {
unittest.expect(o, unittest.hasLength(2));
checkCity(o[0]);
checkCity(o[1]);
}
-buildUnnamed2513() {
+buildUnnamed2618() {
var o = new core.List<api.Country>();
o.add(buildCountry());
o.add(buildCountry());
return o;
}
-checkUnnamed2513(core.List<api.Country> o) {
+checkUnnamed2618(core.List<api.Country> o) {
unittest.expect(o, unittest.hasLength(2));
checkCountry(o[0]);
checkCountry(o[1]);
}
-buildUnnamed2514() {
+buildUnnamed2619() {
var o = new core.List<api.Metro>();
o.add(buildMetro());
o.add(buildMetro());
return o;
}
-checkUnnamed2514(core.List<api.Metro> o) {
+checkUnnamed2619(core.List<api.Metro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetro(o[0]);
checkMetro(o[1]);
}
-buildUnnamed2515() {
+buildUnnamed2620() {
var o = new core.List<api.PostalCode>();
o.add(buildPostalCode());
o.add(buildPostalCode());
return o;
}
-checkUnnamed2515(core.List<api.PostalCode> o) {
+checkUnnamed2620(core.List<api.PostalCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCode(o[0]);
checkPostalCode(o[1]);
}
-buildUnnamed2516() {
+buildUnnamed2621() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed2516(core.List<api.Region> o) {
+checkUnnamed2621(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -4457,12 +4457,12 @@
var o = new api.GeoTargeting();
buildCounterGeoTargeting++;
if (buildCounterGeoTargeting < 3) {
- o.cities = buildUnnamed2512();
- o.countries = buildUnnamed2513();
+ o.cities = buildUnnamed2617();
+ o.countries = buildUnnamed2618();
o.excludeCountries = true;
- o.metros = buildUnnamed2514();
- o.postalCodes = buildUnnamed2515();
- o.regions = buildUnnamed2516();
+ o.metros = buildUnnamed2619();
+ o.postalCodes = buildUnnamed2620();
+ o.regions = buildUnnamed2621();
}
buildCounterGeoTargeting--;
return o;
@@ -4471,24 +4471,24 @@
checkGeoTargeting(api.GeoTargeting o) {
buildCounterGeoTargeting++;
if (buildCounterGeoTargeting < 3) {
- checkUnnamed2512(o.cities);
- checkUnnamed2513(o.countries);
+ checkUnnamed2617(o.cities);
+ checkUnnamed2618(o.countries);
unittest.expect(o.excludeCountries, unittest.isTrue);
- checkUnnamed2514(o.metros);
- checkUnnamed2515(o.postalCodes);
- checkUnnamed2516(o.regions);
+ checkUnnamed2619(o.metros);
+ checkUnnamed2620(o.postalCodes);
+ checkUnnamed2621(o.regions);
}
buildCounterGeoTargeting--;
}
-buildUnnamed2517() {
+buildUnnamed2622() {
var o = new core.List<api.AdSlot>();
o.add(buildAdSlot());
o.add(buildAdSlot());
return o;
}
-checkUnnamed2517(core.List<api.AdSlot> o) {
+checkUnnamed2622(core.List<api.AdSlot> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdSlot(o[0]);
checkAdSlot(o[1]);
@@ -4500,7 +4500,7 @@
buildCounterInventoryItem++;
if (buildCounterInventoryItem < 3) {
o.accountId = "foo";
- o.adSlots = buildUnnamed2517();
+ o.adSlots = buildUnnamed2622();
o.advertiserId = "foo";
o.contentCategoryId = "foo";
o.estimatedClickThroughRate = "foo";
@@ -4528,7 +4528,7 @@
buildCounterInventoryItem++;
if (buildCounterInventoryItem < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed2517(o.adSlots);
+ checkUnnamed2622(o.adSlots);
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.contentCategoryId, unittest.equals('foo'));
unittest.expect(o.estimatedClickThroughRate, unittest.equals('foo'));
@@ -4551,14 +4551,14 @@
buildCounterInventoryItem--;
}
-buildUnnamed2518() {
+buildUnnamed2623() {
var o = new core.List<api.InventoryItem>();
o.add(buildInventoryItem());
o.add(buildInventoryItem());
return o;
}
-checkUnnamed2518(core.List<api.InventoryItem> o) {
+checkUnnamed2623(core.List<api.InventoryItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkInventoryItem(o[0]);
checkInventoryItem(o[1]);
@@ -4569,7 +4569,7 @@
var o = new api.InventoryItemsListResponse();
buildCounterInventoryItemsListResponse++;
if (buildCounterInventoryItemsListResponse < 3) {
- o.inventoryItems = buildUnnamed2518();
+ o.inventoryItems = buildUnnamed2623();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4580,7 +4580,7 @@
checkInventoryItemsListResponse(api.InventoryItemsListResponse o) {
buildCounterInventoryItemsListResponse++;
if (buildCounterInventoryItemsListResponse < 3) {
- checkUnnamed2518(o.inventoryItems);
+ checkUnnamed2623(o.inventoryItems);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -4633,14 +4633,14 @@
buildCounterLandingPage--;
}
-buildUnnamed2519() {
+buildUnnamed2624() {
var o = new core.List<api.LandingPage>();
o.add(buildLandingPage());
o.add(buildLandingPage());
return o;
}
-checkUnnamed2519(core.List<api.LandingPage> o) {
+checkUnnamed2624(core.List<api.LandingPage> o) {
unittest.expect(o, unittest.hasLength(2));
checkLandingPage(o[0]);
checkLandingPage(o[1]);
@@ -4652,7 +4652,7 @@
buildCounterLandingPagesListResponse++;
if (buildCounterLandingPagesListResponse < 3) {
o.kind = "foo";
- o.landingPages = buildUnnamed2519();
+ o.landingPages = buildUnnamed2624();
}
buildCounterLandingPagesListResponse--;
return o;
@@ -4662,7 +4662,7 @@
buildCounterLandingPagesListResponse++;
if (buildCounterLandingPagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2519(o.landingPages);
+ checkUnnamed2624(o.landingPages);
}
buildCounterLandingPagesListResponse--;
}
@@ -4692,14 +4692,14 @@
buildCounterLanguage--;
}
-buildUnnamed2520() {
+buildUnnamed2625() {
var o = new core.List<api.Language>();
o.add(buildLanguage());
o.add(buildLanguage());
return o;
}
-checkUnnamed2520(core.List<api.Language> o) {
+checkUnnamed2625(core.List<api.Language> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguage(o[0]);
checkLanguage(o[1]);
@@ -4710,7 +4710,7 @@
var o = new api.LanguageTargeting();
buildCounterLanguageTargeting++;
if (buildCounterLanguageTargeting < 3) {
- o.languages = buildUnnamed2520();
+ o.languages = buildUnnamed2625();
}
buildCounterLanguageTargeting--;
return o;
@@ -4719,19 +4719,19 @@
checkLanguageTargeting(api.LanguageTargeting o) {
buildCounterLanguageTargeting++;
if (buildCounterLanguageTargeting < 3) {
- checkUnnamed2520(o.languages);
+ checkUnnamed2625(o.languages);
}
buildCounterLanguageTargeting--;
}
-buildUnnamed2521() {
+buildUnnamed2626() {
var o = new core.List<api.Language>();
o.add(buildLanguage());
o.add(buildLanguage());
return o;
}
-checkUnnamed2521(core.List<api.Language> o) {
+checkUnnamed2626(core.List<api.Language> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguage(o[0]);
checkLanguage(o[1]);
@@ -4743,7 +4743,7 @@
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
o.kind = "foo";
- o.languages = buildUnnamed2521();
+ o.languages = buildUnnamed2626();
}
buildCounterLanguagesListResponse--;
return o;
@@ -4753,7 +4753,7 @@
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2521(o.languages);
+ checkUnnamed2626(o.languages);
}
buildCounterLanguagesListResponse--;
}
@@ -4777,14 +4777,14 @@
buildCounterLastModifiedInfo--;
}
-buildUnnamed2522() {
+buildUnnamed2627() {
var o = new core.List<api.ListPopulationTerm>();
o.add(buildListPopulationTerm());
o.add(buildListPopulationTerm());
return o;
}
-checkUnnamed2522(core.List<api.ListPopulationTerm> o) {
+checkUnnamed2627(core.List<api.ListPopulationTerm> o) {
unittest.expect(o, unittest.hasLength(2));
checkListPopulationTerm(o[0]);
checkListPopulationTerm(o[1]);
@@ -4795,7 +4795,7 @@
var o = new api.ListPopulationClause();
buildCounterListPopulationClause++;
if (buildCounterListPopulationClause < 3) {
- o.terms = buildUnnamed2522();
+ o.terms = buildUnnamed2627();
}
buildCounterListPopulationClause--;
return o;
@@ -4804,19 +4804,19 @@
checkListPopulationClause(api.ListPopulationClause o) {
buildCounterListPopulationClause++;
if (buildCounterListPopulationClause < 3) {
- checkUnnamed2522(o.terms);
+ checkUnnamed2627(o.terms);
}
buildCounterListPopulationClause--;
}
-buildUnnamed2523() {
+buildUnnamed2628() {
var o = new core.List<api.ListPopulationClause>();
o.add(buildListPopulationClause());
o.add(buildListPopulationClause());
return o;
}
-checkUnnamed2523(core.List<api.ListPopulationClause> o) {
+checkUnnamed2628(core.List<api.ListPopulationClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkListPopulationClause(o[0]);
checkListPopulationClause(o[1]);
@@ -4829,7 +4829,7 @@
if (buildCounterListPopulationRule < 3) {
o.floodlightActivityId = "foo";
o.floodlightActivityName = "foo";
- o.listPopulationClauses = buildUnnamed2523();
+ o.listPopulationClauses = buildUnnamed2628();
}
buildCounterListPopulationRule--;
return o;
@@ -4840,7 +4840,7 @@
if (buildCounterListPopulationRule < 3) {
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
unittest.expect(o.floodlightActivityName, unittest.equals('foo'));
- checkUnnamed2523(o.listPopulationClauses);
+ checkUnnamed2628(o.listPopulationClauses);
}
buildCounterListPopulationRule--;
}
@@ -4970,14 +4970,14 @@
buildCounterMetro--;
}
-buildUnnamed2524() {
+buildUnnamed2629() {
var o = new core.List<api.Metro>();
o.add(buildMetro());
o.add(buildMetro());
return o;
}
-checkUnnamed2524(core.List<api.Metro> o) {
+checkUnnamed2629(core.List<api.Metro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetro(o[0]);
checkMetro(o[1]);
@@ -4989,7 +4989,7 @@
buildCounterMetrosListResponse++;
if (buildCounterMetrosListResponse < 3) {
o.kind = "foo";
- o.metros = buildUnnamed2524();
+ o.metros = buildUnnamed2629();
}
buildCounterMetrosListResponse--;
return o;
@@ -4999,7 +4999,7 @@
buildCounterMetrosListResponse++;
if (buildCounterMetrosListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2524(o.metros);
+ checkUnnamed2629(o.metros);
}
buildCounterMetrosListResponse--;
}
@@ -5031,14 +5031,14 @@
buildCounterMobileCarrier--;
}
-buildUnnamed2525() {
+buildUnnamed2630() {
var o = new core.List<api.MobileCarrier>();
o.add(buildMobileCarrier());
o.add(buildMobileCarrier());
return o;
}
-checkUnnamed2525(core.List<api.MobileCarrier> o) {
+checkUnnamed2630(core.List<api.MobileCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileCarrier(o[0]);
checkMobileCarrier(o[1]);
@@ -5050,7 +5050,7 @@
buildCounterMobileCarriersListResponse++;
if (buildCounterMobileCarriersListResponse < 3) {
o.kind = "foo";
- o.mobileCarriers = buildUnnamed2525();
+ o.mobileCarriers = buildUnnamed2630();
}
buildCounterMobileCarriersListResponse--;
return o;
@@ -5060,19 +5060,19 @@
buildCounterMobileCarriersListResponse++;
if (buildCounterMobileCarriersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2525(o.mobileCarriers);
+ checkUnnamed2630(o.mobileCarriers);
}
buildCounterMobileCarriersListResponse--;
}
-buildUnnamed2526() {
+buildUnnamed2631() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2526(core.List<core.String> o) {
+checkUnnamed2631(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5084,7 +5084,7 @@
buildCounterObjectFilter++;
if (buildCounterObjectFilter < 3) {
o.kind = "foo";
- o.objectIds = buildUnnamed2526();
+ o.objectIds = buildUnnamed2631();
o.status = "foo";
}
buildCounterObjectFilter--;
@@ -5095,7 +5095,7 @@
buildCounterObjectFilter++;
if (buildCounterObjectFilter < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2526(o.objectIds);
+ checkUnnamed2631(o.objectIds);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterObjectFilter--;
@@ -5199,14 +5199,14 @@
buildCounterOperatingSystemVersion--;
}
-buildUnnamed2527() {
+buildUnnamed2632() {
var o = new core.List<api.OperatingSystemVersion>();
o.add(buildOperatingSystemVersion());
o.add(buildOperatingSystemVersion());
return o;
}
-checkUnnamed2527(core.List<api.OperatingSystemVersion> o) {
+checkUnnamed2632(core.List<api.OperatingSystemVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystemVersion(o[0]);
checkOperatingSystemVersion(o[1]);
@@ -5218,7 +5218,7 @@
buildCounterOperatingSystemVersionsListResponse++;
if (buildCounterOperatingSystemVersionsListResponse < 3) {
o.kind = "foo";
- o.operatingSystemVersions = buildUnnamed2527();
+ o.operatingSystemVersions = buildUnnamed2632();
}
buildCounterOperatingSystemVersionsListResponse--;
return o;
@@ -5228,19 +5228,19 @@
buildCounterOperatingSystemVersionsListResponse++;
if (buildCounterOperatingSystemVersionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2527(o.operatingSystemVersions);
+ checkUnnamed2632(o.operatingSystemVersions);
}
buildCounterOperatingSystemVersionsListResponse--;
}
-buildUnnamed2528() {
+buildUnnamed2633() {
var o = new core.List<api.OperatingSystem>();
o.add(buildOperatingSystem());
o.add(buildOperatingSystem());
return o;
}
-checkUnnamed2528(core.List<api.OperatingSystem> o) {
+checkUnnamed2633(core.List<api.OperatingSystem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystem(o[0]);
checkOperatingSystem(o[1]);
@@ -5252,7 +5252,7 @@
buildCounterOperatingSystemsListResponse++;
if (buildCounterOperatingSystemsListResponse < 3) {
o.kind = "foo";
- o.operatingSystems = buildUnnamed2528();
+ o.operatingSystems = buildUnnamed2633();
}
buildCounterOperatingSystemsListResponse--;
return o;
@@ -5262,7 +5262,7 @@
buildCounterOperatingSystemsListResponse++;
if (buildCounterOperatingSystemsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2528(o.operatingSystems);
+ checkUnnamed2633(o.operatingSystems);
}
buildCounterOperatingSystemsListResponse--;
}
@@ -5290,53 +5290,53 @@
buildCounterOptimizationActivity--;
}
-buildUnnamed2529() {
+buildUnnamed2634() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2529(core.List<core.String> o) {
+checkUnnamed2634(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2530() {
+buildUnnamed2635() {
var o = new core.List<api.OrderContact>();
o.add(buildOrderContact());
o.add(buildOrderContact());
return o;
}
-checkUnnamed2530(core.List<api.OrderContact> o) {
+checkUnnamed2635(core.List<api.OrderContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderContact(o[0]);
checkOrderContact(o[1]);
}
-buildUnnamed2531() {
+buildUnnamed2636() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2531(core.List<core.String> o) {
+checkUnnamed2636(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2532() {
+buildUnnamed2637() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2532(core.List<core.String> o) {
+checkUnnamed2637(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5349,11 +5349,11 @@
if (buildCounterOrder < 3) {
o.accountId = "foo";
o.advertiserId = "foo";
- o.approverUserProfileIds = buildUnnamed2529();
+ o.approverUserProfileIds = buildUnnamed2634();
o.buyerInvoiceId = "foo";
o.buyerOrganizationName = "foo";
o.comments = "foo";
- o.contacts = buildUnnamed2530();
+ o.contacts = buildUnnamed2635();
o.id = "foo";
o.kind = "foo";
o.lastModifiedInfo = buildLastModifiedInfo();
@@ -5363,8 +5363,8 @@
o.projectId = "foo";
o.sellerOrderId = "foo";
o.sellerOrganizationName = "foo";
- o.siteId = buildUnnamed2531();
- o.siteNames = buildUnnamed2532();
+ o.siteId = buildUnnamed2636();
+ o.siteNames = buildUnnamed2637();
o.subaccountId = "foo";
o.termsAndConditions = "foo";
}
@@ -5377,11 +5377,11 @@
if (buildCounterOrder < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
- checkUnnamed2529(o.approverUserProfileIds);
+ checkUnnamed2634(o.approverUserProfileIds);
unittest.expect(o.buyerInvoiceId, unittest.equals('foo'));
unittest.expect(o.buyerOrganizationName, unittest.equals('foo'));
unittest.expect(o.comments, unittest.equals('foo'));
- checkUnnamed2530(o.contacts);
+ checkUnnamed2635(o.contacts);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkLastModifiedInfo(o.lastModifiedInfo);
@@ -5391,8 +5391,8 @@
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.sellerOrderId, unittest.equals('foo'));
unittest.expect(o.sellerOrganizationName, unittest.equals('foo'));
- checkUnnamed2531(o.siteId);
- checkUnnamed2532(o.siteNames);
+ checkUnnamed2636(o.siteId);
+ checkUnnamed2637(o.siteNames);
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.termsAndConditions, unittest.equals('foo'));
}
@@ -5426,27 +5426,27 @@
buildCounterOrderContact--;
}
-buildUnnamed2533() {
+buildUnnamed2638() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2533(core.List<core.String> o) {
+checkUnnamed2638(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2534() {
+buildUnnamed2639() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2534(core.List<core.String> o) {
+checkUnnamed2639(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5460,13 +5460,13 @@
o.accountId = "foo";
o.advertiserId = "foo";
o.amendedOrderDocumentId = "foo";
- o.approvedByUserProfileIds = buildUnnamed2533();
+ o.approvedByUserProfileIds = buildUnnamed2638();
o.cancelled = true;
o.createdInfo = buildLastModifiedInfo();
o.effectiveDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.id = "foo";
o.kind = "foo";
- o.lastSentRecipients = buildUnnamed2534();
+ o.lastSentRecipients = buildUnnamed2639();
o.lastSentTime = core.DateTime.parse("2002-02-27T14:01:02");
o.orderId = "foo";
o.projectId = "foo";
@@ -5485,13 +5485,13 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.amendedOrderDocumentId, unittest.equals('foo'));
- checkUnnamed2533(o.approvedByUserProfileIds);
+ checkUnnamed2638(o.approvedByUserProfileIds);
unittest.expect(o.cancelled, unittest.isTrue);
checkLastModifiedInfo(o.createdInfo);
unittest.expect(o.effectiveDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2534(o.lastSentRecipients);
+ checkUnnamed2639(o.lastSentRecipients);
unittest.expect(o.lastSentTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.orderId, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
@@ -5503,14 +5503,14 @@
buildCounterOrderDocument--;
}
-buildUnnamed2535() {
+buildUnnamed2640() {
var o = new core.List<api.OrderDocument>();
o.add(buildOrderDocument());
o.add(buildOrderDocument());
return o;
}
-checkUnnamed2535(core.List<api.OrderDocument> o) {
+checkUnnamed2640(core.List<api.OrderDocument> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderDocument(o[0]);
checkOrderDocument(o[1]);
@@ -5523,7 +5523,7 @@
if (buildCounterOrderDocumentsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.orderDocuments = buildUnnamed2535();
+ o.orderDocuments = buildUnnamed2640();
}
buildCounterOrderDocumentsListResponse--;
return o;
@@ -5534,19 +5534,19 @@
if (buildCounterOrderDocumentsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2535(o.orderDocuments);
+ checkUnnamed2640(o.orderDocuments);
}
buildCounterOrderDocumentsListResponse--;
}
-buildUnnamed2536() {
+buildUnnamed2641() {
var o = new core.List<api.Order>();
o.add(buildOrder());
o.add(buildOrder());
return o;
}
-checkUnnamed2536(core.List<api.Order> o) {
+checkUnnamed2641(core.List<api.Order> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrder(o[0]);
checkOrder(o[1]);
@@ -5559,7 +5559,7 @@
if (buildCounterOrdersListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.orders = buildUnnamed2536();
+ o.orders = buildUnnamed2641();
}
buildCounterOrdersListResponse--;
return o;
@@ -5570,58 +5570,58 @@
if (buildCounterOrdersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2536(o.orders);
+ checkUnnamed2641(o.orders);
}
buildCounterOrdersListResponse--;
}
-buildUnnamed2537() {
+buildUnnamed2642() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2537(core.List<api.Dimension> o) {
+checkUnnamed2642(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2538() {
+buildUnnamed2643() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2538(core.List<api.Dimension> o) {
+checkUnnamed2643(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2539() {
+buildUnnamed2644() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2539(core.List<api.Metric> o) {
+checkUnnamed2644(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2540() {
+buildUnnamed2645() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2540(core.List<api.Dimension> o) {
+checkUnnamed2645(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
@@ -5632,11 +5632,11 @@
var o = new api.PathToConversionReportCompatibleFields();
buildCounterPathToConversionReportCompatibleFields++;
if (buildCounterPathToConversionReportCompatibleFields < 3) {
- o.conversionDimensions = buildUnnamed2537();
- o.customFloodlightVariables = buildUnnamed2538();
+ o.conversionDimensions = buildUnnamed2642();
+ o.customFloodlightVariables = buildUnnamed2643();
o.kind = "foo";
- o.metrics = buildUnnamed2539();
- o.perInteractionDimensions = buildUnnamed2540();
+ o.metrics = buildUnnamed2644();
+ o.perInteractionDimensions = buildUnnamed2645();
}
buildCounterPathToConversionReportCompatibleFields--;
return o;
@@ -5645,23 +5645,23 @@
checkPathToConversionReportCompatibleFields(api.PathToConversionReportCompatibleFields o) {
buildCounterPathToConversionReportCompatibleFields++;
if (buildCounterPathToConversionReportCompatibleFields < 3) {
- checkUnnamed2537(o.conversionDimensions);
- checkUnnamed2538(o.customFloodlightVariables);
+ checkUnnamed2642(o.conversionDimensions);
+ checkUnnamed2643(o.customFloodlightVariables);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2539(o.metrics);
- checkUnnamed2540(o.perInteractionDimensions);
+ checkUnnamed2644(o.metrics);
+ checkUnnamed2645(o.perInteractionDimensions);
}
buildCounterPathToConversionReportCompatibleFields--;
}
-buildUnnamed2541() {
+buildUnnamed2646() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2541(core.List<core.String> o) {
+checkUnnamed2646(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5706,7 +5706,7 @@
o.sslRequired = true;
o.status = "foo";
o.subaccountId = "foo";
- o.tagFormats = buildUnnamed2541();
+ o.tagFormats = buildUnnamed2646();
o.tagSetting = buildTagSetting();
}
buildCounterPlacement--;
@@ -5750,7 +5750,7 @@
unittest.expect(o.sslRequired, unittest.isTrue);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subaccountId, unittest.equals('foo'));
- checkUnnamed2541(o.tagFormats);
+ checkUnnamed2646(o.tagFormats);
checkTagSetting(o.tagSetting);
}
buildCounterPlacement--;
@@ -5781,14 +5781,14 @@
buildCounterPlacementAssignment--;
}
-buildUnnamed2542() {
+buildUnnamed2647() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2542(core.List<core.String> o) {
+checkUnnamed2647(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5805,7 +5805,7 @@
o.archived = true;
o.campaignId = "foo";
o.campaignIdDimensionValue = buildDimensionValue();
- o.childPlacementIds = buildUnnamed2542();
+ o.childPlacementIds = buildUnnamed2647();
o.comment = "foo";
o.contentCategoryId = "foo";
o.createInfo = buildLastModifiedInfo();
@@ -5839,7 +5839,7 @@
unittest.expect(o.archived, unittest.isTrue);
unittest.expect(o.campaignId, unittest.equals('foo'));
checkDimensionValue(o.campaignIdDimensionValue);
- checkUnnamed2542(o.childPlacementIds);
+ checkUnnamed2647(o.childPlacementIds);
unittest.expect(o.comment, unittest.equals('foo'));
unittest.expect(o.contentCategoryId, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
@@ -5863,14 +5863,14 @@
buildCounterPlacementGroup--;
}
-buildUnnamed2543() {
+buildUnnamed2648() {
var o = new core.List<api.PlacementGroup>();
o.add(buildPlacementGroup());
o.add(buildPlacementGroup());
return o;
}
-checkUnnamed2543(core.List<api.PlacementGroup> o) {
+checkUnnamed2648(core.List<api.PlacementGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementGroup(o[0]);
checkPlacementGroup(o[1]);
@@ -5883,7 +5883,7 @@
if (buildCounterPlacementGroupsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placementGroups = buildUnnamed2543();
+ o.placementGroups = buildUnnamed2648();
}
buildCounterPlacementGroupsListResponse--;
return o;
@@ -5894,19 +5894,19 @@
if (buildCounterPlacementGroupsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2543(o.placementGroups);
+ checkUnnamed2648(o.placementGroups);
}
buildCounterPlacementGroupsListResponse--;
}
-buildUnnamed2544() {
+buildUnnamed2649() {
var o = new core.List<api.PlacementStrategy>();
o.add(buildPlacementStrategy());
o.add(buildPlacementStrategy());
return o;
}
-checkUnnamed2544(core.List<api.PlacementStrategy> o) {
+checkUnnamed2649(core.List<api.PlacementStrategy> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementStrategy(o[0]);
checkPlacementStrategy(o[1]);
@@ -5919,7 +5919,7 @@
if (buildCounterPlacementStrategiesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placementStrategies = buildUnnamed2544();
+ o.placementStrategies = buildUnnamed2649();
}
buildCounterPlacementStrategiesListResponse--;
return o;
@@ -5930,7 +5930,7 @@
if (buildCounterPlacementStrategiesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2544(o.placementStrategies);
+ checkUnnamed2649(o.placementStrategies);
}
buildCounterPlacementStrategiesListResponse--;
}
@@ -5960,14 +5960,14 @@
buildCounterPlacementStrategy--;
}
-buildUnnamed2545() {
+buildUnnamed2650() {
var o = new core.List<api.TagData>();
o.add(buildTagData());
o.add(buildTagData());
return o;
}
-checkUnnamed2545(core.List<api.TagData> o) {
+checkUnnamed2650(core.List<api.TagData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTagData(o[0]);
checkTagData(o[1]);
@@ -5979,7 +5979,7 @@
buildCounterPlacementTag++;
if (buildCounterPlacementTag < 3) {
o.placementId = "foo";
- o.tagDatas = buildUnnamed2545();
+ o.tagDatas = buildUnnamed2650();
}
buildCounterPlacementTag--;
return o;
@@ -5989,19 +5989,19 @@
buildCounterPlacementTag++;
if (buildCounterPlacementTag < 3) {
unittest.expect(o.placementId, unittest.equals('foo'));
- checkUnnamed2545(o.tagDatas);
+ checkUnnamed2650(o.tagDatas);
}
buildCounterPlacementTag--;
}
-buildUnnamed2546() {
+buildUnnamed2651() {
var o = new core.List<api.PlacementTag>();
o.add(buildPlacementTag());
o.add(buildPlacementTag());
return o;
}
-checkUnnamed2546(core.List<api.PlacementTag> o) {
+checkUnnamed2651(core.List<api.PlacementTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementTag(o[0]);
checkPlacementTag(o[1]);
@@ -6013,7 +6013,7 @@
buildCounterPlacementsGenerateTagsResponse++;
if (buildCounterPlacementsGenerateTagsResponse < 3) {
o.kind = "foo";
- o.placementTags = buildUnnamed2546();
+ o.placementTags = buildUnnamed2651();
}
buildCounterPlacementsGenerateTagsResponse--;
return o;
@@ -6023,19 +6023,19 @@
buildCounterPlacementsGenerateTagsResponse++;
if (buildCounterPlacementsGenerateTagsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2546(o.placementTags);
+ checkUnnamed2651(o.placementTags);
}
buildCounterPlacementsGenerateTagsResponse--;
}
-buildUnnamed2547() {
+buildUnnamed2652() {
var o = new core.List<api.Placement>();
o.add(buildPlacement());
o.add(buildPlacement());
return o;
}
-checkUnnamed2547(core.List<api.Placement> o) {
+checkUnnamed2652(core.List<api.Placement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacement(o[0]);
checkPlacement(o[1]);
@@ -6048,7 +6048,7 @@
if (buildCounterPlacementsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placements = buildUnnamed2547();
+ o.placements = buildUnnamed2652();
}
buildCounterPlacementsListResponse--;
return o;
@@ -6059,7 +6059,7 @@
if (buildCounterPlacementsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2547(o.placements);
+ checkUnnamed2652(o.placements);
}
buildCounterPlacementsListResponse--;
}
@@ -6087,14 +6087,14 @@
buildCounterPlatformType--;
}
-buildUnnamed2548() {
+buildUnnamed2653() {
var o = new core.List<api.PlatformType>();
o.add(buildPlatformType());
o.add(buildPlatformType());
return o;
}
-checkUnnamed2548(core.List<api.PlatformType> o) {
+checkUnnamed2653(core.List<api.PlatformType> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlatformType(o[0]);
checkPlatformType(o[1]);
@@ -6106,7 +6106,7 @@
buildCounterPlatformTypesListResponse++;
if (buildCounterPlatformTypesListResponse < 3) {
o.kind = "foo";
- o.platformTypes = buildUnnamed2548();
+ o.platformTypes = buildUnnamed2653();
}
buildCounterPlatformTypesListResponse--;
return o;
@@ -6116,7 +6116,7 @@
buildCounterPlatformTypesListResponse++;
if (buildCounterPlatformTypesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2548(o.platformTypes);
+ checkUnnamed2653(o.platformTypes);
}
buildCounterPlatformTypesListResponse--;
}
@@ -6183,14 +6183,14 @@
buildCounterPostalCode--;
}
-buildUnnamed2549() {
+buildUnnamed2654() {
var o = new core.List<api.PostalCode>();
o.add(buildPostalCode());
o.add(buildPostalCode());
return o;
}
-checkUnnamed2549(core.List<api.PostalCode> o) {
+checkUnnamed2654(core.List<api.PostalCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCode(o[0]);
checkPostalCode(o[1]);
@@ -6202,7 +6202,7 @@
buildCounterPostalCodesListResponse++;
if (buildCounterPostalCodesListResponse < 3) {
o.kind = "foo";
- o.postalCodes = buildUnnamed2549();
+ o.postalCodes = buildUnnamed2654();
}
buildCounterPostalCodesListResponse--;
return o;
@@ -6212,19 +6212,19 @@
buildCounterPostalCodesListResponse++;
if (buildCounterPostalCodesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2549(o.postalCodes);
+ checkUnnamed2654(o.postalCodes);
}
buildCounterPostalCodesListResponse--;
}
-buildUnnamed2550() {
+buildUnnamed2655() {
var o = new core.List<api.Flight>();
o.add(buildFlight());
o.add(buildFlight());
return o;
}
-checkUnnamed2550(core.List<api.Flight> o) {
+checkUnnamed2655(core.List<api.Flight> o) {
unittest.expect(o, unittest.hasLength(2));
checkFlight(o[0]);
checkFlight(o[1]);
@@ -6237,7 +6237,7 @@
if (buildCounterPricing < 3) {
o.capCostType = "foo";
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.flights = buildUnnamed2550();
+ o.flights = buildUnnamed2655();
o.groupType = "foo";
o.pricingType = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
@@ -6251,7 +6251,7 @@
if (buildCounterPricing < 3) {
unittest.expect(o.capCostType, unittest.equals('foo'));
unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed2550(o.flights);
+ checkUnnamed2655(o.flights);
unittest.expect(o.groupType, unittest.equals('foo'));
unittest.expect(o.pricingType, unittest.equals('foo'));
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -6259,14 +6259,14 @@
buildCounterPricing--;
}
-buildUnnamed2551() {
+buildUnnamed2656() {
var o = new core.List<api.PricingSchedulePricingPeriod>();
o.add(buildPricingSchedulePricingPeriod());
o.add(buildPricingSchedulePricingPeriod());
return o;
}
-checkUnnamed2551(core.List<api.PricingSchedulePricingPeriod> o) {
+checkUnnamed2656(core.List<api.PricingSchedulePricingPeriod> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricingSchedulePricingPeriod(o[0]);
checkPricingSchedulePricingPeriod(o[1]);
@@ -6282,7 +6282,7 @@
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.flighted = true;
o.floodlightActivityId = "foo";
- o.pricingPeriods = buildUnnamed2551();
+ o.pricingPeriods = buildUnnamed2656();
o.pricingType = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.testingStartDate = core.DateTime.parse("2002-02-27T14:01:02Z");
@@ -6299,7 +6299,7 @@
unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.flighted, unittest.isTrue);
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
- checkUnnamed2551(o.pricingPeriods);
+ checkUnnamed2656(o.pricingPeriods);
unittest.expect(o.pricingType, unittest.equals('foo'));
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.testingStartDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -6395,14 +6395,14 @@
buildCounterProject--;
}
-buildUnnamed2552() {
+buildUnnamed2657() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed2552(core.List<api.Project> o) {
+checkUnnamed2657(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -6415,7 +6415,7 @@
if (buildCounterProjectsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.projects = buildUnnamed2552();
+ o.projects = buildUnnamed2657();
}
buildCounterProjectsListResponse--;
return o;
@@ -6426,71 +6426,71 @@
if (buildCounterProjectsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2552(o.projects);
+ checkUnnamed2657(o.projects);
}
buildCounterProjectsListResponse--;
}
-buildUnnamed2553() {
+buildUnnamed2658() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2553(core.List<api.Dimension> o) {
+checkUnnamed2658(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2554() {
+buildUnnamed2659() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2554(core.List<api.Dimension> o) {
+checkUnnamed2659(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2555() {
+buildUnnamed2660() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2555(core.List<api.Metric> o) {
+checkUnnamed2660(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2556() {
+buildUnnamed2661() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2556(core.List<api.Metric> o) {
+checkUnnamed2661(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2557() {
+buildUnnamed2662() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2557(core.List<api.Metric> o) {
+checkUnnamed2662(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -6501,12 +6501,12 @@
var o = new api.ReachReportCompatibleFields();
buildCounterReachReportCompatibleFields++;
if (buildCounterReachReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed2553();
- o.dimensions = buildUnnamed2554();
+ o.dimensionFilters = buildUnnamed2658();
+ o.dimensions = buildUnnamed2659();
o.kind = "foo";
- o.metrics = buildUnnamed2555();
- o.pivotedActivityMetrics = buildUnnamed2556();
- o.reachByFrequencyMetrics = buildUnnamed2557();
+ o.metrics = buildUnnamed2660();
+ o.pivotedActivityMetrics = buildUnnamed2661();
+ o.reachByFrequencyMetrics = buildUnnamed2662();
}
buildCounterReachReportCompatibleFields--;
return o;
@@ -6515,12 +6515,12 @@
checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) {
buildCounterReachReportCompatibleFields++;
if (buildCounterReachReportCompatibleFields < 3) {
- checkUnnamed2553(o.dimensionFilters);
- checkUnnamed2554(o.dimensions);
+ checkUnnamed2658(o.dimensionFilters);
+ checkUnnamed2659(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2555(o.metrics);
- checkUnnamed2556(o.pivotedActivityMetrics);
- checkUnnamed2557(o.reachByFrequencyMetrics);
+ checkUnnamed2660(o.metrics);
+ checkUnnamed2661(o.pivotedActivityMetrics);
+ checkUnnamed2662(o.reachByFrequencyMetrics);
}
buildCounterReachReportCompatibleFields--;
}
@@ -6577,14 +6577,14 @@
buildCounterRegion--;
}
-buildUnnamed2558() {
+buildUnnamed2663() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed2558(core.List<api.Region> o) {
+checkUnnamed2663(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -6596,7 +6596,7 @@
buildCounterRegionsListResponse++;
if (buildCounterRegionsListResponse < 3) {
o.kind = "foo";
- o.regions = buildUnnamed2558();
+ o.regions = buildUnnamed2663();
}
buildCounterRegionsListResponse--;
return o;
@@ -6606,7 +6606,7 @@
buildCounterRegionsListResponse++;
if (buildCounterRegionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2558(o.regions);
+ checkUnnamed2663(o.regions);
}
buildCounterRegionsListResponse--;
}
@@ -6654,27 +6654,27 @@
buildCounterRemarketingList--;
}
-buildUnnamed2559() {
+buildUnnamed2664() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2559(core.List<core.String> o) {
+checkUnnamed2664(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2560() {
+buildUnnamed2665() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2560(core.List<core.String> o) {
+checkUnnamed2665(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6687,8 +6687,8 @@
if (buildCounterRemarketingListShare < 3) {
o.kind = "foo";
o.remarketingListId = "foo";
- o.sharedAccountIds = buildUnnamed2559();
- o.sharedAdvertiserIds = buildUnnamed2560();
+ o.sharedAccountIds = buildUnnamed2664();
+ o.sharedAdvertiserIds = buildUnnamed2665();
}
buildCounterRemarketingListShare--;
return o;
@@ -6699,20 +6699,20 @@
if (buildCounterRemarketingListShare < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.remarketingListId, unittest.equals('foo'));
- checkUnnamed2559(o.sharedAccountIds);
- checkUnnamed2560(o.sharedAdvertiserIds);
+ checkUnnamed2664(o.sharedAccountIds);
+ checkUnnamed2665(o.sharedAdvertiserIds);
}
buildCounterRemarketingListShare--;
}
-buildUnnamed2561() {
+buildUnnamed2666() {
var o = new core.List<api.RemarketingList>();
o.add(buildRemarketingList());
o.add(buildRemarketingList());
return o;
}
-checkUnnamed2561(core.List<api.RemarketingList> o) {
+checkUnnamed2666(core.List<api.RemarketingList> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemarketingList(o[0]);
checkRemarketingList(o[1]);
@@ -6725,7 +6725,7 @@
if (buildCounterRemarketingListsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.remarketingLists = buildUnnamed2561();
+ o.remarketingLists = buildUnnamed2666();
}
buildCounterRemarketingListsListResponse--;
return o;
@@ -6736,45 +6736,45 @@
if (buildCounterRemarketingListsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2561(o.remarketingLists);
+ checkUnnamed2666(o.remarketingLists);
}
buildCounterRemarketingListsListResponse--;
}
-buildUnnamed2562() {
+buildUnnamed2667() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2562(core.List<api.DimensionValue> o) {
+checkUnnamed2667(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2563() {
+buildUnnamed2668() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2563(core.List<api.SortedDimension> o) {
+checkUnnamed2668(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2564() {
+buildUnnamed2669() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2564(core.List<core.String> o) {
+checkUnnamed2669(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6788,9 +6788,9 @@
o.activities = buildActivities();
o.customRichMediaEvents = buildCustomRichMediaEvents();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed2562();
- o.dimensions = buildUnnamed2563();
- o.metricNames = buildUnnamed2564();
+ o.dimensionFilters = buildUnnamed2667();
+ o.dimensions = buildUnnamed2668();
+ o.metricNames = buildUnnamed2669();
}
buildCounterReportCriteria--;
return o;
@@ -6802,60 +6802,60 @@
checkActivities(o.activities);
checkCustomRichMediaEvents(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed2562(o.dimensionFilters);
- checkUnnamed2563(o.dimensions);
- checkUnnamed2564(o.metricNames);
+ checkUnnamed2667(o.dimensionFilters);
+ checkUnnamed2668(o.dimensions);
+ checkUnnamed2669(o.metricNames);
}
buildCounterReportCriteria--;
}
-buildUnnamed2565() {
+buildUnnamed2670() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2565(core.List<api.SortedDimension> o) {
+checkUnnamed2670(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2566() {
+buildUnnamed2671() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2566(core.List<api.DimensionValue> o) {
+checkUnnamed2671(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2567() {
+buildUnnamed2672() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2567(core.List<core.String> o) {
+checkUnnamed2672(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2568() {
+buildUnnamed2673() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2568(core.List<core.String> o) {
+checkUnnamed2673(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6866,12 +6866,12 @@
var o = new api.ReportCrossDimensionReachCriteria();
buildCounterReportCrossDimensionReachCriteria++;
if (buildCounterReportCrossDimensionReachCriteria < 3) {
- o.breakdown = buildUnnamed2565();
+ o.breakdown = buildUnnamed2670();
o.dateRange = buildDateRange();
o.dimension = "foo";
- o.dimensionFilters = buildUnnamed2566();
- o.metricNames = buildUnnamed2567();
- o.overlapMetricNames = buildUnnamed2568();
+ o.dimensionFilters = buildUnnamed2671();
+ o.metricNames = buildUnnamed2672();
+ o.overlapMetricNames = buildUnnamed2673();
o.pivoted = true;
}
buildCounterReportCrossDimensionReachCriteria--;
@@ -6881,25 +6881,25 @@
checkReportCrossDimensionReachCriteria(api.ReportCrossDimensionReachCriteria o) {
buildCounterReportCrossDimensionReachCriteria++;
if (buildCounterReportCrossDimensionReachCriteria < 3) {
- checkUnnamed2565(o.breakdown);
+ checkUnnamed2670(o.breakdown);
checkDateRange(o.dateRange);
unittest.expect(o.dimension, unittest.equals('foo'));
- checkUnnamed2566(o.dimensionFilters);
- checkUnnamed2567(o.metricNames);
- checkUnnamed2568(o.overlapMetricNames);
+ checkUnnamed2671(o.dimensionFilters);
+ checkUnnamed2672(o.metricNames);
+ checkUnnamed2673(o.overlapMetricNames);
unittest.expect(o.pivoted, unittest.isTrue);
}
buildCounterReportCrossDimensionReachCriteria--;
}
-buildUnnamed2569() {
+buildUnnamed2674() {
var o = new core.List<api.Recipient>();
o.add(buildRecipient());
o.add(buildRecipient());
return o;
}
-checkUnnamed2569(core.List<api.Recipient> o) {
+checkUnnamed2674(core.List<api.Recipient> o) {
unittest.expect(o, unittest.hasLength(2));
checkRecipient(o[0]);
checkRecipient(o[1]);
@@ -6913,7 +6913,7 @@
o.emailOwner = true;
o.emailOwnerDeliveryType = "foo";
o.message = "foo";
- o.recipients = buildUnnamed2569();
+ o.recipients = buildUnnamed2674();
}
buildCounterReportDelivery--;
return o;
@@ -6925,58 +6925,58 @@
unittest.expect(o.emailOwner, unittest.isTrue);
unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo'));
unittest.expect(o.message, unittest.equals('foo'));
- checkUnnamed2569(o.recipients);
+ checkUnnamed2674(o.recipients);
}
buildCounterReportDelivery--;
}
-buildUnnamed2570() {
+buildUnnamed2675() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2570(core.List<api.DimensionValue> o) {
+checkUnnamed2675(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2571() {
+buildUnnamed2676() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2571(core.List<api.DimensionValue> o) {
+checkUnnamed2676(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2572() {
+buildUnnamed2677() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2572(core.List<api.SortedDimension> o) {
+checkUnnamed2677(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2573() {
+buildUnnamed2678() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2573(core.List<core.String> o) {
+checkUnnamed2678(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7010,12 +7010,12 @@
var o = new api.ReportFloodlightCriteria();
buildCounterReportFloodlightCriteria++;
if (buildCounterReportFloodlightCriteria < 3) {
- o.customRichMediaEvents = buildUnnamed2570();
+ o.customRichMediaEvents = buildUnnamed2675();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed2571();
- o.dimensions = buildUnnamed2572();
+ o.dimensionFilters = buildUnnamed2676();
+ o.dimensions = buildUnnamed2677();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed2573();
+ o.metricNames = buildUnnamed2678();
o.reportProperties = buildReportFloodlightCriteriaReportProperties();
}
buildCounterReportFloodlightCriteria--;
@@ -7025,90 +7025,90 @@
checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) {
buildCounterReportFloodlightCriteria++;
if (buildCounterReportFloodlightCriteria < 3) {
- checkUnnamed2570(o.customRichMediaEvents);
+ checkUnnamed2675(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed2571(o.dimensionFilters);
- checkUnnamed2572(o.dimensions);
+ checkUnnamed2676(o.dimensionFilters);
+ checkUnnamed2677(o.dimensions);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed2573(o.metricNames);
+ checkUnnamed2678(o.metricNames);
checkReportFloodlightCriteriaReportProperties(o.reportProperties);
}
buildCounterReportFloodlightCriteria--;
}
-buildUnnamed2574() {
+buildUnnamed2679() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2574(core.List<api.DimensionValue> o) {
+checkUnnamed2679(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2575() {
+buildUnnamed2680() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2575(core.List<api.SortedDimension> o) {
+checkUnnamed2680(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2576() {
+buildUnnamed2681() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2576(core.List<api.SortedDimension> o) {
+checkUnnamed2681(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2577() {
+buildUnnamed2682() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2577(core.List<api.DimensionValue> o) {
+checkUnnamed2682(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2578() {
+buildUnnamed2683() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2578(core.List<core.String> o) {
+checkUnnamed2683(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2579() {
+buildUnnamed2684() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2579(core.List<api.SortedDimension> o) {
+checkUnnamed2684(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
@@ -7154,14 +7154,14 @@
var o = new api.ReportPathToConversionCriteria();
buildCounterReportPathToConversionCriteria++;
if (buildCounterReportPathToConversionCriteria < 3) {
- o.activityFilters = buildUnnamed2574();
- o.conversionDimensions = buildUnnamed2575();
- o.customFloodlightVariables = buildUnnamed2576();
- o.customRichMediaEvents = buildUnnamed2577();
+ o.activityFilters = buildUnnamed2679();
+ o.conversionDimensions = buildUnnamed2680();
+ o.customFloodlightVariables = buildUnnamed2681();
+ o.customRichMediaEvents = buildUnnamed2682();
o.dateRange = buildDateRange();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed2578();
- o.perInteractionDimensions = buildUnnamed2579();
+ o.metricNames = buildUnnamed2683();
+ o.perInteractionDimensions = buildUnnamed2684();
o.reportProperties = buildReportPathToConversionCriteriaReportProperties();
}
buildCounterReportPathToConversionCriteria--;
@@ -7171,66 +7171,66 @@
checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) {
buildCounterReportPathToConversionCriteria++;
if (buildCounterReportPathToConversionCriteria < 3) {
- checkUnnamed2574(o.activityFilters);
- checkUnnamed2575(o.conversionDimensions);
- checkUnnamed2576(o.customFloodlightVariables);
- checkUnnamed2577(o.customRichMediaEvents);
+ checkUnnamed2679(o.activityFilters);
+ checkUnnamed2680(o.conversionDimensions);
+ checkUnnamed2681(o.customFloodlightVariables);
+ checkUnnamed2682(o.customRichMediaEvents);
checkDateRange(o.dateRange);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed2578(o.metricNames);
- checkUnnamed2579(o.perInteractionDimensions);
+ checkUnnamed2683(o.metricNames);
+ checkUnnamed2684(o.perInteractionDimensions);
checkReportPathToConversionCriteriaReportProperties(o.reportProperties);
}
buildCounterReportPathToConversionCriteria--;
}
-buildUnnamed2580() {
+buildUnnamed2685() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2580(core.List<api.DimensionValue> o) {
+checkUnnamed2685(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2581() {
+buildUnnamed2686() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2581(core.List<api.SortedDimension> o) {
+checkUnnamed2686(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2582() {
+buildUnnamed2687() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2582(core.List<core.String> o) {
+checkUnnamed2687(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2583() {
+buildUnnamed2688() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2583(core.List<core.String> o) {
+checkUnnamed2688(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7244,11 +7244,11 @@
o.activities = buildActivities();
o.customRichMediaEvents = buildCustomRichMediaEvents();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed2580();
- o.dimensions = buildUnnamed2581();
+ o.dimensionFilters = buildUnnamed2685();
+ o.dimensions = buildUnnamed2686();
o.enableAllDimensionCombinations = true;
- o.metricNames = buildUnnamed2582();
- o.reachByFrequencyMetricNames = buildUnnamed2583();
+ o.metricNames = buildUnnamed2687();
+ o.reachByFrequencyMetricNames = buildUnnamed2688();
}
buildCounterReportReachCriteria--;
return o;
@@ -7260,23 +7260,23 @@
checkActivities(o.activities);
checkCustomRichMediaEvents(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed2580(o.dimensionFilters);
- checkUnnamed2581(o.dimensions);
+ checkUnnamed2685(o.dimensionFilters);
+ checkUnnamed2686(o.dimensions);
unittest.expect(o.enableAllDimensionCombinations, unittest.isTrue);
- checkUnnamed2582(o.metricNames);
- checkUnnamed2583(o.reachByFrequencyMetricNames);
+ checkUnnamed2687(o.metricNames);
+ checkUnnamed2688(o.reachByFrequencyMetricNames);
}
buildCounterReportReachCriteria--;
}
-buildUnnamed2584() {
+buildUnnamed2689() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2584(core.List<core.String> o) {
+checkUnnamed2689(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7291,7 +7291,7 @@
o.every = 42;
o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.repeats = "foo";
- o.repeatsOnWeekDays = buildUnnamed2584();
+ o.repeatsOnWeekDays = buildUnnamed2689();
o.runsOnDayOfMonth = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
}
@@ -7306,7 +7306,7 @@
unittest.expect(o.every, unittest.equals(42));
unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.repeats, unittest.equals('foo'));
- checkUnnamed2584(o.repeatsOnWeekDays);
+ checkUnnamed2689(o.repeatsOnWeekDays);
unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo'));
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
}
@@ -7366,53 +7366,53 @@
buildCounterReport--;
}
-buildUnnamed2585() {
+buildUnnamed2690() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2585(core.List<api.Dimension> o) {
+checkUnnamed2690(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2586() {
+buildUnnamed2691() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2586(core.List<api.Dimension> o) {
+checkUnnamed2691(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2587() {
+buildUnnamed2692() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2587(core.List<api.Metric> o) {
+checkUnnamed2692(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2588() {
+buildUnnamed2693() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2588(core.List<api.Metric> o) {
+checkUnnamed2693(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -7423,11 +7423,11 @@
var o = new api.ReportCompatibleFields();
buildCounterReportCompatibleFields++;
if (buildCounterReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed2585();
- o.dimensions = buildUnnamed2586();
+ o.dimensionFilters = buildUnnamed2690();
+ o.dimensions = buildUnnamed2691();
o.kind = "foo";
- o.metrics = buildUnnamed2587();
- o.pivotedActivityMetrics = buildUnnamed2588();
+ o.metrics = buildUnnamed2692();
+ o.pivotedActivityMetrics = buildUnnamed2693();
}
buildCounterReportCompatibleFields--;
return o;
@@ -7436,23 +7436,23 @@
checkReportCompatibleFields(api.ReportCompatibleFields o) {
buildCounterReportCompatibleFields++;
if (buildCounterReportCompatibleFields < 3) {
- checkUnnamed2585(o.dimensionFilters);
- checkUnnamed2586(o.dimensions);
+ checkUnnamed2690(o.dimensionFilters);
+ checkUnnamed2691(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2587(o.metrics);
- checkUnnamed2588(o.pivotedActivityMetrics);
+ checkUnnamed2692(o.metrics);
+ checkUnnamed2693(o.pivotedActivityMetrics);
}
buildCounterReportCompatibleFields--;
}
-buildUnnamed2589() {
+buildUnnamed2694() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed2589(core.List<api.Report> o) {
+checkUnnamed2694(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -7464,7 +7464,7 @@
buildCounterReportList++;
if (buildCounterReportList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2589();
+ o.items = buildUnnamed2694();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -7476,7 +7476,7 @@
buildCounterReportList++;
if (buildCounterReportList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2589(o.items);
+ checkUnnamed2694(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -7552,14 +7552,14 @@
buildCounterRule--;
}
-buildUnnamed2590() {
+buildUnnamed2695() {
var o = new core.List<api.SiteContact>();
o.add(buildSiteContact());
o.add(buildSiteContact());
return o;
}
-checkUnnamed2590(core.List<api.SiteContact> o) {
+checkUnnamed2695(core.List<api.SiteContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkSiteContact(o[0]);
checkSiteContact(o[1]);
@@ -7579,7 +7579,7 @@
o.keyName = "foo";
o.kind = "foo";
o.name = "foo";
- o.siteContacts = buildUnnamed2590();
+ o.siteContacts = buildUnnamed2695();
o.siteSettings = buildSiteSettings();
o.subaccountId = "foo";
}
@@ -7599,7 +7599,7 @@
unittest.expect(o.keyName, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2590(o.siteContacts);
+ checkUnnamed2695(o.siteContacts);
checkSiteSettings(o.siteSettings);
unittest.expect(o.subaccountId, unittest.equals('foo'));
}
@@ -7670,14 +7670,14 @@
buildCounterSiteSettings--;
}
-buildUnnamed2591() {
+buildUnnamed2696() {
var o = new core.List<api.Site>();
o.add(buildSite());
o.add(buildSite());
return o;
}
-checkUnnamed2591(core.List<api.Site> o) {
+checkUnnamed2696(core.List<api.Site> o) {
unittest.expect(o, unittest.hasLength(2));
checkSite(o[0]);
checkSite(o[1]);
@@ -7690,7 +7690,7 @@
if (buildCounterSitesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.sites = buildUnnamed2591();
+ o.sites = buildUnnamed2696();
}
buildCounterSitesListResponse--;
return o;
@@ -7701,7 +7701,7 @@
if (buildCounterSitesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2591(o.sites);
+ checkUnnamed2696(o.sites);
}
buildCounterSitesListResponse--;
}
@@ -7733,14 +7733,14 @@
buildCounterSize--;
}
-buildUnnamed2592() {
+buildUnnamed2697() {
var o = new core.List<api.Size>();
o.add(buildSize());
o.add(buildSize());
return o;
}
-checkUnnamed2592(core.List<api.Size> o) {
+checkUnnamed2697(core.List<api.Size> o) {
unittest.expect(o, unittest.hasLength(2));
checkSize(o[0]);
checkSize(o[1]);
@@ -7752,7 +7752,7 @@
buildCounterSizesListResponse++;
if (buildCounterSizesListResponse < 3) {
o.kind = "foo";
- o.sizes = buildUnnamed2592();
+ o.sizes = buildUnnamed2697();
}
buildCounterSizesListResponse--;
return o;
@@ -7762,7 +7762,7 @@
buildCounterSizesListResponse++;
if (buildCounterSizesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2592(o.sizes);
+ checkUnnamed2697(o.sizes);
}
buildCounterSizesListResponse--;
}
@@ -7790,14 +7790,14 @@
buildCounterSortedDimension--;
}
-buildUnnamed2593() {
+buildUnnamed2698() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2593(core.List<core.String> o) {
+checkUnnamed2698(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7809,7 +7809,7 @@
buildCounterSubaccount++;
if (buildCounterSubaccount < 3) {
o.accountId = "foo";
- o.availablePermissionIds = buildUnnamed2593();
+ o.availablePermissionIds = buildUnnamed2698();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -7822,7 +7822,7 @@
buildCounterSubaccount++;
if (buildCounterSubaccount < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed2593(o.availablePermissionIds);
+ checkUnnamed2698(o.availablePermissionIds);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -7830,14 +7830,14 @@
buildCounterSubaccount--;
}
-buildUnnamed2594() {
+buildUnnamed2699() {
var o = new core.List<api.Subaccount>();
o.add(buildSubaccount());
o.add(buildSubaccount());
return o;
}
-checkUnnamed2594(core.List<api.Subaccount> o) {
+checkUnnamed2699(core.List<api.Subaccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubaccount(o[0]);
checkSubaccount(o[1]);
@@ -7850,7 +7850,7 @@
if (buildCounterSubaccountsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.subaccounts = buildUnnamed2594();
+ o.subaccounts = buildUnnamed2699();
}
buildCounterSubaccountsListResponse--;
return o;
@@ -7861,7 +7861,7 @@
if (buildCounterSubaccountsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2594(o.subaccounts);
+ checkUnnamed2699(o.subaccounts);
}
buildCounterSubaccountsListResponse--;
}
@@ -8001,14 +8001,14 @@
buildCounterTargetableRemarketingList--;
}
-buildUnnamed2595() {
+buildUnnamed2700() {
var o = new core.List<api.TargetableRemarketingList>();
o.add(buildTargetableRemarketingList());
o.add(buildTargetableRemarketingList());
return o;
}
-checkUnnamed2595(core.List<api.TargetableRemarketingList> o) {
+checkUnnamed2700(core.List<api.TargetableRemarketingList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetableRemarketingList(o[0]);
checkTargetableRemarketingList(o[1]);
@@ -8021,7 +8021,7 @@
if (buildCounterTargetableRemarketingListsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.targetableRemarketingLists = buildUnnamed2595();
+ o.targetableRemarketingLists = buildUnnamed2700();
}
buildCounterTargetableRemarketingListsListResponse--;
return o;
@@ -8032,7 +8032,7 @@
if (buildCounterTargetableRemarketingListsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2595(o.targetableRemarketingLists);
+ checkUnnamed2700(o.targetableRemarketingLists);
}
buildCounterTargetableRemarketingListsListResponse--;
}
@@ -8080,14 +8080,14 @@
buildCounterTargetingTemplate--;
}
-buildUnnamed2596() {
+buildUnnamed2701() {
var o = new core.List<api.TargetingTemplate>();
o.add(buildTargetingTemplate());
o.add(buildTargetingTemplate());
return o;
}
-checkUnnamed2596(core.List<api.TargetingTemplate> o) {
+checkUnnamed2701(core.List<api.TargetingTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingTemplate(o[0]);
checkTargetingTemplate(o[1]);
@@ -8100,7 +8100,7 @@
if (buildCounterTargetingTemplatesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.targetingTemplates = buildUnnamed2596();
+ o.targetingTemplates = buildUnnamed2701();
}
buildCounterTargetingTemplatesListResponse--;
return o;
@@ -8111,84 +8111,84 @@
if (buildCounterTargetingTemplatesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2596(o.targetingTemplates);
+ checkUnnamed2701(o.targetingTemplates);
}
buildCounterTargetingTemplatesListResponse--;
}
-buildUnnamed2597() {
+buildUnnamed2702() {
var o = new core.List<api.Browser>();
o.add(buildBrowser());
o.add(buildBrowser());
return o;
}
-checkUnnamed2597(core.List<api.Browser> o) {
+checkUnnamed2702(core.List<api.Browser> o) {
unittest.expect(o, unittest.hasLength(2));
checkBrowser(o[0]);
checkBrowser(o[1]);
}
-buildUnnamed2598() {
+buildUnnamed2703() {
var o = new core.List<api.ConnectionType>();
o.add(buildConnectionType());
o.add(buildConnectionType());
return o;
}
-checkUnnamed2598(core.List<api.ConnectionType> o) {
+checkUnnamed2703(core.List<api.ConnectionType> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnectionType(o[0]);
checkConnectionType(o[1]);
}
-buildUnnamed2599() {
+buildUnnamed2704() {
var o = new core.List<api.MobileCarrier>();
o.add(buildMobileCarrier());
o.add(buildMobileCarrier());
return o;
}
-checkUnnamed2599(core.List<api.MobileCarrier> o) {
+checkUnnamed2704(core.List<api.MobileCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileCarrier(o[0]);
checkMobileCarrier(o[1]);
}
-buildUnnamed2600() {
+buildUnnamed2705() {
var o = new core.List<api.OperatingSystemVersion>();
o.add(buildOperatingSystemVersion());
o.add(buildOperatingSystemVersion());
return o;
}
-checkUnnamed2600(core.List<api.OperatingSystemVersion> o) {
+checkUnnamed2705(core.List<api.OperatingSystemVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystemVersion(o[0]);
checkOperatingSystemVersion(o[1]);
}
-buildUnnamed2601() {
+buildUnnamed2706() {
var o = new core.List<api.OperatingSystem>();
o.add(buildOperatingSystem());
o.add(buildOperatingSystem());
return o;
}
-checkUnnamed2601(core.List<api.OperatingSystem> o) {
+checkUnnamed2706(core.List<api.OperatingSystem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystem(o[0]);
checkOperatingSystem(o[1]);
}
-buildUnnamed2602() {
+buildUnnamed2707() {
var o = new core.List<api.PlatformType>();
o.add(buildPlatformType());
o.add(buildPlatformType());
return o;
}
-checkUnnamed2602(core.List<api.PlatformType> o) {
+checkUnnamed2707(core.List<api.PlatformType> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlatformType(o[0]);
checkPlatformType(o[1]);
@@ -8199,12 +8199,12 @@
var o = new api.TechnologyTargeting();
buildCounterTechnologyTargeting++;
if (buildCounterTechnologyTargeting < 3) {
- o.browsers = buildUnnamed2597();
- o.connectionTypes = buildUnnamed2598();
- o.mobileCarriers = buildUnnamed2599();
- o.operatingSystemVersions = buildUnnamed2600();
- o.operatingSystems = buildUnnamed2601();
- o.platformTypes = buildUnnamed2602();
+ o.browsers = buildUnnamed2702();
+ o.connectionTypes = buildUnnamed2703();
+ o.mobileCarriers = buildUnnamed2704();
+ o.operatingSystemVersions = buildUnnamed2705();
+ o.operatingSystems = buildUnnamed2706();
+ o.platformTypes = buildUnnamed2707();
}
buildCounterTechnologyTargeting--;
return o;
@@ -8213,12 +8213,12 @@
checkTechnologyTargeting(api.TechnologyTargeting o) {
buildCounterTechnologyTargeting++;
if (buildCounterTechnologyTargeting < 3) {
- checkUnnamed2597(o.browsers);
- checkUnnamed2598(o.connectionTypes);
- checkUnnamed2599(o.mobileCarriers);
- checkUnnamed2600(o.operatingSystemVersions);
- checkUnnamed2601(o.operatingSystems);
- checkUnnamed2602(o.platformTypes);
+ checkUnnamed2702(o.browsers);
+ checkUnnamed2703(o.connectionTypes);
+ checkUnnamed2704(o.mobileCarriers);
+ checkUnnamed2705(o.operatingSystemVersions);
+ checkUnnamed2706(o.operatingSystems);
+ checkUnnamed2707(o.platformTypes);
}
buildCounterTechnologyTargeting--;
}
@@ -8321,14 +8321,14 @@
buildCounterUserProfile--;
}
-buildUnnamed2603() {
+buildUnnamed2708() {
var o = new core.List<api.UserProfile>();
o.add(buildUserProfile());
o.add(buildUserProfile());
return o;
}
-checkUnnamed2603(core.List<api.UserProfile> o) {
+checkUnnamed2708(core.List<api.UserProfile> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserProfile(o[0]);
checkUserProfile(o[1]);
@@ -8340,7 +8340,7 @@
buildCounterUserProfileList++;
if (buildCounterUserProfileList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2603();
+ o.items = buildUnnamed2708();
o.kind = "foo";
}
buildCounterUserProfileList--;
@@ -8351,20 +8351,20 @@
buildCounterUserProfileList++;
if (buildCounterUserProfileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2603(o.items);
+ checkUnnamed2708(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterUserProfileList--;
}
-buildUnnamed2604() {
+buildUnnamed2709() {
var o = new core.List<api.UserRolePermission>();
o.add(buildUserRolePermission());
o.add(buildUserRolePermission());
return o;
}
-checkUnnamed2604(core.List<api.UserRolePermission> o) {
+checkUnnamed2709(core.List<api.UserRolePermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermission(o[0]);
checkUserRolePermission(o[1]);
@@ -8381,7 +8381,7 @@
o.kind = "foo";
o.name = "foo";
o.parentUserRoleId = "foo";
- o.permissions = buildUnnamed2604();
+ o.permissions = buildUnnamed2709();
o.subaccountId = "foo";
}
buildCounterUserRole--;
@@ -8397,7 +8397,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentUserRoleId, unittest.equals('foo'));
- checkUnnamed2604(o.permissions);
+ checkUnnamed2709(o.permissions);
unittest.expect(o.subaccountId, unittest.equals('foo'));
}
buildCounterUserRole--;
@@ -8453,14 +8453,14 @@
buildCounterUserRolePermissionGroup--;
}
-buildUnnamed2605() {
+buildUnnamed2710() {
var o = new core.List<api.UserRolePermissionGroup>();
o.add(buildUserRolePermissionGroup());
o.add(buildUserRolePermissionGroup());
return o;
}
-checkUnnamed2605(core.List<api.UserRolePermissionGroup> o) {
+checkUnnamed2710(core.List<api.UserRolePermissionGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermissionGroup(o[0]);
checkUserRolePermissionGroup(o[1]);
@@ -8472,7 +8472,7 @@
buildCounterUserRolePermissionGroupsListResponse++;
if (buildCounterUserRolePermissionGroupsListResponse < 3) {
o.kind = "foo";
- o.userRolePermissionGroups = buildUnnamed2605();
+ o.userRolePermissionGroups = buildUnnamed2710();
}
buildCounterUserRolePermissionGroupsListResponse--;
return o;
@@ -8482,19 +8482,19 @@
buildCounterUserRolePermissionGroupsListResponse++;
if (buildCounterUserRolePermissionGroupsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2605(o.userRolePermissionGroups);
+ checkUnnamed2710(o.userRolePermissionGroups);
}
buildCounterUserRolePermissionGroupsListResponse--;
}
-buildUnnamed2606() {
+buildUnnamed2711() {
var o = new core.List<api.UserRolePermission>();
o.add(buildUserRolePermission());
o.add(buildUserRolePermission());
return o;
}
-checkUnnamed2606(core.List<api.UserRolePermission> o) {
+checkUnnamed2711(core.List<api.UserRolePermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermission(o[0]);
checkUserRolePermission(o[1]);
@@ -8506,7 +8506,7 @@
buildCounterUserRolePermissionsListResponse++;
if (buildCounterUserRolePermissionsListResponse < 3) {
o.kind = "foo";
- o.userRolePermissions = buildUnnamed2606();
+ o.userRolePermissions = buildUnnamed2711();
}
buildCounterUserRolePermissionsListResponse--;
return o;
@@ -8516,19 +8516,19 @@
buildCounterUserRolePermissionsListResponse++;
if (buildCounterUserRolePermissionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2606(o.userRolePermissions);
+ checkUnnamed2711(o.userRolePermissions);
}
buildCounterUserRolePermissionsListResponse--;
}
-buildUnnamed2607() {
+buildUnnamed2712() {
var o = new core.List<api.UserRole>();
o.add(buildUserRole());
o.add(buildUserRole());
return o;
}
-checkUnnamed2607(core.List<api.UserRole> o) {
+checkUnnamed2712(core.List<api.UserRole> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRole(o[0]);
checkUserRole(o[1]);
@@ -8541,7 +8541,7 @@
if (buildCounterUserRolesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.userRoles = buildUnnamed2607();
+ o.userRoles = buildUnnamed2712();
}
buildCounterUserRolesListResponse--;
return o;
@@ -8552,1150 +8552,1150 @@
if (buildCounterUserRolesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2607(o.userRoles);
+ checkUnnamed2712(o.userRoles);
}
buildCounterUserRolesListResponse--;
}
-buildUnnamed2608() {
+buildUnnamed2713() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2608(core.List<core.String> o) {
+checkUnnamed2713(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2609() {
+buildUnnamed2714() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2609(core.List<core.String> o) {
+checkUnnamed2714(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2610() {
+buildUnnamed2715() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2610(core.List<core.String> o) {
+checkUnnamed2715(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2611() {
+buildUnnamed2716() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2611(core.List<core.String> o) {
+checkUnnamed2716(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2612() {
+buildUnnamed2717() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2612(core.List<core.String> o) {
+checkUnnamed2717(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2613() {
+buildUnnamed2718() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2613(core.List<core.String> o) {
+checkUnnamed2718(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2614() {
+buildUnnamed2719() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2614(core.List<core.String> o) {
+checkUnnamed2719(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2615() {
+buildUnnamed2720() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2615(core.List<core.String> o) {
+checkUnnamed2720(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2616() {
+buildUnnamed2721() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2616(core.List<core.String> o) {
+checkUnnamed2721(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2617() {
+buildUnnamed2722() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2617(core.List<core.String> o) {
+checkUnnamed2722(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2618() {
+buildUnnamed2723() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2618(core.List<core.String> o) {
+checkUnnamed2723(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2619() {
+buildUnnamed2724() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2619(core.List<core.String> o) {
+checkUnnamed2724(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2620() {
+buildUnnamed2725() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2620(core.List<core.String> o) {
+checkUnnamed2725(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2621() {
+buildUnnamed2726() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2621(core.List<core.String> o) {
+checkUnnamed2726(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2622() {
+buildUnnamed2727() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2622(core.List<core.String> o) {
+checkUnnamed2727(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2623() {
+buildUnnamed2728() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2623(core.List<core.String> o) {
+checkUnnamed2728(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2624() {
+buildUnnamed2729() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2624(core.List<core.String> o) {
+checkUnnamed2729(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2625() {
+buildUnnamed2730() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2625(core.List<core.String> o) {
+checkUnnamed2730(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2626() {
+buildUnnamed2731() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2626(core.List<core.String> o) {
+checkUnnamed2731(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2627() {
+buildUnnamed2732() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2627(core.List<core.String> o) {
+checkUnnamed2732(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2628() {
+buildUnnamed2733() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2628(core.List<core.String> o) {
+checkUnnamed2733(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2629() {
+buildUnnamed2734() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2629(core.List<core.String> o) {
+checkUnnamed2734(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2630() {
+buildUnnamed2735() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2630(core.List<core.String> o) {
+checkUnnamed2735(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2631() {
+buildUnnamed2736() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2631(core.List<core.String> o) {
+checkUnnamed2736(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2632() {
+buildUnnamed2737() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2632(core.List<core.String> o) {
+checkUnnamed2737(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2633() {
+buildUnnamed2738() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2633(core.List<core.String> o) {
+checkUnnamed2738(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2634() {
+buildUnnamed2739() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2634(core.List<core.String> o) {
+checkUnnamed2739(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2635() {
+buildUnnamed2740() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2635(core.List<core.String> o) {
+checkUnnamed2740(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2636() {
+buildUnnamed2741() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2636(core.List<core.String> o) {
+checkUnnamed2741(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2637() {
+buildUnnamed2742() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2637(core.List<core.String> o) {
+checkUnnamed2742(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2638() {
+buildUnnamed2743() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2638(core.List<core.String> o) {
+checkUnnamed2743(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2639() {
+buildUnnamed2744() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2639(core.List<core.String> o) {
+checkUnnamed2744(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2640() {
+buildUnnamed2745() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2640(core.List<core.String> o) {
+checkUnnamed2745(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2641() {
+buildUnnamed2746() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2641(core.List<core.String> o) {
+checkUnnamed2746(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2642() {
+buildUnnamed2747() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2642(core.List<core.String> o) {
+checkUnnamed2747(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2643() {
+buildUnnamed2748() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2643(core.List<core.String> o) {
+checkUnnamed2748(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2644() {
+buildUnnamed2749() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2644(core.List<core.String> o) {
+checkUnnamed2749(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2645() {
+buildUnnamed2750() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2645(core.List<core.String> o) {
+checkUnnamed2750(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2646() {
+buildUnnamed2751() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2646(core.List<core.String> o) {
+checkUnnamed2751(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2647() {
+buildUnnamed2752() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2647(core.List<core.String> o) {
+checkUnnamed2752(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2648() {
+buildUnnamed2753() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2648(core.List<core.String> o) {
+checkUnnamed2753(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2649() {
+buildUnnamed2754() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2649(core.List<core.String> o) {
+checkUnnamed2754(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2650() {
+buildUnnamed2755() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2650(core.List<core.String> o) {
+checkUnnamed2755(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2651() {
+buildUnnamed2756() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2651(core.List<core.String> o) {
+checkUnnamed2756(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2652() {
+buildUnnamed2757() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2652(core.List<core.String> o) {
+checkUnnamed2757(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2653() {
+buildUnnamed2758() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2653(core.List<core.String> o) {
+checkUnnamed2758(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2654() {
+buildUnnamed2759() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2654(core.List<core.String> o) {
+checkUnnamed2759(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2655() {
+buildUnnamed2760() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2655(core.List<core.String> o) {
+checkUnnamed2760(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2656() {
+buildUnnamed2761() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2656(core.List<core.String> o) {
+checkUnnamed2761(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2657() {
+buildUnnamed2762() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2657(core.List<core.String> o) {
+checkUnnamed2762(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2658() {
+buildUnnamed2763() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2658(core.List<core.String> o) {
+checkUnnamed2763(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2659() {
+buildUnnamed2764() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2659(core.List<core.String> o) {
+checkUnnamed2764(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2660() {
+buildUnnamed2765() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2660(core.List<core.String> o) {
+checkUnnamed2765(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2661() {
+buildUnnamed2766() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2661(core.List<core.String> o) {
+checkUnnamed2766(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2662() {
+buildUnnamed2767() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2662(core.List<core.String> o) {
+checkUnnamed2767(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2663() {
+buildUnnamed2768() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2663(core.List<core.String> o) {
+checkUnnamed2768(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2664() {
+buildUnnamed2769() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2664(core.List<core.String> o) {
+checkUnnamed2769(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2665() {
+buildUnnamed2770() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2665(core.List<core.String> o) {
+checkUnnamed2770(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2666() {
+buildUnnamed2771() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2666(core.List<core.String> o) {
+checkUnnamed2771(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2667() {
+buildUnnamed2772() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2667(core.List<core.String> o) {
+checkUnnamed2772(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2668() {
+buildUnnamed2773() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2668(core.List<core.String> o) {
+checkUnnamed2773(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2669() {
+buildUnnamed2774() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2669(core.List<core.String> o) {
+checkUnnamed2774(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2670() {
+buildUnnamed2775() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2670(core.List<core.String> o) {
+checkUnnamed2775(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2671() {
+buildUnnamed2776() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2671(core.List<core.String> o) {
+checkUnnamed2776(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2672() {
+buildUnnamed2777() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2672(core.List<core.String> o) {
+checkUnnamed2777(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2673() {
+buildUnnamed2778() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2673(core.List<core.String> o) {
+checkUnnamed2778(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2674() {
+buildUnnamed2779() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2674(core.List<core.String> o) {
+checkUnnamed2779(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2675() {
+buildUnnamed2780() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2675(core.List<core.String> o) {
+checkUnnamed2780(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2676() {
+buildUnnamed2781() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2676(core.List<core.String> o) {
+checkUnnamed2781(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2677() {
+buildUnnamed2782() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2677(core.List<core.String> o) {
+checkUnnamed2782(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2678() {
+buildUnnamed2783() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2678(core.List<core.String> o) {
+checkUnnamed2783(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2679() {
+buildUnnamed2784() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2679(core.List<core.String> o) {
+checkUnnamed2784(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2680() {
+buildUnnamed2785() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2680(core.List<core.String> o) {
+checkUnnamed2785(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2681() {
+buildUnnamed2786() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2681(core.List<core.String> o) {
+checkUnnamed2786(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2682() {
+buildUnnamed2787() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2682(core.List<core.String> o) {
+checkUnnamed2787(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2683() {
+buildUnnamed2788() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2683(core.List<core.String> o) {
+checkUnnamed2788(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2684() {
+buildUnnamed2789() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2684(core.List<core.String> o) {
+checkUnnamed2789(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2685() {
+buildUnnamed2790() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2685(core.List<core.String> o) {
+checkUnnamed2790(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2686() {
+buildUnnamed2791() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2686(core.List<core.String> o) {
+checkUnnamed2791(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2687() {
+buildUnnamed2792() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2687(core.List<core.String> o) {
+checkUnnamed2792(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2688() {
+buildUnnamed2793() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2688(core.List<core.String> o) {
+checkUnnamed2793(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2689() {
+buildUnnamed2794() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2689(core.List<core.String> o) {
+checkUnnamed2794(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2690() {
+buildUnnamed2795() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2690(core.List<core.String> o) {
+checkUnnamed2795(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2691() {
+buildUnnamed2796() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2691(core.List<core.String> o) {
+checkUnnamed2796(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2692() {
+buildUnnamed2797() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2692(core.List<core.String> o) {
+checkUnnamed2797(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2693() {
+buildUnnamed2798() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2693(core.List<core.String> o) {
+checkUnnamed2798(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2694() {
+buildUnnamed2799() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2694(core.List<core.String> o) {
+checkUnnamed2799(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2695() {
+buildUnnamed2800() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2695(core.List<core.String> o) {
+checkUnnamed2800(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -11994,7 +11994,7 @@
api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).accountUserProfiles;
var arg_profileId = "foo";
var arg_active = true;
- var arg_ids = buildUnnamed2608();
+ var arg_ids = buildUnnamed2713();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -12242,7 +12242,7 @@
api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts;
var arg_profileId = "foo";
var arg_active = true;
- var arg_ids = buildUnnamed2609();
+ var arg_ids = buildUnnamed2714();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -12545,27 +12545,27 @@
var arg_active = true;
var arg_advertiserId = "foo";
var arg_archived = true;
- var arg_audienceSegmentIds = buildUnnamed2610();
- var arg_campaignIds = buildUnnamed2611();
+ var arg_audienceSegmentIds = buildUnnamed2715();
+ var arg_campaignIds = buildUnnamed2716();
var arg_compatibility = "foo";
- var arg_creativeIds = buildUnnamed2612();
- var arg_creativeOptimizationConfigurationIds = buildUnnamed2613();
+ var arg_creativeIds = buildUnnamed2717();
+ var arg_creativeOptimizationConfigurationIds = buildUnnamed2718();
var arg_creativeType = "foo";
var arg_dynamicClickTracker = true;
- var arg_ids = buildUnnamed2614();
- var arg_landingPageIds = buildUnnamed2615();
+ var arg_ids = buildUnnamed2719();
+ var arg_landingPageIds = buildUnnamed2720();
var arg_maxResults = 42;
var arg_overriddenEventTagId = "foo";
var arg_pageToken = "foo";
- var arg_placementIds = buildUnnamed2616();
- var arg_remarketingListIds = buildUnnamed2617();
+ var arg_placementIds = buildUnnamed2721();
+ var arg_remarketingListIds = buildUnnamed2722();
var arg_searchString = "foo";
- var arg_sizeIds = buildUnnamed2618();
+ var arg_sizeIds = buildUnnamed2723();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_sslCompliant = true;
var arg_sslRequired = true;
- var arg_type = buildUnnamed2619();
+ var arg_type = buildUnnamed2724();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -12932,7 +12932,7 @@
var mock = new HttpServerMock();
api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advertiserGroups;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2620();
+ var arg_ids = buildUnnamed2725();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -13231,9 +13231,9 @@
var mock = new HttpServerMock();
api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers;
var arg_profileId = "foo";
- var arg_advertiserGroupIds = buildUnnamed2621();
- var arg_floodlightConfigurationIds = buildUnnamed2622();
- var arg_ids = buildUnnamed2623();
+ var arg_advertiserGroupIds = buildUnnamed2726();
+ var arg_floodlightConfigurationIds = buildUnnamed2727();
+ var arg_ids = buildUnnamed2728();
var arg_includeAdvertisersWithoutGroupsOnly = true;
var arg_maxResults = 42;
var arg_onlyParent = true;
@@ -13739,12 +13739,12 @@
var mock = new HttpServerMock();
api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns;
var arg_profileId = "foo";
- var arg_advertiserGroupIds = buildUnnamed2624();
- var arg_advertiserIds = buildUnnamed2625();
+ var arg_advertiserGroupIds = buildUnnamed2729();
+ var arg_advertiserIds = buildUnnamed2730();
var arg_archived = true;
var arg_atLeastOneOptimizationActivity = true;
- var arg_excludedIds = buildUnnamed2626();
- var arg_ids = buildUnnamed2627();
+ var arg_excludedIds = buildUnnamed2731();
+ var arg_ids = buildUnnamed2732();
var arg_maxResults = 42;
var arg_overriddenEventTagId = "foo";
var arg_pageToken = "foo";
@@ -13996,15 +13996,15 @@
api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs;
var arg_profileId = "foo";
var arg_action = "foo";
- var arg_ids = buildUnnamed2628();
+ var arg_ids = buildUnnamed2733();
var arg_maxChangeTime = "foo";
var arg_maxResults = 42;
var arg_minChangeTime = "foo";
- var arg_objectIds = buildUnnamed2629();
+ var arg_objectIds = buildUnnamed2734();
var arg_objectType = "foo";
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_userProfileIds = buildUnnamed2630();
+ var arg_userProfileIds = buildUnnamed2735();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -14072,10 +14072,10 @@
var mock = new HttpServerMock();
api.CitiesResourceApi res = new api.DfareportingApi(mock).cities;
var arg_profileId = "foo";
- var arg_countryDartIds = buildUnnamed2631();
- var arg_dartIds = buildUnnamed2632();
+ var arg_countryDartIds = buildUnnamed2736();
+ var arg_dartIds = buildUnnamed2737();
var arg_namePrefix = "foo";
- var arg_regionDartIds = buildUnnamed2633();
+ var arg_regionDartIds = buildUnnamed2738();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -14420,7 +14420,7 @@
var mock = new HttpServerMock();
api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).contentCategories;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2634();
+ var arg_ids = buildUnnamed2739();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -15045,7 +15045,7 @@
api.CreativeFieldValuesResourceApi res = new api.DfareportingApi(mock).creativeFieldValues;
var arg_profileId = "foo";
var arg_creativeFieldId = "foo";
- var arg_ids = buildUnnamed2635();
+ var arg_ids = buildUnnamed2740();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -15422,8 +15422,8 @@
var mock = new HttpServerMock();
api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creativeFields;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2636();
- var arg_ids = buildUnnamed2637();
+ var arg_advertiserIds = buildUnnamed2741();
+ var arg_ids = buildUnnamed2742();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -15723,9 +15723,9 @@
var mock = new HttpServerMock();
api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creativeGroups;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2638();
+ var arg_advertiserIds = buildUnnamed2743();
var arg_groupNumber = 42;
- var arg_ids = buildUnnamed2639();
+ var arg_ids = buildUnnamed2744();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -16030,18 +16030,18 @@
var arg_advertiserId = "foo";
var arg_archived = true;
var arg_campaignId = "foo";
- var arg_companionCreativeIds = buildUnnamed2640();
- var arg_creativeFieldIds = buildUnnamed2641();
- var arg_ids = buildUnnamed2642();
+ var arg_companionCreativeIds = buildUnnamed2745();
+ var arg_creativeFieldIds = buildUnnamed2746();
+ var arg_ids = buildUnnamed2747();
var arg_maxResults = 42;
var arg_pageToken = "foo";
- var arg_renderingIds = buildUnnamed2643();
+ var arg_renderingIds = buildUnnamed2748();
var arg_searchString = "foo";
- var arg_sizeIds = buildUnnamed2644();
+ var arg_sizeIds = buildUnnamed2749();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_studioCreativeId = "foo";
- var arg_types = buildUnnamed2645();
+ var arg_types = buildUnnamed2750();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -16353,8 +16353,8 @@
var mock = new HttpServerMock();
api.DirectorySiteContactsResourceApi res = new api.DfareportingApi(mock).directorySiteContacts;
var arg_profileId = "foo";
- var arg_directorySiteIds = buildUnnamed2646();
- var arg_ids = buildUnnamed2647();
+ var arg_directorySiteIds = buildUnnamed2751();
+ var arg_ids = buildUnnamed2752();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -16544,7 +16544,7 @@
var arg_active = true;
var arg_countryId = "foo";
var arg_dfpNetworkCode = "foo";
- var arg_ids = buildUnnamed2648();
+ var arg_ids = buildUnnamed2753();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_parentId = "foo";
@@ -16738,7 +16738,7 @@
api.DynamicTargetingKeysResourceApi res = new api.DfareportingApi(mock).dynamicTargetingKeys;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_names = buildUnnamed2649();
+ var arg_names = buildUnnamed2754();
var arg_objectId = "foo";
var arg_objectType = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -16976,8 +16976,8 @@
var arg_campaignId = "foo";
var arg_definitionsOnly = true;
var arg_enabled = true;
- var arg_eventTagTypes = buildUnnamed2650();
- var arg_ids = buildUnnamed2651();
+ var arg_eventTagTypes = buildUnnamed2755();
+ var arg_ids = buildUnnamed2756();
var arg_searchString = "foo";
var arg_sortField = "foo";
var arg_sortOrder = "foo";
@@ -17515,12 +17515,12 @@
api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).floodlightActivities;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_floodlightActivityGroupIds = buildUnnamed2652();
+ var arg_floodlightActivityGroupIds = buildUnnamed2757();
var arg_floodlightActivityGroupName = "foo";
var arg_floodlightActivityGroupTagString = "foo";
var arg_floodlightActivityGroupType = "foo";
var arg_floodlightConfigurationId = "foo";
- var arg_ids = buildUnnamed2653();
+ var arg_ids = buildUnnamed2758();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -17829,7 +17829,7 @@
var arg_profileId = "foo";
var arg_advertiserId = "foo";
var arg_floodlightConfigurationId = "foo";
- var arg_ids = buildUnnamed2654();
+ var arg_ids = buildUnnamed2759();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -18075,7 +18075,7 @@
var mock = new HttpServerMock();
api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock).floodlightConfigurations;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2655();
+ var arg_ids = buildUnnamed2760();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -18316,12 +18316,12 @@
api.InventoryItemsResourceApi res = new api.DfareportingApi(mock).inventoryItems;
var arg_profileId = "foo";
var arg_projectId = "foo";
- var arg_ids = buildUnnamed2656();
+ var arg_ids = buildUnnamed2761();
var arg_inPlan = true;
var arg_maxResults = 42;
- var arg_orderId = buildUnnamed2657();
+ var arg_orderId = buildUnnamed2762();
var arg_pageToken = "foo";
- var arg_siteId = buildUnnamed2658();
+ var arg_siteId = buildUnnamed2763();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_type = "foo";
@@ -19311,12 +19311,12 @@
var arg_profileId = "foo";
var arg_projectId = "foo";
var arg_approved = true;
- var arg_ids = buildUnnamed2659();
+ var arg_ids = buildUnnamed2764();
var arg_maxResults = 42;
- var arg_orderId = buildUnnamed2660();
+ var arg_orderId = buildUnnamed2765();
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_siteId = buildUnnamed2661();
+ var arg_siteId = buildUnnamed2766();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -19458,11 +19458,11 @@
api.OrdersResourceApi res = new api.DfareportingApi(mock).orders;
var arg_profileId = "foo";
var arg_projectId = "foo";
- var arg_ids = buildUnnamed2662();
+ var arg_ids = buildUnnamed2767();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_siteId = buildUnnamed2663();
+ var arg_siteId = buildUnnamed2768();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -19650,12 +19650,12 @@
var mock = new HttpServerMock();
api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placementGroups;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2664();
+ var arg_advertiserIds = buildUnnamed2769();
var arg_archived = true;
- var arg_campaignIds = buildUnnamed2665();
- var arg_contentCategoryIds = buildUnnamed2666();
- var arg_directorySiteIds = buildUnnamed2667();
- var arg_ids = buildUnnamed2668();
+ var arg_campaignIds = buildUnnamed2770();
+ var arg_contentCategoryIds = buildUnnamed2771();
+ var arg_directorySiteIds = buildUnnamed2772();
+ var arg_ids = buildUnnamed2773();
var arg_maxEndDate = "foo";
var arg_maxResults = 42;
var arg_maxStartDate = "foo";
@@ -19663,10 +19663,10 @@
var arg_minStartDate = "foo";
var arg_pageToken = "foo";
var arg_placementGroupType = "foo";
- var arg_placementStrategyIds = buildUnnamed2669();
- var arg_pricingTypes = buildUnnamed2670();
+ var arg_placementStrategyIds = buildUnnamed2774();
+ var arg_pricingTypes = buildUnnamed2775();
var arg_searchString = "foo";
- var arg_siteIds = buildUnnamed2671();
+ var arg_siteIds = buildUnnamed2776();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -20030,7 +20030,7 @@
var mock = new HttpServerMock();
api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2672();
+ var arg_ids = buildUnnamed2777();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -20216,8 +20216,8 @@
api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
var arg_profileId = "foo";
var arg_campaignId = "foo";
- var arg_placementIds = buildUnnamed2673();
- var arg_tagFormats = buildUnnamed2674();
+ var arg_placementIds = buildUnnamed2778();
+ var arg_tagFormats = buildUnnamed2779();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -20388,14 +20388,14 @@
var mock = new HttpServerMock();
api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2675();
+ var arg_advertiserIds = buildUnnamed2780();
var arg_archived = true;
- var arg_campaignIds = buildUnnamed2676();
- var arg_compatibilities = buildUnnamed2677();
- var arg_contentCategoryIds = buildUnnamed2678();
- var arg_directorySiteIds = buildUnnamed2679();
- var arg_groupIds = buildUnnamed2680();
- var arg_ids = buildUnnamed2681();
+ var arg_campaignIds = buildUnnamed2781();
+ var arg_compatibilities = buildUnnamed2782();
+ var arg_contentCategoryIds = buildUnnamed2783();
+ var arg_directorySiteIds = buildUnnamed2784();
+ var arg_groupIds = buildUnnamed2785();
+ var arg_ids = buildUnnamed2786();
var arg_maxEndDate = "foo";
var arg_maxResults = 42;
var arg_maxStartDate = "foo";
@@ -20403,11 +20403,11 @@
var arg_minStartDate = "foo";
var arg_pageToken = "foo";
var arg_paymentSource = "foo";
- var arg_placementStrategyIds = buildUnnamed2682();
- var arg_pricingTypes = buildUnnamed2683();
+ var arg_placementStrategyIds = buildUnnamed2787();
+ var arg_pricingTypes = buildUnnamed2788();
var arg_searchString = "foo";
- var arg_siteIds = buildUnnamed2684();
- var arg_sizeIds = buildUnnamed2685();
+ var arg_siteIds = buildUnnamed2789();
+ var arg_sizeIds = buildUnnamed2790();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -20890,8 +20890,8 @@
var mock = new HttpServerMock();
api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2686();
- var arg_ids = buildUnnamed2687();
+ var arg_advertiserIds = buildUnnamed2791();
+ var arg_ids = buildUnnamed2792();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -22239,9 +22239,9 @@
var arg_acceptsPublisherPaidPlacements = true;
var arg_adWordsSite = true;
var arg_approved = true;
- var arg_campaignIds = buildUnnamed2688();
- var arg_directorySiteIds = buildUnnamed2689();
- var arg_ids = buildUnnamed2690();
+ var arg_campaignIds = buildUnnamed2793();
+ var arg_directorySiteIds = buildUnnamed2794();
+ var arg_ids = buildUnnamed2795();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -22553,7 +22553,7 @@
var arg_profileId = "foo";
var arg_height = 42;
var arg_iabStandard = true;
- var arg_ids = buildUnnamed2691();
+ var arg_ids = buildUnnamed2796();
var arg_width = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -22730,7 +22730,7 @@
var mock = new HttpServerMock();
api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2692();
+ var arg_ids = buildUnnamed2797();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -23158,7 +23158,7 @@
api.TargetingTemplatesResourceApi res = new api.DfareportingApi(mock).targetingTemplates;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_ids = buildUnnamed2693();
+ var arg_ids = buildUnnamed2798();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -23613,7 +23613,7 @@
var mock = new HttpServerMock();
api.UserRolePermissionsResourceApi res = new api.DfareportingApi(mock).userRolePermissions;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2694();
+ var arg_ids = buildUnnamed2799();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -23842,7 +23842,7 @@
api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
var arg_profileId = "foo";
var arg_accountUserRoleOnly = true;
- var arg_ids = buildUnnamed2695();
+ var arg_ids = buildUnnamed2800();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
diff --git a/generated/googleapis/test/dfareporting/v2_7_test.dart b/generated/googleapis/test/dfareporting/v2_7_test.dart
index d803e5d..0a123f3 100644
--- a/generated/googleapis/test/dfareporting/v2_7_test.dart
+++ b/generated/googleapis/test/dfareporting/v2_7_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2101() {
+buildUnnamed2206() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2101(core.List<core.String> o) {
+checkUnnamed2206(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2102() {
+buildUnnamed2207() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2102(core.List<core.String> o) {
+checkUnnamed2207(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,12 +82,12 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.accountPermissionIds = buildUnnamed2101();
+ o.accountPermissionIds = buildUnnamed2206();
o.accountProfile = "foo";
o.active = true;
o.activeAdsLimitTier = "foo";
o.activeViewOptOut = true;
- o.availablePermissionIds = buildUnnamed2102();
+ o.availablePermissionIds = buildUnnamed2207();
o.countryId = "foo";
o.currencyId = "foo";
o.defaultCreativeSizeId = "foo";
@@ -109,12 +109,12 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed2101(o.accountPermissionIds);
+ checkUnnamed2206(o.accountPermissionIds);
unittest.expect(o.accountProfile, unittest.equals('foo'));
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.activeAdsLimitTier, unittest.equals('foo'));
unittest.expect(o.activeViewOptOut, unittest.isTrue);
- checkUnnamed2102(o.availablePermissionIds);
+ checkUnnamed2207(o.availablePermissionIds);
unittest.expect(o.countryId, unittest.equals('foo'));
unittest.expect(o.currencyId, unittest.equals('foo'));
unittest.expect(o.defaultCreativeSizeId, unittest.equals('foo'));
@@ -159,14 +159,14 @@
buildCounterAccountActiveAdSummary--;
}
-buildUnnamed2103() {
+buildUnnamed2208() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2103(core.List<core.String> o) {
+checkUnnamed2208(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -177,7 +177,7 @@
var o = new api.AccountPermission();
buildCounterAccountPermission++;
if (buildCounterAccountPermission < 3) {
- o.accountProfiles = buildUnnamed2103();
+ o.accountProfiles = buildUnnamed2208();
o.id = "foo";
o.kind = "foo";
o.level = "foo";
@@ -191,7 +191,7 @@
checkAccountPermission(api.AccountPermission o) {
buildCounterAccountPermission++;
if (buildCounterAccountPermission < 3) {
- checkUnnamed2103(o.accountProfiles);
+ checkUnnamed2208(o.accountProfiles);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
@@ -224,14 +224,14 @@
buildCounterAccountPermissionGroup--;
}
-buildUnnamed2104() {
+buildUnnamed2209() {
var o = new core.List<api.AccountPermissionGroup>();
o.add(buildAccountPermissionGroup());
o.add(buildAccountPermissionGroup());
return o;
}
-checkUnnamed2104(core.List<api.AccountPermissionGroup> o) {
+checkUnnamed2209(core.List<api.AccountPermissionGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountPermissionGroup(o[0]);
checkAccountPermissionGroup(o[1]);
@@ -242,7 +242,7 @@
var o = new api.AccountPermissionGroupsListResponse();
buildCounterAccountPermissionGroupsListResponse++;
if (buildCounterAccountPermissionGroupsListResponse < 3) {
- o.accountPermissionGroups = buildUnnamed2104();
+ o.accountPermissionGroups = buildUnnamed2209();
o.kind = "foo";
}
buildCounterAccountPermissionGroupsListResponse--;
@@ -252,20 +252,20 @@
checkAccountPermissionGroupsListResponse(api.AccountPermissionGroupsListResponse o) {
buildCounterAccountPermissionGroupsListResponse++;
if (buildCounterAccountPermissionGroupsListResponse < 3) {
- checkUnnamed2104(o.accountPermissionGroups);
+ checkUnnamed2209(o.accountPermissionGroups);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountPermissionGroupsListResponse--;
}
-buildUnnamed2105() {
+buildUnnamed2210() {
var o = new core.List<api.AccountPermission>();
o.add(buildAccountPermission());
o.add(buildAccountPermission());
return o;
}
-checkUnnamed2105(core.List<api.AccountPermission> o) {
+checkUnnamed2210(core.List<api.AccountPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountPermission(o[0]);
checkAccountPermission(o[1]);
@@ -276,7 +276,7 @@
var o = new api.AccountPermissionsListResponse();
buildCounterAccountPermissionsListResponse++;
if (buildCounterAccountPermissionsListResponse < 3) {
- o.accountPermissions = buildUnnamed2105();
+ o.accountPermissions = buildUnnamed2210();
o.kind = "foo";
}
buildCounterAccountPermissionsListResponse--;
@@ -286,7 +286,7 @@
checkAccountPermissionsListResponse(api.AccountPermissionsListResponse o) {
buildCounterAccountPermissionsListResponse++;
if (buildCounterAccountPermissionsListResponse < 3) {
- checkUnnamed2105(o.accountPermissions);
+ checkUnnamed2210(o.accountPermissions);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountPermissionsListResponse--;
@@ -341,14 +341,14 @@
buildCounterAccountUserProfile--;
}
-buildUnnamed2106() {
+buildUnnamed2211() {
var o = new core.List<api.AccountUserProfile>();
o.add(buildAccountUserProfile());
o.add(buildAccountUserProfile());
return o;
}
-checkUnnamed2106(core.List<api.AccountUserProfile> o) {
+checkUnnamed2211(core.List<api.AccountUserProfile> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountUserProfile(o[0]);
checkAccountUserProfile(o[1]);
@@ -359,7 +359,7 @@
var o = new api.AccountUserProfilesListResponse();
buildCounterAccountUserProfilesListResponse++;
if (buildCounterAccountUserProfilesListResponse < 3) {
- o.accountUserProfiles = buildUnnamed2106();
+ o.accountUserProfiles = buildUnnamed2211();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -370,21 +370,21 @@
checkAccountUserProfilesListResponse(api.AccountUserProfilesListResponse o) {
buildCounterAccountUserProfilesListResponse++;
if (buildCounterAccountUserProfilesListResponse < 3) {
- checkUnnamed2106(o.accountUserProfiles);
+ checkUnnamed2211(o.accountUserProfiles);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAccountUserProfilesListResponse--;
}
-buildUnnamed2107() {
+buildUnnamed2212() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed2107(core.List<api.Account> o) {
+checkUnnamed2212(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -395,7 +395,7 @@
var o = new api.AccountsListResponse();
buildCounterAccountsListResponse++;
if (buildCounterAccountsListResponse < 3) {
- o.accounts = buildUnnamed2107();
+ o.accounts = buildUnnamed2212();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -406,34 +406,34 @@
checkAccountsListResponse(api.AccountsListResponse o) {
buildCounterAccountsListResponse++;
if (buildCounterAccountsListResponse < 3) {
- checkUnnamed2107(o.accounts);
+ checkUnnamed2212(o.accounts);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAccountsListResponse--;
}
-buildUnnamed2108() {
+buildUnnamed2213() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2108(core.List<api.DimensionValue> o) {
+checkUnnamed2213(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2109() {
+buildUnnamed2214() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2109(core.List<core.String> o) {
+checkUnnamed2214(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -444,9 +444,9 @@
var o = new api.Activities();
buildCounterActivities++;
if (buildCounterActivities < 3) {
- o.filters = buildUnnamed2108();
+ o.filters = buildUnnamed2213();
o.kind = "foo";
- o.metricNames = buildUnnamed2109();
+ o.metricNames = buildUnnamed2214();
}
buildCounterActivities--;
return o;
@@ -455,47 +455,47 @@
checkActivities(api.Activities o) {
buildCounterActivities++;
if (buildCounterActivities < 3) {
- checkUnnamed2108(o.filters);
+ checkUnnamed2213(o.filters);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2109(o.metricNames);
+ checkUnnamed2214(o.metricNames);
}
buildCounterActivities--;
}
-buildUnnamed2110() {
+buildUnnamed2215() {
var o = new core.List<api.CreativeGroupAssignment>();
o.add(buildCreativeGroupAssignment());
o.add(buildCreativeGroupAssignment());
return o;
}
-checkUnnamed2110(core.List<api.CreativeGroupAssignment> o) {
+checkUnnamed2215(core.List<api.CreativeGroupAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroupAssignment(o[0]);
checkCreativeGroupAssignment(o[1]);
}
-buildUnnamed2111() {
+buildUnnamed2216() {
var o = new core.List<api.EventTagOverride>();
o.add(buildEventTagOverride());
o.add(buildEventTagOverride());
return o;
}
-checkUnnamed2111(core.List<api.EventTagOverride> o) {
+checkUnnamed2216(core.List<api.EventTagOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTagOverride(o[0]);
checkEventTagOverride(o[1]);
}
-buildUnnamed2112() {
+buildUnnamed2217() {
var o = new core.List<api.PlacementAssignment>();
o.add(buildPlacementAssignment());
o.add(buildPlacementAssignment());
return o;
}
-checkUnnamed2112(core.List<api.PlacementAssignment> o) {
+checkUnnamed2217(core.List<api.PlacementAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementAssignment(o[0]);
checkPlacementAssignment(o[1]);
@@ -519,14 +519,14 @@
o.comments = "foo";
o.compatibility = "foo";
o.createInfo = buildLastModifiedInfo();
- o.creativeGroupAssignments = buildUnnamed2110();
+ o.creativeGroupAssignments = buildUnnamed2215();
o.creativeRotation = buildCreativeRotation();
o.dayPartTargeting = buildDayPartTargeting();
o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagProperties();
o.deliverySchedule = buildDeliverySchedule();
o.dynamicClickTracker = true;
o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.eventTagOverrides = buildUnnamed2111();
+ o.eventTagOverrides = buildUnnamed2216();
o.geoTargeting = buildGeoTargeting();
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
@@ -535,7 +535,7 @@
o.languageTargeting = buildLanguageTargeting();
o.lastModifiedInfo = buildLastModifiedInfo();
o.name = "foo";
- o.placementAssignments = buildUnnamed2112();
+ o.placementAssignments = buildUnnamed2217();
o.remarketingListExpression = buildListTargetingExpression();
o.size = buildSize();
o.sslCompliant = true;
@@ -566,14 +566,14 @@
unittest.expect(o.comments, unittest.equals('foo'));
unittest.expect(o.compatibility, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
- checkUnnamed2110(o.creativeGroupAssignments);
+ checkUnnamed2215(o.creativeGroupAssignments);
checkCreativeRotation(o.creativeRotation);
checkDayPartTargeting(o.dayPartTargeting);
checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProperties);
checkDeliverySchedule(o.deliverySchedule);
unittest.expect(o.dynamicClickTracker, unittest.isTrue);
unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed2111(o.eventTagOverrides);
+ checkUnnamed2216(o.eventTagOverrides);
checkGeoTargeting(o.geoTargeting);
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
@@ -582,7 +582,7 @@
checkLanguageTargeting(o.languageTargeting);
checkLastModifiedInfo(o.lastModifiedInfo);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2112(o.placementAssignments);
+ checkUnnamed2217(o.placementAssignments);
checkListTargetingExpression(o.remarketingListExpression);
checkSize(o.size);
unittest.expect(o.sslCompliant, unittest.isTrue);
@@ -629,14 +629,14 @@
buildCounterAdSlot--;
}
-buildUnnamed2113() {
+buildUnnamed2218() {
var o = new core.List<api.Ad>();
o.add(buildAd());
o.add(buildAd());
return o;
}
-checkUnnamed2113(core.List<api.Ad> o) {
+checkUnnamed2218(core.List<api.Ad> o) {
unittest.expect(o, unittest.hasLength(2));
checkAd(o[0]);
checkAd(o[1]);
@@ -647,7 +647,7 @@
var o = new api.AdsListResponse();
buildCounterAdsListResponse++;
if (buildCounterAdsListResponse < 3) {
- o.ads = buildUnnamed2113();
+ o.ads = buildUnnamed2218();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -658,7 +658,7 @@
checkAdsListResponse(api.AdsListResponse o) {
buildCounterAdsListResponse++;
if (buildCounterAdsListResponse < 3) {
- checkUnnamed2113(o.ads);
+ checkUnnamed2218(o.ads);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -737,14 +737,14 @@
buildCounterAdvertiserGroup--;
}
-buildUnnamed2114() {
+buildUnnamed2219() {
var o = new core.List<api.AdvertiserGroup>();
o.add(buildAdvertiserGroup());
o.add(buildAdvertiserGroup());
return o;
}
-checkUnnamed2114(core.List<api.AdvertiserGroup> o) {
+checkUnnamed2219(core.List<api.AdvertiserGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvertiserGroup(o[0]);
checkAdvertiserGroup(o[1]);
@@ -755,7 +755,7 @@
var o = new api.AdvertiserGroupsListResponse();
buildCounterAdvertiserGroupsListResponse++;
if (buildCounterAdvertiserGroupsListResponse < 3) {
- o.advertiserGroups = buildUnnamed2114();
+ o.advertiserGroups = buildUnnamed2219();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -766,21 +766,21 @@
checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) {
buildCounterAdvertiserGroupsListResponse++;
if (buildCounterAdvertiserGroupsListResponse < 3) {
- checkUnnamed2114(o.advertiserGroups);
+ checkUnnamed2219(o.advertiserGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdvertiserGroupsListResponse--;
}
-buildUnnamed2115() {
+buildUnnamed2220() {
var o = new core.List<api.Advertiser>();
o.add(buildAdvertiser());
o.add(buildAdvertiser());
return o;
}
-checkUnnamed2115(core.List<api.Advertiser> o) {
+checkUnnamed2220(core.List<api.Advertiser> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvertiser(o[0]);
checkAdvertiser(o[1]);
@@ -791,7 +791,7 @@
var o = new api.AdvertisersListResponse();
buildCounterAdvertisersListResponse++;
if (buildCounterAdvertisersListResponse < 3) {
- o.advertisers = buildUnnamed2115();
+ o.advertisers = buildUnnamed2220();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -802,7 +802,7 @@
checkAdvertisersListResponse(api.AdvertisersListResponse o) {
buildCounterAdvertisersListResponse++;
if (buildCounterAdvertisersListResponse < 3) {
- checkUnnamed2115(o.advertisers);
+ checkUnnamed2220(o.advertisers);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -832,14 +832,14 @@
buildCounterAudienceSegment--;
}
-buildUnnamed2116() {
+buildUnnamed2221() {
var o = new core.List<api.AudienceSegment>();
o.add(buildAudienceSegment());
o.add(buildAudienceSegment());
return o;
}
-checkUnnamed2116(core.List<api.AudienceSegment> o) {
+checkUnnamed2221(core.List<api.AudienceSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudienceSegment(o[0]);
checkAudienceSegment(o[1]);
@@ -850,7 +850,7 @@
var o = new api.AudienceSegmentGroup();
buildCounterAudienceSegmentGroup++;
if (buildCounterAudienceSegmentGroup < 3) {
- o.audienceSegments = buildUnnamed2116();
+ o.audienceSegments = buildUnnamed2221();
o.id = "foo";
o.name = "foo";
}
@@ -861,7 +861,7 @@
checkAudienceSegmentGroup(api.AudienceSegmentGroup o) {
buildCounterAudienceSegmentGroup++;
if (buildCounterAudienceSegmentGroup < 3) {
- checkUnnamed2116(o.audienceSegments);
+ checkUnnamed2221(o.audienceSegments);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
}
@@ -897,14 +897,14 @@
buildCounterBrowser--;
}
-buildUnnamed2117() {
+buildUnnamed2222() {
var o = new core.List<api.Browser>();
o.add(buildBrowser());
o.add(buildBrowser());
return o;
}
-checkUnnamed2117(core.List<api.Browser> o) {
+checkUnnamed2222(core.List<api.Browser> o) {
unittest.expect(o, unittest.hasLength(2));
checkBrowser(o[0]);
checkBrowser(o[1]);
@@ -915,7 +915,7 @@
var o = new api.BrowsersListResponse();
buildCounterBrowsersListResponse++;
if (buildCounterBrowsersListResponse < 3) {
- o.browsers = buildUnnamed2117();
+ o.browsers = buildUnnamed2222();
o.kind = "foo";
}
buildCounterBrowsersListResponse--;
@@ -925,72 +925,72 @@
checkBrowsersListResponse(api.BrowsersListResponse o) {
buildCounterBrowsersListResponse++;
if (buildCounterBrowsersListResponse < 3) {
- checkUnnamed2117(o.browsers);
+ checkUnnamed2222(o.browsers);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBrowsersListResponse--;
}
-buildUnnamed2118() {
+buildUnnamed2223() {
var o = new core.List<api.CreativeOptimizationConfiguration>();
o.add(buildCreativeOptimizationConfiguration());
o.add(buildCreativeOptimizationConfiguration());
return o;
}
-checkUnnamed2118(core.List<api.CreativeOptimizationConfiguration> o) {
+checkUnnamed2223(core.List<api.CreativeOptimizationConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeOptimizationConfiguration(o[0]);
checkCreativeOptimizationConfiguration(o[1]);
}
-buildUnnamed2119() {
+buildUnnamed2224() {
var o = new core.List<api.AudienceSegmentGroup>();
o.add(buildAudienceSegmentGroup());
o.add(buildAudienceSegmentGroup());
return o;
}
-checkUnnamed2119(core.List<api.AudienceSegmentGroup> o) {
+checkUnnamed2224(core.List<api.AudienceSegmentGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudienceSegmentGroup(o[0]);
checkAudienceSegmentGroup(o[1]);
}
-buildUnnamed2120() {
+buildUnnamed2225() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2120(core.List<core.String> o) {
+checkUnnamed2225(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2121() {
+buildUnnamed2226() {
var o = new core.List<api.EventTagOverride>();
o.add(buildEventTagOverride());
o.add(buildEventTagOverride());
return o;
}
-checkUnnamed2121(core.List<api.EventTagOverride> o) {
+checkUnnamed2226(core.List<api.EventTagOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTagOverride(o[0]);
checkEventTagOverride(o[1]);
}
-buildUnnamed2122() {
+buildUnnamed2227() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2122(core.List<core.String> o) {
+checkUnnamed2227(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1002,21 +1002,21 @@
buildCounterCampaign++;
if (buildCounterCampaign < 3) {
o.accountId = "foo";
- o.additionalCreativeOptimizationConfigurations = buildUnnamed2118();
+ o.additionalCreativeOptimizationConfigurations = buildUnnamed2223();
o.advertiserGroupId = "foo";
o.advertiserId = "foo";
o.advertiserIdDimensionValue = buildDimensionValue();
o.archived = true;
- o.audienceSegmentGroups = buildUnnamed2119();
+ o.audienceSegmentGroups = buildUnnamed2224();
o.billingInvoiceCode = "foo";
o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties();
o.comment = "foo";
o.createInfo = buildLastModifiedInfo();
- o.creativeGroupIds = buildUnnamed2120();
+ o.creativeGroupIds = buildUnnamed2225();
o.creativeOptimizationConfiguration = buildCreativeOptimizationConfiguration();
o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagProperties();
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.eventTagOverrides = buildUnnamed2121();
+ o.eventTagOverrides = buildUnnamed2226();
o.externalId = "foo";
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
@@ -1027,7 +1027,7 @@
o.nielsenOcrEnabled = true;
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.subaccountId = "foo";
- o.traffickerEmails = buildUnnamed2122();
+ o.traffickerEmails = buildUnnamed2227();
}
buildCounterCampaign--;
return o;
@@ -1037,21 +1037,21 @@
buildCounterCampaign++;
if (buildCounterCampaign < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed2118(o.additionalCreativeOptimizationConfigurations);
+ checkUnnamed2223(o.additionalCreativeOptimizationConfigurations);
unittest.expect(o.advertiserGroupId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
checkDimensionValue(o.advertiserIdDimensionValue);
unittest.expect(o.archived, unittest.isTrue);
- checkUnnamed2119(o.audienceSegmentGroups);
+ checkUnnamed2224(o.audienceSegmentGroups);
unittest.expect(o.billingInvoiceCode, unittest.equals('foo'));
checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties);
unittest.expect(o.comment, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
- checkUnnamed2120(o.creativeGroupIds);
+ checkUnnamed2225(o.creativeGroupIds);
checkCreativeOptimizationConfiguration(o.creativeOptimizationConfiguration);
checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProperties);
unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed2121(o.eventTagOverrides);
+ checkUnnamed2226(o.eventTagOverrides);
unittest.expect(o.externalId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
@@ -1062,7 +1062,7 @@
unittest.expect(o.nielsenOcrEnabled, unittest.isTrue);
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.subaccountId, unittest.equals('foo'));
- checkUnnamed2122(o.traffickerEmails);
+ checkUnnamed2227(o.traffickerEmails);
}
buildCounterCampaign--;
}
@@ -1088,14 +1088,14 @@
buildCounterCampaignCreativeAssociation--;
}
-buildUnnamed2123() {
+buildUnnamed2228() {
var o = new core.List<api.CampaignCreativeAssociation>();
o.add(buildCampaignCreativeAssociation());
o.add(buildCampaignCreativeAssociation());
return o;
}
-checkUnnamed2123(core.List<api.CampaignCreativeAssociation> o) {
+checkUnnamed2228(core.List<api.CampaignCreativeAssociation> o) {
unittest.expect(o, unittest.hasLength(2));
checkCampaignCreativeAssociation(o[0]);
checkCampaignCreativeAssociation(o[1]);
@@ -1106,7 +1106,7 @@
var o = new api.CampaignCreativeAssociationsListResponse();
buildCounterCampaignCreativeAssociationsListResponse++;
if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
- o.campaignCreativeAssociations = buildUnnamed2123();
+ o.campaignCreativeAssociations = buildUnnamed2228();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1117,21 +1117,21 @@
checkCampaignCreativeAssociationsListResponse(api.CampaignCreativeAssociationsListResponse o) {
buildCounterCampaignCreativeAssociationsListResponse++;
if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
- checkUnnamed2123(o.campaignCreativeAssociations);
+ checkUnnamed2228(o.campaignCreativeAssociations);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCampaignCreativeAssociationsListResponse--;
}
-buildUnnamed2124() {
+buildUnnamed2229() {
var o = new core.List<api.Campaign>();
o.add(buildCampaign());
o.add(buildCampaign());
return o;
}
-checkUnnamed2124(core.List<api.Campaign> o) {
+checkUnnamed2229(core.List<api.Campaign> o) {
unittest.expect(o, unittest.hasLength(2));
checkCampaign(o[0]);
checkCampaign(o[1]);
@@ -1142,7 +1142,7 @@
var o = new api.CampaignsListResponse();
buildCounterCampaignsListResponse++;
if (buildCounterCampaignsListResponse < 3) {
- o.campaigns = buildUnnamed2124();
+ o.campaigns = buildUnnamed2229();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1153,7 +1153,7 @@
checkCampaignsListResponse(api.CampaignsListResponse o) {
buildCounterCampaignsListResponse++;
if (buildCounterCampaignsListResponse < 3) {
- checkUnnamed2124(o.campaigns);
+ checkUnnamed2229(o.campaigns);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1205,14 +1205,14 @@
buildCounterChangeLog--;
}
-buildUnnamed2125() {
+buildUnnamed2230() {
var o = new core.List<api.ChangeLog>();
o.add(buildChangeLog());
o.add(buildChangeLog());
return o;
}
-checkUnnamed2125(core.List<api.ChangeLog> o) {
+checkUnnamed2230(core.List<api.ChangeLog> o) {
unittest.expect(o, unittest.hasLength(2));
checkChangeLog(o[0]);
checkChangeLog(o[1]);
@@ -1223,7 +1223,7 @@
var o = new api.ChangeLogsListResponse();
buildCounterChangeLogsListResponse++;
if (buildCounterChangeLogsListResponse < 3) {
- o.changeLogs = buildUnnamed2125();
+ o.changeLogs = buildUnnamed2230();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1234,21 +1234,21 @@
checkChangeLogsListResponse(api.ChangeLogsListResponse o) {
buildCounterChangeLogsListResponse++;
if (buildCounterChangeLogsListResponse < 3) {
- checkUnnamed2125(o.changeLogs);
+ checkUnnamed2230(o.changeLogs);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterChangeLogsListResponse--;
}
-buildUnnamed2126() {
+buildUnnamed2231() {
var o = new core.List<api.City>();
o.add(buildCity());
o.add(buildCity());
return o;
}
-checkUnnamed2126(core.List<api.City> o) {
+checkUnnamed2231(core.List<api.City> o) {
unittest.expect(o, unittest.hasLength(2));
checkCity(o[0]);
checkCity(o[1]);
@@ -1259,7 +1259,7 @@
var o = new api.CitiesListResponse();
buildCounterCitiesListResponse++;
if (buildCounterCitiesListResponse < 3) {
- o.cities = buildUnnamed2126();
+ o.cities = buildUnnamed2231();
o.kind = "foo";
}
buildCounterCitiesListResponse--;
@@ -1269,7 +1269,7 @@
checkCitiesListResponse(api.CitiesListResponse o) {
buildCounterCitiesListResponse++;
if (buildCounterCitiesListResponse < 3) {
- checkUnnamed2126(o.cities);
+ checkUnnamed2231(o.cities);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCitiesListResponse--;
@@ -1400,14 +1400,14 @@
buildCounterCompanionClickThroughOverride--;
}
-buildUnnamed2127() {
+buildUnnamed2232() {
var o = new core.List<api.Size>();
o.add(buildSize());
o.add(buildSize());
return o;
}
-checkUnnamed2127(core.List<api.Size> o) {
+checkUnnamed2232(core.List<api.Size> o) {
unittest.expect(o, unittest.hasLength(2));
checkSize(o[0]);
checkSize(o[1]);
@@ -1419,7 +1419,7 @@
buildCounterCompanionSetting++;
if (buildCounterCompanionSetting < 3) {
o.companionsDisabled = true;
- o.enabledSizes = buildUnnamed2127();
+ o.enabledSizes = buildUnnamed2232();
o.imageOnly = true;
o.kind = "foo";
}
@@ -1431,7 +1431,7 @@
buildCounterCompanionSetting++;
if (buildCounterCompanionSetting < 3) {
unittest.expect(o.companionsDisabled, unittest.isTrue);
- checkUnnamed2127(o.enabledSizes);
+ checkUnnamed2232(o.enabledSizes);
unittest.expect(o.imageOnly, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
}
@@ -1490,14 +1490,14 @@
buildCounterConnectionType--;
}
-buildUnnamed2128() {
+buildUnnamed2233() {
var o = new core.List<api.ConnectionType>();
o.add(buildConnectionType());
o.add(buildConnectionType());
return o;
}
-checkUnnamed2128(core.List<api.ConnectionType> o) {
+checkUnnamed2233(core.List<api.ConnectionType> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnectionType(o[0]);
checkConnectionType(o[1]);
@@ -1508,7 +1508,7 @@
var o = new api.ConnectionTypesListResponse();
buildCounterConnectionTypesListResponse++;
if (buildCounterConnectionTypesListResponse < 3) {
- o.connectionTypes = buildUnnamed2128();
+ o.connectionTypes = buildUnnamed2233();
o.kind = "foo";
}
buildCounterConnectionTypesListResponse--;
@@ -1518,20 +1518,20 @@
checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) {
buildCounterConnectionTypesListResponse++;
if (buildCounterConnectionTypesListResponse < 3) {
- checkUnnamed2128(o.connectionTypes);
+ checkUnnamed2233(o.connectionTypes);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConnectionTypesListResponse--;
}
-buildUnnamed2129() {
+buildUnnamed2234() {
var o = new core.List<api.ContentCategory>();
o.add(buildContentCategory());
o.add(buildContentCategory());
return o;
}
-checkUnnamed2129(core.List<api.ContentCategory> o) {
+checkUnnamed2234(core.List<api.ContentCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkContentCategory(o[0]);
checkContentCategory(o[1]);
@@ -1542,7 +1542,7 @@
var o = new api.ContentCategoriesListResponse();
buildCounterContentCategoriesListResponse++;
if (buildCounterContentCategoriesListResponse < 3) {
- o.contentCategories = buildUnnamed2129();
+ o.contentCategories = buildUnnamed2234();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1553,7 +1553,7 @@
checkContentCategoriesListResponse(api.ContentCategoriesListResponse o) {
buildCounterContentCategoriesListResponse++;
if (buildCounterContentCategoriesListResponse < 3) {
- checkUnnamed2129(o.contentCategories);
+ checkUnnamed2234(o.contentCategories);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1585,27 +1585,27 @@
buildCounterContentCategory--;
}
-buildUnnamed2130() {
+buildUnnamed2235() {
var o = new core.List<api.CustomFloodlightVariable>();
o.add(buildCustomFloodlightVariable());
o.add(buildCustomFloodlightVariable());
return o;
}
-checkUnnamed2130(core.List<api.CustomFloodlightVariable> o) {
+checkUnnamed2235(core.List<api.CustomFloodlightVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomFloodlightVariable(o[0]);
checkCustomFloodlightVariable(o[1]);
}
-buildUnnamed2131() {
+buildUnnamed2236() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2131(core.List<core.String> o) {
+checkUnnamed2236(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1617,9 +1617,9 @@
buildCounterConversion++;
if (buildCounterConversion < 3) {
o.childDirectedTreatment = true;
- o.customVariables = buildUnnamed2130();
+ o.customVariables = buildUnnamed2235();
o.encryptedUserId = "foo";
- o.encryptedUserIdCandidates = buildUnnamed2131();
+ o.encryptedUserIdCandidates = buildUnnamed2236();
o.floodlightActivityId = "foo";
o.floodlightConfigurationId = "foo";
o.kind = "foo";
@@ -1638,9 +1638,9 @@
buildCounterConversion++;
if (buildCounterConversion < 3) {
unittest.expect(o.childDirectedTreatment, unittest.isTrue);
- checkUnnamed2130(o.customVariables);
+ checkUnnamed2235(o.customVariables);
unittest.expect(o.encryptedUserId, unittest.equals('foo'));
- checkUnnamed2131(o.encryptedUserIdCandidates);
+ checkUnnamed2236(o.encryptedUserIdCandidates);
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
unittest.expect(o.floodlightConfigurationId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1677,14 +1677,14 @@
buildCounterConversionError--;
}
-buildUnnamed2132() {
+buildUnnamed2237() {
var o = new core.List<api.ConversionError>();
o.add(buildConversionError());
o.add(buildConversionError());
return o;
}
-checkUnnamed2132(core.List<api.ConversionError> o) {
+checkUnnamed2237(core.List<api.ConversionError> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionError(o[0]);
checkConversionError(o[1]);
@@ -1696,7 +1696,7 @@
buildCounterConversionStatus++;
if (buildCounterConversionStatus < 3) {
o.conversion = buildConversion();
- o.errors = buildUnnamed2132();
+ o.errors = buildUnnamed2237();
o.kind = "foo";
}
buildCounterConversionStatus--;
@@ -1707,20 +1707,20 @@
buildCounterConversionStatus++;
if (buildCounterConversionStatus < 3) {
checkConversion(o.conversion);
- checkUnnamed2132(o.errors);
+ checkUnnamed2237(o.errors);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionStatus--;
}
-buildUnnamed2133() {
+buildUnnamed2238() {
var o = new core.List<api.Conversion>();
o.add(buildConversion());
o.add(buildConversion());
return o;
}
-checkUnnamed2133(core.List<api.Conversion> o) {
+checkUnnamed2238(core.List<api.Conversion> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversion(o[0]);
checkConversion(o[1]);
@@ -1731,7 +1731,7 @@
var o = new api.ConversionsBatchInsertRequest();
buildCounterConversionsBatchInsertRequest++;
if (buildCounterConversionsBatchInsertRequest < 3) {
- o.conversions = buildUnnamed2133();
+ o.conversions = buildUnnamed2238();
o.encryptionInfo = buildEncryptionInfo();
o.kind = "foo";
}
@@ -1742,21 +1742,21 @@
checkConversionsBatchInsertRequest(api.ConversionsBatchInsertRequest o) {
buildCounterConversionsBatchInsertRequest++;
if (buildCounterConversionsBatchInsertRequest < 3) {
- checkUnnamed2133(o.conversions);
+ checkUnnamed2238(o.conversions);
checkEncryptionInfo(o.encryptionInfo);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionsBatchInsertRequest--;
}
-buildUnnamed2134() {
+buildUnnamed2239() {
var o = new core.List<api.ConversionStatus>();
o.add(buildConversionStatus());
o.add(buildConversionStatus());
return o;
}
-checkUnnamed2134(core.List<api.ConversionStatus> o) {
+checkUnnamed2239(core.List<api.ConversionStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionStatus(o[0]);
checkConversionStatus(o[1]);
@@ -1769,7 +1769,7 @@
if (buildCounterConversionsBatchInsertResponse < 3) {
o.hasFailures = true;
o.kind = "foo";
- o.status = buildUnnamed2134();
+ o.status = buildUnnamed2239();
}
buildCounterConversionsBatchInsertResponse--;
return o;
@@ -1780,19 +1780,19 @@
if (buildCounterConversionsBatchInsertResponse < 3) {
unittest.expect(o.hasFailures, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2134(o.status);
+ checkUnnamed2239(o.status);
}
buildCounterConversionsBatchInsertResponse--;
}
-buildUnnamed2135() {
+buildUnnamed2240() {
var o = new core.List<api.Country>();
o.add(buildCountry());
o.add(buildCountry());
return o;
}
-checkUnnamed2135(core.List<api.Country> o) {
+checkUnnamed2240(core.List<api.Country> o) {
unittest.expect(o, unittest.hasLength(2));
checkCountry(o[0]);
checkCountry(o[1]);
@@ -1803,7 +1803,7 @@
var o = new api.CountriesListResponse();
buildCounterCountriesListResponse++;
if (buildCounterCountriesListResponse < 3) {
- o.countries = buildUnnamed2135();
+ o.countries = buildUnnamed2240();
o.kind = "foo";
}
buildCounterCountriesListResponse--;
@@ -1813,7 +1813,7 @@
checkCountriesListResponse(api.CountriesListResponse o) {
buildCounterCountriesListResponse++;
if (buildCounterCountriesListResponse < 3) {
- checkUnnamed2135(o.countries);
+ checkUnnamed2240(o.countries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCountriesListResponse--;
@@ -1846,157 +1846,157 @@
buildCounterCountry--;
}
-buildUnnamed2136() {
+buildUnnamed2241() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2136(core.List<core.String> o) {
+checkUnnamed2241(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2137() {
+buildUnnamed2242() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2137(core.List<core.String> o) {
+checkUnnamed2242(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2138() {
+buildUnnamed2243() {
var o = new core.List<api.ClickTag>();
o.add(buildClickTag());
o.add(buildClickTag());
return o;
}
-checkUnnamed2138(core.List<api.ClickTag> o) {
+checkUnnamed2243(core.List<api.ClickTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkClickTag(o[0]);
checkClickTag(o[1]);
}
-buildUnnamed2139() {
+buildUnnamed2244() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2139(core.List<core.String> o) {
+checkUnnamed2244(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2140() {
+buildUnnamed2245() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2140(core.List<core.String> o) {
+checkUnnamed2245(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2141() {
+buildUnnamed2246() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed2141(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed2246(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
}
-buildUnnamed2142() {
+buildUnnamed2247() {
var o = new core.List<api.CreativeAsset>();
o.add(buildCreativeAsset());
o.add(buildCreativeAsset());
return o;
}
-checkUnnamed2142(core.List<api.CreativeAsset> o) {
+checkUnnamed2247(core.List<api.CreativeAsset> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeAsset(o[0]);
checkCreativeAsset(o[1]);
}
-buildUnnamed2143() {
+buildUnnamed2248() {
var o = new core.List<api.CreativeFieldAssignment>();
o.add(buildCreativeFieldAssignment());
o.add(buildCreativeFieldAssignment());
return o;
}
-checkUnnamed2143(core.List<api.CreativeFieldAssignment> o) {
+checkUnnamed2248(core.List<api.CreativeFieldAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFieldAssignment(o[0]);
checkCreativeFieldAssignment(o[1]);
}
-buildUnnamed2144() {
+buildUnnamed2249() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2144(core.List<core.String> o) {
+checkUnnamed2249(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2145() {
+buildUnnamed2250() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed2145(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed2250(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
}
-buildUnnamed2146() {
+buildUnnamed2251() {
var o = new core.List<api.ThirdPartyTrackingUrl>();
o.add(buildThirdPartyTrackingUrl());
o.add(buildThirdPartyTrackingUrl());
return o;
}
-checkUnnamed2146(core.List<api.ThirdPartyTrackingUrl> o) {
+checkUnnamed2251(core.List<api.ThirdPartyTrackingUrl> o) {
unittest.expect(o, unittest.hasLength(2));
checkThirdPartyTrackingUrl(o[0]);
checkThirdPartyTrackingUrl(o[1]);
}
-buildUnnamed2147() {
+buildUnnamed2252() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed2147(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed2252(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
@@ -2010,7 +2010,7 @@
o.accountId = "foo";
o.active = true;
o.adParameters = "foo";
- o.adTagKeys = buildUnnamed2136();
+ o.adTagKeys = buildUnnamed2241();
o.advertiserId = "foo";
o.allowScriptAccess = true;
o.archived = true;
@@ -2020,21 +2020,21 @@
o.autoAdvanceImages = true;
o.backgroundColor = "foo";
o.backupImageClickThroughUrl = "foo";
- o.backupImageFeatures = buildUnnamed2137();
+ o.backupImageFeatures = buildUnnamed2242();
o.backupImageReportingLabel = "foo";
o.backupImageTargetWindow = buildTargetWindow();
- o.clickTags = buildUnnamed2138();
+ o.clickTags = buildUnnamed2243();
o.commercialId = "foo";
- o.companionCreatives = buildUnnamed2139();
- o.compatibility = buildUnnamed2140();
+ o.companionCreatives = buildUnnamed2244();
+ o.compatibility = buildUnnamed2245();
o.convertFlashToHtml5 = true;
- o.counterCustomEvents = buildUnnamed2141();
+ o.counterCustomEvents = buildUnnamed2246();
o.creativeAssetSelection = buildCreativeAssetSelection();
- o.creativeAssets = buildUnnamed2142();
- o.creativeFieldAssignments = buildUnnamed2143();
- o.customKeyValues = buildUnnamed2144();
+ o.creativeAssets = buildUnnamed2247();
+ o.creativeFieldAssignments = buildUnnamed2248();
+ o.customKeyValues = buildUnnamed2249();
o.dynamicAssetSelection = true;
- o.exitCustomEvents = buildUnnamed2145();
+ o.exitCustomEvents = buildUnnamed2250();
o.fsCommand = buildFsCommand();
o.htmlCode = "foo";
o.htmlCodeLocked = true;
@@ -2062,8 +2062,8 @@
o.subaccountId = "foo";
o.thirdPartyBackupImageImpressionsUrl = "foo";
o.thirdPartyRichMediaImpressionsUrl = "foo";
- o.thirdPartyUrls = buildUnnamed2146();
- o.timerCustomEvents = buildUnnamed2147();
+ o.thirdPartyUrls = buildUnnamed2251();
+ o.timerCustomEvents = buildUnnamed2252();
o.totalFileSize = "foo";
o.type = "foo";
o.version = 42;
@@ -2080,7 +2080,7 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.adParameters, unittest.equals('foo'));
- checkUnnamed2136(o.adTagKeys);
+ checkUnnamed2241(o.adTagKeys);
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.allowScriptAccess, unittest.isTrue);
unittest.expect(o.archived, unittest.isTrue);
@@ -2090,21 +2090,21 @@
unittest.expect(o.autoAdvanceImages, unittest.isTrue);
unittest.expect(o.backgroundColor, unittest.equals('foo'));
unittest.expect(o.backupImageClickThroughUrl, unittest.equals('foo'));
- checkUnnamed2137(o.backupImageFeatures);
+ checkUnnamed2242(o.backupImageFeatures);
unittest.expect(o.backupImageReportingLabel, unittest.equals('foo'));
checkTargetWindow(o.backupImageTargetWindow);
- checkUnnamed2138(o.clickTags);
+ checkUnnamed2243(o.clickTags);
unittest.expect(o.commercialId, unittest.equals('foo'));
- checkUnnamed2139(o.companionCreatives);
- checkUnnamed2140(o.compatibility);
+ checkUnnamed2244(o.companionCreatives);
+ checkUnnamed2245(o.compatibility);
unittest.expect(o.convertFlashToHtml5, unittest.isTrue);
- checkUnnamed2141(o.counterCustomEvents);
+ checkUnnamed2246(o.counterCustomEvents);
checkCreativeAssetSelection(o.creativeAssetSelection);
- checkUnnamed2142(o.creativeAssets);
- checkUnnamed2143(o.creativeFieldAssignments);
- checkUnnamed2144(o.customKeyValues);
+ checkUnnamed2247(o.creativeAssets);
+ checkUnnamed2248(o.creativeFieldAssignments);
+ checkUnnamed2249(o.customKeyValues);
unittest.expect(o.dynamicAssetSelection, unittest.isTrue);
- checkUnnamed2145(o.exitCustomEvents);
+ checkUnnamed2250(o.exitCustomEvents);
checkFsCommand(o.fsCommand);
unittest.expect(o.htmlCode, unittest.equals('foo'));
unittest.expect(o.htmlCodeLocked, unittest.isTrue);
@@ -2132,8 +2132,8 @@
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.thirdPartyBackupImageImpressionsUrl, unittest.equals('foo'));
unittest.expect(o.thirdPartyRichMediaImpressionsUrl, unittest.equals('foo'));
- checkUnnamed2146(o.thirdPartyUrls);
- checkUnnamed2147(o.timerCustomEvents);
+ checkUnnamed2251(o.thirdPartyUrls);
+ checkUnnamed2252(o.timerCustomEvents);
unittest.expect(o.totalFileSize, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
@@ -2143,27 +2143,27 @@
buildCounterCreative--;
}
-buildUnnamed2148() {
+buildUnnamed2253() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2148(core.List<core.String> o) {
+checkUnnamed2253(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2149() {
+buildUnnamed2254() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2149(core.List<core.String> o) {
+checkUnnamed2254(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2183,9 +2183,9 @@
o.bitRate = 42;
o.childAssetType = "foo";
o.collapsedSize = buildSize();
- o.companionCreativeIds = buildUnnamed2148();
+ o.companionCreativeIds = buildUnnamed2253();
o.customStartTimeValue = 42;
- o.detectedFeatures = buildUnnamed2149();
+ o.detectedFeatures = buildUnnamed2254();
o.displayType = "foo";
o.duration = 42;
o.durationType = "foo";
@@ -2235,9 +2235,9 @@
unittest.expect(o.bitRate, unittest.equals(42));
unittest.expect(o.childAssetType, unittest.equals('foo'));
checkSize(o.collapsedSize);
- checkUnnamed2148(o.companionCreativeIds);
+ checkUnnamed2253(o.companionCreativeIds);
unittest.expect(o.customStartTimeValue, unittest.equals(42));
- checkUnnamed2149(o.detectedFeatures);
+ checkUnnamed2254(o.detectedFeatures);
unittest.expect(o.displayType, unittest.equals('foo'));
unittest.expect(o.duration, unittest.equals(42));
unittest.expect(o.durationType, unittest.equals('foo'));
@@ -2295,40 +2295,40 @@
buildCounterCreativeAssetId--;
}
-buildUnnamed2150() {
+buildUnnamed2255() {
var o = new core.List<api.ClickTag>();
o.add(buildClickTag());
o.add(buildClickTag());
return o;
}
-checkUnnamed2150(core.List<api.ClickTag> o) {
+checkUnnamed2255(core.List<api.ClickTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkClickTag(o[0]);
checkClickTag(o[1]);
}
-buildUnnamed2151() {
+buildUnnamed2256() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2151(core.List<core.String> o) {
+checkUnnamed2256(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2152() {
+buildUnnamed2257() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2152(core.List<core.String> o) {
+checkUnnamed2257(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2340,12 +2340,12 @@
buildCounterCreativeAssetMetadata++;
if (buildCounterCreativeAssetMetadata < 3) {
o.assetIdentifier = buildCreativeAssetId();
- o.clickTags = buildUnnamed2150();
- o.detectedFeatures = buildUnnamed2151();
+ o.clickTags = buildUnnamed2255();
+ o.detectedFeatures = buildUnnamed2256();
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
o.kind = "foo";
- o.warnedValidationRules = buildUnnamed2152();
+ o.warnedValidationRules = buildUnnamed2257();
}
buildCounterCreativeAssetMetadata--;
return o;
@@ -2355,24 +2355,24 @@
buildCounterCreativeAssetMetadata++;
if (buildCounterCreativeAssetMetadata < 3) {
checkCreativeAssetId(o.assetIdentifier);
- checkUnnamed2150(o.clickTags);
- checkUnnamed2151(o.detectedFeatures);
+ checkUnnamed2255(o.clickTags);
+ checkUnnamed2256(o.detectedFeatures);
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2152(o.warnedValidationRules);
+ checkUnnamed2257(o.warnedValidationRules);
}
buildCounterCreativeAssetMetadata--;
}
-buildUnnamed2153() {
+buildUnnamed2258() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed2153(core.List<api.Rule> o) {
+checkUnnamed2258(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -2384,7 +2384,7 @@
buildCounterCreativeAssetSelection++;
if (buildCounterCreativeAssetSelection < 3) {
o.defaultAssetId = "foo";
- o.rules = buildUnnamed2153();
+ o.rules = buildUnnamed2258();
}
buildCounterCreativeAssetSelection--;
return o;
@@ -2394,45 +2394,45 @@
buildCounterCreativeAssetSelection++;
if (buildCounterCreativeAssetSelection < 3) {
unittest.expect(o.defaultAssetId, unittest.equals('foo'));
- checkUnnamed2153(o.rules);
+ checkUnnamed2258(o.rules);
}
buildCounterCreativeAssetSelection--;
}
-buildUnnamed2154() {
+buildUnnamed2259() {
var o = new core.List<api.CompanionClickThroughOverride>();
o.add(buildCompanionClickThroughOverride());
o.add(buildCompanionClickThroughOverride());
return o;
}
-checkUnnamed2154(core.List<api.CompanionClickThroughOverride> o) {
+checkUnnamed2259(core.List<api.CompanionClickThroughOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompanionClickThroughOverride(o[0]);
checkCompanionClickThroughOverride(o[1]);
}
-buildUnnamed2155() {
+buildUnnamed2260() {
var o = new core.List<api.CreativeGroupAssignment>();
o.add(buildCreativeGroupAssignment());
o.add(buildCreativeGroupAssignment());
return o;
}
-checkUnnamed2155(core.List<api.CreativeGroupAssignment> o) {
+checkUnnamed2260(core.List<api.CreativeGroupAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroupAssignment(o[0]);
checkCreativeGroupAssignment(o[1]);
}
-buildUnnamed2156() {
+buildUnnamed2261() {
var o = new core.List<api.RichMediaExitOverride>();
o.add(buildRichMediaExitOverride());
o.add(buildRichMediaExitOverride());
return o;
}
-checkUnnamed2156(core.List<api.RichMediaExitOverride> o) {
+checkUnnamed2261(core.List<api.RichMediaExitOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkRichMediaExitOverride(o[0]);
checkRichMediaExitOverride(o[1]);
@@ -2446,12 +2446,12 @@
o.active = true;
o.applyEventTags = true;
o.clickThroughUrl = buildClickThroughUrl();
- o.companionCreativeOverrides = buildUnnamed2154();
- o.creativeGroupAssignments = buildUnnamed2155();
+ o.companionCreativeOverrides = buildUnnamed2259();
+ o.creativeGroupAssignments = buildUnnamed2260();
o.creativeId = "foo";
o.creativeIdDimensionValue = buildDimensionValue();
o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.richMediaExitOverrides = buildUnnamed2156();
+ o.richMediaExitOverrides = buildUnnamed2261();
o.sequence = 42;
o.sslCompliant = true;
o.startTime = core.DateTime.parse("2002-02-27T14:01:02");
@@ -2467,12 +2467,12 @@
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.applyEventTags, unittest.isTrue);
checkClickThroughUrl(o.clickThroughUrl);
- checkUnnamed2154(o.companionCreativeOverrides);
- checkUnnamed2155(o.creativeGroupAssignments);
+ checkUnnamed2259(o.companionCreativeOverrides);
+ checkUnnamed2260(o.creativeGroupAssignments);
unittest.expect(o.creativeId, unittest.equals('foo'));
checkDimensionValue(o.creativeIdDimensionValue);
unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed2156(o.richMediaExitOverrides);
+ checkUnnamed2261(o.richMediaExitOverrides);
unittest.expect(o.sequence, unittest.equals(42));
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -2593,14 +2593,14 @@
buildCounterCreativeFieldValue--;
}
-buildUnnamed2157() {
+buildUnnamed2262() {
var o = new core.List<api.CreativeFieldValue>();
o.add(buildCreativeFieldValue());
o.add(buildCreativeFieldValue());
return o;
}
-checkUnnamed2157(core.List<api.CreativeFieldValue> o) {
+checkUnnamed2262(core.List<api.CreativeFieldValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFieldValue(o[0]);
checkCreativeFieldValue(o[1]);
@@ -2611,7 +2611,7 @@
var o = new api.CreativeFieldValuesListResponse();
buildCounterCreativeFieldValuesListResponse++;
if (buildCounterCreativeFieldValuesListResponse < 3) {
- o.creativeFieldValues = buildUnnamed2157();
+ o.creativeFieldValues = buildUnnamed2262();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2622,21 +2622,21 @@
checkCreativeFieldValuesListResponse(api.CreativeFieldValuesListResponse o) {
buildCounterCreativeFieldValuesListResponse++;
if (buildCounterCreativeFieldValuesListResponse < 3) {
- checkUnnamed2157(o.creativeFieldValues);
+ checkUnnamed2262(o.creativeFieldValues);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativeFieldValuesListResponse--;
}
-buildUnnamed2158() {
+buildUnnamed2263() {
var o = new core.List<api.CreativeField>();
o.add(buildCreativeField());
o.add(buildCreativeField());
return o;
}
-checkUnnamed2158(core.List<api.CreativeField> o) {
+checkUnnamed2263(core.List<api.CreativeField> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeField(o[0]);
checkCreativeField(o[1]);
@@ -2647,7 +2647,7 @@
var o = new api.CreativeFieldsListResponse();
buildCounterCreativeFieldsListResponse++;
if (buildCounterCreativeFieldsListResponse < 3) {
- o.creativeFields = buildUnnamed2158();
+ o.creativeFields = buildUnnamed2263();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2658,7 +2658,7 @@
checkCreativeFieldsListResponse(api.CreativeFieldsListResponse o) {
buildCounterCreativeFieldsListResponse++;
if (buildCounterCreativeFieldsListResponse < 3) {
- checkUnnamed2158(o.creativeFields);
+ checkUnnamed2263(o.creativeFields);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2719,14 +2719,14 @@
buildCounterCreativeGroupAssignment--;
}
-buildUnnamed2159() {
+buildUnnamed2264() {
var o = new core.List<api.CreativeGroup>();
o.add(buildCreativeGroup());
o.add(buildCreativeGroup());
return o;
}
-checkUnnamed2159(core.List<api.CreativeGroup> o) {
+checkUnnamed2264(core.List<api.CreativeGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroup(o[0]);
checkCreativeGroup(o[1]);
@@ -2737,7 +2737,7 @@
var o = new api.CreativeGroupsListResponse();
buildCounterCreativeGroupsListResponse++;
if (buildCounterCreativeGroupsListResponse < 3) {
- o.creativeGroups = buildUnnamed2159();
+ o.creativeGroups = buildUnnamed2264();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2748,21 +2748,21 @@
checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) {
buildCounterCreativeGroupsListResponse++;
if (buildCounterCreativeGroupsListResponse < 3) {
- checkUnnamed2159(o.creativeGroups);
+ checkUnnamed2264(o.creativeGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativeGroupsListResponse--;
}
-buildUnnamed2160() {
+buildUnnamed2265() {
var o = new core.List<api.OptimizationActivity>();
o.add(buildOptimizationActivity());
o.add(buildOptimizationActivity());
return o;
}
-checkUnnamed2160(core.List<api.OptimizationActivity> o) {
+checkUnnamed2265(core.List<api.OptimizationActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkOptimizationActivity(o[0]);
checkOptimizationActivity(o[1]);
@@ -2775,7 +2775,7 @@
if (buildCounterCreativeOptimizationConfiguration < 3) {
o.id = "foo";
o.name = "foo";
- o.optimizationActivitys = buildUnnamed2160();
+ o.optimizationActivitys = buildUnnamed2265();
o.optimizationModel = "foo";
}
buildCounterCreativeOptimizationConfiguration--;
@@ -2787,20 +2787,20 @@
if (buildCounterCreativeOptimizationConfiguration < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2160(o.optimizationActivitys);
+ checkUnnamed2265(o.optimizationActivitys);
unittest.expect(o.optimizationModel, unittest.equals('foo'));
}
buildCounterCreativeOptimizationConfiguration--;
}
-buildUnnamed2161() {
+buildUnnamed2266() {
var o = new core.List<api.CreativeAssignment>();
o.add(buildCreativeAssignment());
o.add(buildCreativeAssignment());
return o;
}
-checkUnnamed2161(core.List<api.CreativeAssignment> o) {
+checkUnnamed2266(core.List<api.CreativeAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeAssignment(o[0]);
checkCreativeAssignment(o[1]);
@@ -2811,7 +2811,7 @@
var o = new api.CreativeRotation();
buildCounterCreativeRotation++;
if (buildCounterCreativeRotation < 3) {
- o.creativeAssignments = buildUnnamed2161();
+ o.creativeAssignments = buildUnnamed2266();
o.creativeOptimizationConfigurationId = "foo";
o.type = "foo";
o.weightCalculationStrategy = "foo";
@@ -2823,7 +2823,7 @@
checkCreativeRotation(api.CreativeRotation o) {
buildCounterCreativeRotation++;
if (buildCounterCreativeRotation < 3) {
- checkUnnamed2161(o.creativeAssignments);
+ checkUnnamed2266(o.creativeAssignments);
unittest.expect(o.creativeOptimizationConfigurationId, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.weightCalculationStrategy, unittest.equals('foo'));
@@ -2852,14 +2852,14 @@
buildCounterCreativeSettings--;
}
-buildUnnamed2162() {
+buildUnnamed2267() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed2162(core.List<api.Creative> o) {
+checkUnnamed2267(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -2870,7 +2870,7 @@
var o = new api.CreativesListResponse();
buildCounterCreativesListResponse++;
if (buildCounterCreativesListResponse < 3) {
- o.creatives = buildUnnamed2162();
+ o.creatives = buildUnnamed2267();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2881,60 +2881,60 @@
checkCreativesListResponse(api.CreativesListResponse o) {
buildCounterCreativesListResponse++;
if (buildCounterCreativesListResponse < 3) {
- checkUnnamed2162(o.creatives);
+ checkUnnamed2267(o.creatives);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativesListResponse--;
}
-buildUnnamed2163() {
+buildUnnamed2268() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2163(core.List<api.Dimension> o) {
+checkUnnamed2268(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2164() {
+buildUnnamed2269() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2164(core.List<api.Dimension> o) {
+checkUnnamed2269(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2165() {
+buildUnnamed2270() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2165(core.List<api.Metric> o) {
+checkUnnamed2270(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2166() {
+buildUnnamed2271() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2166(core.List<api.Metric> o) {
+checkUnnamed2271(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -2945,11 +2945,11 @@
var o = new api.CrossDimensionReachReportCompatibleFields();
buildCounterCrossDimensionReachReportCompatibleFields++;
if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
- o.breakdown = buildUnnamed2163();
- o.dimensionFilters = buildUnnamed2164();
+ o.breakdown = buildUnnamed2268();
+ o.dimensionFilters = buildUnnamed2269();
o.kind = "foo";
- o.metrics = buildUnnamed2165();
- o.overlapMetrics = buildUnnamed2166();
+ o.metrics = buildUnnamed2270();
+ o.overlapMetrics = buildUnnamed2271();
}
buildCounterCrossDimensionReachReportCompatibleFields--;
return o;
@@ -2958,11 +2958,11 @@
checkCrossDimensionReachReportCompatibleFields(api.CrossDimensionReachReportCompatibleFields o) {
buildCounterCrossDimensionReachReportCompatibleFields++;
if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
- checkUnnamed2163(o.breakdown);
- checkUnnamed2164(o.dimensionFilters);
+ checkUnnamed2268(o.breakdown);
+ checkUnnamed2269(o.dimensionFilters);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2165(o.metrics);
- checkUnnamed2166(o.overlapMetrics);
+ checkUnnamed2270(o.metrics);
+ checkUnnamed2271(o.overlapMetrics);
}
buildCounterCrossDimensionReachReportCompatibleFields--;
}
@@ -2990,14 +2990,14 @@
buildCounterCustomFloodlightVariable--;
}
-buildUnnamed2167() {
+buildUnnamed2272() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2167(core.List<api.DimensionValue> o) {
+checkUnnamed2272(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
@@ -3008,7 +3008,7 @@
var o = new api.CustomRichMediaEvents();
buildCounterCustomRichMediaEvents++;
if (buildCounterCustomRichMediaEvents < 3) {
- o.filteredEventIds = buildUnnamed2167();
+ o.filteredEventIds = buildUnnamed2272();
o.kind = "foo";
}
buildCounterCustomRichMediaEvents--;
@@ -3018,7 +3018,7 @@
checkCustomRichMediaEvents(api.CustomRichMediaEvents o) {
buildCounterCustomRichMediaEvents++;
if (buildCounterCustomRichMediaEvents < 3) {
- checkUnnamed2167(o.filteredEventIds);
+ checkUnnamed2272(o.filteredEventIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCustomRichMediaEvents--;
@@ -3049,27 +3049,27 @@
buildCounterDateRange--;
}
-buildUnnamed2168() {
+buildUnnamed2273() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2168(core.List<core.String> o) {
+checkUnnamed2273(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2169() {
+buildUnnamed2274() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2169(core.List<core.int> o) {
+checkUnnamed2274(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -3080,8 +3080,8 @@
var o = new api.DayPartTargeting();
buildCounterDayPartTargeting++;
if (buildCounterDayPartTargeting < 3) {
- o.daysOfWeek = buildUnnamed2168();
- o.hoursOfDay = buildUnnamed2169();
+ o.daysOfWeek = buildUnnamed2273();
+ o.hoursOfDay = buildUnnamed2274();
o.userLocalTime = true;
}
buildCounterDayPartTargeting--;
@@ -3091,8 +3091,8 @@
checkDayPartTargeting(api.DayPartTargeting o) {
buildCounterDayPartTargeting++;
if (buildCounterDayPartTargeting < 3) {
- checkUnnamed2168(o.daysOfWeek);
- checkUnnamed2169(o.hoursOfDay);
+ checkUnnamed2273(o.daysOfWeek);
+ checkUnnamed2274(o.hoursOfDay);
unittest.expect(o.userLocalTime, unittest.isTrue);
}
buildCounterDayPartTargeting--;
@@ -3244,14 +3244,14 @@
buildCounterDimensionValue--;
}
-buildUnnamed2170() {
+buildUnnamed2275() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2170(core.List<api.DimensionValue> o) {
+checkUnnamed2275(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
@@ -3263,7 +3263,7 @@
buildCounterDimensionValueList++;
if (buildCounterDimensionValueList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2170();
+ o.items = buildUnnamed2275();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3275,21 +3275,21 @@
buildCounterDimensionValueList++;
if (buildCounterDimensionValueList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2170(o.items);
+ checkUnnamed2275(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterDimensionValueList--;
}
-buildUnnamed2171() {
+buildUnnamed2276() {
var o = new core.List<api.DimensionFilter>();
o.add(buildDimensionFilter());
o.add(buildDimensionFilter());
return o;
}
-checkUnnamed2171(core.List<api.DimensionFilter> o) {
+checkUnnamed2276(core.List<api.DimensionFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilter(o[0]);
checkDimensionFilter(o[1]);
@@ -3302,7 +3302,7 @@
if (buildCounterDimensionValueRequest < 3) {
o.dimensionName = "foo";
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.filters = buildUnnamed2171();
+ o.filters = buildUnnamed2276();
o.kind = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
}
@@ -3315,47 +3315,47 @@
if (buildCounterDimensionValueRequest < 3) {
unittest.expect(o.dimensionName, unittest.equals('foo'));
unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed2171(o.filters);
+ checkUnnamed2276(o.filters);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
}
buildCounterDimensionValueRequest--;
}
-buildUnnamed2172() {
+buildUnnamed2277() {
var o = new core.List<api.DirectorySiteContactAssignment>();
o.add(buildDirectorySiteContactAssignment());
o.add(buildDirectorySiteContactAssignment());
return o;
}
-checkUnnamed2172(core.List<api.DirectorySiteContactAssignment> o) {
+checkUnnamed2277(core.List<api.DirectorySiteContactAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySiteContactAssignment(o[0]);
checkDirectorySiteContactAssignment(o[1]);
}
-buildUnnamed2173() {
+buildUnnamed2278() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2173(core.List<core.String> o) {
+checkUnnamed2278(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2174() {
+buildUnnamed2279() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2174(core.List<core.String> o) {
+checkUnnamed2279(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3367,14 +3367,14 @@
buildCounterDirectorySite++;
if (buildCounterDirectorySite < 3) {
o.active = true;
- o.contactAssignments = buildUnnamed2172();
+ o.contactAssignments = buildUnnamed2277();
o.countryId = "foo";
o.currencyId = "foo";
o.description = "foo";
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
- o.inpageTagFormats = buildUnnamed2173();
- o.interstitialTagFormats = buildUnnamed2174();
+ o.inpageTagFormats = buildUnnamed2278();
+ o.interstitialTagFormats = buildUnnamed2279();
o.kind = "foo";
o.name = "foo";
o.parentId = "foo";
@@ -3389,14 +3389,14 @@
buildCounterDirectorySite++;
if (buildCounterDirectorySite < 3) {
unittest.expect(o.active, unittest.isTrue);
- checkUnnamed2172(o.contactAssignments);
+ checkUnnamed2277(o.contactAssignments);
unittest.expect(o.countryId, unittest.equals('foo'));
unittest.expect(o.currencyId, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
- checkUnnamed2173(o.inpageTagFormats);
- checkUnnamed2174(o.interstitialTagFormats);
+ checkUnnamed2278(o.inpageTagFormats);
+ checkUnnamed2279(o.interstitialTagFormats);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentId, unittest.equals('foo'));
@@ -3464,14 +3464,14 @@
buildCounterDirectorySiteContactAssignment--;
}
-buildUnnamed2175() {
+buildUnnamed2280() {
var o = new core.List<api.DirectorySiteContact>();
o.add(buildDirectorySiteContact());
o.add(buildDirectorySiteContact());
return o;
}
-checkUnnamed2175(core.List<api.DirectorySiteContact> o) {
+checkUnnamed2280(core.List<api.DirectorySiteContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySiteContact(o[0]);
checkDirectorySiteContact(o[1]);
@@ -3482,7 +3482,7 @@
var o = new api.DirectorySiteContactsListResponse();
buildCounterDirectorySiteContactsListResponse++;
if (buildCounterDirectorySiteContactsListResponse < 3) {
- o.directorySiteContacts = buildUnnamed2175();
+ o.directorySiteContacts = buildUnnamed2280();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3493,7 +3493,7 @@
checkDirectorySiteContactsListResponse(api.DirectorySiteContactsListResponse o) {
buildCounterDirectorySiteContactsListResponse++;
if (buildCounterDirectorySiteContactsListResponse < 3) {
- checkUnnamed2175(o.directorySiteContacts);
+ checkUnnamed2280(o.directorySiteContacts);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3531,14 +3531,14 @@
buildCounterDirectorySiteSettings--;
}
-buildUnnamed2176() {
+buildUnnamed2281() {
var o = new core.List<api.DirectorySite>();
o.add(buildDirectorySite());
o.add(buildDirectorySite());
return o;
}
-checkUnnamed2176(core.List<api.DirectorySite> o) {
+checkUnnamed2281(core.List<api.DirectorySite> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySite(o[0]);
checkDirectorySite(o[1]);
@@ -3549,7 +3549,7 @@
var o = new api.DirectorySitesListResponse();
buildCounterDirectorySitesListResponse++;
if (buildCounterDirectorySitesListResponse < 3) {
- o.directorySites = buildUnnamed2176();
+ o.directorySites = buildUnnamed2281();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3560,7 +3560,7 @@
checkDirectorySitesListResponse(api.DirectorySitesListResponse o) {
buildCounterDirectorySitesListResponse++;
if (buildCounterDirectorySitesListResponse < 3) {
- checkUnnamed2176(o.directorySites);
+ checkUnnamed2281(o.directorySites);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3592,14 +3592,14 @@
buildCounterDynamicTargetingKey--;
}
-buildUnnamed2177() {
+buildUnnamed2282() {
var o = new core.List<api.DynamicTargetingKey>();
o.add(buildDynamicTargetingKey());
o.add(buildDynamicTargetingKey());
return o;
}
-checkUnnamed2177(core.List<api.DynamicTargetingKey> o) {
+checkUnnamed2282(core.List<api.DynamicTargetingKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkDynamicTargetingKey(o[0]);
checkDynamicTargetingKey(o[1]);
@@ -3610,7 +3610,7 @@
var o = new api.DynamicTargetingKeysListResponse();
buildCounterDynamicTargetingKeysListResponse++;
if (buildCounterDynamicTargetingKeysListResponse < 3) {
- o.dynamicTargetingKeys = buildUnnamed2177();
+ o.dynamicTargetingKeys = buildUnnamed2282();
o.kind = "foo";
}
buildCounterDynamicTargetingKeysListResponse--;
@@ -3620,7 +3620,7 @@
checkDynamicTargetingKeysListResponse(api.DynamicTargetingKeysListResponse o) {
buildCounterDynamicTargetingKeysListResponse++;
if (buildCounterDynamicTargetingKeysListResponse < 3) {
- checkUnnamed2177(o.dynamicTargetingKeys);
+ checkUnnamed2282(o.dynamicTargetingKeys);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDynamicTargetingKeysListResponse--;
@@ -3651,14 +3651,14 @@
buildCounterEncryptionInfo--;
}
-buildUnnamed2178() {
+buildUnnamed2283() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2178(core.List<core.String> o) {
+checkUnnamed2283(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3680,7 +3680,7 @@
o.kind = "foo";
o.name = "foo";
o.siteFilterType = "foo";
- o.siteIds = buildUnnamed2178();
+ o.siteIds = buildUnnamed2283();
o.sslCompliant = true;
o.status = "foo";
o.subaccountId = "foo";
@@ -3706,7 +3706,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.siteFilterType, unittest.equals('foo'));
- checkUnnamed2178(o.siteIds);
+ checkUnnamed2283(o.siteIds);
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subaccountId, unittest.equals('foo'));
@@ -3738,14 +3738,14 @@
buildCounterEventTagOverride--;
}
-buildUnnamed2179() {
+buildUnnamed2284() {
var o = new core.List<api.EventTag>();
o.add(buildEventTag());
o.add(buildEventTag());
return o;
}
-checkUnnamed2179(core.List<api.EventTag> o) {
+checkUnnamed2284(core.List<api.EventTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTag(o[0]);
checkEventTag(o[1]);
@@ -3756,7 +3756,7 @@
var o = new api.EventTagsListResponse();
buildCounterEventTagsListResponse++;
if (buildCounterEventTagsListResponse < 3) {
- o.eventTags = buildUnnamed2179();
+ o.eventTags = buildUnnamed2284();
o.kind = "foo";
}
buildCounterEventTagsListResponse--;
@@ -3766,7 +3766,7 @@
checkEventTagsListResponse(api.EventTagsListResponse o) {
buildCounterEventTagsListResponse++;
if (buildCounterEventTagsListResponse < 3) {
- checkUnnamed2179(o.eventTags);
+ checkUnnamed2284(o.eventTags);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEventTagsListResponse--;
@@ -3830,14 +3830,14 @@
buildCounterFile--;
}
-buildUnnamed2180() {
+buildUnnamed2285() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed2180(core.List<api.File> o) {
+checkUnnamed2285(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -3849,7 +3849,7 @@
buildCounterFileList++;
if (buildCounterFileList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2180();
+ o.items = buildUnnamed2285();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3861,7 +3861,7 @@
buildCounterFileList++;
if (buildCounterFileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2180(o.items);
+ checkUnnamed2285(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3914,14 +3914,14 @@
buildCounterFloodlightActivitiesGenerateTagResponse--;
}
-buildUnnamed2181() {
+buildUnnamed2286() {
var o = new core.List<api.FloodlightActivity>();
o.add(buildFloodlightActivity());
o.add(buildFloodlightActivity());
return o;
}
-checkUnnamed2181(core.List<api.FloodlightActivity> o) {
+checkUnnamed2286(core.List<api.FloodlightActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivity(o[0]);
checkFloodlightActivity(o[1]);
@@ -3932,7 +3932,7 @@
var o = new api.FloodlightActivitiesListResponse();
buildCounterFloodlightActivitiesListResponse++;
if (buildCounterFloodlightActivitiesListResponse < 3) {
- o.floodlightActivities = buildUnnamed2181();
+ o.floodlightActivities = buildUnnamed2286();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3943,47 +3943,47 @@
checkFloodlightActivitiesListResponse(api.FloodlightActivitiesListResponse o) {
buildCounterFloodlightActivitiesListResponse++;
if (buildCounterFloodlightActivitiesListResponse < 3) {
- checkUnnamed2181(o.floodlightActivities);
+ checkUnnamed2286(o.floodlightActivities);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterFloodlightActivitiesListResponse--;
}
-buildUnnamed2182() {
+buildUnnamed2287() {
var o = new core.List<api.FloodlightActivityDynamicTag>();
o.add(buildFloodlightActivityDynamicTag());
o.add(buildFloodlightActivityDynamicTag());
return o;
}
-checkUnnamed2182(core.List<api.FloodlightActivityDynamicTag> o) {
+checkUnnamed2287(core.List<api.FloodlightActivityDynamicTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityDynamicTag(o[0]);
checkFloodlightActivityDynamicTag(o[1]);
}
-buildUnnamed2183() {
+buildUnnamed2288() {
var o = new core.List<api.FloodlightActivityPublisherDynamicTag>();
o.add(buildFloodlightActivityPublisherDynamicTag());
o.add(buildFloodlightActivityPublisherDynamicTag());
return o;
}
-checkUnnamed2183(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
+checkUnnamed2288(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityPublisherDynamicTag(o[0]);
checkFloodlightActivityPublisherDynamicTag(o[1]);
}
-buildUnnamed2184() {
+buildUnnamed2289() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2184(core.List<core.String> o) {
+checkUnnamed2289(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3999,7 +3999,7 @@
o.advertiserIdDimensionValue = buildDimensionValue();
o.cacheBustingType = "foo";
o.countingMethod = "foo";
- o.defaultTags = buildUnnamed2182();
+ o.defaultTags = buildUnnamed2287();
o.expectedUrl = "foo";
o.floodlightActivityGroupId = "foo";
o.floodlightActivityGroupName = "foo";
@@ -4014,14 +4014,14 @@
o.kind = "foo";
o.name = "foo";
o.notes = "foo";
- o.publisherTags = buildUnnamed2183();
+ o.publisherTags = buildUnnamed2288();
o.secure = true;
o.sslCompliant = true;
o.sslRequired = true;
o.subaccountId = "foo";
o.tagFormat = "foo";
o.tagString = "foo";
- o.userDefinedVariableTypes = buildUnnamed2184();
+ o.userDefinedVariableTypes = buildUnnamed2289();
}
buildCounterFloodlightActivity--;
return o;
@@ -4035,7 +4035,7 @@
checkDimensionValue(o.advertiserIdDimensionValue);
unittest.expect(o.cacheBustingType, unittest.equals('foo'));
unittest.expect(o.countingMethod, unittest.equals('foo'));
- checkUnnamed2182(o.defaultTags);
+ checkUnnamed2287(o.defaultTags);
unittest.expect(o.expectedUrl, unittest.equals('foo'));
unittest.expect(o.floodlightActivityGroupId, unittest.equals('foo'));
unittest.expect(o.floodlightActivityGroupName, unittest.equals('foo'));
@@ -4050,14 +4050,14 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed2183(o.publisherTags);
+ checkUnnamed2288(o.publisherTags);
unittest.expect(o.secure, unittest.isTrue);
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.sslRequired, unittest.isTrue);
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.tagFormat, unittest.equals('foo'));
unittest.expect(o.tagString, unittest.equals('foo'));
- checkUnnamed2184(o.userDefinedVariableTypes);
+ checkUnnamed2289(o.userDefinedVariableTypes);
}
buildCounterFloodlightActivity--;
}
@@ -4126,14 +4126,14 @@
buildCounterFloodlightActivityGroup--;
}
-buildUnnamed2185() {
+buildUnnamed2290() {
var o = new core.List<api.FloodlightActivityGroup>();
o.add(buildFloodlightActivityGroup());
o.add(buildFloodlightActivityGroup());
return o;
}
-checkUnnamed2185(core.List<api.FloodlightActivityGroup> o) {
+checkUnnamed2290(core.List<api.FloodlightActivityGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityGroup(o[0]);
checkFloodlightActivityGroup(o[1]);
@@ -4144,7 +4144,7 @@
var o = new api.FloodlightActivityGroupsListResponse();
buildCounterFloodlightActivityGroupsListResponse++;
if (buildCounterFloodlightActivityGroupsListResponse < 3) {
- o.floodlightActivityGroups = buildUnnamed2185();
+ o.floodlightActivityGroups = buildUnnamed2290();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4155,7 +4155,7 @@
checkFloodlightActivityGroupsListResponse(api.FloodlightActivityGroupsListResponse o) {
buildCounterFloodlightActivityGroupsListResponse++;
if (buildCounterFloodlightActivityGroupsListResponse < 3) {
- checkUnnamed2185(o.floodlightActivityGroups);
+ checkUnnamed2290(o.floodlightActivityGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -4191,40 +4191,40 @@
buildCounterFloodlightActivityPublisherDynamicTag--;
}
-buildUnnamed2186() {
+buildUnnamed2291() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2186(core.List<core.String> o) {
+checkUnnamed2291(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2187() {
+buildUnnamed2292() {
var o = new core.List<api.ThirdPartyAuthenticationToken>();
o.add(buildThirdPartyAuthenticationToken());
o.add(buildThirdPartyAuthenticationToken());
return o;
}
-checkUnnamed2187(core.List<api.ThirdPartyAuthenticationToken> o) {
+checkUnnamed2292(core.List<api.ThirdPartyAuthenticationToken> o) {
unittest.expect(o, unittest.hasLength(2));
checkThirdPartyAuthenticationToken(o[0]);
checkThirdPartyAuthenticationToken(o[1]);
}
-buildUnnamed2188() {
+buildUnnamed2293() {
var o = new core.List<api.UserDefinedVariableConfiguration>();
o.add(buildUserDefinedVariableConfiguration());
o.add(buildUserDefinedVariableConfiguration());
return o;
}
-checkUnnamed2188(core.List<api.UserDefinedVariableConfiguration> o) {
+checkUnnamed2293(core.List<api.UserDefinedVariableConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedVariableConfiguration(o[0]);
checkUserDefinedVariableConfiguration(o[1]);
@@ -4248,11 +4248,11 @@
o.lookbackConfiguration = buildLookbackConfiguration();
o.naturalSearchConversionAttributionOption = "foo";
o.omnitureSettings = buildOmnitureSettings();
- o.standardVariableTypes = buildUnnamed2186();
+ o.standardVariableTypes = buildUnnamed2291();
o.subaccountId = "foo";
o.tagSettings = buildTagSettings();
- o.thirdPartyAuthenticationTokens = buildUnnamed2187();
- o.userDefinedVariableConfigurations = buildUnnamed2188();
+ o.thirdPartyAuthenticationTokens = buildUnnamed2292();
+ o.userDefinedVariableConfigurations = buildUnnamed2293();
}
buildCounterFloodlightConfiguration--;
return o;
@@ -4274,23 +4274,23 @@
checkLookbackConfiguration(o.lookbackConfiguration);
unittest.expect(o.naturalSearchConversionAttributionOption, unittest.equals('foo'));
checkOmnitureSettings(o.omnitureSettings);
- checkUnnamed2186(o.standardVariableTypes);
+ checkUnnamed2291(o.standardVariableTypes);
unittest.expect(o.subaccountId, unittest.equals('foo'));
checkTagSettings(o.tagSettings);
- checkUnnamed2187(o.thirdPartyAuthenticationTokens);
- checkUnnamed2188(o.userDefinedVariableConfigurations);
+ checkUnnamed2292(o.thirdPartyAuthenticationTokens);
+ checkUnnamed2293(o.userDefinedVariableConfigurations);
}
buildCounterFloodlightConfiguration--;
}
-buildUnnamed2189() {
+buildUnnamed2294() {
var o = new core.List<api.FloodlightConfiguration>();
o.add(buildFloodlightConfiguration());
o.add(buildFloodlightConfiguration());
return o;
}
-checkUnnamed2189(core.List<api.FloodlightConfiguration> o) {
+checkUnnamed2294(core.List<api.FloodlightConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightConfiguration(o[0]);
checkFloodlightConfiguration(o[1]);
@@ -4301,7 +4301,7 @@
var o = new api.FloodlightConfigurationsListResponse();
buildCounterFloodlightConfigurationsListResponse++;
if (buildCounterFloodlightConfigurationsListResponse < 3) {
- o.floodlightConfigurations = buildUnnamed2189();
+ o.floodlightConfigurations = buildUnnamed2294();
o.kind = "foo";
}
buildCounterFloodlightConfigurationsListResponse--;
@@ -4311,46 +4311,46 @@
checkFloodlightConfigurationsListResponse(api.FloodlightConfigurationsListResponse o) {
buildCounterFloodlightConfigurationsListResponse++;
if (buildCounterFloodlightConfigurationsListResponse < 3) {
- checkUnnamed2189(o.floodlightConfigurations);
+ checkUnnamed2294(o.floodlightConfigurations);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterFloodlightConfigurationsListResponse--;
}
-buildUnnamed2190() {
+buildUnnamed2295() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2190(core.List<api.Dimension> o) {
+checkUnnamed2295(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2191() {
+buildUnnamed2296() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2191(core.List<api.Dimension> o) {
+checkUnnamed2296(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2192() {
+buildUnnamed2297() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2192(core.List<api.Metric> o) {
+checkUnnamed2297(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -4361,10 +4361,10 @@
var o = new api.FloodlightReportCompatibleFields();
buildCounterFloodlightReportCompatibleFields++;
if (buildCounterFloodlightReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed2190();
- o.dimensions = buildUnnamed2191();
+ o.dimensionFilters = buildUnnamed2295();
+ o.dimensions = buildUnnamed2296();
o.kind = "foo";
- o.metrics = buildUnnamed2192();
+ o.metrics = buildUnnamed2297();
}
buildCounterFloodlightReportCompatibleFields--;
return o;
@@ -4373,10 +4373,10 @@
checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) {
buildCounterFloodlightReportCompatibleFields++;
if (buildCounterFloodlightReportCompatibleFields < 3) {
- checkUnnamed2190(o.dimensionFilters);
- checkUnnamed2191(o.dimensions);
+ checkUnnamed2295(o.dimensionFilters);
+ checkUnnamed2296(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2192(o.metrics);
+ checkUnnamed2297(o.metrics);
}
buildCounterFloodlightReportCompatibleFields--;
}
@@ -4429,66 +4429,66 @@
buildCounterFsCommand--;
}
-buildUnnamed2193() {
+buildUnnamed2298() {
var o = new core.List<api.City>();
o.add(buildCity());
o.add(buildCity());
return o;
}
-checkUnnamed2193(core.List<api.City> o) {
+checkUnnamed2298(core.List<api.City> o) {
unittest.expect(o, unittest.hasLength(2));
checkCity(o[0]);
checkCity(o[1]);
}
-buildUnnamed2194() {
+buildUnnamed2299() {
var o = new core.List<api.Country>();
o.add(buildCountry());
o.add(buildCountry());
return o;
}
-checkUnnamed2194(core.List<api.Country> o) {
+checkUnnamed2299(core.List<api.Country> o) {
unittest.expect(o, unittest.hasLength(2));
checkCountry(o[0]);
checkCountry(o[1]);
}
-buildUnnamed2195() {
+buildUnnamed2300() {
var o = new core.List<api.Metro>();
o.add(buildMetro());
o.add(buildMetro());
return o;
}
-checkUnnamed2195(core.List<api.Metro> o) {
+checkUnnamed2300(core.List<api.Metro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetro(o[0]);
checkMetro(o[1]);
}
-buildUnnamed2196() {
+buildUnnamed2301() {
var o = new core.List<api.PostalCode>();
o.add(buildPostalCode());
o.add(buildPostalCode());
return o;
}
-checkUnnamed2196(core.List<api.PostalCode> o) {
+checkUnnamed2301(core.List<api.PostalCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCode(o[0]);
checkPostalCode(o[1]);
}
-buildUnnamed2197() {
+buildUnnamed2302() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed2197(core.List<api.Region> o) {
+checkUnnamed2302(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -4499,12 +4499,12 @@
var o = new api.GeoTargeting();
buildCounterGeoTargeting++;
if (buildCounterGeoTargeting < 3) {
- o.cities = buildUnnamed2193();
- o.countries = buildUnnamed2194();
+ o.cities = buildUnnamed2298();
+ o.countries = buildUnnamed2299();
o.excludeCountries = true;
- o.metros = buildUnnamed2195();
- o.postalCodes = buildUnnamed2196();
- o.regions = buildUnnamed2197();
+ o.metros = buildUnnamed2300();
+ o.postalCodes = buildUnnamed2301();
+ o.regions = buildUnnamed2302();
}
buildCounterGeoTargeting--;
return o;
@@ -4513,24 +4513,24 @@
checkGeoTargeting(api.GeoTargeting o) {
buildCounterGeoTargeting++;
if (buildCounterGeoTargeting < 3) {
- checkUnnamed2193(o.cities);
- checkUnnamed2194(o.countries);
+ checkUnnamed2298(o.cities);
+ checkUnnamed2299(o.countries);
unittest.expect(o.excludeCountries, unittest.isTrue);
- checkUnnamed2195(o.metros);
- checkUnnamed2196(o.postalCodes);
- checkUnnamed2197(o.regions);
+ checkUnnamed2300(o.metros);
+ checkUnnamed2301(o.postalCodes);
+ checkUnnamed2302(o.regions);
}
buildCounterGeoTargeting--;
}
-buildUnnamed2198() {
+buildUnnamed2303() {
var o = new core.List<api.AdSlot>();
o.add(buildAdSlot());
o.add(buildAdSlot());
return o;
}
-checkUnnamed2198(core.List<api.AdSlot> o) {
+checkUnnamed2303(core.List<api.AdSlot> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdSlot(o[0]);
checkAdSlot(o[1]);
@@ -4542,7 +4542,7 @@
buildCounterInventoryItem++;
if (buildCounterInventoryItem < 3) {
o.accountId = "foo";
- o.adSlots = buildUnnamed2198();
+ o.adSlots = buildUnnamed2303();
o.advertiserId = "foo";
o.contentCategoryId = "foo";
o.estimatedClickThroughRate = "foo";
@@ -4570,7 +4570,7 @@
buildCounterInventoryItem++;
if (buildCounterInventoryItem < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed2198(o.adSlots);
+ checkUnnamed2303(o.adSlots);
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.contentCategoryId, unittest.equals('foo'));
unittest.expect(o.estimatedClickThroughRate, unittest.equals('foo'));
@@ -4593,14 +4593,14 @@
buildCounterInventoryItem--;
}
-buildUnnamed2199() {
+buildUnnamed2304() {
var o = new core.List<api.InventoryItem>();
o.add(buildInventoryItem());
o.add(buildInventoryItem());
return o;
}
-checkUnnamed2199(core.List<api.InventoryItem> o) {
+checkUnnamed2304(core.List<api.InventoryItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkInventoryItem(o[0]);
checkInventoryItem(o[1]);
@@ -4611,7 +4611,7 @@
var o = new api.InventoryItemsListResponse();
buildCounterInventoryItemsListResponse++;
if (buildCounterInventoryItemsListResponse < 3) {
- o.inventoryItems = buildUnnamed2199();
+ o.inventoryItems = buildUnnamed2304();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4622,7 +4622,7 @@
checkInventoryItemsListResponse(api.InventoryItemsListResponse o) {
buildCounterInventoryItemsListResponse++;
if (buildCounterInventoryItemsListResponse < 3) {
- checkUnnamed2199(o.inventoryItems);
+ checkUnnamed2304(o.inventoryItems);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -4675,14 +4675,14 @@
buildCounterLandingPage--;
}
-buildUnnamed2200() {
+buildUnnamed2305() {
var o = new core.List<api.LandingPage>();
o.add(buildLandingPage());
o.add(buildLandingPage());
return o;
}
-checkUnnamed2200(core.List<api.LandingPage> o) {
+checkUnnamed2305(core.List<api.LandingPage> o) {
unittest.expect(o, unittest.hasLength(2));
checkLandingPage(o[0]);
checkLandingPage(o[1]);
@@ -4694,7 +4694,7 @@
buildCounterLandingPagesListResponse++;
if (buildCounterLandingPagesListResponse < 3) {
o.kind = "foo";
- o.landingPages = buildUnnamed2200();
+ o.landingPages = buildUnnamed2305();
}
buildCounterLandingPagesListResponse--;
return o;
@@ -4704,7 +4704,7 @@
buildCounterLandingPagesListResponse++;
if (buildCounterLandingPagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2200(o.landingPages);
+ checkUnnamed2305(o.landingPages);
}
buildCounterLandingPagesListResponse--;
}
@@ -4734,14 +4734,14 @@
buildCounterLanguage--;
}
-buildUnnamed2201() {
+buildUnnamed2306() {
var o = new core.List<api.Language>();
o.add(buildLanguage());
o.add(buildLanguage());
return o;
}
-checkUnnamed2201(core.List<api.Language> o) {
+checkUnnamed2306(core.List<api.Language> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguage(o[0]);
checkLanguage(o[1]);
@@ -4752,7 +4752,7 @@
var o = new api.LanguageTargeting();
buildCounterLanguageTargeting++;
if (buildCounterLanguageTargeting < 3) {
- o.languages = buildUnnamed2201();
+ o.languages = buildUnnamed2306();
}
buildCounterLanguageTargeting--;
return o;
@@ -4761,19 +4761,19 @@
checkLanguageTargeting(api.LanguageTargeting o) {
buildCounterLanguageTargeting++;
if (buildCounterLanguageTargeting < 3) {
- checkUnnamed2201(o.languages);
+ checkUnnamed2306(o.languages);
}
buildCounterLanguageTargeting--;
}
-buildUnnamed2202() {
+buildUnnamed2307() {
var o = new core.List<api.Language>();
o.add(buildLanguage());
o.add(buildLanguage());
return o;
}
-checkUnnamed2202(core.List<api.Language> o) {
+checkUnnamed2307(core.List<api.Language> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguage(o[0]);
checkLanguage(o[1]);
@@ -4785,7 +4785,7 @@
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
o.kind = "foo";
- o.languages = buildUnnamed2202();
+ o.languages = buildUnnamed2307();
}
buildCounterLanguagesListResponse--;
return o;
@@ -4795,7 +4795,7 @@
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2202(o.languages);
+ checkUnnamed2307(o.languages);
}
buildCounterLanguagesListResponse--;
}
@@ -4819,14 +4819,14 @@
buildCounterLastModifiedInfo--;
}
-buildUnnamed2203() {
+buildUnnamed2308() {
var o = new core.List<api.ListPopulationTerm>();
o.add(buildListPopulationTerm());
o.add(buildListPopulationTerm());
return o;
}
-checkUnnamed2203(core.List<api.ListPopulationTerm> o) {
+checkUnnamed2308(core.List<api.ListPopulationTerm> o) {
unittest.expect(o, unittest.hasLength(2));
checkListPopulationTerm(o[0]);
checkListPopulationTerm(o[1]);
@@ -4837,7 +4837,7 @@
var o = new api.ListPopulationClause();
buildCounterListPopulationClause++;
if (buildCounterListPopulationClause < 3) {
- o.terms = buildUnnamed2203();
+ o.terms = buildUnnamed2308();
}
buildCounterListPopulationClause--;
return o;
@@ -4846,19 +4846,19 @@
checkListPopulationClause(api.ListPopulationClause o) {
buildCounterListPopulationClause++;
if (buildCounterListPopulationClause < 3) {
- checkUnnamed2203(o.terms);
+ checkUnnamed2308(o.terms);
}
buildCounterListPopulationClause--;
}
-buildUnnamed2204() {
+buildUnnamed2309() {
var o = new core.List<api.ListPopulationClause>();
o.add(buildListPopulationClause());
o.add(buildListPopulationClause());
return o;
}
-checkUnnamed2204(core.List<api.ListPopulationClause> o) {
+checkUnnamed2309(core.List<api.ListPopulationClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkListPopulationClause(o[0]);
checkListPopulationClause(o[1]);
@@ -4871,7 +4871,7 @@
if (buildCounterListPopulationRule < 3) {
o.floodlightActivityId = "foo";
o.floodlightActivityName = "foo";
- o.listPopulationClauses = buildUnnamed2204();
+ o.listPopulationClauses = buildUnnamed2309();
}
buildCounterListPopulationRule--;
return o;
@@ -4882,7 +4882,7 @@
if (buildCounterListPopulationRule < 3) {
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
unittest.expect(o.floodlightActivityName, unittest.equals('foo'));
- checkUnnamed2204(o.listPopulationClauses);
+ checkUnnamed2309(o.listPopulationClauses);
}
buildCounterListPopulationRule--;
}
@@ -5012,14 +5012,14 @@
buildCounterMetro--;
}
-buildUnnamed2205() {
+buildUnnamed2310() {
var o = new core.List<api.Metro>();
o.add(buildMetro());
o.add(buildMetro());
return o;
}
-checkUnnamed2205(core.List<api.Metro> o) {
+checkUnnamed2310(core.List<api.Metro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetro(o[0]);
checkMetro(o[1]);
@@ -5031,7 +5031,7 @@
buildCounterMetrosListResponse++;
if (buildCounterMetrosListResponse < 3) {
o.kind = "foo";
- o.metros = buildUnnamed2205();
+ o.metros = buildUnnamed2310();
}
buildCounterMetrosListResponse--;
return o;
@@ -5041,7 +5041,7 @@
buildCounterMetrosListResponse++;
if (buildCounterMetrosListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2205(o.metros);
+ checkUnnamed2310(o.metros);
}
buildCounterMetrosListResponse--;
}
@@ -5073,14 +5073,14 @@
buildCounterMobileCarrier--;
}
-buildUnnamed2206() {
+buildUnnamed2311() {
var o = new core.List<api.MobileCarrier>();
o.add(buildMobileCarrier());
o.add(buildMobileCarrier());
return o;
}
-checkUnnamed2206(core.List<api.MobileCarrier> o) {
+checkUnnamed2311(core.List<api.MobileCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileCarrier(o[0]);
checkMobileCarrier(o[1]);
@@ -5092,7 +5092,7 @@
buildCounterMobileCarriersListResponse++;
if (buildCounterMobileCarriersListResponse < 3) {
o.kind = "foo";
- o.mobileCarriers = buildUnnamed2206();
+ o.mobileCarriers = buildUnnamed2311();
}
buildCounterMobileCarriersListResponse--;
return o;
@@ -5102,19 +5102,19 @@
buildCounterMobileCarriersListResponse++;
if (buildCounterMobileCarriersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2206(o.mobileCarriers);
+ checkUnnamed2311(o.mobileCarriers);
}
buildCounterMobileCarriersListResponse--;
}
-buildUnnamed2207() {
+buildUnnamed2312() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2207(core.List<core.String> o) {
+checkUnnamed2312(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5126,7 +5126,7 @@
buildCounterObjectFilter++;
if (buildCounterObjectFilter < 3) {
o.kind = "foo";
- o.objectIds = buildUnnamed2207();
+ o.objectIds = buildUnnamed2312();
o.status = "foo";
}
buildCounterObjectFilter--;
@@ -5137,7 +5137,7 @@
buildCounterObjectFilter++;
if (buildCounterObjectFilter < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2207(o.objectIds);
+ checkUnnamed2312(o.objectIds);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterObjectFilter--;
@@ -5241,14 +5241,14 @@
buildCounterOperatingSystemVersion--;
}
-buildUnnamed2208() {
+buildUnnamed2313() {
var o = new core.List<api.OperatingSystemVersion>();
o.add(buildOperatingSystemVersion());
o.add(buildOperatingSystemVersion());
return o;
}
-checkUnnamed2208(core.List<api.OperatingSystemVersion> o) {
+checkUnnamed2313(core.List<api.OperatingSystemVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystemVersion(o[0]);
checkOperatingSystemVersion(o[1]);
@@ -5260,7 +5260,7 @@
buildCounterOperatingSystemVersionsListResponse++;
if (buildCounterOperatingSystemVersionsListResponse < 3) {
o.kind = "foo";
- o.operatingSystemVersions = buildUnnamed2208();
+ o.operatingSystemVersions = buildUnnamed2313();
}
buildCounterOperatingSystemVersionsListResponse--;
return o;
@@ -5270,19 +5270,19 @@
buildCounterOperatingSystemVersionsListResponse++;
if (buildCounterOperatingSystemVersionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2208(o.operatingSystemVersions);
+ checkUnnamed2313(o.operatingSystemVersions);
}
buildCounterOperatingSystemVersionsListResponse--;
}
-buildUnnamed2209() {
+buildUnnamed2314() {
var o = new core.List<api.OperatingSystem>();
o.add(buildOperatingSystem());
o.add(buildOperatingSystem());
return o;
}
-checkUnnamed2209(core.List<api.OperatingSystem> o) {
+checkUnnamed2314(core.List<api.OperatingSystem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystem(o[0]);
checkOperatingSystem(o[1]);
@@ -5294,7 +5294,7 @@
buildCounterOperatingSystemsListResponse++;
if (buildCounterOperatingSystemsListResponse < 3) {
o.kind = "foo";
- o.operatingSystems = buildUnnamed2209();
+ o.operatingSystems = buildUnnamed2314();
}
buildCounterOperatingSystemsListResponse--;
return o;
@@ -5304,7 +5304,7 @@
buildCounterOperatingSystemsListResponse++;
if (buildCounterOperatingSystemsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2209(o.operatingSystems);
+ checkUnnamed2314(o.operatingSystems);
}
buildCounterOperatingSystemsListResponse--;
}
@@ -5332,53 +5332,53 @@
buildCounterOptimizationActivity--;
}
-buildUnnamed2210() {
+buildUnnamed2315() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2210(core.List<core.String> o) {
+checkUnnamed2315(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2211() {
+buildUnnamed2316() {
var o = new core.List<api.OrderContact>();
o.add(buildOrderContact());
o.add(buildOrderContact());
return o;
}
-checkUnnamed2211(core.List<api.OrderContact> o) {
+checkUnnamed2316(core.List<api.OrderContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderContact(o[0]);
checkOrderContact(o[1]);
}
-buildUnnamed2212() {
+buildUnnamed2317() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2212(core.List<core.String> o) {
+checkUnnamed2317(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2213() {
+buildUnnamed2318() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2213(core.List<core.String> o) {
+checkUnnamed2318(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5391,11 +5391,11 @@
if (buildCounterOrder < 3) {
o.accountId = "foo";
o.advertiserId = "foo";
- o.approverUserProfileIds = buildUnnamed2210();
+ o.approverUserProfileIds = buildUnnamed2315();
o.buyerInvoiceId = "foo";
o.buyerOrganizationName = "foo";
o.comments = "foo";
- o.contacts = buildUnnamed2211();
+ o.contacts = buildUnnamed2316();
o.id = "foo";
o.kind = "foo";
o.lastModifiedInfo = buildLastModifiedInfo();
@@ -5405,8 +5405,8 @@
o.projectId = "foo";
o.sellerOrderId = "foo";
o.sellerOrganizationName = "foo";
- o.siteId = buildUnnamed2212();
- o.siteNames = buildUnnamed2213();
+ o.siteId = buildUnnamed2317();
+ o.siteNames = buildUnnamed2318();
o.subaccountId = "foo";
o.termsAndConditions = "foo";
}
@@ -5419,11 +5419,11 @@
if (buildCounterOrder < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
- checkUnnamed2210(o.approverUserProfileIds);
+ checkUnnamed2315(o.approverUserProfileIds);
unittest.expect(o.buyerInvoiceId, unittest.equals('foo'));
unittest.expect(o.buyerOrganizationName, unittest.equals('foo'));
unittest.expect(o.comments, unittest.equals('foo'));
- checkUnnamed2211(o.contacts);
+ checkUnnamed2316(o.contacts);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkLastModifiedInfo(o.lastModifiedInfo);
@@ -5433,8 +5433,8 @@
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.sellerOrderId, unittest.equals('foo'));
unittest.expect(o.sellerOrganizationName, unittest.equals('foo'));
- checkUnnamed2212(o.siteId);
- checkUnnamed2213(o.siteNames);
+ checkUnnamed2317(o.siteId);
+ checkUnnamed2318(o.siteNames);
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.termsAndConditions, unittest.equals('foo'));
}
@@ -5468,27 +5468,27 @@
buildCounterOrderContact--;
}
-buildUnnamed2214() {
+buildUnnamed2319() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2214(core.List<core.String> o) {
+checkUnnamed2319(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2215() {
+buildUnnamed2320() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2215(core.List<core.String> o) {
+checkUnnamed2320(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5502,13 +5502,13 @@
o.accountId = "foo";
o.advertiserId = "foo";
o.amendedOrderDocumentId = "foo";
- o.approvedByUserProfileIds = buildUnnamed2214();
+ o.approvedByUserProfileIds = buildUnnamed2319();
o.cancelled = true;
o.createdInfo = buildLastModifiedInfo();
o.effectiveDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.id = "foo";
o.kind = "foo";
- o.lastSentRecipients = buildUnnamed2215();
+ o.lastSentRecipients = buildUnnamed2320();
o.lastSentTime = core.DateTime.parse("2002-02-27T14:01:02");
o.orderId = "foo";
o.projectId = "foo";
@@ -5527,13 +5527,13 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.amendedOrderDocumentId, unittest.equals('foo'));
- checkUnnamed2214(o.approvedByUserProfileIds);
+ checkUnnamed2319(o.approvedByUserProfileIds);
unittest.expect(o.cancelled, unittest.isTrue);
checkLastModifiedInfo(o.createdInfo);
unittest.expect(o.effectiveDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2215(o.lastSentRecipients);
+ checkUnnamed2320(o.lastSentRecipients);
unittest.expect(o.lastSentTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.orderId, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
@@ -5545,14 +5545,14 @@
buildCounterOrderDocument--;
}
-buildUnnamed2216() {
+buildUnnamed2321() {
var o = new core.List<api.OrderDocument>();
o.add(buildOrderDocument());
o.add(buildOrderDocument());
return o;
}
-checkUnnamed2216(core.List<api.OrderDocument> o) {
+checkUnnamed2321(core.List<api.OrderDocument> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderDocument(o[0]);
checkOrderDocument(o[1]);
@@ -5565,7 +5565,7 @@
if (buildCounterOrderDocumentsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.orderDocuments = buildUnnamed2216();
+ o.orderDocuments = buildUnnamed2321();
}
buildCounterOrderDocumentsListResponse--;
return o;
@@ -5576,19 +5576,19 @@
if (buildCounterOrderDocumentsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2216(o.orderDocuments);
+ checkUnnamed2321(o.orderDocuments);
}
buildCounterOrderDocumentsListResponse--;
}
-buildUnnamed2217() {
+buildUnnamed2322() {
var o = new core.List<api.Order>();
o.add(buildOrder());
o.add(buildOrder());
return o;
}
-checkUnnamed2217(core.List<api.Order> o) {
+checkUnnamed2322(core.List<api.Order> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrder(o[0]);
checkOrder(o[1]);
@@ -5601,7 +5601,7 @@
if (buildCounterOrdersListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.orders = buildUnnamed2217();
+ o.orders = buildUnnamed2322();
}
buildCounterOrdersListResponse--;
return o;
@@ -5612,58 +5612,58 @@
if (buildCounterOrdersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2217(o.orders);
+ checkUnnamed2322(o.orders);
}
buildCounterOrdersListResponse--;
}
-buildUnnamed2218() {
+buildUnnamed2323() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2218(core.List<api.Dimension> o) {
+checkUnnamed2323(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2219() {
+buildUnnamed2324() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2219(core.List<api.Dimension> o) {
+checkUnnamed2324(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2220() {
+buildUnnamed2325() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2220(core.List<api.Metric> o) {
+checkUnnamed2325(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2221() {
+buildUnnamed2326() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2221(core.List<api.Dimension> o) {
+checkUnnamed2326(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
@@ -5674,11 +5674,11 @@
var o = new api.PathToConversionReportCompatibleFields();
buildCounterPathToConversionReportCompatibleFields++;
if (buildCounterPathToConversionReportCompatibleFields < 3) {
- o.conversionDimensions = buildUnnamed2218();
- o.customFloodlightVariables = buildUnnamed2219();
+ o.conversionDimensions = buildUnnamed2323();
+ o.customFloodlightVariables = buildUnnamed2324();
o.kind = "foo";
- o.metrics = buildUnnamed2220();
- o.perInteractionDimensions = buildUnnamed2221();
+ o.metrics = buildUnnamed2325();
+ o.perInteractionDimensions = buildUnnamed2326();
}
buildCounterPathToConversionReportCompatibleFields--;
return o;
@@ -5687,23 +5687,23 @@
checkPathToConversionReportCompatibleFields(api.PathToConversionReportCompatibleFields o) {
buildCounterPathToConversionReportCompatibleFields++;
if (buildCounterPathToConversionReportCompatibleFields < 3) {
- checkUnnamed2218(o.conversionDimensions);
- checkUnnamed2219(o.customFloodlightVariables);
+ checkUnnamed2323(o.conversionDimensions);
+ checkUnnamed2324(o.customFloodlightVariables);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2220(o.metrics);
- checkUnnamed2221(o.perInteractionDimensions);
+ checkUnnamed2325(o.metrics);
+ checkUnnamed2326(o.perInteractionDimensions);
}
buildCounterPathToConversionReportCompatibleFields--;
}
-buildUnnamed2222() {
+buildUnnamed2327() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2222(core.List<core.String> o) {
+checkUnnamed2327(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5748,7 +5748,7 @@
o.sslRequired = true;
o.status = "foo";
o.subaccountId = "foo";
- o.tagFormats = buildUnnamed2222();
+ o.tagFormats = buildUnnamed2327();
o.tagSetting = buildTagSetting();
o.videoActiveViewOptOut = true;
o.videoSettings = buildVideoSettings();
@@ -5795,7 +5795,7 @@
unittest.expect(o.sslRequired, unittest.isTrue);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subaccountId, unittest.equals('foo'));
- checkUnnamed2222(o.tagFormats);
+ checkUnnamed2327(o.tagFormats);
checkTagSetting(o.tagSetting);
unittest.expect(o.videoActiveViewOptOut, unittest.isTrue);
checkVideoSettings(o.videoSettings);
@@ -5829,14 +5829,14 @@
buildCounterPlacementAssignment--;
}
-buildUnnamed2223() {
+buildUnnamed2328() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2223(core.List<core.String> o) {
+checkUnnamed2328(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5853,7 +5853,7 @@
o.archived = true;
o.campaignId = "foo";
o.campaignIdDimensionValue = buildDimensionValue();
- o.childPlacementIds = buildUnnamed2223();
+ o.childPlacementIds = buildUnnamed2328();
o.comment = "foo";
o.contentCategoryId = "foo";
o.createInfo = buildLastModifiedInfo();
@@ -5887,7 +5887,7 @@
unittest.expect(o.archived, unittest.isTrue);
unittest.expect(o.campaignId, unittest.equals('foo'));
checkDimensionValue(o.campaignIdDimensionValue);
- checkUnnamed2223(o.childPlacementIds);
+ checkUnnamed2328(o.childPlacementIds);
unittest.expect(o.comment, unittest.equals('foo'));
unittest.expect(o.contentCategoryId, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
@@ -5911,14 +5911,14 @@
buildCounterPlacementGroup--;
}
-buildUnnamed2224() {
+buildUnnamed2329() {
var o = new core.List<api.PlacementGroup>();
o.add(buildPlacementGroup());
o.add(buildPlacementGroup());
return o;
}
-checkUnnamed2224(core.List<api.PlacementGroup> o) {
+checkUnnamed2329(core.List<api.PlacementGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementGroup(o[0]);
checkPlacementGroup(o[1]);
@@ -5931,7 +5931,7 @@
if (buildCounterPlacementGroupsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placementGroups = buildUnnamed2224();
+ o.placementGroups = buildUnnamed2329();
}
buildCounterPlacementGroupsListResponse--;
return o;
@@ -5942,19 +5942,19 @@
if (buildCounterPlacementGroupsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2224(o.placementGroups);
+ checkUnnamed2329(o.placementGroups);
}
buildCounterPlacementGroupsListResponse--;
}
-buildUnnamed2225() {
+buildUnnamed2330() {
var o = new core.List<api.PlacementStrategy>();
o.add(buildPlacementStrategy());
o.add(buildPlacementStrategy());
return o;
}
-checkUnnamed2225(core.List<api.PlacementStrategy> o) {
+checkUnnamed2330(core.List<api.PlacementStrategy> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementStrategy(o[0]);
checkPlacementStrategy(o[1]);
@@ -5967,7 +5967,7 @@
if (buildCounterPlacementStrategiesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placementStrategies = buildUnnamed2225();
+ o.placementStrategies = buildUnnamed2330();
}
buildCounterPlacementStrategiesListResponse--;
return o;
@@ -5978,7 +5978,7 @@
if (buildCounterPlacementStrategiesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2225(o.placementStrategies);
+ checkUnnamed2330(o.placementStrategies);
}
buildCounterPlacementStrategiesListResponse--;
}
@@ -6008,14 +6008,14 @@
buildCounterPlacementStrategy--;
}
-buildUnnamed2226() {
+buildUnnamed2331() {
var o = new core.List<api.TagData>();
o.add(buildTagData());
o.add(buildTagData());
return o;
}
-checkUnnamed2226(core.List<api.TagData> o) {
+checkUnnamed2331(core.List<api.TagData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTagData(o[0]);
checkTagData(o[1]);
@@ -6027,7 +6027,7 @@
buildCounterPlacementTag++;
if (buildCounterPlacementTag < 3) {
o.placementId = "foo";
- o.tagDatas = buildUnnamed2226();
+ o.tagDatas = buildUnnamed2331();
}
buildCounterPlacementTag--;
return o;
@@ -6037,19 +6037,19 @@
buildCounterPlacementTag++;
if (buildCounterPlacementTag < 3) {
unittest.expect(o.placementId, unittest.equals('foo'));
- checkUnnamed2226(o.tagDatas);
+ checkUnnamed2331(o.tagDatas);
}
buildCounterPlacementTag--;
}
-buildUnnamed2227() {
+buildUnnamed2332() {
var o = new core.List<api.PlacementTag>();
o.add(buildPlacementTag());
o.add(buildPlacementTag());
return o;
}
-checkUnnamed2227(core.List<api.PlacementTag> o) {
+checkUnnamed2332(core.List<api.PlacementTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementTag(o[0]);
checkPlacementTag(o[1]);
@@ -6061,7 +6061,7 @@
buildCounterPlacementsGenerateTagsResponse++;
if (buildCounterPlacementsGenerateTagsResponse < 3) {
o.kind = "foo";
- o.placementTags = buildUnnamed2227();
+ o.placementTags = buildUnnamed2332();
}
buildCounterPlacementsGenerateTagsResponse--;
return o;
@@ -6071,19 +6071,19 @@
buildCounterPlacementsGenerateTagsResponse++;
if (buildCounterPlacementsGenerateTagsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2227(o.placementTags);
+ checkUnnamed2332(o.placementTags);
}
buildCounterPlacementsGenerateTagsResponse--;
}
-buildUnnamed2228() {
+buildUnnamed2333() {
var o = new core.List<api.Placement>();
o.add(buildPlacement());
o.add(buildPlacement());
return o;
}
-checkUnnamed2228(core.List<api.Placement> o) {
+checkUnnamed2333(core.List<api.Placement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacement(o[0]);
checkPlacement(o[1]);
@@ -6096,7 +6096,7 @@
if (buildCounterPlacementsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placements = buildUnnamed2228();
+ o.placements = buildUnnamed2333();
}
buildCounterPlacementsListResponse--;
return o;
@@ -6107,7 +6107,7 @@
if (buildCounterPlacementsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2228(o.placements);
+ checkUnnamed2333(o.placements);
}
buildCounterPlacementsListResponse--;
}
@@ -6135,14 +6135,14 @@
buildCounterPlatformType--;
}
-buildUnnamed2229() {
+buildUnnamed2334() {
var o = new core.List<api.PlatformType>();
o.add(buildPlatformType());
o.add(buildPlatformType());
return o;
}
-checkUnnamed2229(core.List<api.PlatformType> o) {
+checkUnnamed2334(core.List<api.PlatformType> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlatformType(o[0]);
checkPlatformType(o[1]);
@@ -6154,7 +6154,7 @@
buildCounterPlatformTypesListResponse++;
if (buildCounterPlatformTypesListResponse < 3) {
o.kind = "foo";
- o.platformTypes = buildUnnamed2229();
+ o.platformTypes = buildUnnamed2334();
}
buildCounterPlatformTypesListResponse--;
return o;
@@ -6164,7 +6164,7 @@
buildCounterPlatformTypesListResponse++;
if (buildCounterPlatformTypesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2229(o.platformTypes);
+ checkUnnamed2334(o.platformTypes);
}
buildCounterPlatformTypesListResponse--;
}
@@ -6231,14 +6231,14 @@
buildCounterPostalCode--;
}
-buildUnnamed2230() {
+buildUnnamed2335() {
var o = new core.List<api.PostalCode>();
o.add(buildPostalCode());
o.add(buildPostalCode());
return o;
}
-checkUnnamed2230(core.List<api.PostalCode> o) {
+checkUnnamed2335(core.List<api.PostalCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCode(o[0]);
checkPostalCode(o[1]);
@@ -6250,7 +6250,7 @@
buildCounterPostalCodesListResponse++;
if (buildCounterPostalCodesListResponse < 3) {
o.kind = "foo";
- o.postalCodes = buildUnnamed2230();
+ o.postalCodes = buildUnnamed2335();
}
buildCounterPostalCodesListResponse--;
return o;
@@ -6260,19 +6260,19 @@
buildCounterPostalCodesListResponse++;
if (buildCounterPostalCodesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2230(o.postalCodes);
+ checkUnnamed2335(o.postalCodes);
}
buildCounterPostalCodesListResponse--;
}
-buildUnnamed2231() {
+buildUnnamed2336() {
var o = new core.List<api.Flight>();
o.add(buildFlight());
o.add(buildFlight());
return o;
}
-checkUnnamed2231(core.List<api.Flight> o) {
+checkUnnamed2336(core.List<api.Flight> o) {
unittest.expect(o, unittest.hasLength(2));
checkFlight(o[0]);
checkFlight(o[1]);
@@ -6285,7 +6285,7 @@
if (buildCounterPricing < 3) {
o.capCostType = "foo";
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.flights = buildUnnamed2231();
+ o.flights = buildUnnamed2336();
o.groupType = "foo";
o.pricingType = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
@@ -6299,7 +6299,7 @@
if (buildCounterPricing < 3) {
unittest.expect(o.capCostType, unittest.equals('foo'));
unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed2231(o.flights);
+ checkUnnamed2336(o.flights);
unittest.expect(o.groupType, unittest.equals('foo'));
unittest.expect(o.pricingType, unittest.equals('foo'));
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -6307,14 +6307,14 @@
buildCounterPricing--;
}
-buildUnnamed2232() {
+buildUnnamed2337() {
var o = new core.List<api.PricingSchedulePricingPeriod>();
o.add(buildPricingSchedulePricingPeriod());
o.add(buildPricingSchedulePricingPeriod());
return o;
}
-checkUnnamed2232(core.List<api.PricingSchedulePricingPeriod> o) {
+checkUnnamed2337(core.List<api.PricingSchedulePricingPeriod> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricingSchedulePricingPeriod(o[0]);
checkPricingSchedulePricingPeriod(o[1]);
@@ -6330,7 +6330,7 @@
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.flighted = true;
o.floodlightActivityId = "foo";
- o.pricingPeriods = buildUnnamed2232();
+ o.pricingPeriods = buildUnnamed2337();
o.pricingType = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.testingStartDate = core.DateTime.parse("2002-02-27T14:01:02Z");
@@ -6347,7 +6347,7 @@
unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.flighted, unittest.isTrue);
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
- checkUnnamed2232(o.pricingPeriods);
+ checkUnnamed2337(o.pricingPeriods);
unittest.expect(o.pricingType, unittest.equals('foo'));
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.testingStartDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -6443,14 +6443,14 @@
buildCounterProject--;
}
-buildUnnamed2233() {
+buildUnnamed2338() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed2233(core.List<api.Project> o) {
+checkUnnamed2338(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -6463,7 +6463,7 @@
if (buildCounterProjectsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.projects = buildUnnamed2233();
+ o.projects = buildUnnamed2338();
}
buildCounterProjectsListResponse--;
return o;
@@ -6474,71 +6474,71 @@
if (buildCounterProjectsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2233(o.projects);
+ checkUnnamed2338(o.projects);
}
buildCounterProjectsListResponse--;
}
-buildUnnamed2234() {
+buildUnnamed2339() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2234(core.List<api.Dimension> o) {
+checkUnnamed2339(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2235() {
+buildUnnamed2340() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2235(core.List<api.Dimension> o) {
+checkUnnamed2340(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2236() {
+buildUnnamed2341() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2236(core.List<api.Metric> o) {
+checkUnnamed2341(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2237() {
+buildUnnamed2342() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2237(core.List<api.Metric> o) {
+checkUnnamed2342(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2238() {
+buildUnnamed2343() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2238(core.List<api.Metric> o) {
+checkUnnamed2343(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -6549,12 +6549,12 @@
var o = new api.ReachReportCompatibleFields();
buildCounterReachReportCompatibleFields++;
if (buildCounterReachReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed2234();
- o.dimensions = buildUnnamed2235();
+ o.dimensionFilters = buildUnnamed2339();
+ o.dimensions = buildUnnamed2340();
o.kind = "foo";
- o.metrics = buildUnnamed2236();
- o.pivotedActivityMetrics = buildUnnamed2237();
- o.reachByFrequencyMetrics = buildUnnamed2238();
+ o.metrics = buildUnnamed2341();
+ o.pivotedActivityMetrics = buildUnnamed2342();
+ o.reachByFrequencyMetrics = buildUnnamed2343();
}
buildCounterReachReportCompatibleFields--;
return o;
@@ -6563,12 +6563,12 @@
checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) {
buildCounterReachReportCompatibleFields++;
if (buildCounterReachReportCompatibleFields < 3) {
- checkUnnamed2234(o.dimensionFilters);
- checkUnnamed2235(o.dimensions);
+ checkUnnamed2339(o.dimensionFilters);
+ checkUnnamed2340(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2236(o.metrics);
- checkUnnamed2237(o.pivotedActivityMetrics);
- checkUnnamed2238(o.reachByFrequencyMetrics);
+ checkUnnamed2341(o.metrics);
+ checkUnnamed2342(o.pivotedActivityMetrics);
+ checkUnnamed2343(o.reachByFrequencyMetrics);
}
buildCounterReachReportCompatibleFields--;
}
@@ -6625,14 +6625,14 @@
buildCounterRegion--;
}
-buildUnnamed2239() {
+buildUnnamed2344() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed2239(core.List<api.Region> o) {
+checkUnnamed2344(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -6644,7 +6644,7 @@
buildCounterRegionsListResponse++;
if (buildCounterRegionsListResponse < 3) {
o.kind = "foo";
- o.regions = buildUnnamed2239();
+ o.regions = buildUnnamed2344();
}
buildCounterRegionsListResponse--;
return o;
@@ -6654,7 +6654,7 @@
buildCounterRegionsListResponse++;
if (buildCounterRegionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2239(o.regions);
+ checkUnnamed2344(o.regions);
}
buildCounterRegionsListResponse--;
}
@@ -6702,27 +6702,27 @@
buildCounterRemarketingList--;
}
-buildUnnamed2240() {
+buildUnnamed2345() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2240(core.List<core.String> o) {
+checkUnnamed2345(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2241() {
+buildUnnamed2346() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2241(core.List<core.String> o) {
+checkUnnamed2346(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6735,8 +6735,8 @@
if (buildCounterRemarketingListShare < 3) {
o.kind = "foo";
o.remarketingListId = "foo";
- o.sharedAccountIds = buildUnnamed2240();
- o.sharedAdvertiserIds = buildUnnamed2241();
+ o.sharedAccountIds = buildUnnamed2345();
+ o.sharedAdvertiserIds = buildUnnamed2346();
}
buildCounterRemarketingListShare--;
return o;
@@ -6747,20 +6747,20 @@
if (buildCounterRemarketingListShare < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.remarketingListId, unittest.equals('foo'));
- checkUnnamed2240(o.sharedAccountIds);
- checkUnnamed2241(o.sharedAdvertiserIds);
+ checkUnnamed2345(o.sharedAccountIds);
+ checkUnnamed2346(o.sharedAdvertiserIds);
}
buildCounterRemarketingListShare--;
}
-buildUnnamed2242() {
+buildUnnamed2347() {
var o = new core.List<api.RemarketingList>();
o.add(buildRemarketingList());
o.add(buildRemarketingList());
return o;
}
-checkUnnamed2242(core.List<api.RemarketingList> o) {
+checkUnnamed2347(core.List<api.RemarketingList> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemarketingList(o[0]);
checkRemarketingList(o[1]);
@@ -6773,7 +6773,7 @@
if (buildCounterRemarketingListsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.remarketingLists = buildUnnamed2242();
+ o.remarketingLists = buildUnnamed2347();
}
buildCounterRemarketingListsListResponse--;
return o;
@@ -6784,45 +6784,45 @@
if (buildCounterRemarketingListsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2242(o.remarketingLists);
+ checkUnnamed2347(o.remarketingLists);
}
buildCounterRemarketingListsListResponse--;
}
-buildUnnamed2243() {
+buildUnnamed2348() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2243(core.List<api.DimensionValue> o) {
+checkUnnamed2348(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2244() {
+buildUnnamed2349() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2244(core.List<api.SortedDimension> o) {
+checkUnnamed2349(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2245() {
+buildUnnamed2350() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2245(core.List<core.String> o) {
+checkUnnamed2350(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6836,9 +6836,9 @@
o.activities = buildActivities();
o.customRichMediaEvents = buildCustomRichMediaEvents();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed2243();
- o.dimensions = buildUnnamed2244();
- o.metricNames = buildUnnamed2245();
+ o.dimensionFilters = buildUnnamed2348();
+ o.dimensions = buildUnnamed2349();
+ o.metricNames = buildUnnamed2350();
}
buildCounterReportCriteria--;
return o;
@@ -6850,60 +6850,60 @@
checkActivities(o.activities);
checkCustomRichMediaEvents(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed2243(o.dimensionFilters);
- checkUnnamed2244(o.dimensions);
- checkUnnamed2245(o.metricNames);
+ checkUnnamed2348(o.dimensionFilters);
+ checkUnnamed2349(o.dimensions);
+ checkUnnamed2350(o.metricNames);
}
buildCounterReportCriteria--;
}
-buildUnnamed2246() {
+buildUnnamed2351() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2246(core.List<api.SortedDimension> o) {
+checkUnnamed2351(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2247() {
+buildUnnamed2352() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2247(core.List<api.DimensionValue> o) {
+checkUnnamed2352(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2248() {
+buildUnnamed2353() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2248(core.List<core.String> o) {
+checkUnnamed2353(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2249() {
+buildUnnamed2354() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2249(core.List<core.String> o) {
+checkUnnamed2354(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6914,12 +6914,12 @@
var o = new api.ReportCrossDimensionReachCriteria();
buildCounterReportCrossDimensionReachCriteria++;
if (buildCounterReportCrossDimensionReachCriteria < 3) {
- o.breakdown = buildUnnamed2246();
+ o.breakdown = buildUnnamed2351();
o.dateRange = buildDateRange();
o.dimension = "foo";
- o.dimensionFilters = buildUnnamed2247();
- o.metricNames = buildUnnamed2248();
- o.overlapMetricNames = buildUnnamed2249();
+ o.dimensionFilters = buildUnnamed2352();
+ o.metricNames = buildUnnamed2353();
+ o.overlapMetricNames = buildUnnamed2354();
o.pivoted = true;
}
buildCounterReportCrossDimensionReachCriteria--;
@@ -6929,25 +6929,25 @@
checkReportCrossDimensionReachCriteria(api.ReportCrossDimensionReachCriteria o) {
buildCounterReportCrossDimensionReachCriteria++;
if (buildCounterReportCrossDimensionReachCriteria < 3) {
- checkUnnamed2246(o.breakdown);
+ checkUnnamed2351(o.breakdown);
checkDateRange(o.dateRange);
unittest.expect(o.dimension, unittest.equals('foo'));
- checkUnnamed2247(o.dimensionFilters);
- checkUnnamed2248(o.metricNames);
- checkUnnamed2249(o.overlapMetricNames);
+ checkUnnamed2352(o.dimensionFilters);
+ checkUnnamed2353(o.metricNames);
+ checkUnnamed2354(o.overlapMetricNames);
unittest.expect(o.pivoted, unittest.isTrue);
}
buildCounterReportCrossDimensionReachCriteria--;
}
-buildUnnamed2250() {
+buildUnnamed2355() {
var o = new core.List<api.Recipient>();
o.add(buildRecipient());
o.add(buildRecipient());
return o;
}
-checkUnnamed2250(core.List<api.Recipient> o) {
+checkUnnamed2355(core.List<api.Recipient> o) {
unittest.expect(o, unittest.hasLength(2));
checkRecipient(o[0]);
checkRecipient(o[1]);
@@ -6961,7 +6961,7 @@
o.emailOwner = true;
o.emailOwnerDeliveryType = "foo";
o.message = "foo";
- o.recipients = buildUnnamed2250();
+ o.recipients = buildUnnamed2355();
}
buildCounterReportDelivery--;
return o;
@@ -6973,58 +6973,58 @@
unittest.expect(o.emailOwner, unittest.isTrue);
unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo'));
unittest.expect(o.message, unittest.equals('foo'));
- checkUnnamed2250(o.recipients);
+ checkUnnamed2355(o.recipients);
}
buildCounterReportDelivery--;
}
-buildUnnamed2251() {
+buildUnnamed2356() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2251(core.List<api.DimensionValue> o) {
+checkUnnamed2356(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2252() {
+buildUnnamed2357() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2252(core.List<api.DimensionValue> o) {
+checkUnnamed2357(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2253() {
+buildUnnamed2358() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2253(core.List<api.SortedDimension> o) {
+checkUnnamed2358(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2254() {
+buildUnnamed2359() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2254(core.List<core.String> o) {
+checkUnnamed2359(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7058,12 +7058,12 @@
var o = new api.ReportFloodlightCriteria();
buildCounterReportFloodlightCriteria++;
if (buildCounterReportFloodlightCriteria < 3) {
- o.customRichMediaEvents = buildUnnamed2251();
+ o.customRichMediaEvents = buildUnnamed2356();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed2252();
- o.dimensions = buildUnnamed2253();
+ o.dimensionFilters = buildUnnamed2357();
+ o.dimensions = buildUnnamed2358();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed2254();
+ o.metricNames = buildUnnamed2359();
o.reportProperties = buildReportFloodlightCriteriaReportProperties();
}
buildCounterReportFloodlightCriteria--;
@@ -7073,90 +7073,90 @@
checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) {
buildCounterReportFloodlightCriteria++;
if (buildCounterReportFloodlightCriteria < 3) {
- checkUnnamed2251(o.customRichMediaEvents);
+ checkUnnamed2356(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed2252(o.dimensionFilters);
- checkUnnamed2253(o.dimensions);
+ checkUnnamed2357(o.dimensionFilters);
+ checkUnnamed2358(o.dimensions);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed2254(o.metricNames);
+ checkUnnamed2359(o.metricNames);
checkReportFloodlightCriteriaReportProperties(o.reportProperties);
}
buildCounterReportFloodlightCriteria--;
}
-buildUnnamed2255() {
+buildUnnamed2360() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2255(core.List<api.DimensionValue> o) {
+checkUnnamed2360(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2256() {
+buildUnnamed2361() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2256(core.List<api.SortedDimension> o) {
+checkUnnamed2361(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2257() {
+buildUnnamed2362() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2257(core.List<api.SortedDimension> o) {
+checkUnnamed2362(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2258() {
+buildUnnamed2363() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2258(core.List<api.DimensionValue> o) {
+checkUnnamed2363(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2259() {
+buildUnnamed2364() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2259(core.List<core.String> o) {
+checkUnnamed2364(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2260() {
+buildUnnamed2365() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2260(core.List<api.SortedDimension> o) {
+checkUnnamed2365(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
@@ -7202,14 +7202,14 @@
var o = new api.ReportPathToConversionCriteria();
buildCounterReportPathToConversionCriteria++;
if (buildCounterReportPathToConversionCriteria < 3) {
- o.activityFilters = buildUnnamed2255();
- o.conversionDimensions = buildUnnamed2256();
- o.customFloodlightVariables = buildUnnamed2257();
- o.customRichMediaEvents = buildUnnamed2258();
+ o.activityFilters = buildUnnamed2360();
+ o.conversionDimensions = buildUnnamed2361();
+ o.customFloodlightVariables = buildUnnamed2362();
+ o.customRichMediaEvents = buildUnnamed2363();
o.dateRange = buildDateRange();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed2259();
- o.perInteractionDimensions = buildUnnamed2260();
+ o.metricNames = buildUnnamed2364();
+ o.perInteractionDimensions = buildUnnamed2365();
o.reportProperties = buildReportPathToConversionCriteriaReportProperties();
}
buildCounterReportPathToConversionCriteria--;
@@ -7219,66 +7219,66 @@
checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) {
buildCounterReportPathToConversionCriteria++;
if (buildCounterReportPathToConversionCriteria < 3) {
- checkUnnamed2255(o.activityFilters);
- checkUnnamed2256(o.conversionDimensions);
- checkUnnamed2257(o.customFloodlightVariables);
- checkUnnamed2258(o.customRichMediaEvents);
+ checkUnnamed2360(o.activityFilters);
+ checkUnnamed2361(o.conversionDimensions);
+ checkUnnamed2362(o.customFloodlightVariables);
+ checkUnnamed2363(o.customRichMediaEvents);
checkDateRange(o.dateRange);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed2259(o.metricNames);
- checkUnnamed2260(o.perInteractionDimensions);
+ checkUnnamed2364(o.metricNames);
+ checkUnnamed2365(o.perInteractionDimensions);
checkReportPathToConversionCriteriaReportProperties(o.reportProperties);
}
buildCounterReportPathToConversionCriteria--;
}
-buildUnnamed2261() {
+buildUnnamed2366() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2261(core.List<api.DimensionValue> o) {
+checkUnnamed2366(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2262() {
+buildUnnamed2367() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2262(core.List<api.SortedDimension> o) {
+checkUnnamed2367(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2263() {
+buildUnnamed2368() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2263(core.List<core.String> o) {
+checkUnnamed2368(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2264() {
+buildUnnamed2369() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2264(core.List<core.String> o) {
+checkUnnamed2369(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7292,11 +7292,11 @@
o.activities = buildActivities();
o.customRichMediaEvents = buildCustomRichMediaEvents();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed2261();
- o.dimensions = buildUnnamed2262();
+ o.dimensionFilters = buildUnnamed2366();
+ o.dimensions = buildUnnamed2367();
o.enableAllDimensionCombinations = true;
- o.metricNames = buildUnnamed2263();
- o.reachByFrequencyMetricNames = buildUnnamed2264();
+ o.metricNames = buildUnnamed2368();
+ o.reachByFrequencyMetricNames = buildUnnamed2369();
}
buildCounterReportReachCriteria--;
return o;
@@ -7308,23 +7308,23 @@
checkActivities(o.activities);
checkCustomRichMediaEvents(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed2261(o.dimensionFilters);
- checkUnnamed2262(o.dimensions);
+ checkUnnamed2366(o.dimensionFilters);
+ checkUnnamed2367(o.dimensions);
unittest.expect(o.enableAllDimensionCombinations, unittest.isTrue);
- checkUnnamed2263(o.metricNames);
- checkUnnamed2264(o.reachByFrequencyMetricNames);
+ checkUnnamed2368(o.metricNames);
+ checkUnnamed2369(o.reachByFrequencyMetricNames);
}
buildCounterReportReachCriteria--;
}
-buildUnnamed2265() {
+buildUnnamed2370() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2265(core.List<core.String> o) {
+checkUnnamed2370(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7339,7 +7339,7 @@
o.every = 42;
o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.repeats = "foo";
- o.repeatsOnWeekDays = buildUnnamed2265();
+ o.repeatsOnWeekDays = buildUnnamed2370();
o.runsOnDayOfMonth = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
}
@@ -7354,7 +7354,7 @@
unittest.expect(o.every, unittest.equals(42));
unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.repeats, unittest.equals('foo'));
- checkUnnamed2265(o.repeatsOnWeekDays);
+ checkUnnamed2370(o.repeatsOnWeekDays);
unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo'));
unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
}
@@ -7414,53 +7414,53 @@
buildCounterReport--;
}
-buildUnnamed2266() {
+buildUnnamed2371() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2266(core.List<api.Dimension> o) {
+checkUnnamed2371(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2267() {
+buildUnnamed2372() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2267(core.List<api.Dimension> o) {
+checkUnnamed2372(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2268() {
+buildUnnamed2373() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2268(core.List<api.Metric> o) {
+checkUnnamed2373(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2269() {
+buildUnnamed2374() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2269(core.List<api.Metric> o) {
+checkUnnamed2374(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -7471,11 +7471,11 @@
var o = new api.ReportCompatibleFields();
buildCounterReportCompatibleFields++;
if (buildCounterReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed2266();
- o.dimensions = buildUnnamed2267();
+ o.dimensionFilters = buildUnnamed2371();
+ o.dimensions = buildUnnamed2372();
o.kind = "foo";
- o.metrics = buildUnnamed2268();
- o.pivotedActivityMetrics = buildUnnamed2269();
+ o.metrics = buildUnnamed2373();
+ o.pivotedActivityMetrics = buildUnnamed2374();
}
buildCounterReportCompatibleFields--;
return o;
@@ -7484,23 +7484,23 @@
checkReportCompatibleFields(api.ReportCompatibleFields o) {
buildCounterReportCompatibleFields++;
if (buildCounterReportCompatibleFields < 3) {
- checkUnnamed2266(o.dimensionFilters);
- checkUnnamed2267(o.dimensions);
+ checkUnnamed2371(o.dimensionFilters);
+ checkUnnamed2372(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2268(o.metrics);
- checkUnnamed2269(o.pivotedActivityMetrics);
+ checkUnnamed2373(o.metrics);
+ checkUnnamed2374(o.pivotedActivityMetrics);
}
buildCounterReportCompatibleFields--;
}
-buildUnnamed2270() {
+buildUnnamed2375() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed2270(core.List<api.Report> o) {
+checkUnnamed2375(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -7512,7 +7512,7 @@
buildCounterReportList++;
if (buildCounterReportList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2270();
+ o.items = buildUnnamed2375();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -7524,7 +7524,7 @@
buildCounterReportList++;
if (buildCounterReportList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2270(o.items);
+ checkUnnamed2375(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -7600,14 +7600,14 @@
buildCounterRule--;
}
-buildUnnamed2271() {
+buildUnnamed2376() {
var o = new core.List<api.SiteContact>();
o.add(buildSiteContact());
o.add(buildSiteContact());
return o;
}
-checkUnnamed2271(core.List<api.SiteContact> o) {
+checkUnnamed2376(core.List<api.SiteContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkSiteContact(o[0]);
checkSiteContact(o[1]);
@@ -7627,7 +7627,7 @@
o.keyName = "foo";
o.kind = "foo";
o.name = "foo";
- o.siteContacts = buildUnnamed2271();
+ o.siteContacts = buildUnnamed2376();
o.siteSettings = buildSiteSettings();
o.subaccountId = "foo";
}
@@ -7647,7 +7647,7 @@
unittest.expect(o.keyName, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2271(o.siteContacts);
+ checkUnnamed2376(o.siteContacts);
checkSiteSettings(o.siteSettings);
unittest.expect(o.subaccountId, unittest.equals('foo'));
}
@@ -7720,14 +7720,14 @@
buildCounterSiteSettings--;
}
-buildUnnamed2272() {
+buildUnnamed2377() {
var o = new core.List<api.Site>();
o.add(buildSite());
o.add(buildSite());
return o;
}
-checkUnnamed2272(core.List<api.Site> o) {
+checkUnnamed2377(core.List<api.Site> o) {
unittest.expect(o, unittest.hasLength(2));
checkSite(o[0]);
checkSite(o[1]);
@@ -7740,7 +7740,7 @@
if (buildCounterSitesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.sites = buildUnnamed2272();
+ o.sites = buildUnnamed2377();
}
buildCounterSitesListResponse--;
return o;
@@ -7751,7 +7751,7 @@
if (buildCounterSitesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2272(o.sites);
+ checkUnnamed2377(o.sites);
}
buildCounterSitesListResponse--;
}
@@ -7783,14 +7783,14 @@
buildCounterSize--;
}
-buildUnnamed2273() {
+buildUnnamed2378() {
var o = new core.List<api.Size>();
o.add(buildSize());
o.add(buildSize());
return o;
}
-checkUnnamed2273(core.List<api.Size> o) {
+checkUnnamed2378(core.List<api.Size> o) {
unittest.expect(o, unittest.hasLength(2));
checkSize(o[0]);
checkSize(o[1]);
@@ -7802,7 +7802,7 @@
buildCounterSizesListResponse++;
if (buildCounterSizesListResponse < 3) {
o.kind = "foo";
- o.sizes = buildUnnamed2273();
+ o.sizes = buildUnnamed2378();
}
buildCounterSizesListResponse--;
return o;
@@ -7812,7 +7812,7 @@
buildCounterSizesListResponse++;
if (buildCounterSizesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2273(o.sizes);
+ checkUnnamed2378(o.sizes);
}
buildCounterSizesListResponse--;
}
@@ -7865,14 +7865,14 @@
buildCounterSortedDimension--;
}
-buildUnnamed2274() {
+buildUnnamed2379() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2274(core.List<core.String> o) {
+checkUnnamed2379(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7884,7 +7884,7 @@
buildCounterSubaccount++;
if (buildCounterSubaccount < 3) {
o.accountId = "foo";
- o.availablePermissionIds = buildUnnamed2274();
+ o.availablePermissionIds = buildUnnamed2379();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -7897,7 +7897,7 @@
buildCounterSubaccount++;
if (buildCounterSubaccount < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed2274(o.availablePermissionIds);
+ checkUnnamed2379(o.availablePermissionIds);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -7905,14 +7905,14 @@
buildCounterSubaccount--;
}
-buildUnnamed2275() {
+buildUnnamed2380() {
var o = new core.List<api.Subaccount>();
o.add(buildSubaccount());
o.add(buildSubaccount());
return o;
}
-checkUnnamed2275(core.List<api.Subaccount> o) {
+checkUnnamed2380(core.List<api.Subaccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubaccount(o[0]);
checkSubaccount(o[1]);
@@ -7925,7 +7925,7 @@
if (buildCounterSubaccountsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.subaccounts = buildUnnamed2275();
+ o.subaccounts = buildUnnamed2380();
}
buildCounterSubaccountsListResponse--;
return o;
@@ -7936,7 +7936,7 @@
if (buildCounterSubaccountsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2275(o.subaccounts);
+ checkUnnamed2380(o.subaccounts);
}
buildCounterSubaccountsListResponse--;
}
@@ -8076,14 +8076,14 @@
buildCounterTargetableRemarketingList--;
}
-buildUnnamed2276() {
+buildUnnamed2381() {
var o = new core.List<api.TargetableRemarketingList>();
o.add(buildTargetableRemarketingList());
o.add(buildTargetableRemarketingList());
return o;
}
-checkUnnamed2276(core.List<api.TargetableRemarketingList> o) {
+checkUnnamed2381(core.List<api.TargetableRemarketingList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetableRemarketingList(o[0]);
checkTargetableRemarketingList(o[1]);
@@ -8096,7 +8096,7 @@
if (buildCounterTargetableRemarketingListsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.targetableRemarketingLists = buildUnnamed2276();
+ o.targetableRemarketingLists = buildUnnamed2381();
}
buildCounterTargetableRemarketingListsListResponse--;
return o;
@@ -8107,7 +8107,7 @@
if (buildCounterTargetableRemarketingListsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2276(o.targetableRemarketingLists);
+ checkUnnamed2381(o.targetableRemarketingLists);
}
buildCounterTargetableRemarketingListsListResponse--;
}
@@ -8155,14 +8155,14 @@
buildCounterTargetingTemplate--;
}
-buildUnnamed2277() {
+buildUnnamed2382() {
var o = new core.List<api.TargetingTemplate>();
o.add(buildTargetingTemplate());
o.add(buildTargetingTemplate());
return o;
}
-checkUnnamed2277(core.List<api.TargetingTemplate> o) {
+checkUnnamed2382(core.List<api.TargetingTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingTemplate(o[0]);
checkTargetingTemplate(o[1]);
@@ -8175,7 +8175,7 @@
if (buildCounterTargetingTemplatesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.targetingTemplates = buildUnnamed2277();
+ o.targetingTemplates = buildUnnamed2382();
}
buildCounterTargetingTemplatesListResponse--;
return o;
@@ -8186,84 +8186,84 @@
if (buildCounterTargetingTemplatesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2277(o.targetingTemplates);
+ checkUnnamed2382(o.targetingTemplates);
}
buildCounterTargetingTemplatesListResponse--;
}
-buildUnnamed2278() {
+buildUnnamed2383() {
var o = new core.List<api.Browser>();
o.add(buildBrowser());
o.add(buildBrowser());
return o;
}
-checkUnnamed2278(core.List<api.Browser> o) {
+checkUnnamed2383(core.List<api.Browser> o) {
unittest.expect(o, unittest.hasLength(2));
checkBrowser(o[0]);
checkBrowser(o[1]);
}
-buildUnnamed2279() {
+buildUnnamed2384() {
var o = new core.List<api.ConnectionType>();
o.add(buildConnectionType());
o.add(buildConnectionType());
return o;
}
-checkUnnamed2279(core.List<api.ConnectionType> o) {
+checkUnnamed2384(core.List<api.ConnectionType> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnectionType(o[0]);
checkConnectionType(o[1]);
}
-buildUnnamed2280() {
+buildUnnamed2385() {
var o = new core.List<api.MobileCarrier>();
o.add(buildMobileCarrier());
o.add(buildMobileCarrier());
return o;
}
-checkUnnamed2280(core.List<api.MobileCarrier> o) {
+checkUnnamed2385(core.List<api.MobileCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileCarrier(o[0]);
checkMobileCarrier(o[1]);
}
-buildUnnamed2281() {
+buildUnnamed2386() {
var o = new core.List<api.OperatingSystemVersion>();
o.add(buildOperatingSystemVersion());
o.add(buildOperatingSystemVersion());
return o;
}
-checkUnnamed2281(core.List<api.OperatingSystemVersion> o) {
+checkUnnamed2386(core.List<api.OperatingSystemVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystemVersion(o[0]);
checkOperatingSystemVersion(o[1]);
}
-buildUnnamed2282() {
+buildUnnamed2387() {
var o = new core.List<api.OperatingSystem>();
o.add(buildOperatingSystem());
o.add(buildOperatingSystem());
return o;
}
-checkUnnamed2282(core.List<api.OperatingSystem> o) {
+checkUnnamed2387(core.List<api.OperatingSystem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystem(o[0]);
checkOperatingSystem(o[1]);
}
-buildUnnamed2283() {
+buildUnnamed2388() {
var o = new core.List<api.PlatformType>();
o.add(buildPlatformType());
o.add(buildPlatformType());
return o;
}
-checkUnnamed2283(core.List<api.PlatformType> o) {
+checkUnnamed2388(core.List<api.PlatformType> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlatformType(o[0]);
checkPlatformType(o[1]);
@@ -8274,12 +8274,12 @@
var o = new api.TechnologyTargeting();
buildCounterTechnologyTargeting++;
if (buildCounterTechnologyTargeting < 3) {
- o.browsers = buildUnnamed2278();
- o.connectionTypes = buildUnnamed2279();
- o.mobileCarriers = buildUnnamed2280();
- o.operatingSystemVersions = buildUnnamed2281();
- o.operatingSystems = buildUnnamed2282();
- o.platformTypes = buildUnnamed2283();
+ o.browsers = buildUnnamed2383();
+ o.connectionTypes = buildUnnamed2384();
+ o.mobileCarriers = buildUnnamed2385();
+ o.operatingSystemVersions = buildUnnamed2386();
+ o.operatingSystems = buildUnnamed2387();
+ o.platformTypes = buildUnnamed2388();
}
buildCounterTechnologyTargeting--;
return o;
@@ -8288,12 +8288,12 @@
checkTechnologyTargeting(api.TechnologyTargeting o) {
buildCounterTechnologyTargeting++;
if (buildCounterTechnologyTargeting < 3) {
- checkUnnamed2278(o.browsers);
- checkUnnamed2279(o.connectionTypes);
- checkUnnamed2280(o.mobileCarriers);
- checkUnnamed2281(o.operatingSystemVersions);
- checkUnnamed2282(o.operatingSystems);
- checkUnnamed2283(o.platformTypes);
+ checkUnnamed2383(o.browsers);
+ checkUnnamed2384(o.connectionTypes);
+ checkUnnamed2385(o.mobileCarriers);
+ checkUnnamed2386(o.operatingSystemVersions);
+ checkUnnamed2387(o.operatingSystems);
+ checkUnnamed2388(o.platformTypes);
}
buildCounterTechnologyTargeting--;
}
@@ -8340,14 +8340,14 @@
buildCounterThirdPartyTrackingUrl--;
}
-buildUnnamed2284() {
+buildUnnamed2389() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2284(core.List<core.int> o) {
+checkUnnamed2389(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -8358,7 +8358,7 @@
var o = new api.TranscodeSetting();
buildCounterTranscodeSetting++;
if (buildCounterTranscodeSetting < 3) {
- o.enabledVideoFormats = buildUnnamed2284();
+ o.enabledVideoFormats = buildUnnamed2389();
o.kind = "foo";
}
buildCounterTranscodeSetting--;
@@ -8368,7 +8368,7 @@
checkTranscodeSetting(api.TranscodeSetting o) {
buildCounterTranscodeSetting++;
if (buildCounterTranscodeSetting < 3) {
- checkUnnamed2284(o.enabledVideoFormats);
+ checkUnnamed2389(o.enabledVideoFormats);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTranscodeSetting--;
@@ -8430,14 +8430,14 @@
buildCounterUserProfile--;
}
-buildUnnamed2285() {
+buildUnnamed2390() {
var o = new core.List<api.UserProfile>();
o.add(buildUserProfile());
o.add(buildUserProfile());
return o;
}
-checkUnnamed2285(core.List<api.UserProfile> o) {
+checkUnnamed2390(core.List<api.UserProfile> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserProfile(o[0]);
checkUserProfile(o[1]);
@@ -8449,7 +8449,7 @@
buildCounterUserProfileList++;
if (buildCounterUserProfileList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2285();
+ o.items = buildUnnamed2390();
o.kind = "foo";
}
buildCounterUserProfileList--;
@@ -8460,20 +8460,20 @@
buildCounterUserProfileList++;
if (buildCounterUserProfileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2285(o.items);
+ checkUnnamed2390(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterUserProfileList--;
}
-buildUnnamed2286() {
+buildUnnamed2391() {
var o = new core.List<api.UserRolePermission>();
o.add(buildUserRolePermission());
o.add(buildUserRolePermission());
return o;
}
-checkUnnamed2286(core.List<api.UserRolePermission> o) {
+checkUnnamed2391(core.List<api.UserRolePermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermission(o[0]);
checkUserRolePermission(o[1]);
@@ -8490,7 +8490,7 @@
o.kind = "foo";
o.name = "foo";
o.parentUserRoleId = "foo";
- o.permissions = buildUnnamed2286();
+ o.permissions = buildUnnamed2391();
o.subaccountId = "foo";
}
buildCounterUserRole--;
@@ -8506,7 +8506,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentUserRoleId, unittest.equals('foo'));
- checkUnnamed2286(o.permissions);
+ checkUnnamed2391(o.permissions);
unittest.expect(o.subaccountId, unittest.equals('foo'));
}
buildCounterUserRole--;
@@ -8562,14 +8562,14 @@
buildCounterUserRolePermissionGroup--;
}
-buildUnnamed2287() {
+buildUnnamed2392() {
var o = new core.List<api.UserRolePermissionGroup>();
o.add(buildUserRolePermissionGroup());
o.add(buildUserRolePermissionGroup());
return o;
}
-checkUnnamed2287(core.List<api.UserRolePermissionGroup> o) {
+checkUnnamed2392(core.List<api.UserRolePermissionGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermissionGroup(o[0]);
checkUserRolePermissionGroup(o[1]);
@@ -8581,7 +8581,7 @@
buildCounterUserRolePermissionGroupsListResponse++;
if (buildCounterUserRolePermissionGroupsListResponse < 3) {
o.kind = "foo";
- o.userRolePermissionGroups = buildUnnamed2287();
+ o.userRolePermissionGroups = buildUnnamed2392();
}
buildCounterUserRolePermissionGroupsListResponse--;
return o;
@@ -8591,19 +8591,19 @@
buildCounterUserRolePermissionGroupsListResponse++;
if (buildCounterUserRolePermissionGroupsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2287(o.userRolePermissionGroups);
+ checkUnnamed2392(o.userRolePermissionGroups);
}
buildCounterUserRolePermissionGroupsListResponse--;
}
-buildUnnamed2288() {
+buildUnnamed2393() {
var o = new core.List<api.UserRolePermission>();
o.add(buildUserRolePermission());
o.add(buildUserRolePermission());
return o;
}
-checkUnnamed2288(core.List<api.UserRolePermission> o) {
+checkUnnamed2393(core.List<api.UserRolePermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermission(o[0]);
checkUserRolePermission(o[1]);
@@ -8615,7 +8615,7 @@
buildCounterUserRolePermissionsListResponse++;
if (buildCounterUserRolePermissionsListResponse < 3) {
o.kind = "foo";
- o.userRolePermissions = buildUnnamed2288();
+ o.userRolePermissions = buildUnnamed2393();
}
buildCounterUserRolePermissionsListResponse--;
return o;
@@ -8625,19 +8625,19 @@
buildCounterUserRolePermissionsListResponse++;
if (buildCounterUserRolePermissionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2288(o.userRolePermissions);
+ checkUnnamed2393(o.userRolePermissions);
}
buildCounterUserRolePermissionsListResponse--;
}
-buildUnnamed2289() {
+buildUnnamed2394() {
var o = new core.List<api.UserRole>();
o.add(buildUserRole());
o.add(buildUserRole());
return o;
}
-checkUnnamed2289(core.List<api.UserRole> o) {
+checkUnnamed2394(core.List<api.UserRole> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRole(o[0]);
checkUserRole(o[1]);
@@ -8650,7 +8650,7 @@
if (buildCounterUserRolesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.userRoles = buildUnnamed2289();
+ o.userRoles = buildUnnamed2394();
}
buildCounterUserRolesListResponse--;
return o;
@@ -8661,7 +8661,7 @@
if (buildCounterUserRolesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2289(o.userRoles);
+ checkUnnamed2394(o.userRoles);
}
buildCounterUserRolesListResponse--;
}
@@ -8693,14 +8693,14 @@
buildCounterVideoFormat--;
}
-buildUnnamed2290() {
+buildUnnamed2395() {
var o = new core.List<api.VideoFormat>();
o.add(buildVideoFormat());
o.add(buildVideoFormat());
return o;
}
-checkUnnamed2290(core.List<api.VideoFormat> o) {
+checkUnnamed2395(core.List<api.VideoFormat> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFormat(o[0]);
checkVideoFormat(o[1]);
@@ -8712,7 +8712,7 @@
buildCounterVideoFormatsListResponse++;
if (buildCounterVideoFormatsListResponse < 3) {
o.kind = "foo";
- o.videoFormats = buildUnnamed2290();
+ o.videoFormats = buildUnnamed2395();
}
buildCounterVideoFormatsListResponse--;
return o;
@@ -8722,7 +8722,7 @@
buildCounterVideoFormatsListResponse++;
if (buildCounterVideoFormatsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2290(o.videoFormats);
+ checkUnnamed2395(o.videoFormats);
}
buildCounterVideoFormatsListResponse--;
}
@@ -8773,1145 +8773,1145 @@
buildCounterVideoSettings--;
}
-buildUnnamed2291() {
+buildUnnamed2396() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2291(core.List<core.String> o) {
+checkUnnamed2396(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2292() {
+buildUnnamed2397() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2292(core.List<core.String> o) {
+checkUnnamed2397(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2293() {
+buildUnnamed2398() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2293(core.List<core.String> o) {
+checkUnnamed2398(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2294() {
+buildUnnamed2399() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2294(core.List<core.String> o) {
+checkUnnamed2399(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2295() {
+buildUnnamed2400() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2295(core.List<core.String> o) {
+checkUnnamed2400(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2296() {
+buildUnnamed2401() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2296(core.List<core.String> o) {
+checkUnnamed2401(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2297() {
+buildUnnamed2402() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2297(core.List<core.String> o) {
+checkUnnamed2402(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2298() {
+buildUnnamed2403() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2298(core.List<core.String> o) {
+checkUnnamed2403(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2299() {
+buildUnnamed2404() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2299(core.List<core.String> o) {
+checkUnnamed2404(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2300() {
+buildUnnamed2405() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2300(core.List<core.String> o) {
+checkUnnamed2405(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2301() {
+buildUnnamed2406() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2301(core.List<core.String> o) {
+checkUnnamed2406(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2302() {
+buildUnnamed2407() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2302(core.List<core.String> o) {
+checkUnnamed2407(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2303() {
+buildUnnamed2408() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2303(core.List<core.String> o) {
+checkUnnamed2408(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2304() {
+buildUnnamed2409() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2304(core.List<core.String> o) {
+checkUnnamed2409(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2305() {
+buildUnnamed2410() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2305(core.List<core.String> o) {
+checkUnnamed2410(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2306() {
+buildUnnamed2411() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2306(core.List<core.String> o) {
+checkUnnamed2411(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2307() {
+buildUnnamed2412() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2307(core.List<core.String> o) {
+checkUnnamed2412(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2308() {
+buildUnnamed2413() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2308(core.List<core.String> o) {
+checkUnnamed2413(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2309() {
+buildUnnamed2414() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2309(core.List<core.String> o) {
+checkUnnamed2414(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2310() {
+buildUnnamed2415() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2310(core.List<core.String> o) {
+checkUnnamed2415(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2311() {
+buildUnnamed2416() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2311(core.List<core.String> o) {
+checkUnnamed2416(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2312() {
+buildUnnamed2417() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2312(core.List<core.String> o) {
+checkUnnamed2417(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2313() {
+buildUnnamed2418() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2313(core.List<core.String> o) {
+checkUnnamed2418(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2314() {
+buildUnnamed2419() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2314(core.List<core.String> o) {
+checkUnnamed2419(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2315() {
+buildUnnamed2420() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2315(core.List<core.String> o) {
+checkUnnamed2420(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2316() {
+buildUnnamed2421() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2316(core.List<core.String> o) {
+checkUnnamed2421(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2317() {
+buildUnnamed2422() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2317(core.List<core.String> o) {
+checkUnnamed2422(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2318() {
+buildUnnamed2423() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2318(core.List<core.String> o) {
+checkUnnamed2423(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2319() {
+buildUnnamed2424() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2319(core.List<core.String> o) {
+checkUnnamed2424(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2320() {
+buildUnnamed2425() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2320(core.List<core.String> o) {
+checkUnnamed2425(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2321() {
+buildUnnamed2426() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2321(core.List<core.String> o) {
+checkUnnamed2426(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2322() {
+buildUnnamed2427() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2322(core.List<core.String> o) {
+checkUnnamed2427(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2323() {
+buildUnnamed2428() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2323(core.List<core.String> o) {
+checkUnnamed2428(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2324() {
+buildUnnamed2429() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2324(core.List<core.String> o) {
+checkUnnamed2429(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2325() {
+buildUnnamed2430() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2325(core.List<core.String> o) {
+checkUnnamed2430(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2326() {
+buildUnnamed2431() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2326(core.List<core.String> o) {
+checkUnnamed2431(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2327() {
+buildUnnamed2432() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2327(core.List<core.String> o) {
+checkUnnamed2432(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2328() {
+buildUnnamed2433() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2328(core.List<core.String> o) {
+checkUnnamed2433(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2329() {
+buildUnnamed2434() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2329(core.List<core.String> o) {
+checkUnnamed2434(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2330() {
+buildUnnamed2435() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2330(core.List<core.String> o) {
+checkUnnamed2435(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2331() {
+buildUnnamed2436() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2331(core.List<core.String> o) {
+checkUnnamed2436(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2332() {
+buildUnnamed2437() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2332(core.List<core.String> o) {
+checkUnnamed2437(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2333() {
+buildUnnamed2438() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2333(core.List<core.String> o) {
+checkUnnamed2438(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2334() {
+buildUnnamed2439() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2334(core.List<core.String> o) {
+checkUnnamed2439(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2335() {
+buildUnnamed2440() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2335(core.List<core.String> o) {
+checkUnnamed2440(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2336() {
+buildUnnamed2441() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2336(core.List<core.String> o) {
+checkUnnamed2441(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2337() {
+buildUnnamed2442() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2337(core.List<core.String> o) {
+checkUnnamed2442(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2338() {
+buildUnnamed2443() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2338(core.List<core.String> o) {
+checkUnnamed2443(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2339() {
+buildUnnamed2444() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2339(core.List<core.String> o) {
+checkUnnamed2444(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2340() {
+buildUnnamed2445() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2340(core.List<core.String> o) {
+checkUnnamed2445(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2341() {
+buildUnnamed2446() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2341(core.List<core.String> o) {
+checkUnnamed2446(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2342() {
+buildUnnamed2447() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2342(core.List<core.String> o) {
+checkUnnamed2447(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2343() {
+buildUnnamed2448() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2343(core.List<core.String> o) {
+checkUnnamed2448(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2344() {
+buildUnnamed2449() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2344(core.List<core.String> o) {
+checkUnnamed2449(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2345() {
+buildUnnamed2450() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2345(core.List<core.String> o) {
+checkUnnamed2450(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2346() {
+buildUnnamed2451() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2346(core.List<core.String> o) {
+checkUnnamed2451(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2347() {
+buildUnnamed2452() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2347(core.List<core.String> o) {
+checkUnnamed2452(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2348() {
+buildUnnamed2453() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2348(core.List<core.String> o) {
+checkUnnamed2453(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2349() {
+buildUnnamed2454() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2349(core.List<core.String> o) {
+checkUnnamed2454(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2350() {
+buildUnnamed2455() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2350(core.List<core.String> o) {
+checkUnnamed2455(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2351() {
+buildUnnamed2456() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2351(core.List<core.String> o) {
+checkUnnamed2456(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2352() {
+buildUnnamed2457() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2352(core.List<core.String> o) {
+checkUnnamed2457(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2353() {
+buildUnnamed2458() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2353(core.List<core.String> o) {
+checkUnnamed2458(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2354() {
+buildUnnamed2459() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2354(core.List<core.String> o) {
+checkUnnamed2459(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2355() {
+buildUnnamed2460() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2355(core.List<core.String> o) {
+checkUnnamed2460(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2356() {
+buildUnnamed2461() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2356(core.List<core.String> o) {
+checkUnnamed2461(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2357() {
+buildUnnamed2462() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2357(core.List<core.String> o) {
+checkUnnamed2462(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2358() {
+buildUnnamed2463() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2358(core.List<core.String> o) {
+checkUnnamed2463(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2359() {
+buildUnnamed2464() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2359(core.List<core.String> o) {
+checkUnnamed2464(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2360() {
+buildUnnamed2465() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2360(core.List<core.String> o) {
+checkUnnamed2465(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2361() {
+buildUnnamed2466() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2361(core.List<core.String> o) {
+checkUnnamed2466(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2362() {
+buildUnnamed2467() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2362(core.List<core.String> o) {
+checkUnnamed2467(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2363() {
+buildUnnamed2468() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2363(core.List<core.String> o) {
+checkUnnamed2468(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2364() {
+buildUnnamed2469() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2364(core.List<core.String> o) {
+checkUnnamed2469(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2365() {
+buildUnnamed2470() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2365(core.List<core.String> o) {
+checkUnnamed2470(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2366() {
+buildUnnamed2471() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2366(core.List<core.String> o) {
+checkUnnamed2471(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2367() {
+buildUnnamed2472() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2367(core.List<core.String> o) {
+checkUnnamed2472(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2368() {
+buildUnnamed2473() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2368(core.List<core.String> o) {
+checkUnnamed2473(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2369() {
+buildUnnamed2474() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2369(core.List<core.String> o) {
+checkUnnamed2474(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2370() {
+buildUnnamed2475() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2370(core.List<core.String> o) {
+checkUnnamed2475(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2371() {
+buildUnnamed2476() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2371(core.List<core.String> o) {
+checkUnnamed2476(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2372() {
+buildUnnamed2477() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2372(core.List<core.String> o) {
+checkUnnamed2477(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2373() {
+buildUnnamed2478() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2373(core.List<core.String> o) {
+checkUnnamed2478(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2374() {
+buildUnnamed2479() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2374(core.List<core.String> o) {
+checkUnnamed2479(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2375() {
+buildUnnamed2480() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2375(core.List<core.String> o) {
+checkUnnamed2480(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2376() {
+buildUnnamed2481() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2376(core.List<core.String> o) {
+checkUnnamed2481(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2377() {
+buildUnnamed2482() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2377(core.List<core.String> o) {
+checkUnnamed2482(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2378() {
+buildUnnamed2483() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2378(core.List<core.String> o) {
+checkUnnamed2483(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -12273,7 +12273,7 @@
api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).accountUserProfiles;
var arg_profileId = "foo";
var arg_active = true;
- var arg_ids = buildUnnamed2291();
+ var arg_ids = buildUnnamed2396();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -12521,7 +12521,7 @@
api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts;
var arg_profileId = "foo";
var arg_active = true;
- var arg_ids = buildUnnamed2292();
+ var arg_ids = buildUnnamed2397();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -12824,26 +12824,26 @@
var arg_active = true;
var arg_advertiserId = "foo";
var arg_archived = true;
- var arg_audienceSegmentIds = buildUnnamed2293();
- var arg_campaignIds = buildUnnamed2294();
+ var arg_audienceSegmentIds = buildUnnamed2398();
+ var arg_campaignIds = buildUnnamed2399();
var arg_compatibility = "foo";
- var arg_creativeIds = buildUnnamed2295();
- var arg_creativeOptimizationConfigurationIds = buildUnnamed2296();
+ var arg_creativeIds = buildUnnamed2400();
+ var arg_creativeOptimizationConfigurationIds = buildUnnamed2401();
var arg_dynamicClickTracker = true;
- var arg_ids = buildUnnamed2297();
- var arg_landingPageIds = buildUnnamed2298();
+ var arg_ids = buildUnnamed2402();
+ var arg_landingPageIds = buildUnnamed2403();
var arg_maxResults = 42;
var arg_overriddenEventTagId = "foo";
var arg_pageToken = "foo";
- var arg_placementIds = buildUnnamed2299();
- var arg_remarketingListIds = buildUnnamed2300();
+ var arg_placementIds = buildUnnamed2404();
+ var arg_remarketingListIds = buildUnnamed2405();
var arg_searchString = "foo";
- var arg_sizeIds = buildUnnamed2301();
+ var arg_sizeIds = buildUnnamed2406();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_sslCompliant = true;
var arg_sslRequired = true;
- var arg_type = buildUnnamed2302();
+ var arg_type = buildUnnamed2407();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -13209,7 +13209,7 @@
var mock = new HttpServerMock();
api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advertiserGroups;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2303();
+ var arg_ids = buildUnnamed2408();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -13508,9 +13508,9 @@
var mock = new HttpServerMock();
api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers;
var arg_profileId = "foo";
- var arg_advertiserGroupIds = buildUnnamed2304();
- var arg_floodlightConfigurationIds = buildUnnamed2305();
- var arg_ids = buildUnnamed2306();
+ var arg_advertiserGroupIds = buildUnnamed2409();
+ var arg_floodlightConfigurationIds = buildUnnamed2410();
+ var arg_ids = buildUnnamed2411();
var arg_includeAdvertisersWithoutGroupsOnly = true;
var arg_maxResults = 42;
var arg_onlyParent = true;
@@ -14016,12 +14016,12 @@
var mock = new HttpServerMock();
api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns;
var arg_profileId = "foo";
- var arg_advertiserGroupIds = buildUnnamed2307();
- var arg_advertiserIds = buildUnnamed2308();
+ var arg_advertiserGroupIds = buildUnnamed2412();
+ var arg_advertiserIds = buildUnnamed2413();
var arg_archived = true;
var arg_atLeastOneOptimizationActivity = true;
- var arg_excludedIds = buildUnnamed2309();
- var arg_ids = buildUnnamed2310();
+ var arg_excludedIds = buildUnnamed2414();
+ var arg_ids = buildUnnamed2415();
var arg_maxResults = 42;
var arg_overriddenEventTagId = "foo";
var arg_pageToken = "foo";
@@ -14273,15 +14273,15 @@
api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs;
var arg_profileId = "foo";
var arg_action = "foo";
- var arg_ids = buildUnnamed2311();
+ var arg_ids = buildUnnamed2416();
var arg_maxChangeTime = "foo";
var arg_maxResults = 42;
var arg_minChangeTime = "foo";
- var arg_objectIds = buildUnnamed2312();
+ var arg_objectIds = buildUnnamed2417();
var arg_objectType = "foo";
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_userProfileIds = buildUnnamed2313();
+ var arg_userProfileIds = buildUnnamed2418();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -14349,10 +14349,10 @@
var mock = new HttpServerMock();
api.CitiesResourceApi res = new api.DfareportingApi(mock).cities;
var arg_profileId = "foo";
- var arg_countryDartIds = buildUnnamed2314();
- var arg_dartIds = buildUnnamed2315();
+ var arg_countryDartIds = buildUnnamed2419();
+ var arg_dartIds = buildUnnamed2420();
var arg_namePrefix = "foo";
- var arg_regionDartIds = buildUnnamed2316();
+ var arg_regionDartIds = buildUnnamed2421();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -14697,7 +14697,7 @@
var mock = new HttpServerMock();
api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).contentCategories;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2317();
+ var arg_ids = buildUnnamed2422();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -15322,7 +15322,7 @@
api.CreativeFieldValuesResourceApi res = new api.DfareportingApi(mock).creativeFieldValues;
var arg_profileId = "foo";
var arg_creativeFieldId = "foo";
- var arg_ids = buildUnnamed2318();
+ var arg_ids = buildUnnamed2423();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -15699,8 +15699,8 @@
var mock = new HttpServerMock();
api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creativeFields;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2319();
- var arg_ids = buildUnnamed2320();
+ var arg_advertiserIds = buildUnnamed2424();
+ var arg_ids = buildUnnamed2425();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -16000,9 +16000,9 @@
var mock = new HttpServerMock();
api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creativeGroups;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2321();
+ var arg_advertiserIds = buildUnnamed2426();
var arg_groupNumber = 42;
- var arg_ids = buildUnnamed2322();
+ var arg_ids = buildUnnamed2427();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -16307,18 +16307,18 @@
var arg_advertiserId = "foo";
var arg_archived = true;
var arg_campaignId = "foo";
- var arg_companionCreativeIds = buildUnnamed2323();
- var arg_creativeFieldIds = buildUnnamed2324();
- var arg_ids = buildUnnamed2325();
+ var arg_companionCreativeIds = buildUnnamed2428();
+ var arg_creativeFieldIds = buildUnnamed2429();
+ var arg_ids = buildUnnamed2430();
var arg_maxResults = 42;
var arg_pageToken = "foo";
- var arg_renderingIds = buildUnnamed2326();
+ var arg_renderingIds = buildUnnamed2431();
var arg_searchString = "foo";
- var arg_sizeIds = buildUnnamed2327();
+ var arg_sizeIds = buildUnnamed2432();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_studioCreativeId = "foo";
- var arg_types = buildUnnamed2328();
+ var arg_types = buildUnnamed2433();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -16630,8 +16630,8 @@
var mock = new HttpServerMock();
api.DirectorySiteContactsResourceApi res = new api.DfareportingApi(mock).directorySiteContacts;
var arg_profileId = "foo";
- var arg_directorySiteIds = buildUnnamed2329();
- var arg_ids = buildUnnamed2330();
+ var arg_directorySiteIds = buildUnnamed2434();
+ var arg_ids = buildUnnamed2435();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -16821,7 +16821,7 @@
var arg_active = true;
var arg_countryId = "foo";
var arg_dfpNetworkCode = "foo";
- var arg_ids = buildUnnamed2331();
+ var arg_ids = buildUnnamed2436();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_parentId = "foo";
@@ -17015,7 +17015,7 @@
api.DynamicTargetingKeysResourceApi res = new api.DfareportingApi(mock).dynamicTargetingKeys;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_names = buildUnnamed2332();
+ var arg_names = buildUnnamed2437();
var arg_objectId = "foo";
var arg_objectType = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -17253,8 +17253,8 @@
var arg_campaignId = "foo";
var arg_definitionsOnly = true;
var arg_enabled = true;
- var arg_eventTagTypes = buildUnnamed2333();
- var arg_ids = buildUnnamed2334();
+ var arg_eventTagTypes = buildUnnamed2438();
+ var arg_ids = buildUnnamed2439();
var arg_searchString = "foo";
var arg_sortField = "foo";
var arg_sortOrder = "foo";
@@ -17792,12 +17792,12 @@
api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).floodlightActivities;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_floodlightActivityGroupIds = buildUnnamed2335();
+ var arg_floodlightActivityGroupIds = buildUnnamed2440();
var arg_floodlightActivityGroupName = "foo";
var arg_floodlightActivityGroupTagString = "foo";
var arg_floodlightActivityGroupType = "foo";
var arg_floodlightConfigurationId = "foo";
- var arg_ids = buildUnnamed2336();
+ var arg_ids = buildUnnamed2441();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -18106,7 +18106,7 @@
var arg_profileId = "foo";
var arg_advertiserId = "foo";
var arg_floodlightConfigurationId = "foo";
- var arg_ids = buildUnnamed2337();
+ var arg_ids = buildUnnamed2442();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -18352,7 +18352,7 @@
var mock = new HttpServerMock();
api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock).floodlightConfigurations;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2338();
+ var arg_ids = buildUnnamed2443();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -18593,12 +18593,12 @@
api.InventoryItemsResourceApi res = new api.DfareportingApi(mock).inventoryItems;
var arg_profileId = "foo";
var arg_projectId = "foo";
- var arg_ids = buildUnnamed2339();
+ var arg_ids = buildUnnamed2444();
var arg_inPlan = true;
var arg_maxResults = 42;
- var arg_orderId = buildUnnamed2340();
+ var arg_orderId = buildUnnamed2445();
var arg_pageToken = "foo";
- var arg_siteId = buildUnnamed2341();
+ var arg_siteId = buildUnnamed2446();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_type = "foo";
@@ -19588,12 +19588,12 @@
var arg_profileId = "foo";
var arg_projectId = "foo";
var arg_approved = true;
- var arg_ids = buildUnnamed2342();
+ var arg_ids = buildUnnamed2447();
var arg_maxResults = 42;
- var arg_orderId = buildUnnamed2343();
+ var arg_orderId = buildUnnamed2448();
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_siteId = buildUnnamed2344();
+ var arg_siteId = buildUnnamed2449();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -19735,11 +19735,11 @@
api.OrdersResourceApi res = new api.DfareportingApi(mock).orders;
var arg_profileId = "foo";
var arg_projectId = "foo";
- var arg_ids = buildUnnamed2345();
+ var arg_ids = buildUnnamed2450();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_siteId = buildUnnamed2346();
+ var arg_siteId = buildUnnamed2451();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -19927,12 +19927,12 @@
var mock = new HttpServerMock();
api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placementGroups;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2347();
+ var arg_advertiserIds = buildUnnamed2452();
var arg_archived = true;
- var arg_campaignIds = buildUnnamed2348();
- var arg_contentCategoryIds = buildUnnamed2349();
- var arg_directorySiteIds = buildUnnamed2350();
- var arg_ids = buildUnnamed2351();
+ var arg_campaignIds = buildUnnamed2453();
+ var arg_contentCategoryIds = buildUnnamed2454();
+ var arg_directorySiteIds = buildUnnamed2455();
+ var arg_ids = buildUnnamed2456();
var arg_maxEndDate = "foo";
var arg_maxResults = 42;
var arg_maxStartDate = "foo";
@@ -19940,10 +19940,10 @@
var arg_minStartDate = "foo";
var arg_pageToken = "foo";
var arg_placementGroupType = "foo";
- var arg_placementStrategyIds = buildUnnamed2352();
- var arg_pricingTypes = buildUnnamed2353();
+ var arg_placementStrategyIds = buildUnnamed2457();
+ var arg_pricingTypes = buildUnnamed2458();
var arg_searchString = "foo";
- var arg_siteIds = buildUnnamed2354();
+ var arg_siteIds = buildUnnamed2459();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -20307,7 +20307,7 @@
var mock = new HttpServerMock();
api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).placementStrategies;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2355();
+ var arg_ids = buildUnnamed2460();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -20493,8 +20493,8 @@
api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
var arg_profileId = "foo";
var arg_campaignId = "foo";
- var arg_placementIds = buildUnnamed2356();
- var arg_tagFormats = buildUnnamed2357();
+ var arg_placementIds = buildUnnamed2461();
+ var arg_tagFormats = buildUnnamed2462();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -20665,14 +20665,14 @@
var mock = new HttpServerMock();
api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2358();
+ var arg_advertiserIds = buildUnnamed2463();
var arg_archived = true;
- var arg_campaignIds = buildUnnamed2359();
- var arg_compatibilities = buildUnnamed2360();
- var arg_contentCategoryIds = buildUnnamed2361();
- var arg_directorySiteIds = buildUnnamed2362();
- var arg_groupIds = buildUnnamed2363();
- var arg_ids = buildUnnamed2364();
+ var arg_campaignIds = buildUnnamed2464();
+ var arg_compatibilities = buildUnnamed2465();
+ var arg_contentCategoryIds = buildUnnamed2466();
+ var arg_directorySiteIds = buildUnnamed2467();
+ var arg_groupIds = buildUnnamed2468();
+ var arg_ids = buildUnnamed2469();
var arg_maxEndDate = "foo";
var arg_maxResults = 42;
var arg_maxStartDate = "foo";
@@ -20680,11 +20680,11 @@
var arg_minStartDate = "foo";
var arg_pageToken = "foo";
var arg_paymentSource = "foo";
- var arg_placementStrategyIds = buildUnnamed2365();
- var arg_pricingTypes = buildUnnamed2366();
+ var arg_placementStrategyIds = buildUnnamed2470();
+ var arg_pricingTypes = buildUnnamed2471();
var arg_searchString = "foo";
- var arg_siteIds = buildUnnamed2367();
- var arg_sizeIds = buildUnnamed2368();
+ var arg_siteIds = buildUnnamed2472();
+ var arg_sizeIds = buildUnnamed2473();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -21167,8 +21167,8 @@
var mock = new HttpServerMock();
api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2369();
- var arg_ids = buildUnnamed2370();
+ var arg_advertiserIds = buildUnnamed2474();
+ var arg_ids = buildUnnamed2475();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -22516,9 +22516,9 @@
var arg_acceptsPublisherPaidPlacements = true;
var arg_adWordsSite = true;
var arg_approved = true;
- var arg_campaignIds = buildUnnamed2371();
- var arg_directorySiteIds = buildUnnamed2372();
- var arg_ids = buildUnnamed2373();
+ var arg_campaignIds = buildUnnamed2476();
+ var arg_directorySiteIds = buildUnnamed2477();
+ var arg_ids = buildUnnamed2478();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -22830,7 +22830,7 @@
var arg_profileId = "foo";
var arg_height = 42;
var arg_iabStandard = true;
- var arg_ids = buildUnnamed2374();
+ var arg_ids = buildUnnamed2479();
var arg_width = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -23007,7 +23007,7 @@
var mock = new HttpServerMock();
api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2375();
+ var arg_ids = buildUnnamed2480();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -23435,7 +23435,7 @@
api.TargetingTemplatesResourceApi res = new api.DfareportingApi(mock).targetingTemplates;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_ids = buildUnnamed2376();
+ var arg_ids = buildUnnamed2481();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -23890,7 +23890,7 @@
var mock = new HttpServerMock();
api.UserRolePermissionsResourceApi res = new api.DfareportingApi(mock).userRolePermissions;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2377();
+ var arg_ids = buildUnnamed2482();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -24119,7 +24119,7 @@
api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
var arg_profileId = "foo";
var arg_accountUserRoleOnly = true;
- var arg_ids = buildUnnamed2378();
+ var arg_ids = buildUnnamed2483();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
diff --git a/generated/googleapis/test/discovery/v1_test.dart b/generated/googleapis/test/discovery/v1_test.dart
index 5314c0e..a5eb25e 100644
--- a/generated/googleapis/test/discovery/v1_test.dart
+++ b/generated/googleapis/test/discovery/v1_test.dart
@@ -72,14 +72,14 @@
buildCounterDirectoryListItemsIcons--;
}
-buildUnnamed234() {
+buildUnnamed255() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed234(core.List<core.String> o) {
+checkUnnamed255(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -97,7 +97,7 @@
o.icons = buildDirectoryListItemsIcons();
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed234();
+ o.labels = buildUnnamed255();
o.name = "foo";
o.preferred = true;
o.title = "foo";
@@ -117,7 +117,7 @@
checkDirectoryListItemsIcons(o.icons);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed234(o.labels);
+ checkUnnamed255(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.preferred, unittest.isTrue);
unittest.expect(o.title, unittest.equals('foo'));
@@ -126,14 +126,14 @@
buildCounterDirectoryListItems--;
}
-buildUnnamed235() {
+buildUnnamed256() {
var o = new core.List<api.DirectoryListItems>();
o.add(buildDirectoryListItems());
o.add(buildDirectoryListItems());
return o;
}
-checkUnnamed235(core.List<api.DirectoryListItems> o) {
+checkUnnamed256(core.List<api.DirectoryListItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectoryListItems(o[0]);
checkDirectoryListItems(o[1]);
@@ -145,7 +145,7 @@
buildCounterDirectoryList++;
if (buildCounterDirectoryList < 3) {
o.discoveryVersion = "foo";
- o.items = buildUnnamed235();
+ o.items = buildUnnamed256();
o.kind = "foo";
}
buildCounterDirectoryList--;
@@ -156,20 +156,20 @@
buildCounterDirectoryList++;
if (buildCounterDirectoryList < 3) {
unittest.expect(o.discoveryVersion, unittest.equals('foo'));
- checkUnnamed235(o.items);
+ checkUnnamed256(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDirectoryList--;
}
-buildUnnamed236() {
+buildUnnamed257() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed236(core.List<core.String> o) {
+checkUnnamed257(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -180,7 +180,7 @@
var o = new api.JsonSchemaAnnotations();
buildCounterJsonSchemaAnnotations++;
if (buildCounterJsonSchemaAnnotations < 3) {
- o.required = buildUnnamed236();
+ o.required = buildUnnamed257();
}
buildCounterJsonSchemaAnnotations--;
return o;
@@ -189,45 +189,45 @@
checkJsonSchemaAnnotations(api.JsonSchemaAnnotations o) {
buildCounterJsonSchemaAnnotations++;
if (buildCounterJsonSchemaAnnotations < 3) {
- checkUnnamed236(o.required);
+ checkUnnamed257(o.required);
}
buildCounterJsonSchemaAnnotations--;
}
-buildUnnamed237() {
+buildUnnamed258() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed237(core.List<core.String> o) {
+checkUnnamed258(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed238() {
+buildUnnamed259() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed238(core.List<core.String> o) {
+checkUnnamed259(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed239() {
+buildUnnamed260() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed239(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed260(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
@@ -254,14 +254,14 @@
buildCounterJsonSchemaVariantMap--;
}
-buildUnnamed240() {
+buildUnnamed261() {
var o = new core.List<api.JsonSchemaVariantMap>();
o.add(buildJsonSchemaVariantMap());
o.add(buildJsonSchemaVariantMap());
return o;
}
-checkUnnamed240(core.List<api.JsonSchemaVariantMap> o) {
+checkUnnamed261(core.List<api.JsonSchemaVariantMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchemaVariantMap(o[0]);
checkJsonSchemaVariantMap(o[1]);
@@ -273,7 +273,7 @@
buildCounterJsonSchemaVariant++;
if (buildCounterJsonSchemaVariant < 3) {
o.discriminant = "foo";
- o.map = buildUnnamed240();
+ o.map = buildUnnamed261();
}
buildCounterJsonSchemaVariant--;
return o;
@@ -283,7 +283,7 @@
buildCounterJsonSchemaVariant++;
if (buildCounterJsonSchemaVariant < 3) {
unittest.expect(o.discriminant, unittest.equals('foo'));
- checkUnnamed240(o.map);
+ checkUnnamed261(o.map);
}
buildCounterJsonSchemaVariant--;
}
@@ -298,8 +298,8 @@
o.annotations = buildJsonSchemaAnnotations();
o.default_ = "foo";
o.description = "foo";
- o.enum_ = buildUnnamed237();
- o.enumDescriptions = buildUnnamed238();
+ o.enum_ = buildUnnamed258();
+ o.enumDescriptions = buildUnnamed259();
o.format = "foo";
o.id = "foo";
o.items = buildJsonSchema();
@@ -307,7 +307,7 @@
o.maximum = "foo";
o.minimum = "foo";
o.pattern = "foo";
- o.properties = buildUnnamed239();
+ o.properties = buildUnnamed260();
o.readOnly = true;
o.repeated = true;
o.required = true;
@@ -326,8 +326,8 @@
checkJsonSchemaAnnotations(o.annotations);
unittest.expect(o.default_, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed237(o.enum_);
- checkUnnamed238(o.enumDescriptions);
+ checkUnnamed258(o.enum_);
+ checkUnnamed259(o.enumDescriptions);
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkJsonSchema(o.items);
@@ -335,7 +335,7 @@
unittest.expect(o.maximum, unittest.equals('foo'));
unittest.expect(o.minimum, unittest.equals('foo'));
unittest.expect(o.pattern, unittest.equals('foo'));
- checkUnnamed239(o.properties);
+ checkUnnamed260(o.properties);
unittest.expect(o.readOnly, unittest.isTrue);
unittest.expect(o.repeated, unittest.isTrue);
unittest.expect(o.required, unittest.isTrue);
@@ -364,14 +364,14 @@
buildCounterRestDescriptionAuthOauth2ScopesValue--;
}
-buildUnnamed241() {
+buildUnnamed262() {
var o = new core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue>();
o["x"] = buildRestDescriptionAuthOauth2ScopesValue();
o["y"] = buildRestDescriptionAuthOauth2ScopesValue();
return o;
}
-checkUnnamed241(core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue> o) {
+checkUnnamed262(core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestDescriptionAuthOauth2ScopesValue(o["x"]);
checkRestDescriptionAuthOauth2ScopesValue(o["y"]);
@@ -382,7 +382,7 @@
var o = new api.RestDescriptionAuthOauth2();
buildCounterRestDescriptionAuthOauth2++;
if (buildCounterRestDescriptionAuthOauth2 < 3) {
- o.scopes = buildUnnamed241();
+ o.scopes = buildUnnamed262();
}
buildCounterRestDescriptionAuthOauth2--;
return o;
@@ -391,7 +391,7 @@
checkRestDescriptionAuthOauth2(api.RestDescriptionAuthOauth2 o) {
buildCounterRestDescriptionAuthOauth2++;
if (buildCounterRestDescriptionAuthOauth2 < 3) {
- checkUnnamed241(o.scopes);
+ checkUnnamed262(o.scopes);
}
buildCounterRestDescriptionAuthOauth2--;
}
@@ -415,14 +415,14 @@
buildCounterRestDescriptionAuth--;
}
-buildUnnamed242() {
+buildUnnamed263() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed242(core.List<core.String> o) {
+checkUnnamed263(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -449,66 +449,66 @@
buildCounterRestDescriptionIcons--;
}
-buildUnnamed243() {
+buildUnnamed264() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed243(core.List<core.String> o) {
+checkUnnamed264(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed244() {
+buildUnnamed265() {
var o = new core.Map<core.String, api.RestMethod>();
o["x"] = buildRestMethod();
o["y"] = buildRestMethod();
return o;
}
-checkUnnamed244(core.Map<core.String, api.RestMethod> o) {
+checkUnnamed265(core.Map<core.String, api.RestMethod> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestMethod(o["x"]);
checkRestMethod(o["y"]);
}
-buildUnnamed245() {
+buildUnnamed266() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed245(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed266(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
}
-buildUnnamed246() {
+buildUnnamed267() {
var o = new core.Map<core.String, api.RestResource>();
o["x"] = buildRestResource();
o["y"] = buildRestResource();
return o;
}
-checkUnnamed246(core.Map<core.String, api.RestResource> o) {
+checkUnnamed267(core.Map<core.String, api.RestResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestResource(o["x"]);
checkRestResource(o["y"]);
}
-buildUnnamed247() {
+buildUnnamed268() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed247(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed268(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
@@ -529,22 +529,22 @@
o.documentationLink = "foo";
o.etag = "foo";
o.exponentialBackoffDefault = true;
- o.features = buildUnnamed242();
+ o.features = buildUnnamed263();
o.icons = buildRestDescriptionIcons();
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed243();
- o.methods = buildUnnamed244();
+ o.labels = buildUnnamed264();
+ o.methods = buildUnnamed265();
o.name = "foo";
o.ownerDomain = "foo";
o.ownerName = "foo";
o.packagePath = "foo";
- o.parameters = buildUnnamed245();
+ o.parameters = buildUnnamed266();
o.protocol = "foo";
- o.resources = buildUnnamed246();
+ o.resources = buildUnnamed267();
o.revision = "foo";
o.rootUrl = "foo";
- o.schemas = buildUnnamed247();
+ o.schemas = buildUnnamed268();
o.servicePath = "foo";
o.title = "foo";
o.version = "foo";
@@ -567,22 +567,22 @@
unittest.expect(o.documentationLink, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.exponentialBackoffDefault, unittest.isTrue);
- checkUnnamed242(o.features);
+ checkUnnamed263(o.features);
checkRestDescriptionIcons(o.icons);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed243(o.labels);
- checkUnnamed244(o.methods);
+ checkUnnamed264(o.labels);
+ checkUnnamed265(o.methods);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.ownerDomain, unittest.equals('foo'));
unittest.expect(o.ownerName, unittest.equals('foo'));
unittest.expect(o.packagePath, unittest.equals('foo'));
- checkUnnamed245(o.parameters);
+ checkUnnamed266(o.parameters);
unittest.expect(o.protocol, unittest.equals('foo'));
- checkUnnamed246(o.resources);
+ checkUnnamed267(o.resources);
unittest.expect(o.revision, unittest.equals('foo'));
unittest.expect(o.rootUrl, unittest.equals('foo'));
- checkUnnamed247(o.schemas);
+ checkUnnamed268(o.schemas);
unittest.expect(o.servicePath, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -591,14 +591,14 @@
buildCounterRestDescription--;
}
-buildUnnamed248() {
+buildUnnamed269() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed248(core.List<core.String> o) {
+checkUnnamed269(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -672,7 +672,7 @@
var o = new api.RestMethodMediaUpload();
buildCounterRestMethodMediaUpload++;
if (buildCounterRestMethodMediaUpload < 3) {
- o.accept = buildUnnamed248();
+ o.accept = buildUnnamed269();
o.maxSize = "foo";
o.protocols = buildRestMethodMediaUploadProtocols();
}
@@ -683,34 +683,34 @@
checkRestMethodMediaUpload(api.RestMethodMediaUpload o) {
buildCounterRestMethodMediaUpload++;
if (buildCounterRestMethodMediaUpload < 3) {
- checkUnnamed248(o.accept);
+ checkUnnamed269(o.accept);
unittest.expect(o.maxSize, unittest.equals('foo'));
checkRestMethodMediaUploadProtocols(o.protocols);
}
buildCounterRestMethodMediaUpload--;
}
-buildUnnamed249() {
+buildUnnamed270() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed249(core.List<core.String> o) {
+checkUnnamed270(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed250() {
+buildUnnamed271() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed250(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed271(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
@@ -756,14 +756,14 @@
buildCounterRestMethodResponse--;
}
-buildUnnamed251() {
+buildUnnamed272() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed251(core.List<core.String> o) {
+checkUnnamed272(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -779,12 +779,12 @@
o.httpMethod = "foo";
o.id = "foo";
o.mediaUpload = buildRestMethodMediaUpload();
- o.parameterOrder = buildUnnamed249();
- o.parameters = buildUnnamed250();
+ o.parameterOrder = buildUnnamed270();
+ o.parameters = buildUnnamed271();
o.path = "foo";
o.request = buildRestMethodRequest();
o.response = buildRestMethodResponse();
- o.scopes = buildUnnamed251();
+ o.scopes = buildUnnamed272();
o.supportsMediaDownload = true;
o.supportsMediaUpload = true;
o.supportsSubscription = true;
@@ -802,12 +802,12 @@
unittest.expect(o.httpMethod, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkRestMethodMediaUpload(o.mediaUpload);
- checkUnnamed249(o.parameterOrder);
- checkUnnamed250(o.parameters);
+ checkUnnamed270(o.parameterOrder);
+ checkUnnamed271(o.parameters);
unittest.expect(o.path, unittest.equals('foo'));
checkRestMethodRequest(o.request);
checkRestMethodResponse(o.response);
- checkUnnamed251(o.scopes);
+ checkUnnamed272(o.scopes);
unittest.expect(o.supportsMediaDownload, unittest.isTrue);
unittest.expect(o.supportsMediaUpload, unittest.isTrue);
unittest.expect(o.supportsSubscription, unittest.isTrue);
@@ -816,27 +816,27 @@
buildCounterRestMethod--;
}
-buildUnnamed252() {
+buildUnnamed273() {
var o = new core.Map<core.String, api.RestMethod>();
o["x"] = buildRestMethod();
o["y"] = buildRestMethod();
return o;
}
-checkUnnamed252(core.Map<core.String, api.RestMethod> o) {
+checkUnnamed273(core.Map<core.String, api.RestMethod> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestMethod(o["x"]);
checkRestMethod(o["y"]);
}
-buildUnnamed253() {
+buildUnnamed274() {
var o = new core.Map<core.String, api.RestResource>();
o["x"] = buildRestResource();
o["y"] = buildRestResource();
return o;
}
-checkUnnamed253(core.Map<core.String, api.RestResource> o) {
+checkUnnamed274(core.Map<core.String, api.RestResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestResource(o["x"]);
checkRestResource(o["y"]);
@@ -847,8 +847,8 @@
var o = new api.RestResource();
buildCounterRestResource++;
if (buildCounterRestResource < 3) {
- o.methods = buildUnnamed252();
- o.resources = buildUnnamed253();
+ o.methods = buildUnnamed273();
+ o.resources = buildUnnamed274();
}
buildCounterRestResource--;
return o;
@@ -857,8 +857,8 @@
checkRestResource(api.RestResource o) {
buildCounterRestResource++;
if (buildCounterRestResource < 3) {
- checkUnnamed252(o.methods);
- checkUnnamed253(o.resources);
+ checkUnnamed273(o.methods);
+ checkUnnamed274(o.resources);
}
buildCounterRestResource--;
}
diff --git a/generated/googleapis/test/dns/v1_test.dart b/generated/googleapis/test/dns/v1_test.dart
index a8657e7..9815076 100644
--- a/generated/googleapis/test/dns/v1_test.dart
+++ b/generated/googleapis/test/dns/v1_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed695() {
+buildUnnamed716() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed695(core.List<api.ResourceRecordSet> o) {
+checkUnnamed716(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
}
-buildUnnamed696() {
+buildUnnamed717() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed696(core.List<api.ResourceRecordSet> o) {
+checkUnnamed717(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
@@ -82,8 +82,8 @@
var o = new api.Change();
buildCounterChange++;
if (buildCounterChange < 3) {
- o.additions = buildUnnamed695();
- o.deletions = buildUnnamed696();
+ o.additions = buildUnnamed716();
+ o.deletions = buildUnnamed717();
o.id = "foo";
o.kind = "foo";
o.startTime = "foo";
@@ -96,8 +96,8 @@
checkChange(api.Change o) {
buildCounterChange++;
if (buildCounterChange < 3) {
- checkUnnamed695(o.additions);
- checkUnnamed696(o.deletions);
+ checkUnnamed716(o.additions);
+ checkUnnamed717(o.deletions);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
@@ -106,14 +106,14 @@
buildCounterChange--;
}
-buildUnnamed697() {
+buildUnnamed718() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed697(core.List<api.Change> o) {
+checkUnnamed718(core.List<api.Change> o) {
unittest.expect(o, unittest.hasLength(2));
checkChange(o[0]);
checkChange(o[1]);
@@ -124,7 +124,7 @@
var o = new api.ChangesListResponse();
buildCounterChangesListResponse++;
if (buildCounterChangesListResponse < 3) {
- o.changes = buildUnnamed697();
+ o.changes = buildUnnamed718();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -135,21 +135,21 @@
checkChangesListResponse(api.ChangesListResponse o) {
buildCounterChangesListResponse++;
if (buildCounterChangesListResponse < 3) {
- checkUnnamed697(o.changes);
+ checkUnnamed718(o.changes);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterChangesListResponse--;
}
-buildUnnamed698() {
+buildUnnamed719() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed698(core.List<core.String> o) {
+checkUnnamed719(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -167,7 +167,7 @@
o.kind = "foo";
o.name = "foo";
o.nameServerSet = "foo";
- o.nameServers = buildUnnamed698();
+ o.nameServers = buildUnnamed719();
}
buildCounterManagedZone--;
return o;
@@ -183,19 +183,19 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nameServerSet, unittest.equals('foo'));
- checkUnnamed698(o.nameServers);
+ checkUnnamed719(o.nameServers);
}
buildCounterManagedZone--;
}
-buildUnnamed699() {
+buildUnnamed720() {
var o = new core.List<api.ManagedZone>();
o.add(buildManagedZone());
o.add(buildManagedZone());
return o;
}
-checkUnnamed699(core.List<api.ManagedZone> o) {
+checkUnnamed720(core.List<api.ManagedZone> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedZone(o[0]);
checkManagedZone(o[1]);
@@ -207,7 +207,7 @@
buildCounterManagedZonesListResponse++;
if (buildCounterManagedZonesListResponse < 3) {
o.kind = "foo";
- o.managedZones = buildUnnamed699();
+ o.managedZones = buildUnnamed720();
o.nextPageToken = "foo";
}
buildCounterManagedZonesListResponse--;
@@ -218,7 +218,7 @@
buildCounterManagedZonesListResponse++;
if (buildCounterManagedZonesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed699(o.managedZones);
+ checkUnnamed720(o.managedZones);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterManagedZonesListResponse--;
@@ -280,14 +280,14 @@
buildCounterQuota--;
}
-buildUnnamed700() {
+buildUnnamed721() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed700(core.List<core.String> o) {
+checkUnnamed721(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -300,7 +300,7 @@
if (buildCounterResourceRecordSet < 3) {
o.kind = "foo";
o.name = "foo";
- o.rrdatas = buildUnnamed700();
+ o.rrdatas = buildUnnamed721();
o.ttl = 42;
o.type = "foo";
}
@@ -313,21 +313,21 @@
if (buildCounterResourceRecordSet < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed700(o.rrdatas);
+ checkUnnamed721(o.rrdatas);
unittest.expect(o.ttl, unittest.equals(42));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterResourceRecordSet--;
}
-buildUnnamed701() {
+buildUnnamed722() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed701(core.List<api.ResourceRecordSet> o) {
+checkUnnamed722(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
@@ -340,7 +340,7 @@
if (buildCounterResourceRecordSetsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.rrsets = buildUnnamed701();
+ o.rrsets = buildUnnamed722();
}
buildCounterResourceRecordSetsListResponse--;
return o;
@@ -351,7 +351,7 @@
if (buildCounterResourceRecordSetsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed701(o.rrsets);
+ checkUnnamed722(o.rrsets);
}
buildCounterResourceRecordSetsListResponse--;
}
diff --git a/generated/googleapis/test/doubleclickbidmanager/v1_test.dart b/generated/googleapis/test/doubleclickbidmanager/v1_test.dart
index 00004fa..8a4e4b2 100644
--- a/generated/googleapis/test/doubleclickbidmanager/v1_test.dart
+++ b/generated/googleapis/test/doubleclickbidmanager/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1132() {
+buildUnnamed1163() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1132(core.List<core.String> o) {
+checkUnnamed1163(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -70,7 +70,7 @@
buildCounterDownloadLineItemsRequest++;
if (buildCounterDownloadLineItemsRequest < 3) {
o.fileSpec = "foo";
- o.filterIds = buildUnnamed1132();
+ o.filterIds = buildUnnamed1163();
o.filterType = "foo";
o.format = "foo";
}
@@ -82,7 +82,7 @@
buildCounterDownloadLineItemsRequest++;
if (buildCounterDownloadLineItemsRequest < 3) {
unittest.expect(o.fileSpec, unittest.equals('foo'));
- checkUnnamed1132(o.filterIds);
+ checkUnnamed1163(o.filterIds);
unittest.expect(o.filterType, unittest.equals('foo'));
unittest.expect(o.format, unittest.equals('foo'));
}
@@ -108,27 +108,27 @@
buildCounterDownloadLineItemsResponse--;
}
-buildUnnamed1133() {
+buildUnnamed1164() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1133(core.List<core.String> o) {
+checkUnnamed1164(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1134() {
+buildUnnamed1165() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1134(core.List<core.String> o) {
+checkUnnamed1165(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -139,8 +139,8 @@
var o = new api.DownloadRequest();
buildCounterDownloadRequest++;
if (buildCounterDownloadRequest < 3) {
- o.fileTypes = buildUnnamed1133();
- o.filterIds = buildUnnamed1134();
+ o.fileTypes = buildUnnamed1164();
+ o.filterIds = buildUnnamed1165();
o.filterType = "foo";
o.version = "foo";
}
@@ -151,8 +151,8 @@
checkDownloadRequest(api.DownloadRequest o) {
buildCounterDownloadRequest++;
if (buildCounterDownloadRequest < 3) {
- checkUnnamed1133(o.fileTypes);
- checkUnnamed1134(o.filterIds);
+ checkUnnamed1164(o.fileTypes);
+ checkUnnamed1165(o.filterIds);
unittest.expect(o.filterType, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
}
@@ -205,14 +205,14 @@
buildCounterFilterPair--;
}
-buildUnnamed1135() {
+buildUnnamed1166() {
var o = new core.List<api.Query>();
o.add(buildQuery());
o.add(buildQuery());
return o;
}
-checkUnnamed1135(core.List<api.Query> o) {
+checkUnnamed1166(core.List<api.Query> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuery(o[0]);
checkQuery(o[1]);
@@ -224,7 +224,7 @@
buildCounterListQueriesResponse++;
if (buildCounterListQueriesResponse < 3) {
o.kind = "foo";
- o.queries = buildUnnamed1135();
+ o.queries = buildUnnamed1166();
}
buildCounterListQueriesResponse--;
return o;
@@ -234,19 +234,19 @@
buildCounterListQueriesResponse++;
if (buildCounterListQueriesResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1135(o.queries);
+ checkUnnamed1166(o.queries);
}
buildCounterListQueriesResponse--;
}
-buildUnnamed1136() {
+buildUnnamed1167() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed1136(core.List<api.Report> o) {
+checkUnnamed1167(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -258,7 +258,7 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
o.kind = "foo";
- o.reports = buildUnnamed1136();
+ o.reports = buildUnnamed1167();
}
buildCounterListReportsResponse--;
return o;
@@ -268,45 +268,45 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1136(o.reports);
+ checkUnnamed1167(o.reports);
}
buildCounterListReportsResponse--;
}
-buildUnnamed1137() {
+buildUnnamed1168() {
var o = new core.List<api.FilterPair>();
o.add(buildFilterPair());
o.add(buildFilterPair());
return o;
}
-checkUnnamed1137(core.List<api.FilterPair> o) {
+checkUnnamed1168(core.List<api.FilterPair> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilterPair(o[0]);
checkFilterPair(o[1]);
}
-buildUnnamed1138() {
+buildUnnamed1169() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1138(core.List<core.String> o) {
+checkUnnamed1169(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1139() {
+buildUnnamed1170() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1139(core.List<core.String> o) {
+checkUnnamed1170(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -317,10 +317,10 @@
var o = new api.Parameters();
buildCounterParameters++;
if (buildCounterParameters < 3) {
- o.filters = buildUnnamed1137();
- o.groupBys = buildUnnamed1138();
+ o.filters = buildUnnamed1168();
+ o.groupBys = buildUnnamed1169();
o.includeInviteData = true;
- o.metrics = buildUnnamed1139();
+ o.metrics = buildUnnamed1170();
o.type = "foo";
}
buildCounterParameters--;
@@ -330,10 +330,10 @@
checkParameters(api.Parameters o) {
buildCounterParameters++;
if (buildCounterParameters < 3) {
- checkUnnamed1137(o.filters);
- checkUnnamed1138(o.groupBys);
+ checkUnnamed1168(o.filters);
+ checkUnnamed1169(o.groupBys);
unittest.expect(o.includeInviteData, unittest.isTrue);
- checkUnnamed1139(o.metrics);
+ checkUnnamed1170(o.metrics);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterParameters--;
@@ -372,14 +372,14 @@
buildCounterQuery--;
}
-buildUnnamed1140() {
+buildUnnamed1171() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1140(core.List<core.String> o) {
+checkUnnamed1171(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -399,7 +399,7 @@
o.reportCount = 42;
o.running = true;
o.sendNotification = true;
- o.shareEmailAddress = buildUnnamed1140();
+ o.shareEmailAddress = buildUnnamed1171();
o.title = "foo";
}
buildCounterQueryMetadata--;
@@ -418,7 +418,7 @@
unittest.expect(o.reportCount, unittest.equals(42));
unittest.expect(o.running, unittest.isTrue);
unittest.expect(o.sendNotification, unittest.isTrue);
- checkUnnamed1140(o.shareEmailAddress);
+ checkUnnamed1171(o.shareEmailAddress);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterQueryMetadata--;
@@ -562,14 +562,14 @@
buildCounterReportStatus--;
}
-buildUnnamed1141() {
+buildUnnamed1172() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1141(core.List<core.String> o) {
+checkUnnamed1172(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -583,7 +583,7 @@
o.changed = true;
o.entityId = "foo";
o.entityName = "foo";
- o.errors = buildUnnamed1141();
+ o.errors = buildUnnamed1172();
o.persisted = true;
o.rowNumber = 42;
}
@@ -597,7 +597,7 @@
unittest.expect(o.changed, unittest.isTrue);
unittest.expect(o.entityId, unittest.equals('foo'));
unittest.expect(o.entityName, unittest.equals('foo'));
- checkUnnamed1141(o.errors);
+ checkUnnamed1172(o.errors);
unittest.expect(o.persisted, unittest.isTrue);
unittest.expect(o.rowNumber, unittest.equals(42));
}
@@ -671,27 +671,27 @@
buildCounterUploadLineItemsResponse--;
}
-buildUnnamed1142() {
+buildUnnamed1173() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1142(core.List<core.String> o) {
+checkUnnamed1173(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1143() {
+buildUnnamed1174() {
var o = new core.List<api.RowStatus>();
o.add(buildRowStatus());
o.add(buildRowStatus());
return o;
}
-checkUnnamed1143(core.List<api.RowStatus> o) {
+checkUnnamed1174(core.List<api.RowStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRowStatus(o[0]);
checkRowStatus(o[1]);
@@ -702,8 +702,8 @@
var o = new api.UploadStatus();
buildCounterUploadStatus++;
if (buildCounterUploadStatus < 3) {
- o.errors = buildUnnamed1142();
- o.rowStatus = buildUnnamed1143();
+ o.errors = buildUnnamed1173();
+ o.rowStatus = buildUnnamed1174();
}
buildCounterUploadStatus--;
return o;
@@ -712,8 +712,8 @@
checkUploadStatus(api.UploadStatus o) {
buildCounterUploadStatus++;
if (buildCounterUploadStatus < 3) {
- checkUnnamed1142(o.errors);
- checkUnnamed1143(o.rowStatus);
+ checkUnnamed1173(o.errors);
+ checkUnnamed1174(o.rowStatus);
}
buildCounterUploadStatus--;
}
diff --git a/generated/googleapis/test/doubleclicksearch/v2_test.dart b/generated/googleapis/test/doubleclicksearch/v2_test.dart
index 5372951..63e9fbb 100644
--- a/generated/googleapis/test/doubleclicksearch/v2_test.dart
+++ b/generated/googleapis/test/doubleclicksearch/v2_test.dart
@@ -80,27 +80,27 @@
buildCounterAvailability--;
}
-buildUnnamed1235() {
+buildUnnamed1288() {
var o = new core.List<api.CustomDimension>();
o.add(buildCustomDimension());
o.add(buildCustomDimension());
return o;
}
-checkUnnamed1235(core.List<api.CustomDimension> o) {
+checkUnnamed1288(core.List<api.CustomDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDimension(o[0]);
checkCustomDimension(o[1]);
}
-buildUnnamed1236() {
+buildUnnamed1289() {
var o = new core.List<api.CustomMetric>();
o.add(buildCustomMetric());
o.add(buildCustomMetric());
return o;
}
-checkUnnamed1236(core.List<api.CustomMetric> o) {
+checkUnnamed1289(core.List<api.CustomMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomMetric(o[0]);
checkCustomMetric(o[1]);
@@ -125,8 +125,8 @@
o.countMillis = "foo";
o.criterionId = "foo";
o.currencyCode = "foo";
- o.customDimension = buildUnnamed1235();
- o.customMetric = buildUnnamed1236();
+ o.customDimension = buildUnnamed1288();
+ o.customMetric = buildUnnamed1289();
o.deviceType = "foo";
o.dsConversionId = "foo";
o.engineAccountId = "foo";
@@ -166,8 +166,8 @@
unittest.expect(o.countMillis, unittest.equals('foo'));
unittest.expect(o.criterionId, unittest.equals('foo'));
unittest.expect(o.currencyCode, unittest.equals('foo'));
- checkUnnamed1235(o.customDimension);
- checkUnnamed1236(o.customMetric);
+ checkUnnamed1288(o.customDimension);
+ checkUnnamed1289(o.customMetric);
unittest.expect(o.deviceType, unittest.equals('foo'));
unittest.expect(o.dsConversionId, unittest.equals('foo'));
unittest.expect(o.engineAccountId, unittest.equals('foo'));
@@ -189,14 +189,14 @@
buildCounterConversion--;
}
-buildUnnamed1237() {
+buildUnnamed1290() {
var o = new core.List<api.Conversion>();
o.add(buildConversion());
o.add(buildConversion());
return o;
}
-checkUnnamed1237(core.List<api.Conversion> o) {
+checkUnnamed1290(core.List<api.Conversion> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversion(o[0]);
checkConversion(o[1]);
@@ -207,7 +207,7 @@
var o = new api.ConversionList();
buildCounterConversionList++;
if (buildCounterConversionList < 3) {
- o.conversion = buildUnnamed1237();
+ o.conversion = buildUnnamed1290();
o.kind = "foo";
}
buildCounterConversionList--;
@@ -217,7 +217,7 @@
checkConversionList(api.ConversionList o) {
buildCounterConversionList++;
if (buildCounterConversionList < 3) {
- checkUnnamed1237(o.conversion);
+ checkUnnamed1290(o.conversion);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionList--;
@@ -286,27 +286,27 @@
buildCounterReportFiles--;
}
-buildUnnamed1238() {
+buildUnnamed1291() {
var o = new core.List<api.ReportFiles>();
o.add(buildReportFiles());
o.add(buildReportFiles());
return o;
}
-checkUnnamed1238(core.List<api.ReportFiles> o) {
+checkUnnamed1291(core.List<api.ReportFiles> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportFiles(o[0]);
checkReportFiles(o[1]);
}
-buildUnnamed1239() {
+buildUnnamed1292() {
var o = new core.List<api.ReportRow>();
o.add(buildReportRow());
o.add(buildReportRow());
return o;
}
-checkUnnamed1239(core.List<api.ReportRow> o) {
+checkUnnamed1292(core.List<api.ReportRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRow(o[0]);
checkReportRow(o[1]);
@@ -317,13 +317,13 @@
var o = new api.Report();
buildCounterReport++;
if (buildCounterReport < 3) {
- o.files = buildUnnamed1238();
+ o.files = buildUnnamed1291();
o.id = "foo";
o.isReportReady = true;
o.kind = "foo";
o.request = buildReportRequest();
o.rowCount = 42;
- o.rows = buildUnnamed1239();
+ o.rows = buildUnnamed1292();
o.statisticsCurrencyCode = "foo";
o.statisticsTimeZone = "foo";
}
@@ -334,13 +334,13 @@
checkReport(api.Report o) {
buildCounterReport++;
if (buildCounterReport < 3) {
- checkUnnamed1238(o.files);
+ checkUnnamed1291(o.files);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isReportReady, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
checkReportRequest(o.request);
unittest.expect(o.rowCount, unittest.equals(42));
- checkUnnamed1239(o.rows);
+ checkUnnamed1292(o.rows);
unittest.expect(o.statisticsCurrencyCode, unittest.equals('foo'));
unittest.expect(o.statisticsTimeZone, unittest.equals('foo'));
}
@@ -384,27 +384,27 @@
buildCounterReportApiColumnSpec--;
}
-buildUnnamed1240() {
+buildUnnamed1293() {
var o = new core.List<api.ReportApiColumnSpec>();
o.add(buildReportApiColumnSpec());
o.add(buildReportApiColumnSpec());
return o;
}
-checkUnnamed1240(core.List<api.ReportApiColumnSpec> o) {
+checkUnnamed1293(core.List<api.ReportApiColumnSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportApiColumnSpec(o[0]);
checkReportApiColumnSpec(o[1]);
}
-buildUnnamed1241() {
+buildUnnamed1294() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1241(core.List<core.Object> o) {
+checkUnnamed1294(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) 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[1]) 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'));
@@ -417,7 +417,7 @@
if (buildCounterReportRequestFilters < 3) {
o.column = buildReportApiColumnSpec();
o.operator = "foo";
- o.values = buildUnnamed1241();
+ o.values = buildUnnamed1294();
}
buildCounterReportRequestFilters--;
return o;
@@ -428,19 +428,19 @@
if (buildCounterReportRequestFilters < 3) {
checkReportApiColumnSpec(o.column);
unittest.expect(o.operator, unittest.equals('foo'));
- checkUnnamed1241(o.values);
+ checkUnnamed1294(o.values);
}
buildCounterReportRequestFilters--;
}
-buildUnnamed1242() {
+buildUnnamed1295() {
var o = new core.List<api.ReportRequestFilters>();
o.add(buildReportRequestFilters());
o.add(buildReportRequestFilters());
return o;
}
-checkUnnamed1242(core.List<api.ReportRequestFilters> o) {
+checkUnnamed1295(core.List<api.ReportRequestFilters> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRequestFilters(o[0]);
checkReportRequestFilters(o[1]);
@@ -467,14 +467,14 @@
buildCounterReportRequestOrderBy--;
}
-buildUnnamed1243() {
+buildUnnamed1296() {
var o = new core.List<api.ReportRequestOrderBy>();
o.add(buildReportRequestOrderBy());
o.add(buildReportRequestOrderBy());
return o;
}
-checkUnnamed1243(core.List<api.ReportRequestOrderBy> o) {
+checkUnnamed1296(core.List<api.ReportRequestOrderBy> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRequestOrderBy(o[0]);
checkReportRequestOrderBy(o[1]);
@@ -541,13 +541,13 @@
var o = new api.ReportRequest();
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- o.columns = buildUnnamed1240();
+ o.columns = buildUnnamed1293();
o.downloadFormat = "foo";
- o.filters = buildUnnamed1242();
+ o.filters = buildUnnamed1295();
o.includeDeletedEntities = true;
o.includeRemovedEntities = true;
o.maxRowsPerFile = 42;
- o.orderBy = buildUnnamed1243();
+ o.orderBy = buildUnnamed1296();
o.reportScope = buildReportRequestReportScope();
o.reportType = "foo";
o.rowCount = 42;
@@ -563,13 +563,13 @@
checkReportRequest(api.ReportRequest o) {
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- checkUnnamed1240(o.columns);
+ checkUnnamed1293(o.columns);
unittest.expect(o.downloadFormat, unittest.equals('foo'));
- checkUnnamed1242(o.filters);
+ checkUnnamed1295(o.filters);
unittest.expect(o.includeDeletedEntities, unittest.isTrue);
unittest.expect(o.includeRemovedEntities, unittest.isTrue);
unittest.expect(o.maxRowsPerFile, unittest.equals(42));
- checkUnnamed1243(o.orderBy);
+ checkUnnamed1296(o.orderBy);
checkReportRequestReportScope(o.reportScope);
unittest.expect(o.reportType, unittest.equals('foo'));
unittest.expect(o.rowCount, unittest.equals(42));
@@ -617,14 +617,14 @@
buildCounterSavedColumn--;
}
-buildUnnamed1244() {
+buildUnnamed1297() {
var o = new core.List<api.SavedColumn>();
o.add(buildSavedColumn());
o.add(buildSavedColumn());
return o;
}
-checkUnnamed1244(core.List<api.SavedColumn> o) {
+checkUnnamed1297(core.List<api.SavedColumn> o) {
unittest.expect(o, unittest.hasLength(2));
checkSavedColumn(o[0]);
checkSavedColumn(o[1]);
@@ -635,7 +635,7 @@
var o = new api.SavedColumnList();
buildCounterSavedColumnList++;
if (buildCounterSavedColumnList < 3) {
- o.items = buildUnnamed1244();
+ o.items = buildUnnamed1297();
o.kind = "foo";
}
buildCounterSavedColumnList--;
@@ -645,20 +645,20 @@
checkSavedColumnList(api.SavedColumnList o) {
buildCounterSavedColumnList++;
if (buildCounterSavedColumnList < 3) {
- checkUnnamed1244(o.items);
+ checkUnnamed1297(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSavedColumnList--;
}
-buildUnnamed1245() {
+buildUnnamed1298() {
var o = new core.List<api.Availability>();
o.add(buildAvailability());
o.add(buildAvailability());
return o;
}
-checkUnnamed1245(core.List<api.Availability> o) {
+checkUnnamed1298(core.List<api.Availability> o) {
unittest.expect(o, unittest.hasLength(2));
checkAvailability(o[0]);
checkAvailability(o[1]);
@@ -669,7 +669,7 @@
var o = new api.UpdateAvailabilityRequest();
buildCounterUpdateAvailabilityRequest++;
if (buildCounterUpdateAvailabilityRequest < 3) {
- o.availabilities = buildUnnamed1245();
+ o.availabilities = buildUnnamed1298();
}
buildCounterUpdateAvailabilityRequest--;
return o;
@@ -678,19 +678,19 @@
checkUpdateAvailabilityRequest(api.UpdateAvailabilityRequest o) {
buildCounterUpdateAvailabilityRequest++;
if (buildCounterUpdateAvailabilityRequest < 3) {
- checkUnnamed1245(o.availabilities);
+ checkUnnamed1298(o.availabilities);
}
buildCounterUpdateAvailabilityRequest--;
}
-buildUnnamed1246() {
+buildUnnamed1299() {
var o = new core.List<api.Availability>();
o.add(buildAvailability());
o.add(buildAvailability());
return o;
}
-checkUnnamed1246(core.List<api.Availability> o) {
+checkUnnamed1299(core.List<api.Availability> o) {
unittest.expect(o, unittest.hasLength(2));
checkAvailability(o[0]);
checkAvailability(o[1]);
@@ -701,7 +701,7 @@
var o = new api.UpdateAvailabilityResponse();
buildCounterUpdateAvailabilityResponse++;
if (buildCounterUpdateAvailabilityResponse < 3) {
- o.availabilities = buildUnnamed1246();
+ o.availabilities = buildUnnamed1299();
}
buildCounterUpdateAvailabilityResponse--;
return o;
@@ -710,7 +710,7 @@
checkUpdateAvailabilityResponse(api.UpdateAvailabilityResponse o) {
buildCounterUpdateAvailabilityResponse++;
if (buildCounterUpdateAvailabilityResponse < 3) {
- checkUnnamed1246(o.availabilities);
+ checkUnnamed1299(o.availabilities);
}
buildCounterUpdateAvailabilityResponse--;
}
diff --git a/generated/googleapis/test/drive/v2_test.dart b/generated/googleapis/test/drive/v2_test.dart
index 19f587a..492126d 100644
--- a/generated/googleapis/test/drive/v2_test.dart
+++ b/generated/googleapis/test/drive/v2_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed610() {
+buildUnnamed631() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed610(core.List<core.String> o) {
+checkUnnamed631(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -69,7 +69,7 @@
var o = new api.AboutAdditionalRoleInfoRoleSets();
buildCounterAboutAdditionalRoleInfoRoleSets++;
if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) {
- o.additionalRoles = buildUnnamed610();
+ o.additionalRoles = buildUnnamed631();
o.primaryRole = "foo";
}
buildCounterAboutAdditionalRoleInfoRoleSets--;
@@ -79,20 +79,20 @@
checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) {
buildCounterAboutAdditionalRoleInfoRoleSets++;
if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) {
- checkUnnamed610(o.additionalRoles);
+ checkUnnamed631(o.additionalRoles);
unittest.expect(o.primaryRole, unittest.equals('foo'));
}
buildCounterAboutAdditionalRoleInfoRoleSets--;
}
-buildUnnamed611() {
+buildUnnamed632() {
var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>();
o.add(buildAboutAdditionalRoleInfoRoleSets());
o.add(buildAboutAdditionalRoleInfoRoleSets());
return o;
}
-checkUnnamed611(core.List<api.AboutAdditionalRoleInfoRoleSets> o) {
+checkUnnamed632(core.List<api.AboutAdditionalRoleInfoRoleSets> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutAdditionalRoleInfoRoleSets(o[0]);
checkAboutAdditionalRoleInfoRoleSets(o[1]);
@@ -103,7 +103,7 @@
var o = new api.AboutAdditionalRoleInfo();
buildCounterAboutAdditionalRoleInfo++;
if (buildCounterAboutAdditionalRoleInfo < 3) {
- o.roleSets = buildUnnamed611();
+ o.roleSets = buildUnnamed632();
o.type = "foo";
}
buildCounterAboutAdditionalRoleInfo--;
@@ -113,33 +113,33 @@
checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) {
buildCounterAboutAdditionalRoleInfo++;
if (buildCounterAboutAdditionalRoleInfo < 3) {
- checkUnnamed611(o.roleSets);
+ checkUnnamed632(o.roleSets);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterAboutAdditionalRoleInfo--;
}
-buildUnnamed612() {
+buildUnnamed633() {
var o = new core.List<api.AboutAdditionalRoleInfo>();
o.add(buildAboutAdditionalRoleInfo());
o.add(buildAboutAdditionalRoleInfo());
return o;
}
-checkUnnamed612(core.List<api.AboutAdditionalRoleInfo> o) {
+checkUnnamed633(core.List<api.AboutAdditionalRoleInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutAdditionalRoleInfo(o[0]);
checkAboutAdditionalRoleInfo(o[1]);
}
-buildUnnamed613() {
+buildUnnamed634() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed613(core.List<core.String> o) {
+checkUnnamed634(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -151,7 +151,7 @@
buildCounterAboutExportFormats++;
if (buildCounterAboutExportFormats < 3) {
o.source = "foo";
- o.targets = buildUnnamed613();
+ o.targets = buildUnnamed634();
}
buildCounterAboutExportFormats--;
return o;
@@ -161,19 +161,19 @@
buildCounterAboutExportFormats++;
if (buildCounterAboutExportFormats < 3) {
unittest.expect(o.source, unittest.equals('foo'));
- checkUnnamed613(o.targets);
+ checkUnnamed634(o.targets);
}
buildCounterAboutExportFormats--;
}
-buildUnnamed614() {
+buildUnnamed635() {
var o = new core.List<api.AboutExportFormats>();
o.add(buildAboutExportFormats());
o.add(buildAboutExportFormats());
return o;
}
-checkUnnamed614(core.List<api.AboutExportFormats> o) {
+checkUnnamed635(core.List<api.AboutExportFormats> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutExportFormats(o[0]);
checkAboutExportFormats(o[1]);
@@ -200,40 +200,40 @@
buildCounterAboutFeatures--;
}
-buildUnnamed615() {
+buildUnnamed636() {
var o = new core.List<api.AboutFeatures>();
o.add(buildAboutFeatures());
o.add(buildAboutFeatures());
return o;
}
-checkUnnamed615(core.List<api.AboutFeatures> o) {
+checkUnnamed636(core.List<api.AboutFeatures> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutFeatures(o[0]);
checkAboutFeatures(o[1]);
}
-buildUnnamed616() {
+buildUnnamed637() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed616(core.List<core.String> o) {
+checkUnnamed637(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed617() {
+buildUnnamed638() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed617(core.List<core.String> o) {
+checkUnnamed638(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -245,7 +245,7 @@
buildCounterAboutImportFormats++;
if (buildCounterAboutImportFormats < 3) {
o.source = "foo";
- o.targets = buildUnnamed617();
+ o.targets = buildUnnamed638();
}
buildCounterAboutImportFormats--;
return o;
@@ -255,19 +255,19 @@
buildCounterAboutImportFormats++;
if (buildCounterAboutImportFormats < 3) {
unittest.expect(o.source, unittest.equals('foo'));
- checkUnnamed617(o.targets);
+ checkUnnamed638(o.targets);
}
buildCounterAboutImportFormats--;
}
-buildUnnamed618() {
+buildUnnamed639() {
var o = new core.List<api.AboutImportFormats>();
o.add(buildAboutImportFormats());
o.add(buildAboutImportFormats());
return o;
}
-checkUnnamed618(core.List<api.AboutImportFormats> o) {
+checkUnnamed639(core.List<api.AboutImportFormats> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutImportFormats(o[0]);
checkAboutImportFormats(o[1]);
@@ -294,14 +294,14 @@
buildCounterAboutMaxUploadSizes--;
}
-buildUnnamed619() {
+buildUnnamed640() {
var o = new core.List<api.AboutMaxUploadSizes>();
o.add(buildAboutMaxUploadSizes());
o.add(buildAboutMaxUploadSizes());
return o;
}
-checkUnnamed619(core.List<api.AboutMaxUploadSizes> o) {
+checkUnnamed640(core.List<api.AboutMaxUploadSizes> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutMaxUploadSizes(o[0]);
checkAboutMaxUploadSizes(o[1]);
@@ -328,14 +328,14 @@
buildCounterAboutQuotaBytesByService--;
}
-buildUnnamed620() {
+buildUnnamed641() {
var o = new core.List<api.AboutQuotaBytesByService>();
o.add(buildAboutQuotaBytesByService());
o.add(buildAboutQuotaBytesByService());
return o;
}
-checkUnnamed620(core.List<api.AboutQuotaBytesByService> o) {
+checkUnnamed641(core.List<api.AboutQuotaBytesByService> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutQuotaBytesByService(o[0]);
checkAboutQuotaBytesByService(o[1]);
@@ -346,21 +346,21 @@
var o = new api.About();
buildCounterAbout++;
if (buildCounterAbout < 3) {
- o.additionalRoleInfo = buildUnnamed612();
+ o.additionalRoleInfo = buildUnnamed633();
o.domainSharingPolicy = "foo";
o.etag = "foo";
- o.exportFormats = buildUnnamed614();
- o.features = buildUnnamed615();
- o.folderColorPalette = buildUnnamed616();
- o.importFormats = buildUnnamed618();
+ o.exportFormats = buildUnnamed635();
+ o.features = buildUnnamed636();
+ o.folderColorPalette = buildUnnamed637();
+ o.importFormats = buildUnnamed639();
o.isCurrentAppInstalled = true;
o.kind = "foo";
o.languageCode = "foo";
o.largestChangeId = "foo";
- o.maxUploadSizes = buildUnnamed619();
+ o.maxUploadSizes = buildUnnamed640();
o.name = "foo";
o.permissionId = "foo";
- o.quotaBytesByService = buildUnnamed620();
+ o.quotaBytesByService = buildUnnamed641();
o.quotaBytesTotal = "foo";
o.quotaBytesUsed = "foo";
o.quotaBytesUsedAggregate = "foo";
@@ -378,21 +378,21 @@
checkAbout(api.About o) {
buildCounterAbout++;
if (buildCounterAbout < 3) {
- checkUnnamed612(o.additionalRoleInfo);
+ checkUnnamed633(o.additionalRoleInfo);
unittest.expect(o.domainSharingPolicy, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed614(o.exportFormats);
- checkUnnamed615(o.features);
- checkUnnamed616(o.folderColorPalette);
- checkUnnamed618(o.importFormats);
+ checkUnnamed635(o.exportFormats);
+ checkUnnamed636(o.features);
+ checkUnnamed637(o.folderColorPalette);
+ checkUnnamed639(o.importFormats);
unittest.expect(o.isCurrentAppInstalled, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
unittest.expect(o.largestChangeId, unittest.equals('foo'));
- checkUnnamed619(o.maxUploadSizes);
+ checkUnnamed640(o.maxUploadSizes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.permissionId, unittest.equals('foo'));
- checkUnnamed620(o.quotaBytesByService);
+ checkUnnamed641(o.quotaBytesByService);
unittest.expect(o.quotaBytesTotal, unittest.equals('foo'));
unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
unittest.expect(o.quotaBytesUsedAggregate, unittest.equals('foo'));
@@ -429,66 +429,66 @@
buildCounterAppIcons--;
}
-buildUnnamed621() {
+buildUnnamed642() {
var o = new core.List<api.AppIcons>();
o.add(buildAppIcons());
o.add(buildAppIcons());
return o;
}
-checkUnnamed621(core.List<api.AppIcons> o) {
+checkUnnamed642(core.List<api.AppIcons> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppIcons(o[0]);
checkAppIcons(o[1]);
}
-buildUnnamed622() {
+buildUnnamed643() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed622(core.List<core.String> o) {
+checkUnnamed643(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed623() {
+buildUnnamed644() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed623(core.List<core.String> o) {
+checkUnnamed644(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed624() {
+buildUnnamed645() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed624(core.List<core.String> o) {
+checkUnnamed645(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed625() {
+buildUnnamed646() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed625(core.List<core.String> o) {
+checkUnnamed646(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -503,7 +503,7 @@
o.createInFolderTemplate = "foo";
o.createUrl = "foo";
o.hasDriveWideScope = true;
- o.icons = buildUnnamed621();
+ o.icons = buildUnnamed642();
o.id = "foo";
o.installed = true;
o.kind = "foo";
@@ -511,12 +511,12 @@
o.name = "foo";
o.objectType = "foo";
o.openUrlTemplate = "foo";
- o.primaryFileExtensions = buildUnnamed622();
- o.primaryMimeTypes = buildUnnamed623();
+ o.primaryFileExtensions = buildUnnamed643();
+ o.primaryMimeTypes = buildUnnamed644();
o.productId = "foo";
o.productUrl = "foo";
- o.secondaryFileExtensions = buildUnnamed624();
- o.secondaryMimeTypes = buildUnnamed625();
+ o.secondaryFileExtensions = buildUnnamed645();
+ o.secondaryMimeTypes = buildUnnamed646();
o.shortDescription = "foo";
o.supportsCreate = true;
o.supportsImport = true;
@@ -535,7 +535,7 @@
unittest.expect(o.createInFolderTemplate, unittest.equals('foo'));
unittest.expect(o.createUrl, unittest.equals('foo'));
unittest.expect(o.hasDriveWideScope, unittest.isTrue);
- checkUnnamed621(o.icons);
+ checkUnnamed642(o.icons);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.installed, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -543,12 +543,12 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
unittest.expect(o.openUrlTemplate, unittest.equals('foo'));
- checkUnnamed622(o.primaryFileExtensions);
- checkUnnamed623(o.primaryMimeTypes);
+ checkUnnamed643(o.primaryFileExtensions);
+ checkUnnamed644(o.primaryMimeTypes);
unittest.expect(o.productId, unittest.equals('foo'));
unittest.expect(o.productUrl, unittest.equals('foo'));
- checkUnnamed624(o.secondaryFileExtensions);
- checkUnnamed625(o.secondaryMimeTypes);
+ checkUnnamed645(o.secondaryFileExtensions);
+ checkUnnamed646(o.secondaryMimeTypes);
unittest.expect(o.shortDescription, unittest.equals('foo'));
unittest.expect(o.supportsCreate, unittest.isTrue);
unittest.expect(o.supportsImport, unittest.isTrue);
@@ -559,27 +559,27 @@
buildCounterApp--;
}
-buildUnnamed626() {
+buildUnnamed647() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed626(core.List<core.String> o) {
+checkUnnamed647(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed627() {
+buildUnnamed648() {
var o = new core.List<api.App>();
o.add(buildApp());
o.add(buildApp());
return o;
}
-checkUnnamed627(core.List<api.App> o) {
+checkUnnamed648(core.List<api.App> o) {
unittest.expect(o, unittest.hasLength(2));
checkApp(o[0]);
checkApp(o[1]);
@@ -590,9 +590,9 @@
var o = new api.AppList();
buildCounterAppList++;
if (buildCounterAppList < 3) {
- o.defaultAppIds = buildUnnamed626();
+ o.defaultAppIds = buildUnnamed647();
o.etag = "foo";
- o.items = buildUnnamed627();
+ o.items = buildUnnamed648();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -603,9 +603,9 @@
checkAppList(api.AppList o) {
buildCounterAppList++;
if (buildCounterAppList < 3) {
- checkUnnamed626(o.defaultAppIds);
+ checkUnnamed647(o.defaultAppIds);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed627(o.items);
+ checkUnnamed648(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
@@ -649,14 +649,14 @@
buildCounterChange--;
}
-buildUnnamed628() {
+buildUnnamed649() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed628(core.List<api.Change> o) {
+checkUnnamed649(core.List<api.Change> o) {
unittest.expect(o, unittest.hasLength(2));
checkChange(o[0]);
checkChange(o[1]);
@@ -668,7 +668,7 @@
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
o.etag = "foo";
- o.items = buildUnnamed628();
+ o.items = buildUnnamed649();
o.kind = "foo";
o.largestChangeId = "foo";
o.newStartPageToken = "foo";
@@ -684,7 +684,7 @@
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed628(o.items);
+ checkUnnamed649(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.largestChangeId, unittest.equals('foo'));
unittest.expect(o.newStartPageToken, unittest.equals('foo'));
@@ -695,14 +695,14 @@
buildCounterChangeList--;
}
-buildUnnamed629() {
+buildUnnamed650() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed629(core.Map<core.String, core.String> o) {
+checkUnnamed650(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -717,7 +717,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed629();
+ o.params = buildUnnamed650();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -735,7 +735,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed629(o.params);
+ checkUnnamed650(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -745,14 +745,14 @@
buildCounterChannel--;
}
-buildUnnamed630() {
+buildUnnamed651() {
var o = new core.List<api.ChildReference>();
o.add(buildChildReference());
o.add(buildChildReference());
return o;
}
-checkUnnamed630(core.List<api.ChildReference> o) {
+checkUnnamed651(core.List<api.ChildReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkChildReference(o[0]);
checkChildReference(o[1]);
@@ -764,7 +764,7 @@
buildCounterChildList++;
if (buildCounterChildList < 3) {
o.etag = "foo";
- o.items = buildUnnamed630();
+ o.items = buildUnnamed651();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -778,7 +778,7 @@
buildCounterChildList++;
if (buildCounterChildList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed630(o.items);
+ checkUnnamed651(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -833,14 +833,14 @@
buildCounterCommentContext--;
}
-buildUnnamed631() {
+buildUnnamed652() {
var o = new core.List<api.CommentReply>();
o.add(buildCommentReply());
o.add(buildCommentReply());
return o;
}
-checkUnnamed631(core.List<api.CommentReply> o) {
+checkUnnamed652(core.List<api.CommentReply> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentReply(o[0]);
checkCommentReply(o[1]);
@@ -863,7 +863,7 @@
o.htmlContent = "foo";
o.kind = "foo";
o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02");
- o.replies = buildUnnamed631();
+ o.replies = buildUnnamed652();
o.selfLink = "foo";
o.status = "foo";
}
@@ -886,21 +886,21 @@
unittest.expect(o.htmlContent, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed631(o.replies);
+ checkUnnamed652(o.replies);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterComment--;
}
-buildUnnamed632() {
+buildUnnamed653() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed632(core.List<api.Comment> o) {
+checkUnnamed653(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -911,7 +911,7 @@
var o = new api.CommentList();
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- o.items = buildUnnamed632();
+ o.items = buildUnnamed653();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -924,7 +924,7 @@
checkCommentList(api.CommentList o) {
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- checkUnnamed632(o.items);
+ checkUnnamed653(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -968,14 +968,14 @@
buildCounterCommentReply--;
}
-buildUnnamed633() {
+buildUnnamed654() {
var o = new core.List<api.CommentReply>();
o.add(buildCommentReply());
o.add(buildCommentReply());
return o;
}
-checkUnnamed633(core.List<api.CommentReply> o) {
+checkUnnamed654(core.List<api.CommentReply> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentReply(o[0]);
checkCommentReply(o[1]);
@@ -986,7 +986,7 @@
var o = new api.CommentReplyList();
buildCounterCommentReplyList++;
if (buildCounterCommentReplyList < 3) {
- o.items = buildUnnamed633();
+ o.items = buildUnnamed654();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -999,7 +999,7 @@
checkCommentReplyList(api.CommentReplyList o) {
buildCounterCommentReplyList++;
if (buildCounterCommentReplyList < 3) {
- checkUnnamed633(o.items);
+ checkUnnamed654(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1057,14 +1057,14 @@
buildCounterFileCapabilities--;
}
-buildUnnamed634() {
+buildUnnamed655() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed634(core.Map<core.String, core.String> o) {
+checkUnnamed655(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1200,92 +1200,92 @@
buildCounterFileLabels--;
}
-buildUnnamed635() {
+buildUnnamed656() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed635(core.Map<core.String, core.String> o) {
+checkUnnamed656(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed636() {
+buildUnnamed657() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed636(core.List<core.String> o) {
+checkUnnamed657(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed637() {
+buildUnnamed658() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed637(core.List<api.User> o) {
+checkUnnamed658(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
}
-buildUnnamed638() {
+buildUnnamed659() {
var o = new core.List<api.ParentReference>();
o.add(buildParentReference());
o.add(buildParentReference());
return o;
}
-checkUnnamed638(core.List<api.ParentReference> o) {
+checkUnnamed659(core.List<api.ParentReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkParentReference(o[0]);
checkParentReference(o[1]);
}
-buildUnnamed639() {
+buildUnnamed660() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed639(core.List<api.Permission> o) {
+checkUnnamed660(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
}
-buildUnnamed640() {
+buildUnnamed661() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed640(core.List<api.Property> o) {
+checkUnnamed661(core.List<api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o[0]);
checkProperty(o[1]);
}
-buildUnnamed641() {
+buildUnnamed662() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed641(core.List<core.String> o) {
+checkUnnamed662(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1354,7 +1354,7 @@
o.embedLink = "foo";
o.etag = "foo";
o.explicitlyTrashed = true;
- o.exportLinks = buildUnnamed634();
+ o.exportLinks = buildUnnamed655();
o.fileExtension = "foo";
o.fileSize = "foo";
o.folderColorRgb = "foo";
@@ -1377,21 +1377,21 @@
o.mimeType = "foo";
o.modifiedByMeDate = core.DateTime.parse("2002-02-27T14:01:02");
o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02");
- o.openWithLinks = buildUnnamed635();
+ o.openWithLinks = buildUnnamed656();
o.originalFilename = "foo";
o.ownedByMe = true;
- o.ownerNames = buildUnnamed636();
- o.owners = buildUnnamed637();
- o.parents = buildUnnamed638();
- o.permissions = buildUnnamed639();
- o.properties = buildUnnamed640();
+ o.ownerNames = buildUnnamed657();
+ o.owners = buildUnnamed658();
+ o.parents = buildUnnamed659();
+ o.permissions = buildUnnamed660();
+ o.properties = buildUnnamed661();
o.quotaBytesUsed = "foo";
o.selfLink = "foo";
o.shareable = true;
o.shared = true;
o.sharedWithMeDate = core.DateTime.parse("2002-02-27T14:01:02");
o.sharingUser = buildUser();
- o.spaces = buildUnnamed641();
+ o.spaces = buildUnnamed662();
o.teamDriveId = "foo";
o.thumbnail = buildFileThumbnail();
o.thumbnailLink = "foo";
@@ -1427,7 +1427,7 @@
unittest.expect(o.embedLink, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.explicitlyTrashed, unittest.isTrue);
- checkUnnamed634(o.exportLinks);
+ checkUnnamed655(o.exportLinks);
unittest.expect(o.fileExtension, unittest.equals('foo'));
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.folderColorRgb, unittest.equals('foo'));
@@ -1450,21 +1450,21 @@
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.modifiedByMeDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed635(o.openWithLinks);
+ checkUnnamed656(o.openWithLinks);
unittest.expect(o.originalFilename, unittest.equals('foo'));
unittest.expect(o.ownedByMe, unittest.isTrue);
- checkUnnamed636(o.ownerNames);
- checkUnnamed637(o.owners);
- checkUnnamed638(o.parents);
- checkUnnamed639(o.permissions);
- checkUnnamed640(o.properties);
+ checkUnnamed657(o.ownerNames);
+ checkUnnamed658(o.owners);
+ checkUnnamed659(o.parents);
+ checkUnnamed660(o.permissions);
+ checkUnnamed661(o.properties);
unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.shareable, unittest.isTrue);
unittest.expect(o.shared, unittest.isTrue);
unittest.expect(o.sharedWithMeDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkUser(o.sharingUser);
- checkUnnamed641(o.spaces);
+ checkUnnamed662(o.spaces);
unittest.expect(o.teamDriveId, unittest.equals('foo'));
checkFileThumbnail(o.thumbnail);
unittest.expect(o.thumbnailLink, unittest.equals('foo'));
@@ -1482,14 +1482,14 @@
buildCounterFile--;
}
-buildUnnamed642() {
+buildUnnamed663() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed642(core.List<api.File> o) {
+checkUnnamed663(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -1502,7 +1502,7 @@
if (buildCounterFileList < 3) {
o.etag = "foo";
o.incompleteSearch = true;
- o.items = buildUnnamed642();
+ o.items = buildUnnamed663();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1517,7 +1517,7 @@
if (buildCounterFileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.incompleteSearch, unittest.isTrue);
- checkUnnamed642(o.items);
+ checkUnnamed663(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1526,14 +1526,14 @@
buildCounterFileList--;
}
-buildUnnamed643() {
+buildUnnamed664() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed643(core.List<core.String> o) {
+checkUnnamed664(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1544,7 +1544,7 @@
var o = new api.GeneratedIds();
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- o.ids = buildUnnamed643();
+ o.ids = buildUnnamed664();
o.kind = "foo";
o.space = "foo";
}
@@ -1555,21 +1555,21 @@
checkGeneratedIds(api.GeneratedIds o) {
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- checkUnnamed643(o.ids);
+ checkUnnamed664(o.ids);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.space, unittest.equals('foo'));
}
buildCounterGeneratedIds--;
}
-buildUnnamed644() {
+buildUnnamed665() {
var o = new core.List<api.ParentReference>();
o.add(buildParentReference());
o.add(buildParentReference());
return o;
}
-checkUnnamed644(core.List<api.ParentReference> o) {
+checkUnnamed665(core.List<api.ParentReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkParentReference(o[0]);
checkParentReference(o[1]);
@@ -1581,7 +1581,7 @@
buildCounterParentList++;
if (buildCounterParentList < 3) {
o.etag = "foo";
- o.items = buildUnnamed644();
+ o.items = buildUnnamed665();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -1593,7 +1593,7 @@
buildCounterParentList++;
if (buildCounterParentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed644(o.items);
+ checkUnnamed665(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
@@ -1627,27 +1627,27 @@
buildCounterParentReference--;
}
-buildUnnamed645() {
+buildUnnamed666() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed645(core.List<core.String> o) {
+checkUnnamed666(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed646() {
+buildUnnamed667() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed646(core.List<core.String> o) {
+checkUnnamed667(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1658,7 +1658,7 @@
var o = new api.PermissionTeamDrivePermissionDetails();
buildCounterPermissionTeamDrivePermissionDetails++;
if (buildCounterPermissionTeamDrivePermissionDetails < 3) {
- o.additionalRoles = buildUnnamed646();
+ o.additionalRoles = buildUnnamed667();
o.inherited = true;
o.inheritedFrom = "foo";
o.role = "foo";
@@ -1671,7 +1671,7 @@
checkPermissionTeamDrivePermissionDetails(api.PermissionTeamDrivePermissionDetails o) {
buildCounterPermissionTeamDrivePermissionDetails++;
if (buildCounterPermissionTeamDrivePermissionDetails < 3) {
- checkUnnamed646(o.additionalRoles);
+ checkUnnamed667(o.additionalRoles);
unittest.expect(o.inherited, unittest.isTrue);
unittest.expect(o.inheritedFrom, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
@@ -1680,14 +1680,14 @@
buildCounterPermissionTeamDrivePermissionDetails--;
}
-buildUnnamed647() {
+buildUnnamed668() {
var o = new core.List<api.PermissionTeamDrivePermissionDetails>();
o.add(buildPermissionTeamDrivePermissionDetails());
o.add(buildPermissionTeamDrivePermissionDetails());
return o;
}
-checkUnnamed647(core.List<api.PermissionTeamDrivePermissionDetails> o) {
+checkUnnamed668(core.List<api.PermissionTeamDrivePermissionDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionTeamDrivePermissionDetails(o[0]);
checkPermissionTeamDrivePermissionDetails(o[1]);
@@ -1698,7 +1698,7 @@
var o = new api.Permission();
buildCounterPermission++;
if (buildCounterPermission < 3) {
- o.additionalRoles = buildUnnamed645();
+ o.additionalRoles = buildUnnamed666();
o.authKey = "foo";
o.domain = "foo";
o.emailAddress = "foo";
@@ -1710,7 +1710,7 @@
o.photoLink = "foo";
o.role = "foo";
o.selfLink = "foo";
- o.teamDrivePermissionDetails = buildUnnamed647();
+ o.teamDrivePermissionDetails = buildUnnamed668();
o.type = "foo";
o.value = "foo";
o.withLink = true;
@@ -1722,7 +1722,7 @@
checkPermission(api.Permission o) {
buildCounterPermission++;
if (buildCounterPermission < 3) {
- checkUnnamed645(o.additionalRoles);
+ checkUnnamed666(o.additionalRoles);
unittest.expect(o.authKey, unittest.equals('foo'));
unittest.expect(o.domain, unittest.equals('foo'));
unittest.expect(o.emailAddress, unittest.equals('foo'));
@@ -1734,7 +1734,7 @@
unittest.expect(o.photoLink, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed647(o.teamDrivePermissionDetails);
+ checkUnnamed668(o.teamDrivePermissionDetails);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
unittest.expect(o.withLink, unittest.isTrue);
@@ -1763,14 +1763,14 @@
buildCounterPermissionId--;
}
-buildUnnamed648() {
+buildUnnamed669() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed648(core.List<api.Permission> o) {
+checkUnnamed669(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -1782,7 +1782,7 @@
buildCounterPermissionList++;
if (buildCounterPermissionList < 3) {
o.etag = "foo";
- o.items = buildUnnamed648();
+ o.items = buildUnnamed669();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1795,7 +1795,7 @@
buildCounterPermissionList++;
if (buildCounterPermissionList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed648(o.items);
+ checkUnnamed669(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1832,14 +1832,14 @@
buildCounterProperty--;
}
-buildUnnamed649() {
+buildUnnamed670() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed649(core.List<api.Property> o) {
+checkUnnamed670(core.List<api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o[0]);
checkProperty(o[1]);
@@ -1851,7 +1851,7 @@
buildCounterPropertyList++;
if (buildCounterPropertyList < 3) {
o.etag = "foo";
- o.items = buildUnnamed649();
+ o.items = buildUnnamed670();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -1863,21 +1863,21 @@
buildCounterPropertyList++;
if (buildCounterPropertyList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed649(o.items);
+ checkUnnamed670(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterPropertyList--;
}
-buildUnnamed650() {
+buildUnnamed671() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed650(core.Map<core.String, core.String> o) {
+checkUnnamed671(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1890,7 +1890,7 @@
if (buildCounterRevision < 3) {
o.downloadUrl = "foo";
o.etag = "foo";
- o.exportLinks = buildUnnamed650();
+ o.exportLinks = buildUnnamed671();
o.fileSize = "foo";
o.id = "foo";
o.kind = "foo";
@@ -1916,7 +1916,7 @@
if (buildCounterRevision < 3) {
unittest.expect(o.downloadUrl, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed650(o.exportLinks);
+ checkUnnamed671(o.exportLinks);
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1936,14 +1936,14 @@
buildCounterRevision--;
}
-buildUnnamed651() {
+buildUnnamed672() {
var o = new core.List<api.Revision>();
o.add(buildRevision());
o.add(buildRevision());
return o;
}
-checkUnnamed651(core.List<api.Revision> o) {
+checkUnnamed672(core.List<api.Revision> o) {
unittest.expect(o, unittest.hasLength(2));
checkRevision(o[0]);
checkRevision(o[1]);
@@ -1955,7 +1955,7 @@
buildCounterRevisionList++;
if (buildCounterRevisionList < 3) {
o.etag = "foo";
- o.items = buildUnnamed651();
+ o.items = buildUnnamed672();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1968,7 +1968,7 @@
buildCounterRevisionList++;
if (buildCounterRevisionList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed651(o.items);
+ checkUnnamed672(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2065,14 +2065,14 @@
buildCounterTeamDrive--;
}
-buildUnnamed652() {
+buildUnnamed673() {
var o = new core.List<api.TeamDrive>();
o.add(buildTeamDrive());
o.add(buildTeamDrive());
return o;
}
-checkUnnamed652(core.List<api.TeamDrive> o) {
+checkUnnamed673(core.List<api.TeamDrive> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeamDrive(o[0]);
checkTeamDrive(o[1]);
@@ -2083,7 +2083,7 @@
var o = new api.TeamDriveList();
buildCounterTeamDriveList++;
if (buildCounterTeamDriveList < 3) {
- o.items = buildUnnamed652();
+ o.items = buildUnnamed673();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2094,7 +2094,7 @@
checkTeamDriveList(api.TeamDriveList o) {
buildCounterTeamDriveList++;
if (buildCounterTeamDriveList < 3) {
- checkUnnamed652(o.items);
+ checkUnnamed673(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
diff --git a/generated/googleapis/test/drive/v3_test.dart b/generated/googleapis/test/drive/v3_test.dart
index 6a229a7..a874147 100644
--- a/generated/googleapis/test/drive/v3_test.dart
+++ b/generated/googleapis/test/drive/v3_test.dart
@@ -51,79 +51,79 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1346() {
+buildUnnamed1403() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1346(core.List<core.String> o) {
+checkUnnamed1403(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1347() {
+buildUnnamed1404() {
var o = new core.Map<core.String, core.List<core.String>>();
- o["x"] = buildUnnamed1346();
- o["y"] = buildUnnamed1346();
+ o["x"] = buildUnnamed1403();
+ o["y"] = buildUnnamed1403();
return o;
}
-checkUnnamed1347(core.Map<core.String, core.List<core.String>> o) {
+checkUnnamed1404(core.Map<core.String, core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1346(o["x"]);
- checkUnnamed1346(o["y"]);
+ checkUnnamed1403(o["x"]);
+ checkUnnamed1403(o["y"]);
}
-buildUnnamed1348() {
+buildUnnamed1405() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1348(core.List<core.String> o) {
+checkUnnamed1405(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1349() {
+buildUnnamed1406() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1349(core.List<core.String> o) {
+checkUnnamed1406(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1350() {
+buildUnnamed1407() {
var o = new core.Map<core.String, core.List<core.String>>();
- o["x"] = buildUnnamed1349();
- o["y"] = buildUnnamed1349();
+ o["x"] = buildUnnamed1406();
+ o["y"] = buildUnnamed1406();
return o;
}
-checkUnnamed1350(core.Map<core.String, core.List<core.String>> o) {
+checkUnnamed1407(core.Map<core.String, core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1349(o["x"]);
- checkUnnamed1349(o["y"]);
+ checkUnnamed1406(o["x"]);
+ checkUnnamed1406(o["y"]);
}
-buildUnnamed1351() {
+buildUnnamed1408() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1351(core.Map<core.String, core.String> o) {
+checkUnnamed1408(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -160,11 +160,11 @@
buildCounterAbout++;
if (buildCounterAbout < 3) {
o.appInstalled = true;
- o.exportFormats = buildUnnamed1347();
- o.folderColorPalette = buildUnnamed1348();
- o.importFormats = buildUnnamed1350();
+ o.exportFormats = buildUnnamed1404();
+ o.folderColorPalette = buildUnnamed1405();
+ o.importFormats = buildUnnamed1407();
o.kind = "foo";
- o.maxImportSizes = buildUnnamed1351();
+ o.maxImportSizes = buildUnnamed1408();
o.maxUploadSize = "foo";
o.storageQuota = buildAboutStorageQuota();
o.user = buildUser();
@@ -177,11 +177,11 @@
buildCounterAbout++;
if (buildCounterAbout < 3) {
unittest.expect(o.appInstalled, unittest.isTrue);
- checkUnnamed1347(o.exportFormats);
- checkUnnamed1348(o.folderColorPalette);
- checkUnnamed1350(o.importFormats);
+ checkUnnamed1404(o.exportFormats);
+ checkUnnamed1405(o.folderColorPalette);
+ checkUnnamed1407(o.importFormats);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1351(o.maxImportSizes);
+ checkUnnamed1408(o.maxImportSizes);
unittest.expect(o.maxUploadSize, unittest.equals('foo'));
checkAboutStorageQuota(o.storageQuota);
checkUser(o.user);
@@ -222,14 +222,14 @@
buildCounterChange--;
}
-buildUnnamed1352() {
+buildUnnamed1409() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed1352(core.List<api.Change> o) {
+checkUnnamed1409(core.List<api.Change> o) {
unittest.expect(o, unittest.hasLength(2));
checkChange(o[0]);
checkChange(o[1]);
@@ -240,7 +240,7 @@
var o = new api.ChangeList();
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
- o.changes = buildUnnamed1352();
+ o.changes = buildUnnamed1409();
o.kind = "foo";
o.newStartPageToken = "foo";
o.nextPageToken = "foo";
@@ -252,7 +252,7 @@
checkChangeList(api.ChangeList o) {
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
- checkUnnamed1352(o.changes);
+ checkUnnamed1409(o.changes);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.newStartPageToken, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -260,14 +260,14 @@
buildCounterChangeList--;
}
-buildUnnamed1353() {
+buildUnnamed1410() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1353(core.Map<core.String, core.String> o) {
+checkUnnamed1410(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -282,7 +282,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed1353();
+ o.params = buildUnnamed1410();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -300,7 +300,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1353(o.params);
+ checkUnnamed1410(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -331,14 +331,14 @@
buildCounterCommentQuotedFileContent--;
}
-buildUnnamed1354() {
+buildUnnamed1411() {
var o = new core.List<api.Reply>();
o.add(buildReply());
o.add(buildReply());
return o;
}
-checkUnnamed1354(core.List<api.Reply> o) {
+checkUnnamed1411(core.List<api.Reply> o) {
unittest.expect(o, unittest.hasLength(2));
checkReply(o[0]);
checkReply(o[1]);
@@ -359,7 +359,7 @@
o.kind = "foo";
o.modifiedTime = core.DateTime.parse("2002-02-27T14:01:02");
o.quotedFileContent = buildCommentQuotedFileContent();
- o.replies = buildUnnamed1354();
+ o.replies = buildUnnamed1411();
o.resolved = true;
}
buildCounterComment--;
@@ -379,20 +379,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkCommentQuotedFileContent(o.quotedFileContent);
- checkUnnamed1354(o.replies);
+ checkUnnamed1411(o.replies);
unittest.expect(o.resolved, unittest.isTrue);
}
buildCounterComment--;
}
-buildUnnamed1355() {
+buildUnnamed1412() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed1355(core.List<api.Comment> o) {
+checkUnnamed1412(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -403,7 +403,7 @@
var o = new api.CommentList();
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- o.comments = buildUnnamed1355();
+ o.comments = buildUnnamed1412();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -414,21 +414,21 @@
checkCommentList(api.CommentList o) {
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- checkUnnamed1355(o.comments);
+ checkUnnamed1412(o.comments);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCommentList--;
}
-buildUnnamed1356() {
+buildUnnamed1413() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1356(core.Map<core.String, core.String> o) {
+checkUnnamed1413(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -607,66 +607,66 @@
buildCounterFileImageMediaMetadata--;
}
-buildUnnamed1357() {
+buildUnnamed1414() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed1357(core.List<api.User> o) {
+checkUnnamed1414(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
}
-buildUnnamed1358() {
+buildUnnamed1415() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1358(core.List<core.String> o) {
+checkUnnamed1415(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1359() {
+buildUnnamed1416() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1359(core.List<api.Permission> o) {
+checkUnnamed1416(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
}
-buildUnnamed1360() {
+buildUnnamed1417() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1360(core.Map<core.String, core.String> o) {
+checkUnnamed1417(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1361() {
+buildUnnamed1418() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1361(core.List<core.String> o) {
+checkUnnamed1418(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -700,7 +700,7 @@
var o = new api.File();
buildCounterFile++;
if (buildCounterFile < 3) {
- o.appProperties = buildUnnamed1356();
+ o.appProperties = buildUnnamed1413();
o.capabilities = buildFileCapabilities();
o.contentHints = buildFileContentHints();
o.createdTime = core.DateTime.parse("2002-02-27T14:01:02");
@@ -726,16 +726,16 @@
o.name = "foo";
o.originalFilename = "foo";
o.ownedByMe = true;
- o.owners = buildUnnamed1357();
- o.parents = buildUnnamed1358();
- o.permissions = buildUnnamed1359();
- o.properties = buildUnnamed1360();
+ o.owners = buildUnnamed1414();
+ o.parents = buildUnnamed1415();
+ o.permissions = buildUnnamed1416();
+ o.properties = buildUnnamed1417();
o.quotaBytesUsed = "foo";
o.shared = true;
o.sharedWithMeTime = core.DateTime.parse("2002-02-27T14:01:02");
o.sharingUser = buildUser();
o.size = "foo";
- o.spaces = buildUnnamed1361();
+ o.spaces = buildUnnamed1418();
o.starred = true;
o.teamDriveId = "foo";
o.thumbnailLink = "foo";
@@ -759,7 +759,7 @@
checkFile(api.File o) {
buildCounterFile++;
if (buildCounterFile < 3) {
- checkUnnamed1356(o.appProperties);
+ checkUnnamed1413(o.appProperties);
checkFileCapabilities(o.capabilities);
checkFileContentHints(o.contentHints);
unittest.expect(o.createdTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -785,16 +785,16 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.originalFilename, unittest.equals('foo'));
unittest.expect(o.ownedByMe, unittest.isTrue);
- checkUnnamed1357(o.owners);
- checkUnnamed1358(o.parents);
- checkUnnamed1359(o.permissions);
- checkUnnamed1360(o.properties);
+ checkUnnamed1414(o.owners);
+ checkUnnamed1415(o.parents);
+ checkUnnamed1416(o.permissions);
+ checkUnnamed1417(o.properties);
unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
unittest.expect(o.shared, unittest.isTrue);
unittest.expect(o.sharedWithMeTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkUser(o.sharingUser);
unittest.expect(o.size, unittest.equals('foo'));
- checkUnnamed1361(o.spaces);
+ checkUnnamed1418(o.spaces);
unittest.expect(o.starred, unittest.isTrue);
unittest.expect(o.teamDriveId, unittest.equals('foo'));
unittest.expect(o.thumbnailLink, unittest.equals('foo'));
@@ -814,14 +814,14 @@
buildCounterFile--;
}
-buildUnnamed1362() {
+buildUnnamed1419() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed1362(core.List<api.File> o) {
+checkUnnamed1419(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -832,7 +832,7 @@
var o = new api.FileList();
buildCounterFileList++;
if (buildCounterFileList < 3) {
- o.files = buildUnnamed1362();
+ o.files = buildUnnamed1419();
o.incompleteSearch = true;
o.kind = "foo";
o.nextPageToken = "foo";
@@ -844,7 +844,7 @@
checkFileList(api.FileList o) {
buildCounterFileList++;
if (buildCounterFileList < 3) {
- checkUnnamed1362(o.files);
+ checkUnnamed1419(o.files);
unittest.expect(o.incompleteSearch, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -852,14 +852,14 @@
buildCounterFileList--;
}
-buildUnnamed1363() {
+buildUnnamed1420() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1363(core.List<core.String> o) {
+checkUnnamed1420(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -870,7 +870,7 @@
var o = new api.GeneratedIds();
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- o.ids = buildUnnamed1363();
+ o.ids = buildUnnamed1420();
o.kind = "foo";
o.space = "foo";
}
@@ -881,7 +881,7 @@
checkGeneratedIds(api.GeneratedIds o) {
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- checkUnnamed1363(o.ids);
+ checkUnnamed1420(o.ids);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.space, unittest.equals('foo'));
}
@@ -913,14 +913,14 @@
buildCounterPermissionTeamDrivePermissionDetails--;
}
-buildUnnamed1364() {
+buildUnnamed1421() {
var o = new core.List<api.PermissionTeamDrivePermissionDetails>();
o.add(buildPermissionTeamDrivePermissionDetails());
o.add(buildPermissionTeamDrivePermissionDetails());
return o;
}
-checkUnnamed1364(core.List<api.PermissionTeamDrivePermissionDetails> o) {
+checkUnnamed1421(core.List<api.PermissionTeamDrivePermissionDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionTeamDrivePermissionDetails(o[0]);
checkPermissionTeamDrivePermissionDetails(o[1]);
@@ -940,7 +940,7 @@
o.kind = "foo";
o.photoLink = "foo";
o.role = "foo";
- o.teamDrivePermissionDetails = buildUnnamed1364();
+ o.teamDrivePermissionDetails = buildUnnamed1421();
o.type = "foo";
}
buildCounterPermission--;
@@ -959,20 +959,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.photoLink, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
- checkUnnamed1364(o.teamDrivePermissionDetails);
+ checkUnnamed1421(o.teamDrivePermissionDetails);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPermission--;
}
-buildUnnamed1365() {
+buildUnnamed1422() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1365(core.List<api.Permission> o) {
+checkUnnamed1422(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -985,7 +985,7 @@
if (buildCounterPermissionList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.permissions = buildUnnamed1365();
+ o.permissions = buildUnnamed1422();
}
buildCounterPermissionList--;
return o;
@@ -996,7 +996,7 @@
if (buildCounterPermissionList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1365(o.permissions);
+ checkUnnamed1422(o.permissions);
}
buildCounterPermissionList--;
}
@@ -1036,14 +1036,14 @@
buildCounterReply--;
}
-buildUnnamed1366() {
+buildUnnamed1423() {
var o = new core.List<api.Reply>();
o.add(buildReply());
o.add(buildReply());
return o;
}
-checkUnnamed1366(core.List<api.Reply> o) {
+checkUnnamed1423(core.List<api.Reply> o) {
unittest.expect(o, unittest.hasLength(2));
checkReply(o[0]);
checkReply(o[1]);
@@ -1056,7 +1056,7 @@
if (buildCounterReplyList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.replies = buildUnnamed1366();
+ o.replies = buildUnnamed1423();
}
buildCounterReplyList--;
return o;
@@ -1067,7 +1067,7 @@
if (buildCounterReplyList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1366(o.replies);
+ checkUnnamed1423(o.replies);
}
buildCounterReplyList--;
}
@@ -1113,14 +1113,14 @@
buildCounterRevision--;
}
-buildUnnamed1367() {
+buildUnnamed1424() {
var o = new core.List<api.Revision>();
o.add(buildRevision());
o.add(buildRevision());
return o;
}
-checkUnnamed1367(core.List<api.Revision> o) {
+checkUnnamed1424(core.List<api.Revision> o) {
unittest.expect(o, unittest.hasLength(2));
checkRevision(o[0]);
checkRevision(o[1]);
@@ -1133,7 +1133,7 @@
if (buildCounterRevisionList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.revisions = buildUnnamed1367();
+ o.revisions = buildUnnamed1424();
}
buildCounterRevisionList--;
return o;
@@ -1144,7 +1144,7 @@
if (buildCounterRevisionList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1367(o.revisions);
+ checkUnnamed1424(o.revisions);
}
buildCounterRevisionList--;
}
@@ -1238,14 +1238,14 @@
buildCounterTeamDrive--;
}
-buildUnnamed1368() {
+buildUnnamed1425() {
var o = new core.List<api.TeamDrive>();
o.add(buildTeamDrive());
o.add(buildTeamDrive());
return o;
}
-checkUnnamed1368(core.List<api.TeamDrive> o) {
+checkUnnamed1425(core.List<api.TeamDrive> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeamDrive(o[0]);
checkTeamDrive(o[1]);
@@ -1258,7 +1258,7 @@
if (buildCounterTeamDriveList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.teamDrives = buildUnnamed1368();
+ o.teamDrives = buildUnnamed1425();
}
buildCounterTeamDriveList--;
return o;
@@ -1269,7 +1269,7 @@
if (buildCounterTeamDriveList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1368(o.teamDrives);
+ checkUnnamed1425(o.teamDrives);
}
buildCounterTeamDriveList--;
}
diff --git a/generated/googleapis/test/firebasedynamiclinks/v1_test.dart b/generated/googleapis/test/firebasedynamiclinks/v1_test.dart
index a7ea223..9f707da 100644
--- a/generated/googleapis/test/firebasedynamiclinks/v1_test.dart
+++ b/generated/googleapis/test/firebasedynamiclinks/v1_test.dart
@@ -120,14 +120,14 @@
buildCounterCreateShortDynamicLinkRequest--;
}
-buildUnnamed1856() {
+buildUnnamed1960() {
var o = new core.List<api.DynamicLinkWarning>();
o.add(buildDynamicLinkWarning());
o.add(buildDynamicLinkWarning());
return o;
}
-checkUnnamed1856(core.List<api.DynamicLinkWarning> o) {
+checkUnnamed1960(core.List<api.DynamicLinkWarning> o) {
unittest.expect(o, unittest.hasLength(2));
checkDynamicLinkWarning(o[0]);
checkDynamicLinkWarning(o[1]);
@@ -140,7 +140,7 @@
if (buildCounterCreateShortDynamicLinkResponse < 3) {
o.previewLink = "foo";
o.shortLink = "foo";
- o.warning = buildUnnamed1856();
+ o.warning = buildUnnamed1960();
}
buildCounterCreateShortDynamicLinkResponse--;
return o;
@@ -151,7 +151,7 @@
if (buildCounterCreateShortDynamicLinkResponse < 3) {
unittest.expect(o.previewLink, unittest.equals('foo'));
unittest.expect(o.shortLink, unittest.equals('foo'));
- checkUnnamed1856(o.warning);
+ checkUnnamed1960(o.warning);
}
buildCounterCreateShortDynamicLinkResponse--;
}
@@ -166,6 +166,7 @@
o.dynamicLinkDomain = "foo";
o.iosInfo = buildIosInfo();
o.link = "foo";
+ o.navigationInfo = buildNavigationInfo();
o.socialMetaTagInfo = buildSocialMetaTagInfo();
}
buildCounterDynamicLinkInfo--;
@@ -180,6 +181,7 @@
unittest.expect(o.dynamicLinkDomain, unittest.equals('foo'));
checkIosInfo(o.iosInfo);
unittest.expect(o.link, unittest.equals('foo'));
+ checkNavigationInfo(o.navigationInfo);
checkSocialMetaTagInfo(o.socialMetaTagInfo);
}
buildCounterDynamicLinkInfo--;
@@ -289,6 +291,25 @@
buildCounterIosInfo--;
}
+core.int buildCounterNavigationInfo = 0;
+buildNavigationInfo() {
+ var o = new api.NavigationInfo();
+ buildCounterNavigationInfo++;
+ if (buildCounterNavigationInfo < 3) {
+ o.enableForcedRedirect = true;
+ }
+ buildCounterNavigationInfo--;
+ return o;
+}
+
+checkNavigationInfo(api.NavigationInfo o) {
+ buildCounterNavigationInfo++;
+ if (buildCounterNavigationInfo < 3) {
+ unittest.expect(o.enableForcedRedirect, unittest.isTrue);
+ }
+ buildCounterNavigationInfo--;
+}
+
core.int buildCounterSocialMetaTagInfo = 0;
buildSocialMetaTagInfo() {
var o = new api.SocialMetaTagInfo();
@@ -414,6 +435,15 @@
});
+ unittest.group("obj-schema-NavigationInfo", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildNavigationInfo();
+ var od = new api.NavigationInfo.fromJson(o.toJson());
+ checkNavigationInfo(od);
+ });
+ });
+
+
unittest.group("obj-schema-SocialMetaTagInfo", () {
unittest.test("to-json--from-json", () {
var o = buildSocialMetaTagInfo();
diff --git a/generated/googleapis/test/firebaserules/v1_test.dart b/generated/googleapis/test/firebaserules/v1_test.dart
index a25dc71..d69f3c2 100644
--- a/generated/googleapis/test/firebaserules/v1_test.dart
+++ b/generated/googleapis/test/firebaserules/v1_test.dart
@@ -91,6 +91,40 @@
buildCounterFile--;
}
+buildUnnamed3075() {
+ var o = new core.List<core.Object>();
+ o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
+ o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
+ return o;
+}
+
+checkUnnamed3075(core.List<core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ var casted1 = (o[0]) 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[1]) 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 buildCounterFunctionCall = 0;
+buildFunctionCall() {
+ var o = new api.FunctionCall();
+ buildCounterFunctionCall++;
+ if (buildCounterFunctionCall < 3) {
+ o.args = buildUnnamed3075();
+ o.function = "foo";
+ }
+ buildCounterFunctionCall--;
+ return o;
+}
+
+checkFunctionCall(api.FunctionCall o) {
+ buildCounterFunctionCall++;
+ if (buildCounterFunctionCall < 3) {
+ checkUnnamed3075(o.args);
+ unittest.expect(o.function, unittest.equals('foo'));
+ }
+ buildCounterFunctionCall--;
+}
+
core.int buildCounterIssue = 0;
buildIssue() {
var o = new api.Issue();
@@ -114,14 +148,14 @@
buildCounterIssue--;
}
-buildUnnamed2969() {
+buildUnnamed3076() {
var o = new core.List<api.Release>();
o.add(buildRelease());
o.add(buildRelease());
return o;
}
-checkUnnamed2969(core.List<api.Release> o) {
+checkUnnamed3076(core.List<api.Release> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelease(o[0]);
checkRelease(o[1]);
@@ -133,7 +167,7 @@
buildCounterListReleasesResponse++;
if (buildCounterListReleasesResponse < 3) {
o.nextPageToken = "foo";
- o.releases = buildUnnamed2969();
+ o.releases = buildUnnamed3076();
}
buildCounterListReleasesResponse--;
return o;
@@ -143,19 +177,19 @@
buildCounterListReleasesResponse++;
if (buildCounterListReleasesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2969(o.releases);
+ checkUnnamed3076(o.releases);
}
buildCounterListReleasesResponse--;
}
-buildUnnamed2970() {
+buildUnnamed3077() {
var o = new core.List<api.Ruleset>();
o.add(buildRuleset());
o.add(buildRuleset());
return o;
}
-checkUnnamed2970(core.List<api.Ruleset> o) {
+checkUnnamed3077(core.List<api.Ruleset> o) {
unittest.expect(o, unittest.hasLength(2));
checkRuleset(o[0]);
checkRuleset(o[1]);
@@ -167,7 +201,7 @@
buildCounterListRulesetsResponse++;
if (buildCounterListRulesetsResponse < 3) {
o.nextPageToken = "foo";
- o.rulesets = buildUnnamed2970();
+ o.rulesets = buildUnnamed3077();
}
buildCounterListRulesetsResponse--;
return o;
@@ -177,7 +211,7 @@
buildCounterListRulesetsResponse++;
if (buildCounterListRulesetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2970(o.rulesets);
+ checkUnnamed3077(o.rulesets);
}
buildCounterListRulesetsResponse--;
}
@@ -230,14 +264,14 @@
buildCounterRuleset--;
}
-buildUnnamed2971() {
+buildUnnamed3078() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed2971(core.List<api.File> o) {
+checkUnnamed3078(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -248,7 +282,7 @@
var o = new api.Source();
buildCounterSource++;
if (buildCounterSource < 3) {
- o.files = buildUnnamed2971();
+ o.files = buildUnnamed3078();
}
buildCounterSource--;
return o;
@@ -257,7 +291,7 @@
checkSource(api.Source o) {
buildCounterSource++;
if (buildCounterSource < 3) {
- checkUnnamed2971(o.files);
+ checkUnnamed3078(o.files);
}
buildCounterSource--;
}
@@ -285,6 +319,57 @@
buildCounterSourcePosition--;
}
+buildUnnamed3079() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3079(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3080() {
+ var o = new core.List<api.FunctionCall>();
+ o.add(buildFunctionCall());
+ o.add(buildFunctionCall());
+ return o;
+}
+
+checkUnnamed3080(core.List<api.FunctionCall> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkFunctionCall(o[0]);
+ checkFunctionCall(o[1]);
+}
+
+core.int buildCounterTestResult = 0;
+buildTestResult() {
+ var o = new api.TestResult();
+ buildCounterTestResult++;
+ if (buildCounterTestResult < 3) {
+ o.debugMessages = buildUnnamed3079();
+ o.errorPosition = buildSourcePosition();
+ o.functionCalls = buildUnnamed3080();
+ o.state = "foo";
+ }
+ buildCounterTestResult--;
+ return o;
+}
+
+checkTestResult(api.TestResult o) {
+ buildCounterTestResult++;
+ if (buildCounterTestResult < 3) {
+ checkUnnamed3079(o.debugMessages);
+ checkSourcePosition(o.errorPosition);
+ checkUnnamed3080(o.functionCalls);
+ unittest.expect(o.state, unittest.equals('foo'));
+ }
+ buildCounterTestResult--;
+}
+
core.int buildCounterTestRulesetRequest = 0;
buildTestRulesetRequest() {
var o = new api.TestRulesetRequest();
@@ -304,25 +389,39 @@
buildCounterTestRulesetRequest--;
}
-buildUnnamed2972() {
+buildUnnamed3081() {
var o = new core.List<api.Issue>();
o.add(buildIssue());
o.add(buildIssue());
return o;
}
-checkUnnamed2972(core.List<api.Issue> o) {
+checkUnnamed3081(core.List<api.Issue> o) {
unittest.expect(o, unittest.hasLength(2));
checkIssue(o[0]);
checkIssue(o[1]);
}
+buildUnnamed3082() {
+ var o = new core.List<api.TestResult>();
+ o.add(buildTestResult());
+ o.add(buildTestResult());
+ return o;
+}
+
+checkUnnamed3082(core.List<api.TestResult> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkTestResult(o[0]);
+ checkTestResult(o[1]);
+}
+
core.int buildCounterTestRulesetResponse = 0;
buildTestRulesetResponse() {
var o = new api.TestRulesetResponse();
buildCounterTestRulesetResponse++;
if (buildCounterTestRulesetResponse < 3) {
- o.issues = buildUnnamed2972();
+ o.issues = buildUnnamed3081();
+ o.testResults = buildUnnamed3082();
}
buildCounterTestRulesetResponse--;
return o;
@@ -331,7 +430,8 @@
checkTestRulesetResponse(api.TestRulesetResponse o) {
buildCounterTestRulesetResponse++;
if (buildCounterTestRulesetResponse < 3) {
- checkUnnamed2972(o.issues);
+ checkUnnamed3081(o.issues);
+ checkUnnamed3082(o.testResults);
}
buildCounterTestRulesetResponse--;
}
@@ -356,6 +456,15 @@
});
+ unittest.group("obj-schema-FunctionCall", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFunctionCall();
+ var od = new api.FunctionCall.fromJson(o.toJson());
+ checkFunctionCall(od);
+ });
+ });
+
+
unittest.group("obj-schema-Issue", () {
unittest.test("to-json--from-json", () {
var o = buildIssue();
@@ -419,6 +528,15 @@
});
+ unittest.group("obj-schema-TestResult", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTestResult();
+ var od = new api.TestResult.fromJson(o.toJson());
+ checkTestResult(od);
+ });
+ });
+
+
unittest.group("obj-schema-TestRulesetRequest", () {
unittest.test("to-json--from-json", () {
var o = buildTestRulesetRequest();
@@ -878,6 +996,7 @@
var mock = new HttpServerMock();
api.ProjectsRulesetsResourceApi res = new api.FirebaserulesApi(mock).projects.rulesets;
var arg_name = "foo";
+ var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -907,6 +1026,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
@@ -917,7 +1037,7 @@
var resp = convert.JSON.encode(buildListRulesetsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListRulesetsResponse response) {
+ res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListRulesetsResponse response) {
checkListRulesetsResponse(response);
})));
});
diff --git a/generated/googleapis/test/fitness/v1_test.dart b/generated/googleapis/test/fitness/v1_test.dart
index b972a01..6bbbdfe 100644
--- a/generated/googleapis/test/fitness/v1_test.dart
+++ b/generated/googleapis/test/fitness/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1633() {
+buildUnnamed1701() {
var o = new core.List<api.Dataset>();
o.add(buildDataset());
o.add(buildDataset());
return o;
}
-checkUnnamed1633(core.List<api.Dataset> o) {
+checkUnnamed1701(core.List<api.Dataset> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataset(o[0]);
checkDataset(o[1]);
@@ -70,7 +70,7 @@
buildCounterAggregateBucket++;
if (buildCounterAggregateBucket < 3) {
o.activity = 42;
- o.dataset = buildUnnamed1633();
+ o.dataset = buildUnnamed1701();
o.endTimeMillis = "foo";
o.session = buildSession();
o.startTimeMillis = "foo";
@@ -84,7 +84,7 @@
buildCounterAggregateBucket++;
if (buildCounterAggregateBucket < 3) {
unittest.expect(o.activity, unittest.equals(42));
- checkUnnamed1633(o.dataset);
+ checkUnnamed1701(o.dataset);
unittest.expect(o.endTimeMillis, unittest.equals('foo'));
checkSession(o.session);
unittest.expect(o.startTimeMillis, unittest.equals('foo'));
@@ -114,27 +114,27 @@
buildCounterAggregateBy--;
}
-buildUnnamed1634() {
+buildUnnamed1702() {
var o = new core.List<api.AggregateBy>();
o.add(buildAggregateBy());
o.add(buildAggregateBy());
return o;
}
-checkUnnamed1634(core.List<api.AggregateBy> o) {
+checkUnnamed1702(core.List<api.AggregateBy> o) {
unittest.expect(o, unittest.hasLength(2));
checkAggregateBy(o[0]);
checkAggregateBy(o[1]);
}
-buildUnnamed1635() {
+buildUnnamed1703() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1635(core.List<core.String> o) {
+checkUnnamed1703(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -145,13 +145,13 @@
var o = new api.AggregateRequest();
buildCounterAggregateRequest++;
if (buildCounterAggregateRequest < 3) {
- o.aggregateBy = buildUnnamed1634();
+ o.aggregateBy = buildUnnamed1702();
o.bucketByActivitySegment = buildBucketByActivity();
o.bucketByActivityType = buildBucketByActivity();
o.bucketBySession = buildBucketBySession();
o.bucketByTime = buildBucketByTime();
o.endTimeMillis = "foo";
- o.filteredDataQualityStandard = buildUnnamed1635();
+ o.filteredDataQualityStandard = buildUnnamed1703();
o.startTimeMillis = "foo";
}
buildCounterAggregateRequest--;
@@ -161,26 +161,26 @@
checkAggregateRequest(api.AggregateRequest o) {
buildCounterAggregateRequest++;
if (buildCounterAggregateRequest < 3) {
- checkUnnamed1634(o.aggregateBy);
+ checkUnnamed1702(o.aggregateBy);
checkBucketByActivity(o.bucketByActivitySegment);
checkBucketByActivity(o.bucketByActivityType);
checkBucketBySession(o.bucketBySession);
checkBucketByTime(o.bucketByTime);
unittest.expect(o.endTimeMillis, unittest.equals('foo'));
- checkUnnamed1635(o.filteredDataQualityStandard);
+ checkUnnamed1703(o.filteredDataQualityStandard);
unittest.expect(o.startTimeMillis, unittest.equals('foo'));
}
buildCounterAggregateRequest--;
}
-buildUnnamed1636() {
+buildUnnamed1704() {
var o = new core.List<api.AggregateBucket>();
o.add(buildAggregateBucket());
o.add(buildAggregateBucket());
return o;
}
-checkUnnamed1636(core.List<api.AggregateBucket> o) {
+checkUnnamed1704(core.List<api.AggregateBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkAggregateBucket(o[0]);
checkAggregateBucket(o[1]);
@@ -191,7 +191,7 @@
var o = new api.AggregateResponse();
buildCounterAggregateResponse++;
if (buildCounterAggregateResponse < 3) {
- o.bucket = buildUnnamed1636();
+ o.bucket = buildUnnamed1704();
}
buildCounterAggregateResponse--;
return o;
@@ -200,7 +200,7 @@
checkAggregateResponse(api.AggregateResponse o) {
buildCounterAggregateResponse++;
if (buildCounterAggregateResponse < 3) {
- checkUnnamed1636(o.bucket);
+ checkUnnamed1704(o.bucket);
}
buildCounterAggregateResponse--;
}
@@ -314,14 +314,14 @@
buildCounterBucketByTimePeriod--;
}
-buildUnnamed1637() {
+buildUnnamed1705() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed1637(core.List<api.Value> o) {
+checkUnnamed1705(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -339,7 +339,7 @@
o.originDataSourceId = "foo";
o.rawTimestampNanos = "foo";
o.startTimeNanos = "foo";
- o.value = buildUnnamed1637();
+ o.value = buildUnnamed1705();
}
buildCounterDataPoint--;
return o;
@@ -355,19 +355,19 @@
unittest.expect(o.originDataSourceId, unittest.equals('foo'));
unittest.expect(o.rawTimestampNanos, unittest.equals('foo'));
unittest.expect(o.startTimeNanos, unittest.equals('foo'));
- checkUnnamed1637(o.value);
+ checkUnnamed1705(o.value);
}
buildCounterDataPoint--;
}
-buildUnnamed1638() {
+buildUnnamed1706() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1638(core.List<core.String> o) {
+checkUnnamed1706(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -379,7 +379,7 @@
buildCounterDataSource++;
if (buildCounterDataSource < 3) {
o.application = buildApplication();
- o.dataQualityStandard = buildUnnamed1638();
+ o.dataQualityStandard = buildUnnamed1706();
o.dataStreamId = "foo";
o.dataStreamName = "foo";
o.dataType = buildDataType();
@@ -395,7 +395,7 @@
buildCounterDataSource++;
if (buildCounterDataSource < 3) {
checkApplication(o.application);
- checkUnnamed1638(o.dataQualityStandard);
+ checkUnnamed1706(o.dataQualityStandard);
unittest.expect(o.dataStreamId, unittest.equals('foo'));
unittest.expect(o.dataStreamName, unittest.equals('foo'));
checkDataType(o.dataType);
@@ -406,14 +406,14 @@
buildCounterDataSource--;
}
-buildUnnamed1639() {
+buildUnnamed1707() {
var o = new core.List<api.DataTypeField>();
o.add(buildDataTypeField());
o.add(buildDataTypeField());
return o;
}
-checkUnnamed1639(core.List<api.DataTypeField> o) {
+checkUnnamed1707(core.List<api.DataTypeField> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataTypeField(o[0]);
checkDataTypeField(o[1]);
@@ -424,7 +424,7 @@
var o = new api.DataType();
buildCounterDataType++;
if (buildCounterDataType < 3) {
- o.field = buildUnnamed1639();
+ o.field = buildUnnamed1707();
o.name = "foo";
}
buildCounterDataType--;
@@ -434,7 +434,7 @@
checkDataType(api.DataType o) {
buildCounterDataType++;
if (buildCounterDataType < 3) {
- checkUnnamed1639(o.field);
+ checkUnnamed1707(o.field);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterDataType--;
@@ -463,14 +463,14 @@
buildCounterDataTypeField--;
}
-buildUnnamed1640() {
+buildUnnamed1708() {
var o = new core.List<api.DataPoint>();
o.add(buildDataPoint());
o.add(buildDataPoint());
return o;
}
-checkUnnamed1640(core.List<api.DataPoint> o) {
+checkUnnamed1708(core.List<api.DataPoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataPoint(o[0]);
checkDataPoint(o[1]);
@@ -485,7 +485,7 @@
o.maxEndTimeNs = "foo";
o.minStartTimeNs = "foo";
o.nextPageToken = "foo";
- o.point = buildUnnamed1640();
+ o.point = buildUnnamed1708();
}
buildCounterDataset--;
return o;
@@ -498,7 +498,7 @@
unittest.expect(o.maxEndTimeNs, unittest.equals('foo'));
unittest.expect(o.minStartTimeNs, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1640(o.point);
+ checkUnnamed1708(o.point);
}
buildCounterDataset--;
}
@@ -530,14 +530,14 @@
buildCounterDevice--;
}
-buildUnnamed1641() {
+buildUnnamed1709() {
var o = new core.List<api.DataSource>();
o.add(buildDataSource());
o.add(buildDataSource());
return o;
}
-checkUnnamed1641(core.List<api.DataSource> o) {
+checkUnnamed1709(core.List<api.DataSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataSource(o[0]);
checkDataSource(o[1]);
@@ -548,7 +548,7 @@
var o = new api.ListDataSourcesResponse();
buildCounterListDataSourcesResponse++;
if (buildCounterListDataSourcesResponse < 3) {
- o.dataSource = buildUnnamed1641();
+ o.dataSource = buildUnnamed1709();
}
buildCounterListDataSourcesResponse--;
return o;
@@ -557,32 +557,32 @@
checkListDataSourcesResponse(api.ListDataSourcesResponse o) {
buildCounterListDataSourcesResponse++;
if (buildCounterListDataSourcesResponse < 3) {
- checkUnnamed1641(o.dataSource);
+ checkUnnamed1709(o.dataSource);
}
buildCounterListDataSourcesResponse--;
}
-buildUnnamed1642() {
+buildUnnamed1710() {
var o = new core.List<api.Session>();
o.add(buildSession());
o.add(buildSession());
return o;
}
-checkUnnamed1642(core.List<api.Session> o) {
+checkUnnamed1710(core.List<api.Session> o) {
unittest.expect(o, unittest.hasLength(2));
checkSession(o[0]);
checkSession(o[1]);
}
-buildUnnamed1643() {
+buildUnnamed1711() {
var o = new core.List<api.Session>();
o.add(buildSession());
o.add(buildSession());
return o;
}
-checkUnnamed1643(core.List<api.Session> o) {
+checkUnnamed1711(core.List<api.Session> o) {
unittest.expect(o, unittest.hasLength(2));
checkSession(o[0]);
checkSession(o[1]);
@@ -593,10 +593,10 @@
var o = new api.ListSessionsResponse();
buildCounterListSessionsResponse++;
if (buildCounterListSessionsResponse < 3) {
- o.deletedSession = buildUnnamed1642();
+ o.deletedSession = buildUnnamed1710();
o.hasMoreData = true;
o.nextPageToken = "foo";
- o.session = buildUnnamed1643();
+ o.session = buildUnnamed1711();
}
buildCounterListSessionsResponse--;
return o;
@@ -605,10 +605,10 @@
checkListSessionsResponse(api.ListSessionsResponse o) {
buildCounterListSessionsResponse++;
if (buildCounterListSessionsResponse < 3) {
- checkUnnamed1642(o.deletedSession);
+ checkUnnamed1710(o.deletedSession);
unittest.expect(o.hasMoreData, unittest.isTrue);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1643(o.session);
+ checkUnnamed1711(o.session);
}
buildCounterListSessionsResponse--;
}
@@ -667,14 +667,14 @@
buildCounterSession--;
}
-buildUnnamed1644() {
+buildUnnamed1712() {
var o = new core.List<api.ValueMapValEntry>();
o.add(buildValueMapValEntry());
o.add(buildValueMapValEntry());
return o;
}
-checkUnnamed1644(core.List<api.ValueMapValEntry> o) {
+checkUnnamed1712(core.List<api.ValueMapValEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkValueMapValEntry(o[0]);
checkValueMapValEntry(o[1]);
@@ -687,7 +687,7 @@
if (buildCounterValue < 3) {
o.fpVal = 42.0;
o.intVal = 42;
- o.mapVal = buildUnnamed1644();
+ o.mapVal = buildUnnamed1712();
o.stringVal = "foo";
}
buildCounterValue--;
@@ -699,7 +699,7 @@
if (buildCounterValue < 3) {
unittest.expect(o.fpVal, unittest.equals(42.0));
unittest.expect(o.intVal, unittest.equals(42));
- checkUnnamed1644(o.mapVal);
+ checkUnnamed1712(o.mapVal);
unittest.expect(o.stringVal, unittest.equals('foo'));
}
buildCounterValue--;
@@ -726,14 +726,14 @@
buildCounterValueMapValEntry--;
}
-buildUnnamed1645() {
+buildUnnamed1713() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1645(core.List<core.String> o) {
+checkUnnamed1713(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1068,7 +1068,7 @@
var mock = new HttpServerMock();
api.UsersDataSourcesResourceApi res = new api.FitnessApi(mock).users.dataSources;
var arg_userId = "foo";
- var arg_dataTypeName = buildUnnamed1645();
+ var arg_dataTypeName = buildUnnamed1713();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
diff --git a/generated/googleapis/test/fusiontables/v1_test.dart b/generated/googleapis/test/fusiontables/v1_test.dart
index e3af581..02ac8a8 100644
--- a/generated/googleapis/test/fusiontables/v1_test.dart
+++ b/generated/googleapis/test/fusiontables/v1_test.dart
@@ -132,14 +132,14 @@
buildCounterColumn--;
}
-buildUnnamed2842() {
+buildUnnamed2947() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed2842(core.List<api.Column> o) {
+checkUnnamed2947(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -150,7 +150,7 @@
var o = new api.ColumnList();
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- o.items = buildUnnamed2842();
+ o.items = buildUnnamed2947();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -162,7 +162,7 @@
checkColumnList(api.ColumnList o) {
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- checkUnnamed2842(o.items);
+ checkUnnamed2947(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -170,14 +170,14 @@
buildCounterColumnList--;
}
-buildUnnamed2843() {
+buildUnnamed2948() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2843(core.List<core.Object> o) {
+checkUnnamed2948(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) 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[1]) 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'));
@@ -188,7 +188,7 @@
var o = new api.Geometry();
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- o.geometries = buildUnnamed2843();
+ o.geometries = buildUnnamed2948();
o.geometry = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.type = "foo";
}
@@ -199,7 +199,7 @@
checkGeometry(api.Geometry o) {
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- checkUnnamed2843(o.geometries);
+ checkUnnamed2948(o.geometries);
var casted3 = (o.geometry) 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'));
unittest.expect(o.type, unittest.equals('foo'));
}
@@ -227,30 +227,30 @@
buildCounterImport--;
}
-buildUnnamed2844() {
+buildUnnamed2949() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2844(core.List<core.double> o) {
+checkUnnamed2949(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
}
-buildUnnamed2845() {
+buildUnnamed2950() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed2844());
- o.add(buildUnnamed2844());
+ o.add(buildUnnamed2949());
+ o.add(buildUnnamed2949());
return o;
}
-checkUnnamed2845(core.List<core.List<core.double>> o) {
+checkUnnamed2950(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2844(o[0]);
- checkUnnamed2844(o[1]);
+ checkUnnamed2949(o[0]);
+ checkUnnamed2949(o[1]);
}
core.int buildCounterLine = 0;
@@ -258,7 +258,7 @@
var o = new api.Line();
buildCounterLine++;
if (buildCounterLine < 3) {
- o.coordinates = buildUnnamed2845();
+ o.coordinates = buildUnnamed2950();
o.type = "foo";
}
buildCounterLine--;
@@ -268,7 +268,7 @@
checkLine(api.Line o) {
buildCounterLine++;
if (buildCounterLine < 3) {
- checkUnnamed2845(o.coordinates);
+ checkUnnamed2950(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterLine--;
@@ -301,14 +301,14 @@
buildCounterLineStyle--;
}
-buildUnnamed2846() {
+buildUnnamed2951() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2846(core.List<core.double> o) {
+checkUnnamed2951(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -319,7 +319,7 @@
var o = new api.Point();
buildCounterPoint++;
if (buildCounterPoint < 3) {
- o.coordinates = buildUnnamed2846();
+ o.coordinates = buildUnnamed2951();
o.type = "foo";
}
buildCounterPoint--;
@@ -329,7 +329,7 @@
checkPoint(api.Point o) {
buildCounterPoint++;
if (buildCounterPoint < 3) {
- checkUnnamed2846(o.coordinates);
+ checkUnnamed2951(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPoint--;
@@ -356,43 +356,43 @@
buildCounterPointStyle--;
}
-buildUnnamed2847() {
+buildUnnamed2952() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2847(core.List<core.double> o) {
+checkUnnamed2952(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
}
-buildUnnamed2848() {
+buildUnnamed2953() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed2847());
- o.add(buildUnnamed2847());
+ o.add(buildUnnamed2952());
+ o.add(buildUnnamed2952());
return o;
}
-checkUnnamed2848(core.List<core.List<core.double>> o) {
+checkUnnamed2953(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2847(o[0]);
- checkUnnamed2847(o[1]);
+ checkUnnamed2952(o[0]);
+ checkUnnamed2952(o[1]);
}
-buildUnnamed2849() {
+buildUnnamed2954() {
var o = new core.List<core.List<core.List<core.double>>>();
- o.add(buildUnnamed2848());
- o.add(buildUnnamed2848());
+ o.add(buildUnnamed2953());
+ o.add(buildUnnamed2953());
return o;
}
-checkUnnamed2849(core.List<core.List<core.List<core.double>>> o) {
+checkUnnamed2954(core.List<core.List<core.List<core.double>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2848(o[0]);
- checkUnnamed2848(o[1]);
+ checkUnnamed2953(o[0]);
+ checkUnnamed2953(o[1]);
}
core.int buildCounterPolygon = 0;
@@ -400,7 +400,7 @@
var o = new api.Polygon();
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- o.coordinates = buildUnnamed2849();
+ o.coordinates = buildUnnamed2954();
o.type = "foo";
}
buildCounterPolygon--;
@@ -410,7 +410,7 @@
checkPolygon(api.Polygon o) {
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- checkUnnamed2849(o.coordinates);
+ checkUnnamed2954(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPolygon--;
@@ -449,43 +449,43 @@
buildCounterPolygonStyle--;
}
-buildUnnamed2850() {
+buildUnnamed2955() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2850(core.List<core.String> o) {
+checkUnnamed2955(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2851() {
+buildUnnamed2956() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2851(core.List<core.Object> o) {
+checkUnnamed2956(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted4 = (o[0]) 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'));
var casted5 = (o[1]) 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'));
}
-buildUnnamed2852() {
+buildUnnamed2957() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed2851());
- o.add(buildUnnamed2851());
+ o.add(buildUnnamed2956());
+ o.add(buildUnnamed2956());
return o;
}
-checkUnnamed2852(core.List<core.List<core.Object>> o) {
+checkUnnamed2957(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2851(o[0]);
- checkUnnamed2851(o[1]);
+ checkUnnamed2956(o[0]);
+ checkUnnamed2956(o[1]);
}
core.int buildCounterSqlresponse = 0;
@@ -493,9 +493,9 @@
var o = new api.Sqlresponse();
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- o.columns = buildUnnamed2850();
+ o.columns = buildUnnamed2955();
o.kind = "foo";
- o.rows = buildUnnamed2852();
+ o.rows = buildUnnamed2957();
}
buildCounterSqlresponse--;
return o;
@@ -504,21 +504,21 @@
checkSqlresponse(api.Sqlresponse o) {
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- checkUnnamed2850(o.columns);
+ checkUnnamed2955(o.columns);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2852(o.rows);
+ checkUnnamed2957(o.rows);
}
buildCounterSqlresponse--;
}
-buildUnnamed2853() {
+buildUnnamed2958() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed2853(core.List<api.Bucket> o) {
+checkUnnamed2958(core.List<api.Bucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucket(o[0]);
checkBucket(o[1]);
@@ -545,14 +545,14 @@
buildCounterStyleFunctionGradientColors--;
}
-buildUnnamed2854() {
+buildUnnamed2959() {
var o = new core.List<api.StyleFunctionGradientColors>();
o.add(buildStyleFunctionGradientColors());
o.add(buildStyleFunctionGradientColors());
return o;
}
-checkUnnamed2854(core.List<api.StyleFunctionGradientColors> o) {
+checkUnnamed2959(core.List<api.StyleFunctionGradientColors> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleFunctionGradientColors(o[0]);
checkStyleFunctionGradientColors(o[1]);
@@ -563,7 +563,7 @@
var o = new api.StyleFunctionGradient();
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- o.colors = buildUnnamed2854();
+ o.colors = buildUnnamed2959();
o.max = 42.0;
o.min = 42.0;
}
@@ -574,7 +574,7 @@
checkStyleFunctionGradient(api.StyleFunctionGradient o) {
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- checkUnnamed2854(o.colors);
+ checkUnnamed2959(o.colors);
unittest.expect(o.max, unittest.equals(42.0));
unittest.expect(o.min, unittest.equals(42.0));
}
@@ -586,7 +586,7 @@
var o = new api.StyleFunction();
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- o.buckets = buildUnnamed2853();
+ o.buckets = buildUnnamed2958();
o.columnName = "foo";
o.gradient = buildStyleFunctionGradient();
o.kind = "foo";
@@ -598,7 +598,7 @@
checkStyleFunction(api.StyleFunction o) {
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- checkUnnamed2853(o.buckets);
+ checkUnnamed2958(o.buckets);
unittest.expect(o.columnName, unittest.equals('foo'));
checkStyleFunctionGradient(o.gradient);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -637,14 +637,14 @@
buildCounterStyleSetting--;
}
-buildUnnamed2855() {
+buildUnnamed2960() {
var o = new core.List<api.StyleSetting>();
o.add(buildStyleSetting());
o.add(buildStyleSetting());
return o;
}
-checkUnnamed2855(core.List<api.StyleSetting> o) {
+checkUnnamed2960(core.List<api.StyleSetting> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleSetting(o[0]);
checkStyleSetting(o[1]);
@@ -655,7 +655,7 @@
var o = new api.StyleSettingList();
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- o.items = buildUnnamed2855();
+ o.items = buildUnnamed2960();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -667,7 +667,7 @@
checkStyleSettingList(api.StyleSettingList o) {
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- checkUnnamed2855(o.items);
+ checkUnnamed2960(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -675,27 +675,27 @@
buildCounterStyleSettingList--;
}
-buildUnnamed2856() {
+buildUnnamed2961() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2856(core.List<core.String> o) {
+checkUnnamed2961(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2857() {
+buildUnnamed2962() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed2857(core.List<api.Column> o) {
+checkUnnamed2962(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -708,8 +708,8 @@
if (buildCounterTable < 3) {
o.attribution = "foo";
o.attributionLink = "foo";
- o.baseTableIds = buildUnnamed2856();
- o.columns = buildUnnamed2857();
+ o.baseTableIds = buildUnnamed2961();
+ o.columns = buildUnnamed2962();
o.description = "foo";
o.isExportable = true;
o.kind = "foo";
@@ -726,8 +726,8 @@
if (buildCounterTable < 3) {
unittest.expect(o.attribution, unittest.equals('foo'));
unittest.expect(o.attributionLink, unittest.equals('foo'));
- checkUnnamed2856(o.baseTableIds);
- checkUnnamed2857(o.columns);
+ checkUnnamed2961(o.baseTableIds);
+ checkUnnamed2962(o.columns);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.isExportable, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -738,14 +738,14 @@
buildCounterTable--;
}
-buildUnnamed2858() {
+buildUnnamed2963() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed2858(core.List<api.Table> o) {
+checkUnnamed2963(core.List<api.Table> o) {
unittest.expect(o, unittest.hasLength(2));
checkTable(o[0]);
checkTable(o[1]);
@@ -756,7 +756,7 @@
var o = new api.TableList();
buildCounterTableList++;
if (buildCounterTableList < 3) {
- o.items = buildUnnamed2858();
+ o.items = buildUnnamed2963();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -767,7 +767,7 @@
checkTableList(api.TableList o) {
buildCounterTableList++;
if (buildCounterTableList < 3) {
- checkUnnamed2858(o.items);
+ checkUnnamed2963(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -801,14 +801,14 @@
buildCounterTask--;
}
-buildUnnamed2859() {
+buildUnnamed2964() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed2859(core.List<api.Task> o) {
+checkUnnamed2964(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -819,7 +819,7 @@
var o = new api.TaskList();
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- o.items = buildUnnamed2859();
+ o.items = buildUnnamed2964();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -831,7 +831,7 @@
checkTaskList(api.TaskList o) {
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- checkUnnamed2859(o.items);
+ checkUnnamed2964(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -839,14 +839,14 @@
buildCounterTaskList--;
}
-buildUnnamed2860() {
+buildUnnamed2965() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2860(core.List<core.String> o) {
+checkUnnamed2965(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -857,7 +857,7 @@
var o = new api.Template();
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- o.automaticColumnNames = buildUnnamed2860();
+ o.automaticColumnNames = buildUnnamed2965();
o.body = "foo";
o.kind = "foo";
o.name = "foo";
@@ -871,7 +871,7 @@
checkTemplate(api.Template o) {
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- checkUnnamed2860(o.automaticColumnNames);
+ checkUnnamed2965(o.automaticColumnNames);
unittest.expect(o.body, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -881,14 +881,14 @@
buildCounterTemplate--;
}
-buildUnnamed2861() {
+buildUnnamed2966() {
var o = new core.List<api.Template>();
o.add(buildTemplate());
o.add(buildTemplate());
return o;
}
-checkUnnamed2861(core.List<api.Template> o) {
+checkUnnamed2966(core.List<api.Template> o) {
unittest.expect(o, unittest.hasLength(2));
checkTemplate(o[0]);
checkTemplate(o[1]);
@@ -899,7 +899,7 @@
var o = new api.TemplateList();
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- o.items = buildUnnamed2861();
+ o.items = buildUnnamed2966();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -911,7 +911,7 @@
checkTemplateList(api.TemplateList o) {
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- checkUnnamed2861(o.items);
+ checkUnnamed2966(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
diff --git a/generated/googleapis/test/fusiontables/v2_test.dart b/generated/googleapis/test/fusiontables/v2_test.dart
index e8bf538..edfea39 100644
--- a/generated/googleapis/test/fusiontables/v2_test.dart
+++ b/generated/googleapis/test/fusiontables/v2_test.dart
@@ -101,14 +101,14 @@
buildCounterColumnBaseColumn--;
}
-buildUnnamed408() {
+buildUnnamed429() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed408(core.List<core.String> o) {
+checkUnnamed429(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -129,7 +129,7 @@
o.kind = "foo";
o.name = "foo";
o.type = "foo";
- o.validValues = buildUnnamed408();
+ o.validValues = buildUnnamed429();
o.validateData = true;
}
buildCounterColumn--;
@@ -149,20 +149,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
- checkUnnamed408(o.validValues);
+ checkUnnamed429(o.validValues);
unittest.expect(o.validateData, unittest.isTrue);
}
buildCounterColumn--;
}
-buildUnnamed409() {
+buildUnnamed430() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed409(core.List<api.Column> o) {
+checkUnnamed430(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -173,7 +173,7 @@
var o = new api.ColumnList();
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- o.items = buildUnnamed409();
+ o.items = buildUnnamed430();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -185,7 +185,7 @@
checkColumnList(api.ColumnList o) {
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- checkUnnamed409(o.items);
+ checkUnnamed430(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -193,14 +193,14 @@
buildCounterColumnList--;
}
-buildUnnamed410() {
+buildUnnamed431() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed410(core.List<core.Object> o) {
+checkUnnamed431(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) 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[1]) 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'));
@@ -211,7 +211,7 @@
var o = new api.Geometry();
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- o.geometries = buildUnnamed410();
+ o.geometries = buildUnnamed431();
o.geometry = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.type = "foo";
}
@@ -222,7 +222,7 @@
checkGeometry(api.Geometry o) {
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- checkUnnamed410(o.geometries);
+ checkUnnamed431(o.geometries);
var casted3 = (o.geometry) 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'));
unittest.expect(o.type, unittest.equals('foo'));
}
@@ -250,30 +250,30 @@
buildCounterImport--;
}
-buildUnnamed411() {
+buildUnnamed432() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed411(core.List<core.double> o) {
+checkUnnamed432(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
}
-buildUnnamed412() {
+buildUnnamed433() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed411());
- o.add(buildUnnamed411());
+ o.add(buildUnnamed432());
+ o.add(buildUnnamed432());
return o;
}
-checkUnnamed412(core.List<core.List<core.double>> o) {
+checkUnnamed433(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed411(o[0]);
- checkUnnamed411(o[1]);
+ checkUnnamed432(o[0]);
+ checkUnnamed432(o[1]);
}
core.int buildCounterLine = 0;
@@ -281,7 +281,7 @@
var o = new api.Line();
buildCounterLine++;
if (buildCounterLine < 3) {
- o.coordinates = buildUnnamed412();
+ o.coordinates = buildUnnamed433();
o.type = "foo";
}
buildCounterLine--;
@@ -291,7 +291,7 @@
checkLine(api.Line o) {
buildCounterLine++;
if (buildCounterLine < 3) {
- checkUnnamed412(o.coordinates);
+ checkUnnamed433(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterLine--;
@@ -324,14 +324,14 @@
buildCounterLineStyle--;
}
-buildUnnamed413() {
+buildUnnamed434() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed413(core.List<core.double> o) {
+checkUnnamed434(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -342,7 +342,7 @@
var o = new api.Point();
buildCounterPoint++;
if (buildCounterPoint < 3) {
- o.coordinates = buildUnnamed413();
+ o.coordinates = buildUnnamed434();
o.type = "foo";
}
buildCounterPoint--;
@@ -352,7 +352,7 @@
checkPoint(api.Point o) {
buildCounterPoint++;
if (buildCounterPoint < 3) {
- checkUnnamed413(o.coordinates);
+ checkUnnamed434(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPoint--;
@@ -379,43 +379,43 @@
buildCounterPointStyle--;
}
-buildUnnamed414() {
+buildUnnamed435() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed414(core.List<core.double> o) {
+checkUnnamed435(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
}
-buildUnnamed415() {
+buildUnnamed436() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed414());
- o.add(buildUnnamed414());
+ o.add(buildUnnamed435());
+ o.add(buildUnnamed435());
return o;
}
-checkUnnamed415(core.List<core.List<core.double>> o) {
+checkUnnamed436(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed414(o[0]);
- checkUnnamed414(o[1]);
+ checkUnnamed435(o[0]);
+ checkUnnamed435(o[1]);
}
-buildUnnamed416() {
+buildUnnamed437() {
var o = new core.List<core.List<core.List<core.double>>>();
- o.add(buildUnnamed415());
- o.add(buildUnnamed415());
+ o.add(buildUnnamed436());
+ o.add(buildUnnamed436());
return o;
}
-checkUnnamed416(core.List<core.List<core.List<core.double>>> o) {
+checkUnnamed437(core.List<core.List<core.List<core.double>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed415(o[0]);
- checkUnnamed415(o[1]);
+ checkUnnamed436(o[0]);
+ checkUnnamed436(o[1]);
}
core.int buildCounterPolygon = 0;
@@ -423,7 +423,7 @@
var o = new api.Polygon();
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- o.coordinates = buildUnnamed416();
+ o.coordinates = buildUnnamed437();
o.type = "foo";
}
buildCounterPolygon--;
@@ -433,7 +433,7 @@
checkPolygon(api.Polygon o) {
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- checkUnnamed416(o.coordinates);
+ checkUnnamed437(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPolygon--;
@@ -472,43 +472,43 @@
buildCounterPolygonStyle--;
}
-buildUnnamed417() {
+buildUnnamed438() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed417(core.List<core.String> o) {
+checkUnnamed438(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed418() {
+buildUnnamed439() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed418(core.List<core.Object> o) {
+checkUnnamed439(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted4 = (o[0]) 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'));
var casted5 = (o[1]) 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'));
}
-buildUnnamed419() {
+buildUnnamed440() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed418());
- o.add(buildUnnamed418());
+ o.add(buildUnnamed439());
+ o.add(buildUnnamed439());
return o;
}
-checkUnnamed419(core.List<core.List<core.Object>> o) {
+checkUnnamed440(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed418(o[0]);
- checkUnnamed418(o[1]);
+ checkUnnamed439(o[0]);
+ checkUnnamed439(o[1]);
}
core.int buildCounterSqlresponse = 0;
@@ -516,9 +516,9 @@
var o = new api.Sqlresponse();
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- o.columns = buildUnnamed417();
+ o.columns = buildUnnamed438();
o.kind = "foo";
- o.rows = buildUnnamed419();
+ o.rows = buildUnnamed440();
}
buildCounterSqlresponse--;
return o;
@@ -527,21 +527,21 @@
checkSqlresponse(api.Sqlresponse o) {
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- checkUnnamed417(o.columns);
+ checkUnnamed438(o.columns);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed419(o.rows);
+ checkUnnamed440(o.rows);
}
buildCounterSqlresponse--;
}
-buildUnnamed420() {
+buildUnnamed441() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed420(core.List<api.Bucket> o) {
+checkUnnamed441(core.List<api.Bucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucket(o[0]);
checkBucket(o[1]);
@@ -568,14 +568,14 @@
buildCounterStyleFunctionGradientColors--;
}
-buildUnnamed421() {
+buildUnnamed442() {
var o = new core.List<api.StyleFunctionGradientColors>();
o.add(buildStyleFunctionGradientColors());
o.add(buildStyleFunctionGradientColors());
return o;
}
-checkUnnamed421(core.List<api.StyleFunctionGradientColors> o) {
+checkUnnamed442(core.List<api.StyleFunctionGradientColors> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleFunctionGradientColors(o[0]);
checkStyleFunctionGradientColors(o[1]);
@@ -586,7 +586,7 @@
var o = new api.StyleFunctionGradient();
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- o.colors = buildUnnamed421();
+ o.colors = buildUnnamed442();
o.max = 42.0;
o.min = 42.0;
}
@@ -597,7 +597,7 @@
checkStyleFunctionGradient(api.StyleFunctionGradient o) {
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- checkUnnamed421(o.colors);
+ checkUnnamed442(o.colors);
unittest.expect(o.max, unittest.equals(42.0));
unittest.expect(o.min, unittest.equals(42.0));
}
@@ -609,7 +609,7 @@
var o = new api.StyleFunction();
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- o.buckets = buildUnnamed420();
+ o.buckets = buildUnnamed441();
o.columnName = "foo";
o.gradient = buildStyleFunctionGradient();
o.kind = "foo";
@@ -621,7 +621,7 @@
checkStyleFunction(api.StyleFunction o) {
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- checkUnnamed420(o.buckets);
+ checkUnnamed441(o.buckets);
unittest.expect(o.columnName, unittest.equals('foo'));
checkStyleFunctionGradient(o.gradient);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -660,14 +660,14 @@
buildCounterStyleSetting--;
}
-buildUnnamed422() {
+buildUnnamed443() {
var o = new core.List<api.StyleSetting>();
o.add(buildStyleSetting());
o.add(buildStyleSetting());
return o;
}
-checkUnnamed422(core.List<api.StyleSetting> o) {
+checkUnnamed443(core.List<api.StyleSetting> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleSetting(o[0]);
checkStyleSetting(o[1]);
@@ -678,7 +678,7 @@
var o = new api.StyleSettingList();
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- o.items = buildUnnamed422();
+ o.items = buildUnnamed443();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -690,7 +690,7 @@
checkStyleSettingList(api.StyleSettingList o) {
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- checkUnnamed422(o.items);
+ checkUnnamed443(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -698,27 +698,27 @@
buildCounterStyleSettingList--;
}
-buildUnnamed423() {
+buildUnnamed444() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed423(core.List<core.String> o) {
+checkUnnamed444(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed424() {
+buildUnnamed445() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed424(core.List<api.Column> o) {
+checkUnnamed445(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -731,9 +731,9 @@
if (buildCounterTable < 3) {
o.attribution = "foo";
o.attributionLink = "foo";
- o.baseTableIds = buildUnnamed423();
+ o.baseTableIds = buildUnnamed444();
o.columnPropertiesJsonSchema = "foo";
- o.columns = buildUnnamed424();
+ o.columns = buildUnnamed445();
o.description = "foo";
o.isExportable = true;
o.kind = "foo";
@@ -752,9 +752,9 @@
if (buildCounterTable < 3) {
unittest.expect(o.attribution, unittest.equals('foo'));
unittest.expect(o.attributionLink, unittest.equals('foo'));
- checkUnnamed423(o.baseTableIds);
+ checkUnnamed444(o.baseTableIds);
unittest.expect(o.columnPropertiesJsonSchema, unittest.equals('foo'));
- checkUnnamed424(o.columns);
+ checkUnnamed445(o.columns);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.isExportable, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -767,14 +767,14 @@
buildCounterTable--;
}
-buildUnnamed425() {
+buildUnnamed446() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed425(core.List<api.Table> o) {
+checkUnnamed446(core.List<api.Table> o) {
unittest.expect(o, unittest.hasLength(2));
checkTable(o[0]);
checkTable(o[1]);
@@ -785,7 +785,7 @@
var o = new api.TableList();
buildCounterTableList++;
if (buildCounterTableList < 3) {
- o.items = buildUnnamed425();
+ o.items = buildUnnamed446();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -796,7 +796,7 @@
checkTableList(api.TableList o) {
buildCounterTableList++;
if (buildCounterTableList < 3) {
- checkUnnamed425(o.items);
+ checkUnnamed446(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -830,14 +830,14 @@
buildCounterTask--;
}
-buildUnnamed426() {
+buildUnnamed447() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed426(core.List<api.Task> o) {
+checkUnnamed447(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -848,7 +848,7 @@
var o = new api.TaskList();
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- o.items = buildUnnamed426();
+ o.items = buildUnnamed447();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -860,7 +860,7 @@
checkTaskList(api.TaskList o) {
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- checkUnnamed426(o.items);
+ checkUnnamed447(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -868,14 +868,14 @@
buildCounterTaskList--;
}
-buildUnnamed427() {
+buildUnnamed448() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed427(core.List<core.String> o) {
+checkUnnamed448(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -886,7 +886,7 @@
var o = new api.Template();
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- o.automaticColumnNames = buildUnnamed427();
+ o.automaticColumnNames = buildUnnamed448();
o.body = "foo";
o.kind = "foo";
o.name = "foo";
@@ -900,7 +900,7 @@
checkTemplate(api.Template o) {
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- checkUnnamed427(o.automaticColumnNames);
+ checkUnnamed448(o.automaticColumnNames);
unittest.expect(o.body, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -910,14 +910,14 @@
buildCounterTemplate--;
}
-buildUnnamed428() {
+buildUnnamed449() {
var o = new core.List<api.Template>();
o.add(buildTemplate());
o.add(buildTemplate());
return o;
}
-checkUnnamed428(core.List<api.Template> o) {
+checkUnnamed449(core.List<api.Template> o) {
unittest.expect(o, unittest.hasLength(2));
checkTemplate(o[0]);
checkTemplate(o[1]);
@@ -928,7 +928,7 @@
var o = new api.TemplateList();
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- o.items = buildUnnamed428();
+ o.items = buildUnnamed449();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -940,7 +940,7 @@
checkTemplateList(api.TemplateList o) {
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- checkUnnamed428(o.items);
+ checkUnnamed449(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
diff --git a/generated/googleapis/test/games/v1_test.dart b/generated/googleapis/test/games/v1_test.dart
index c53cbdf..cbf1107 100644
--- a/generated/googleapis/test/games/v1_test.dart
+++ b/generated/googleapis/test/games/v1_test.dart
@@ -94,14 +94,14 @@
buildCounterAchievementDefinition--;
}
-buildUnnamed34() {
+buildUnnamed52() {
var o = new core.List<api.AchievementDefinition>();
o.add(buildAchievementDefinition());
o.add(buildAchievementDefinition());
return o;
}
-checkUnnamed34(core.List<api.AchievementDefinition> o) {
+checkUnnamed52(core.List<api.AchievementDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementDefinition(o[0]);
checkAchievementDefinition(o[1]);
@@ -112,7 +112,7 @@
var o = new api.AchievementDefinitionsListResponse();
buildCounterAchievementDefinitionsListResponse++;
if (buildCounterAchievementDefinitionsListResponse < 3) {
- o.items = buildUnnamed34();
+ o.items = buildUnnamed52();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -123,7 +123,7 @@
checkAchievementDefinitionsListResponse(api.AchievementDefinitionsListResponse o) {
buildCounterAchievementDefinitionsListResponse++;
if (buildCounterAchievementDefinitionsListResponse < 3) {
- checkUnnamed34(o.items);
+ checkUnnamed52(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -218,14 +218,14 @@
buildCounterAchievementUnlockResponse--;
}
-buildUnnamed35() {
+buildUnnamed53() {
var o = new core.List<api.AchievementUpdateRequest>();
o.add(buildAchievementUpdateRequest());
o.add(buildAchievementUpdateRequest());
return o;
}
-checkUnnamed35(core.List<api.AchievementUpdateRequest> o) {
+checkUnnamed53(core.List<api.AchievementUpdateRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementUpdateRequest(o[0]);
checkAchievementUpdateRequest(o[1]);
@@ -237,7 +237,7 @@
buildCounterAchievementUpdateMultipleRequest++;
if (buildCounterAchievementUpdateMultipleRequest < 3) {
o.kind = "foo";
- o.updates = buildUnnamed35();
+ o.updates = buildUnnamed53();
}
buildCounterAchievementUpdateMultipleRequest--;
return o;
@@ -247,19 +247,19 @@
buildCounterAchievementUpdateMultipleRequest++;
if (buildCounterAchievementUpdateMultipleRequest < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed35(o.updates);
+ checkUnnamed53(o.updates);
}
buildCounterAchievementUpdateMultipleRequest--;
}
-buildUnnamed36() {
+buildUnnamed54() {
var o = new core.List<api.AchievementUpdateResponse>();
o.add(buildAchievementUpdateResponse());
o.add(buildAchievementUpdateResponse());
return o;
}
-checkUnnamed36(core.List<api.AchievementUpdateResponse> o) {
+checkUnnamed54(core.List<api.AchievementUpdateResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementUpdateResponse(o[0]);
checkAchievementUpdateResponse(o[1]);
@@ -271,7 +271,7 @@
buildCounterAchievementUpdateMultipleResponse++;
if (buildCounterAchievementUpdateMultipleResponse < 3) {
o.kind = "foo";
- o.updatedAchievements = buildUnnamed36();
+ o.updatedAchievements = buildUnnamed54();
}
buildCounterAchievementUpdateMultipleResponse--;
return o;
@@ -281,7 +281,7 @@
buildCounterAchievementUpdateMultipleResponse++;
if (buildCounterAchievementUpdateMultipleResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed36(o.updatedAchievements);
+ checkUnnamed54(o.updatedAchievements);
}
buildCounterAchievementUpdateMultipleResponse--;
}
@@ -392,40 +392,40 @@
buildCounterAnonymousPlayer--;
}
-buildUnnamed37() {
+buildUnnamed55() {
var o = new core.List<api.ImageAsset>();
o.add(buildImageAsset());
o.add(buildImageAsset());
return o;
}
-checkUnnamed37(core.List<api.ImageAsset> o) {
+checkUnnamed55(core.List<api.ImageAsset> o) {
unittest.expect(o, unittest.hasLength(2));
checkImageAsset(o[0]);
checkImageAsset(o[1]);
}
-buildUnnamed38() {
+buildUnnamed56() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed38(core.List<core.String> o) {
+checkUnnamed56(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed39() {
+buildUnnamed57() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed39(core.List<api.Instance> o) {
+checkUnnamed57(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -437,13 +437,13 @@
buildCounterApplication++;
if (buildCounterApplication < 3) {
o.achievementCount = 42;
- o.assets = buildUnnamed37();
+ o.assets = buildUnnamed55();
o.author = "foo";
o.category = buildApplicationCategory();
o.description = "foo";
- o.enabledFeatures = buildUnnamed38();
+ o.enabledFeatures = buildUnnamed56();
o.id = "foo";
- o.instances = buildUnnamed39();
+ o.instances = buildUnnamed57();
o.kind = "foo";
o.lastUpdatedTimestamp = "foo";
o.leaderboardCount = 42;
@@ -458,13 +458,13 @@
buildCounterApplication++;
if (buildCounterApplication < 3) {
unittest.expect(o.achievementCount, unittest.equals(42));
- checkUnnamed37(o.assets);
+ checkUnnamed55(o.assets);
unittest.expect(o.author, unittest.equals('foo'));
checkApplicationCategory(o.category);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed38(o.enabledFeatures);
+ checkUnnamed56(o.enabledFeatures);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed39(o.instances);
+ checkUnnamed57(o.instances);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastUpdatedTimestamp, unittest.equals('foo'));
unittest.expect(o.leaderboardCount, unittest.equals(42));
@@ -543,14 +543,14 @@
buildCounterCategory--;
}
-buildUnnamed40() {
+buildUnnamed58() {
var o = new core.List<api.Category>();
o.add(buildCategory());
o.add(buildCategory());
return o;
}
-checkUnnamed40(core.List<api.Category> o) {
+checkUnnamed58(core.List<api.Category> o) {
unittest.expect(o, unittest.hasLength(2));
checkCategory(o[0]);
checkCategory(o[1]);
@@ -561,7 +561,7 @@
var o = new api.CategoryListResponse();
buildCounterCategoryListResponse++;
if (buildCounterCategoryListResponse < 3) {
- o.items = buildUnnamed40();
+ o.items = buildUnnamed58();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -572,7 +572,7 @@
checkCategoryListResponse(api.CategoryListResponse o) {
buildCounterCategoryListResponse++;
if (buildCounterCategoryListResponse < 3) {
- checkUnnamed40(o.items);
+ checkUnnamed58(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -623,14 +623,14 @@
buildCounterEventChild--;
}
-buildUnnamed41() {
+buildUnnamed59() {
var o = new core.List<api.EventChild>();
o.add(buildEventChild());
o.add(buildEventChild());
return o;
}
-checkUnnamed41(core.List<api.EventChild> o) {
+checkUnnamed59(core.List<api.EventChild> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventChild(o[0]);
checkEventChild(o[1]);
@@ -641,7 +641,7 @@
var o = new api.EventDefinition();
buildCounterEventDefinition++;
if (buildCounterEventDefinition < 3) {
- o.childEvents = buildUnnamed41();
+ o.childEvents = buildUnnamed59();
o.description = "foo";
o.displayName = "foo";
o.id = "foo";
@@ -657,7 +657,7 @@
checkEventDefinition(api.EventDefinition o) {
buildCounterEventDefinition++;
if (buildCounterEventDefinition < 3) {
- checkUnnamed41(o.childEvents);
+ checkUnnamed59(o.childEvents);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -669,14 +669,14 @@
buildCounterEventDefinition--;
}
-buildUnnamed42() {
+buildUnnamed60() {
var o = new core.List<api.EventDefinition>();
o.add(buildEventDefinition());
o.add(buildEventDefinition());
return o;
}
-checkUnnamed42(core.List<api.EventDefinition> o) {
+checkUnnamed60(core.List<api.EventDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventDefinition(o[0]);
checkEventDefinition(o[1]);
@@ -687,7 +687,7 @@
var o = new api.EventDefinitionListResponse();
buildCounterEventDefinitionListResponse++;
if (buildCounterEventDefinitionListResponse < 3) {
- o.items = buildUnnamed42();
+ o.items = buildUnnamed60();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -698,7 +698,7 @@
checkEventDefinitionListResponse(api.EventDefinitionListResponse o) {
buildCounterEventDefinitionListResponse++;
if (buildCounterEventDefinitionListResponse < 3) {
- checkUnnamed42(o.items);
+ checkUnnamed60(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -728,14 +728,14 @@
buildCounterEventPeriodRange--;
}
-buildUnnamed43() {
+buildUnnamed61() {
var o = new core.List<api.EventUpdateRequest>();
o.add(buildEventUpdateRequest());
o.add(buildEventUpdateRequest());
return o;
}
-checkUnnamed43(core.List<api.EventUpdateRequest> o) {
+checkUnnamed61(core.List<api.EventUpdateRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventUpdateRequest(o[0]);
checkEventUpdateRequest(o[1]);
@@ -748,7 +748,7 @@
if (buildCounterEventPeriodUpdate < 3) {
o.kind = "foo";
o.timePeriod = buildEventPeriodRange();
- o.updates = buildUnnamed43();
+ o.updates = buildUnnamed61();
}
buildCounterEventPeriodUpdate--;
return o;
@@ -759,7 +759,7 @@
if (buildCounterEventPeriodUpdate < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
checkEventPeriodRange(o.timePeriod);
- checkUnnamed43(o.updates);
+ checkUnnamed61(o.updates);
}
buildCounterEventPeriodUpdate--;
}
@@ -787,14 +787,14 @@
buildCounterEventRecordFailure--;
}
-buildUnnamed44() {
+buildUnnamed62() {
var o = new core.List<api.EventPeriodUpdate>();
o.add(buildEventPeriodUpdate());
o.add(buildEventPeriodUpdate());
return o;
}
-checkUnnamed44(core.List<api.EventPeriodUpdate> o) {
+checkUnnamed62(core.List<api.EventPeriodUpdate> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventPeriodUpdate(o[0]);
checkEventPeriodUpdate(o[1]);
@@ -808,7 +808,7 @@
o.currentTimeMillis = "foo";
o.kind = "foo";
o.requestId = "foo";
- o.timePeriods = buildUnnamed44();
+ o.timePeriods = buildUnnamed62();
}
buildCounterEventRecordRequest--;
return o;
@@ -820,7 +820,7 @@
unittest.expect(o.currentTimeMillis, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed44(o.timePeriods);
+ checkUnnamed62(o.timePeriods);
}
buildCounterEventRecordRequest--;
}
@@ -848,40 +848,40 @@
buildCounterEventUpdateRequest--;
}
-buildUnnamed45() {
+buildUnnamed63() {
var o = new core.List<api.EventBatchRecordFailure>();
o.add(buildEventBatchRecordFailure());
o.add(buildEventBatchRecordFailure());
return o;
}
-checkUnnamed45(core.List<api.EventBatchRecordFailure> o) {
+checkUnnamed63(core.List<api.EventBatchRecordFailure> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventBatchRecordFailure(o[0]);
checkEventBatchRecordFailure(o[1]);
}
-buildUnnamed46() {
+buildUnnamed64() {
var o = new core.List<api.EventRecordFailure>();
o.add(buildEventRecordFailure());
o.add(buildEventRecordFailure());
return o;
}
-checkUnnamed46(core.List<api.EventRecordFailure> o) {
+checkUnnamed64(core.List<api.EventRecordFailure> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventRecordFailure(o[0]);
checkEventRecordFailure(o[1]);
}
-buildUnnamed47() {
+buildUnnamed65() {
var o = new core.List<api.PlayerEvent>();
o.add(buildPlayerEvent());
o.add(buildPlayerEvent());
return o;
}
-checkUnnamed47(core.List<api.PlayerEvent> o) {
+checkUnnamed65(core.List<api.PlayerEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerEvent(o[0]);
checkPlayerEvent(o[1]);
@@ -892,10 +892,10 @@
var o = new api.EventUpdateResponse();
buildCounterEventUpdateResponse++;
if (buildCounterEventUpdateResponse < 3) {
- o.batchFailures = buildUnnamed45();
- o.eventFailures = buildUnnamed46();
+ o.batchFailures = buildUnnamed63();
+ o.eventFailures = buildUnnamed64();
o.kind = "foo";
- o.playerEvents = buildUnnamed47();
+ o.playerEvents = buildUnnamed65();
}
buildCounterEventUpdateResponse--;
return o;
@@ -904,10 +904,10 @@
checkEventUpdateResponse(api.EventUpdateResponse o) {
buildCounterEventUpdateResponse++;
if (buildCounterEventUpdateResponse < 3) {
- checkUnnamed45(o.batchFailures);
- checkUnnamed46(o.eventFailures);
+ checkUnnamed63(o.batchFailures);
+ checkUnnamed64(o.eventFailures);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed47(o.playerEvents);
+ checkUnnamed65(o.playerEvents);
}
buildCounterEventUpdateResponse--;
}
@@ -1161,14 +1161,14 @@
buildCounterLeaderboardEntry--;
}
-buildUnnamed48() {
+buildUnnamed66() {
var o = new core.List<api.Leaderboard>();
o.add(buildLeaderboard());
o.add(buildLeaderboard());
return o;
}
-checkUnnamed48(core.List<api.Leaderboard> o) {
+checkUnnamed66(core.List<api.Leaderboard> o) {
unittest.expect(o, unittest.hasLength(2));
checkLeaderboard(o[0]);
checkLeaderboard(o[1]);
@@ -1179,7 +1179,7 @@
var o = new api.LeaderboardListResponse();
buildCounterLeaderboardListResponse++;
if (buildCounterLeaderboardListResponse < 3) {
- o.items = buildUnnamed48();
+ o.items = buildUnnamed66();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1190,7 +1190,7 @@
checkLeaderboardListResponse(api.LeaderboardListResponse o) {
buildCounterLeaderboardListResponse++;
if (buildCounterLeaderboardListResponse < 3) {
- checkUnnamed48(o.items);
+ checkUnnamed66(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1224,14 +1224,14 @@
buildCounterLeaderboardScoreRank--;
}
-buildUnnamed49() {
+buildUnnamed67() {
var o = new core.List<api.LeaderboardEntry>();
o.add(buildLeaderboardEntry());
o.add(buildLeaderboardEntry());
return o;
}
-checkUnnamed49(core.List<api.LeaderboardEntry> o) {
+checkUnnamed67(core.List<api.LeaderboardEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLeaderboardEntry(o[0]);
checkLeaderboardEntry(o[1]);
@@ -1242,7 +1242,7 @@
var o = new api.LeaderboardScores();
buildCounterLeaderboardScores++;
if (buildCounterLeaderboardScores < 3) {
- o.items = buildUnnamed49();
+ o.items = buildUnnamed67();
o.kind = "foo";
o.nextPageToken = "foo";
o.numScores = "foo";
@@ -1256,7 +1256,7 @@
checkLeaderboardScores(api.LeaderboardScores o) {
buildCounterLeaderboardScores++;
if (buildCounterLeaderboardScores < 3) {
- checkUnnamed49(o.items);
+ checkUnnamed67(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.numScores, unittest.equals('foo'));
@@ -1266,14 +1266,14 @@
buildCounterLeaderboardScores--;
}
-buildUnnamed50() {
+buildUnnamed68() {
var o = new core.List<api.PlayerLevel>();
o.add(buildPlayerLevel());
o.add(buildPlayerLevel());
return o;
}
-checkUnnamed50(core.List<api.PlayerLevel> o) {
+checkUnnamed68(core.List<api.PlayerLevel> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerLevel(o[0]);
checkPlayerLevel(o[1]);
@@ -1286,7 +1286,7 @@
if (buildCounterMetagameConfig < 3) {
o.currentVersion = 42;
o.kind = "foo";
- o.playerLevels = buildUnnamed50();
+ o.playerLevels = buildUnnamed68();
}
buildCounterMetagameConfig--;
return o;
@@ -1297,7 +1297,7 @@
if (buildCounterMetagameConfig < 3) {
unittest.expect(o.currentVersion, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed50(o.playerLevels);
+ checkUnnamed68(o.playerLevels);
}
buildCounterMetagameConfig--;
}
@@ -1534,14 +1534,14 @@
buildCounterPlayerAchievement--;
}
-buildUnnamed51() {
+buildUnnamed69() {
var o = new core.List<api.PlayerAchievement>();
o.add(buildPlayerAchievement());
o.add(buildPlayerAchievement());
return o;
}
-checkUnnamed51(core.List<api.PlayerAchievement> o) {
+checkUnnamed69(core.List<api.PlayerAchievement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerAchievement(o[0]);
checkPlayerAchievement(o[1]);
@@ -1552,7 +1552,7 @@
var o = new api.PlayerAchievementListResponse();
buildCounterPlayerAchievementListResponse++;
if (buildCounterPlayerAchievementListResponse < 3) {
- o.items = buildUnnamed51();
+ o.items = buildUnnamed69();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1563,7 +1563,7 @@
checkPlayerAchievementListResponse(api.PlayerAchievementListResponse o) {
buildCounterPlayerAchievementListResponse++;
if (buildCounterPlayerAchievementListResponse < 3) {
- checkUnnamed51(o.items);
+ checkUnnamed69(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1597,14 +1597,14 @@
buildCounterPlayerEvent--;
}
-buildUnnamed52() {
+buildUnnamed70() {
var o = new core.List<api.PlayerEvent>();
o.add(buildPlayerEvent());
o.add(buildPlayerEvent());
return o;
}
-checkUnnamed52(core.List<api.PlayerEvent> o) {
+checkUnnamed70(core.List<api.PlayerEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerEvent(o[0]);
checkPlayerEvent(o[1]);
@@ -1615,7 +1615,7 @@
var o = new api.PlayerEventListResponse();
buildCounterPlayerEventListResponse++;
if (buildCounterPlayerEventListResponse < 3) {
- o.items = buildUnnamed52();
+ o.items = buildUnnamed70();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1626,7 +1626,7 @@
checkPlayerEventListResponse(api.PlayerEventListResponse o) {
buildCounterPlayerEventListResponse++;
if (buildCounterPlayerEventListResponse < 3) {
- checkUnnamed52(o.items);
+ checkUnnamed70(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1695,14 +1695,14 @@
buildCounterPlayerLeaderboardScore--;
}
-buildUnnamed53() {
+buildUnnamed71() {
var o = new core.List<api.PlayerLeaderboardScore>();
o.add(buildPlayerLeaderboardScore());
o.add(buildPlayerLeaderboardScore());
return o;
}
-checkUnnamed53(core.List<api.PlayerLeaderboardScore> o) {
+checkUnnamed71(core.List<api.PlayerLeaderboardScore> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerLeaderboardScore(o[0]);
checkPlayerLeaderboardScore(o[1]);
@@ -1713,7 +1713,7 @@
var o = new api.PlayerLeaderboardScoreListResponse();
buildCounterPlayerLeaderboardScoreListResponse++;
if (buildCounterPlayerLeaderboardScoreListResponse < 3) {
- o.items = buildUnnamed53();
+ o.items = buildUnnamed71();
o.kind = "foo";
o.nextPageToken = "foo";
o.player = buildPlayer();
@@ -1725,7 +1725,7 @@
checkPlayerLeaderboardScoreListResponse(api.PlayerLeaderboardScoreListResponse o) {
buildCounterPlayerLeaderboardScoreListResponse++;
if (buildCounterPlayerLeaderboardScoreListResponse < 3) {
- checkUnnamed53(o.items);
+ checkUnnamed71(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPlayer(o.player);
@@ -1758,14 +1758,14 @@
buildCounterPlayerLevel--;
}
-buildUnnamed54() {
+buildUnnamed72() {
var o = new core.List<api.Player>();
o.add(buildPlayer());
o.add(buildPlayer());
return o;
}
-checkUnnamed54(core.List<api.Player> o) {
+checkUnnamed72(core.List<api.Player> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayer(o[0]);
checkPlayer(o[1]);
@@ -1776,7 +1776,7 @@
var o = new api.PlayerListResponse();
buildCounterPlayerListResponse++;
if (buildCounterPlayerListResponse < 3) {
- o.items = buildUnnamed54();
+ o.items = buildUnnamed72();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1787,7 +1787,7 @@
checkPlayerListResponse(api.PlayerListResponse o) {
buildCounterPlayerListResponse++;
if (buildCounterPlayerListResponse < 3) {
- checkUnnamed54(o.items);
+ checkUnnamed72(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1821,14 +1821,14 @@
buildCounterPlayerScore--;
}
-buildUnnamed55() {
+buildUnnamed73() {
var o = new core.List<api.PlayerScoreResponse>();
o.add(buildPlayerScoreResponse());
o.add(buildPlayerScoreResponse());
return o;
}
-checkUnnamed55(core.List<api.PlayerScoreResponse> o) {
+checkUnnamed73(core.List<api.PlayerScoreResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerScoreResponse(o[0]);
checkPlayerScoreResponse(o[1]);
@@ -1840,7 +1840,7 @@
buildCounterPlayerScoreListResponse++;
if (buildCounterPlayerScoreListResponse < 3) {
o.kind = "foo";
- o.submittedScores = buildUnnamed55();
+ o.submittedScores = buildUnnamed73();
}
buildCounterPlayerScoreListResponse--;
return o;
@@ -1850,32 +1850,32 @@
buildCounterPlayerScoreListResponse++;
if (buildCounterPlayerScoreListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed55(o.submittedScores);
+ checkUnnamed73(o.submittedScores);
}
buildCounterPlayerScoreListResponse--;
}
-buildUnnamed56() {
+buildUnnamed74() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed56(core.List<core.String> o) {
+checkUnnamed74(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed57() {
+buildUnnamed75() {
var o = new core.List<api.PlayerScore>();
o.add(buildPlayerScore());
o.add(buildPlayerScore());
return o;
}
-checkUnnamed57(core.List<api.PlayerScore> o) {
+checkUnnamed75(core.List<api.PlayerScore> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerScore(o[0]);
checkPlayerScore(o[1]);
@@ -1886,12 +1886,12 @@
var o = new api.PlayerScoreResponse();
buildCounterPlayerScoreResponse++;
if (buildCounterPlayerScoreResponse < 3) {
- o.beatenScoreTimeSpans = buildUnnamed56();
+ o.beatenScoreTimeSpans = buildUnnamed74();
o.formattedScore = "foo";
o.kind = "foo";
o.leaderboardId = "foo";
o.scoreTag = "foo";
- o.unbeatenScores = buildUnnamed57();
+ o.unbeatenScores = buildUnnamed75();
}
buildCounterPlayerScoreResponse--;
return o;
@@ -1900,24 +1900,24 @@
checkPlayerScoreResponse(api.PlayerScoreResponse o) {
buildCounterPlayerScoreResponse++;
if (buildCounterPlayerScoreResponse < 3) {
- checkUnnamed56(o.beatenScoreTimeSpans);
+ checkUnnamed74(o.beatenScoreTimeSpans);
unittest.expect(o.formattedScore, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.leaderboardId, unittest.equals('foo'));
unittest.expect(o.scoreTag, unittest.equals('foo'));
- checkUnnamed57(o.unbeatenScores);
+ checkUnnamed75(o.unbeatenScores);
}
buildCounterPlayerScoreResponse--;
}
-buildUnnamed58() {
+buildUnnamed76() {
var o = new core.List<api.ScoreSubmission>();
o.add(buildScoreSubmission());
o.add(buildScoreSubmission());
return o;
}
-checkUnnamed58(core.List<api.ScoreSubmission> o) {
+checkUnnamed76(core.List<api.ScoreSubmission> o) {
unittest.expect(o, unittest.hasLength(2));
checkScoreSubmission(o[0]);
checkScoreSubmission(o[1]);
@@ -1929,7 +1929,7 @@
buildCounterPlayerScoreSubmissionList++;
if (buildCounterPlayerScoreSubmissionList < 3) {
o.kind = "foo";
- o.scores = buildUnnamed58();
+ o.scores = buildUnnamed76();
}
buildCounterPlayerScoreSubmissionList--;
return o;
@@ -1939,7 +1939,7 @@
buildCounterPlayerScoreSubmissionList++;
if (buildCounterPlayerScoreSubmissionList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed58(o.scores);
+ checkUnnamed76(o.scores);
}
buildCounterPlayerScoreSubmissionList--;
}
@@ -2032,14 +2032,14 @@
buildCounterPushTokenId--;
}
-buildUnnamed59() {
+buildUnnamed77() {
var o = new core.List<api.QuestMilestone>();
o.add(buildQuestMilestone());
o.add(buildQuestMilestone());
return o;
}
-checkUnnamed59(core.List<api.QuestMilestone> o) {
+checkUnnamed77(core.List<api.QuestMilestone> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuestMilestone(o[0]);
checkQuestMilestone(o[1]);
@@ -2061,7 +2061,7 @@
o.isDefaultIconUrl = true;
o.kind = "foo";
o.lastUpdatedTimestampMillis = "foo";
- o.milestones = buildUnnamed59();
+ o.milestones = buildUnnamed77();
o.name = "foo";
o.notifyTimestampMillis = "foo";
o.startTimestampMillis = "foo";
@@ -2085,7 +2085,7 @@
unittest.expect(o.isDefaultIconUrl, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastUpdatedTimestampMillis, unittest.equals('foo'));
- checkUnnamed59(o.milestones);
+ checkUnnamed77(o.milestones);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notifyTimestampMillis, unittest.equals('foo'));
unittest.expect(o.startTimestampMillis, unittest.equals('foo'));
@@ -2144,14 +2144,14 @@
buildCounterQuestCriterion--;
}
-buildUnnamed60() {
+buildUnnamed78() {
var o = new core.List<api.Quest>();
o.add(buildQuest());
o.add(buildQuest());
return o;
}
-checkUnnamed60(core.List<api.Quest> o) {
+checkUnnamed78(core.List<api.Quest> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuest(o[0]);
checkQuest(o[1]);
@@ -2162,7 +2162,7 @@
var o = new api.QuestListResponse();
buildCounterQuestListResponse++;
if (buildCounterQuestListResponse < 3) {
- o.items = buildUnnamed60();
+ o.items = buildUnnamed78();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2173,21 +2173,21 @@
checkQuestListResponse(api.QuestListResponse o) {
buildCounterQuestListResponse++;
if (buildCounterQuestListResponse < 3) {
- checkUnnamed60(o.items);
+ checkUnnamed78(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterQuestListResponse--;
}
-buildUnnamed61() {
+buildUnnamed79() {
var o = new core.List<api.QuestCriterion>();
o.add(buildQuestCriterion());
o.add(buildQuestCriterion());
return o;
}
-checkUnnamed61(core.List<api.QuestCriterion> o) {
+checkUnnamed79(core.List<api.QuestCriterion> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuestCriterion(o[0]);
checkQuestCriterion(o[1]);
@@ -2199,7 +2199,7 @@
buildCounterQuestMilestone++;
if (buildCounterQuestMilestone < 3) {
o.completionRewardData = "foo";
- o.criteria = buildUnnamed61();
+ o.criteria = buildUnnamed79();
o.id = "foo";
o.kind = "foo";
o.state = "foo";
@@ -2212,7 +2212,7 @@
buildCounterQuestMilestone++;
if (buildCounterQuestMilestone < 3) {
unittest.expect(o.completionRewardData, unittest.equals('foo'));
- checkUnnamed61(o.criteria);
+ checkUnnamed79(o.criteria);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
@@ -2243,14 +2243,14 @@
buildCounterRevisionCheckResponse--;
}
-buildUnnamed62() {
+buildUnnamed80() {
var o = new core.List<api.RoomParticipant>();
o.add(buildRoomParticipant());
o.add(buildRoomParticipant());
return o;
}
-checkUnnamed62(core.List<api.RoomParticipant> o) {
+checkUnnamed80(core.List<api.RoomParticipant> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoomParticipant(o[0]);
checkRoomParticipant(o[1]);
@@ -2269,7 +2269,7 @@
o.inviterId = "foo";
o.kind = "foo";
o.lastUpdateDetails = buildRoomModification();
- o.participants = buildUnnamed62();
+ o.participants = buildUnnamed80();
o.roomId = "foo";
o.roomStatusVersion = 42;
o.status = "foo";
@@ -2290,7 +2290,7 @@
unittest.expect(o.inviterId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkRoomModification(o.lastUpdateDetails);
- checkUnnamed62(o.participants);
+ checkUnnamed80(o.participants);
unittest.expect(o.roomId, unittest.equals('foo'));
unittest.expect(o.roomStatusVersion, unittest.equals(42));
unittest.expect(o.status, unittest.equals('foo'));
@@ -2366,27 +2366,27 @@
buildCounterRoomClientAddress--;
}
-buildUnnamed63() {
+buildUnnamed81() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed63(core.List<core.String> o) {
+checkUnnamed81(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed64() {
+buildUnnamed82() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed64(core.List<core.String> o) {
+checkUnnamed82(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2398,9 +2398,9 @@
buildCounterRoomCreateRequest++;
if (buildCounterRoomCreateRequest < 3) {
o.autoMatchingCriteria = buildRoomAutoMatchingCriteria();
- o.capabilities = buildUnnamed63();
+ o.capabilities = buildUnnamed81();
o.clientAddress = buildRoomClientAddress();
- o.invitedPlayerIds = buildUnnamed64();
+ o.invitedPlayerIds = buildUnnamed82();
o.kind = "foo";
o.networkDiagnostics = buildNetworkDiagnostics();
o.requestId = "foo";
@@ -2414,9 +2414,9 @@
buildCounterRoomCreateRequest++;
if (buildCounterRoomCreateRequest < 3) {
checkRoomAutoMatchingCriteria(o.autoMatchingCriteria);
- checkUnnamed63(o.capabilities);
+ checkUnnamed81(o.capabilities);
checkRoomClientAddress(o.clientAddress);
- checkUnnamed64(o.invitedPlayerIds);
+ checkUnnamed82(o.invitedPlayerIds);
unittest.expect(o.kind, unittest.equals('foo'));
checkNetworkDiagnostics(o.networkDiagnostics);
unittest.expect(o.requestId, unittest.equals('foo'));
@@ -2425,14 +2425,14 @@
buildCounterRoomCreateRequest--;
}
-buildUnnamed65() {
+buildUnnamed83() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed65(core.List<core.String> o) {
+checkUnnamed83(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2443,7 +2443,7 @@
var o = new api.RoomJoinRequest();
buildCounterRoomJoinRequest++;
if (buildCounterRoomJoinRequest < 3) {
- o.capabilities = buildUnnamed65();
+ o.capabilities = buildUnnamed83();
o.clientAddress = buildRoomClientAddress();
o.kind = "foo";
o.networkDiagnostics = buildNetworkDiagnostics();
@@ -2455,7 +2455,7 @@
checkRoomJoinRequest(api.RoomJoinRequest o) {
buildCounterRoomJoinRequest++;
if (buildCounterRoomJoinRequest < 3) {
- checkUnnamed65(o.capabilities);
+ checkUnnamed83(o.capabilities);
checkRoomClientAddress(o.clientAddress);
unittest.expect(o.kind, unittest.equals('foo'));
checkNetworkDiagnostics(o.networkDiagnostics);
@@ -2463,14 +2463,14 @@
buildCounterRoomJoinRequest--;
}
-buildUnnamed66() {
+buildUnnamed84() {
var o = new core.List<api.PeerSessionDiagnostics>();
o.add(buildPeerSessionDiagnostics());
o.add(buildPeerSessionDiagnostics());
return o;
}
-checkUnnamed66(core.List<api.PeerSessionDiagnostics> o) {
+checkUnnamed84(core.List<api.PeerSessionDiagnostics> o) {
unittest.expect(o, unittest.hasLength(2));
checkPeerSessionDiagnostics(o[0]);
checkPeerSessionDiagnostics(o[1]);
@@ -2487,7 +2487,7 @@
o.kind = "foo";
o.networkOperatorCode = "foo";
o.networkOperatorName = "foo";
- o.peerSession = buildUnnamed66();
+ o.peerSession = buildUnnamed84();
o.socketsUsed = true;
}
buildCounterRoomLeaveDiagnostics--;
@@ -2503,7 +2503,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.networkOperatorCode, unittest.equals('foo'));
unittest.expect(o.networkOperatorName, unittest.equals('foo'));
- checkUnnamed66(o.peerSession);
+ checkUnnamed84(o.peerSession);
unittest.expect(o.socketsUsed, unittest.isTrue);
}
buildCounterRoomLeaveDiagnostics--;
@@ -2532,14 +2532,14 @@
buildCounterRoomLeaveRequest--;
}
-buildUnnamed67() {
+buildUnnamed85() {
var o = new core.List<api.Room>();
o.add(buildRoom());
o.add(buildRoom());
return o;
}
-checkUnnamed67(core.List<api.Room> o) {
+checkUnnamed85(core.List<api.Room> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoom(o[0]);
checkRoom(o[1]);
@@ -2550,7 +2550,7 @@
var o = new api.RoomList();
buildCounterRoomList++;
if (buildCounterRoomList < 3) {
- o.items = buildUnnamed67();
+ o.items = buildUnnamed85();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2561,7 +2561,7 @@
checkRoomList(api.RoomList o) {
buildCounterRoomList++;
if (buildCounterRoomList < 3) {
- checkUnnamed67(o.items);
+ checkUnnamed85(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2622,14 +2622,14 @@
buildCounterRoomP2PStatus--;
}
-buildUnnamed68() {
+buildUnnamed86() {
var o = new core.List<api.RoomP2PStatus>();
o.add(buildRoomP2PStatus());
o.add(buildRoomP2PStatus());
return o;
}
-checkUnnamed68(core.List<api.RoomP2PStatus> o) {
+checkUnnamed86(core.List<api.RoomP2PStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoomP2PStatus(o[0]);
checkRoomP2PStatus(o[1]);
@@ -2641,7 +2641,7 @@
buildCounterRoomP2PStatuses++;
if (buildCounterRoomP2PStatuses < 3) {
o.kind = "foo";
- o.updates = buildUnnamed68();
+ o.updates = buildUnnamed86();
}
buildCounterRoomP2PStatuses--;
return o;
@@ -2651,19 +2651,19 @@
buildCounterRoomP2PStatuses++;
if (buildCounterRoomP2PStatuses < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed68(o.updates);
+ checkUnnamed86(o.updates);
}
buildCounterRoomP2PStatuses--;
}
-buildUnnamed69() {
+buildUnnamed87() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed69(core.List<core.String> o) {
+checkUnnamed87(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2676,7 +2676,7 @@
if (buildCounterRoomParticipant < 3) {
o.autoMatched = true;
o.autoMatchedPlayer = buildAnonymousPlayer();
- o.capabilities = buildUnnamed69();
+ o.capabilities = buildUnnamed87();
o.clientAddress = buildRoomClientAddress();
o.connected = true;
o.id = "foo";
@@ -2694,7 +2694,7 @@
if (buildCounterRoomParticipant < 3) {
unittest.expect(o.autoMatched, unittest.isTrue);
checkAnonymousPlayer(o.autoMatchedPlayer);
- checkUnnamed69(o.capabilities);
+ checkUnnamed87(o.capabilities);
checkRoomClientAddress(o.clientAddress);
unittest.expect(o.connected, unittest.isTrue);
unittest.expect(o.id, unittest.equals('foo'));
@@ -2706,14 +2706,14 @@
buildCounterRoomParticipant--;
}
-buildUnnamed70() {
+buildUnnamed88() {
var o = new core.List<api.RoomParticipant>();
o.add(buildRoomParticipant());
o.add(buildRoomParticipant());
return o;
}
-checkUnnamed70(core.List<api.RoomParticipant> o) {
+checkUnnamed88(core.List<api.RoomParticipant> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoomParticipant(o[0]);
checkRoomParticipant(o[1]);
@@ -2726,7 +2726,7 @@
if (buildCounterRoomStatus < 3) {
o.autoMatchingStatus = buildRoomAutoMatchStatus();
o.kind = "foo";
- o.participants = buildUnnamed70();
+ o.participants = buildUnnamed88();
o.roomId = "foo";
o.status = "foo";
o.statusVersion = 42;
@@ -2740,7 +2740,7 @@
if (buildCounterRoomStatus < 3) {
checkRoomAutoMatchStatus(o.autoMatchingStatus);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed70(o.participants);
+ checkUnnamed88(o.participants);
unittest.expect(o.roomId, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.statusVersion, unittest.equals(42));
@@ -2841,14 +2841,14 @@
buildCounterSnapshotImage--;
}
-buildUnnamed71() {
+buildUnnamed89() {
var o = new core.List<api.Snapshot>();
o.add(buildSnapshot());
o.add(buildSnapshot());
return o;
}
-checkUnnamed71(core.List<api.Snapshot> o) {
+checkUnnamed89(core.List<api.Snapshot> o) {
unittest.expect(o, unittest.hasLength(2));
checkSnapshot(o[0]);
checkSnapshot(o[1]);
@@ -2859,7 +2859,7 @@
var o = new api.SnapshotListResponse();
buildCounterSnapshotListResponse++;
if (buildCounterSnapshotListResponse < 3) {
- o.items = buildUnnamed71();
+ o.items = buildUnnamed89();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2870,7 +2870,7 @@
checkSnapshotListResponse(api.SnapshotListResponse o) {
buildCounterSnapshotListResponse++;
if (buildCounterSnapshotListResponse < 3) {
- checkUnnamed71(o.items);
+ checkUnnamed89(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2902,27 +2902,27 @@
buildCounterTurnBasedAutoMatchingCriteria--;
}
-buildUnnamed72() {
+buildUnnamed90() {
var o = new core.List<api.TurnBasedMatchParticipant>();
o.add(buildTurnBasedMatchParticipant());
o.add(buildTurnBasedMatchParticipant());
return o;
}
-checkUnnamed72(core.List<api.TurnBasedMatchParticipant> o) {
+checkUnnamed90(core.List<api.TurnBasedMatchParticipant> o) {
unittest.expect(o, unittest.hasLength(2));
checkTurnBasedMatchParticipant(o[0]);
checkTurnBasedMatchParticipant(o[1]);
}
-buildUnnamed73() {
+buildUnnamed91() {
var o = new core.List<api.ParticipantResult>();
o.add(buildParticipantResult());
o.add(buildParticipantResult());
return o;
}
-checkUnnamed73(core.List<api.ParticipantResult> o) {
+checkUnnamed91(core.List<api.ParticipantResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkParticipantResult(o[0]);
checkParticipantResult(o[1]);
@@ -2944,11 +2944,11 @@
o.matchId = "foo";
o.matchNumber = 42;
o.matchVersion = 42;
- o.participants = buildUnnamed72();
+ o.participants = buildUnnamed90();
o.pendingParticipantId = "foo";
o.previousMatchData = buildTurnBasedMatchData();
o.rematchId = "foo";
- o.results = buildUnnamed73();
+ o.results = buildUnnamed91();
o.status = "foo";
o.userMatchStatus = "foo";
o.variant = 42;
@@ -2972,11 +2972,11 @@
unittest.expect(o.matchId, unittest.equals('foo'));
unittest.expect(o.matchNumber, unittest.equals(42));
unittest.expect(o.matchVersion, unittest.equals(42));
- checkUnnamed72(o.participants);
+ checkUnnamed90(o.participants);
unittest.expect(o.pendingParticipantId, unittest.equals('foo'));
checkTurnBasedMatchData(o.previousMatchData);
unittest.expect(o.rematchId, unittest.equals('foo'));
- checkUnnamed73(o.results);
+ checkUnnamed91(o.results);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.userMatchStatus, unittest.equals('foo'));
unittest.expect(o.variant, unittest.equals(42));
@@ -2985,14 +2985,14 @@
buildCounterTurnBasedMatch--;
}
-buildUnnamed74() {
+buildUnnamed92() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed74(core.List<core.String> o) {
+checkUnnamed92(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3004,7 +3004,7 @@
buildCounterTurnBasedMatchCreateRequest++;
if (buildCounterTurnBasedMatchCreateRequest < 3) {
o.autoMatchingCriteria = buildTurnBasedAutoMatchingCriteria();
- o.invitedPlayerIds = buildUnnamed74();
+ o.invitedPlayerIds = buildUnnamed92();
o.kind = "foo";
o.requestId = "foo";
o.variant = 42;
@@ -3017,7 +3017,7 @@
buildCounterTurnBasedMatchCreateRequest++;
if (buildCounterTurnBasedMatchCreateRequest < 3) {
checkTurnBasedAutoMatchingCriteria(o.autoMatchingCriteria);
- checkUnnamed74(o.invitedPlayerIds);
+ checkUnnamed92(o.invitedPlayerIds);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.requestId, unittest.equals('foo'));
unittest.expect(o.variant, unittest.equals(42));
@@ -3069,14 +3069,14 @@
buildCounterTurnBasedMatchDataRequest--;
}
-buildUnnamed75() {
+buildUnnamed93() {
var o = new core.List<api.TurnBasedMatch>();
o.add(buildTurnBasedMatch());
o.add(buildTurnBasedMatch());
return o;
}
-checkUnnamed75(core.List<api.TurnBasedMatch> o) {
+checkUnnamed93(core.List<api.TurnBasedMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkTurnBasedMatch(o[0]);
checkTurnBasedMatch(o[1]);
@@ -3087,7 +3087,7 @@
var o = new api.TurnBasedMatchList();
buildCounterTurnBasedMatchList++;
if (buildCounterTurnBasedMatchList < 3) {
- o.items = buildUnnamed75();
+ o.items = buildUnnamed93();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3098,7 +3098,7 @@
checkTurnBasedMatchList(api.TurnBasedMatchList o) {
buildCounterTurnBasedMatchList++;
if (buildCounterTurnBasedMatchList < 3) {
- checkUnnamed75(o.items);
+ checkUnnamed93(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3180,14 +3180,14 @@
buildCounterTurnBasedMatchRematch--;
}
-buildUnnamed76() {
+buildUnnamed94() {
var o = new core.List<api.ParticipantResult>();
o.add(buildParticipantResult());
o.add(buildParticipantResult());
return o;
}
-checkUnnamed76(core.List<api.ParticipantResult> o) {
+checkUnnamed94(core.List<api.ParticipantResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkParticipantResult(o[0]);
checkParticipantResult(o[1]);
@@ -3201,7 +3201,7 @@
o.data = buildTurnBasedMatchDataRequest();
o.kind = "foo";
o.matchVersion = 42;
- o.results = buildUnnamed76();
+ o.results = buildUnnamed94();
}
buildCounterTurnBasedMatchResults--;
return o;
@@ -3213,19 +3213,19 @@
checkTurnBasedMatchDataRequest(o.data);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.matchVersion, unittest.equals(42));
- checkUnnamed76(o.results);
+ checkUnnamed94(o.results);
}
buildCounterTurnBasedMatchResults--;
}
-buildUnnamed77() {
+buildUnnamed95() {
var o = new core.List<api.TurnBasedMatch>();
o.add(buildTurnBasedMatch());
o.add(buildTurnBasedMatch());
return o;
}
-checkUnnamed77(core.List<api.TurnBasedMatch> o) {
+checkUnnamed95(core.List<api.TurnBasedMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkTurnBasedMatch(o[0]);
checkTurnBasedMatch(o[1]);
@@ -3236,7 +3236,7 @@
var o = new api.TurnBasedMatchSync();
buildCounterTurnBasedMatchSync++;
if (buildCounterTurnBasedMatchSync < 3) {
- o.items = buildUnnamed77();
+ o.items = buildUnnamed95();
o.kind = "foo";
o.moreAvailable = true;
o.nextPageToken = "foo";
@@ -3248,7 +3248,7 @@
checkTurnBasedMatchSync(api.TurnBasedMatchSync o) {
buildCounterTurnBasedMatchSync++;
if (buildCounterTurnBasedMatchSync < 3) {
- checkUnnamed77(o.items);
+ checkUnnamed95(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.moreAvailable, unittest.isTrue);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -3256,14 +3256,14 @@
buildCounterTurnBasedMatchSync--;
}
-buildUnnamed78() {
+buildUnnamed96() {
var o = new core.List<api.ParticipantResult>();
o.add(buildParticipantResult());
o.add(buildParticipantResult());
return o;
}
-checkUnnamed78(core.List<api.ParticipantResult> o) {
+checkUnnamed96(core.List<api.ParticipantResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkParticipantResult(o[0]);
checkParticipantResult(o[1]);
@@ -3278,7 +3278,7 @@
o.kind = "foo";
o.matchVersion = 42;
o.pendingParticipantId = "foo";
- o.results = buildUnnamed78();
+ o.results = buildUnnamed96();
}
buildCounterTurnBasedMatchTurn--;
return o;
@@ -3291,7 +3291,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.matchVersion, unittest.equals(42));
unittest.expect(o.pendingParticipantId, unittest.equals('foo'));
- checkUnnamed78(o.results);
+ checkUnnamed96(o.results);
}
buildCounterTurnBasedMatchTurn--;
}
diff --git a/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart b/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
index 3f90478..d9f3296 100644
--- a/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
+++ b/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
@@ -113,14 +113,14 @@
buildCounterAchievementConfigurationDetail--;
}
-buildUnnamed661() {
+buildUnnamed682() {
var o = new core.List<api.AchievementConfiguration>();
o.add(buildAchievementConfiguration());
o.add(buildAchievementConfiguration());
return o;
}
-checkUnnamed661(core.List<api.AchievementConfiguration> o) {
+checkUnnamed682(core.List<api.AchievementConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementConfiguration(o[0]);
checkAchievementConfiguration(o[1]);
@@ -131,7 +131,7 @@
var o = new api.AchievementConfigurationListResponse();
buildCounterAchievementConfigurationListResponse++;
if (buildCounterAchievementConfigurationListResponse < 3) {
- o.items = buildUnnamed661();
+ o.items = buildUnnamed682();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -142,7 +142,7 @@
checkAchievementConfigurationListResponse(api.AchievementConfigurationListResponse o) {
buildCounterAchievementConfigurationListResponse++;
if (buildCounterAchievementConfigurationListResponse < 3) {
- checkUnnamed661(o.items);
+ checkUnnamed682(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -288,14 +288,14 @@
buildCounterLeaderboardConfigurationDetail--;
}
-buildUnnamed662() {
+buildUnnamed683() {
var o = new core.List<api.LeaderboardConfiguration>();
o.add(buildLeaderboardConfiguration());
o.add(buildLeaderboardConfiguration());
return o;
}
-checkUnnamed662(core.List<api.LeaderboardConfiguration> o) {
+checkUnnamed683(core.List<api.LeaderboardConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkLeaderboardConfiguration(o[0]);
checkLeaderboardConfiguration(o[1]);
@@ -306,7 +306,7 @@
var o = new api.LeaderboardConfigurationListResponse();
buildCounterLeaderboardConfigurationListResponse++;
if (buildCounterLeaderboardConfigurationListResponse < 3) {
- o.items = buildUnnamed662();
+ o.items = buildUnnamed683();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -317,7 +317,7 @@
checkLeaderboardConfigurationListResponse(api.LeaderboardConfigurationListResponse o) {
buildCounterLeaderboardConfigurationListResponse++;
if (buildCounterLeaderboardConfigurationListResponse < 3) {
- checkUnnamed662(o.items);
+ checkUnnamed683(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -347,14 +347,14 @@
buildCounterLocalizedString--;
}
-buildUnnamed663() {
+buildUnnamed684() {
var o = new core.List<api.LocalizedString>();
o.add(buildLocalizedString());
o.add(buildLocalizedString());
return o;
}
-checkUnnamed663(core.List<api.LocalizedString> o) {
+checkUnnamed684(core.List<api.LocalizedString> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedString(o[0]);
checkLocalizedString(o[1]);
@@ -366,7 +366,7 @@
buildCounterLocalizedStringBundle++;
if (buildCounterLocalizedStringBundle < 3) {
o.kind = "foo";
- o.translations = buildUnnamed663();
+ o.translations = buildUnnamed684();
}
buildCounterLocalizedStringBundle--;
return o;
@@ -376,7 +376,7 @@
buildCounterLocalizedStringBundle++;
if (buildCounterLocalizedStringBundle < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed663(o.translations);
+ checkUnnamed684(o.translations);
}
buildCounterLocalizedStringBundle--;
}
diff --git a/generated/googleapis/test/gamesmanagement/v1management_test.dart b/generated/googleapis/test/gamesmanagement/v1management_test.dart
index a0053e0..f1d74f1 100644
--- a/generated/googleapis/test/gamesmanagement/v1management_test.dart
+++ b/generated/googleapis/test/gamesmanagement/v1management_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed653() {
+buildUnnamed674() {
var o = new core.List<api.AchievementResetResponse>();
o.add(buildAchievementResetResponse());
o.add(buildAchievementResetResponse());
return o;
}
-checkUnnamed653(core.List<api.AchievementResetResponse> o) {
+checkUnnamed674(core.List<api.AchievementResetResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementResetResponse(o[0]);
checkAchievementResetResponse(o[1]);
@@ -70,7 +70,7 @@
buildCounterAchievementResetAllResponse++;
if (buildCounterAchievementResetAllResponse < 3) {
o.kind = "foo";
- o.results = buildUnnamed653();
+ o.results = buildUnnamed674();
}
buildCounterAchievementResetAllResponse--;
return o;
@@ -80,19 +80,19 @@
buildCounterAchievementResetAllResponse++;
if (buildCounterAchievementResetAllResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed653(o.results);
+ checkUnnamed674(o.results);
}
buildCounterAchievementResetAllResponse--;
}
-buildUnnamed654() {
+buildUnnamed675() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed654(core.List<core.String> o) {
+checkUnnamed675(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -103,7 +103,7 @@
var o = new api.AchievementResetMultipleForAllRequest();
buildCounterAchievementResetMultipleForAllRequest++;
if (buildCounterAchievementResetMultipleForAllRequest < 3) {
- o.achievementIds = buildUnnamed654();
+ o.achievementIds = buildUnnamed675();
o.kind = "foo";
}
buildCounterAchievementResetMultipleForAllRequest--;
@@ -113,7 +113,7 @@
checkAchievementResetMultipleForAllRequest(api.AchievementResetMultipleForAllRequest o) {
buildCounterAchievementResetMultipleForAllRequest++;
if (buildCounterAchievementResetMultipleForAllRequest < 3) {
- checkUnnamed654(o.achievementIds);
+ checkUnnamed675(o.achievementIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAchievementResetMultipleForAllRequest--;
@@ -144,14 +144,14 @@
buildCounterAchievementResetResponse--;
}
-buildUnnamed655() {
+buildUnnamed676() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed655(core.List<core.String> o) {
+checkUnnamed676(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -162,7 +162,7 @@
var o = new api.EventsResetMultipleForAllRequest();
buildCounterEventsResetMultipleForAllRequest++;
if (buildCounterEventsResetMultipleForAllRequest < 3) {
- o.eventIds = buildUnnamed655();
+ o.eventIds = buildUnnamed676();
o.kind = "foo";
}
buildCounterEventsResetMultipleForAllRequest--;
@@ -172,7 +172,7 @@
checkEventsResetMultipleForAllRequest(api.EventsResetMultipleForAllRequest o) {
buildCounterEventsResetMultipleForAllRequest++;
if (buildCounterEventsResetMultipleForAllRequest < 3) {
- checkUnnamed655(o.eventIds);
+ checkUnnamed676(o.eventIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEventsResetMultipleForAllRequest--;
@@ -270,14 +270,14 @@
buildCounterHiddenPlayer--;
}
-buildUnnamed656() {
+buildUnnamed677() {
var o = new core.List<api.HiddenPlayer>();
o.add(buildHiddenPlayer());
o.add(buildHiddenPlayer());
return o;
}
-checkUnnamed656(core.List<api.HiddenPlayer> o) {
+checkUnnamed677(core.List<api.HiddenPlayer> o) {
unittest.expect(o, unittest.hasLength(2));
checkHiddenPlayer(o[0]);
checkHiddenPlayer(o[1]);
@@ -288,7 +288,7 @@
var o = new api.HiddenPlayerList();
buildCounterHiddenPlayerList++;
if (buildCounterHiddenPlayerList < 3) {
- o.items = buildUnnamed656();
+ o.items = buildUnnamed677();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -299,7 +299,7 @@
checkHiddenPlayerList(api.HiddenPlayerList o) {
buildCounterHiddenPlayerList++;
if (buildCounterHiddenPlayerList < 3) {
- checkUnnamed656(o.items);
+ checkUnnamed677(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -368,14 +368,14 @@
buildCounterPlayer--;
}
-buildUnnamed657() {
+buildUnnamed678() {
var o = new core.List<api.PlayerScoreResetResponse>();
o.add(buildPlayerScoreResetResponse());
o.add(buildPlayerScoreResetResponse());
return o;
}
-checkUnnamed657(core.List<api.PlayerScoreResetResponse> o) {
+checkUnnamed678(core.List<api.PlayerScoreResetResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerScoreResetResponse(o[0]);
checkPlayerScoreResetResponse(o[1]);
@@ -387,7 +387,7 @@
buildCounterPlayerScoreResetAllResponse++;
if (buildCounterPlayerScoreResetAllResponse < 3) {
o.kind = "foo";
- o.results = buildUnnamed657();
+ o.results = buildUnnamed678();
}
buildCounterPlayerScoreResetAllResponse--;
return o;
@@ -397,19 +397,19 @@
buildCounterPlayerScoreResetAllResponse++;
if (buildCounterPlayerScoreResetAllResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed657(o.results);
+ checkUnnamed678(o.results);
}
buildCounterPlayerScoreResetAllResponse--;
}
-buildUnnamed658() {
+buildUnnamed679() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed658(core.List<core.String> o) {
+checkUnnamed679(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -422,7 +422,7 @@
if (buildCounterPlayerScoreResetResponse < 3) {
o.definitionId = "foo";
o.kind = "foo";
- o.resetScoreTimeSpans = buildUnnamed658();
+ o.resetScoreTimeSpans = buildUnnamed679();
}
buildCounterPlayerScoreResetResponse--;
return o;
@@ -433,7 +433,7 @@
if (buildCounterPlayerScoreResetResponse < 3) {
unittest.expect(o.definitionId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed658(o.resetScoreTimeSpans);
+ checkUnnamed679(o.resetScoreTimeSpans);
}
buildCounterPlayerScoreResetResponse--;
}
@@ -459,14 +459,14 @@
buildCounterProfileSettings--;
}
-buildUnnamed659() {
+buildUnnamed680() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed659(core.List<core.String> o) {
+checkUnnamed680(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -478,7 +478,7 @@
buildCounterQuestsResetMultipleForAllRequest++;
if (buildCounterQuestsResetMultipleForAllRequest < 3) {
o.kind = "foo";
- o.questIds = buildUnnamed659();
+ o.questIds = buildUnnamed680();
}
buildCounterQuestsResetMultipleForAllRequest--;
return o;
@@ -488,19 +488,19 @@
buildCounterQuestsResetMultipleForAllRequest++;
if (buildCounterQuestsResetMultipleForAllRequest < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed659(o.questIds);
+ checkUnnamed680(o.questIds);
}
buildCounterQuestsResetMultipleForAllRequest--;
}
-buildUnnamed660() {
+buildUnnamed681() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed660(core.List<core.String> o) {
+checkUnnamed681(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -512,7 +512,7 @@
buildCounterScoresResetMultipleForAllRequest++;
if (buildCounterScoresResetMultipleForAllRequest < 3) {
o.kind = "foo";
- o.leaderboardIds = buildUnnamed660();
+ o.leaderboardIds = buildUnnamed681();
}
buildCounterScoresResetMultipleForAllRequest--;
return o;
@@ -522,7 +522,7 @@
buildCounterScoresResetMultipleForAllRequest++;
if (buildCounterScoresResetMultipleForAllRequest < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed660(o.leaderboardIds);
+ checkUnnamed681(o.leaderboardIds);
}
buildCounterScoresResetMultipleForAllRequest--;
}
diff --git a/generated/googleapis/test/genomics/v1_test.dart b/generated/googleapis/test/genomics/v1_test.dart
index 7891771..14bae45 100644
--- a/generated/googleapis/test/genomics/v1_test.dart
+++ b/generated/googleapis/test/genomics/v1_test.dart
@@ -51,30 +51,30 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2730() {
+buildUnnamed2835() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2730(core.List<core.Object> o) {
+checkUnnamed2835(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) 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[1]) 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'));
}
-buildUnnamed2731() {
+buildUnnamed2836() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2730();
- o["y"] = buildUnnamed2730();
+ o["x"] = buildUnnamed2835();
+ o["y"] = buildUnnamed2835();
return o;
}
-checkUnnamed2731(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2836(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2730(o["x"]);
- checkUnnamed2730(o["y"]);
+ checkUnnamed2835(o["x"]);
+ checkUnnamed2835(o["y"]);
}
core.int buildCounterAnnotation = 0;
@@ -85,7 +85,7 @@
o.annotationSetId = "foo";
o.end = "foo";
o.id = "foo";
- o.info = buildUnnamed2731();
+ o.info = buildUnnamed2836();
o.name = "foo";
o.referenceId = "foo";
o.referenceName = "foo";
@@ -105,7 +105,7 @@
unittest.expect(o.annotationSetId, unittest.equals('foo'));
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2731(o.info);
+ checkUnnamed2836(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.referenceId, unittest.equals('foo'));
unittest.expect(o.referenceName, unittest.equals('foo'));
@@ -118,30 +118,30 @@
buildCounterAnnotation--;
}
-buildUnnamed2732() {
+buildUnnamed2837() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2732(core.List<core.Object> o) {
+checkUnnamed2837(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) 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[1]) 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'));
}
-buildUnnamed2733() {
+buildUnnamed2838() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2732();
- o["y"] = buildUnnamed2732();
+ o["x"] = buildUnnamed2837();
+ o["y"] = buildUnnamed2837();
return o;
}
-checkUnnamed2733(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2838(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2732(o["x"]);
- checkUnnamed2732(o["y"]);
+ checkUnnamed2837(o["x"]);
+ checkUnnamed2837(o["y"]);
}
core.int buildCounterAnnotationSet = 0;
@@ -151,7 +151,7 @@
if (buildCounterAnnotationSet < 3) {
o.datasetId = "foo";
o.id = "foo";
- o.info = buildUnnamed2733();
+ o.info = buildUnnamed2838();
o.name = "foo";
o.referenceSetId = "foo";
o.sourceUri = "foo";
@@ -166,7 +166,7 @@
if (buildCounterAnnotationSet < 3) {
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2733(o.info);
+ checkUnnamed2838(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
unittest.expect(o.sourceUri, unittest.equals('foo'));
@@ -175,14 +175,14 @@
buildCounterAnnotationSet--;
}
-buildUnnamed2734() {
+buildUnnamed2839() {
var o = new core.List<api.Annotation>();
o.add(buildAnnotation());
o.add(buildAnnotation());
return o;
}
-checkUnnamed2734(core.List<api.Annotation> o) {
+checkUnnamed2839(core.List<api.Annotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotation(o[0]);
checkAnnotation(o[1]);
@@ -193,7 +193,7 @@
var o = new api.BatchCreateAnnotationsRequest();
buildCounterBatchCreateAnnotationsRequest++;
if (buildCounterBatchCreateAnnotationsRequest < 3) {
- o.annotations = buildUnnamed2734();
+ o.annotations = buildUnnamed2839();
o.requestId = "foo";
}
buildCounterBatchCreateAnnotationsRequest--;
@@ -203,20 +203,20 @@
checkBatchCreateAnnotationsRequest(api.BatchCreateAnnotationsRequest o) {
buildCounterBatchCreateAnnotationsRequest++;
if (buildCounterBatchCreateAnnotationsRequest < 3) {
- checkUnnamed2734(o.annotations);
+ checkUnnamed2839(o.annotations);
unittest.expect(o.requestId, unittest.equals('foo'));
}
buildCounterBatchCreateAnnotationsRequest--;
}
-buildUnnamed2735() {
+buildUnnamed2840() {
var o = new core.List<api.Entry>();
o.add(buildEntry());
o.add(buildEntry());
return o;
}
-checkUnnamed2735(core.List<api.Entry> o) {
+checkUnnamed2840(core.List<api.Entry> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntry(o[0]);
checkEntry(o[1]);
@@ -227,7 +227,7 @@
var o = new api.BatchCreateAnnotationsResponse();
buildCounterBatchCreateAnnotationsResponse++;
if (buildCounterBatchCreateAnnotationsResponse < 3) {
- o.entries = buildUnnamed2735();
+ o.entries = buildUnnamed2840();
}
buildCounterBatchCreateAnnotationsResponse--;
return o;
@@ -236,19 +236,19 @@
checkBatchCreateAnnotationsResponse(api.BatchCreateAnnotationsResponse o) {
buildCounterBatchCreateAnnotationsResponse++;
if (buildCounterBatchCreateAnnotationsResponse < 3) {
- checkUnnamed2735(o.entries);
+ checkUnnamed2840(o.entries);
}
buildCounterBatchCreateAnnotationsResponse--;
}
-buildUnnamed2736() {
+buildUnnamed2841() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2736(core.List<core.String> o) {
+checkUnnamed2841(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -259,7 +259,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed2736();
+ o.members = buildUnnamed2841();
o.role = "foo";
}
buildCounterBinding--;
@@ -269,46 +269,46 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed2736(o.members);
+ checkUnnamed2841(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed2737() {
+buildUnnamed2842() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2737(core.List<core.Object> o) {
+checkUnnamed2842(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) 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[1]) 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'));
}
-buildUnnamed2738() {
+buildUnnamed2843() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2737();
- o["y"] = buildUnnamed2737();
+ o["x"] = buildUnnamed2842();
+ o["y"] = buildUnnamed2842();
return o;
}
-checkUnnamed2738(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2843(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2737(o["x"]);
- checkUnnamed2737(o["y"]);
+ checkUnnamed2842(o["x"]);
+ checkUnnamed2842(o["y"]);
}
-buildUnnamed2739() {
+buildUnnamed2844() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2739(core.List<core.String> o) {
+checkUnnamed2844(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -321,10 +321,10 @@
if (buildCounterCallSet < 3) {
o.created = "foo";
o.id = "foo";
- o.info = buildUnnamed2738();
+ o.info = buildUnnamed2843();
o.name = "foo";
o.sampleId = "foo";
- o.variantSetIds = buildUnnamed2739();
+ o.variantSetIds = buildUnnamed2844();
}
buildCounterCallSet--;
return o;
@@ -335,10 +335,10 @@
if (buildCounterCallSet < 3) {
unittest.expect(o.created, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2738(o.info);
+ checkUnnamed2843(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.sampleId, unittest.equals('foo'));
- checkUnnamed2739(o.variantSetIds);
+ checkUnnamed2844(o.variantSetIds);
}
buildCounterCallSet--;
}
@@ -383,27 +383,27 @@
buildCounterCigarUnit--;
}
-buildUnnamed2740() {
+buildUnnamed2845() {
var o = new core.List<api.ExternalId>();
o.add(buildExternalId());
o.add(buildExternalId());
return o;
}
-checkUnnamed2740(core.List<api.ExternalId> o) {
+checkUnnamed2845(core.List<api.ExternalId> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternalId(o[0]);
checkExternalId(o[1]);
}
-buildUnnamed2741() {
+buildUnnamed2846() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2741(core.List<core.String> o) {
+checkUnnamed2846(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -415,8 +415,8 @@
buildCounterClinicalCondition++;
if (buildCounterClinicalCondition < 3) {
o.conceptId = "foo";
- o.externalIds = buildUnnamed2740();
- o.names = buildUnnamed2741();
+ o.externalIds = buildUnnamed2845();
+ o.names = buildUnnamed2846();
o.omimId = "foo";
}
buildCounterClinicalCondition--;
@@ -427,8 +427,8 @@
buildCounterClinicalCondition++;
if (buildCounterClinicalCondition < 3) {
unittest.expect(o.conceptId, unittest.equals('foo'));
- checkUnnamed2740(o.externalIds);
- checkUnnamed2741(o.names);
+ checkUnnamed2845(o.externalIds);
+ checkUnnamed2846(o.names);
unittest.expect(o.omimId, unittest.equals('foo'));
}
buildCounterClinicalCondition--;
@@ -455,14 +455,14 @@
buildCounterCodingSequence--;
}
-buildUnnamed2742() {
+buildUnnamed2847() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2742(core.List<core.String> o) {
+checkUnnamed2847(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -473,7 +473,7 @@
var o = new api.ComputeEngine();
buildCounterComputeEngine++;
if (buildCounterComputeEngine < 3) {
- o.diskNames = buildUnnamed2742();
+ o.diskNames = buildUnnamed2847();
o.instanceName = "foo";
o.machineType = "foo";
o.zone = "foo";
@@ -485,7 +485,7 @@
checkComputeEngine(api.ComputeEngine o) {
buildCounterComputeEngine++;
if (buildCounterComputeEngine < 3) {
- checkUnnamed2742(o.diskNames);
+ checkUnnamed2847(o.diskNames);
unittest.expect(o.instanceName, unittest.equals('foo'));
unittest.expect(o.machineType, unittest.equals('foo'));
unittest.expect(o.zone, unittest.equals('foo'));
@@ -625,14 +625,14 @@
buildCounterExperiment--;
}
-buildUnnamed2743() {
+buildUnnamed2848() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2743(core.List<core.String> o) {
+checkUnnamed2848(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -645,7 +645,7 @@
if (buildCounterExportReadGroupSetRequest < 3) {
o.exportUri = "foo";
o.projectId = "foo";
- o.referenceNames = buildUnnamed2743();
+ o.referenceNames = buildUnnamed2848();
}
buildCounterExportReadGroupSetRequest--;
return o;
@@ -656,19 +656,19 @@
if (buildCounterExportReadGroupSetRequest < 3) {
unittest.expect(o.exportUri, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed2743(o.referenceNames);
+ checkUnnamed2848(o.referenceNames);
}
buildCounterExportReadGroupSetRequest--;
}
-buildUnnamed2744() {
+buildUnnamed2849() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2744(core.List<core.String> o) {
+checkUnnamed2849(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -681,7 +681,7 @@
if (buildCounterExportVariantSetRequest < 3) {
o.bigqueryDataset = "foo";
o.bigqueryTable = "foo";
- o.callSetIds = buildUnnamed2744();
+ o.callSetIds = buildUnnamed2849();
o.format = "foo";
o.projectId = "foo";
}
@@ -694,7 +694,7 @@
if (buildCounterExportVariantSetRequest < 3) {
unittest.expect(o.bigqueryDataset, unittest.equals('foo'));
unittest.expect(o.bigqueryTable, unittest.equals('foo'));
- checkUnnamed2744(o.callSetIds);
+ checkUnnamed2849(o.callSetIds);
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
}
@@ -739,14 +739,14 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed2745() {
+buildUnnamed2850() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2745(core.List<core.String> o) {
+checkUnnamed2850(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -760,7 +760,7 @@
o.datasetId = "foo";
o.partitionStrategy = "foo";
o.referenceSetId = "foo";
- o.sourceUris = buildUnnamed2745();
+ o.sourceUris = buildUnnamed2850();
}
buildCounterImportReadGroupSetsRequest--;
return o;
@@ -772,19 +772,19 @@
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.partitionStrategy, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
- checkUnnamed2745(o.sourceUris);
+ checkUnnamed2850(o.sourceUris);
}
buildCounterImportReadGroupSetsRequest--;
}
-buildUnnamed2746() {
+buildUnnamed2851() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2746(core.List<core.String> o) {
+checkUnnamed2851(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -795,7 +795,7 @@
var o = new api.ImportReadGroupSetsResponse();
buildCounterImportReadGroupSetsResponse++;
if (buildCounterImportReadGroupSetsResponse < 3) {
- o.readGroupSetIds = buildUnnamed2746();
+ o.readGroupSetIds = buildUnnamed2851();
}
buildCounterImportReadGroupSetsResponse--;
return o;
@@ -804,32 +804,32 @@
checkImportReadGroupSetsResponse(api.ImportReadGroupSetsResponse o) {
buildCounterImportReadGroupSetsResponse++;
if (buildCounterImportReadGroupSetsResponse < 3) {
- checkUnnamed2746(o.readGroupSetIds);
+ checkUnnamed2851(o.readGroupSetIds);
}
buildCounterImportReadGroupSetsResponse--;
}
-buildUnnamed2747() {
+buildUnnamed2852() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2747(core.Map<core.String, core.String> o) {
+checkUnnamed2852(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2748() {
+buildUnnamed2853() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2748(core.List<core.String> o) {
+checkUnnamed2853(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -841,9 +841,9 @@
buildCounterImportVariantsRequest++;
if (buildCounterImportVariantsRequest < 3) {
o.format = "foo";
- o.infoMergeConfig = buildUnnamed2747();
+ o.infoMergeConfig = buildUnnamed2852();
o.normalizeReferenceNames = true;
- o.sourceUris = buildUnnamed2748();
+ o.sourceUris = buildUnnamed2853();
o.variantSetId = "foo";
}
buildCounterImportVariantsRequest--;
@@ -854,22 +854,22 @@
buildCounterImportVariantsRequest++;
if (buildCounterImportVariantsRequest < 3) {
unittest.expect(o.format, unittest.equals('foo'));
- checkUnnamed2747(o.infoMergeConfig);
+ checkUnnamed2852(o.infoMergeConfig);
unittest.expect(o.normalizeReferenceNames, unittest.isTrue);
- checkUnnamed2748(o.sourceUris);
+ checkUnnamed2853(o.sourceUris);
unittest.expect(o.variantSetId, unittest.equals('foo'));
}
buildCounterImportVariantsRequest--;
}
-buildUnnamed2749() {
+buildUnnamed2854() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2749(core.List<core.String> o) {
+checkUnnamed2854(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -880,7 +880,7 @@
var o = new api.ImportVariantsResponse();
buildCounterImportVariantsResponse++;
if (buildCounterImportVariantsResponse < 3) {
- o.callSetIds = buildUnnamed2749();
+ o.callSetIds = buildUnnamed2854();
}
buildCounterImportVariantsResponse--;
return o;
@@ -889,19 +889,19 @@
checkImportVariantsResponse(api.ImportVariantsResponse o) {
buildCounterImportVariantsResponse++;
if (buildCounterImportVariantsResponse < 3) {
- checkUnnamed2749(o.callSetIds);
+ checkUnnamed2854(o.callSetIds);
}
buildCounterImportVariantsResponse--;
}
-buildUnnamed2750() {
+buildUnnamed2855() {
var o = new core.List<api.CigarUnit>();
o.add(buildCigarUnit());
o.add(buildCigarUnit());
return o;
}
-checkUnnamed2750(core.List<api.CigarUnit> o) {
+checkUnnamed2855(core.List<api.CigarUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkCigarUnit(o[0]);
checkCigarUnit(o[1]);
@@ -912,7 +912,7 @@
var o = new api.LinearAlignment();
buildCounterLinearAlignment++;
if (buildCounterLinearAlignment < 3) {
- o.cigar = buildUnnamed2750();
+ o.cigar = buildUnnamed2855();
o.mappingQuality = 42;
o.position = buildPosition();
}
@@ -923,7 +923,7 @@
checkLinearAlignment(api.LinearAlignment o) {
buildCounterLinearAlignment++;
if (buildCounterLinearAlignment < 3) {
- checkUnnamed2750(o.cigar);
+ checkUnnamed2855(o.cigar);
unittest.expect(o.mappingQuality, unittest.equals(42));
checkPosition(o.position);
}
@@ -953,14 +953,14 @@
buildCounterListBasesResponse--;
}
-buildUnnamed2751() {
+buildUnnamed2856() {
var o = new core.List<api.CoverageBucket>();
o.add(buildCoverageBucket());
o.add(buildCoverageBucket());
return o;
}
-checkUnnamed2751(core.List<api.CoverageBucket> o) {
+checkUnnamed2856(core.List<api.CoverageBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkCoverageBucket(o[0]);
checkCoverageBucket(o[1]);
@@ -972,7 +972,7 @@
buildCounterListCoverageBucketsResponse++;
if (buildCounterListCoverageBucketsResponse < 3) {
o.bucketWidth = "foo";
- o.coverageBuckets = buildUnnamed2751();
+ o.coverageBuckets = buildUnnamed2856();
o.nextPageToken = "foo";
}
buildCounterListCoverageBucketsResponse--;
@@ -983,20 +983,20 @@
buildCounterListCoverageBucketsResponse++;
if (buildCounterListCoverageBucketsResponse < 3) {
unittest.expect(o.bucketWidth, unittest.equals('foo'));
- checkUnnamed2751(o.coverageBuckets);
+ checkUnnamed2856(o.coverageBuckets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCoverageBucketsResponse--;
}
-buildUnnamed2752() {
+buildUnnamed2857() {
var o = new core.List<api.Dataset>();
o.add(buildDataset());
o.add(buildDataset());
return o;
}
-checkUnnamed2752(core.List<api.Dataset> o) {
+checkUnnamed2857(core.List<api.Dataset> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataset(o[0]);
checkDataset(o[1]);
@@ -1007,7 +1007,7 @@
var o = new api.ListDatasetsResponse();
buildCounterListDatasetsResponse++;
if (buildCounterListDatasetsResponse < 3) {
- o.datasets = buildUnnamed2752();
+ o.datasets = buildUnnamed2857();
o.nextPageToken = "foo";
}
buildCounterListDatasetsResponse--;
@@ -1017,20 +1017,20 @@
checkListDatasetsResponse(api.ListDatasetsResponse o) {
buildCounterListDatasetsResponse++;
if (buildCounterListDatasetsResponse < 3) {
- checkUnnamed2752(o.datasets);
+ checkUnnamed2857(o.datasets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDatasetsResponse--;
}
-buildUnnamed2753() {
+buildUnnamed2858() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2753(core.List<api.Operation> o) {
+checkUnnamed2858(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1042,7 +1042,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2753();
+ o.operations = buildUnnamed2858();
}
buildCounterListOperationsResponse--;
return o;
@@ -1052,32 +1052,32 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2753(o.operations);
+ checkUnnamed2858(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed2754() {
+buildUnnamed2859() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2754(core.Map<core.String, core.String> o) {
+checkUnnamed2859(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2755() {
+buildUnnamed2860() {
var o = new core.List<api.Variant>();
o.add(buildVariant());
o.add(buildVariant());
return o;
}
-checkUnnamed2755(core.List<api.Variant> o) {
+checkUnnamed2860(core.List<api.Variant> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariant(o[0]);
checkVariant(o[1]);
@@ -1088,9 +1088,9 @@
var o = new api.MergeVariantsRequest();
buildCounterMergeVariantsRequest++;
if (buildCounterMergeVariantsRequest < 3) {
- o.infoMergeConfig = buildUnnamed2754();
+ o.infoMergeConfig = buildUnnamed2859();
o.variantSetId = "foo";
- o.variants = buildUnnamed2755();
+ o.variants = buildUnnamed2860();
}
buildCounterMergeVariantsRequest--;
return o;
@@ -1099,34 +1099,34 @@
checkMergeVariantsRequest(api.MergeVariantsRequest o) {
buildCounterMergeVariantsRequest++;
if (buildCounterMergeVariantsRequest < 3) {
- checkUnnamed2754(o.infoMergeConfig);
+ checkUnnamed2859(o.infoMergeConfig);
unittest.expect(o.variantSetId, unittest.equals('foo'));
- checkUnnamed2755(o.variants);
+ checkUnnamed2860(o.variants);
}
buildCounterMergeVariantsRequest--;
}
-buildUnnamed2756() {
+buildUnnamed2861() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2756(core.Map<core.String, core.Object> o) {
+checkUnnamed2861(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed2757() {
+buildUnnamed2862() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2757(core.Map<core.String, core.Object> o) {
+checkUnnamed2862(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
@@ -1139,9 +1139,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2756();
+ o.metadata = buildUnnamed2861();
o.name = "foo";
- o.response = buildUnnamed2757();
+ o.response = buildUnnamed2862();
}
buildCounterOperation--;
return o;
@@ -1152,9 +1152,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2756(o.metadata);
+ checkUnnamed2861(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2757(o.response);
+ checkUnnamed2862(o.response);
}
buildCounterOperation--;
}
@@ -1182,53 +1182,53 @@
buildCounterOperationEvent--;
}
-buildUnnamed2758() {
+buildUnnamed2863() {
var o = new core.List<api.OperationEvent>();
o.add(buildOperationEvent());
o.add(buildOperationEvent());
return o;
}
-checkUnnamed2758(core.List<api.OperationEvent> o) {
+checkUnnamed2863(core.List<api.OperationEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationEvent(o[0]);
checkOperationEvent(o[1]);
}
-buildUnnamed2759() {
+buildUnnamed2864() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2759(core.Map<core.String, core.String> o) {
+checkUnnamed2864(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2760() {
+buildUnnamed2865() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2760(core.Map<core.String, core.Object> o) {
+checkUnnamed2865(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed2761() {
+buildUnnamed2866() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2761(core.Map<core.String, core.Object> o) {
+checkUnnamed2866(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["string"], unittest.equals('foo'));
var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["string"], unittest.equals('foo'));
@@ -1242,11 +1242,11 @@
o.clientId = "foo";
o.createTime = "foo";
o.endTime = "foo";
- o.events = buildUnnamed2758();
- o.labels = buildUnnamed2759();
+ o.events = buildUnnamed2863();
+ o.labels = buildUnnamed2864();
o.projectId = "foo";
- o.request = buildUnnamed2760();
- o.runtimeMetadata = buildUnnamed2761();
+ o.request = buildUnnamed2865();
+ o.runtimeMetadata = buildUnnamed2866();
o.startTime = "foo";
}
buildCounterOperationMetadata--;
@@ -1259,24 +1259,24 @@
unittest.expect(o.clientId, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed2758(o.events);
- checkUnnamed2759(o.labels);
+ checkUnnamed2863(o.events);
+ checkUnnamed2864(o.labels);
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed2760(o.request);
- checkUnnamed2761(o.runtimeMetadata);
+ checkUnnamed2865(o.request);
+ checkUnnamed2866(o.runtimeMetadata);
unittest.expect(o.startTime, unittest.equals('foo'));
}
buildCounterOperationMetadata--;
}
-buildUnnamed2762() {
+buildUnnamed2867() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed2762(core.List<api.Binding> o) {
+checkUnnamed2867(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -1287,7 +1287,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed2762();
+ o.bindings = buildUnnamed2867();
o.etag = "foo";
o.version = 42;
}
@@ -1298,7 +1298,7 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed2762(o.bindings);
+ checkUnnamed2867(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -1378,43 +1378,43 @@
buildCounterRange--;
}
-buildUnnamed2763() {
+buildUnnamed2868() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2763(core.List<core.int> o) {
+checkUnnamed2868(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed2764() {
+buildUnnamed2869() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2764(core.List<core.Object> o) {
+checkUnnamed2869(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted15 = (o[0]) as core.Map; unittest.expect(casted15, unittest.hasLength(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest.expect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["string"], unittest.equals('foo'));
var casted16 = (o[1]) as core.Map; unittest.expect(casted16, unittest.hasLength(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest.expect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["string"], unittest.equals('foo'));
}
-buildUnnamed2765() {
+buildUnnamed2870() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2764();
- o["y"] = buildUnnamed2764();
+ o["x"] = buildUnnamed2869();
+ o["y"] = buildUnnamed2869();
return o;
}
-checkUnnamed2765(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2870(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2764(o["x"]);
- checkUnnamed2764(o["y"]);
+ checkUnnamed2869(o["x"]);
+ checkUnnamed2869(o["y"]);
}
core.int buildCounterRead = 0;
@@ -1422,7 +1422,7 @@
var o = new api.Read();
buildCounterRead++;
if (buildCounterRead < 3) {
- o.alignedQuality = buildUnnamed2763();
+ o.alignedQuality = buildUnnamed2868();
o.alignedSequence = "foo";
o.alignment = buildLinearAlignment();
o.duplicateFragment = true;
@@ -1430,7 +1430,7 @@
o.fragmentLength = 42;
o.fragmentName = "foo";
o.id = "foo";
- o.info = buildUnnamed2765();
+ o.info = buildUnnamed2870();
o.nextMatePosition = buildPosition();
o.numberReads = 42;
o.properPlacement = true;
@@ -1447,7 +1447,7 @@
checkRead(api.Read o) {
buildCounterRead++;
if (buildCounterRead < 3) {
- checkUnnamed2763(o.alignedQuality);
+ checkUnnamed2868(o.alignedQuality);
unittest.expect(o.alignedSequence, unittest.equals('foo'));
checkLinearAlignment(o.alignment);
unittest.expect(o.duplicateFragment, unittest.isTrue);
@@ -1455,7 +1455,7 @@
unittest.expect(o.fragmentLength, unittest.equals(42));
unittest.expect(o.fragmentName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2765(o.info);
+ checkUnnamed2870(o.info);
checkPosition(o.nextMatePosition);
unittest.expect(o.numberReads, unittest.equals(42));
unittest.expect(o.properPlacement, unittest.isTrue);
@@ -1468,40 +1468,40 @@
buildCounterRead--;
}
-buildUnnamed2766() {
+buildUnnamed2871() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2766(core.List<core.Object> o) {
+checkUnnamed2871(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted17 = (o[0]) as core.Map; unittest.expect(casted17, unittest.hasLength(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.expect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string"], unittest.equals('foo'));
var casted18 = (o[1]) as core.Map; unittest.expect(casted18, unittest.hasLength(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest.expect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["string"], unittest.equals('foo'));
}
-buildUnnamed2767() {
+buildUnnamed2872() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2766();
- o["y"] = buildUnnamed2766();
+ o["x"] = buildUnnamed2871();
+ o["y"] = buildUnnamed2871();
return o;
}
-checkUnnamed2767(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2872(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2766(o["x"]);
- checkUnnamed2766(o["y"]);
+ checkUnnamed2871(o["x"]);
+ checkUnnamed2871(o["y"]);
}
-buildUnnamed2768() {
+buildUnnamed2873() {
var o = new core.List<api.Program>();
o.add(buildProgram());
o.add(buildProgram());
return o;
}
-checkUnnamed2768(core.List<api.Program> o) {
+checkUnnamed2873(core.List<api.Program> o) {
unittest.expect(o, unittest.hasLength(2));
checkProgram(o[0]);
checkProgram(o[1]);
@@ -1516,10 +1516,10 @@
o.description = "foo";
o.experiment = buildExperiment();
o.id = "foo";
- o.info = buildUnnamed2767();
+ o.info = buildUnnamed2872();
o.name = "foo";
o.predictedInsertSize = 42;
- o.programs = buildUnnamed2768();
+ o.programs = buildUnnamed2873();
o.referenceSetId = "foo";
o.sampleId = "foo";
}
@@ -1534,50 +1534,50 @@
unittest.expect(o.description, unittest.equals('foo'));
checkExperiment(o.experiment);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2767(o.info);
+ checkUnnamed2872(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.predictedInsertSize, unittest.equals(42));
- checkUnnamed2768(o.programs);
+ checkUnnamed2873(o.programs);
unittest.expect(o.referenceSetId, unittest.equals('foo'));
unittest.expect(o.sampleId, unittest.equals('foo'));
}
buildCounterReadGroup--;
}
-buildUnnamed2769() {
+buildUnnamed2874() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2769(core.List<core.Object> o) {
+checkUnnamed2874(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted19 = (o[0]) as core.Map; unittest.expect(casted19, unittest.hasLength(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest.expect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["string"], unittest.equals('foo'));
var casted20 = (o[1]) as core.Map; unittest.expect(casted20, unittest.hasLength(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest.expect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["string"], unittest.equals('foo'));
}
-buildUnnamed2770() {
+buildUnnamed2875() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2769();
- o["y"] = buildUnnamed2769();
+ o["x"] = buildUnnamed2874();
+ o["y"] = buildUnnamed2874();
return o;
}
-checkUnnamed2770(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2875(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2769(o["x"]);
- checkUnnamed2769(o["y"]);
+ checkUnnamed2874(o["x"]);
+ checkUnnamed2874(o["y"]);
}
-buildUnnamed2771() {
+buildUnnamed2876() {
var o = new core.List<api.ReadGroup>();
o.add(buildReadGroup());
o.add(buildReadGroup());
return o;
}
-checkUnnamed2771(core.List<api.ReadGroup> o) {
+checkUnnamed2876(core.List<api.ReadGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkReadGroup(o[0]);
checkReadGroup(o[1]);
@@ -1591,9 +1591,9 @@
o.datasetId = "foo";
o.filename = "foo";
o.id = "foo";
- o.info = buildUnnamed2770();
+ o.info = buildUnnamed2875();
o.name = "foo";
- o.readGroups = buildUnnamed2771();
+ o.readGroups = buildUnnamed2876();
o.referenceSetId = "foo";
}
buildCounterReadGroupSet--;
@@ -1606,22 +1606,22 @@
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.filename, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2770(o.info);
+ checkUnnamed2875(o.info);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2771(o.readGroups);
+ checkUnnamed2876(o.readGroups);
unittest.expect(o.referenceSetId, unittest.equals('foo'));
}
buildCounterReadGroupSet--;
}
-buildUnnamed2772() {
+buildUnnamed2877() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2772(core.List<core.String> o) {
+checkUnnamed2877(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1637,7 +1637,7 @@
o.md5checksum = "foo";
o.name = "foo";
o.ncbiTaxonId = 42;
- o.sourceAccessions = buildUnnamed2772();
+ o.sourceAccessions = buildUnnamed2877();
o.sourceUri = "foo";
}
buildCounterReference--;
@@ -1652,7 +1652,7 @@
unittest.expect(o.md5checksum, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.ncbiTaxonId, unittest.equals(42));
- checkUnnamed2772(o.sourceAccessions);
+ checkUnnamed2877(o.sourceAccessions);
unittest.expect(o.sourceUri, unittest.equals('foo'));
}
buildCounterReference--;
@@ -1679,27 +1679,27 @@
buildCounterReferenceBound--;
}
-buildUnnamed2773() {
+buildUnnamed2878() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2773(core.List<core.String> o) {
+checkUnnamed2878(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2774() {
+buildUnnamed2879() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2774(core.List<core.String> o) {
+checkUnnamed2879(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1715,8 +1715,8 @@
o.id = "foo";
o.md5checksum = "foo";
o.ncbiTaxonId = 42;
- o.referenceIds = buildUnnamed2773();
- o.sourceAccessions = buildUnnamed2774();
+ o.referenceIds = buildUnnamed2878();
+ o.sourceAccessions = buildUnnamed2879();
o.sourceUri = "foo";
}
buildCounterReferenceSet--;
@@ -1731,8 +1731,8 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.md5checksum, unittest.equals('foo'));
unittest.expect(o.ncbiTaxonId, unittest.equals(42));
- checkUnnamed2773(o.referenceIds);
- checkUnnamed2774(o.sourceAccessions);
+ checkUnnamed2878(o.referenceIds);
+ checkUnnamed2879(o.sourceAccessions);
unittest.expect(o.sourceUri, unittest.equals('foo'));
}
buildCounterReferenceSet--;
@@ -1757,27 +1757,27 @@
buildCounterRuntimeMetadata--;
}
-buildUnnamed2775() {
+buildUnnamed2880() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2775(core.List<core.String> o) {
+checkUnnamed2880(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2776() {
+buildUnnamed2881() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2776(core.List<core.String> o) {
+checkUnnamed2881(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1788,12 +1788,12 @@
var o = new api.SearchAnnotationSetsRequest();
buildCounterSearchAnnotationSetsRequest++;
if (buildCounterSearchAnnotationSetsRequest < 3) {
- o.datasetIds = buildUnnamed2775();
+ o.datasetIds = buildUnnamed2880();
o.name = "foo";
o.pageSize = 42;
o.pageToken = "foo";
o.referenceSetId = "foo";
- o.types = buildUnnamed2776();
+ o.types = buildUnnamed2881();
}
buildCounterSearchAnnotationSetsRequest--;
return o;
@@ -1802,24 +1802,24 @@
checkSearchAnnotationSetsRequest(api.SearchAnnotationSetsRequest o) {
buildCounterSearchAnnotationSetsRequest++;
if (buildCounterSearchAnnotationSetsRequest < 3) {
- checkUnnamed2775(o.datasetIds);
+ checkUnnamed2880(o.datasetIds);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
- checkUnnamed2776(o.types);
+ checkUnnamed2881(o.types);
}
buildCounterSearchAnnotationSetsRequest--;
}
-buildUnnamed2777() {
+buildUnnamed2882() {
var o = new core.List<api.AnnotationSet>();
o.add(buildAnnotationSet());
o.add(buildAnnotationSet());
return o;
}
-checkUnnamed2777(core.List<api.AnnotationSet> o) {
+checkUnnamed2882(core.List<api.AnnotationSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotationSet(o[0]);
checkAnnotationSet(o[1]);
@@ -1830,7 +1830,7 @@
var o = new api.SearchAnnotationSetsResponse();
buildCounterSearchAnnotationSetsResponse++;
if (buildCounterSearchAnnotationSetsResponse < 3) {
- o.annotationSets = buildUnnamed2777();
+ o.annotationSets = buildUnnamed2882();
o.nextPageToken = "foo";
}
buildCounterSearchAnnotationSetsResponse--;
@@ -1840,20 +1840,20 @@
checkSearchAnnotationSetsResponse(api.SearchAnnotationSetsResponse o) {
buildCounterSearchAnnotationSetsResponse++;
if (buildCounterSearchAnnotationSetsResponse < 3) {
- checkUnnamed2777(o.annotationSets);
+ checkUnnamed2882(o.annotationSets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchAnnotationSetsResponse--;
}
-buildUnnamed2778() {
+buildUnnamed2883() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2778(core.List<core.String> o) {
+checkUnnamed2883(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1864,7 +1864,7 @@
var o = new api.SearchAnnotationsRequest();
buildCounterSearchAnnotationsRequest++;
if (buildCounterSearchAnnotationsRequest < 3) {
- o.annotationSetIds = buildUnnamed2778();
+ o.annotationSetIds = buildUnnamed2883();
o.end = "foo";
o.pageSize = 42;
o.pageToken = "foo";
@@ -1879,7 +1879,7 @@
checkSearchAnnotationsRequest(api.SearchAnnotationsRequest o) {
buildCounterSearchAnnotationsRequest++;
if (buildCounterSearchAnnotationsRequest < 3) {
- checkUnnamed2778(o.annotationSetIds);
+ checkUnnamed2883(o.annotationSetIds);
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
@@ -1890,14 +1890,14 @@
buildCounterSearchAnnotationsRequest--;
}
-buildUnnamed2779() {
+buildUnnamed2884() {
var o = new core.List<api.Annotation>();
o.add(buildAnnotation());
o.add(buildAnnotation());
return o;
}
-checkUnnamed2779(core.List<api.Annotation> o) {
+checkUnnamed2884(core.List<api.Annotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotation(o[0]);
checkAnnotation(o[1]);
@@ -1908,7 +1908,7 @@
var o = new api.SearchAnnotationsResponse();
buildCounterSearchAnnotationsResponse++;
if (buildCounterSearchAnnotationsResponse < 3) {
- o.annotations = buildUnnamed2779();
+ o.annotations = buildUnnamed2884();
o.nextPageToken = "foo";
}
buildCounterSearchAnnotationsResponse--;
@@ -1918,20 +1918,20 @@
checkSearchAnnotationsResponse(api.SearchAnnotationsResponse o) {
buildCounterSearchAnnotationsResponse++;
if (buildCounterSearchAnnotationsResponse < 3) {
- checkUnnamed2779(o.annotations);
+ checkUnnamed2884(o.annotations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchAnnotationsResponse--;
}
-buildUnnamed2780() {
+buildUnnamed2885() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2780(core.List<core.String> o) {
+checkUnnamed2885(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1945,7 +1945,7 @@
o.name = "foo";
o.pageSize = 42;
o.pageToken = "foo";
- o.variantSetIds = buildUnnamed2780();
+ o.variantSetIds = buildUnnamed2885();
}
buildCounterSearchCallSetsRequest--;
return o;
@@ -1957,19 +1957,19 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed2780(o.variantSetIds);
+ checkUnnamed2885(o.variantSetIds);
}
buildCounterSearchCallSetsRequest--;
}
-buildUnnamed2781() {
+buildUnnamed2886() {
var o = new core.List<api.CallSet>();
o.add(buildCallSet());
o.add(buildCallSet());
return o;
}
-checkUnnamed2781(core.List<api.CallSet> o) {
+checkUnnamed2886(core.List<api.CallSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkCallSet(o[0]);
checkCallSet(o[1]);
@@ -1980,7 +1980,7 @@
var o = new api.SearchCallSetsResponse();
buildCounterSearchCallSetsResponse++;
if (buildCounterSearchCallSetsResponse < 3) {
- o.callSets = buildUnnamed2781();
+ o.callSets = buildUnnamed2886();
o.nextPageToken = "foo";
}
buildCounterSearchCallSetsResponse--;
@@ -1990,20 +1990,20 @@
checkSearchCallSetsResponse(api.SearchCallSetsResponse o) {
buildCounterSearchCallSetsResponse++;
if (buildCounterSearchCallSetsResponse < 3) {
- checkUnnamed2781(o.callSets);
+ checkUnnamed2886(o.callSets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchCallSetsResponse--;
}
-buildUnnamed2782() {
+buildUnnamed2887() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2782(core.List<core.String> o) {
+checkUnnamed2887(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2014,7 +2014,7 @@
var o = new api.SearchReadGroupSetsRequest();
buildCounterSearchReadGroupSetsRequest++;
if (buildCounterSearchReadGroupSetsRequest < 3) {
- o.datasetIds = buildUnnamed2782();
+ o.datasetIds = buildUnnamed2887();
o.name = "foo";
o.pageSize = 42;
o.pageToken = "foo";
@@ -2026,7 +2026,7 @@
checkSearchReadGroupSetsRequest(api.SearchReadGroupSetsRequest o) {
buildCounterSearchReadGroupSetsRequest++;
if (buildCounterSearchReadGroupSetsRequest < 3) {
- checkUnnamed2782(o.datasetIds);
+ checkUnnamed2887(o.datasetIds);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
@@ -2034,14 +2034,14 @@
buildCounterSearchReadGroupSetsRequest--;
}
-buildUnnamed2783() {
+buildUnnamed2888() {
var o = new core.List<api.ReadGroupSet>();
o.add(buildReadGroupSet());
o.add(buildReadGroupSet());
return o;
}
-checkUnnamed2783(core.List<api.ReadGroupSet> o) {
+checkUnnamed2888(core.List<api.ReadGroupSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkReadGroupSet(o[0]);
checkReadGroupSet(o[1]);
@@ -2053,7 +2053,7 @@
buildCounterSearchReadGroupSetsResponse++;
if (buildCounterSearchReadGroupSetsResponse < 3) {
o.nextPageToken = "foo";
- o.readGroupSets = buildUnnamed2783();
+ o.readGroupSets = buildUnnamed2888();
}
buildCounterSearchReadGroupSetsResponse--;
return o;
@@ -2063,32 +2063,32 @@
buildCounterSearchReadGroupSetsResponse++;
if (buildCounterSearchReadGroupSetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2783(o.readGroupSets);
+ checkUnnamed2888(o.readGroupSets);
}
buildCounterSearchReadGroupSetsResponse--;
}
-buildUnnamed2784() {
+buildUnnamed2889() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2784(core.List<core.String> o) {
+checkUnnamed2889(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2785() {
+buildUnnamed2890() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2785(core.List<core.String> o) {
+checkUnnamed2890(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2102,8 +2102,8 @@
o.end = "foo";
o.pageSize = 42;
o.pageToken = "foo";
- o.readGroupIds = buildUnnamed2784();
- o.readGroupSetIds = buildUnnamed2785();
+ o.readGroupIds = buildUnnamed2889();
+ o.readGroupSetIds = buildUnnamed2890();
o.referenceName = "foo";
o.start = "foo";
}
@@ -2117,22 +2117,22 @@
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed2784(o.readGroupIds);
- checkUnnamed2785(o.readGroupSetIds);
+ checkUnnamed2889(o.readGroupIds);
+ checkUnnamed2890(o.readGroupSetIds);
unittest.expect(o.referenceName, unittest.equals('foo'));
unittest.expect(o.start, unittest.equals('foo'));
}
buildCounterSearchReadsRequest--;
}
-buildUnnamed2786() {
+buildUnnamed2891() {
var o = new core.List<api.Read>();
o.add(buildRead());
o.add(buildRead());
return o;
}
-checkUnnamed2786(core.List<api.Read> o) {
+checkUnnamed2891(core.List<api.Read> o) {
unittest.expect(o, unittest.hasLength(2));
checkRead(o[0]);
checkRead(o[1]);
@@ -2143,7 +2143,7 @@
var o = new api.SearchReadsResponse();
buildCounterSearchReadsResponse++;
if (buildCounterSearchReadsResponse < 3) {
- o.alignments = buildUnnamed2786();
+ o.alignments = buildUnnamed2891();
o.nextPageToken = "foo";
}
buildCounterSearchReadsResponse--;
@@ -2153,33 +2153,33 @@
checkSearchReadsResponse(api.SearchReadsResponse o) {
buildCounterSearchReadsResponse++;
if (buildCounterSearchReadsResponse < 3) {
- checkUnnamed2786(o.alignments);
+ checkUnnamed2891(o.alignments);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchReadsResponse--;
}
-buildUnnamed2787() {
+buildUnnamed2892() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2787(core.List<core.String> o) {
+checkUnnamed2892(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2788() {
+buildUnnamed2893() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2788(core.List<core.String> o) {
+checkUnnamed2893(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2190,9 +2190,9 @@
var o = new api.SearchReferenceSetsRequest();
buildCounterSearchReferenceSetsRequest++;
if (buildCounterSearchReferenceSetsRequest < 3) {
- o.accessions = buildUnnamed2787();
+ o.accessions = buildUnnamed2892();
o.assemblyId = "foo";
- o.md5checksums = buildUnnamed2788();
+ o.md5checksums = buildUnnamed2893();
o.pageSize = 42;
o.pageToken = "foo";
}
@@ -2203,23 +2203,23 @@
checkSearchReferenceSetsRequest(api.SearchReferenceSetsRequest o) {
buildCounterSearchReferenceSetsRequest++;
if (buildCounterSearchReferenceSetsRequest < 3) {
- checkUnnamed2787(o.accessions);
+ checkUnnamed2892(o.accessions);
unittest.expect(o.assemblyId, unittest.equals('foo'));
- checkUnnamed2788(o.md5checksums);
+ checkUnnamed2893(o.md5checksums);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
}
buildCounterSearchReferenceSetsRequest--;
}
-buildUnnamed2789() {
+buildUnnamed2894() {
var o = new core.List<api.ReferenceSet>();
o.add(buildReferenceSet());
o.add(buildReferenceSet());
return o;
}
-checkUnnamed2789(core.List<api.ReferenceSet> o) {
+checkUnnamed2894(core.List<api.ReferenceSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkReferenceSet(o[0]);
checkReferenceSet(o[1]);
@@ -2231,7 +2231,7 @@
buildCounterSearchReferenceSetsResponse++;
if (buildCounterSearchReferenceSetsResponse < 3) {
o.nextPageToken = "foo";
- o.referenceSets = buildUnnamed2789();
+ o.referenceSets = buildUnnamed2894();
}
buildCounterSearchReferenceSetsResponse--;
return o;
@@ -2241,32 +2241,32 @@
buildCounterSearchReferenceSetsResponse++;
if (buildCounterSearchReferenceSetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2789(o.referenceSets);
+ checkUnnamed2894(o.referenceSets);
}
buildCounterSearchReferenceSetsResponse--;
}
-buildUnnamed2790() {
+buildUnnamed2895() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2790(core.List<core.String> o) {
+checkUnnamed2895(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2791() {
+buildUnnamed2896() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2791(core.List<core.String> o) {
+checkUnnamed2896(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2277,8 +2277,8 @@
var o = new api.SearchReferencesRequest();
buildCounterSearchReferencesRequest++;
if (buildCounterSearchReferencesRequest < 3) {
- o.accessions = buildUnnamed2790();
- o.md5checksums = buildUnnamed2791();
+ o.accessions = buildUnnamed2895();
+ o.md5checksums = buildUnnamed2896();
o.pageSize = 42;
o.pageToken = "foo";
o.referenceSetId = "foo";
@@ -2290,8 +2290,8 @@
checkSearchReferencesRequest(api.SearchReferencesRequest o) {
buildCounterSearchReferencesRequest++;
if (buildCounterSearchReferencesRequest < 3) {
- checkUnnamed2790(o.accessions);
- checkUnnamed2791(o.md5checksums);
+ checkUnnamed2895(o.accessions);
+ checkUnnamed2896(o.md5checksums);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
@@ -2299,14 +2299,14 @@
buildCounterSearchReferencesRequest--;
}
-buildUnnamed2792() {
+buildUnnamed2897() {
var o = new core.List<api.Reference>();
o.add(buildReference());
o.add(buildReference());
return o;
}
-checkUnnamed2792(core.List<api.Reference> o) {
+checkUnnamed2897(core.List<api.Reference> o) {
unittest.expect(o, unittest.hasLength(2));
checkReference(o[0]);
checkReference(o[1]);
@@ -2318,7 +2318,7 @@
buildCounterSearchReferencesResponse++;
if (buildCounterSearchReferencesResponse < 3) {
o.nextPageToken = "foo";
- o.references = buildUnnamed2792();
+ o.references = buildUnnamed2897();
}
buildCounterSearchReferencesResponse--;
return o;
@@ -2328,19 +2328,19 @@
buildCounterSearchReferencesResponse++;
if (buildCounterSearchReferencesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2792(o.references);
+ checkUnnamed2897(o.references);
}
buildCounterSearchReferencesResponse--;
}
-buildUnnamed2793() {
+buildUnnamed2898() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2793(core.List<core.String> o) {
+checkUnnamed2898(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2351,7 +2351,7 @@
var o = new api.SearchVariantSetsRequest();
buildCounterSearchVariantSetsRequest++;
if (buildCounterSearchVariantSetsRequest < 3) {
- o.datasetIds = buildUnnamed2793();
+ o.datasetIds = buildUnnamed2898();
o.pageSize = 42;
o.pageToken = "foo";
}
@@ -2362,21 +2362,21 @@
checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) {
buildCounterSearchVariantSetsRequest++;
if (buildCounterSearchVariantSetsRequest < 3) {
- checkUnnamed2793(o.datasetIds);
+ checkUnnamed2898(o.datasetIds);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
}
buildCounterSearchVariantSetsRequest--;
}
-buildUnnamed2794() {
+buildUnnamed2899() {
var o = new core.List<api.VariantSet>();
o.add(buildVariantSet());
o.add(buildVariantSet());
return o;
}
-checkUnnamed2794(core.List<api.VariantSet> o) {
+checkUnnamed2899(core.List<api.VariantSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariantSet(o[0]);
checkVariantSet(o[1]);
@@ -2388,7 +2388,7 @@
buildCounterSearchVariantSetsResponse++;
if (buildCounterSearchVariantSetsResponse < 3) {
o.nextPageToken = "foo";
- o.variantSets = buildUnnamed2794();
+ o.variantSets = buildUnnamed2899();
}
buildCounterSearchVariantSetsResponse--;
return o;
@@ -2398,32 +2398,32 @@
buildCounterSearchVariantSetsResponse++;
if (buildCounterSearchVariantSetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2794(o.variantSets);
+ checkUnnamed2899(o.variantSets);
}
buildCounterSearchVariantSetsResponse--;
}
-buildUnnamed2795() {
+buildUnnamed2900() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2795(core.List<core.String> o) {
+checkUnnamed2900(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2796() {
+buildUnnamed2901() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2796(core.List<core.String> o) {
+checkUnnamed2901(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2434,7 +2434,7 @@
var o = new api.SearchVariantsRequest();
buildCounterSearchVariantsRequest++;
if (buildCounterSearchVariantsRequest < 3) {
- o.callSetIds = buildUnnamed2795();
+ o.callSetIds = buildUnnamed2900();
o.end = "foo";
o.maxCalls = 42;
o.pageSize = 42;
@@ -2442,7 +2442,7 @@
o.referenceName = "foo";
o.start = "foo";
o.variantName = "foo";
- o.variantSetIds = buildUnnamed2796();
+ o.variantSetIds = buildUnnamed2901();
}
buildCounterSearchVariantsRequest--;
return o;
@@ -2451,7 +2451,7 @@
checkSearchVariantsRequest(api.SearchVariantsRequest o) {
buildCounterSearchVariantsRequest++;
if (buildCounterSearchVariantsRequest < 3) {
- checkUnnamed2795(o.callSetIds);
+ checkUnnamed2900(o.callSetIds);
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.maxCalls, unittest.equals(42));
unittest.expect(o.pageSize, unittest.equals(42));
@@ -2459,19 +2459,19 @@
unittest.expect(o.referenceName, unittest.equals('foo'));
unittest.expect(o.start, unittest.equals('foo'));
unittest.expect(o.variantName, unittest.equals('foo'));
- checkUnnamed2796(o.variantSetIds);
+ checkUnnamed2901(o.variantSetIds);
}
buildCounterSearchVariantsRequest--;
}
-buildUnnamed2797() {
+buildUnnamed2902() {
var o = new core.List<api.Variant>();
o.add(buildVariant());
o.add(buildVariant());
return o;
}
-checkUnnamed2797(core.List<api.Variant> o) {
+checkUnnamed2902(core.List<api.Variant> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariant(o[0]);
checkVariant(o[1]);
@@ -2483,7 +2483,7 @@
buildCounterSearchVariantsResponse++;
if (buildCounterSearchVariantsResponse < 3) {
o.nextPageToken = "foo";
- o.variants = buildUnnamed2797();
+ o.variants = buildUnnamed2902();
}
buildCounterSearchVariantsResponse--;
return o;
@@ -2493,7 +2493,7 @@
buildCounterSearchVariantsResponse++;
if (buildCounterSearchVariantsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2797(o.variants);
+ checkUnnamed2902(o.variants);
}
buildCounterSearchVariantsResponse--;
}
@@ -2517,30 +2517,30 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed2798() {
+buildUnnamed2903() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2798(core.Map<core.String, core.Object> o) {
+checkUnnamed2903(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted21 = (o["x"]) as core.Map; unittest.expect(casted21, unittest.hasLength(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest.expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["string"], unittest.equals('foo'));
var casted22 = (o["y"]) as core.Map; unittest.expect(casted22, unittest.hasLength(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest.expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["string"], unittest.equals('foo'));
}
-buildUnnamed2799() {
+buildUnnamed2904() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2798());
- o.add(buildUnnamed2798());
+ o.add(buildUnnamed2903());
+ o.add(buildUnnamed2903());
return o;
}
-checkUnnamed2799(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2904(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2798(o[0]);
- checkUnnamed2798(o[1]);
+ checkUnnamed2903(o[0]);
+ checkUnnamed2903(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2549,7 +2549,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2799();
+ o.details = buildUnnamed2904();
o.message = "foo";
}
buildCounterStatus--;
@@ -2560,20 +2560,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2799(o.details);
+ checkUnnamed2904(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed2800() {
+buildUnnamed2905() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2800(core.List<core.String> o) {
+checkUnnamed2905(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2584,7 +2584,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed2800();
+ o.permissions = buildUnnamed2905();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -2593,19 +2593,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed2800(o.permissions);
+ checkUnnamed2905(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed2801() {
+buildUnnamed2906() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2801(core.List<core.String> o) {
+checkUnnamed2906(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2616,7 +2616,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed2801();
+ o.permissions = buildUnnamed2906();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -2625,19 +2625,19 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed2801(o.permissions);
+ checkUnnamed2906(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed2802() {
+buildUnnamed2907() {
var o = new core.List<api.Exon>();
o.add(buildExon());
o.add(buildExon());
return o;
}
-checkUnnamed2802(core.List<api.Exon> o) {
+checkUnnamed2907(core.List<api.Exon> o) {
unittest.expect(o, unittest.hasLength(2));
checkExon(o[0]);
checkExon(o[1]);
@@ -2649,7 +2649,7 @@
buildCounterTranscript++;
if (buildCounterTranscript < 3) {
o.codingSequence = buildCodingSequence();
- o.exons = buildUnnamed2802();
+ o.exons = buildUnnamed2907();
o.geneId = "foo";
}
buildCounterTranscript--;
@@ -2660,7 +2660,7 @@
buildCounterTranscript++;
if (buildCounterTranscript < 3) {
checkCodingSequence(o.codingSequence);
- checkUnnamed2802(o.exons);
+ checkUnnamed2907(o.exons);
unittest.expect(o.geneId, unittest.equals('foo'));
}
buildCounterTranscript--;
@@ -2683,79 +2683,79 @@
buildCounterUndeleteDatasetRequest--;
}
-buildUnnamed2803() {
+buildUnnamed2908() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2803(core.List<core.String> o) {
+checkUnnamed2908(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2804() {
+buildUnnamed2909() {
var o = new core.List<api.VariantCall>();
o.add(buildVariantCall());
o.add(buildVariantCall());
return o;
}
-checkUnnamed2804(core.List<api.VariantCall> o) {
+checkUnnamed2909(core.List<api.VariantCall> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariantCall(o[0]);
checkVariantCall(o[1]);
}
-buildUnnamed2805() {
+buildUnnamed2910() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2805(core.List<core.String> o) {
+checkUnnamed2910(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2806() {
+buildUnnamed2911() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2806(core.List<core.Object> o) {
+checkUnnamed2911(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted23 = (o[0]) as core.Map; unittest.expect(casted23, unittest.hasLength(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest.expect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["string"], unittest.equals('foo'));
var casted24 = (o[1]) as core.Map; unittest.expect(casted24, unittest.hasLength(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest.expect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["string"], unittest.equals('foo'));
}
-buildUnnamed2807() {
+buildUnnamed2912() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2806();
- o["y"] = buildUnnamed2806();
+ o["x"] = buildUnnamed2911();
+ o["y"] = buildUnnamed2911();
return o;
}
-checkUnnamed2807(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2912(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2806(o["x"]);
- checkUnnamed2806(o["y"]);
+ checkUnnamed2911(o["x"]);
+ checkUnnamed2911(o["y"]);
}
-buildUnnamed2808() {
+buildUnnamed2913() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2808(core.List<core.String> o) {
+checkUnnamed2913(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2766,14 +2766,14 @@
var o = new api.Variant();
buildCounterVariant++;
if (buildCounterVariant < 3) {
- o.alternateBases = buildUnnamed2803();
- o.calls = buildUnnamed2804();
+ o.alternateBases = buildUnnamed2908();
+ o.calls = buildUnnamed2909();
o.created = "foo";
o.end = "foo";
- o.filter = buildUnnamed2805();
+ o.filter = buildUnnamed2910();
o.id = "foo";
- o.info = buildUnnamed2807();
- o.names = buildUnnamed2808();
+ o.info = buildUnnamed2912();
+ o.names = buildUnnamed2913();
o.quality = 42.0;
o.referenceBases = "foo";
o.referenceName = "foo";
@@ -2787,14 +2787,14 @@
checkVariant(api.Variant o) {
buildCounterVariant++;
if (buildCounterVariant < 3) {
- checkUnnamed2803(o.alternateBases);
- checkUnnamed2804(o.calls);
+ checkUnnamed2908(o.alternateBases);
+ checkUnnamed2909(o.calls);
unittest.expect(o.created, unittest.equals('foo'));
unittest.expect(o.end, unittest.equals('foo'));
- checkUnnamed2805(o.filter);
+ checkUnnamed2910(o.filter);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2807(o.info);
- checkUnnamed2808(o.names);
+ checkUnnamed2912(o.info);
+ checkUnnamed2913(o.names);
unittest.expect(o.quality, unittest.equals(42.0));
unittest.expect(o.referenceBases, unittest.equals('foo'));
unittest.expect(o.referenceName, unittest.equals('foo'));
@@ -2804,27 +2804,27 @@
buildCounterVariant--;
}
-buildUnnamed2809() {
+buildUnnamed2914() {
var o = new core.List<api.ClinicalCondition>();
o.add(buildClinicalCondition());
o.add(buildClinicalCondition());
return o;
}
-checkUnnamed2809(core.List<api.ClinicalCondition> o) {
+checkUnnamed2914(core.List<api.ClinicalCondition> o) {
unittest.expect(o, unittest.hasLength(2));
checkClinicalCondition(o[0]);
checkClinicalCondition(o[1]);
}
-buildUnnamed2810() {
+buildUnnamed2915() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2810(core.List<core.String> o) {
+checkUnnamed2915(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2837,10 +2837,10 @@
if (buildCounterVariantAnnotation < 3) {
o.alternateBases = "foo";
o.clinicalSignificance = "foo";
- o.conditions = buildUnnamed2809();
+ o.conditions = buildUnnamed2914();
o.effect = "foo";
o.geneId = "foo";
- o.transcriptIds = buildUnnamed2810();
+ o.transcriptIds = buildUnnamed2915();
o.type = "foo";
}
buildCounterVariantAnnotation--;
@@ -2852,65 +2852,65 @@
if (buildCounterVariantAnnotation < 3) {
unittest.expect(o.alternateBases, unittest.equals('foo'));
unittest.expect(o.clinicalSignificance, unittest.equals('foo'));
- checkUnnamed2809(o.conditions);
+ checkUnnamed2914(o.conditions);
unittest.expect(o.effect, unittest.equals('foo'));
unittest.expect(o.geneId, unittest.equals('foo'));
- checkUnnamed2810(o.transcriptIds);
+ checkUnnamed2915(o.transcriptIds);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterVariantAnnotation--;
}
-buildUnnamed2811() {
+buildUnnamed2916() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2811(core.List<core.int> o) {
+checkUnnamed2916(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed2812() {
+buildUnnamed2917() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2812(core.List<core.double> o) {
+checkUnnamed2917(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
}
-buildUnnamed2813() {
+buildUnnamed2918() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2813(core.List<core.Object> o) {
+checkUnnamed2918(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted25 = (o[0]) as core.Map; unittest.expect(casted25, unittest.hasLength(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest.expect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["string"], unittest.equals('foo'));
var casted26 = (o[1]) as core.Map; unittest.expect(casted26, unittest.hasLength(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest.expect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["string"], unittest.equals('foo'));
}
-buildUnnamed2814() {
+buildUnnamed2919() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2813();
- o["y"] = buildUnnamed2813();
+ o["x"] = buildUnnamed2918();
+ o["y"] = buildUnnamed2918();
return o;
}
-checkUnnamed2814(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2919(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2813(o["x"]);
- checkUnnamed2813(o["y"]);
+ checkUnnamed2918(o["x"]);
+ checkUnnamed2918(o["y"]);
}
core.int buildCounterVariantCall = 0;
@@ -2920,9 +2920,9 @@
if (buildCounterVariantCall < 3) {
o.callSetId = "foo";
o.callSetName = "foo";
- o.genotype = buildUnnamed2811();
- o.genotypeLikelihood = buildUnnamed2812();
- o.info = buildUnnamed2814();
+ o.genotype = buildUnnamed2916();
+ o.genotypeLikelihood = buildUnnamed2917();
+ o.info = buildUnnamed2919();
o.phaseset = "foo";
}
buildCounterVariantCall--;
@@ -2934,35 +2934,35 @@
if (buildCounterVariantCall < 3) {
unittest.expect(o.callSetId, unittest.equals('foo'));
unittest.expect(o.callSetName, unittest.equals('foo'));
- checkUnnamed2811(o.genotype);
- checkUnnamed2812(o.genotypeLikelihood);
- checkUnnamed2814(o.info);
+ checkUnnamed2916(o.genotype);
+ checkUnnamed2917(o.genotypeLikelihood);
+ checkUnnamed2919(o.info);
unittest.expect(o.phaseset, unittest.equals('foo'));
}
buildCounterVariantCall--;
}
-buildUnnamed2815() {
+buildUnnamed2920() {
var o = new core.List<api.VariantSetMetadata>();
o.add(buildVariantSetMetadata());
o.add(buildVariantSetMetadata());
return o;
}
-checkUnnamed2815(core.List<api.VariantSetMetadata> o) {
+checkUnnamed2920(core.List<api.VariantSetMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariantSetMetadata(o[0]);
checkVariantSetMetadata(o[1]);
}
-buildUnnamed2816() {
+buildUnnamed2921() {
var o = new core.List<api.ReferenceBound>();
o.add(buildReferenceBound());
o.add(buildReferenceBound());
return o;
}
-checkUnnamed2816(core.List<api.ReferenceBound> o) {
+checkUnnamed2921(core.List<api.ReferenceBound> o) {
unittest.expect(o, unittest.hasLength(2));
checkReferenceBound(o[0]);
checkReferenceBound(o[1]);
@@ -2976,9 +2976,9 @@
o.datasetId = "foo";
o.description = "foo";
o.id = "foo";
- o.metadata = buildUnnamed2815();
+ o.metadata = buildUnnamed2920();
o.name = "foo";
- o.referenceBounds = buildUnnamed2816();
+ o.referenceBounds = buildUnnamed2921();
o.referenceSetId = "foo";
}
buildCounterVariantSet--;
@@ -2991,38 +2991,38 @@
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2815(o.metadata);
+ checkUnnamed2920(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2816(o.referenceBounds);
+ checkUnnamed2921(o.referenceBounds);
unittest.expect(o.referenceSetId, unittest.equals('foo'));
}
buildCounterVariantSet--;
}
-buildUnnamed2817() {
+buildUnnamed2922() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2817(core.List<core.Object> o) {
+checkUnnamed2922(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted27 = (o[0]) as core.Map; unittest.expect(casted27, unittest.hasLength(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest.expect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["string"], unittest.equals('foo'));
var casted28 = (o[1]) as core.Map; unittest.expect(casted28, unittest.hasLength(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest.expect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["string"], unittest.equals('foo'));
}
-buildUnnamed2818() {
+buildUnnamed2923() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2817();
- o["y"] = buildUnnamed2817();
+ o["x"] = buildUnnamed2922();
+ o["y"] = buildUnnamed2922();
return o;
}
-checkUnnamed2818(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2923(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2817(o["x"]);
- checkUnnamed2817(o["y"]);
+ checkUnnamed2922(o["x"]);
+ checkUnnamed2922(o["y"]);
}
core.int buildCounterVariantSetMetadata = 0;
@@ -3032,7 +3032,7 @@
if (buildCounterVariantSetMetadata < 3) {
o.description = "foo";
o.id = "foo";
- o.info = buildUnnamed2818();
+ o.info = buildUnnamed2923();
o.key = "foo";
o.number = "foo";
o.type = "foo";
@@ -3047,7 +3047,7 @@
if (buildCounterVariantSetMetadata < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2818(o.info);
+ checkUnnamed2923(o.info);
unittest.expect(o.key, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -4701,9 +4701,9 @@
var mock = new HttpServerMock();
api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
+ var arg_projectId = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_projectId = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4730,9 +4730,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["projectId"].first, unittest.equals(arg_projectId));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
- unittest.expect(queryMap["projectId"].first, unittest.equals(arg_projectId));
var h = {
@@ -4741,7 +4741,7 @@
var resp = convert.JSON.encode(buildListDatasetsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(pageToken: arg_pageToken, pageSize: arg_pageSize, projectId: arg_projectId).then(unittest.expectAsync(((api.ListDatasetsResponse response) {
+ res.list(projectId: arg_projectId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListDatasetsResponse response) {
checkListDatasetsResponse(response);
})));
});
@@ -5055,9 +5055,9 @@
var mock = new HttpServerMock();
api.OperationsResourceApi res = new api.GenomicsApi(mock).operations;
var arg_name = "foo";
+ var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_filter = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5085,9 +5085,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -5096,7 +5096,7 @@
var resp = convert.JSON.encode(buildListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListOperationsResponse response) {
+ res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
@@ -5410,12 +5410,12 @@
var mock = new HttpServerMock();
api.ReadgroupsetsCoveragebucketsResourceApi res = new api.GenomicsApi(mock).readgroupsets.coveragebuckets;
var arg_readGroupSetId = "foo";
- var arg_start = "foo";
- var arg_targetBucketWidth = "foo";
var arg_referenceName = "foo";
var arg_end = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_start = "foo";
+ var arg_targetBucketWidth = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5449,12 +5449,12 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["start"].first, unittest.equals(arg_start));
- unittest.expect(queryMap["targetBucketWidth"].first, unittest.equals(arg_targetBucketWidth));
unittest.expect(queryMap["referenceName"].first, unittest.equals(arg_referenceName));
unittest.expect(queryMap["end"].first, unittest.equals(arg_end));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["start"].first, unittest.equals(arg_start));
+ unittest.expect(queryMap["targetBucketWidth"].first, unittest.equals(arg_targetBucketWidth));
var h = {
@@ -5463,7 +5463,7 @@
var resp = convert.JSON.encode(buildListCoverageBucketsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_readGroupSetId, start: arg_start, targetBucketWidth: arg_targetBucketWidth, referenceName: arg_referenceName, end: arg_end, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListCoverageBucketsResponse response) {
+ res.list(arg_readGroupSetId, referenceName: arg_referenceName, end: arg_end, pageToken: arg_pageToken, pageSize: arg_pageSize, start: arg_start, targetBucketWidth: arg_targetBucketWidth).then(unittest.expectAsync(((api.ListCoverageBucketsResponse response) {
checkListCoverageBucketsResponse(response);
})));
});
@@ -5626,10 +5626,10 @@
var mock = new HttpServerMock();
api.ReferencesBasesResourceApi res = new api.GenomicsApi(mock).references.bases;
var arg_referenceId = "foo";
- var arg_pageToken = "foo";
- var arg_pageSize = 42;
var arg_start = "foo";
var arg_end = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5663,10 +5663,10 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["start"].first, unittest.equals(arg_start));
unittest.expect(queryMap["end"].first, unittest.equals(arg_end));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -5675,7 +5675,7 @@
var resp = convert.JSON.encode(buildListBasesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_referenceId, pageToken: arg_pageToken, pageSize: arg_pageSize, start: arg_start, end: arg_end).then(unittest.expectAsync(((api.ListBasesResponse response) {
+ res.list(arg_referenceId, start: arg_start, end: arg_end, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListBasesResponse response) {
checkListBasesResponse(response);
})));
});
diff --git a/generated/googleapis/test/gmail/v1_test.dart b/generated/googleapis/test/gmail/v1_test.dart
index 3734169..743ca82 100644
--- a/generated/googleapis/test/gmail/v1_test.dart
+++ b/generated/googleapis/test/gmail/v1_test.dart
@@ -74,14 +74,14 @@
buildCounterAutoForwarding--;
}
-buildUnnamed98() {
+buildUnnamed119() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed98(core.List<core.String> o) {
+checkUnnamed119(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -92,7 +92,7 @@
var o = new api.BatchDeleteMessagesRequest();
buildCounterBatchDeleteMessagesRequest++;
if (buildCounterBatchDeleteMessagesRequest < 3) {
- o.ids = buildUnnamed98();
+ o.ids = buildUnnamed119();
}
buildCounterBatchDeleteMessagesRequest--;
return o;
@@ -101,45 +101,45 @@
checkBatchDeleteMessagesRequest(api.BatchDeleteMessagesRequest o) {
buildCounterBatchDeleteMessagesRequest++;
if (buildCounterBatchDeleteMessagesRequest < 3) {
- checkUnnamed98(o.ids);
+ checkUnnamed119(o.ids);
}
buildCounterBatchDeleteMessagesRequest--;
}
-buildUnnamed99() {
+buildUnnamed120() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed99(core.List<core.String> o) {
+checkUnnamed120(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed100() {
+buildUnnamed121() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed100(core.List<core.String> o) {
+checkUnnamed121(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed101() {
+buildUnnamed122() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed101(core.List<core.String> o) {
+checkUnnamed122(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -150,9 +150,9 @@
var o = new api.BatchModifyMessagesRequest();
buildCounterBatchModifyMessagesRequest++;
if (buildCounterBatchModifyMessagesRequest < 3) {
- o.addLabelIds = buildUnnamed99();
- o.ids = buildUnnamed100();
- o.removeLabelIds = buildUnnamed101();
+ o.addLabelIds = buildUnnamed120();
+ o.ids = buildUnnamed121();
+ o.removeLabelIds = buildUnnamed122();
}
buildCounterBatchModifyMessagesRequest--;
return o;
@@ -161,9 +161,9 @@
checkBatchModifyMessagesRequest(api.BatchModifyMessagesRequest o) {
buildCounterBatchModifyMessagesRequest++;
if (buildCounterBatchModifyMessagesRequest < 3) {
- checkUnnamed99(o.addLabelIds);
- checkUnnamed100(o.ids);
- checkUnnamed101(o.removeLabelIds);
+ checkUnnamed120(o.addLabelIds);
+ checkUnnamed121(o.ids);
+ checkUnnamed122(o.removeLabelIds);
}
buildCounterBatchModifyMessagesRequest--;
}
@@ -212,27 +212,27 @@
buildCounterFilter--;
}
-buildUnnamed102() {
+buildUnnamed123() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed102(core.List<core.String> o) {
+checkUnnamed123(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed103() {
+buildUnnamed124() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed103(core.List<core.String> o) {
+checkUnnamed124(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -243,9 +243,9 @@
var o = new api.FilterAction();
buildCounterFilterAction++;
if (buildCounterFilterAction < 3) {
- o.addLabelIds = buildUnnamed102();
+ o.addLabelIds = buildUnnamed123();
o.forward = "foo";
- o.removeLabelIds = buildUnnamed103();
+ o.removeLabelIds = buildUnnamed124();
}
buildCounterFilterAction--;
return o;
@@ -254,9 +254,9 @@
checkFilterAction(api.FilterAction o) {
buildCounterFilterAction++;
if (buildCounterFilterAction < 3) {
- checkUnnamed102(o.addLabelIds);
+ checkUnnamed123(o.addLabelIds);
unittest.expect(o.forward, unittest.equals('foo'));
- checkUnnamed103(o.removeLabelIds);
+ checkUnnamed124(o.removeLabelIds);
}
buildCounterFilterAction--;
}
@@ -317,66 +317,66 @@
buildCounterForwardingAddress--;
}
-buildUnnamed104() {
+buildUnnamed125() {
var o = new core.List<api.HistoryLabelAdded>();
o.add(buildHistoryLabelAdded());
o.add(buildHistoryLabelAdded());
return o;
}
-checkUnnamed104(core.List<api.HistoryLabelAdded> o) {
+checkUnnamed125(core.List<api.HistoryLabelAdded> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistoryLabelAdded(o[0]);
checkHistoryLabelAdded(o[1]);
}
-buildUnnamed105() {
+buildUnnamed126() {
var o = new core.List<api.HistoryLabelRemoved>();
o.add(buildHistoryLabelRemoved());
o.add(buildHistoryLabelRemoved());
return o;
}
-checkUnnamed105(core.List<api.HistoryLabelRemoved> o) {
+checkUnnamed126(core.List<api.HistoryLabelRemoved> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistoryLabelRemoved(o[0]);
checkHistoryLabelRemoved(o[1]);
}
-buildUnnamed106() {
+buildUnnamed127() {
var o = new core.List<api.Message>();
o.add(buildMessage());
o.add(buildMessage());
return o;
}
-checkUnnamed106(core.List<api.Message> o) {
+checkUnnamed127(core.List<api.Message> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessage(o[0]);
checkMessage(o[1]);
}
-buildUnnamed107() {
+buildUnnamed128() {
var o = new core.List<api.HistoryMessageAdded>();
o.add(buildHistoryMessageAdded());
o.add(buildHistoryMessageAdded());
return o;
}
-checkUnnamed107(core.List<api.HistoryMessageAdded> o) {
+checkUnnamed128(core.List<api.HistoryMessageAdded> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistoryMessageAdded(o[0]);
checkHistoryMessageAdded(o[1]);
}
-buildUnnamed108() {
+buildUnnamed129() {
var o = new core.List<api.HistoryMessageDeleted>();
o.add(buildHistoryMessageDeleted());
o.add(buildHistoryMessageDeleted());
return o;
}
-checkUnnamed108(core.List<api.HistoryMessageDeleted> o) {
+checkUnnamed129(core.List<api.HistoryMessageDeleted> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistoryMessageDeleted(o[0]);
checkHistoryMessageDeleted(o[1]);
@@ -388,11 +388,11 @@
buildCounterHistory++;
if (buildCounterHistory < 3) {
o.id = "foo";
- o.labelsAdded = buildUnnamed104();
- o.labelsRemoved = buildUnnamed105();
- o.messages = buildUnnamed106();
- o.messagesAdded = buildUnnamed107();
- o.messagesDeleted = buildUnnamed108();
+ o.labelsAdded = buildUnnamed125();
+ o.labelsRemoved = buildUnnamed126();
+ o.messages = buildUnnamed127();
+ o.messagesAdded = buildUnnamed128();
+ o.messagesDeleted = buildUnnamed129();
}
buildCounterHistory--;
return o;
@@ -402,23 +402,23 @@
buildCounterHistory++;
if (buildCounterHistory < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed104(o.labelsAdded);
- checkUnnamed105(o.labelsRemoved);
- checkUnnamed106(o.messages);
- checkUnnamed107(o.messagesAdded);
- checkUnnamed108(o.messagesDeleted);
+ checkUnnamed125(o.labelsAdded);
+ checkUnnamed126(o.labelsRemoved);
+ checkUnnamed127(o.messages);
+ checkUnnamed128(o.messagesAdded);
+ checkUnnamed129(o.messagesDeleted);
}
buildCounterHistory--;
}
-buildUnnamed109() {
+buildUnnamed130() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed109(core.List<core.String> o) {
+checkUnnamed130(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -429,7 +429,7 @@
var o = new api.HistoryLabelAdded();
buildCounterHistoryLabelAdded++;
if (buildCounterHistoryLabelAdded < 3) {
- o.labelIds = buildUnnamed109();
+ o.labelIds = buildUnnamed130();
o.message = buildMessage();
}
buildCounterHistoryLabelAdded--;
@@ -439,20 +439,20 @@
checkHistoryLabelAdded(api.HistoryLabelAdded o) {
buildCounterHistoryLabelAdded++;
if (buildCounterHistoryLabelAdded < 3) {
- checkUnnamed109(o.labelIds);
+ checkUnnamed130(o.labelIds);
checkMessage(o.message);
}
buildCounterHistoryLabelAdded--;
}
-buildUnnamed110() {
+buildUnnamed131() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed110(core.List<core.String> o) {
+checkUnnamed131(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -463,7 +463,7 @@
var o = new api.HistoryLabelRemoved();
buildCounterHistoryLabelRemoved++;
if (buildCounterHistoryLabelRemoved < 3) {
- o.labelIds = buildUnnamed110();
+ o.labelIds = buildUnnamed131();
o.message = buildMessage();
}
buildCounterHistoryLabelRemoved--;
@@ -473,7 +473,7 @@
checkHistoryLabelRemoved(api.HistoryLabelRemoved o) {
buildCounterHistoryLabelRemoved++;
if (buildCounterHistoryLabelRemoved < 3) {
- checkUnnamed110(o.labelIds);
+ checkUnnamed131(o.labelIds);
checkMessage(o.message);
}
buildCounterHistoryLabelRemoved--;
@@ -577,14 +577,14 @@
buildCounterLabel--;
}
-buildUnnamed111() {
+buildUnnamed132() {
var o = new core.List<api.Draft>();
o.add(buildDraft());
o.add(buildDraft());
return o;
}
-checkUnnamed111(core.List<api.Draft> o) {
+checkUnnamed132(core.List<api.Draft> o) {
unittest.expect(o, unittest.hasLength(2));
checkDraft(o[0]);
checkDraft(o[1]);
@@ -595,7 +595,7 @@
var o = new api.ListDraftsResponse();
buildCounterListDraftsResponse++;
if (buildCounterListDraftsResponse < 3) {
- o.drafts = buildUnnamed111();
+ o.drafts = buildUnnamed132();
o.nextPageToken = "foo";
o.resultSizeEstimate = 42;
}
@@ -606,21 +606,21 @@
checkListDraftsResponse(api.ListDraftsResponse o) {
buildCounterListDraftsResponse++;
if (buildCounterListDraftsResponse < 3) {
- checkUnnamed111(o.drafts);
+ checkUnnamed132(o.drafts);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.resultSizeEstimate, unittest.equals(42));
}
buildCounterListDraftsResponse--;
}
-buildUnnamed112() {
+buildUnnamed133() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed112(core.List<api.Filter> o) {
+checkUnnamed133(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -631,7 +631,7 @@
var o = new api.ListFiltersResponse();
buildCounterListFiltersResponse++;
if (buildCounterListFiltersResponse < 3) {
- o.filter = buildUnnamed112();
+ o.filter = buildUnnamed133();
}
buildCounterListFiltersResponse--;
return o;
@@ -640,19 +640,19 @@
checkListFiltersResponse(api.ListFiltersResponse o) {
buildCounterListFiltersResponse++;
if (buildCounterListFiltersResponse < 3) {
- checkUnnamed112(o.filter);
+ checkUnnamed133(o.filter);
}
buildCounterListFiltersResponse--;
}
-buildUnnamed113() {
+buildUnnamed134() {
var o = new core.List<api.ForwardingAddress>();
o.add(buildForwardingAddress());
o.add(buildForwardingAddress());
return o;
}
-checkUnnamed113(core.List<api.ForwardingAddress> o) {
+checkUnnamed134(core.List<api.ForwardingAddress> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingAddress(o[0]);
checkForwardingAddress(o[1]);
@@ -663,7 +663,7 @@
var o = new api.ListForwardingAddressesResponse();
buildCounterListForwardingAddressesResponse++;
if (buildCounterListForwardingAddressesResponse < 3) {
- o.forwardingAddresses = buildUnnamed113();
+ o.forwardingAddresses = buildUnnamed134();
}
buildCounterListForwardingAddressesResponse--;
return o;
@@ -672,19 +672,19 @@
checkListForwardingAddressesResponse(api.ListForwardingAddressesResponse o) {
buildCounterListForwardingAddressesResponse++;
if (buildCounterListForwardingAddressesResponse < 3) {
- checkUnnamed113(o.forwardingAddresses);
+ checkUnnamed134(o.forwardingAddresses);
}
buildCounterListForwardingAddressesResponse--;
}
-buildUnnamed114() {
+buildUnnamed135() {
var o = new core.List<api.History>();
o.add(buildHistory());
o.add(buildHistory());
return o;
}
-checkUnnamed114(core.List<api.History> o) {
+checkUnnamed135(core.List<api.History> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistory(o[0]);
checkHistory(o[1]);
@@ -695,7 +695,7 @@
var o = new api.ListHistoryResponse();
buildCounterListHistoryResponse++;
if (buildCounterListHistoryResponse < 3) {
- o.history = buildUnnamed114();
+ o.history = buildUnnamed135();
o.historyId = "foo";
o.nextPageToken = "foo";
}
@@ -706,21 +706,21 @@
checkListHistoryResponse(api.ListHistoryResponse o) {
buildCounterListHistoryResponse++;
if (buildCounterListHistoryResponse < 3) {
- checkUnnamed114(o.history);
+ checkUnnamed135(o.history);
unittest.expect(o.historyId, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListHistoryResponse--;
}
-buildUnnamed115() {
+buildUnnamed136() {
var o = new core.List<api.Label>();
o.add(buildLabel());
o.add(buildLabel());
return o;
}
-checkUnnamed115(core.List<api.Label> o) {
+checkUnnamed136(core.List<api.Label> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabel(o[0]);
checkLabel(o[1]);
@@ -731,7 +731,7 @@
var o = new api.ListLabelsResponse();
buildCounterListLabelsResponse++;
if (buildCounterListLabelsResponse < 3) {
- o.labels = buildUnnamed115();
+ o.labels = buildUnnamed136();
}
buildCounterListLabelsResponse--;
return o;
@@ -740,19 +740,19 @@
checkListLabelsResponse(api.ListLabelsResponse o) {
buildCounterListLabelsResponse++;
if (buildCounterListLabelsResponse < 3) {
- checkUnnamed115(o.labels);
+ checkUnnamed136(o.labels);
}
buildCounterListLabelsResponse--;
}
-buildUnnamed116() {
+buildUnnamed137() {
var o = new core.List<api.Message>();
o.add(buildMessage());
o.add(buildMessage());
return o;
}
-checkUnnamed116(core.List<api.Message> o) {
+checkUnnamed137(core.List<api.Message> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessage(o[0]);
checkMessage(o[1]);
@@ -763,7 +763,7 @@
var o = new api.ListMessagesResponse();
buildCounterListMessagesResponse++;
if (buildCounterListMessagesResponse < 3) {
- o.messages = buildUnnamed116();
+ o.messages = buildUnnamed137();
o.nextPageToken = "foo";
o.resultSizeEstimate = 42;
}
@@ -774,21 +774,21 @@
checkListMessagesResponse(api.ListMessagesResponse o) {
buildCounterListMessagesResponse++;
if (buildCounterListMessagesResponse < 3) {
- checkUnnamed116(o.messages);
+ checkUnnamed137(o.messages);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.resultSizeEstimate, unittest.equals(42));
}
buildCounterListMessagesResponse--;
}
-buildUnnamed117() {
+buildUnnamed138() {
var o = new core.List<api.SendAs>();
o.add(buildSendAs());
o.add(buildSendAs());
return o;
}
-checkUnnamed117(core.List<api.SendAs> o) {
+checkUnnamed138(core.List<api.SendAs> o) {
unittest.expect(o, unittest.hasLength(2));
checkSendAs(o[0]);
checkSendAs(o[1]);
@@ -799,7 +799,7 @@
var o = new api.ListSendAsResponse();
buildCounterListSendAsResponse++;
if (buildCounterListSendAsResponse < 3) {
- o.sendAs = buildUnnamed117();
+ o.sendAs = buildUnnamed138();
}
buildCounterListSendAsResponse--;
return o;
@@ -808,19 +808,19 @@
checkListSendAsResponse(api.ListSendAsResponse o) {
buildCounterListSendAsResponse++;
if (buildCounterListSendAsResponse < 3) {
- checkUnnamed117(o.sendAs);
+ checkUnnamed138(o.sendAs);
}
buildCounterListSendAsResponse--;
}
-buildUnnamed118() {
+buildUnnamed139() {
var o = new core.List<api.SmimeInfo>();
o.add(buildSmimeInfo());
o.add(buildSmimeInfo());
return o;
}
-checkUnnamed118(core.List<api.SmimeInfo> o) {
+checkUnnamed139(core.List<api.SmimeInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSmimeInfo(o[0]);
checkSmimeInfo(o[1]);
@@ -831,7 +831,7 @@
var o = new api.ListSmimeInfoResponse();
buildCounterListSmimeInfoResponse++;
if (buildCounterListSmimeInfoResponse < 3) {
- o.smimeInfo = buildUnnamed118();
+ o.smimeInfo = buildUnnamed139();
}
buildCounterListSmimeInfoResponse--;
return o;
@@ -840,19 +840,19 @@
checkListSmimeInfoResponse(api.ListSmimeInfoResponse o) {
buildCounterListSmimeInfoResponse++;
if (buildCounterListSmimeInfoResponse < 3) {
- checkUnnamed118(o.smimeInfo);
+ checkUnnamed139(o.smimeInfo);
}
buildCounterListSmimeInfoResponse--;
}
-buildUnnamed119() {
+buildUnnamed140() {
var o = new core.List<api.Thread>();
o.add(buildThread());
o.add(buildThread());
return o;
}
-checkUnnamed119(core.List<api.Thread> o) {
+checkUnnamed140(core.List<api.Thread> o) {
unittest.expect(o, unittest.hasLength(2));
checkThread(o[0]);
checkThread(o[1]);
@@ -865,7 +865,7 @@
if (buildCounterListThreadsResponse < 3) {
o.nextPageToken = "foo";
o.resultSizeEstimate = 42;
- o.threads = buildUnnamed119();
+ o.threads = buildUnnamed140();
}
buildCounterListThreadsResponse--;
return o;
@@ -876,19 +876,19 @@
if (buildCounterListThreadsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.resultSizeEstimate, unittest.equals(42));
- checkUnnamed119(o.threads);
+ checkUnnamed140(o.threads);
}
buildCounterListThreadsResponse--;
}
-buildUnnamed120() {
+buildUnnamed141() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed120(core.List<core.String> o) {
+checkUnnamed141(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -902,7 +902,7 @@
o.historyId = "foo";
o.id = "foo";
o.internalDate = "foo";
- o.labelIds = buildUnnamed120();
+ o.labelIds = buildUnnamed141();
o.payload = buildMessagePart();
o.raw = "foo";
o.sizeEstimate = 42;
@@ -919,7 +919,7 @@
unittest.expect(o.historyId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.internalDate, unittest.equals('foo'));
- checkUnnamed120(o.labelIds);
+ checkUnnamed141(o.labelIds);
checkMessagePart(o.payload);
unittest.expect(o.raw, unittest.equals('foo'));
unittest.expect(o.sizeEstimate, unittest.equals(42));
@@ -929,27 +929,27 @@
buildCounterMessage--;
}
-buildUnnamed121() {
+buildUnnamed142() {
var o = new core.List<api.MessagePartHeader>();
o.add(buildMessagePartHeader());
o.add(buildMessagePartHeader());
return o;
}
-checkUnnamed121(core.List<api.MessagePartHeader> o) {
+checkUnnamed142(core.List<api.MessagePartHeader> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessagePartHeader(o[0]);
checkMessagePartHeader(o[1]);
}
-buildUnnamed122() {
+buildUnnamed143() {
var o = new core.List<api.MessagePart>();
o.add(buildMessagePart());
o.add(buildMessagePart());
return o;
}
-checkUnnamed122(core.List<api.MessagePart> o) {
+checkUnnamed143(core.List<api.MessagePart> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessagePart(o[0]);
checkMessagePart(o[1]);
@@ -962,10 +962,10 @@
if (buildCounterMessagePart < 3) {
o.body = buildMessagePartBody();
o.filename = "foo";
- o.headers = buildUnnamed121();
+ o.headers = buildUnnamed142();
o.mimeType = "foo";
o.partId = "foo";
- o.parts = buildUnnamed122();
+ o.parts = buildUnnamed143();
}
buildCounterMessagePart--;
return o;
@@ -976,10 +976,10 @@
if (buildCounterMessagePart < 3) {
checkMessagePartBody(o.body);
unittest.expect(o.filename, unittest.equals('foo'));
- checkUnnamed121(o.headers);
+ checkUnnamed142(o.headers);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.partId, unittest.equals('foo'));
- checkUnnamed122(o.parts);
+ checkUnnamed143(o.parts);
}
buildCounterMessagePart--;
}
@@ -1028,27 +1028,27 @@
buildCounterMessagePartHeader--;
}
-buildUnnamed123() {
+buildUnnamed144() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed123(core.List<core.String> o) {
+checkUnnamed144(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed124() {
+buildUnnamed145() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed124(core.List<core.String> o) {
+checkUnnamed145(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1059,8 +1059,8 @@
var o = new api.ModifyMessageRequest();
buildCounterModifyMessageRequest++;
if (buildCounterModifyMessageRequest < 3) {
- o.addLabelIds = buildUnnamed123();
- o.removeLabelIds = buildUnnamed124();
+ o.addLabelIds = buildUnnamed144();
+ o.removeLabelIds = buildUnnamed145();
}
buildCounterModifyMessageRequest--;
return o;
@@ -1069,33 +1069,33 @@
checkModifyMessageRequest(api.ModifyMessageRequest o) {
buildCounterModifyMessageRequest++;
if (buildCounterModifyMessageRequest < 3) {
- checkUnnamed123(o.addLabelIds);
- checkUnnamed124(o.removeLabelIds);
+ checkUnnamed144(o.addLabelIds);
+ checkUnnamed145(o.removeLabelIds);
}
buildCounterModifyMessageRequest--;
}
-buildUnnamed125() {
+buildUnnamed146() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed125(core.List<core.String> o) {
+checkUnnamed146(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed126() {
+buildUnnamed147() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed126(core.List<core.String> o) {
+checkUnnamed147(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1106,8 +1106,8 @@
var o = new api.ModifyThreadRequest();
buildCounterModifyThreadRequest++;
if (buildCounterModifyThreadRequest < 3) {
- o.addLabelIds = buildUnnamed125();
- o.removeLabelIds = buildUnnamed126();
+ o.addLabelIds = buildUnnamed146();
+ o.removeLabelIds = buildUnnamed147();
}
buildCounterModifyThreadRequest--;
return o;
@@ -1116,8 +1116,8 @@
checkModifyThreadRequest(api.ModifyThreadRequest o) {
buildCounterModifyThreadRequest++;
if (buildCounterModifyThreadRequest < 3) {
- checkUnnamed125(o.addLabelIds);
- checkUnnamed126(o.removeLabelIds);
+ checkUnnamed146(o.addLabelIds);
+ checkUnnamed147(o.removeLabelIds);
}
buildCounterModifyThreadRequest--;
}
@@ -1261,14 +1261,14 @@
buildCounterSmtpMsa--;
}
-buildUnnamed127() {
+buildUnnamed148() {
var o = new core.List<api.Message>();
o.add(buildMessage());
o.add(buildMessage());
return o;
}
-checkUnnamed127(core.List<api.Message> o) {
+checkUnnamed148(core.List<api.Message> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessage(o[0]);
checkMessage(o[1]);
@@ -1281,7 +1281,7 @@
if (buildCounterThread < 3) {
o.historyId = "foo";
o.id = "foo";
- o.messages = buildUnnamed127();
+ o.messages = buildUnnamed148();
o.snippet = "foo";
}
buildCounterThread--;
@@ -1293,7 +1293,7 @@
if (buildCounterThread < 3) {
unittest.expect(o.historyId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed127(o.messages);
+ checkUnnamed148(o.messages);
unittest.expect(o.snippet, unittest.equals('foo'));
}
buildCounterThread--;
@@ -1332,14 +1332,14 @@
buildCounterVacationSettings--;
}
-buildUnnamed128() {
+buildUnnamed149() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed128(core.List<core.String> o) {
+checkUnnamed149(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1351,7 +1351,7 @@
buildCounterWatchRequest++;
if (buildCounterWatchRequest < 3) {
o.labelFilterAction = "foo";
- o.labelIds = buildUnnamed128();
+ o.labelIds = buildUnnamed149();
o.topicName = "foo";
}
buildCounterWatchRequest--;
@@ -1362,7 +1362,7 @@
buildCounterWatchRequest++;
if (buildCounterWatchRequest < 3) {
unittest.expect(o.labelFilterAction, unittest.equals('foo'));
- checkUnnamed128(o.labelIds);
+ checkUnnamed149(o.labelIds);
unittest.expect(o.topicName, unittest.equals('foo'));
}
buildCounterWatchRequest--;
@@ -1389,66 +1389,66 @@
buildCounterWatchResponse--;
}
-buildUnnamed129() {
+buildUnnamed150() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed129(core.List<core.String> o) {
+checkUnnamed150(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed130() {
+buildUnnamed151() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed130(core.List<core.String> o) {
+checkUnnamed151(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed131() {
+buildUnnamed152() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed131(core.List<core.String> o) {
+checkUnnamed152(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed132() {
+buildUnnamed153() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed132(core.List<core.String> o) {
+checkUnnamed153(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed133() {
+buildUnnamed154() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed133(core.List<core.String> o) {
+checkUnnamed154(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2230,7 +2230,7 @@
var mock = new HttpServerMock();
api.UsersHistoryResourceApi res = new api.GmailApi(mock).users.history;
var arg_userId = "foo";
- var arg_historyTypes = buildUnnamed129();
+ var arg_historyTypes = buildUnnamed150();
var arg_labelId = "foo";
var arg_maxResults = 42;
var arg_pageToken = "foo";
@@ -2687,7 +2687,7 @@
var arg_userId = "foo";
var arg_id = "foo";
var arg_format = "foo";
- var arg_metadataHeaders = buildUnnamed130();
+ var arg_metadataHeaders = buildUnnamed151();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2841,7 +2841,7 @@
api.UsersMessagesResourceApi res = new api.GmailApi(mock).users.messages;
var arg_userId = "foo";
var arg_includeSpamTrash = true;
- var arg_labelIds = buildUnnamed131();
+ var arg_labelIds = buildUnnamed152();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_q = "foo";
@@ -4409,7 +4409,7 @@
var arg_userId = "foo";
var arg_id = "foo";
var arg_format = "foo";
- var arg_metadataHeaders = buildUnnamed132();
+ var arg_metadataHeaders = buildUnnamed153();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4455,7 +4455,7 @@
api.UsersThreadsResourceApi res = new api.GmailApi(mock).users.threads;
var arg_userId = "foo";
var arg_includeSpamTrash = true;
- var arg_labelIds = buildUnnamed133();
+ var arg_labelIds = buildUnnamed154();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_q = "foo";
diff --git a/generated/googleapis/test/iam/v1_test.dart b/generated/googleapis/test/iam/v1_test.dart
index ffad222..f2afa9c 100644
--- a/generated/googleapis/test/iam/v1_test.dart
+++ b/generated/googleapis/test/iam/v1_test.dart
@@ -70,14 +70,14 @@
buildCounterAuditData--;
}
-buildUnnamed1109() {
+buildUnnamed1140() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1109(core.List<core.String> o) {
+checkUnnamed1140(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -88,7 +88,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1109();
+ o.members = buildUnnamed1140();
o.role = "foo";
}
buildCounterBinding--;
@@ -98,7 +98,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1109(o.members);
+ checkUnnamed1140(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -186,14 +186,14 @@
buildCounterEmpty--;
}
-buildUnnamed1110() {
+buildUnnamed1141() {
var o = new core.List<api.ServiceAccountKey>();
o.add(buildServiceAccountKey());
o.add(buildServiceAccountKey());
return o;
}
-checkUnnamed1110(core.List<api.ServiceAccountKey> o) {
+checkUnnamed1141(core.List<api.ServiceAccountKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccountKey(o[0]);
checkServiceAccountKey(o[1]);
@@ -204,7 +204,7 @@
var o = new api.ListServiceAccountKeysResponse();
buildCounterListServiceAccountKeysResponse++;
if (buildCounterListServiceAccountKeysResponse < 3) {
- o.keys = buildUnnamed1110();
+ o.keys = buildUnnamed1141();
}
buildCounterListServiceAccountKeysResponse--;
return o;
@@ -213,19 +213,19 @@
checkListServiceAccountKeysResponse(api.ListServiceAccountKeysResponse o) {
buildCounterListServiceAccountKeysResponse++;
if (buildCounterListServiceAccountKeysResponse < 3) {
- checkUnnamed1110(o.keys);
+ checkUnnamed1141(o.keys);
}
buildCounterListServiceAccountKeysResponse--;
}
-buildUnnamed1111() {
+buildUnnamed1142() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed1111(core.List<api.ServiceAccount> o) {
+checkUnnamed1142(core.List<api.ServiceAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccount(o[0]);
checkServiceAccount(o[1]);
@@ -236,7 +236,7 @@
var o = new api.ListServiceAccountsResponse();
buildCounterListServiceAccountsResponse++;
if (buildCounterListServiceAccountsResponse < 3) {
- o.accounts = buildUnnamed1111();
+ o.accounts = buildUnnamed1142();
o.nextPageToken = "foo";
}
buildCounterListServiceAccountsResponse--;
@@ -246,20 +246,20 @@
checkListServiceAccountsResponse(api.ListServiceAccountsResponse o) {
buildCounterListServiceAccountsResponse++;
if (buildCounterListServiceAccountsResponse < 3) {
- checkUnnamed1111(o.accounts);
+ checkUnnamed1142(o.accounts);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListServiceAccountsResponse--;
}
-buildUnnamed1112() {
+buildUnnamed1143() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1112(core.List<api.Binding> o) {
+checkUnnamed1143(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -270,7 +270,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed1112();
+ o.bindings = buildUnnamed1143();
o.etag = "foo";
o.version = 42;
}
@@ -281,21 +281,21 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1112(o.bindings);
+ checkUnnamed1143(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed1113() {
+buildUnnamed1144() {
var o = new core.List<api.BindingDelta>();
o.add(buildBindingDelta());
o.add(buildBindingDelta());
return o;
}
-checkUnnamed1113(core.List<api.BindingDelta> o) {
+checkUnnamed1144(core.List<api.BindingDelta> o) {
unittest.expect(o, unittest.hasLength(2));
checkBindingDelta(o[0]);
checkBindingDelta(o[1]);
@@ -306,7 +306,7 @@
var o = new api.PolicyDelta();
buildCounterPolicyDelta++;
if (buildCounterPolicyDelta < 3) {
- o.bindingDeltas = buildUnnamed1113();
+ o.bindingDeltas = buildUnnamed1144();
}
buildCounterPolicyDelta--;
return o;
@@ -315,7 +315,7 @@
checkPolicyDelta(api.PolicyDelta o) {
buildCounterPolicyDelta++;
if (buildCounterPolicyDelta < 3) {
- checkUnnamed1113(o.bindingDeltas);
+ checkUnnamed1144(o.bindingDeltas);
}
buildCounterPolicyDelta--;
}
@@ -339,14 +339,14 @@
buildCounterQueryGrantableRolesRequest--;
}
-buildUnnamed1114() {
+buildUnnamed1145() {
var o = new core.List<api.Role>();
o.add(buildRole());
o.add(buildRole());
return o;
}
-checkUnnamed1114(core.List<api.Role> o) {
+checkUnnamed1145(core.List<api.Role> o) {
unittest.expect(o, unittest.hasLength(2));
checkRole(o[0]);
checkRole(o[1]);
@@ -357,7 +357,7 @@
var o = new api.QueryGrantableRolesResponse();
buildCounterQueryGrantableRolesResponse++;
if (buildCounterQueryGrantableRolesResponse < 3) {
- o.roles = buildUnnamed1114();
+ o.roles = buildUnnamed1145();
}
buildCounterQueryGrantableRolesResponse--;
return o;
@@ -366,7 +366,7 @@
checkQueryGrantableRolesResponse(api.QueryGrantableRolesResponse o) {
buildCounterQueryGrantableRolesResponse++;
if (buildCounterQueryGrantableRolesResponse < 3) {
- checkUnnamed1114(o.roles);
+ checkUnnamed1145(o.roles);
}
buildCounterQueryGrantableRolesResponse--;
}
@@ -555,14 +555,14 @@
buildCounterSignJwtResponse--;
}
-buildUnnamed1115() {
+buildUnnamed1146() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1115(core.List<core.String> o) {
+checkUnnamed1146(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -573,7 +573,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1115();
+ o.permissions = buildUnnamed1146();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -582,19 +582,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1115(o.permissions);
+ checkUnnamed1146(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1116() {
+buildUnnamed1147() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1116(core.List<core.String> o) {
+checkUnnamed1147(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -605,7 +605,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1116();
+ o.permissions = buildUnnamed1147();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -614,19 +614,19 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1116(o.permissions);
+ checkUnnamed1147(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed1117() {
+buildUnnamed1148() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1117(core.List<core.String> o) {
+checkUnnamed1148(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1461,7 +1461,7 @@
var mock = new HttpServerMock();
api.ProjectsServiceAccountsKeysResourceApi res = new api.IamApi(mock).projects.serviceAccounts.keys;
var arg_name = "foo";
- var arg_keyTypes = buildUnnamed1117();
+ var arg_keyTypes = buildUnnamed1148();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
diff --git a/generated/googleapis/test/identitytoolkit/v3_test.dart b/generated/googleapis/test/identitytoolkit/v3_test.dart
index 935c667..d490611 100644
--- a/generated/googleapis/test/identitytoolkit/v3_test.dart
+++ b/generated/googleapis/test/identitytoolkit/v3_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2082() {
+buildUnnamed2187() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2082(core.List<core.String> o) {
+checkUnnamed2187(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -69,7 +69,7 @@
var o = new api.CreateAuthUriResponse();
buildCounterCreateAuthUriResponse++;
if (buildCounterCreateAuthUriResponse < 3) {
- o.allProviders = buildUnnamed2082();
+ o.allProviders = buildUnnamed2187();
o.authUri = "foo";
o.captchaRequired = true;
o.forExistingProvider = true;
@@ -85,7 +85,7 @@
checkCreateAuthUriResponse(api.CreateAuthUriResponse o) {
buildCounterCreateAuthUriResponse++;
if (buildCounterCreateAuthUriResponse < 3) {
- checkUnnamed2082(o.allProviders);
+ checkUnnamed2187(o.allProviders);
unittest.expect(o.authUri, unittest.equals('foo'));
unittest.expect(o.captchaRequired, unittest.isTrue);
unittest.expect(o.forExistingProvider, unittest.isTrue);
@@ -116,14 +116,14 @@
buildCounterDeleteAccountResponse--;
}
-buildUnnamed2083() {
+buildUnnamed2188() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed2083(core.List<api.UserInfo> o) {
+checkUnnamed2188(core.List<api.UserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfo(o[0]);
checkUserInfo(o[1]);
@@ -136,7 +136,7 @@
if (buildCounterDownloadAccountResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.users = buildUnnamed2083();
+ o.users = buildUnnamed2188();
}
buildCounterDownloadAccountResponse--;
return o;
@@ -147,7 +147,7 @@
if (buildCounterDownloadAccountResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2083(o.users);
+ checkUnnamed2188(o.users);
}
buildCounterDownloadAccountResponse--;
}
@@ -181,14 +181,14 @@
buildCounterEmailTemplate--;
}
-buildUnnamed2084() {
+buildUnnamed2189() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed2084(core.List<api.UserInfo> o) {
+checkUnnamed2189(core.List<api.UserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfo(o[0]);
checkUserInfo(o[1]);
@@ -200,7 +200,7 @@
buildCounterGetAccountInfoResponse++;
if (buildCounterGetAccountInfoResponse < 3) {
o.kind = "foo";
- o.users = buildUnnamed2084();
+ o.users = buildUnnamed2189();
}
buildCounterGetAccountInfoResponse--;
return o;
@@ -210,7 +210,7 @@
buildCounterGetAccountInfoResponse++;
if (buildCounterGetAccountInfoResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2084(o.users);
+ checkUnnamed2189(o.users);
}
buildCounterGetAccountInfoResponse--;
}
@@ -261,14 +261,14 @@
buildCounterGetRecaptchaParamResponse--;
}
-buildUnnamed2085() {
+buildUnnamed2190() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2085(core.Map<core.String, core.String> o) {
+checkUnnamed2190(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -284,7 +284,7 @@
o.clientId = "foo";
o.context = "foo";
o.continueUri = "foo";
- o.customParameter = buildUnnamed2085();
+ o.customParameter = buildUnnamed2190();
o.hostedDomain = "foo";
o.identifier = "foo";
o.oauthConsumerKey = "foo";
@@ -306,7 +306,7 @@
unittest.expect(o.clientId, unittest.equals('foo'));
unittest.expect(o.context, unittest.equals('foo'));
unittest.expect(o.continueUri, unittest.equals('foo'));
- checkUnnamed2085(o.customParameter);
+ checkUnnamed2190(o.customParameter);
unittest.expect(o.hostedDomain, unittest.equals('foo'));
unittest.expect(o.identifier, unittest.equals('foo'));
unittest.expect(o.oauthConsumerKey, unittest.equals('foo'));
@@ -367,27 +367,27 @@
buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--;
}
-buildUnnamed2086() {
+buildUnnamed2191() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2086(core.List<core.String> o) {
+checkUnnamed2191(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2087() {
+buildUnnamed2192() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2087(core.List<core.String> o) {
+checkUnnamed2192(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -399,9 +399,9 @@
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++;
if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) {
o.delegatedProjectNumber = "foo";
- o.email = buildUnnamed2086();
+ o.email = buildUnnamed2191();
o.idToken = "foo";
- o.localId = buildUnnamed2087();
+ o.localId = buildUnnamed2192();
}
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--;
return o;
@@ -411,34 +411,34 @@
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++;
if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) {
unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
- checkUnnamed2086(o.email);
+ checkUnnamed2191(o.email);
unittest.expect(o.idToken, unittest.equals('foo'));
- checkUnnamed2087(o.localId);
+ checkUnnamed2192(o.localId);
}
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--;
}
-buildUnnamed2088() {
+buildUnnamed2193() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2088(core.List<core.String> o) {
+checkUnnamed2193(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2089() {
+buildUnnamed2194() {
var o = new core.List<api.IdpConfig>();
o.add(buildIdpConfig());
o.add(buildIdpConfig());
return o;
}
-checkUnnamed2089(core.List<api.IdpConfig> o) {
+checkUnnamed2194(core.List<api.IdpConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkIdpConfig(o[0]);
checkIdpConfig(o[1]);
@@ -451,11 +451,11 @@
if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) {
o.allowPasswordUser = true;
o.apiKey = "foo";
- o.authorizedDomains = buildUnnamed2088();
+ o.authorizedDomains = buildUnnamed2193();
o.changeEmailTemplate = buildEmailTemplate();
o.dynamicLinksDomain = "foo";
o.enableAnonymousUser = true;
- o.idpConfig = buildUnnamed2089();
+ o.idpConfig = buildUnnamed2194();
o.legacyResetPasswordTemplate = buildEmailTemplate();
o.projectId = "foo";
o.resetPasswordTemplate = buildEmailTemplate();
@@ -471,11 +471,11 @@
if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) {
unittest.expect(o.allowPasswordUser, unittest.isTrue);
unittest.expect(o.apiKey, unittest.equals('foo'));
- checkUnnamed2088(o.authorizedDomains);
+ checkUnnamed2193(o.authorizedDomains);
checkEmailTemplate(o.changeEmailTemplate);
unittest.expect(o.dynamicLinksDomain, unittest.equals('foo'));
unittest.expect(o.enableAnonymousUser, unittest.isTrue);
- checkUnnamed2089(o.idpConfig);
+ checkUnnamed2194(o.idpConfig);
checkEmailTemplate(o.legacyResetPasswordTemplate);
unittest.expect(o.projectId, unittest.equals('foo'));
checkEmailTemplate(o.resetPasswordTemplate);
@@ -523,40 +523,40 @@
buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--;
}
-buildUnnamed2090() {
+buildUnnamed2195() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2090(core.List<core.String> o) {
+checkUnnamed2195(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2091() {
+buildUnnamed2196() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2091(core.List<core.String> o) {
+checkUnnamed2196(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2092() {
+buildUnnamed2197() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2092(core.List<core.String> o) {
+checkUnnamed2197(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -571,8 +571,8 @@
o.captchaResponse = "foo";
o.createdAt = "foo";
o.delegatedProjectNumber = "foo";
- o.deleteAttribute = buildUnnamed2090();
- o.deleteProvider = buildUnnamed2091();
+ o.deleteAttribute = buildUnnamed2195();
+ o.deleteProvider = buildUnnamed2196();
o.disableUser = true;
o.displayName = "foo";
o.email = "foo";
@@ -584,7 +584,7 @@
o.oobCode = "foo";
o.password = "foo";
o.photoUrl = "foo";
- o.provider = buildUnnamed2092();
+ o.provider = buildUnnamed2197();
o.returnSecureToken = true;
o.upgradeToFederatedLogin = true;
o.validSince = "foo";
@@ -600,8 +600,8 @@
unittest.expect(o.captchaResponse, unittest.equals('foo'));
unittest.expect(o.createdAt, unittest.equals('foo'));
unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
- checkUnnamed2090(o.deleteAttribute);
- checkUnnamed2091(o.deleteProvider);
+ checkUnnamed2195(o.deleteAttribute);
+ checkUnnamed2196(o.deleteProvider);
unittest.expect(o.disableUser, unittest.isTrue);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.email, unittest.equals('foo'));
@@ -613,7 +613,7 @@
unittest.expect(o.oobCode, unittest.equals('foo'));
unittest.expect(o.password, unittest.equals('foo'));
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2092(o.provider);
+ checkUnnamed2197(o.provider);
unittest.expect(o.returnSecureToken, unittest.isTrue);
unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue);
unittest.expect(o.validSince, unittest.equals('foo'));
@@ -621,27 +621,27 @@
buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--;
}
-buildUnnamed2093() {
+buildUnnamed2198() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2093(core.List<core.String> o) {
+checkUnnamed2198(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2094() {
+buildUnnamed2199() {
var o = new core.List<api.IdpConfig>();
o.add(buildIdpConfig());
o.add(buildIdpConfig());
return o;
}
-checkUnnamed2094(core.List<api.IdpConfig> o) {
+checkUnnamed2199(core.List<api.IdpConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkIdpConfig(o[0]);
checkIdpConfig(o[1]);
@@ -654,11 +654,11 @@
if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) {
o.allowPasswordUser = true;
o.apiKey = "foo";
- o.authorizedDomains = buildUnnamed2093();
+ o.authorizedDomains = buildUnnamed2198();
o.changeEmailTemplate = buildEmailTemplate();
o.delegatedProjectNumber = "foo";
o.enableAnonymousUser = true;
- o.idpConfig = buildUnnamed2094();
+ o.idpConfig = buildUnnamed2199();
o.legacyResetPasswordTemplate = buildEmailTemplate();
o.resetPasswordTemplate = buildEmailTemplate();
o.useEmailSending = true;
@@ -673,11 +673,11 @@
if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) {
unittest.expect(o.allowPasswordUser, unittest.isTrue);
unittest.expect(o.apiKey, unittest.equals('foo'));
- checkUnnamed2093(o.authorizedDomains);
+ checkUnnamed2198(o.authorizedDomains);
checkEmailTemplate(o.changeEmailTemplate);
unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
unittest.expect(o.enableAnonymousUser, unittest.isTrue);
- checkUnnamed2094(o.idpConfig);
+ checkUnnamed2199(o.idpConfig);
checkEmailTemplate(o.legacyResetPasswordTemplate);
checkEmailTemplate(o.resetPasswordTemplate);
unittest.expect(o.useEmailSending, unittest.isTrue);
@@ -784,14 +784,14 @@
buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--;
}
-buildUnnamed2095() {
+buildUnnamed2200() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed2095(core.List<api.UserInfo> o) {
+checkUnnamed2200(core.List<api.UserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfo(o[0]);
checkUserInfo(o[1]);
@@ -811,7 +811,7 @@
o.sanityCheck = true;
o.signerKey = "foo";
o.targetProjectId = "foo";
- o.users = buildUnnamed2095();
+ o.users = buildUnnamed2200();
}
buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--;
return o;
@@ -829,7 +829,7 @@
unittest.expect(o.sanityCheck, unittest.isTrue);
unittest.expect(o.signerKey, unittest.equals('foo'));
unittest.expect(o.targetProjectId, unittest.equals('foo'));
- checkUnnamed2095(o.users);
+ checkUnnamed2200(o.users);
}
buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--;
}
@@ -839,6 +839,7 @@
var o = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest();
buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++;
if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) {
+ o.autoCreate = true;
o.delegatedProjectNumber = "foo";
o.idToken = "foo";
o.instanceId = "foo";
@@ -857,6 +858,7 @@
checkIdentitytoolkitRelyingpartyVerifyAssertionRequest(api.IdentitytoolkitRelyingpartyVerifyAssertionRequest o) {
buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++;
if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) {
+ unittest.expect(o.autoCreate, unittest.isTrue);
unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
unittest.expect(o.idToken, unittest.equals('foo'));
unittest.expect(o.instanceId, unittest.equals('foo'));
@@ -931,14 +933,14 @@
buildCounterIdentitytoolkitRelyingpartyVerifyPasswordRequest--;
}
-buildUnnamed2096() {
+buildUnnamed2201() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2096(core.List<core.String> o) {
+checkUnnamed2201(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -954,7 +956,7 @@
o.experimentPercent = 42;
o.provider = "foo";
o.secret = "foo";
- o.whitelistedAudiences = buildUnnamed2096();
+ o.whitelistedAudiences = buildUnnamed2201();
}
buildCounterIdpConfig--;
return o;
@@ -968,7 +970,7 @@
unittest.expect(o.experimentPercent, unittest.equals(42));
unittest.expect(o.provider, unittest.equals('foo'));
unittest.expect(o.secret, unittest.equals('foo'));
- checkUnnamed2096(o.whitelistedAudiences);
+ checkUnnamed2201(o.whitelistedAudiences);
}
buildCounterIdpConfig--;
}
@@ -978,9 +980,16 @@
var o = new api.Relyingparty();
buildCounterRelyingparty++;
if (buildCounterRelyingparty < 3) {
+ o.androidInstallApp = true;
+ o.androidMinimumVersion = "foo";
+ o.androidPackageName = "foo";
+ o.canHandleCodeInApp = true;
o.captchaResp = "foo";
o.challenge = "foo";
+ o.continueUrl = "foo";
o.email = "foo";
+ o.iOSAppStoreId = "foo";
+ o.iOSBundleId = "foo";
o.idToken = "foo";
o.kind = "foo";
o.newEmail = "foo";
@@ -994,9 +1003,16 @@
checkRelyingparty(api.Relyingparty o) {
buildCounterRelyingparty++;
if (buildCounterRelyingparty < 3) {
+ unittest.expect(o.androidInstallApp, unittest.isTrue);
+ unittest.expect(o.androidMinimumVersion, unittest.equals('foo'));
+ unittest.expect(o.androidPackageName, unittest.equals('foo'));
+ unittest.expect(o.canHandleCodeInApp, unittest.isTrue);
unittest.expect(o.captchaResp, unittest.equals('foo'));
unittest.expect(o.challenge, unittest.equals('foo'));
+ unittest.expect(o.continueUrl, unittest.equals('foo'));
unittest.expect(o.email, unittest.equals('foo'));
+ unittest.expect(o.iOSAppStoreId, unittest.equals('foo'));
+ unittest.expect(o.iOSBundleId, unittest.equals('foo'));
unittest.expect(o.idToken, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.newEmail, unittest.equals('foo'));
@@ -1056,14 +1072,14 @@
buildCounterSetAccountInfoResponseProviderUserInfo--;
}
-buildUnnamed2097() {
+buildUnnamed2202() {
var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>();
o.add(buildSetAccountInfoResponseProviderUserInfo());
o.add(buildSetAccountInfoResponseProviderUserInfo());
return o;
}
-checkUnnamed2097(core.List<api.SetAccountInfoResponseProviderUserInfo> o) {
+checkUnnamed2202(core.List<api.SetAccountInfoResponseProviderUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSetAccountInfoResponseProviderUserInfo(o[0]);
checkSetAccountInfoResponseProviderUserInfo(o[1]);
@@ -1084,7 +1100,7 @@
o.newEmail = "foo";
o.passwordHash = "foo";
o.photoUrl = "foo";
- o.providerUserInfo = buildUnnamed2097();
+ o.providerUserInfo = buildUnnamed2202();
o.refreshToken = "foo";
}
buildCounterSetAccountInfoResponse--;
@@ -1104,7 +1120,7 @@
unittest.expect(o.newEmail, unittest.equals('foo'));
unittest.expect(o.passwordHash, unittest.equals('foo'));
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2097(o.providerUserInfo);
+ checkUnnamed2202(o.providerUserInfo);
unittest.expect(o.refreshToken, unittest.equals('foo'));
}
buildCounterSetAccountInfoResponse--;
@@ -1162,14 +1178,14 @@
buildCounterUploadAccountResponseError--;
}
-buildUnnamed2098() {
+buildUnnamed2203() {
var o = new core.List<api.UploadAccountResponseError>();
o.add(buildUploadAccountResponseError());
o.add(buildUploadAccountResponseError());
return o;
}
-checkUnnamed2098(core.List<api.UploadAccountResponseError> o) {
+checkUnnamed2203(core.List<api.UploadAccountResponseError> o) {
unittest.expect(o, unittest.hasLength(2));
checkUploadAccountResponseError(o[0]);
checkUploadAccountResponseError(o[1]);
@@ -1180,7 +1196,7 @@
var o = new api.UploadAccountResponse();
buildCounterUploadAccountResponse++;
if (buildCounterUploadAccountResponse < 3) {
- o.error = buildUnnamed2098();
+ o.error = buildUnnamed2203();
o.kind = "foo";
}
buildCounterUploadAccountResponse--;
@@ -1190,7 +1206,7 @@
checkUploadAccountResponse(api.UploadAccountResponse o) {
buildCounterUploadAccountResponse++;
if (buildCounterUploadAccountResponse < 3) {
- checkUnnamed2098(o.error);
+ checkUnnamed2203(o.error);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterUploadAccountResponse--;
@@ -1227,14 +1243,14 @@
buildCounterUserInfoProviderUserInfo--;
}
-buildUnnamed2099() {
+buildUnnamed2204() {
var o = new core.List<api.UserInfoProviderUserInfo>();
o.add(buildUserInfoProviderUserInfo());
o.add(buildUserInfoProviderUserInfo());
return o;
}
-checkUnnamed2099(core.List<api.UserInfoProviderUserInfo> o) {
+checkUnnamed2204(core.List<api.UserInfoProviderUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfoProviderUserInfo(o[0]);
checkUserInfoProviderUserInfo(o[1]);
@@ -1256,7 +1272,7 @@
o.passwordHash = "foo";
o.passwordUpdatedAt = 42.0;
o.photoUrl = "foo";
- o.providerUserInfo = buildUnnamed2099();
+ o.providerUserInfo = buildUnnamed2204();
o.rawPassword = "foo";
o.salt = "foo";
o.screenName = "foo";
@@ -1281,7 +1297,7 @@
unittest.expect(o.passwordHash, unittest.equals('foo'));
unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0));
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2099(o.providerUserInfo);
+ checkUnnamed2204(o.providerUserInfo);
unittest.expect(o.rawPassword, unittest.equals('foo'));
unittest.expect(o.salt, unittest.equals('foo'));
unittest.expect(o.screenName, unittest.equals('foo'));
@@ -1291,14 +1307,14 @@
buildCounterUserInfo--;
}
-buildUnnamed2100() {
+buildUnnamed2205() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2100(core.List<core.String> o) {
+checkUnnamed2205(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1347,7 +1363,7 @@
o.refreshToken = "foo";
o.screenName = "foo";
o.timeZone = "foo";
- o.verifiedProvider = buildUnnamed2100();
+ o.verifiedProvider = buildUnnamed2205();
}
buildCounterVerifyAssertionResponse--;
return o;
@@ -1394,7 +1410,7 @@
unittest.expect(o.refreshToken, unittest.equals('foo'));
unittest.expect(o.screenName, unittest.equals('foo'));
unittest.expect(o.timeZone, unittest.equals('foo'));
- checkUnnamed2100(o.verifiedProvider);
+ checkUnnamed2205(o.verifiedProvider);
}
buildCounterVerifyAssertionResponse--;
}
diff --git a/generated/googleapis/test/kgsearch/v1_test.dart b/generated/googleapis/test/kgsearch/v1_test.dart
index 5a96a4a..2790337 100644
--- a/generated/googleapis/test/kgsearch/v1_test.dart
+++ b/generated/googleapis/test/kgsearch/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed888() {
+buildUnnamed914() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed888(core.List<core.Object> o) {
+checkUnnamed914(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) 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[1]) 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'));
@@ -71,7 +71,7 @@
if (buildCounterSearchResponse < 3) {
o.P_context = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.P_type = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
- o.itemListElement = buildUnnamed888();
+ o.itemListElement = buildUnnamed914();
}
buildCounterSearchResponse--;
return o;
@@ -82,45 +82,45 @@
if (buildCounterSearchResponse < 3) {
var casted3 = (o.P_context) 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.P_type) 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'));
- checkUnnamed888(o.itemListElement);
+ checkUnnamed914(o.itemListElement);
}
buildCounterSearchResponse--;
}
-buildUnnamed889() {
+buildUnnamed915() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed889(core.List<core.String> o) {
+checkUnnamed915(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed890() {
+buildUnnamed916() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed890(core.List<core.String> o) {
+checkUnnamed916(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed891() {
+buildUnnamed917() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed891(core.List<core.String> o) {
+checkUnnamed917(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -142,13 +142,13 @@
var mock = new HttpServerMock();
api.EntitiesResourceApi res = new api.KgsearchApi(mock).entities;
+ var arg_ids = buildUnnamed915();
+ var arg_limit = 42;
var arg_prefix = true;
var arg_query = "foo";
- var arg_types = buildUnnamed889();
+ var arg_types = buildUnnamed916();
var arg_indent = true;
- var arg_languages = buildUnnamed890();
- var arg_ids = buildUnnamed891();
- var arg_limit = 42;
+ var arg_languages = buildUnnamed917();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -175,13 +175,13 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["limit"].first), unittest.equals(arg_limit));
unittest.expect(queryMap["prefix"].first, unittest.equals("$arg_prefix"));
unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
unittest.expect(queryMap["types"], unittest.equals(arg_types));
unittest.expect(queryMap["indent"].first, unittest.equals("$arg_indent"));
unittest.expect(queryMap["languages"], unittest.equals(arg_languages));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(core.int.parse(queryMap["limit"].first), unittest.equals(arg_limit));
var h = {
@@ -190,7 +190,7 @@
var resp = convert.JSON.encode(buildSearchResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.search(prefix: arg_prefix, query: arg_query, types: arg_types, indent: arg_indent, languages: arg_languages, ids: arg_ids, limit: arg_limit).then(unittest.expectAsync(((api.SearchResponse response) {
+ res.search(ids: arg_ids, limit: arg_limit, prefix: arg_prefix, query: arg_query, types: arg_types, indent: arg_indent, languages: arg_languages).then(unittest.expectAsync(((api.SearchResponse response) {
checkSearchResponse(response);
})));
});
diff --git a/generated/googleapis/test/language/v1_test.dart b/generated/googleapis/test/language/v1_test.dart
index 41e2d35..8104799 100644
--- a/generated/googleapis/test/language/v1_test.dart
+++ b/generated/googleapis/test/language/v1_test.dart
@@ -72,14 +72,14 @@
buildCounterAnalyzeEntitiesRequest--;
}
-buildUnnamed765() {
+buildUnnamed791() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed765(core.List<api.Entity> o) {
+checkUnnamed791(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
@@ -90,7 +90,7 @@
var o = new api.AnalyzeEntitiesResponse();
buildCounterAnalyzeEntitiesResponse++;
if (buildCounterAnalyzeEntitiesResponse < 3) {
- o.entities = buildUnnamed765();
+ o.entities = buildUnnamed791();
o.language = "foo";
}
buildCounterAnalyzeEntitiesResponse--;
@@ -100,7 +100,7 @@
checkAnalyzeEntitiesResponse(api.AnalyzeEntitiesResponse o) {
buildCounterAnalyzeEntitiesResponse++;
if (buildCounterAnalyzeEntitiesResponse < 3) {
- checkUnnamed765(o.entities);
+ checkUnnamed791(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
}
buildCounterAnalyzeEntitiesResponse--;
@@ -127,14 +127,14 @@
buildCounterAnalyzeSentimentRequest--;
}
-buildUnnamed766() {
+buildUnnamed792() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed766(core.List<api.Sentence> o) {
+checkUnnamed792(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
@@ -147,7 +147,7 @@
if (buildCounterAnalyzeSentimentResponse < 3) {
o.documentSentiment = buildSentiment();
o.language = "foo";
- o.sentences = buildUnnamed766();
+ o.sentences = buildUnnamed792();
}
buildCounterAnalyzeSentimentResponse--;
return o;
@@ -158,7 +158,7 @@
if (buildCounterAnalyzeSentimentResponse < 3) {
checkSentiment(o.documentSentiment);
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed766(o.sentences);
+ checkUnnamed792(o.sentences);
}
buildCounterAnalyzeSentimentResponse--;
}
@@ -184,27 +184,27 @@
buildCounterAnalyzeSyntaxRequest--;
}
-buildUnnamed767() {
+buildUnnamed793() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed767(core.List<api.Sentence> o) {
+checkUnnamed793(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
}
-buildUnnamed768() {
+buildUnnamed794() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed768(core.List<api.Token> o) {
+checkUnnamed794(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -216,8 +216,8 @@
buildCounterAnalyzeSyntaxResponse++;
if (buildCounterAnalyzeSyntaxResponse < 3) {
o.language = "foo";
- o.sentences = buildUnnamed767();
- o.tokens = buildUnnamed768();
+ o.sentences = buildUnnamed793();
+ o.tokens = buildUnnamed794();
}
buildCounterAnalyzeSyntaxResponse--;
return o;
@@ -227,8 +227,8 @@
buildCounterAnalyzeSyntaxResponse++;
if (buildCounterAnalyzeSyntaxResponse < 3) {
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed767(o.sentences);
- checkUnnamed768(o.tokens);
+ checkUnnamed793(o.sentences);
+ checkUnnamed794(o.tokens);
}
buildCounterAnalyzeSyntaxResponse--;
}
@@ -256,40 +256,40 @@
buildCounterAnnotateTextRequest--;
}
-buildUnnamed769() {
+buildUnnamed795() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed769(core.List<api.Entity> o) {
+checkUnnamed795(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
}
-buildUnnamed770() {
+buildUnnamed796() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed770(core.List<api.Sentence> o) {
+checkUnnamed796(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
}
-buildUnnamed771() {
+buildUnnamed797() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed771(core.List<api.Token> o) {
+checkUnnamed797(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -301,10 +301,10 @@
buildCounterAnnotateTextResponse++;
if (buildCounterAnnotateTextResponse < 3) {
o.documentSentiment = buildSentiment();
- o.entities = buildUnnamed769();
+ o.entities = buildUnnamed795();
o.language = "foo";
- o.sentences = buildUnnamed770();
- o.tokens = buildUnnamed771();
+ o.sentences = buildUnnamed796();
+ o.tokens = buildUnnamed797();
}
buildCounterAnnotateTextResponse--;
return o;
@@ -314,10 +314,10 @@
buildCounterAnnotateTextResponse++;
if (buildCounterAnnotateTextResponse < 3) {
checkSentiment(o.documentSentiment);
- checkUnnamed769(o.entities);
+ checkUnnamed795(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed770(o.sentences);
- checkUnnamed771(o.tokens);
+ checkUnnamed796(o.sentences);
+ checkUnnamed797(o.tokens);
}
buildCounterAnnotateTextResponse--;
}
@@ -368,27 +368,27 @@
buildCounterDocument--;
}
-buildUnnamed772() {
+buildUnnamed798() {
var o = new core.List<api.EntityMention>();
o.add(buildEntityMention());
o.add(buildEntityMention());
return o;
}
-checkUnnamed772(core.List<api.EntityMention> o) {
+checkUnnamed798(core.List<api.EntityMention> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityMention(o[0]);
checkEntityMention(o[1]);
}
-buildUnnamed773() {
+buildUnnamed799() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed773(core.Map<core.String, core.String> o) {
+checkUnnamed799(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -399,8 +399,8 @@
var o = new api.Entity();
buildCounterEntity++;
if (buildCounterEntity < 3) {
- o.mentions = buildUnnamed772();
- o.metadata = buildUnnamed773();
+ o.mentions = buildUnnamed798();
+ o.metadata = buildUnnamed799();
o.name = "foo";
o.salience = 42.0;
o.type = "foo";
@@ -412,8 +412,8 @@
checkEntity(api.Entity o) {
buildCounterEntity++;
if (buildCounterEntity < 3) {
- checkUnnamed772(o.mentions);
- checkUnnamed773(o.metadata);
+ checkUnnamed798(o.mentions);
+ checkUnnamed799(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.salience, unittest.equals(42.0));
unittest.expect(o.type, unittest.equals('foo'));
@@ -548,30 +548,30 @@
buildCounterSentiment--;
}
-buildUnnamed774() {
+buildUnnamed800() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed774(core.Map<core.String, core.Object> o) {
+checkUnnamed800(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed775() {
+buildUnnamed801() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed774());
- o.add(buildUnnamed774());
+ o.add(buildUnnamed800());
+ o.add(buildUnnamed800());
return o;
}
-checkUnnamed775(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed801(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed774(o[0]);
- checkUnnamed774(o[1]);
+ checkUnnamed800(o[0]);
+ checkUnnamed800(o[1]);
}
core.int buildCounterStatus = 0;
@@ -580,7 +580,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed775();
+ o.details = buildUnnamed801();
o.message = "foo";
}
buildCounterStatus--;
@@ -591,7 +591,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed775(o.details);
+ checkUnnamed801(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
diff --git a/generated/googleapis/test/licensing/v1_test.dart b/generated/googleapis/test/licensing/v1_test.dart
index 46f9322..467db26 100644
--- a/generated/googleapis/test/licensing/v1_test.dart
+++ b/generated/googleapis/test/licensing/v1_test.dart
@@ -59,8 +59,10 @@
o.etags = "foo";
o.kind = "foo";
o.productId = "foo";
+ o.productName = "foo";
o.selfLink = "foo";
o.skuId = "foo";
+ o.skuName = "foo";
o.userId = "foo";
}
buildCounterLicenseAssignment--;
@@ -73,8 +75,10 @@
unittest.expect(o.etags, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.productId, unittest.equals('foo'));
+ unittest.expect(o.productName, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.skuId, unittest.equals('foo'));
+ unittest.expect(o.skuName, unittest.equals('foo'));
unittest.expect(o.userId, unittest.equals('foo'));
}
buildCounterLicenseAssignment--;
@@ -99,14 +103,14 @@
buildCounterLicenseAssignmentInsert--;
}
-buildUnnamed1768() {
+buildUnnamed1872() {
var o = new core.List<api.LicenseAssignment>();
o.add(buildLicenseAssignment());
o.add(buildLicenseAssignment());
return o;
}
-checkUnnamed1768(core.List<api.LicenseAssignment> o) {
+checkUnnamed1872(core.List<api.LicenseAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkLicenseAssignment(o[0]);
checkLicenseAssignment(o[1]);
@@ -118,7 +122,7 @@
buildCounterLicenseAssignmentList++;
if (buildCounterLicenseAssignmentList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1768();
+ o.items = buildUnnamed1872();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -130,7 +134,7 @@
buildCounterLicenseAssignmentList++;
if (buildCounterLicenseAssignmentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1768(o.items);
+ checkUnnamed1872(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
diff --git a/generated/googleapis/test/logging/v2_test.dart b/generated/googleapis/test/logging/v2_test.dart
index 7f97c25..7bb594d 100644
--- a/generated/googleapis/test/logging/v2_test.dart
+++ b/generated/googleapis/test/logging/v2_test.dart
@@ -136,27 +136,27 @@
buildCounterLabelDescriptor--;
}
-buildUnnamed179() {
+buildUnnamed200() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed179(core.List<core.String> o) {
+checkUnnamed200(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed180() {
+buildUnnamed201() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed180(core.List<core.String> o) {
+checkUnnamed201(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -171,8 +171,8 @@
o.orderBy = "foo";
o.pageSize = 42;
o.pageToken = "foo";
- o.projectIds = buildUnnamed179();
- o.resourceNames = buildUnnamed180();
+ o.projectIds = buildUnnamed200();
+ o.resourceNames = buildUnnamed201();
}
buildCounterListLogEntriesRequest--;
return o;
@@ -185,20 +185,20 @@
unittest.expect(o.orderBy, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed179(o.projectIds);
- checkUnnamed180(o.resourceNames);
+ checkUnnamed200(o.projectIds);
+ checkUnnamed201(o.resourceNames);
}
buildCounterListLogEntriesRequest--;
}
-buildUnnamed181() {
+buildUnnamed202() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed181(core.List<api.LogEntry> o) {
+checkUnnamed202(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
@@ -209,7 +209,7 @@
var o = new api.ListLogEntriesResponse();
buildCounterListLogEntriesResponse++;
if (buildCounterListLogEntriesResponse < 3) {
- o.entries = buildUnnamed181();
+ o.entries = buildUnnamed202();
o.nextPageToken = "foo";
}
buildCounterListLogEntriesResponse--;
@@ -219,20 +219,20 @@
checkListLogEntriesResponse(api.ListLogEntriesResponse o) {
buildCounterListLogEntriesResponse++;
if (buildCounterListLogEntriesResponse < 3) {
- checkUnnamed181(o.entries);
+ checkUnnamed202(o.entries);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogEntriesResponse--;
}
-buildUnnamed182() {
+buildUnnamed203() {
var o = new core.List<api.LogMetric>();
o.add(buildLogMetric());
o.add(buildLogMetric());
return o;
}
-checkUnnamed182(core.List<api.LogMetric> o) {
+checkUnnamed203(core.List<api.LogMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogMetric(o[0]);
checkLogMetric(o[1]);
@@ -243,7 +243,7 @@
var o = new api.ListLogMetricsResponse();
buildCounterListLogMetricsResponse++;
if (buildCounterListLogMetricsResponse < 3) {
- o.metrics = buildUnnamed182();
+ o.metrics = buildUnnamed203();
o.nextPageToken = "foo";
}
buildCounterListLogMetricsResponse--;
@@ -253,20 +253,20 @@
checkListLogMetricsResponse(api.ListLogMetricsResponse o) {
buildCounterListLogMetricsResponse++;
if (buildCounterListLogMetricsResponse < 3) {
- checkUnnamed182(o.metrics);
+ checkUnnamed203(o.metrics);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogMetricsResponse--;
}
-buildUnnamed183() {
+buildUnnamed204() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed183(core.List<core.String> o) {
+checkUnnamed204(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -277,7 +277,7 @@
var o = new api.ListLogsResponse();
buildCounterListLogsResponse++;
if (buildCounterListLogsResponse < 3) {
- o.logNames = buildUnnamed183();
+ o.logNames = buildUnnamed204();
o.nextPageToken = "foo";
}
buildCounterListLogsResponse--;
@@ -287,20 +287,20 @@
checkListLogsResponse(api.ListLogsResponse o) {
buildCounterListLogsResponse++;
if (buildCounterListLogsResponse < 3) {
- checkUnnamed183(o.logNames);
+ checkUnnamed204(o.logNames);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogsResponse--;
}
-buildUnnamed184() {
+buildUnnamed205() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed184(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed205(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
@@ -312,7 +312,7 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
o.nextPageToken = "foo";
- o.resourceDescriptors = buildUnnamed184();
+ o.resourceDescriptors = buildUnnamed205();
}
buildCounterListMonitoredResourceDescriptorsResponse--;
return o;
@@ -322,19 +322,19 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed184(o.resourceDescriptors);
+ checkUnnamed205(o.resourceDescriptors);
}
buildCounterListMonitoredResourceDescriptorsResponse--;
}
-buildUnnamed185() {
+buildUnnamed206() {
var o = new core.List<api.LogSink>();
o.add(buildLogSink());
o.add(buildLogSink());
return o;
}
-checkUnnamed185(core.List<api.LogSink> o) {
+checkUnnamed206(core.List<api.LogSink> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogSink(o[0]);
checkLogSink(o[1]);
@@ -346,7 +346,7 @@
buildCounterListSinksResponse++;
if (buildCounterListSinksResponse < 3) {
o.nextPageToken = "foo";
- o.sinks = buildUnnamed185();
+ o.sinks = buildUnnamed206();
}
buildCounterListSinksResponse--;
return o;
@@ -356,45 +356,45 @@
buildCounterListSinksResponse++;
if (buildCounterListSinksResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed185(o.sinks);
+ checkUnnamed206(o.sinks);
}
buildCounterListSinksResponse--;
}
-buildUnnamed186() {
+buildUnnamed207() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed186(core.Map<core.String, core.Object> o) {
+checkUnnamed207(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed187() {
+buildUnnamed208() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed187(core.Map<core.String, core.String> o) {
+checkUnnamed208(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed188() {
+buildUnnamed209() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed188(core.Map<core.String, core.Object> o) {
+checkUnnamed209(core.Map<core.String, core.Object> 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'));
@@ -407,11 +407,11 @@
if (buildCounterLogEntry < 3) {
o.httpRequest = buildHttpRequest();
o.insertId = "foo";
- o.jsonPayload = buildUnnamed186();
- o.labels = buildUnnamed187();
+ o.jsonPayload = buildUnnamed207();
+ o.labels = buildUnnamed208();
o.logName = "foo";
o.operation = buildLogEntryOperation();
- o.protoPayload = buildUnnamed188();
+ o.protoPayload = buildUnnamed209();
o.resource = buildMonitoredResource();
o.severity = "foo";
o.sourceLocation = buildLogEntrySourceLocation();
@@ -428,11 +428,11 @@
if (buildCounterLogEntry < 3) {
checkHttpRequest(o.httpRequest);
unittest.expect(o.insertId, unittest.equals('foo'));
- checkUnnamed186(o.jsonPayload);
- checkUnnamed187(o.labels);
+ checkUnnamed207(o.jsonPayload);
+ checkUnnamed208(o.labels);
unittest.expect(o.logName, unittest.equals('foo'));
checkLogEntryOperation(o.operation);
- checkUnnamed188(o.protoPayload);
+ checkUnnamed209(o.protoPayload);
checkMonitoredResource(o.resource);
unittest.expect(o.severity, unittest.equals('foo'));
checkLogEntrySourceLocation(o.sourceLocation);
@@ -572,14 +572,14 @@
buildCounterLogSink--;
}
-buildUnnamed189() {
+buildUnnamed210() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed189(core.Map<core.String, core.String> o) {
+checkUnnamed210(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -590,7 +590,7 @@
var o = new api.MonitoredResource();
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- o.labels = buildUnnamed189();
+ o.labels = buildUnnamed210();
o.type = "foo";
}
buildCounterMonitoredResource--;
@@ -600,20 +600,20 @@
checkMonitoredResource(api.MonitoredResource o) {
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- checkUnnamed189(o.labels);
+ checkUnnamed210(o.labels);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResource--;
}
-buildUnnamed190() {
+buildUnnamed211() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed190(core.List<api.LabelDescriptor> o) {
+checkUnnamed211(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -626,7 +626,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed190();
+ o.labels = buildUnnamed211();
o.name = "foo";
o.type = "foo";
}
@@ -639,34 +639,34 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed190(o.labels);
+ checkUnnamed211(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed191() {
+buildUnnamed212() {
var o = new core.List<api.LogLine>();
o.add(buildLogLine());
o.add(buildLogLine());
return o;
}
-checkUnnamed191(core.List<api.LogLine> o) {
+checkUnnamed212(core.List<api.LogLine> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogLine(o[0]);
checkLogLine(o[1]);
}
-buildUnnamed192() {
+buildUnnamed213() {
var o = new core.List<api.SourceReference>();
o.add(buildSourceReference());
o.add(buildSourceReference());
return o;
}
-checkUnnamed192(core.List<api.SourceReference> o) {
+checkUnnamed213(core.List<api.SourceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceReference(o[0]);
checkSourceReference(o[1]);
@@ -689,7 +689,7 @@
o.instanceIndex = 42;
o.ip = "foo";
o.latency = "foo";
- o.line = buildUnnamed191();
+ o.line = buildUnnamed212();
o.megaCycles = "foo";
o.method = "foo";
o.moduleId = "foo";
@@ -699,7 +699,7 @@
o.requestId = "foo";
o.resource = "foo";
o.responseSize = "foo";
- o.sourceReference = buildUnnamed192();
+ o.sourceReference = buildUnnamed213();
o.startTime = "foo";
o.status = 42;
o.taskName = "foo";
@@ -729,7 +729,7 @@
unittest.expect(o.instanceIndex, unittest.equals(42));
unittest.expect(o.ip, unittest.equals('foo'));
unittest.expect(o.latency, unittest.equals('foo'));
- checkUnnamed191(o.line);
+ checkUnnamed212(o.line);
unittest.expect(o.megaCycles, unittest.equals('foo'));
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.moduleId, unittest.equals('foo'));
@@ -739,7 +739,7 @@
unittest.expect(o.requestId, unittest.equals('foo'));
unittest.expect(o.resource, unittest.equals('foo'));
unittest.expect(o.responseSize, unittest.equals('foo'));
- checkUnnamed192(o.sourceReference);
+ checkUnnamed213(o.sourceReference);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals(42));
unittest.expect(o.taskName, unittest.equals('foo'));
@@ -797,27 +797,27 @@
buildCounterSourceReference--;
}
-buildUnnamed193() {
+buildUnnamed214() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed193(core.List<api.LogEntry> o) {
+checkUnnamed214(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
}
-buildUnnamed194() {
+buildUnnamed215() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed194(core.Map<core.String, core.String> o) {
+checkUnnamed215(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -828,8 +828,8 @@
var o = new api.WriteLogEntriesRequest();
buildCounterWriteLogEntriesRequest++;
if (buildCounterWriteLogEntriesRequest < 3) {
- o.entries = buildUnnamed193();
- o.labels = buildUnnamed194();
+ o.entries = buildUnnamed214();
+ o.labels = buildUnnamed215();
o.logName = "foo";
o.partialSuccess = true;
o.resource = buildMonitoredResource();
@@ -841,8 +841,8 @@
checkWriteLogEntriesRequest(api.WriteLogEntriesRequest o) {
buildCounterWriteLogEntriesRequest++;
if (buildCounterWriteLogEntriesRequest < 3) {
- checkUnnamed193(o.entries);
- checkUnnamed194(o.labels);
+ checkUnnamed214(o.entries);
+ checkUnnamed215(o.labels);
unittest.expect(o.logName, unittest.equals('foo'));
unittest.expect(o.partialSuccess, unittest.isTrue);
checkMonitoredResource(o.resource);
@@ -1118,8 +1118,8 @@
var mock = new HttpServerMock();
api.BillingAccountsLogsResourceApi res = new api.LoggingApi(mock).billingAccounts.logs;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1147,8 +1147,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1157,7 +1157,7 @@
var resp = convert.JSON.encode(buildListLogsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListLogsResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListLogsResponse response) {
checkListLogsResponse(response);
})));
});
@@ -1753,8 +1753,8 @@
var mock = new HttpServerMock();
api.FoldersSinksResourceApi res = new api.LoggingApi(mock).folders.sinks;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1782,8 +1782,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1792,7 +1792,7 @@
var resp = convert.JSON.encode(buildListSinksResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListSinksResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListSinksResponse response) {
checkListSinksResponse(response);
})));
});
@@ -1953,8 +1953,8 @@
var mock = new HttpServerMock();
api.OrganizationsLogsResourceApi res = new api.LoggingApi(mock).organizations.logs;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1982,8 +1982,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1992,7 +1992,7 @@
var resp = convert.JSON.encode(buildListLogsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListLogsResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListLogsResponse response) {
checkListLogsResponse(response);
})));
});
@@ -2147,8 +2147,8 @@
var mock = new HttpServerMock();
api.OrganizationsSinksResourceApi res = new api.LoggingApi(mock).organizations.sinks;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2176,8 +2176,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -2186,7 +2186,7 @@
var resp = convert.JSON.encode(buildListSinksResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListSinksResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListSinksResponse response) {
checkListSinksResponse(response);
})));
});
diff --git a/generated/googleapis/test/manufacturers/v1_test.dart b/generated/googleapis/test/manufacturers/v1_test.dart
index 63a1b14..3d80f76 100644
--- a/generated/googleapis/test/manufacturers/v1_test.dart
+++ b/generated/googleapis/test/manufacturers/v1_test.dart
@@ -51,27 +51,79 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1341() {
+buildUnnamed1394() {
+ var o = new core.List<api.Image>();
+ o.add(buildImage());
+ o.add(buildImage());
+ return o;
+}
+
+checkUnnamed1394(core.List<api.Image> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkImage(o[0]);
+ checkImage(o[1]);
+}
+
+buildUnnamed1395() {
+ var o = new core.List<api.FeatureDescription>();
+ o.add(buildFeatureDescription());
+ o.add(buildFeatureDescription());
+ return o;
+}
+
+checkUnnamed1395(core.List<api.FeatureDescription> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkFeatureDescription(o[0]);
+ checkFeatureDescription(o[1]);
+}
+
+buildUnnamed1396() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1341(core.List<core.String> o) {
+checkUnnamed1396(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1342() {
+buildUnnamed1397() {
+ var o = new core.List<api.ProductDetail>();
+ o.add(buildProductDetail());
+ o.add(buildProductDetail());
+ return o;
+}
+
+checkUnnamed1397(core.List<api.ProductDetail> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkProductDetail(o[0]);
+ checkProductDetail(o[1]);
+}
+
+buildUnnamed1398() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1342(core.List<core.String> o) {
+checkUnnamed1398(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1399() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1399(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,14 +134,38 @@
var o = new api.Attributes();
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
+ o.additionalImageLink = buildUnnamed1394();
+ o.ageGroup = "foo";
o.brand = "foo";
- o.gtin = buildUnnamed1341();
+ o.capacity = buildCapacity();
+ o.color = "foo";
+ o.count = buildCount();
+ o.description = "foo";
+ o.disclosureDate = "foo";
+ o.featureDescription = buildUnnamed1395();
+ o.flavor = "foo";
+ o.format = "foo";
+ o.gender = "foo";
+ o.gtin = buildUnnamed1396();
+ o.imageLink = buildImage();
+ o.itemGroupId = "foo";
+ o.material = "foo";
o.mpn = "foo";
+ o.pattern = "foo";
+ o.productDetail = buildUnnamed1397();
o.productLine = "foo";
o.productName = "foo";
o.productPageUrl = "foo";
- o.productType = buildUnnamed1342();
+ o.productType = buildUnnamed1398();
+ o.releaseDate = "foo";
+ o.scent = "foo";
+ o.size = "foo";
+ o.sizeSystem = "foo";
+ o.sizeType = "foo";
+ o.suggestedRetailPrice = buildPrice();
+ o.theme = "foo";
o.title = "foo";
+ o.videoLink = buildUnnamed1399();
}
buildCounterAttributes--;
return o;
@@ -98,18 +174,130 @@
checkAttributes(api.Attributes o) {
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
+ checkUnnamed1394(o.additionalImageLink);
+ unittest.expect(o.ageGroup, unittest.equals('foo'));
unittest.expect(o.brand, unittest.equals('foo'));
- checkUnnamed1341(o.gtin);
+ checkCapacity(o.capacity);
+ unittest.expect(o.color, unittest.equals('foo'));
+ checkCount(o.count);
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.disclosureDate, unittest.equals('foo'));
+ checkUnnamed1395(o.featureDescription);
+ unittest.expect(o.flavor, unittest.equals('foo'));
+ unittest.expect(o.format, unittest.equals('foo'));
+ unittest.expect(o.gender, unittest.equals('foo'));
+ checkUnnamed1396(o.gtin);
+ checkImage(o.imageLink);
+ unittest.expect(o.itemGroupId, unittest.equals('foo'));
+ unittest.expect(o.material, unittest.equals('foo'));
unittest.expect(o.mpn, unittest.equals('foo'));
+ unittest.expect(o.pattern, unittest.equals('foo'));
+ checkUnnamed1397(o.productDetail);
unittest.expect(o.productLine, unittest.equals('foo'));
unittest.expect(o.productName, unittest.equals('foo'));
unittest.expect(o.productPageUrl, unittest.equals('foo'));
- checkUnnamed1342(o.productType);
+ checkUnnamed1398(o.productType);
+ unittest.expect(o.releaseDate, unittest.equals('foo'));
+ unittest.expect(o.scent, unittest.equals('foo'));
+ unittest.expect(o.size, unittest.equals('foo'));
+ unittest.expect(o.sizeSystem, unittest.equals('foo'));
+ unittest.expect(o.sizeType, unittest.equals('foo'));
+ checkPrice(o.suggestedRetailPrice);
+ unittest.expect(o.theme, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
+ checkUnnamed1399(o.videoLink);
}
buildCounterAttributes--;
}
+core.int buildCounterCapacity = 0;
+buildCapacity() {
+ var o = new api.Capacity();
+ buildCounterCapacity++;
+ if (buildCounterCapacity < 3) {
+ o.unit = "foo";
+ o.value = "foo";
+ }
+ buildCounterCapacity--;
+ return o;
+}
+
+checkCapacity(api.Capacity o) {
+ buildCounterCapacity++;
+ if (buildCounterCapacity < 3) {
+ unittest.expect(o.unit, unittest.equals('foo'));
+ unittest.expect(o.value, unittest.equals('foo'));
+ }
+ buildCounterCapacity--;
+}
+
+core.int buildCounterCount = 0;
+buildCount() {
+ var o = new api.Count();
+ buildCounterCount++;
+ if (buildCounterCount < 3) {
+ o.unit = "foo";
+ o.value = "foo";
+ }
+ buildCounterCount--;
+ return o;
+}
+
+checkCount(api.Count o) {
+ buildCounterCount++;
+ if (buildCounterCount < 3) {
+ unittest.expect(o.unit, unittest.equals('foo'));
+ unittest.expect(o.value, unittest.equals('foo'));
+ }
+ buildCounterCount--;
+}
+
+core.int buildCounterFeatureDescription = 0;
+buildFeatureDescription() {
+ var o = new api.FeatureDescription();
+ buildCounterFeatureDescription++;
+ if (buildCounterFeatureDescription < 3) {
+ o.headline = "foo";
+ o.image = buildImage();
+ o.text = "foo";
+ }
+ buildCounterFeatureDescription--;
+ return o;
+}
+
+checkFeatureDescription(api.FeatureDescription o) {
+ buildCounterFeatureDescription++;
+ if (buildCounterFeatureDescription < 3) {
+ unittest.expect(o.headline, unittest.equals('foo'));
+ checkImage(o.image);
+ unittest.expect(o.text, unittest.equals('foo'));
+ }
+ buildCounterFeatureDescription--;
+}
+
+core.int buildCounterImage = 0;
+buildImage() {
+ var o = new api.Image();
+ buildCounterImage++;
+ if (buildCounterImage < 3) {
+ o.imageUrl = "foo";
+ o.status = "foo";
+ o.type = "foo";
+ }
+ buildCounterImage--;
+ return o;
+}
+
+checkImage(api.Image o) {
+ buildCounterImage++;
+ if (buildCounterImage < 3) {
+ unittest.expect(o.imageUrl, unittest.equals('foo'));
+ unittest.expect(o.status, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterImage--;
+}
+
core.int buildCounterIssue = 0;
buildIssue() {
var o = new api.Issue();
@@ -118,6 +306,7 @@
o.attribute = "foo";
o.description = "foo";
o.severity = "foo";
+ o.timestamp = "foo";
o.type = "foo";
}
buildCounterIssue--;
@@ -130,19 +319,20 @@
unittest.expect(o.attribute, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.severity, unittest.equals('foo'));
+ unittest.expect(o.timestamp, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterIssue--;
}
-buildUnnamed1343() {
+buildUnnamed1400() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed1343(core.List<api.Product> o) {
+checkUnnamed1400(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -154,7 +344,7 @@
buildCounterListProductsResponse++;
if (buildCounterListProductsResponse < 3) {
o.nextPageToken = "foo";
- o.products = buildUnnamed1343();
+ o.products = buildUnnamed1400();
}
buildCounterListProductsResponse--;
return o;
@@ -164,32 +354,53 @@
buildCounterListProductsResponse++;
if (buildCounterListProductsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1343(o.products);
+ checkUnnamed1400(o.products);
}
buildCounterListProductsResponse--;
}
-buildUnnamed1344() {
+core.int buildCounterPrice = 0;
+buildPrice() {
+ var o = new api.Price();
+ buildCounterPrice++;
+ if (buildCounterPrice < 3) {
+ o.amount = "foo";
+ o.currency = "foo";
+ }
+ buildCounterPrice--;
+ return o;
+}
+
+checkPrice(api.Price o) {
+ buildCounterPrice++;
+ if (buildCounterPrice < 3) {
+ unittest.expect(o.amount, unittest.equals('foo'));
+ unittest.expect(o.currency, unittest.equals('foo'));
+ }
+ buildCounterPrice--;
+}
+
+buildUnnamed1401() {
var o = new core.List<api.Issue>();
o.add(buildIssue());
o.add(buildIssue());
return o;
}
-checkUnnamed1344(core.List<api.Issue> o) {
+checkUnnamed1401(core.List<api.Issue> o) {
unittest.expect(o, unittest.hasLength(2));
checkIssue(o[0]);
checkIssue(o[1]);
}
-buildUnnamed1345() {
+buildUnnamed1402() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1345(core.List<core.String> o) {
+checkUnnamed1402(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -202,8 +413,8 @@
if (buildCounterProduct < 3) {
o.contentLanguage = "foo";
o.finalAttributes = buildAttributes();
- o.issues = buildUnnamed1344();
- o.manuallyDeletedAttributes = buildUnnamed1345();
+ o.issues = buildUnnamed1401();
+ o.manuallyDeletedAttributes = buildUnnamed1402();
o.manuallyProvidedAttributes = buildAttributes();
o.name = "foo";
o.parent = "foo";
@@ -220,8 +431,8 @@
if (buildCounterProduct < 3) {
unittest.expect(o.contentLanguage, unittest.equals('foo'));
checkAttributes(o.finalAttributes);
- checkUnnamed1344(o.issues);
- checkUnnamed1345(o.manuallyDeletedAttributes);
+ checkUnnamed1401(o.issues);
+ checkUnnamed1402(o.manuallyDeletedAttributes);
checkAttributes(o.manuallyProvidedAttributes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
@@ -232,6 +443,29 @@
buildCounterProduct--;
}
+core.int buildCounterProductDetail = 0;
+buildProductDetail() {
+ var o = new api.ProductDetail();
+ buildCounterProductDetail++;
+ if (buildCounterProductDetail < 3) {
+ o.attributeName = "foo";
+ o.attributeValue = "foo";
+ o.sectionName = "foo";
+ }
+ buildCounterProductDetail--;
+ return o;
+}
+
+checkProductDetail(api.ProductDetail o) {
+ buildCounterProductDetail++;
+ if (buildCounterProductDetail < 3) {
+ unittest.expect(o.attributeName, unittest.equals('foo'));
+ unittest.expect(o.attributeValue, unittest.equals('foo'));
+ unittest.expect(o.sectionName, unittest.equals('foo'));
+ }
+ buildCounterProductDetail--;
+}
+
main() {
unittest.group("obj-schema-Attributes", () {
@@ -243,6 +477,42 @@
});
+ unittest.group("obj-schema-Capacity", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCapacity();
+ var od = new api.Capacity.fromJson(o.toJson());
+ checkCapacity(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Count", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCount();
+ var od = new api.Count.fromJson(o.toJson());
+ checkCount(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-FeatureDescription", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFeatureDescription();
+ var od = new api.FeatureDescription.fromJson(o.toJson());
+ checkFeatureDescription(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Image", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildImage();
+ var od = new api.Image.fromJson(o.toJson());
+ checkImage(od);
+ });
+ });
+
+
unittest.group("obj-schema-Issue", () {
unittest.test("to-json--from-json", () {
var o = buildIssue();
@@ -261,6 +531,15 @@
});
+ unittest.group("obj-schema-Price", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPrice();
+ var od = new api.Price.fromJson(o.toJson());
+ checkPrice(od);
+ });
+ });
+
+
unittest.group("obj-schema-Product", () {
unittest.test("to-json--from-json", () {
var o = buildProduct();
@@ -270,6 +549,15 @@
});
+ unittest.group("obj-schema-ProductDetail", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildProductDetail();
+ var od = new api.ProductDetail.fromJson(o.toJson());
+ checkProductDetail(od);
+ });
+ });
+
+
unittest.group("resource-AccountsProductsResourceApi", () {
unittest.test("method--get", () {
diff --git a/generated/googleapis/test/mirror/v1_test.dart b/generated/googleapis/test/mirror/v1_test.dart
index 0075541..b01bc21 100644
--- a/generated/googleapis/test/mirror/v1_test.dart
+++ b/generated/googleapis/test/mirror/v1_test.dart
@@ -51,40 +51,40 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1279() {
+buildUnnamed1332() {
var o = new core.List<api.AuthToken>();
o.add(buildAuthToken());
o.add(buildAuthToken());
return o;
}
-checkUnnamed1279(core.List<api.AuthToken> o) {
+checkUnnamed1332(core.List<api.AuthToken> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthToken(o[0]);
checkAuthToken(o[1]);
}
-buildUnnamed1280() {
+buildUnnamed1333() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1280(core.List<core.String> o) {
+checkUnnamed1333(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1281() {
+buildUnnamed1334() {
var o = new core.List<api.UserData>();
o.add(buildUserData());
o.add(buildUserData());
return o;
}
-checkUnnamed1281(core.List<api.UserData> o) {
+checkUnnamed1334(core.List<api.UserData> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserData(o[0]);
checkUserData(o[1]);
@@ -95,10 +95,10 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.authTokens = buildUnnamed1279();
- o.features = buildUnnamed1280();
+ o.authTokens = buildUnnamed1332();
+ o.features = buildUnnamed1333();
o.password = "foo";
- o.userData = buildUnnamed1281();
+ o.userData = buildUnnamed1334();
}
buildCounterAccount--;
return o;
@@ -107,10 +107,10 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed1279(o.authTokens);
- checkUnnamed1280(o.features);
+ checkUnnamed1332(o.authTokens);
+ checkUnnamed1333(o.features);
unittest.expect(o.password, unittest.equals('foo'));
- checkUnnamed1281(o.userData);
+ checkUnnamed1334(o.userData);
}
buildCounterAccount--;
}
@@ -140,14 +140,14 @@
buildCounterAttachment--;
}
-buildUnnamed1282() {
+buildUnnamed1335() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed1282(core.List<api.Attachment> o) {
+checkUnnamed1335(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
@@ -158,7 +158,7 @@
var o = new api.AttachmentsListResponse();
buildCounterAttachmentsListResponse++;
if (buildCounterAttachmentsListResponse < 3) {
- o.items = buildUnnamed1282();
+ o.items = buildUnnamed1335();
o.kind = "foo";
}
buildCounterAttachmentsListResponse--;
@@ -168,7 +168,7 @@
checkAttachmentsListResponse(api.AttachmentsListResponse o) {
buildCounterAttachmentsListResponse++;
if (buildCounterAttachmentsListResponse < 3) {
- checkUnnamed1282(o.items);
+ checkUnnamed1335(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAttachmentsListResponse--;
@@ -214,53 +214,53 @@
buildCounterCommand--;
}
-buildUnnamed1283() {
+buildUnnamed1336() {
var o = new core.List<api.Command>();
o.add(buildCommand());
o.add(buildCommand());
return o;
}
-checkUnnamed1283(core.List<api.Command> o) {
+checkUnnamed1336(core.List<api.Command> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommand(o[0]);
checkCommand(o[1]);
}
-buildUnnamed1284() {
+buildUnnamed1337() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1284(core.List<core.String> o) {
+checkUnnamed1337(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1285() {
+buildUnnamed1338() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1285(core.List<core.String> o) {
+checkUnnamed1338(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1286() {
+buildUnnamed1339() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1286(core.List<core.String> o) {
+checkUnnamed1339(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -271,15 +271,15 @@
var o = new api.Contact();
buildCounterContact++;
if (buildCounterContact < 3) {
- o.acceptCommands = buildUnnamed1283();
- o.acceptTypes = buildUnnamed1284();
+ o.acceptCommands = buildUnnamed1336();
+ o.acceptTypes = buildUnnamed1337();
o.displayName = "foo";
o.id = "foo";
- o.imageUrls = buildUnnamed1285();
+ o.imageUrls = buildUnnamed1338();
o.kind = "foo";
o.phoneNumber = "foo";
o.priority = 42;
- o.sharingFeatures = buildUnnamed1286();
+ o.sharingFeatures = buildUnnamed1339();
o.source = "foo";
o.speakableName = "foo";
o.type = "foo";
@@ -291,15 +291,15 @@
checkContact(api.Contact o) {
buildCounterContact++;
if (buildCounterContact < 3) {
- checkUnnamed1283(o.acceptCommands);
- checkUnnamed1284(o.acceptTypes);
+ checkUnnamed1336(o.acceptCommands);
+ checkUnnamed1337(o.acceptTypes);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1285(o.imageUrls);
+ checkUnnamed1338(o.imageUrls);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.phoneNumber, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
- checkUnnamed1286(o.sharingFeatures);
+ checkUnnamed1339(o.sharingFeatures);
unittest.expect(o.source, unittest.equals('foo'));
unittest.expect(o.speakableName, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -307,14 +307,14 @@
buildCounterContact--;
}
-buildUnnamed1287() {
+buildUnnamed1340() {
var o = new core.List<api.Contact>();
o.add(buildContact());
o.add(buildContact());
return o;
}
-checkUnnamed1287(core.List<api.Contact> o) {
+checkUnnamed1340(core.List<api.Contact> o) {
unittest.expect(o, unittest.hasLength(2));
checkContact(o[0]);
checkContact(o[1]);
@@ -325,7 +325,7 @@
var o = new api.ContactsListResponse();
buildCounterContactsListResponse++;
if (buildCounterContactsListResponse < 3) {
- o.items = buildUnnamed1287();
+ o.items = buildUnnamed1340();
o.kind = "foo";
}
buildCounterContactsListResponse--;
@@ -335,7 +335,7 @@
checkContactsListResponse(api.ContactsListResponse o) {
buildCounterContactsListResponse++;
if (buildCounterContactsListResponse < 3) {
- checkUnnamed1287(o.items);
+ checkUnnamed1340(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterContactsListResponse--;
@@ -374,14 +374,14 @@
buildCounterLocation--;
}
-buildUnnamed1288() {
+buildUnnamed1341() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed1288(core.List<api.Location> o) {
+checkUnnamed1341(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -392,7 +392,7 @@
var o = new api.LocationsListResponse();
buildCounterLocationsListResponse++;
if (buildCounterLocationsListResponse < 3) {
- o.items = buildUnnamed1288();
+ o.items = buildUnnamed1341();
o.kind = "foo";
}
buildCounterLocationsListResponse--;
@@ -402,20 +402,20 @@
checkLocationsListResponse(api.LocationsListResponse o) {
buildCounterLocationsListResponse++;
if (buildCounterLocationsListResponse < 3) {
- checkUnnamed1288(o.items);
+ checkUnnamed1341(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterLocationsListResponse--;
}
-buildUnnamed1289() {
+buildUnnamed1342() {
var o = new core.List<api.MenuValue>();
o.add(buildMenuValue());
o.add(buildMenuValue());
return o;
}
-checkUnnamed1289(core.List<api.MenuValue> o) {
+checkUnnamed1342(core.List<api.MenuValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMenuValue(o[0]);
checkMenuValue(o[1]);
@@ -431,7 +431,7 @@
o.id = "foo";
o.payload = "foo";
o.removeWhenSelected = true;
- o.values = buildUnnamed1289();
+ o.values = buildUnnamed1342();
}
buildCounterMenuItem--;
return o;
@@ -445,7 +445,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.payload, unittest.equals('foo'));
unittest.expect(o.removeWhenSelected, unittest.isTrue);
- checkUnnamed1289(o.values);
+ checkUnnamed1342(o.values);
}
buildCounterMenuItem--;
}
@@ -473,14 +473,14 @@
buildCounterMenuValue--;
}
-buildUnnamed1290() {
+buildUnnamed1343() {
var o = new core.List<api.UserAction>();
o.add(buildUserAction());
o.add(buildUserAction());
return o;
}
-checkUnnamed1290(core.List<api.UserAction> o) {
+checkUnnamed1343(core.List<api.UserAction> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserAction(o[0]);
checkUserAction(o[1]);
@@ -494,7 +494,7 @@
o.collection = "foo";
o.itemId = "foo";
o.operation = "foo";
- o.userActions = buildUnnamed1290();
+ o.userActions = buildUnnamed1343();
o.userToken = "foo";
o.verifyToken = "foo";
}
@@ -508,7 +508,7 @@
unittest.expect(o.collection, unittest.equals('foo'));
unittest.expect(o.itemId, unittest.equals('foo'));
unittest.expect(o.operation, unittest.equals('foo'));
- checkUnnamed1290(o.userActions);
+ checkUnnamed1343(o.userActions);
unittest.expect(o.userToken, unittest.equals('foo'));
unittest.expect(o.verifyToken, unittest.equals('foo'));
}
@@ -559,14 +559,14 @@
buildCounterSetting--;
}
-buildUnnamed1291() {
+buildUnnamed1344() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1291(core.List<core.String> o) {
+checkUnnamed1344(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -582,7 +582,7 @@
o.id = "foo";
o.kind = "foo";
o.notification = buildNotification();
- o.operation = buildUnnamed1291();
+ o.operation = buildUnnamed1344();
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
o.userToken = "foo";
o.verifyToken = "foo";
@@ -599,7 +599,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkNotification(o.notification);
- checkUnnamed1291(o.operation);
+ checkUnnamed1344(o.operation);
unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.userToken, unittest.equals('foo'));
unittest.expect(o.verifyToken, unittest.equals('foo'));
@@ -607,14 +607,14 @@
buildCounterSubscription--;
}
-buildUnnamed1292() {
+buildUnnamed1345() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed1292(core.List<api.Subscription> o) {
+checkUnnamed1345(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -625,7 +625,7 @@
var o = new api.SubscriptionsListResponse();
buildCounterSubscriptionsListResponse++;
if (buildCounterSubscriptionsListResponse < 3) {
- o.items = buildUnnamed1292();
+ o.items = buildUnnamed1345();
o.kind = "foo";
}
buildCounterSubscriptionsListResponse--;
@@ -635,46 +635,46 @@
checkSubscriptionsListResponse(api.SubscriptionsListResponse o) {
buildCounterSubscriptionsListResponse++;
if (buildCounterSubscriptionsListResponse < 3) {
- checkUnnamed1292(o.items);
+ checkUnnamed1345(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSubscriptionsListResponse--;
}
-buildUnnamed1293() {
+buildUnnamed1346() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed1293(core.List<api.Attachment> o) {
+checkUnnamed1346(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
}
-buildUnnamed1294() {
+buildUnnamed1347() {
var o = new core.List<api.MenuItem>();
o.add(buildMenuItem());
o.add(buildMenuItem());
return o;
}
-checkUnnamed1294(core.List<api.MenuItem> o) {
+checkUnnamed1347(core.List<api.MenuItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkMenuItem(o[0]);
checkMenuItem(o[1]);
}
-buildUnnamed1295() {
+buildUnnamed1348() {
var o = new core.List<api.Contact>();
o.add(buildContact());
o.add(buildContact());
return o;
}
-checkUnnamed1295(core.List<api.Contact> o) {
+checkUnnamed1348(core.List<api.Contact> o) {
unittest.expect(o, unittest.hasLength(2));
checkContact(o[0]);
checkContact(o[1]);
@@ -685,7 +685,7 @@
var o = new api.TimelineItem();
buildCounterTimelineItem++;
if (buildCounterTimelineItem < 3) {
- o.attachments = buildUnnamed1293();
+ o.attachments = buildUnnamed1346();
o.bundleId = "foo";
o.canonicalUrl = "foo";
o.created = core.DateTime.parse("2002-02-27T14:01:02");
@@ -700,10 +700,10 @@
o.isPinned = true;
o.kind = "foo";
o.location = buildLocation();
- o.menuItems = buildUnnamed1294();
+ o.menuItems = buildUnnamed1347();
o.notification = buildNotificationConfig();
o.pinScore = 42;
- o.recipients = buildUnnamed1295();
+ o.recipients = buildUnnamed1348();
o.selfLink = "foo";
o.sourceItemId = "foo";
o.speakableText = "foo";
@@ -719,7 +719,7 @@
checkTimelineItem(api.TimelineItem o) {
buildCounterTimelineItem++;
if (buildCounterTimelineItem < 3) {
- checkUnnamed1293(o.attachments);
+ checkUnnamed1346(o.attachments);
unittest.expect(o.bundleId, unittest.equals('foo'));
unittest.expect(o.canonicalUrl, unittest.equals('foo'));
unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -734,10 +734,10 @@
unittest.expect(o.isPinned, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
checkLocation(o.location);
- checkUnnamed1294(o.menuItems);
+ checkUnnamed1347(o.menuItems);
checkNotificationConfig(o.notification);
unittest.expect(o.pinScore, unittest.equals(42));
- checkUnnamed1295(o.recipients);
+ checkUnnamed1348(o.recipients);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.sourceItemId, unittest.equals('foo'));
unittest.expect(o.speakableText, unittest.equals('foo'));
@@ -749,14 +749,14 @@
buildCounterTimelineItem--;
}
-buildUnnamed1296() {
+buildUnnamed1349() {
var o = new core.List<api.TimelineItem>();
o.add(buildTimelineItem());
o.add(buildTimelineItem());
return o;
}
-checkUnnamed1296(core.List<api.TimelineItem> o) {
+checkUnnamed1349(core.List<api.TimelineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimelineItem(o[0]);
checkTimelineItem(o[1]);
@@ -767,7 +767,7 @@
var o = new api.TimelineListResponse();
buildCounterTimelineListResponse++;
if (buildCounterTimelineListResponse < 3) {
- o.items = buildUnnamed1296();
+ o.items = buildUnnamed1349();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -778,7 +778,7 @@
checkTimelineListResponse(api.TimelineListResponse o) {
buildCounterTimelineListResponse++;
if (buildCounterTimelineListResponse < 3) {
- checkUnnamed1296(o.items);
+ checkUnnamed1349(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
diff --git a/generated/googleapis_beta/test/ml/v1beta1_test.dart b/generated/googleapis/test/ml/v1_test.dart
similarity index 69%
rename from generated/googleapis_beta/test/ml/v1beta1_test.dart
rename to generated/googleapis/test/ml/v1_test.dart
index 5e71b34..264aa36 100644
--- a/generated/googleapis_beta/test/ml/v1beta1_test.dart
+++ b/generated/googleapis/test/ml/v1_test.dart
@@ -1,4 +1,4 @@
-library googleapis_beta.ml.v1beta1.test;
+library googleapis.ml.v1.test;
import "dart:core" as core;
import "dart:collection" as collection;
@@ -9,7 +9,7 @@
import 'package:http/testing.dart' as http_testing;
import 'package:unittest/unittest.dart' as unittest;
-import 'package:googleapis_beta/ml/v1beta1.dart' as api;
+import 'package:googleapis/ml/v1.dart' as api;
class HttpServerMock extends http.BaseClient {
core.Function _callback;
@@ -72,6 +72,295 @@
buildCounterGoogleApiHttpBody--;
}
+core.int buildCounterGoogleCloudMlV1HyperparameterOutputHyperparameterMetric = 0;
+buildGoogleCloudMlV1HyperparameterOutputHyperparameterMetric() {
+ var o = new api.GoogleCloudMlV1HyperparameterOutputHyperparameterMetric();
+ buildCounterGoogleCloudMlV1HyperparameterOutputHyperparameterMetric++;
+ if (buildCounterGoogleCloudMlV1HyperparameterOutputHyperparameterMetric < 3) {
+ o.objectiveValue = 42.0;
+ o.trainingStep = "foo";
+ }
+ buildCounterGoogleCloudMlV1HyperparameterOutputHyperparameterMetric--;
+ return o;
+}
+
+checkGoogleCloudMlV1HyperparameterOutputHyperparameterMetric(api.GoogleCloudMlV1HyperparameterOutputHyperparameterMetric o) {
+ buildCounterGoogleCloudMlV1HyperparameterOutputHyperparameterMetric++;
+ if (buildCounterGoogleCloudMlV1HyperparameterOutputHyperparameterMetric < 3) {
+ unittest.expect(o.objectiveValue, unittest.equals(42.0));
+ unittest.expect(o.trainingStep, unittest.equals('foo'));
+ }
+ buildCounterGoogleCloudMlV1HyperparameterOutputHyperparameterMetric--;
+}
+
+core.int buildCounterGoogleCloudMlV1CancelJobRequest = 0;
+buildGoogleCloudMlV1CancelJobRequest() {
+ var o = new api.GoogleCloudMlV1CancelJobRequest();
+ buildCounterGoogleCloudMlV1CancelJobRequest++;
+ if (buildCounterGoogleCloudMlV1CancelJobRequest < 3) {
+ }
+ buildCounterGoogleCloudMlV1CancelJobRequest--;
+ return o;
+}
+
+checkGoogleCloudMlV1CancelJobRequest(api.GoogleCloudMlV1CancelJobRequest o) {
+ buildCounterGoogleCloudMlV1CancelJobRequest++;
+ if (buildCounterGoogleCloudMlV1CancelJobRequest < 3) {
+ }
+ buildCounterGoogleCloudMlV1CancelJobRequest--;
+}
+
+core.int buildCounterGoogleCloudMlV1GetConfigResponse = 0;
+buildGoogleCloudMlV1GetConfigResponse() {
+ var o = new api.GoogleCloudMlV1GetConfigResponse();
+ buildCounterGoogleCloudMlV1GetConfigResponse++;
+ if (buildCounterGoogleCloudMlV1GetConfigResponse < 3) {
+ o.serviceAccount = "foo";
+ o.serviceAccountProject = "foo";
+ }
+ buildCounterGoogleCloudMlV1GetConfigResponse--;
+ return o;
+}
+
+checkGoogleCloudMlV1GetConfigResponse(api.GoogleCloudMlV1GetConfigResponse o) {
+ buildCounterGoogleCloudMlV1GetConfigResponse++;
+ if (buildCounterGoogleCloudMlV1GetConfigResponse < 3) {
+ unittest.expect(o.serviceAccount, unittest.equals('foo'));
+ unittest.expect(o.serviceAccountProject, unittest.equals('foo'));
+ }
+ buildCounterGoogleCloudMlV1GetConfigResponse--;
+}
+
+buildUnnamed0() {
+ var o = new core.List<api.GoogleCloudMlV1HyperparameterOutputHyperparameterMetric>();
+ o.add(buildGoogleCloudMlV1HyperparameterOutputHyperparameterMetric());
+ o.add(buildGoogleCloudMlV1HyperparameterOutputHyperparameterMetric());
+ return o;
+}
+
+checkUnnamed0(core.List<api.GoogleCloudMlV1HyperparameterOutputHyperparameterMetric> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudMlV1HyperparameterOutputHyperparameterMetric(o[0]);
+ checkGoogleCloudMlV1HyperparameterOutputHyperparameterMetric(o[1]);
+}
+
+buildUnnamed1() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed1(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+core.int buildCounterGoogleCloudMlV1HyperparameterOutput = 0;
+buildGoogleCloudMlV1HyperparameterOutput() {
+ var o = new api.GoogleCloudMlV1HyperparameterOutput();
+ buildCounterGoogleCloudMlV1HyperparameterOutput++;
+ if (buildCounterGoogleCloudMlV1HyperparameterOutput < 3) {
+ o.allMetrics = buildUnnamed0();
+ o.finalMetric = buildGoogleCloudMlV1HyperparameterOutputHyperparameterMetric();
+ o.hyperparameters = buildUnnamed1();
+ o.trialId = "foo";
+ }
+ buildCounterGoogleCloudMlV1HyperparameterOutput--;
+ return o;
+}
+
+checkGoogleCloudMlV1HyperparameterOutput(api.GoogleCloudMlV1HyperparameterOutput o) {
+ buildCounterGoogleCloudMlV1HyperparameterOutput++;
+ if (buildCounterGoogleCloudMlV1HyperparameterOutput < 3) {
+ checkUnnamed0(o.allMetrics);
+ checkGoogleCloudMlV1HyperparameterOutputHyperparameterMetric(o.finalMetric);
+ checkUnnamed1(o.hyperparameters);
+ unittest.expect(o.trialId, unittest.equals('foo'));
+ }
+ buildCounterGoogleCloudMlV1HyperparameterOutput--;
+}
+
+buildUnnamed2() {
+ var o = new core.List<api.GoogleCloudMlV1ParameterSpec>();
+ o.add(buildGoogleCloudMlV1ParameterSpec());
+ o.add(buildGoogleCloudMlV1ParameterSpec());
+ return o;
+}
+
+checkUnnamed2(core.List<api.GoogleCloudMlV1ParameterSpec> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudMlV1ParameterSpec(o[0]);
+ checkGoogleCloudMlV1ParameterSpec(o[1]);
+}
+
+core.int buildCounterGoogleCloudMlV1HyperparameterSpec = 0;
+buildGoogleCloudMlV1HyperparameterSpec() {
+ var o = new api.GoogleCloudMlV1HyperparameterSpec();
+ buildCounterGoogleCloudMlV1HyperparameterSpec++;
+ if (buildCounterGoogleCloudMlV1HyperparameterSpec < 3) {
+ o.goal = "foo";
+ o.hyperparameterMetricTag = "foo";
+ o.maxParallelTrials = 42;
+ o.maxTrials = 42;
+ o.params = buildUnnamed2();
+ }
+ buildCounterGoogleCloudMlV1HyperparameterSpec--;
+ return o;
+}
+
+checkGoogleCloudMlV1HyperparameterSpec(api.GoogleCloudMlV1HyperparameterSpec o) {
+ buildCounterGoogleCloudMlV1HyperparameterSpec++;
+ if (buildCounterGoogleCloudMlV1HyperparameterSpec < 3) {
+ unittest.expect(o.goal, unittest.equals('foo'));
+ unittest.expect(o.hyperparameterMetricTag, unittest.equals('foo'));
+ unittest.expect(o.maxParallelTrials, unittest.equals(42));
+ unittest.expect(o.maxTrials, unittest.equals(42));
+ checkUnnamed2(o.params);
+ }
+ buildCounterGoogleCloudMlV1HyperparameterSpec--;
+}
+
+core.int buildCounterGoogleCloudMlV1Job = 0;
+buildGoogleCloudMlV1Job() {
+ var o = new api.GoogleCloudMlV1Job();
+ buildCounterGoogleCloudMlV1Job++;
+ if (buildCounterGoogleCloudMlV1Job < 3) {
+ o.createTime = "foo";
+ o.endTime = "foo";
+ o.errorMessage = "foo";
+ o.jobId = "foo";
+ o.predictionInput = buildGoogleCloudMlV1PredictionInput();
+ o.predictionOutput = buildGoogleCloudMlV1PredictionOutput();
+ o.startTime = "foo";
+ o.state = "foo";
+ o.trainingInput = buildGoogleCloudMlV1TrainingInput();
+ o.trainingOutput = buildGoogleCloudMlV1TrainingOutput();
+ }
+ buildCounterGoogleCloudMlV1Job--;
+ return o;
+}
+
+checkGoogleCloudMlV1Job(api.GoogleCloudMlV1Job o) {
+ buildCounterGoogleCloudMlV1Job++;
+ if (buildCounterGoogleCloudMlV1Job < 3) {
+ unittest.expect(o.createTime, unittest.equals('foo'));
+ unittest.expect(o.endTime, unittest.equals('foo'));
+ unittest.expect(o.errorMessage, unittest.equals('foo'));
+ unittest.expect(o.jobId, unittest.equals('foo'));
+ checkGoogleCloudMlV1PredictionInput(o.predictionInput);
+ checkGoogleCloudMlV1PredictionOutput(o.predictionOutput);
+ unittest.expect(o.startTime, unittest.equals('foo'));
+ unittest.expect(o.state, unittest.equals('foo'));
+ checkGoogleCloudMlV1TrainingInput(o.trainingInput);
+ checkGoogleCloudMlV1TrainingOutput(o.trainingOutput);
+ }
+ buildCounterGoogleCloudMlV1Job--;
+}
+
+buildUnnamed3() {
+ var o = new core.List<api.GoogleCloudMlV1Job>();
+ o.add(buildGoogleCloudMlV1Job());
+ o.add(buildGoogleCloudMlV1Job());
+ return o;
+}
+
+checkUnnamed3(core.List<api.GoogleCloudMlV1Job> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudMlV1Job(o[0]);
+ checkGoogleCloudMlV1Job(o[1]);
+}
+
+core.int buildCounterGoogleCloudMlV1ListJobsResponse = 0;
+buildGoogleCloudMlV1ListJobsResponse() {
+ var o = new api.GoogleCloudMlV1ListJobsResponse();
+ buildCounterGoogleCloudMlV1ListJobsResponse++;
+ if (buildCounterGoogleCloudMlV1ListJobsResponse < 3) {
+ o.jobs = buildUnnamed3();
+ o.nextPageToken = "foo";
+ }
+ buildCounterGoogleCloudMlV1ListJobsResponse--;
+ return o;
+}
+
+checkGoogleCloudMlV1ListJobsResponse(api.GoogleCloudMlV1ListJobsResponse o) {
+ buildCounterGoogleCloudMlV1ListJobsResponse++;
+ if (buildCounterGoogleCloudMlV1ListJobsResponse < 3) {
+ checkUnnamed3(o.jobs);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterGoogleCloudMlV1ListJobsResponse--;
+}
+
+buildUnnamed4() {
+ var o = new core.List<api.GoogleCloudMlV1Model>();
+ o.add(buildGoogleCloudMlV1Model());
+ o.add(buildGoogleCloudMlV1Model());
+ return o;
+}
+
+checkUnnamed4(core.List<api.GoogleCloudMlV1Model> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudMlV1Model(o[0]);
+ checkGoogleCloudMlV1Model(o[1]);
+}
+
+core.int buildCounterGoogleCloudMlV1ListModelsResponse = 0;
+buildGoogleCloudMlV1ListModelsResponse() {
+ var o = new api.GoogleCloudMlV1ListModelsResponse();
+ buildCounterGoogleCloudMlV1ListModelsResponse++;
+ if (buildCounterGoogleCloudMlV1ListModelsResponse < 3) {
+ o.models = buildUnnamed4();
+ o.nextPageToken = "foo";
+ }
+ buildCounterGoogleCloudMlV1ListModelsResponse--;
+ return o;
+}
+
+checkGoogleCloudMlV1ListModelsResponse(api.GoogleCloudMlV1ListModelsResponse o) {
+ buildCounterGoogleCloudMlV1ListModelsResponse++;
+ if (buildCounterGoogleCloudMlV1ListModelsResponse < 3) {
+ checkUnnamed4(o.models);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterGoogleCloudMlV1ListModelsResponse--;
+}
+
+buildUnnamed5() {
+ var o = new core.List<api.GoogleCloudMlV1Version>();
+ o.add(buildGoogleCloudMlV1Version());
+ o.add(buildGoogleCloudMlV1Version());
+ return o;
+}
+
+checkUnnamed5(core.List<api.GoogleCloudMlV1Version> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudMlV1Version(o[0]);
+ checkGoogleCloudMlV1Version(o[1]);
+}
+
+core.int buildCounterGoogleCloudMlV1ListVersionsResponse = 0;
+buildGoogleCloudMlV1ListVersionsResponse() {
+ var o = new api.GoogleCloudMlV1ListVersionsResponse();
+ buildCounterGoogleCloudMlV1ListVersionsResponse++;
+ if (buildCounterGoogleCloudMlV1ListVersionsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.versions = buildUnnamed5();
+ }
+ buildCounterGoogleCloudMlV1ListVersionsResponse--;
+ return o;
+}
+
+checkGoogleCloudMlV1ListVersionsResponse(api.GoogleCloudMlV1ListVersionsResponse o) {
+ buildCounterGoogleCloudMlV1ListVersionsResponse++;
+ if (buildCounterGoogleCloudMlV1ListVersionsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed5(o.versions);
+ }
+ buildCounterGoogleCloudMlV1ListVersionsResponse--;
+}
+
core.int buildCounterGoogleCloudMlV1ManualScaling = 0;
buildGoogleCloudMlV1ManualScaling() {
var o = new api.GoogleCloudMlV1ManualScaling();
@@ -91,6 +380,46 @@
buildCounterGoogleCloudMlV1ManualScaling--;
}
+buildUnnamed6() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed6(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterGoogleCloudMlV1Model = 0;
+buildGoogleCloudMlV1Model() {
+ var o = new api.GoogleCloudMlV1Model();
+ buildCounterGoogleCloudMlV1Model++;
+ if (buildCounterGoogleCloudMlV1Model < 3) {
+ o.defaultVersion = buildGoogleCloudMlV1Version();
+ o.description = "foo";
+ o.name = "foo";
+ o.onlinePredictionLogging = true;
+ o.regions = buildUnnamed6();
+ }
+ buildCounterGoogleCloudMlV1Model--;
+ return o;
+}
+
+checkGoogleCloudMlV1Model(api.GoogleCloudMlV1Model o) {
+ buildCounterGoogleCloudMlV1Model++;
+ if (buildCounterGoogleCloudMlV1Model < 3) {
+ checkGoogleCloudMlV1Version(o.defaultVersion);
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.onlinePredictionLogging, unittest.isTrue);
+ checkUnnamed6(o.regions);
+ }
+ buildCounterGoogleCloudMlV1Model--;
+}
+
core.int buildCounterGoogleCloudMlV1OperationMetadata = 0;
buildGoogleCloudMlV1OperationMetadata() {
var o = new api.GoogleCloudMlV1OperationMetadata();
@@ -122,6 +451,279 @@
buildCounterGoogleCloudMlV1OperationMetadata--;
}
+buildUnnamed7() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed7(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed8() {
+ var o = new core.List<core.double>();
+ o.add(42.0);
+ o.add(42.0);
+ return o;
+}
+
+checkUnnamed8(core.List<core.double> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42.0));
+ unittest.expect(o[1], unittest.equals(42.0));
+}
+
+core.int buildCounterGoogleCloudMlV1ParameterSpec = 0;
+buildGoogleCloudMlV1ParameterSpec() {
+ var o = new api.GoogleCloudMlV1ParameterSpec();
+ buildCounterGoogleCloudMlV1ParameterSpec++;
+ if (buildCounterGoogleCloudMlV1ParameterSpec < 3) {
+ o.categoricalValues = buildUnnamed7();
+ o.discreteValues = buildUnnamed8();
+ o.maxValue = 42.0;
+ o.minValue = 42.0;
+ o.parameterName = "foo";
+ o.scaleType = "foo";
+ o.type = "foo";
+ }
+ buildCounterGoogleCloudMlV1ParameterSpec--;
+ return o;
+}
+
+checkGoogleCloudMlV1ParameterSpec(api.GoogleCloudMlV1ParameterSpec o) {
+ buildCounterGoogleCloudMlV1ParameterSpec++;
+ if (buildCounterGoogleCloudMlV1ParameterSpec < 3) {
+ checkUnnamed7(o.categoricalValues);
+ checkUnnamed8(o.discreteValues);
+ unittest.expect(o.maxValue, unittest.equals(42.0));
+ unittest.expect(o.minValue, unittest.equals(42.0));
+ unittest.expect(o.parameterName, unittest.equals('foo'));
+ unittest.expect(o.scaleType, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterGoogleCloudMlV1ParameterSpec--;
+}
+
+core.int buildCounterGoogleCloudMlV1PredictRequest = 0;
+buildGoogleCloudMlV1PredictRequest() {
+ var o = new api.GoogleCloudMlV1PredictRequest();
+ buildCounterGoogleCloudMlV1PredictRequest++;
+ if (buildCounterGoogleCloudMlV1PredictRequest < 3) {
+ o.httpBody = buildGoogleApiHttpBody();
+ }
+ buildCounterGoogleCloudMlV1PredictRequest--;
+ return o;
+}
+
+checkGoogleCloudMlV1PredictRequest(api.GoogleCloudMlV1PredictRequest o) {
+ buildCounterGoogleCloudMlV1PredictRequest++;
+ if (buildCounterGoogleCloudMlV1PredictRequest < 3) {
+ checkGoogleApiHttpBody(o.httpBody);
+ }
+ buildCounterGoogleCloudMlV1PredictRequest--;
+}
+
+buildUnnamed9() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed9(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterGoogleCloudMlV1PredictionInput = 0;
+buildGoogleCloudMlV1PredictionInput() {
+ var o = new api.GoogleCloudMlV1PredictionInput();
+ buildCounterGoogleCloudMlV1PredictionInput++;
+ if (buildCounterGoogleCloudMlV1PredictionInput < 3) {
+ o.dataFormat = "foo";
+ o.inputPaths = buildUnnamed9();
+ o.maxWorkerCount = "foo";
+ o.modelName = "foo";
+ o.outputPath = "foo";
+ o.region = "foo";
+ o.runtimeVersion = "foo";
+ o.uri = "foo";
+ o.versionName = "foo";
+ }
+ buildCounterGoogleCloudMlV1PredictionInput--;
+ return o;
+}
+
+checkGoogleCloudMlV1PredictionInput(api.GoogleCloudMlV1PredictionInput o) {
+ buildCounterGoogleCloudMlV1PredictionInput++;
+ if (buildCounterGoogleCloudMlV1PredictionInput < 3) {
+ unittest.expect(o.dataFormat, unittest.equals('foo'));
+ checkUnnamed9(o.inputPaths);
+ unittest.expect(o.maxWorkerCount, unittest.equals('foo'));
+ unittest.expect(o.modelName, unittest.equals('foo'));
+ unittest.expect(o.outputPath, unittest.equals('foo'));
+ unittest.expect(o.region, unittest.equals('foo'));
+ unittest.expect(o.runtimeVersion, unittest.equals('foo'));
+ unittest.expect(o.uri, unittest.equals('foo'));
+ unittest.expect(o.versionName, unittest.equals('foo'));
+ }
+ buildCounterGoogleCloudMlV1PredictionInput--;
+}
+
+core.int buildCounterGoogleCloudMlV1PredictionOutput = 0;
+buildGoogleCloudMlV1PredictionOutput() {
+ var o = new api.GoogleCloudMlV1PredictionOutput();
+ buildCounterGoogleCloudMlV1PredictionOutput++;
+ if (buildCounterGoogleCloudMlV1PredictionOutput < 3) {
+ o.errorCount = "foo";
+ o.nodeHours = 42.0;
+ o.outputPath = "foo";
+ o.predictionCount = "foo";
+ }
+ buildCounterGoogleCloudMlV1PredictionOutput--;
+ return o;
+}
+
+checkGoogleCloudMlV1PredictionOutput(api.GoogleCloudMlV1PredictionOutput o) {
+ buildCounterGoogleCloudMlV1PredictionOutput++;
+ if (buildCounterGoogleCloudMlV1PredictionOutput < 3) {
+ unittest.expect(o.errorCount, unittest.equals('foo'));
+ unittest.expect(o.nodeHours, unittest.equals(42.0));
+ unittest.expect(o.outputPath, unittest.equals('foo'));
+ unittest.expect(o.predictionCount, unittest.equals('foo'));
+ }
+ buildCounterGoogleCloudMlV1PredictionOutput--;
+}
+
+core.int buildCounterGoogleCloudMlV1SetDefaultVersionRequest = 0;
+buildGoogleCloudMlV1SetDefaultVersionRequest() {
+ var o = new api.GoogleCloudMlV1SetDefaultVersionRequest();
+ buildCounterGoogleCloudMlV1SetDefaultVersionRequest++;
+ if (buildCounterGoogleCloudMlV1SetDefaultVersionRequest < 3) {
+ }
+ buildCounterGoogleCloudMlV1SetDefaultVersionRequest--;
+ return o;
+}
+
+checkGoogleCloudMlV1SetDefaultVersionRequest(api.GoogleCloudMlV1SetDefaultVersionRequest o) {
+ buildCounterGoogleCloudMlV1SetDefaultVersionRequest++;
+ if (buildCounterGoogleCloudMlV1SetDefaultVersionRequest < 3) {
+ }
+ buildCounterGoogleCloudMlV1SetDefaultVersionRequest--;
+}
+
+buildUnnamed10() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed10(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed11() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed11(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterGoogleCloudMlV1TrainingInput = 0;
+buildGoogleCloudMlV1TrainingInput() {
+ var o = new api.GoogleCloudMlV1TrainingInput();
+ buildCounterGoogleCloudMlV1TrainingInput++;
+ if (buildCounterGoogleCloudMlV1TrainingInput < 3) {
+ o.args = buildUnnamed10();
+ o.hyperparameters = buildGoogleCloudMlV1HyperparameterSpec();
+ o.jobDir = "foo";
+ o.masterType = "foo";
+ o.packageUris = buildUnnamed11();
+ o.parameterServerCount = "foo";
+ o.parameterServerType = "foo";
+ o.pythonModule = "foo";
+ o.region = "foo";
+ o.runtimeVersion = "foo";
+ o.scaleTier = "foo";
+ o.workerCount = "foo";
+ o.workerType = "foo";
+ }
+ buildCounterGoogleCloudMlV1TrainingInput--;
+ return o;
+}
+
+checkGoogleCloudMlV1TrainingInput(api.GoogleCloudMlV1TrainingInput o) {
+ buildCounterGoogleCloudMlV1TrainingInput++;
+ if (buildCounterGoogleCloudMlV1TrainingInput < 3) {
+ checkUnnamed10(o.args);
+ checkGoogleCloudMlV1HyperparameterSpec(o.hyperparameters);
+ unittest.expect(o.jobDir, unittest.equals('foo'));
+ unittest.expect(o.masterType, unittest.equals('foo'));
+ checkUnnamed11(o.packageUris);
+ unittest.expect(o.parameterServerCount, unittest.equals('foo'));
+ unittest.expect(o.parameterServerType, unittest.equals('foo'));
+ unittest.expect(o.pythonModule, unittest.equals('foo'));
+ unittest.expect(o.region, unittest.equals('foo'));
+ unittest.expect(o.runtimeVersion, unittest.equals('foo'));
+ unittest.expect(o.scaleTier, unittest.equals('foo'));
+ unittest.expect(o.workerCount, unittest.equals('foo'));
+ unittest.expect(o.workerType, unittest.equals('foo'));
+ }
+ buildCounterGoogleCloudMlV1TrainingInput--;
+}
+
+buildUnnamed12() {
+ var o = new core.List<api.GoogleCloudMlV1HyperparameterOutput>();
+ o.add(buildGoogleCloudMlV1HyperparameterOutput());
+ o.add(buildGoogleCloudMlV1HyperparameterOutput());
+ return o;
+}
+
+checkUnnamed12(core.List<api.GoogleCloudMlV1HyperparameterOutput> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudMlV1HyperparameterOutput(o[0]);
+ checkGoogleCloudMlV1HyperparameterOutput(o[1]);
+}
+
+core.int buildCounterGoogleCloudMlV1TrainingOutput = 0;
+buildGoogleCloudMlV1TrainingOutput() {
+ var o = new api.GoogleCloudMlV1TrainingOutput();
+ buildCounterGoogleCloudMlV1TrainingOutput++;
+ if (buildCounterGoogleCloudMlV1TrainingOutput < 3) {
+ o.completedTrialCount = "foo";
+ o.consumedMLUnits = 42.0;
+ o.isHyperparameterTuningJob = true;
+ o.trials = buildUnnamed12();
+ }
+ buildCounterGoogleCloudMlV1TrainingOutput--;
+ return o;
+}
+
+checkGoogleCloudMlV1TrainingOutput(api.GoogleCloudMlV1TrainingOutput o) {
+ buildCounterGoogleCloudMlV1TrainingOutput++;
+ if (buildCounterGoogleCloudMlV1TrainingOutput < 3) {
+ unittest.expect(o.completedTrialCount, unittest.equals('foo'));
+ unittest.expect(o.consumedMLUnits, unittest.equals(42.0));
+ unittest.expect(o.isHyperparameterTuningJob, unittest.isTrue);
+ checkUnnamed12(o.trials);
+ }
+ buildCounterGoogleCloudMlV1TrainingOutput--;
+}
+
core.int buildCounterGoogleCloudMlV1Version = 0;
buildGoogleCloudMlV1Version() {
var o = new api.GoogleCloudMlV1Version();
@@ -155,295 +757,6 @@
buildCounterGoogleCloudMlV1Version--;
}
-core.int buildCounterGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric = 0;
-buildGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric() {
- var o = new api.GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric();
- buildCounterGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric++;
- if (buildCounterGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric < 3) {
- o.objectiveValue = 42.0;
- o.trainingStep = "foo";
- }
- buildCounterGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric--;
- return o;
-}
-
-checkGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric(api.GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric o) {
- buildCounterGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric++;
- if (buildCounterGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric < 3) {
- unittest.expect(o.objectiveValue, unittest.equals(42.0));
- unittest.expect(o.trainingStep, unittest.equals('foo'));
- }
- buildCounterGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric--;
-}
-
-core.int buildCounterGoogleCloudMlV1beta1CancelJobRequest = 0;
-buildGoogleCloudMlV1beta1CancelJobRequest() {
- var o = new api.GoogleCloudMlV1beta1CancelJobRequest();
- buildCounterGoogleCloudMlV1beta1CancelJobRequest++;
- if (buildCounterGoogleCloudMlV1beta1CancelJobRequest < 3) {
- }
- buildCounterGoogleCloudMlV1beta1CancelJobRequest--;
- return o;
-}
-
-checkGoogleCloudMlV1beta1CancelJobRequest(api.GoogleCloudMlV1beta1CancelJobRequest o) {
- buildCounterGoogleCloudMlV1beta1CancelJobRequest++;
- if (buildCounterGoogleCloudMlV1beta1CancelJobRequest < 3) {
- }
- buildCounterGoogleCloudMlV1beta1CancelJobRequest--;
-}
-
-core.int buildCounterGoogleCloudMlV1beta1GetConfigResponse = 0;
-buildGoogleCloudMlV1beta1GetConfigResponse() {
- var o = new api.GoogleCloudMlV1beta1GetConfigResponse();
- buildCounterGoogleCloudMlV1beta1GetConfigResponse++;
- if (buildCounterGoogleCloudMlV1beta1GetConfigResponse < 3) {
- o.serviceAccount = "foo";
- o.serviceAccountProject = "foo";
- }
- buildCounterGoogleCloudMlV1beta1GetConfigResponse--;
- return o;
-}
-
-checkGoogleCloudMlV1beta1GetConfigResponse(api.GoogleCloudMlV1beta1GetConfigResponse o) {
- buildCounterGoogleCloudMlV1beta1GetConfigResponse++;
- if (buildCounterGoogleCloudMlV1beta1GetConfigResponse < 3) {
- unittest.expect(o.serviceAccount, unittest.equals('foo'));
- unittest.expect(o.serviceAccountProject, unittest.equals('foo'));
- }
- buildCounterGoogleCloudMlV1beta1GetConfigResponse--;
-}
-
-buildUnnamed3070() {
- var o = new core.List<api.GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric>();
- o.add(buildGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric());
- o.add(buildGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric());
- return o;
-}
-
-checkUnnamed3070(core.List<api.GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric(o[0]);
- checkGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric(o[1]);
-}
-
-buildUnnamed3071() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed3071(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
-core.int buildCounterGoogleCloudMlV1beta1HyperparameterOutput = 0;
-buildGoogleCloudMlV1beta1HyperparameterOutput() {
- var o = new api.GoogleCloudMlV1beta1HyperparameterOutput();
- buildCounterGoogleCloudMlV1beta1HyperparameterOutput++;
- if (buildCounterGoogleCloudMlV1beta1HyperparameterOutput < 3) {
- o.allMetrics = buildUnnamed3070();
- o.finalMetric = buildGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric();
- o.hyperparameters = buildUnnamed3071();
- o.trialId = "foo";
- }
- buildCounterGoogleCloudMlV1beta1HyperparameterOutput--;
- return o;
-}
-
-checkGoogleCloudMlV1beta1HyperparameterOutput(api.GoogleCloudMlV1beta1HyperparameterOutput o) {
- buildCounterGoogleCloudMlV1beta1HyperparameterOutput++;
- if (buildCounterGoogleCloudMlV1beta1HyperparameterOutput < 3) {
- checkUnnamed3070(o.allMetrics);
- checkGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric(o.finalMetric);
- checkUnnamed3071(o.hyperparameters);
- unittest.expect(o.trialId, unittest.equals('foo'));
- }
- buildCounterGoogleCloudMlV1beta1HyperparameterOutput--;
-}
-
-buildUnnamed3072() {
- var o = new core.List<api.GoogleCloudMlV1beta1ParameterSpec>();
- o.add(buildGoogleCloudMlV1beta1ParameterSpec());
- o.add(buildGoogleCloudMlV1beta1ParameterSpec());
- return o;
-}
-
-checkUnnamed3072(core.List<api.GoogleCloudMlV1beta1ParameterSpec> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudMlV1beta1ParameterSpec(o[0]);
- checkGoogleCloudMlV1beta1ParameterSpec(o[1]);
-}
-
-core.int buildCounterGoogleCloudMlV1beta1HyperparameterSpec = 0;
-buildGoogleCloudMlV1beta1HyperparameterSpec() {
- var o = new api.GoogleCloudMlV1beta1HyperparameterSpec();
- buildCounterGoogleCloudMlV1beta1HyperparameterSpec++;
- if (buildCounterGoogleCloudMlV1beta1HyperparameterSpec < 3) {
- o.goal = "foo";
- o.hyperparameterMetricTag = "foo";
- o.maxParallelTrials = 42;
- o.maxTrials = 42;
- o.params = buildUnnamed3072();
- }
- buildCounterGoogleCloudMlV1beta1HyperparameterSpec--;
- return o;
-}
-
-checkGoogleCloudMlV1beta1HyperparameterSpec(api.GoogleCloudMlV1beta1HyperparameterSpec o) {
- buildCounterGoogleCloudMlV1beta1HyperparameterSpec++;
- if (buildCounterGoogleCloudMlV1beta1HyperparameterSpec < 3) {
- unittest.expect(o.goal, unittest.equals('foo'));
- unittest.expect(o.hyperparameterMetricTag, unittest.equals('foo'));
- unittest.expect(o.maxParallelTrials, unittest.equals(42));
- unittest.expect(o.maxTrials, unittest.equals(42));
- checkUnnamed3072(o.params);
- }
- buildCounterGoogleCloudMlV1beta1HyperparameterSpec--;
-}
-
-core.int buildCounterGoogleCloudMlV1beta1Job = 0;
-buildGoogleCloudMlV1beta1Job() {
- var o = new api.GoogleCloudMlV1beta1Job();
- buildCounterGoogleCloudMlV1beta1Job++;
- if (buildCounterGoogleCloudMlV1beta1Job < 3) {
- o.createTime = "foo";
- o.endTime = "foo";
- o.errorMessage = "foo";
- o.jobId = "foo";
- o.predictionInput = buildGoogleCloudMlV1beta1PredictionInput();
- o.predictionOutput = buildGoogleCloudMlV1beta1PredictionOutput();
- o.startTime = "foo";
- o.state = "foo";
- o.trainingInput = buildGoogleCloudMlV1beta1TrainingInput();
- o.trainingOutput = buildGoogleCloudMlV1beta1TrainingOutput();
- }
- buildCounterGoogleCloudMlV1beta1Job--;
- return o;
-}
-
-checkGoogleCloudMlV1beta1Job(api.GoogleCloudMlV1beta1Job o) {
- buildCounterGoogleCloudMlV1beta1Job++;
- if (buildCounterGoogleCloudMlV1beta1Job < 3) {
- unittest.expect(o.createTime, unittest.equals('foo'));
- unittest.expect(o.endTime, unittest.equals('foo'));
- unittest.expect(o.errorMessage, unittest.equals('foo'));
- unittest.expect(o.jobId, unittest.equals('foo'));
- checkGoogleCloudMlV1beta1PredictionInput(o.predictionInput);
- checkGoogleCloudMlV1beta1PredictionOutput(o.predictionOutput);
- unittest.expect(o.startTime, unittest.equals('foo'));
- unittest.expect(o.state, unittest.equals('foo'));
- checkGoogleCloudMlV1beta1TrainingInput(o.trainingInput);
- checkGoogleCloudMlV1beta1TrainingOutput(o.trainingOutput);
- }
- buildCounterGoogleCloudMlV1beta1Job--;
-}
-
-buildUnnamed3073() {
- var o = new core.List<api.GoogleCloudMlV1beta1Job>();
- o.add(buildGoogleCloudMlV1beta1Job());
- o.add(buildGoogleCloudMlV1beta1Job());
- return o;
-}
-
-checkUnnamed3073(core.List<api.GoogleCloudMlV1beta1Job> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudMlV1beta1Job(o[0]);
- checkGoogleCloudMlV1beta1Job(o[1]);
-}
-
-core.int buildCounterGoogleCloudMlV1beta1ListJobsResponse = 0;
-buildGoogleCloudMlV1beta1ListJobsResponse() {
- var o = new api.GoogleCloudMlV1beta1ListJobsResponse();
- buildCounterGoogleCloudMlV1beta1ListJobsResponse++;
- if (buildCounterGoogleCloudMlV1beta1ListJobsResponse < 3) {
- o.jobs = buildUnnamed3073();
- o.nextPageToken = "foo";
- }
- buildCounterGoogleCloudMlV1beta1ListJobsResponse--;
- return o;
-}
-
-checkGoogleCloudMlV1beta1ListJobsResponse(api.GoogleCloudMlV1beta1ListJobsResponse o) {
- buildCounterGoogleCloudMlV1beta1ListJobsResponse++;
- if (buildCounterGoogleCloudMlV1beta1ListJobsResponse < 3) {
- checkUnnamed3073(o.jobs);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterGoogleCloudMlV1beta1ListJobsResponse--;
-}
-
-buildUnnamed3074() {
- var o = new core.List<api.GoogleCloudMlV1beta1Model>();
- o.add(buildGoogleCloudMlV1beta1Model());
- o.add(buildGoogleCloudMlV1beta1Model());
- return o;
-}
-
-checkUnnamed3074(core.List<api.GoogleCloudMlV1beta1Model> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudMlV1beta1Model(o[0]);
- checkGoogleCloudMlV1beta1Model(o[1]);
-}
-
-core.int buildCounterGoogleCloudMlV1beta1ListModelsResponse = 0;
-buildGoogleCloudMlV1beta1ListModelsResponse() {
- var o = new api.GoogleCloudMlV1beta1ListModelsResponse();
- buildCounterGoogleCloudMlV1beta1ListModelsResponse++;
- if (buildCounterGoogleCloudMlV1beta1ListModelsResponse < 3) {
- o.models = buildUnnamed3074();
- o.nextPageToken = "foo";
- }
- buildCounterGoogleCloudMlV1beta1ListModelsResponse--;
- return o;
-}
-
-checkGoogleCloudMlV1beta1ListModelsResponse(api.GoogleCloudMlV1beta1ListModelsResponse o) {
- buildCounterGoogleCloudMlV1beta1ListModelsResponse++;
- if (buildCounterGoogleCloudMlV1beta1ListModelsResponse < 3) {
- checkUnnamed3074(o.models);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterGoogleCloudMlV1beta1ListModelsResponse--;
-}
-
-buildUnnamed3075() {
- var o = new core.List<api.GoogleCloudMlV1beta1Version>();
- o.add(buildGoogleCloudMlV1beta1Version());
- o.add(buildGoogleCloudMlV1beta1Version());
- return o;
-}
-
-checkUnnamed3075(core.List<api.GoogleCloudMlV1beta1Version> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudMlV1beta1Version(o[0]);
- checkGoogleCloudMlV1beta1Version(o[1]);
-}
-
-core.int buildCounterGoogleCloudMlV1beta1ListVersionsResponse = 0;
-buildGoogleCloudMlV1beta1ListVersionsResponse() {
- var o = new api.GoogleCloudMlV1beta1ListVersionsResponse();
- buildCounterGoogleCloudMlV1beta1ListVersionsResponse++;
- if (buildCounterGoogleCloudMlV1beta1ListVersionsResponse < 3) {
- o.nextPageToken = "foo";
- o.versions = buildUnnamed3075();
- }
- buildCounterGoogleCloudMlV1beta1ListVersionsResponse--;
- return o;
-}
-
-checkGoogleCloudMlV1beta1ListVersionsResponse(api.GoogleCloudMlV1beta1ListVersionsResponse o) {
- buildCounterGoogleCloudMlV1beta1ListVersionsResponse++;
- if (buildCounterGoogleCloudMlV1beta1ListVersionsResponse < 3) {
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3075(o.versions);
- }
- buildCounterGoogleCloudMlV1beta1ListVersionsResponse--;
-}
-
core.int buildCounterGoogleCloudMlV1beta1ManualScaling = 0;
buildGoogleCloudMlV1beta1ManualScaling() {
var o = new api.GoogleCloudMlV1beta1ManualScaling();
@@ -463,46 +776,6 @@
buildCounterGoogleCloudMlV1beta1ManualScaling--;
}
-buildUnnamed3076() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3076(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterGoogleCloudMlV1beta1Model = 0;
-buildGoogleCloudMlV1beta1Model() {
- var o = new api.GoogleCloudMlV1beta1Model();
- buildCounterGoogleCloudMlV1beta1Model++;
- if (buildCounterGoogleCloudMlV1beta1Model < 3) {
- o.defaultVersion = buildGoogleCloudMlV1beta1Version();
- o.description = "foo";
- o.name = "foo";
- o.onlinePredictionLogging = true;
- o.regions = buildUnnamed3076();
- }
- buildCounterGoogleCloudMlV1beta1Model--;
- return o;
-}
-
-checkGoogleCloudMlV1beta1Model(api.GoogleCloudMlV1beta1Model o) {
- buildCounterGoogleCloudMlV1beta1Model++;
- if (buildCounterGoogleCloudMlV1beta1Model < 3) {
- checkGoogleCloudMlV1beta1Version(o.defaultVersion);
- unittest.expect(o.description, unittest.equals('foo'));
- unittest.expect(o.name, unittest.equals('foo'));
- unittest.expect(o.onlinePredictionLogging, unittest.isTrue);
- checkUnnamed3076(o.regions);
- }
- buildCounterGoogleCloudMlV1beta1Model--;
-}
-
core.int buildCounterGoogleCloudMlV1beta1OperationMetadata = 0;
buildGoogleCloudMlV1beta1OperationMetadata() {
var o = new api.GoogleCloudMlV1beta1OperationMetadata();
@@ -534,279 +807,6 @@
buildCounterGoogleCloudMlV1beta1OperationMetadata--;
}
-buildUnnamed3077() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3077(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3078() {
- var o = new core.List<core.double>();
- o.add(42.0);
- o.add(42.0);
- return o;
-}
-
-checkUnnamed3078(core.List<core.double> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42.0));
- unittest.expect(o[1], unittest.equals(42.0));
-}
-
-core.int buildCounterGoogleCloudMlV1beta1ParameterSpec = 0;
-buildGoogleCloudMlV1beta1ParameterSpec() {
- var o = new api.GoogleCloudMlV1beta1ParameterSpec();
- buildCounterGoogleCloudMlV1beta1ParameterSpec++;
- if (buildCounterGoogleCloudMlV1beta1ParameterSpec < 3) {
- o.categoricalValues = buildUnnamed3077();
- o.discreteValues = buildUnnamed3078();
- o.maxValue = 42.0;
- o.minValue = 42.0;
- o.parameterName = "foo";
- o.scaleType = "foo";
- o.type = "foo";
- }
- buildCounterGoogleCloudMlV1beta1ParameterSpec--;
- return o;
-}
-
-checkGoogleCloudMlV1beta1ParameterSpec(api.GoogleCloudMlV1beta1ParameterSpec o) {
- buildCounterGoogleCloudMlV1beta1ParameterSpec++;
- if (buildCounterGoogleCloudMlV1beta1ParameterSpec < 3) {
- checkUnnamed3077(o.categoricalValues);
- checkUnnamed3078(o.discreteValues);
- unittest.expect(o.maxValue, unittest.equals(42.0));
- unittest.expect(o.minValue, unittest.equals(42.0));
- unittest.expect(o.parameterName, unittest.equals('foo'));
- unittest.expect(o.scaleType, unittest.equals('foo'));
- unittest.expect(o.type, unittest.equals('foo'));
- }
- buildCounterGoogleCloudMlV1beta1ParameterSpec--;
-}
-
-core.int buildCounterGoogleCloudMlV1beta1PredictRequest = 0;
-buildGoogleCloudMlV1beta1PredictRequest() {
- var o = new api.GoogleCloudMlV1beta1PredictRequest();
- buildCounterGoogleCloudMlV1beta1PredictRequest++;
- if (buildCounterGoogleCloudMlV1beta1PredictRequest < 3) {
- o.httpBody = buildGoogleApiHttpBody();
- }
- buildCounterGoogleCloudMlV1beta1PredictRequest--;
- return o;
-}
-
-checkGoogleCloudMlV1beta1PredictRequest(api.GoogleCloudMlV1beta1PredictRequest o) {
- buildCounterGoogleCloudMlV1beta1PredictRequest++;
- if (buildCounterGoogleCloudMlV1beta1PredictRequest < 3) {
- checkGoogleApiHttpBody(o.httpBody);
- }
- buildCounterGoogleCloudMlV1beta1PredictRequest--;
-}
-
-buildUnnamed3079() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3079(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterGoogleCloudMlV1beta1PredictionInput = 0;
-buildGoogleCloudMlV1beta1PredictionInput() {
- var o = new api.GoogleCloudMlV1beta1PredictionInput();
- buildCounterGoogleCloudMlV1beta1PredictionInput++;
- if (buildCounterGoogleCloudMlV1beta1PredictionInput < 3) {
- o.dataFormat = "foo";
- o.inputPaths = buildUnnamed3079();
- o.maxWorkerCount = "foo";
- o.modelName = "foo";
- o.outputPath = "foo";
- o.region = "foo";
- o.runtimeVersion = "foo";
- o.uri = "foo";
- o.versionName = "foo";
- }
- buildCounterGoogleCloudMlV1beta1PredictionInput--;
- return o;
-}
-
-checkGoogleCloudMlV1beta1PredictionInput(api.GoogleCloudMlV1beta1PredictionInput o) {
- buildCounterGoogleCloudMlV1beta1PredictionInput++;
- if (buildCounterGoogleCloudMlV1beta1PredictionInput < 3) {
- unittest.expect(o.dataFormat, unittest.equals('foo'));
- checkUnnamed3079(o.inputPaths);
- unittest.expect(o.maxWorkerCount, unittest.equals('foo'));
- unittest.expect(o.modelName, unittest.equals('foo'));
- unittest.expect(o.outputPath, unittest.equals('foo'));
- unittest.expect(o.region, unittest.equals('foo'));
- unittest.expect(o.runtimeVersion, unittest.equals('foo'));
- unittest.expect(o.uri, unittest.equals('foo'));
- unittest.expect(o.versionName, unittest.equals('foo'));
- }
- buildCounterGoogleCloudMlV1beta1PredictionInput--;
-}
-
-core.int buildCounterGoogleCloudMlV1beta1PredictionOutput = 0;
-buildGoogleCloudMlV1beta1PredictionOutput() {
- var o = new api.GoogleCloudMlV1beta1PredictionOutput();
- buildCounterGoogleCloudMlV1beta1PredictionOutput++;
- if (buildCounterGoogleCloudMlV1beta1PredictionOutput < 3) {
- o.errorCount = "foo";
- o.nodeHours = 42.0;
- o.outputPath = "foo";
- o.predictionCount = "foo";
- }
- buildCounterGoogleCloudMlV1beta1PredictionOutput--;
- return o;
-}
-
-checkGoogleCloudMlV1beta1PredictionOutput(api.GoogleCloudMlV1beta1PredictionOutput o) {
- buildCounterGoogleCloudMlV1beta1PredictionOutput++;
- if (buildCounterGoogleCloudMlV1beta1PredictionOutput < 3) {
- unittest.expect(o.errorCount, unittest.equals('foo'));
- unittest.expect(o.nodeHours, unittest.equals(42.0));
- unittest.expect(o.outputPath, unittest.equals('foo'));
- unittest.expect(o.predictionCount, unittest.equals('foo'));
- }
- buildCounterGoogleCloudMlV1beta1PredictionOutput--;
-}
-
-core.int buildCounterGoogleCloudMlV1beta1SetDefaultVersionRequest = 0;
-buildGoogleCloudMlV1beta1SetDefaultVersionRequest() {
- var o = new api.GoogleCloudMlV1beta1SetDefaultVersionRequest();
- buildCounterGoogleCloudMlV1beta1SetDefaultVersionRequest++;
- if (buildCounterGoogleCloudMlV1beta1SetDefaultVersionRequest < 3) {
- }
- buildCounterGoogleCloudMlV1beta1SetDefaultVersionRequest--;
- return o;
-}
-
-checkGoogleCloudMlV1beta1SetDefaultVersionRequest(api.GoogleCloudMlV1beta1SetDefaultVersionRequest o) {
- buildCounterGoogleCloudMlV1beta1SetDefaultVersionRequest++;
- if (buildCounterGoogleCloudMlV1beta1SetDefaultVersionRequest < 3) {
- }
- buildCounterGoogleCloudMlV1beta1SetDefaultVersionRequest--;
-}
-
-buildUnnamed3080() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3080(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3081() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3081(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterGoogleCloudMlV1beta1TrainingInput = 0;
-buildGoogleCloudMlV1beta1TrainingInput() {
- var o = new api.GoogleCloudMlV1beta1TrainingInput();
- buildCounterGoogleCloudMlV1beta1TrainingInput++;
- if (buildCounterGoogleCloudMlV1beta1TrainingInput < 3) {
- o.args = buildUnnamed3080();
- o.hyperparameters = buildGoogleCloudMlV1beta1HyperparameterSpec();
- o.jobDir = "foo";
- o.masterType = "foo";
- o.packageUris = buildUnnamed3081();
- o.parameterServerCount = "foo";
- o.parameterServerType = "foo";
- o.pythonModule = "foo";
- o.region = "foo";
- o.runtimeVersion = "foo";
- o.scaleTier = "foo";
- o.workerCount = "foo";
- o.workerType = "foo";
- }
- buildCounterGoogleCloudMlV1beta1TrainingInput--;
- return o;
-}
-
-checkGoogleCloudMlV1beta1TrainingInput(api.GoogleCloudMlV1beta1TrainingInput o) {
- buildCounterGoogleCloudMlV1beta1TrainingInput++;
- if (buildCounterGoogleCloudMlV1beta1TrainingInput < 3) {
- checkUnnamed3080(o.args);
- checkGoogleCloudMlV1beta1HyperparameterSpec(o.hyperparameters);
- unittest.expect(o.jobDir, unittest.equals('foo'));
- unittest.expect(o.masterType, unittest.equals('foo'));
- checkUnnamed3081(o.packageUris);
- unittest.expect(o.parameterServerCount, unittest.equals('foo'));
- unittest.expect(o.parameterServerType, unittest.equals('foo'));
- unittest.expect(o.pythonModule, unittest.equals('foo'));
- unittest.expect(o.region, unittest.equals('foo'));
- unittest.expect(o.runtimeVersion, unittest.equals('foo'));
- unittest.expect(o.scaleTier, unittest.equals('foo'));
- unittest.expect(o.workerCount, unittest.equals('foo'));
- unittest.expect(o.workerType, unittest.equals('foo'));
- }
- buildCounterGoogleCloudMlV1beta1TrainingInput--;
-}
-
-buildUnnamed3082() {
- var o = new core.List<api.GoogleCloudMlV1beta1HyperparameterOutput>();
- o.add(buildGoogleCloudMlV1beta1HyperparameterOutput());
- o.add(buildGoogleCloudMlV1beta1HyperparameterOutput());
- return o;
-}
-
-checkUnnamed3082(core.List<api.GoogleCloudMlV1beta1HyperparameterOutput> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudMlV1beta1HyperparameterOutput(o[0]);
- checkGoogleCloudMlV1beta1HyperparameterOutput(o[1]);
-}
-
-core.int buildCounterGoogleCloudMlV1beta1TrainingOutput = 0;
-buildGoogleCloudMlV1beta1TrainingOutput() {
- var o = new api.GoogleCloudMlV1beta1TrainingOutput();
- buildCounterGoogleCloudMlV1beta1TrainingOutput++;
- if (buildCounterGoogleCloudMlV1beta1TrainingOutput < 3) {
- o.completedTrialCount = "foo";
- o.consumedMLUnits = 42.0;
- o.isHyperparameterTuningJob = true;
- o.trials = buildUnnamed3082();
- }
- buildCounterGoogleCloudMlV1beta1TrainingOutput--;
- return o;
-}
-
-checkGoogleCloudMlV1beta1TrainingOutput(api.GoogleCloudMlV1beta1TrainingOutput o) {
- buildCounterGoogleCloudMlV1beta1TrainingOutput++;
- if (buildCounterGoogleCloudMlV1beta1TrainingOutput < 3) {
- unittest.expect(o.completedTrialCount, unittest.equals('foo'));
- unittest.expect(o.consumedMLUnits, unittest.equals(42.0));
- unittest.expect(o.isHyperparameterTuningJob, unittest.isTrue);
- checkUnnamed3082(o.trials);
- }
- buildCounterGoogleCloudMlV1beta1TrainingOutput--;
-}
-
core.int buildCounterGoogleCloudMlV1beta1Version = 0;
buildGoogleCloudMlV1beta1Version() {
var o = new api.GoogleCloudMlV1beta1Version();
@@ -840,14 +840,14 @@
buildCounterGoogleCloudMlV1beta1Version--;
}
-buildUnnamed3083() {
+buildUnnamed13() {
var o = new core.List<api.GoogleLongrunningOperation>();
o.add(buildGoogleLongrunningOperation());
o.add(buildGoogleLongrunningOperation());
return o;
}
-checkUnnamed3083(core.List<api.GoogleLongrunningOperation> o) {
+checkUnnamed13(core.List<api.GoogleLongrunningOperation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleLongrunningOperation(o[0]);
checkGoogleLongrunningOperation(o[1]);
@@ -859,7 +859,7 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3083();
+ o.operations = buildUnnamed13();
}
buildCounterGoogleLongrunningListOperationsResponse--;
return o;
@@ -869,32 +869,32 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3083(o.operations);
+ checkUnnamed13(o.operations);
}
buildCounterGoogleLongrunningListOperationsResponse--;
}
-buildUnnamed3084() {
+buildUnnamed14() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3084(core.Map<core.String, core.Object> o) {
+checkUnnamed14(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed3085() {
+buildUnnamed15() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3085(core.Map<core.String, core.Object> o) {
+checkUnnamed15(core.Map<core.String, core.Object> 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'));
@@ -907,9 +907,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
o.done = true;
o.error = buildGoogleRpcStatus();
- o.metadata = buildUnnamed3084();
+ o.metadata = buildUnnamed14();
o.name = "foo";
- o.response = buildUnnamed3085();
+ o.response = buildUnnamed15();
}
buildCounterGoogleLongrunningOperation--;
return o;
@@ -920,9 +920,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkGoogleRpcStatus(o.error);
- checkUnnamed3084(o.metadata);
+ checkUnnamed14(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3085(o.response);
+ checkUnnamed15(o.response);
}
buildCounterGoogleLongrunningOperation--;
}
@@ -944,30 +944,30 @@
buildCounterGoogleProtobufEmpty--;
}
-buildUnnamed3086() {
+buildUnnamed16() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3086(core.Map<core.String, core.Object> o) {
+checkUnnamed16(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed3087() {
+buildUnnamed17() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3086());
- o.add(buildUnnamed3086());
+ o.add(buildUnnamed16());
+ o.add(buildUnnamed16());
return o;
}
-checkUnnamed3087(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed17(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3086(o[0]);
- checkUnnamed3086(o[1]);
+ checkUnnamed16(o[0]);
+ checkUnnamed16(o[1]);
}
core.int buildCounterGoogleRpcStatus = 0;
@@ -976,7 +976,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3087();
+ o.details = buildUnnamed17();
o.message = "foo";
}
buildCounterGoogleRpcStatus--;
@@ -987,7 +987,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3087(o.details);
+ checkUnnamed17(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterGoogleRpcStatus--;
@@ -1004,6 +1004,87 @@
});
+ unittest.group("obj-schema-GoogleCloudMlV1HyperparameterOutputHyperparameterMetric", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudMlV1HyperparameterOutputHyperparameterMetric();
+ var od = new api.GoogleCloudMlV1HyperparameterOutputHyperparameterMetric.fromJson(o.toJson());
+ checkGoogleCloudMlV1HyperparameterOutputHyperparameterMetric(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleCloudMlV1CancelJobRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudMlV1CancelJobRequest();
+ var od = new api.GoogleCloudMlV1CancelJobRequest.fromJson(o.toJson());
+ checkGoogleCloudMlV1CancelJobRequest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleCloudMlV1GetConfigResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudMlV1GetConfigResponse();
+ var od = new api.GoogleCloudMlV1GetConfigResponse.fromJson(o.toJson());
+ checkGoogleCloudMlV1GetConfigResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleCloudMlV1HyperparameterOutput", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudMlV1HyperparameterOutput();
+ var od = new api.GoogleCloudMlV1HyperparameterOutput.fromJson(o.toJson());
+ checkGoogleCloudMlV1HyperparameterOutput(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleCloudMlV1HyperparameterSpec", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudMlV1HyperparameterSpec();
+ var od = new api.GoogleCloudMlV1HyperparameterSpec.fromJson(o.toJson());
+ checkGoogleCloudMlV1HyperparameterSpec(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleCloudMlV1Job", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudMlV1Job();
+ var od = new api.GoogleCloudMlV1Job.fromJson(o.toJson());
+ checkGoogleCloudMlV1Job(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleCloudMlV1ListJobsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudMlV1ListJobsResponse();
+ var od = new api.GoogleCloudMlV1ListJobsResponse.fromJson(o.toJson());
+ checkGoogleCloudMlV1ListJobsResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleCloudMlV1ListModelsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudMlV1ListModelsResponse();
+ var od = new api.GoogleCloudMlV1ListModelsResponse.fromJson(o.toJson());
+ checkGoogleCloudMlV1ListModelsResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleCloudMlV1ListVersionsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudMlV1ListVersionsResponse();
+ var od = new api.GoogleCloudMlV1ListVersionsResponse.fromJson(o.toJson());
+ checkGoogleCloudMlV1ListVersionsResponse(od);
+ });
+ });
+
+
unittest.group("obj-schema-GoogleCloudMlV1ManualScaling", () {
unittest.test("to-json--from-json", () {
var o = buildGoogleCloudMlV1ManualScaling();
@@ -1013,6 +1094,15 @@
});
+ unittest.group("obj-schema-GoogleCloudMlV1Model", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudMlV1Model();
+ var od = new api.GoogleCloudMlV1Model.fromJson(o.toJson());
+ checkGoogleCloudMlV1Model(od);
+ });
+ });
+
+
unittest.group("obj-schema-GoogleCloudMlV1OperationMetadata", () {
unittest.test("to-json--from-json", () {
var o = buildGoogleCloudMlV1OperationMetadata();
@@ -1022,6 +1112,69 @@
});
+ unittest.group("obj-schema-GoogleCloudMlV1ParameterSpec", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudMlV1ParameterSpec();
+ var od = new api.GoogleCloudMlV1ParameterSpec.fromJson(o.toJson());
+ checkGoogleCloudMlV1ParameterSpec(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleCloudMlV1PredictRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudMlV1PredictRequest();
+ var od = new api.GoogleCloudMlV1PredictRequest.fromJson(o.toJson());
+ checkGoogleCloudMlV1PredictRequest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleCloudMlV1PredictionInput", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudMlV1PredictionInput();
+ var od = new api.GoogleCloudMlV1PredictionInput.fromJson(o.toJson());
+ checkGoogleCloudMlV1PredictionInput(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleCloudMlV1PredictionOutput", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudMlV1PredictionOutput();
+ var od = new api.GoogleCloudMlV1PredictionOutput.fromJson(o.toJson());
+ checkGoogleCloudMlV1PredictionOutput(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleCloudMlV1SetDefaultVersionRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudMlV1SetDefaultVersionRequest();
+ var od = new api.GoogleCloudMlV1SetDefaultVersionRequest.fromJson(o.toJson());
+ checkGoogleCloudMlV1SetDefaultVersionRequest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleCloudMlV1TrainingInput", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudMlV1TrainingInput();
+ var od = new api.GoogleCloudMlV1TrainingInput.fromJson(o.toJson());
+ checkGoogleCloudMlV1TrainingInput(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleCloudMlV1TrainingOutput", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudMlV1TrainingOutput();
+ var od = new api.GoogleCloudMlV1TrainingOutput.fromJson(o.toJson());
+ checkGoogleCloudMlV1TrainingOutput(od);
+ });
+ });
+
+
unittest.group("obj-schema-GoogleCloudMlV1Version", () {
unittest.test("to-json--from-json", () {
var o = buildGoogleCloudMlV1Version();
@@ -1031,87 +1184,6 @@
});
- unittest.group("obj-schema-GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric();
- var od = new api.GoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric.fromJson(o.toJson());
- checkGoogleCloudMlV1beta1HyperparameterOutputHyperparameterMetric(od);
- });
- });
-
-
- unittest.group("obj-schema-GoogleCloudMlV1beta1CancelJobRequest", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudMlV1beta1CancelJobRequest();
- var od = new api.GoogleCloudMlV1beta1CancelJobRequest.fromJson(o.toJson());
- checkGoogleCloudMlV1beta1CancelJobRequest(od);
- });
- });
-
-
- unittest.group("obj-schema-GoogleCloudMlV1beta1GetConfigResponse", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudMlV1beta1GetConfigResponse();
- var od = new api.GoogleCloudMlV1beta1GetConfigResponse.fromJson(o.toJson());
- checkGoogleCloudMlV1beta1GetConfigResponse(od);
- });
- });
-
-
- unittest.group("obj-schema-GoogleCloudMlV1beta1HyperparameterOutput", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudMlV1beta1HyperparameterOutput();
- var od = new api.GoogleCloudMlV1beta1HyperparameterOutput.fromJson(o.toJson());
- checkGoogleCloudMlV1beta1HyperparameterOutput(od);
- });
- });
-
-
- unittest.group("obj-schema-GoogleCloudMlV1beta1HyperparameterSpec", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudMlV1beta1HyperparameterSpec();
- var od = new api.GoogleCloudMlV1beta1HyperparameterSpec.fromJson(o.toJson());
- checkGoogleCloudMlV1beta1HyperparameterSpec(od);
- });
- });
-
-
- unittest.group("obj-schema-GoogleCloudMlV1beta1Job", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudMlV1beta1Job();
- var od = new api.GoogleCloudMlV1beta1Job.fromJson(o.toJson());
- checkGoogleCloudMlV1beta1Job(od);
- });
- });
-
-
- unittest.group("obj-schema-GoogleCloudMlV1beta1ListJobsResponse", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudMlV1beta1ListJobsResponse();
- var od = new api.GoogleCloudMlV1beta1ListJobsResponse.fromJson(o.toJson());
- checkGoogleCloudMlV1beta1ListJobsResponse(od);
- });
- });
-
-
- unittest.group("obj-schema-GoogleCloudMlV1beta1ListModelsResponse", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudMlV1beta1ListModelsResponse();
- var od = new api.GoogleCloudMlV1beta1ListModelsResponse.fromJson(o.toJson());
- checkGoogleCloudMlV1beta1ListModelsResponse(od);
- });
- });
-
-
- unittest.group("obj-schema-GoogleCloudMlV1beta1ListVersionsResponse", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudMlV1beta1ListVersionsResponse();
- var od = new api.GoogleCloudMlV1beta1ListVersionsResponse.fromJson(o.toJson());
- checkGoogleCloudMlV1beta1ListVersionsResponse(od);
- });
- });
-
-
unittest.group("obj-schema-GoogleCloudMlV1beta1ManualScaling", () {
unittest.test("to-json--from-json", () {
var o = buildGoogleCloudMlV1beta1ManualScaling();
@@ -1121,15 +1193,6 @@
});
- unittest.group("obj-schema-GoogleCloudMlV1beta1Model", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudMlV1beta1Model();
- var od = new api.GoogleCloudMlV1beta1Model.fromJson(o.toJson());
- checkGoogleCloudMlV1beta1Model(od);
- });
- });
-
-
unittest.group("obj-schema-GoogleCloudMlV1beta1OperationMetadata", () {
unittest.test("to-json--from-json", () {
var o = buildGoogleCloudMlV1beta1OperationMetadata();
@@ -1139,69 +1202,6 @@
});
- unittest.group("obj-schema-GoogleCloudMlV1beta1ParameterSpec", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudMlV1beta1ParameterSpec();
- var od = new api.GoogleCloudMlV1beta1ParameterSpec.fromJson(o.toJson());
- checkGoogleCloudMlV1beta1ParameterSpec(od);
- });
- });
-
-
- unittest.group("obj-schema-GoogleCloudMlV1beta1PredictRequest", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudMlV1beta1PredictRequest();
- var od = new api.GoogleCloudMlV1beta1PredictRequest.fromJson(o.toJson());
- checkGoogleCloudMlV1beta1PredictRequest(od);
- });
- });
-
-
- unittest.group("obj-schema-GoogleCloudMlV1beta1PredictionInput", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudMlV1beta1PredictionInput();
- var od = new api.GoogleCloudMlV1beta1PredictionInput.fromJson(o.toJson());
- checkGoogleCloudMlV1beta1PredictionInput(od);
- });
- });
-
-
- unittest.group("obj-schema-GoogleCloudMlV1beta1PredictionOutput", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudMlV1beta1PredictionOutput();
- var od = new api.GoogleCloudMlV1beta1PredictionOutput.fromJson(o.toJson());
- checkGoogleCloudMlV1beta1PredictionOutput(od);
- });
- });
-
-
- unittest.group("obj-schema-GoogleCloudMlV1beta1SetDefaultVersionRequest", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudMlV1beta1SetDefaultVersionRequest();
- var od = new api.GoogleCloudMlV1beta1SetDefaultVersionRequest.fromJson(o.toJson());
- checkGoogleCloudMlV1beta1SetDefaultVersionRequest(od);
- });
- });
-
-
- unittest.group("obj-schema-GoogleCloudMlV1beta1TrainingInput", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudMlV1beta1TrainingInput();
- var od = new api.GoogleCloudMlV1beta1TrainingInput.fromJson(o.toJson());
- checkGoogleCloudMlV1beta1TrainingInput(od);
- });
- });
-
-
- unittest.group("obj-schema-GoogleCloudMlV1beta1TrainingOutput", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudMlV1beta1TrainingOutput();
- var od = new api.GoogleCloudMlV1beta1TrainingOutput.fromJson(o.toJson());
- checkGoogleCloudMlV1beta1TrainingOutput(od);
- });
- });
-
-
unittest.group("obj-schema-GoogleCloudMlV1beta1Version", () {
unittest.test("to-json--from-json", () {
var o = buildGoogleCloudMlV1beta1Version();
@@ -1260,8 +1260,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1285,11 +1285,11 @@
var h = {
"content-type" : "application/json; charset=utf-8",
};
- var resp = convert.JSON.encode(buildGoogleCloudMlV1beta1GetConfigResponse());
+ var resp = convert.JSON.encode(buildGoogleCloudMlV1GetConfigResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.getConfig(arg_name).then(unittest.expectAsync(((api.GoogleCloudMlV1beta1GetConfigResponse response) {
- checkGoogleCloudMlV1beta1GetConfigResponse(response);
+ res.getConfig(arg_name).then(unittest.expectAsync(((api.GoogleCloudMlV1GetConfigResponse response) {
+ checkGoogleCloudMlV1GetConfigResponse(response);
})));
});
@@ -1297,11 +1297,11 @@
var mock = new HttpServerMock();
api.ProjectsResourceApi res = new api.MlApi(mock).projects;
- var arg_request = buildGoogleCloudMlV1beta1PredictRequest();
+ var arg_request = buildGoogleCloudMlV1PredictRequest();
var arg_name = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.GoogleCloudMlV1beta1PredictRequest.fromJson(json);
- checkGoogleCloudMlV1beta1PredictRequest(obj);
+ var obj = new api.GoogleCloudMlV1PredictRequest.fromJson(json);
+ checkGoogleCloudMlV1PredictRequest(obj);
var path = (req.url).path;
var pathOffset = 0;
@@ -1309,8 +1309,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1350,11 +1350,11 @@
var mock = new HttpServerMock();
api.ProjectsJobsResourceApi res = new api.MlApi(mock).projects.jobs;
- var arg_request = buildGoogleCloudMlV1beta1CancelJobRequest();
+ var arg_request = buildGoogleCloudMlV1CancelJobRequest();
var arg_name = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.GoogleCloudMlV1beta1CancelJobRequest.fromJson(json);
- checkGoogleCloudMlV1beta1CancelJobRequest(obj);
+ var obj = new api.GoogleCloudMlV1CancelJobRequest.fromJson(json);
+ checkGoogleCloudMlV1CancelJobRequest(obj);
var path = (req.url).path;
var pathOffset = 0;
@@ -1362,8 +1362,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1399,11 +1399,11 @@
var mock = new HttpServerMock();
api.ProjectsJobsResourceApi res = new api.MlApi(mock).projects.jobs;
- var arg_request = buildGoogleCloudMlV1beta1Job();
+ var arg_request = buildGoogleCloudMlV1Job();
var arg_parent = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.GoogleCloudMlV1beta1Job.fromJson(json);
- checkGoogleCloudMlV1beta1Job(obj);
+ var obj = new api.GoogleCloudMlV1Job.fromJson(json);
+ checkGoogleCloudMlV1Job(obj);
var path = (req.url).path;
var pathOffset = 0;
@@ -1411,8 +1411,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1436,11 +1436,11 @@
var h = {
"content-type" : "application/json; charset=utf-8",
};
- var resp = convert.JSON.encode(buildGoogleCloudMlV1beta1Job());
+ var resp = convert.JSON.encode(buildGoogleCloudMlV1Job());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.create(arg_request, arg_parent).then(unittest.expectAsync(((api.GoogleCloudMlV1beta1Job response) {
- checkGoogleCloudMlV1beta1Job(response);
+ res.create(arg_request, arg_parent).then(unittest.expectAsync(((api.GoogleCloudMlV1Job response) {
+ checkGoogleCloudMlV1Job(response);
})));
});
@@ -1456,8 +1456,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1481,11 +1481,11 @@
var h = {
"content-type" : "application/json; charset=utf-8",
};
- var resp = convert.JSON.encode(buildGoogleCloudMlV1beta1Job());
+ var resp = convert.JSON.encode(buildGoogleCloudMlV1Job());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_name).then(unittest.expectAsync(((api.GoogleCloudMlV1beta1Job response) {
- checkGoogleCloudMlV1beta1Job(response);
+ res.get(arg_name).then(unittest.expectAsync(((api.GoogleCloudMlV1Job response) {
+ checkGoogleCloudMlV1Job(response);
})));
});
@@ -1494,9 +1494,9 @@
var mock = new HttpServerMock();
api.ProjectsJobsResourceApi res = new api.MlApi(mock).projects.jobs;
var arg_parent = "foo";
+ var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_filter = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1504,8 +1504,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1524,19 +1524,19 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
var h = {
"content-type" : "application/json; charset=utf-8",
};
- var resp = convert.JSON.encode(buildGoogleCloudMlV1beta1ListJobsResponse());
+ var resp = convert.JSON.encode(buildGoogleCloudMlV1ListJobsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.GoogleCloudMlV1beta1ListJobsResponse response) {
- checkGoogleCloudMlV1beta1ListJobsResponse(response);
+ res.list(arg_parent, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.GoogleCloudMlV1ListJobsResponse response) {
+ checkGoogleCloudMlV1ListJobsResponse(response);
})));
});
@@ -1548,11 +1548,11 @@
var mock = new HttpServerMock();
api.ProjectsModelsResourceApi res = new api.MlApi(mock).projects.models;
- var arg_request = buildGoogleCloudMlV1beta1Model();
+ var arg_request = buildGoogleCloudMlV1Model();
var arg_parent = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.GoogleCloudMlV1beta1Model.fromJson(json);
- checkGoogleCloudMlV1beta1Model(obj);
+ var obj = new api.GoogleCloudMlV1Model.fromJson(json);
+ checkGoogleCloudMlV1Model(obj);
var path = (req.url).path;
var pathOffset = 0;
@@ -1560,8 +1560,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1585,11 +1585,11 @@
var h = {
"content-type" : "application/json; charset=utf-8",
};
- var resp = convert.JSON.encode(buildGoogleCloudMlV1beta1Model());
+ var resp = convert.JSON.encode(buildGoogleCloudMlV1Model());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.create(arg_request, arg_parent).then(unittest.expectAsync(((api.GoogleCloudMlV1beta1Model response) {
- checkGoogleCloudMlV1beta1Model(response);
+ res.create(arg_request, arg_parent).then(unittest.expectAsync(((api.GoogleCloudMlV1Model response) {
+ checkGoogleCloudMlV1Model(response);
})));
});
@@ -1605,8 +1605,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1650,8 +1650,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1675,11 +1675,11 @@
var h = {
"content-type" : "application/json; charset=utf-8",
};
- var resp = convert.JSON.encode(buildGoogleCloudMlV1beta1Model());
+ var resp = convert.JSON.encode(buildGoogleCloudMlV1Model());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_name).then(unittest.expectAsync(((api.GoogleCloudMlV1beta1Model response) {
- checkGoogleCloudMlV1beta1Model(response);
+ res.get(arg_name).then(unittest.expectAsync(((api.GoogleCloudMlV1Model response) {
+ checkGoogleCloudMlV1Model(response);
})));
});
@@ -1697,8 +1697,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1724,11 +1724,11 @@
var h = {
"content-type" : "application/json; charset=utf-8",
};
- var resp = convert.JSON.encode(buildGoogleCloudMlV1beta1ListModelsResponse());
+ var resp = convert.JSON.encode(buildGoogleCloudMlV1ListModelsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.GoogleCloudMlV1beta1ListModelsResponse response) {
- checkGoogleCloudMlV1beta1ListModelsResponse(response);
+ res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.GoogleCloudMlV1ListModelsResponse response) {
+ checkGoogleCloudMlV1ListModelsResponse(response);
})));
});
@@ -1740,11 +1740,11 @@
var mock = new HttpServerMock();
api.ProjectsModelsVersionsResourceApi res = new api.MlApi(mock).projects.models.versions;
- var arg_request = buildGoogleCloudMlV1beta1Version();
+ var arg_request = buildGoogleCloudMlV1Version();
var arg_parent = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.GoogleCloudMlV1beta1Version.fromJson(json);
- checkGoogleCloudMlV1beta1Version(obj);
+ var obj = new api.GoogleCloudMlV1Version.fromJson(json);
+ checkGoogleCloudMlV1Version(obj);
var path = (req.url).path;
var pathOffset = 0;
@@ -1752,8 +1752,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1797,8 +1797,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1842,8 +1842,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1867,11 +1867,11 @@
var h = {
"content-type" : "application/json; charset=utf-8",
};
- var resp = convert.JSON.encode(buildGoogleCloudMlV1beta1Version());
+ var resp = convert.JSON.encode(buildGoogleCloudMlV1Version());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_name).then(unittest.expectAsync(((api.GoogleCloudMlV1beta1Version response) {
- checkGoogleCloudMlV1beta1Version(response);
+ res.get(arg_name).then(unittest.expectAsync(((api.GoogleCloudMlV1Version response) {
+ checkGoogleCloudMlV1Version(response);
})));
});
@@ -1889,8 +1889,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1916,11 +1916,11 @@
var h = {
"content-type" : "application/json; charset=utf-8",
};
- var resp = convert.JSON.encode(buildGoogleCloudMlV1beta1ListVersionsResponse());
+ var resp = convert.JSON.encode(buildGoogleCloudMlV1ListVersionsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.GoogleCloudMlV1beta1ListVersionsResponse response) {
- checkGoogleCloudMlV1beta1ListVersionsResponse(response);
+ res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.GoogleCloudMlV1ListVersionsResponse response) {
+ checkGoogleCloudMlV1ListVersionsResponse(response);
})));
});
@@ -1928,11 +1928,11 @@
var mock = new HttpServerMock();
api.ProjectsModelsVersionsResourceApi res = new api.MlApi(mock).projects.models.versions;
- var arg_request = buildGoogleCloudMlV1beta1SetDefaultVersionRequest();
+ var arg_request = buildGoogleCloudMlV1SetDefaultVersionRequest();
var arg_name = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
- var obj = new api.GoogleCloudMlV1beta1SetDefaultVersionRequest.fromJson(json);
- checkGoogleCloudMlV1beta1SetDefaultVersionRequest(obj);
+ var obj = new api.GoogleCloudMlV1SetDefaultVersionRequest.fromJson(json);
+ checkGoogleCloudMlV1SetDefaultVersionRequest(obj);
var path = (req.url).path;
var pathOffset = 0;
@@ -1940,8 +1940,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -1965,11 +1965,11 @@
var h = {
"content-type" : "application/json; charset=utf-8",
};
- var resp = convert.JSON.encode(buildGoogleCloudMlV1beta1Version());
+ var resp = convert.JSON.encode(buildGoogleCloudMlV1Version());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setDefault(arg_request, arg_name).then(unittest.expectAsync(((api.GoogleCloudMlV1beta1Version response) {
- checkGoogleCloudMlV1beta1Version(response);
+ res.setDefault(arg_request, arg_name).then(unittest.expectAsync(((api.GoogleCloudMlV1Version response) {
+ checkGoogleCloudMlV1Version(response);
})));
});
@@ -1989,8 +1989,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -2034,8 +2034,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -2079,8 +2079,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -2117,9 +2117,9 @@
var mock = new HttpServerMock();
api.ProjectsOperationsResourceApi res = new api.MlApi(mock).projects.operations;
var arg_name = "foo";
+ var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_filter = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2127,8 +2127,8 @@
var subPart;
unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
- pathOffset += 8;
+ 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;
var query = (req.url).query;
@@ -2147,9 +2147,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -2158,7 +2158,7 @@
var resp = convert.JSON.encode(buildGoogleLongrunningListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.GoogleLongrunningListOperationsResponse response) {
+ res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.GoogleLongrunningListOperationsResponse response) {
checkGoogleLongrunningListOperationsResponse(response);
})));
});
diff --git a/generated/googleapis/test/monitoring/v3_test.dart b/generated/googleapis/test/monitoring/v3_test.dart
index bd7ea15..e9f50d9 100644
--- a/generated/googleapis/test/monitoring/v3_test.dart
+++ b/generated/googleapis/test/monitoring/v3_test.dart
@@ -74,27 +74,27 @@
buildCounterBucketOptions--;
}
-buildUnnamed1319() {
+buildUnnamed1372() {
var o = new core.Map<core.String, api.TypedValue>();
o["x"] = buildTypedValue();
o["y"] = buildTypedValue();
return o;
}
-checkUnnamed1319(core.Map<core.String, api.TypedValue> o) {
+checkUnnamed1372(core.Map<core.String, api.TypedValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkTypedValue(o["x"]);
checkTypedValue(o["y"]);
}
-buildUnnamed1320() {
+buildUnnamed1373() {
var o = new core.List<api.CollectdValue>();
o.add(buildCollectdValue());
o.add(buildCollectdValue());
return o;
}
-checkUnnamed1320(core.List<api.CollectdValue> o) {
+checkUnnamed1373(core.List<api.CollectdValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkCollectdValue(o[0]);
checkCollectdValue(o[1]);
@@ -106,13 +106,13 @@
buildCounterCollectdPayload++;
if (buildCounterCollectdPayload < 3) {
o.endTime = "foo";
- o.metadata = buildUnnamed1319();
+ o.metadata = buildUnnamed1372();
o.plugin = "foo";
o.pluginInstance = "foo";
o.startTime = "foo";
o.type = "foo";
o.typeInstance = "foo";
- o.values = buildUnnamed1320();
+ o.values = buildUnnamed1373();
}
buildCounterCollectdPayload--;
return o;
@@ -122,13 +122,13 @@
buildCounterCollectdPayload++;
if (buildCounterCollectdPayload < 3) {
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed1319(o.metadata);
+ checkUnnamed1372(o.metadata);
unittest.expect(o.plugin, unittest.equals('foo'));
unittest.expect(o.pluginInstance, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.typeInstance, unittest.equals('foo'));
- checkUnnamed1320(o.values);
+ checkUnnamed1373(o.values);
}
buildCounterCollectdPayload--;
}
@@ -156,14 +156,14 @@
buildCounterCollectdValue--;
}
-buildUnnamed1321() {
+buildUnnamed1374() {
var o = new core.List<api.CollectdPayload>();
o.add(buildCollectdPayload());
o.add(buildCollectdPayload());
return o;
}
-checkUnnamed1321(core.List<api.CollectdPayload> o) {
+checkUnnamed1374(core.List<api.CollectdPayload> o) {
unittest.expect(o, unittest.hasLength(2));
checkCollectdPayload(o[0]);
checkCollectdPayload(o[1]);
@@ -174,7 +174,7 @@
var o = new api.CreateCollectdTimeSeriesRequest();
buildCounterCreateCollectdTimeSeriesRequest++;
if (buildCounterCreateCollectdTimeSeriesRequest < 3) {
- o.collectdPayloads = buildUnnamed1321();
+ o.collectdPayloads = buildUnnamed1374();
o.collectdVersion = "foo";
o.resource = buildMonitoredResource();
}
@@ -185,21 +185,21 @@
checkCreateCollectdTimeSeriesRequest(api.CreateCollectdTimeSeriesRequest o) {
buildCounterCreateCollectdTimeSeriesRequest++;
if (buildCounterCreateCollectdTimeSeriesRequest < 3) {
- checkUnnamed1321(o.collectdPayloads);
+ checkUnnamed1374(o.collectdPayloads);
unittest.expect(o.collectdVersion, unittest.equals('foo'));
checkMonitoredResource(o.resource);
}
buildCounterCreateCollectdTimeSeriesRequest--;
}
-buildUnnamed1322() {
+buildUnnamed1375() {
var o = new core.List<api.TimeSeries>();
o.add(buildTimeSeries());
o.add(buildTimeSeries());
return o;
}
-checkUnnamed1322(core.List<api.TimeSeries> o) {
+checkUnnamed1375(core.List<api.TimeSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeSeries(o[0]);
checkTimeSeries(o[1]);
@@ -210,7 +210,7 @@
var o = new api.CreateTimeSeriesRequest();
buildCounterCreateTimeSeriesRequest++;
if (buildCounterCreateTimeSeriesRequest < 3) {
- o.timeSeries = buildUnnamed1322();
+ o.timeSeries = buildUnnamed1375();
}
buildCounterCreateTimeSeriesRequest--;
return o;
@@ -219,19 +219,19 @@
checkCreateTimeSeriesRequest(api.CreateTimeSeriesRequest o) {
buildCounterCreateTimeSeriesRequest++;
if (buildCounterCreateTimeSeriesRequest < 3) {
- checkUnnamed1322(o.timeSeries);
+ checkUnnamed1375(o.timeSeries);
}
buildCounterCreateTimeSeriesRequest--;
}
-buildUnnamed1323() {
+buildUnnamed1376() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1323(core.List<core.String> o) {
+checkUnnamed1376(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -242,7 +242,7 @@
var o = new api.Distribution();
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- o.bucketCounts = buildUnnamed1323();
+ o.bucketCounts = buildUnnamed1376();
o.bucketOptions = buildBucketOptions();
o.count = "foo";
o.mean = 42.0;
@@ -256,7 +256,7 @@
checkDistribution(api.Distribution o) {
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- checkUnnamed1323(o.bucketCounts);
+ checkUnnamed1376(o.bucketCounts);
checkBucketOptions(o.bucketOptions);
unittest.expect(o.count, unittest.equals('foo'));
unittest.expect(o.mean, unittest.equals(42.0));
@@ -283,14 +283,14 @@
buildCounterEmpty--;
}
-buildUnnamed1324() {
+buildUnnamed1377() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1324(core.List<core.double> o) {
+checkUnnamed1377(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -301,7 +301,7 @@
var o = new api.Explicit();
buildCounterExplicit++;
if (buildCounterExplicit < 3) {
- o.bounds = buildUnnamed1324();
+ o.bounds = buildUnnamed1377();
}
buildCounterExplicit--;
return o;
@@ -310,7 +310,7 @@
checkExplicit(api.Explicit o) {
buildCounterExplicit++;
if (buildCounterExplicit < 3) {
- checkUnnamed1324(o.bounds);
+ checkUnnamed1377(o.bounds);
}
buildCounterExplicit--;
}
@@ -338,14 +338,14 @@
buildCounterExponential--;
}
-buildUnnamed1325() {
+buildUnnamed1378() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1325(core.List<api.Option> o) {
+checkUnnamed1378(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -363,7 +363,7 @@
o.name = "foo";
o.number = 42;
o.oneofIndex = 42;
- o.options = buildUnnamed1325();
+ o.options = buildUnnamed1378();
o.packed = true;
o.typeUrl = "foo";
}
@@ -381,7 +381,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
unittest.expect(o.oneofIndex, unittest.equals(42));
- checkUnnamed1325(o.options);
+ checkUnnamed1378(o.options);
unittest.expect(o.packed, unittest.isTrue);
unittest.expect(o.typeUrl, unittest.equals('foo'));
}
@@ -461,14 +461,14 @@
buildCounterLinear--;
}
-buildUnnamed1326() {
+buildUnnamed1379() {
var o = new core.List<api.MonitoredResource>();
o.add(buildMonitoredResource());
o.add(buildMonitoredResource());
return o;
}
-checkUnnamed1326(core.List<api.MonitoredResource> o) {
+checkUnnamed1379(core.List<api.MonitoredResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResource(o[0]);
checkMonitoredResource(o[1]);
@@ -479,7 +479,7 @@
var o = new api.ListGroupMembersResponse();
buildCounterListGroupMembersResponse++;
if (buildCounterListGroupMembersResponse < 3) {
- o.members = buildUnnamed1326();
+ o.members = buildUnnamed1379();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -490,21 +490,21 @@
checkListGroupMembersResponse(api.ListGroupMembersResponse o) {
buildCounterListGroupMembersResponse++;
if (buildCounterListGroupMembersResponse < 3) {
- checkUnnamed1326(o.members);
+ checkUnnamed1379(o.members);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListGroupMembersResponse--;
}
-buildUnnamed1327() {
+buildUnnamed1380() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed1327(core.List<api.Group> o) {
+checkUnnamed1380(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -515,7 +515,7 @@
var o = new api.ListGroupsResponse();
buildCounterListGroupsResponse++;
if (buildCounterListGroupsResponse < 3) {
- o.group = buildUnnamed1327();
+ o.group = buildUnnamed1380();
o.nextPageToken = "foo";
}
buildCounterListGroupsResponse--;
@@ -525,20 +525,20 @@
checkListGroupsResponse(api.ListGroupsResponse o) {
buildCounterListGroupsResponse++;
if (buildCounterListGroupsResponse < 3) {
- checkUnnamed1327(o.group);
+ checkUnnamed1380(o.group);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGroupsResponse--;
}
-buildUnnamed1328() {
+buildUnnamed1381() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed1328(core.List<api.MetricDescriptor> o) {
+checkUnnamed1381(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
@@ -549,7 +549,7 @@
var o = new api.ListMetricDescriptorsResponse();
buildCounterListMetricDescriptorsResponse++;
if (buildCounterListMetricDescriptorsResponse < 3) {
- o.metricDescriptors = buildUnnamed1328();
+ o.metricDescriptors = buildUnnamed1381();
o.nextPageToken = "foo";
}
buildCounterListMetricDescriptorsResponse--;
@@ -559,20 +559,20 @@
checkListMetricDescriptorsResponse(api.ListMetricDescriptorsResponse o) {
buildCounterListMetricDescriptorsResponse++;
if (buildCounterListMetricDescriptorsResponse < 3) {
- checkUnnamed1328(o.metricDescriptors);
+ checkUnnamed1381(o.metricDescriptors);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListMetricDescriptorsResponse--;
}
-buildUnnamed1329() {
+buildUnnamed1382() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed1329(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed1382(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
@@ -584,7 +584,7 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
o.nextPageToken = "foo";
- o.resourceDescriptors = buildUnnamed1329();
+ o.resourceDescriptors = buildUnnamed1382();
}
buildCounterListMonitoredResourceDescriptorsResponse--;
return o;
@@ -594,19 +594,19 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1329(o.resourceDescriptors);
+ checkUnnamed1382(o.resourceDescriptors);
}
buildCounterListMonitoredResourceDescriptorsResponse--;
}
-buildUnnamed1330() {
+buildUnnamed1383() {
var o = new core.List<api.TimeSeries>();
o.add(buildTimeSeries());
o.add(buildTimeSeries());
return o;
}
-checkUnnamed1330(core.List<api.TimeSeries> o) {
+checkUnnamed1383(core.List<api.TimeSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeSeries(o[0]);
checkTimeSeries(o[1]);
@@ -618,7 +618,7 @@
buildCounterListTimeSeriesResponse++;
if (buildCounterListTimeSeriesResponse < 3) {
o.nextPageToken = "foo";
- o.timeSeries = buildUnnamed1330();
+ o.timeSeries = buildUnnamed1383();
}
buildCounterListTimeSeriesResponse--;
return o;
@@ -628,19 +628,19 @@
buildCounterListTimeSeriesResponse++;
if (buildCounterListTimeSeriesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1330(o.timeSeries);
+ checkUnnamed1383(o.timeSeries);
}
buildCounterListTimeSeriesResponse--;
}
-buildUnnamed1331() {
+buildUnnamed1384() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1331(core.Map<core.String, core.String> o) {
+checkUnnamed1384(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -651,7 +651,7 @@
var o = new api.Metric();
buildCounterMetric++;
if (buildCounterMetric < 3) {
- o.labels = buildUnnamed1331();
+ o.labels = buildUnnamed1384();
o.type = "foo";
}
buildCounterMetric--;
@@ -661,20 +661,20 @@
checkMetric(api.Metric o) {
buildCounterMetric++;
if (buildCounterMetric < 3) {
- checkUnnamed1331(o.labels);
+ checkUnnamed1384(o.labels);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMetric--;
}
-buildUnnamed1332() {
+buildUnnamed1385() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1332(core.List<api.LabelDescriptor> o) {
+checkUnnamed1385(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -687,7 +687,7 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1332();
+ o.labels = buildUnnamed1385();
o.metricKind = "foo";
o.name = "foo";
o.type = "foo";
@@ -703,7 +703,7 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1332(o.labels);
+ checkUnnamed1385(o.labels);
unittest.expect(o.metricKind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -713,14 +713,14 @@
buildCounterMetricDescriptor--;
}
-buildUnnamed1333() {
+buildUnnamed1386() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1333(core.Map<core.String, core.String> o) {
+checkUnnamed1386(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -731,7 +731,7 @@
var o = new api.MonitoredResource();
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- o.labels = buildUnnamed1333();
+ o.labels = buildUnnamed1386();
o.type = "foo";
}
buildCounterMonitoredResource--;
@@ -741,20 +741,20 @@
checkMonitoredResource(api.MonitoredResource o) {
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- checkUnnamed1333(o.labels);
+ checkUnnamed1386(o.labels);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResource--;
}
-buildUnnamed1334() {
+buildUnnamed1387() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1334(core.List<api.LabelDescriptor> o) {
+checkUnnamed1387(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -767,7 +767,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1334();
+ o.labels = buildUnnamed1387();
o.name = "foo";
o.type = "foo";
}
@@ -780,21 +780,21 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1334(o.labels);
+ checkUnnamed1387(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed1335() {
+buildUnnamed1388() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1335(core.Map<core.String, core.Object> o) {
+checkUnnamed1388(core.Map<core.String, core.Object> 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'));
@@ -806,7 +806,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
o.name = "foo";
- o.value = buildUnnamed1335();
+ o.value = buildUnnamed1388();
}
buildCounterOption--;
return o;
@@ -816,7 +816,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1335(o.value);
+ checkUnnamed1388(o.value);
}
buildCounterOption--;
}
@@ -903,14 +903,14 @@
buildCounterTimeInterval--;
}
-buildUnnamed1336() {
+buildUnnamed1389() {
var o = new core.List<api.Point>();
o.add(buildPoint());
o.add(buildPoint());
return o;
}
-checkUnnamed1336(core.List<api.Point> o) {
+checkUnnamed1389(core.List<api.Point> o) {
unittest.expect(o, unittest.hasLength(2));
checkPoint(o[0]);
checkPoint(o[1]);
@@ -923,7 +923,7 @@
if (buildCounterTimeSeries < 3) {
o.metric = buildMetric();
o.metricKind = "foo";
- o.points = buildUnnamed1336();
+ o.points = buildUnnamed1389();
o.resource = buildMonitoredResource();
o.valueType = "foo";
}
@@ -936,47 +936,47 @@
if (buildCounterTimeSeries < 3) {
checkMetric(o.metric);
unittest.expect(o.metricKind, unittest.equals('foo'));
- checkUnnamed1336(o.points);
+ checkUnnamed1389(o.points);
checkMonitoredResource(o.resource);
unittest.expect(o.valueType, unittest.equals('foo'));
}
buildCounterTimeSeries--;
}
-buildUnnamed1337() {
+buildUnnamed1390() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed1337(core.List<api.Field> o) {
+checkUnnamed1390(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
}
-buildUnnamed1338() {
+buildUnnamed1391() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1338(core.List<core.String> o) {
+checkUnnamed1391(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1339() {
+buildUnnamed1392() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1339(core.List<api.Option> o) {
+checkUnnamed1392(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -987,10 +987,10 @@
var o = new api.Type();
buildCounterType++;
if (buildCounterType < 3) {
- o.fields = buildUnnamed1337();
+ o.fields = buildUnnamed1390();
o.name = "foo";
- o.oneofs = buildUnnamed1338();
- o.options = buildUnnamed1339();
+ o.oneofs = buildUnnamed1391();
+ o.options = buildUnnamed1392();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -1001,10 +1001,10 @@
checkType(api.Type o) {
buildCounterType++;
if (buildCounterType < 3) {
- checkUnnamed1337(o.fields);
+ checkUnnamed1390(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1338(o.oneofs);
- checkUnnamed1339(o.options);
+ checkUnnamed1391(o.oneofs);
+ checkUnnamed1392(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
@@ -1038,14 +1038,14 @@
buildCounterTypedValue--;
}
-buildUnnamed1340() {
+buildUnnamed1393() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1340(core.List<core.String> o) {
+checkUnnamed1393(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1831,9 +1831,9 @@
var mock = new HttpServerMock();
api.ProjectsMetricDescriptorsResourceApi res = new api.MonitoringApi(mock).projects.metricDescriptors;
var arg_name = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1861,9 +1861,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -1872,7 +1872,7 @@
var resp = convert.JSON.encode(buildListMetricDescriptorsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListMetricDescriptorsResponse response) {
+ res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListMetricDescriptorsResponse response) {
checkListMetricDescriptorsResponse(response);
})));
});
@@ -2035,17 +2035,17 @@
var mock = new HttpServerMock();
api.ProjectsTimeSeriesResourceApi res = new api.MonitoringApi(mock).projects.timeSeries;
var arg_name = "foo";
- var arg_filter = "foo";
- var arg_pageToken = "foo";
- var arg_aggregation_perSeriesAligner = "foo";
- var arg_interval_startTime = "foo";
- var arg_view = "foo";
- var arg_aggregation_groupByFields = buildUnnamed1340();
+ var arg_aggregation_groupByFields = buildUnnamed1393();
var arg_interval_endTime = "foo";
var arg_aggregation_alignmentPeriod = "foo";
var arg_pageSize = 42;
var arg_orderBy = "foo";
var arg_aggregation_crossSeriesReducer = "foo";
+ var arg_filter = "foo";
+ var arg_pageToken = "foo";
+ var arg_aggregation_perSeriesAligner = "foo";
+ var arg_interval_startTime = "foo";
+ var arg_view = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2073,17 +2073,17 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["aggregation.perSeriesAligner"].first, unittest.equals(arg_aggregation_perSeriesAligner));
- unittest.expect(queryMap["interval.startTime"].first, unittest.equals(arg_interval_startTime));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["aggregation.groupByFields"], unittest.equals(arg_aggregation_groupByFields));
unittest.expect(queryMap["interval.endTime"].first, unittest.equals(arg_interval_endTime));
unittest.expect(queryMap["aggregation.alignmentPeriod"].first, unittest.equals(arg_aggregation_alignmentPeriod));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["aggregation.crossSeriesReducer"].first, unittest.equals(arg_aggregation_crossSeriesReducer));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["aggregation.perSeriesAligner"].first, unittest.equals(arg_aggregation_perSeriesAligner));
+ unittest.expect(queryMap["interval.startTime"].first, unittest.equals(arg_interval_startTime));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
var h = {
@@ -2092,7 +2092,7 @@
var resp = convert.JSON.encode(buildListTimeSeriesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, aggregation_perSeriesAligner: arg_aggregation_perSeriesAligner, interval_startTime: arg_interval_startTime, view: arg_view, aggregation_groupByFields: arg_aggregation_groupByFields, interval_endTime: arg_interval_endTime, aggregation_alignmentPeriod: arg_aggregation_alignmentPeriod, pageSize: arg_pageSize, orderBy: arg_orderBy, aggregation_crossSeriesReducer: arg_aggregation_crossSeriesReducer).then(unittest.expectAsync(((api.ListTimeSeriesResponse response) {
+ res.list(arg_name, aggregation_groupByFields: arg_aggregation_groupByFields, interval_endTime: arg_interval_endTime, aggregation_alignmentPeriod: arg_aggregation_alignmentPeriod, pageSize: arg_pageSize, orderBy: arg_orderBy, aggregation_crossSeriesReducer: arg_aggregation_crossSeriesReducer, filter: arg_filter, pageToken: arg_pageToken, aggregation_perSeriesAligner: arg_aggregation_perSeriesAligner, interval_startTime: arg_interval_startTime, view: arg_view).then(unittest.expectAsync(((api.ListTimeSeriesResponse response) {
checkListTimeSeriesResponse(response);
})));
});
diff --git a/generated/googleapis/test/oauth2/v2_test.dart b/generated/googleapis/test/oauth2/v2_test.dart
index 49099f0..47fc4c0 100644
--- a/generated/googleapis/test/oauth2/v2_test.dart
+++ b/generated/googleapis/test/oauth2/v2_test.dart
@@ -80,14 +80,14 @@
buildCounterJwkKeys--;
}
-buildUnnamed2697() {
+buildUnnamed2802() {
var o = new core.List<api.JwkKeys>();
o.add(buildJwkKeys());
o.add(buildJwkKeys());
return o;
}
-checkUnnamed2697(core.List<api.JwkKeys> o) {
+checkUnnamed2802(core.List<api.JwkKeys> o) {
unittest.expect(o, unittest.hasLength(2));
checkJwkKeys(o[0]);
checkJwkKeys(o[1]);
@@ -98,7 +98,7 @@
var o = new api.Jwk();
buildCounterJwk++;
if (buildCounterJwk < 3) {
- o.keys = buildUnnamed2697();
+ o.keys = buildUnnamed2802();
}
buildCounterJwk--;
return o;
@@ -107,7 +107,7 @@
checkJwk(api.Jwk o) {
buildCounterJwk++;
if (buildCounterJwk < 3) {
- checkUnnamed2697(o.keys);
+ checkUnnamed2802(o.keys);
}
buildCounterJwk--;
}
diff --git a/generated/googleapis/test/pagespeedonline/v1_test.dart b/generated/googleapis/test/pagespeedonline/v1_test.dart
index 9637f6c..a4fc21a 100644
--- a/generated/googleapis/test/pagespeedonline/v1_test.dart
+++ b/generated/googleapis/test/pagespeedonline/v1_test.dart
@@ -72,14 +72,14 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs--;
}
-buildUnnamed2698() {
+buildUnnamed2803() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs());
return o;
}
-checkUnnamed2698(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs> o) {
+checkUnnamed2803(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs(o[0]);
checkResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs(o[1]);
@@ -90,7 +90,7 @@
var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksHeader();
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader < 3) {
- o.args = buildUnnamed2698();
+ o.args = buildUnnamed2803();
o.format = "foo";
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader--;
@@ -100,7 +100,7 @@
checkResultFormattedResultsRuleResultsValueUrlBlocksHeader(api.ResultFormattedResultsRuleResultsValueUrlBlocksHeader o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader < 3) {
- checkUnnamed2698(o.args);
+ checkUnnamed2803(o.args);
unittest.expect(o.format, unittest.equals('foo'));
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader--;
@@ -127,14 +127,14 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs--;
}
-buildUnnamed2699() {
+buildUnnamed2804() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs());
return o;
}
-checkUnnamed2699(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs> o) {
+checkUnnamed2804(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs(o[0]);
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs(o[1]);
@@ -145,7 +145,7 @@
var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails();
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails < 3) {
- o.args = buildUnnamed2699();
+ o.args = buildUnnamed2804();
o.format = "foo";
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails--;
@@ -155,20 +155,20 @@
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails(api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails < 3) {
- checkUnnamed2699(o.args);
+ checkUnnamed2804(o.args);
unittest.expect(o.format, unittest.equals('foo'));
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails--;
}
-buildUnnamed2700() {
+buildUnnamed2805() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails());
return o;
}
-checkUnnamed2700(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails> o) {
+checkUnnamed2805(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails(o[0]);
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails(o[1]);
@@ -195,14 +195,14 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs--;
}
-buildUnnamed2701() {
+buildUnnamed2806() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs());
return o;
}
-checkUnnamed2701(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs> o) {
+checkUnnamed2806(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs(o[0]);
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs(o[1]);
@@ -213,7 +213,7 @@
var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult();
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult < 3) {
- o.args = buildUnnamed2701();
+ o.args = buildUnnamed2806();
o.format = "foo";
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult--;
@@ -223,7 +223,7 @@
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult(api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult < 3) {
- checkUnnamed2701(o.args);
+ checkUnnamed2806(o.args);
unittest.expect(o.format, unittest.equals('foo'));
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult--;
@@ -234,7 +234,7 @@
var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls();
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls < 3) {
- o.details = buildUnnamed2700();
+ o.details = buildUnnamed2805();
o.result = buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult();
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--;
@@ -244,20 +244,20 @@
checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls < 3) {
- checkUnnamed2700(o.details);
+ checkUnnamed2805(o.details);
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult(o.result);
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--;
}
-buildUnnamed2702() {
+buildUnnamed2807() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrls());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrls());
return o;
}
-checkUnnamed2702(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls> o) {
+checkUnnamed2807(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(o[0]);
checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(o[1]);
@@ -269,7 +269,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocks < 3) {
o.header = buildResultFormattedResultsRuleResultsValueUrlBlocksHeader();
- o.urls = buildUnnamed2702();
+ o.urls = buildUnnamed2807();
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--;
return o;
@@ -279,19 +279,19 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocks < 3) {
checkResultFormattedResultsRuleResultsValueUrlBlocksHeader(o.header);
- checkUnnamed2702(o.urls);
+ checkUnnamed2807(o.urls);
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--;
}
-buildUnnamed2703() {
+buildUnnamed2808() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks());
return o;
}
-checkUnnamed2703(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks> o) {
+checkUnnamed2808(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocks(o[0]);
checkResultFormattedResultsRuleResultsValueUrlBlocks(o[1]);
@@ -304,7 +304,7 @@
if (buildCounterResultFormattedResultsRuleResultsValue < 3) {
o.localizedRuleName = "foo";
o.ruleImpact = 42.0;
- o.urlBlocks = buildUnnamed2703();
+ o.urlBlocks = buildUnnamed2808();
}
buildCounterResultFormattedResultsRuleResultsValue--;
return o;
@@ -315,19 +315,19 @@
if (buildCounterResultFormattedResultsRuleResultsValue < 3) {
unittest.expect(o.localizedRuleName, unittest.equals('foo'));
unittest.expect(o.ruleImpact, unittest.equals(42.0));
- checkUnnamed2703(o.urlBlocks);
+ checkUnnamed2808(o.urlBlocks);
}
buildCounterResultFormattedResultsRuleResultsValue--;
}
-buildUnnamed2704() {
+buildUnnamed2809() {
var o = new core.Map<core.String, api.ResultFormattedResultsRuleResultsValue>();
o["x"] = buildResultFormattedResultsRuleResultsValue();
o["y"] = buildResultFormattedResultsRuleResultsValue();
return o;
}
-checkUnnamed2704(core.Map<core.String, api.ResultFormattedResultsRuleResultsValue> o) {
+checkUnnamed2809(core.Map<core.String, api.ResultFormattedResultsRuleResultsValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValue(o["x"]);
checkResultFormattedResultsRuleResultsValue(o["y"]);
@@ -339,7 +339,7 @@
buildCounterResultFormattedResults++;
if (buildCounterResultFormattedResults < 3) {
o.locale = "foo";
- o.ruleResults = buildUnnamed2704();
+ o.ruleResults = buildUnnamed2809();
}
buildCounterResultFormattedResults--;
return o;
@@ -349,19 +349,19 @@
buildCounterResultFormattedResults++;
if (buildCounterResultFormattedResults < 3) {
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed2704(o.ruleResults);
+ checkUnnamed2809(o.ruleResults);
}
buildCounterResultFormattedResults--;
}
-buildUnnamed2705() {
+buildUnnamed2810() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2705(core.List<core.String> o) {
+checkUnnamed2810(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -463,7 +463,7 @@
if (buildCounterResult < 3) {
o.formattedResults = buildResultFormattedResults();
o.id = "foo";
- o.invalidRules = buildUnnamed2705();
+ o.invalidRules = buildUnnamed2810();
o.kind = "foo";
o.pageStats = buildResultPageStats();
o.responseCode = 42;
@@ -481,7 +481,7 @@
if (buildCounterResult < 3) {
checkResultFormattedResults(o.formattedResults);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2705(o.invalidRules);
+ checkUnnamed2810(o.invalidRules);
unittest.expect(o.kind, unittest.equals('foo'));
checkResultPageStats(o.pageStats);
unittest.expect(o.responseCode, unittest.equals(42));
@@ -493,14 +493,14 @@
buildCounterResult--;
}
-buildUnnamed2706() {
+buildUnnamed2811() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2706(core.List<core.String> o) {
+checkUnnamed2811(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -642,7 +642,7 @@
var arg_url = "foo";
var arg_filterThirdPartyResources = true;
var arg_locale = "foo";
- var arg_rule = buildUnnamed2706();
+ var arg_rule = buildUnnamed2811();
var arg_screenshot = true;
var arg_strategy = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
diff --git a/generated/googleapis/test/pagespeedonline/v2_test.dart b/generated/googleapis/test/pagespeedonline/v2_test.dart
index e5bcc00..5d63e4a 100644
--- a/generated/googleapis/test/pagespeedonline/v2_test.dart
+++ b/generated/googleapis/test/pagespeedonline/v2_test.dart
@@ -76,14 +76,14 @@
buildCounterPagespeedApiFormatStringV2ArgsRects--;
}
-buildUnnamed1118() {
+buildUnnamed1149() {
var o = new core.List<api.PagespeedApiFormatStringV2ArgsRects>();
o.add(buildPagespeedApiFormatStringV2ArgsRects());
o.add(buildPagespeedApiFormatStringV2ArgsRects());
return o;
}
-checkUnnamed1118(core.List<api.PagespeedApiFormatStringV2ArgsRects> o) {
+checkUnnamed1149(core.List<api.PagespeedApiFormatStringV2ArgsRects> o) {
unittest.expect(o, unittest.hasLength(2));
checkPagespeedApiFormatStringV2ArgsRects(o[0]);
checkPagespeedApiFormatStringV2ArgsRects(o[1]);
@@ -114,14 +114,14 @@
buildCounterPagespeedApiFormatStringV2ArgsSecondaryRects--;
}
-buildUnnamed1119() {
+buildUnnamed1150() {
var o = new core.List<api.PagespeedApiFormatStringV2ArgsSecondaryRects>();
o.add(buildPagespeedApiFormatStringV2ArgsSecondaryRects());
o.add(buildPagespeedApiFormatStringV2ArgsSecondaryRects());
return o;
}
-checkUnnamed1119(core.List<api.PagespeedApiFormatStringV2ArgsSecondaryRects> o) {
+checkUnnamed1150(core.List<api.PagespeedApiFormatStringV2ArgsSecondaryRects> o) {
unittest.expect(o, unittest.hasLength(2));
checkPagespeedApiFormatStringV2ArgsSecondaryRects(o[0]);
checkPagespeedApiFormatStringV2ArgsSecondaryRects(o[1]);
@@ -133,8 +133,8 @@
buildCounterPagespeedApiFormatStringV2Args++;
if (buildCounterPagespeedApiFormatStringV2Args < 3) {
o.key = "foo";
- o.rects = buildUnnamed1118();
- o.secondaryRects = buildUnnamed1119();
+ o.rects = buildUnnamed1149();
+ o.secondaryRects = buildUnnamed1150();
o.type = "foo";
o.value = "foo";
}
@@ -146,22 +146,22 @@
buildCounterPagespeedApiFormatStringV2Args++;
if (buildCounterPagespeedApiFormatStringV2Args < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed1118(o.rects);
- checkUnnamed1119(o.secondaryRects);
+ checkUnnamed1149(o.rects);
+ checkUnnamed1150(o.secondaryRects);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterPagespeedApiFormatStringV2Args--;
}
-buildUnnamed1120() {
+buildUnnamed1151() {
var o = new core.List<api.PagespeedApiFormatStringV2Args>();
o.add(buildPagespeedApiFormatStringV2Args());
o.add(buildPagespeedApiFormatStringV2Args());
return o;
}
-checkUnnamed1120(core.List<api.PagespeedApiFormatStringV2Args> o) {
+checkUnnamed1151(core.List<api.PagespeedApiFormatStringV2Args> o) {
unittest.expect(o, unittest.hasLength(2));
checkPagespeedApiFormatStringV2Args(o[0]);
checkPagespeedApiFormatStringV2Args(o[1]);
@@ -172,7 +172,7 @@
var o = new api.PagespeedApiFormatStringV2();
buildCounterPagespeedApiFormatStringV2++;
if (buildCounterPagespeedApiFormatStringV2 < 3) {
- o.args = buildUnnamed1120();
+ o.args = buildUnnamed1151();
o.format = "foo";
}
buildCounterPagespeedApiFormatStringV2--;
@@ -182,7 +182,7 @@
checkPagespeedApiFormatStringV2(api.PagespeedApiFormatStringV2 o) {
buildCounterPagespeedApiFormatStringV2++;
if (buildCounterPagespeedApiFormatStringV2 < 3) {
- checkUnnamed1120(o.args);
+ checkUnnamed1151(o.args);
unittest.expect(o.format, unittest.equals('foo'));
}
buildCounterPagespeedApiFormatStringV2--;
@@ -242,27 +242,27 @@
buildCounterPagespeedApiImageV2--;
}
-buildUnnamed1121() {
+buildUnnamed1152() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1121(core.List<core.String> o) {
+checkUnnamed1152(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1122() {
+buildUnnamed1153() {
var o = new core.List<api.PagespeedApiFormatStringV2>();
o.add(buildPagespeedApiFormatStringV2());
o.add(buildPagespeedApiFormatStringV2());
return o;
}
-checkUnnamed1122(core.List<api.PagespeedApiFormatStringV2> o) {
+checkUnnamed1153(core.List<api.PagespeedApiFormatStringV2> o) {
unittest.expect(o, unittest.hasLength(2));
checkPagespeedApiFormatStringV2(o[0]);
checkPagespeedApiFormatStringV2(o[1]);
@@ -273,7 +273,7 @@
var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls();
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls < 3) {
- o.details = buildUnnamed1122();
+ o.details = buildUnnamed1153();
o.result = buildPagespeedApiFormatStringV2();
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--;
@@ -283,20 +283,20 @@
checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls < 3) {
- checkUnnamed1122(o.details);
+ checkUnnamed1153(o.details);
checkPagespeedApiFormatStringV2(o.result);
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--;
}
-buildUnnamed1123() {
+buildUnnamed1154() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrls());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrls());
return o;
}
-checkUnnamed1123(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls> o) {
+checkUnnamed1154(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(o[0]);
checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(o[1]);
@@ -308,7 +308,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocks < 3) {
o.header = buildPagespeedApiFormatStringV2();
- o.urls = buildUnnamed1123();
+ o.urls = buildUnnamed1154();
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--;
return o;
@@ -318,19 +318,19 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocks < 3) {
checkPagespeedApiFormatStringV2(o.header);
- checkUnnamed1123(o.urls);
+ checkUnnamed1154(o.urls);
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--;
}
-buildUnnamed1124() {
+buildUnnamed1155() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks());
return o;
}
-checkUnnamed1124(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks> o) {
+checkUnnamed1155(core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocks(o[0]);
checkResultFormattedResultsRuleResultsValueUrlBlocks(o[1]);
@@ -341,11 +341,11 @@
var o = new api.ResultFormattedResultsRuleResultsValue();
buildCounterResultFormattedResultsRuleResultsValue++;
if (buildCounterResultFormattedResultsRuleResultsValue < 3) {
- o.groups = buildUnnamed1121();
+ o.groups = buildUnnamed1152();
o.localizedRuleName = "foo";
o.ruleImpact = 42.0;
o.summary = buildPagespeedApiFormatStringV2();
- o.urlBlocks = buildUnnamed1124();
+ o.urlBlocks = buildUnnamed1155();
}
buildCounterResultFormattedResultsRuleResultsValue--;
return o;
@@ -354,23 +354,23 @@
checkResultFormattedResultsRuleResultsValue(api.ResultFormattedResultsRuleResultsValue o) {
buildCounterResultFormattedResultsRuleResultsValue++;
if (buildCounterResultFormattedResultsRuleResultsValue < 3) {
- checkUnnamed1121(o.groups);
+ checkUnnamed1152(o.groups);
unittest.expect(o.localizedRuleName, unittest.equals('foo'));
unittest.expect(o.ruleImpact, unittest.equals(42.0));
checkPagespeedApiFormatStringV2(o.summary);
- checkUnnamed1124(o.urlBlocks);
+ checkUnnamed1155(o.urlBlocks);
}
buildCounterResultFormattedResultsRuleResultsValue--;
}
-buildUnnamed1125() {
+buildUnnamed1156() {
var o = new core.Map<core.String, api.ResultFormattedResultsRuleResultsValue>();
o["x"] = buildResultFormattedResultsRuleResultsValue();
o["y"] = buildResultFormattedResultsRuleResultsValue();
return o;
}
-checkUnnamed1125(core.Map<core.String, api.ResultFormattedResultsRuleResultsValue> o) {
+checkUnnamed1156(core.Map<core.String, api.ResultFormattedResultsRuleResultsValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValue(o["x"]);
checkResultFormattedResultsRuleResultsValue(o["y"]);
@@ -382,7 +382,7 @@
buildCounterResultFormattedResults++;
if (buildCounterResultFormattedResults < 3) {
o.locale = "foo";
- o.ruleResults = buildUnnamed1125();
+ o.ruleResults = buildUnnamed1156();
}
buildCounterResultFormattedResults--;
return o;
@@ -392,19 +392,19 @@
buildCounterResultFormattedResults++;
if (buildCounterResultFormattedResults < 3) {
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed1125(o.ruleResults);
+ checkUnnamed1156(o.ruleResults);
}
buildCounterResultFormattedResults--;
}
-buildUnnamed1126() {
+buildUnnamed1157() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1126(core.List<core.String> o) {
+checkUnnamed1157(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -472,14 +472,14 @@
buildCounterResultRuleGroupsValue--;
}
-buildUnnamed1127() {
+buildUnnamed1158() {
var o = new core.Map<core.String, api.ResultRuleGroupsValue>();
o["x"] = buildResultRuleGroupsValue();
o["y"] = buildResultRuleGroupsValue();
return o;
}
-checkUnnamed1127(core.Map<core.String, api.ResultRuleGroupsValue> o) {
+checkUnnamed1158(core.Map<core.String, api.ResultRuleGroupsValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultRuleGroupsValue(o["x"]);
checkResultRuleGroupsValue(o["y"]);
@@ -513,11 +513,11 @@
if (buildCounterResult < 3) {
o.formattedResults = buildResultFormattedResults();
o.id = "foo";
- o.invalidRules = buildUnnamed1126();
+ o.invalidRules = buildUnnamed1157();
o.kind = "foo";
o.pageStats = buildResultPageStats();
o.responseCode = 42;
- o.ruleGroups = buildUnnamed1127();
+ o.ruleGroups = buildUnnamed1158();
o.screenshot = buildPagespeedApiImageV2();
o.title = "foo";
o.version = buildResultVersion();
@@ -531,11 +531,11 @@
if (buildCounterResult < 3) {
checkResultFormattedResults(o.formattedResults);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1126(o.invalidRules);
+ checkUnnamed1157(o.invalidRules);
unittest.expect(o.kind, unittest.equals('foo'));
checkResultPageStats(o.pageStats);
unittest.expect(o.responseCode, unittest.equals(42));
- checkUnnamed1127(o.ruleGroups);
+ checkUnnamed1158(o.ruleGroups);
checkPagespeedApiImageV2(o.screenshot);
unittest.expect(o.title, unittest.equals('foo'));
checkResultVersion(o.version);
@@ -543,14 +543,14 @@
buildCounterResult--;
}
-buildUnnamed1128() {
+buildUnnamed1159() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1128(core.List<core.String> o) {
+checkUnnamed1159(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -692,7 +692,7 @@
var arg_url = "foo";
var arg_filterThirdPartyResources = true;
var arg_locale = "foo";
- var arg_rule = buildUnnamed1128();
+ var arg_rule = buildUnnamed1159();
var arg_screenshot = true;
var arg_strategy = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
diff --git a/generated/googleapis/test/partners/v2_test.dart b/generated/googleapis/test/partners/v2_test.dart
index 8f8a690..6cafa05 100644
--- a/generated/googleapis/test/partners/v2_test.dart
+++ b/generated/googleapis/test/partners/v2_test.dart
@@ -51,6 +51,203 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
+core.int buildCounterAdWordsManagerAccountInfo = 0;
+buildAdWordsManagerAccountInfo() {
+ var o = new api.AdWordsManagerAccountInfo();
+ buildCounterAdWordsManagerAccountInfo++;
+ if (buildCounterAdWordsManagerAccountInfo < 3) {
+ o.customerName = "foo";
+ o.id = "foo";
+ }
+ buildCounterAdWordsManagerAccountInfo--;
+ return o;
+}
+
+checkAdWordsManagerAccountInfo(api.AdWordsManagerAccountInfo o) {
+ buildCounterAdWordsManagerAccountInfo++;
+ if (buildCounterAdWordsManagerAccountInfo < 3) {
+ unittest.expect(o.customerName, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ }
+ buildCounterAdWordsManagerAccountInfo--;
+}
+
+core.int buildCounterAnalytics = 0;
+buildAnalytics() {
+ var o = new api.Analytics();
+ buildCounterAnalytics++;
+ if (buildCounterAnalytics < 3) {
+ o.contacts = buildAnalyticsDataPoint();
+ o.eventDate = buildDate();
+ o.profileViews = buildAnalyticsDataPoint();
+ o.searchViews = buildAnalyticsDataPoint();
+ }
+ buildCounterAnalytics--;
+ return o;
+}
+
+checkAnalytics(api.Analytics o) {
+ buildCounterAnalytics++;
+ if (buildCounterAnalytics < 3) {
+ checkAnalyticsDataPoint(o.contacts);
+ checkDate(o.eventDate);
+ checkAnalyticsDataPoint(o.profileViews);
+ checkAnalyticsDataPoint(o.searchViews);
+ }
+ buildCounterAnalytics--;
+}
+
+buildUnnamed1719() {
+ var o = new core.List<api.LatLng>();
+ o.add(buildLatLng());
+ o.add(buildLatLng());
+ return o;
+}
+
+checkUnnamed1719(core.List<api.LatLng> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLatLng(o[0]);
+ checkLatLng(o[1]);
+}
+
+core.int buildCounterAnalyticsDataPoint = 0;
+buildAnalyticsDataPoint() {
+ var o = new api.AnalyticsDataPoint();
+ buildCounterAnalyticsDataPoint++;
+ if (buildCounterAnalyticsDataPoint < 3) {
+ o.eventCount = 42;
+ o.eventLocations = buildUnnamed1719();
+ }
+ buildCounterAnalyticsDataPoint--;
+ return o;
+}
+
+checkAnalyticsDataPoint(api.AnalyticsDataPoint o) {
+ buildCounterAnalyticsDataPoint++;
+ if (buildCounterAnalyticsDataPoint < 3) {
+ unittest.expect(o.eventCount, unittest.equals(42));
+ checkUnnamed1719(o.eventLocations);
+ }
+ buildCounterAnalyticsDataPoint--;
+}
+
+core.int buildCounterAnalyticsSummary = 0;
+buildAnalyticsSummary() {
+ var o = new api.AnalyticsSummary();
+ buildCounterAnalyticsSummary++;
+ if (buildCounterAnalyticsSummary < 3) {
+ o.contactsCount = 42;
+ o.profileViewsCount = 42;
+ o.searchViewsCount = 42;
+ }
+ buildCounterAnalyticsSummary--;
+ return o;
+}
+
+checkAnalyticsSummary(api.AnalyticsSummary o) {
+ buildCounterAnalyticsSummary++;
+ if (buildCounterAnalyticsSummary < 3) {
+ unittest.expect(o.contactsCount, unittest.equals(42));
+ unittest.expect(o.profileViewsCount, unittest.equals(42));
+ unittest.expect(o.searchViewsCount, unittest.equals(42));
+ }
+ buildCounterAnalyticsSummary--;
+}
+
+buildUnnamed1720() {
+ var o = new core.List<api.CountryOfferInfo>();
+ o.add(buildCountryOfferInfo());
+ o.add(buildCountryOfferInfo());
+ return o;
+}
+
+checkUnnamed1720(core.List<api.CountryOfferInfo> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCountryOfferInfo(o[0]);
+ checkCountryOfferInfo(o[1]);
+}
+
+buildUnnamed1721() {
+ var o = new core.List<api.OfferCustomer>();
+ o.add(buildOfferCustomer());
+ o.add(buildOfferCustomer());
+ return o;
+}
+
+checkUnnamed1721(core.List<api.OfferCustomer> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOfferCustomer(o[0]);
+ checkOfferCustomer(o[1]);
+}
+
+core.int buildCounterAvailableOffer = 0;
+buildAvailableOffer() {
+ var o = new api.AvailableOffer();
+ buildCounterAvailableOffer++;
+ if (buildCounterAvailableOffer < 3) {
+ o.available = 42;
+ o.countryOfferInfos = buildUnnamed1720();
+ o.description = "foo";
+ o.id = "foo";
+ o.maxAccountAge = 42;
+ o.name = "foo";
+ o.offerLevel = "foo";
+ o.offerType = "foo";
+ o.qualifiedCustomer = buildUnnamed1721();
+ o.qualifiedCustomersComplete = true;
+ o.showSpecialOfferCopy = true;
+ o.terms = "foo";
+ }
+ buildCounterAvailableOffer--;
+ return o;
+}
+
+checkAvailableOffer(api.AvailableOffer o) {
+ buildCounterAvailableOffer++;
+ if (buildCounterAvailableOffer < 3) {
+ unittest.expect(o.available, unittest.equals(42));
+ checkUnnamed1720(o.countryOfferInfos);
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.maxAccountAge, unittest.equals(42));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.offerLevel, unittest.equals('foo'));
+ unittest.expect(o.offerType, unittest.equals('foo'));
+ checkUnnamed1721(o.qualifiedCustomer);
+ unittest.expect(o.qualifiedCustomersComplete, unittest.isTrue);
+ unittest.expect(o.showSpecialOfferCopy, unittest.isTrue);
+ unittest.expect(o.terms, unittest.equals('foo'));
+ }
+ buildCounterAvailableOffer--;
+}
+
+core.int buildCounterCertification = 0;
+buildCertification() {
+ var o = new api.Certification();
+ buildCounterCertification++;
+ if (buildCounterCertification < 3) {
+ o.achieved = true;
+ o.certificationType = "foo";
+ o.expiration = "foo";
+ o.lastAchieved = "foo";
+ o.warning = true;
+ }
+ buildCounterCertification--;
+ return o;
+}
+
+checkCertification(api.Certification o) {
+ buildCounterCertification++;
+ if (buildCounterCertification < 3) {
+ unittest.expect(o.achieved, unittest.isTrue);
+ unittest.expect(o.certificationType, unittest.equals('foo'));
+ unittest.expect(o.expiration, unittest.equals('foo'));
+ unittest.expect(o.lastAchieved, unittest.equals('foo'));
+ unittest.expect(o.warning, unittest.isTrue);
+ }
+ buildCounterCertification--;
+}
+
core.int buildCounterCertificationExamStatus = 0;
buildCertificationExamStatus() {
var o = new api.CertificationExamStatus();
@@ -72,14 +269,14 @@
buildCounterCertificationExamStatus--;
}
-buildUnnamed1651() {
+buildUnnamed1722() {
var o = new core.List<api.CertificationExamStatus>();
o.add(buildCertificationExamStatus());
o.add(buildCertificationExamStatus());
return o;
}
-checkUnnamed1651(core.List<api.CertificationExamStatus> o) {
+checkUnnamed1722(core.List<api.CertificationExamStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkCertificationExamStatus(o[0]);
checkCertificationExamStatus(o[1]);
@@ -90,9 +287,10 @@
var o = new api.CertificationStatus();
buildCounterCertificationStatus++;
if (buildCounterCertificationStatus < 3) {
- o.examStatuses = buildUnnamed1651();
+ o.examStatuses = buildUnnamed1722();
o.isCertified = true;
o.type = "foo";
+ o.userCount = 42;
}
buildCounterCertificationStatus--;
return o;
@@ -101,107 +299,169 @@
checkCertificationStatus(api.CertificationStatus o) {
buildCounterCertificationStatus++;
if (buildCounterCertificationStatus < 3) {
- checkUnnamed1651(o.examStatuses);
+ checkUnnamed1722(o.examStatuses);
unittest.expect(o.isCertified, unittest.isTrue);
unittest.expect(o.type, unittest.equals('foo'));
+ unittest.expect(o.userCount, unittest.equals(42));
}
buildCounterCertificationStatus--;
}
-buildUnnamed1652() {
+buildUnnamed1723() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1723(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1724() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1724(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1725() {
var o = new core.List<api.CertificationStatus>();
o.add(buildCertificationStatus());
o.add(buildCertificationStatus());
return o;
}
-checkUnnamed1652(core.List<api.CertificationStatus> o) {
+checkUnnamed1725(core.List<api.CertificationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkCertificationStatus(o[0]);
checkCertificationStatus(o[1]);
}
-buildUnnamed1653() {
+buildUnnamed1726() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1653(core.List<core.String> o) {
+checkUnnamed1726(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1654() {
+buildUnnamed1727() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1727(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1728() {
var o = new core.List<api.LocalizedCompanyInfo>();
o.add(buildLocalizedCompanyInfo());
o.add(buildLocalizedCompanyInfo());
return o;
}
-checkUnnamed1654(core.List<api.LocalizedCompanyInfo> o) {
+checkUnnamed1728(core.List<api.LocalizedCompanyInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedCompanyInfo(o[0]);
checkLocalizedCompanyInfo(o[1]);
}
-buildUnnamed1655() {
+buildUnnamed1729() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed1655(core.List<api.Location> o) {
+checkUnnamed1729(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
}
-buildUnnamed1656() {
+buildUnnamed1730() {
var o = new core.List<api.Rank>();
o.add(buildRank());
o.add(buildRank());
return o;
}
-checkUnnamed1656(core.List<api.Rank> o) {
+checkUnnamed1730(core.List<api.Rank> o) {
unittest.expect(o, unittest.hasLength(2));
checkRank(o[0]);
checkRank(o[1]);
}
-buildUnnamed1657() {
+buildUnnamed1731() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1657(core.List<core.String> o) {
+checkUnnamed1731(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1732() {
+ var o = new core.List<api.SpecializationStatus>();
+ o.add(buildSpecializationStatus());
+ o.add(buildSpecializationStatus());
+ return o;
+}
+
+checkUnnamed1732(core.List<api.SpecializationStatus> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSpecializationStatus(o[0]);
+ checkSpecializationStatus(o[1]);
+}
+
core.int buildCounterCompany = 0;
buildCompany() {
var o = new api.Company();
buildCounterCompany++;
if (buildCounterCompany < 3) {
- o.certificationStatuses = buildUnnamed1652();
+ o.additionalWebsites = buildUnnamed1723();
+ o.autoApprovalEmailDomains = buildUnnamed1724();
+ o.badgeTier = "foo";
+ o.certificationStatuses = buildUnnamed1725();
+ o.companyTypes = buildUnnamed1726();
o.convertedMinMonthlyBudget = buildMoney();
o.id = "foo";
- o.industries = buildUnnamed1653();
- o.localizedInfos = buildUnnamed1654();
- o.locations = buildUnnamed1655();
+ o.industries = buildUnnamed1727();
+ o.localizedInfos = buildUnnamed1728();
+ o.locations = buildUnnamed1729();
o.name = "foo";
o.originalMinMonthlyBudget = buildMoney();
+ o.primaryAdwordsManagerAccountId = "foo";
+ o.primaryLanguageCode = "foo";
+ o.primaryLocation = buildLocation();
+ o.profileStatus = "foo";
o.publicProfile = buildPublicProfile();
- o.ranks = buildUnnamed1656();
- o.services = buildUnnamed1657();
+ o.ranks = buildUnnamed1730();
+ o.services = buildUnnamed1731();
+ o.specializationStatus = buildUnnamed1732();
o.websiteUrl = "foo";
}
buildCounterCompany--;
@@ -211,22 +471,129 @@
checkCompany(api.Company o) {
buildCounterCompany++;
if (buildCounterCompany < 3) {
- checkUnnamed1652(o.certificationStatuses);
+ checkUnnamed1723(o.additionalWebsites);
+ checkUnnamed1724(o.autoApprovalEmailDomains);
+ unittest.expect(o.badgeTier, unittest.equals('foo'));
+ checkUnnamed1725(o.certificationStatuses);
+ checkUnnamed1726(o.companyTypes);
checkMoney(o.convertedMinMonthlyBudget);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1653(o.industries);
- checkUnnamed1654(o.localizedInfos);
- checkUnnamed1655(o.locations);
+ checkUnnamed1727(o.industries);
+ checkUnnamed1728(o.localizedInfos);
+ checkUnnamed1729(o.locations);
unittest.expect(o.name, unittest.equals('foo'));
checkMoney(o.originalMinMonthlyBudget);
+ unittest.expect(o.primaryAdwordsManagerAccountId, unittest.equals('foo'));
+ unittest.expect(o.primaryLanguageCode, unittest.equals('foo'));
+ checkLocation(o.primaryLocation);
+ unittest.expect(o.profileStatus, unittest.equals('foo'));
checkPublicProfile(o.publicProfile);
- checkUnnamed1656(o.ranks);
- checkUnnamed1657(o.services);
+ checkUnnamed1730(o.ranks);
+ checkUnnamed1731(o.services);
+ checkUnnamed1732(o.specializationStatus);
unittest.expect(o.websiteUrl, unittest.equals('foo'));
}
buildCounterCompany--;
}
+buildUnnamed1733() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1733(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1734() {
+ var o = new core.List<api.SpecializationStatus>();
+ o.add(buildSpecializationStatus());
+ o.add(buildSpecializationStatus());
+ return o;
+}
+
+checkUnnamed1734(core.List<api.SpecializationStatus> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSpecializationStatus(o[0]);
+ checkSpecializationStatus(o[1]);
+}
+
+core.int buildCounterCompanyRelation = 0;
+buildCompanyRelation() {
+ var o = new api.CompanyRelation();
+ buildCounterCompanyRelation++;
+ if (buildCounterCompanyRelation < 3) {
+ o.address = "foo";
+ o.badgeTier = "foo";
+ o.companyAdmin = true;
+ o.companyId = "foo";
+ o.creationTime = "foo";
+ o.isPending = true;
+ o.logoUrl = "foo";
+ o.managerAccount = "foo";
+ o.name = "foo";
+ o.phoneNumber = "foo";
+ o.resolvedTimestamp = "foo";
+ o.segment = buildUnnamed1733();
+ o.specializationStatus = buildUnnamed1734();
+ o.state = "foo";
+ o.website = "foo";
+ }
+ buildCounterCompanyRelation--;
+ return o;
+}
+
+checkCompanyRelation(api.CompanyRelation o) {
+ buildCounterCompanyRelation++;
+ if (buildCounterCompanyRelation < 3) {
+ unittest.expect(o.address, unittest.equals('foo'));
+ unittest.expect(o.badgeTier, unittest.equals('foo'));
+ unittest.expect(o.companyAdmin, unittest.isTrue);
+ unittest.expect(o.companyId, unittest.equals('foo'));
+ unittest.expect(o.creationTime, unittest.equals('foo'));
+ unittest.expect(o.isPending, unittest.isTrue);
+ unittest.expect(o.logoUrl, unittest.equals('foo'));
+ unittest.expect(o.managerAccount, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.phoneNumber, unittest.equals('foo'));
+ unittest.expect(o.resolvedTimestamp, unittest.equals('foo'));
+ checkUnnamed1733(o.segment);
+ checkUnnamed1734(o.specializationStatus);
+ unittest.expect(o.state, unittest.equals('foo'));
+ unittest.expect(o.website, unittest.equals('foo'));
+ }
+ buildCounterCompanyRelation--;
+}
+
+core.int buildCounterCountryOfferInfo = 0;
+buildCountryOfferInfo() {
+ var o = new api.CountryOfferInfo();
+ buildCounterCountryOfferInfo++;
+ if (buildCounterCountryOfferInfo < 3) {
+ o.getYAmount = "foo";
+ o.offerCountryCode = "foo";
+ o.offerType = "foo";
+ o.spendXAmount = "foo";
+ }
+ buildCounterCountryOfferInfo--;
+ return o;
+}
+
+checkCountryOfferInfo(api.CountryOfferInfo o) {
+ buildCounterCountryOfferInfo++;
+ if (buildCounterCountryOfferInfo < 3) {
+ unittest.expect(o.getYAmount, unittest.equals('foo'));
+ unittest.expect(o.offerCountryCode, unittest.equals('foo'));
+ unittest.expect(o.offerType, unittest.equals('foo'));
+ unittest.expect(o.spendXAmount, unittest.equals('foo'));
+ }
+ buildCounterCountryOfferInfo--;
+}
+
core.int buildCounterCreateLeadRequest = 0;
buildCreateLeadRequest() {
var o = new api.CreateLeadRequest();
@@ -273,6 +640,29 @@
buildCounterCreateLeadResponse--;
}
+core.int buildCounterDate = 0;
+buildDate() {
+ var o = new api.Date();
+ buildCounterDate++;
+ if (buildCounterDate < 3) {
+ o.day = 42;
+ o.month = 42;
+ o.year = 42;
+ }
+ buildCounterDate--;
+ return o;
+}
+
+checkDate(api.Date o) {
+ buildCounterDate++;
+ if (buildCounterDate < 3) {
+ unittest.expect(o.day, unittest.equals(42));
+ unittest.expect(o.month, unittest.equals(42));
+ unittest.expect(o.year, unittest.equals(42));
+ }
+ buildCounterDate--;
+}
+
core.int buildCounterDebugInfo = 0;
buildDebugInfo() {
var o = new api.DebugInfo();
@@ -296,14 +686,31 @@
buildCounterDebugInfo--;
}
-buildUnnamed1658() {
+core.int buildCounterEmpty = 0;
+buildEmpty() {
+ var o = new api.Empty();
+ buildCounterEmpty++;
+ if (buildCounterEmpty < 3) {
+ }
+ buildCounterEmpty--;
+ return o;
+}
+
+checkEmpty(api.Empty o) {
+ buildCounterEmpty++;
+ if (buildCounterEmpty < 3) {
+ }
+ buildCounterEmpty--;
+}
+
+buildUnnamed1735() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1658(core.List<core.String> o) {
+checkUnnamed1735(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -315,7 +722,7 @@
buildCounterEventData++;
if (buildCounterEventData < 3) {
o.key = "foo";
- o.values = buildUnnamed1658();
+ o.values = buildUnnamed1735();
}
buildCounterEventData--;
return o;
@@ -325,11 +732,63 @@
buildCounterEventData++;
if (buildCounterEventData < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed1658(o.values);
+ checkUnnamed1735(o.values);
}
buildCounterEventData--;
}
+core.int buildCounterExamStatus = 0;
+buildExamStatus() {
+ var o = new api.ExamStatus();
+ buildCounterExamStatus++;
+ if (buildCounterExamStatus < 3) {
+ o.examType = "foo";
+ o.expiration = "foo";
+ o.lastPassed = "foo";
+ o.passed = true;
+ o.taken = "foo";
+ o.warning = true;
+ }
+ buildCounterExamStatus--;
+ return o;
+}
+
+checkExamStatus(api.ExamStatus o) {
+ buildCounterExamStatus++;
+ if (buildCounterExamStatus < 3) {
+ unittest.expect(o.examType, unittest.equals('foo'));
+ unittest.expect(o.expiration, unittest.equals('foo'));
+ unittest.expect(o.lastPassed, unittest.equals('foo'));
+ unittest.expect(o.passed, unittest.isTrue);
+ unittest.expect(o.taken, unittest.equals('foo'));
+ unittest.expect(o.warning, unittest.isTrue);
+ }
+ buildCounterExamStatus--;
+}
+
+core.int buildCounterExamToken = 0;
+buildExamToken() {
+ var o = new api.ExamToken();
+ buildCounterExamToken++;
+ if (buildCounterExamToken < 3) {
+ o.examId = "foo";
+ o.examType = "foo";
+ o.token = "foo";
+ }
+ buildCounterExamToken--;
+ return o;
+}
+
+checkExamToken(api.ExamToken o) {
+ buildCounterExamToken++;
+ if (buildCounterExamToken < 3) {
+ unittest.expect(o.examId, unittest.equals('foo'));
+ unittest.expect(o.examType, unittest.equals('foo'));
+ unittest.expect(o.token, unittest.equals('foo'));
+ }
+ buildCounterExamToken--;
+}
+
core.int buildCounterGetCompanyResponse = 0;
buildGetCompanyResponse() {
var o = new api.GetCompanyResponse();
@@ -351,6 +810,66 @@
buildCounterGetCompanyResponse--;
}
+core.int buildCounterGetPartnersStatusResponse = 0;
+buildGetPartnersStatusResponse() {
+ var o = new api.GetPartnersStatusResponse();
+ buildCounterGetPartnersStatusResponse++;
+ if (buildCounterGetPartnersStatusResponse < 3) {
+ o.responseMetadata = buildResponseMetadata();
+ }
+ buildCounterGetPartnersStatusResponse--;
+ return o;
+}
+
+checkGetPartnersStatusResponse(api.GetPartnersStatusResponse o) {
+ buildCounterGetPartnersStatusResponse++;
+ if (buildCounterGetPartnersStatusResponse < 3) {
+ checkResponseMetadata(o.responseMetadata);
+ }
+ buildCounterGetPartnersStatusResponse--;
+}
+
+core.int buildCounterHistoricalOffer = 0;
+buildHistoricalOffer() {
+ var o = new api.HistoricalOffer();
+ buildCounterHistoricalOffer++;
+ if (buildCounterHistoricalOffer < 3) {
+ o.adwordsUrl = "foo";
+ o.clientEmail = "foo";
+ o.clientId = "foo";
+ o.clientName = "foo";
+ o.creationTime = "foo";
+ o.expirationTime = "foo";
+ o.lastModifiedTime = "foo";
+ o.offerCode = "foo";
+ o.offerCountryCode = "foo";
+ o.offerType = "foo";
+ o.senderName = "foo";
+ o.status = "foo";
+ }
+ buildCounterHistoricalOffer--;
+ return o;
+}
+
+checkHistoricalOffer(api.HistoricalOffer o) {
+ buildCounterHistoricalOffer++;
+ if (buildCounterHistoricalOffer < 3) {
+ unittest.expect(o.adwordsUrl, unittest.equals('foo'));
+ unittest.expect(o.clientEmail, unittest.equals('foo'));
+ unittest.expect(o.clientId, unittest.equals('foo'));
+ unittest.expect(o.clientName, unittest.equals('foo'));
+ unittest.expect(o.creationTime, unittest.equals('foo'));
+ unittest.expect(o.expirationTime, unittest.equals('foo'));
+ unittest.expect(o.lastModifiedTime, unittest.equals('foo'));
+ unittest.expect(o.offerCode, unittest.equals('foo'));
+ unittest.expect(o.offerCountryCode, unittest.equals('foo'));
+ unittest.expect(o.offerType, unittest.equals('foo'));
+ unittest.expect(o.senderName, unittest.equals('foo'));
+ unittest.expect(o.status, unittest.equals('foo'));
+ }
+ buildCounterHistoricalOffer--;
+}
+
core.int buildCounterLatLng = 0;
buildLatLng() {
var o = new api.LatLng();
@@ -372,14 +891,14 @@
buildCounterLatLng--;
}
-buildUnnamed1659() {
+buildUnnamed1736() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1659(core.List<core.String> o) {
+checkUnnamed1736(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -390,14 +909,19 @@
var o = new api.Lead();
buildCounterLead++;
if (buildCounterLead < 3) {
+ o.adwordsCustomerId = "foo";
o.comments = "foo";
+ o.createTime = "foo";
o.email = "foo";
o.familyName = "foo";
o.givenName = "foo";
- o.gpsMotivations = buildUnnamed1659();
+ o.gpsMotivations = buildUnnamed1736();
o.id = "foo";
+ o.languageCode = "foo";
+ o.marketingOptIn = true;
o.minMonthlyBudget = buildMoney();
o.phoneNumber = "foo";
+ o.state = "foo";
o.type = "foo";
o.websiteUrl = "foo";
}
@@ -408,28 +932,71 @@
checkLead(api.Lead o) {
buildCounterLead++;
if (buildCounterLead < 3) {
+ unittest.expect(o.adwordsCustomerId, unittest.equals('foo'));
unittest.expect(o.comments, unittest.equals('foo'));
+ unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.email, unittest.equals('foo'));
unittest.expect(o.familyName, unittest.equals('foo'));
unittest.expect(o.givenName, unittest.equals('foo'));
- checkUnnamed1659(o.gpsMotivations);
+ checkUnnamed1736(o.gpsMotivations);
unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.languageCode, unittest.equals('foo'));
+ unittest.expect(o.marketingOptIn, unittest.isTrue);
checkMoney(o.minMonthlyBudget);
unittest.expect(o.phoneNumber, unittest.equals('foo'));
+ unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.websiteUrl, unittest.equals('foo'));
}
buildCounterLead--;
}
-buildUnnamed1660() {
+buildUnnamed1737() {
+ var o = new core.List<api.Analytics>();
+ o.add(buildAnalytics());
+ o.add(buildAnalytics());
+ return o;
+}
+
+checkUnnamed1737(core.List<api.Analytics> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAnalytics(o[0]);
+ checkAnalytics(o[1]);
+}
+
+core.int buildCounterListAnalyticsResponse = 0;
+buildListAnalyticsResponse() {
+ var o = new api.ListAnalyticsResponse();
+ buildCounterListAnalyticsResponse++;
+ if (buildCounterListAnalyticsResponse < 3) {
+ o.analytics = buildUnnamed1737();
+ o.analyticsSummary = buildAnalyticsSummary();
+ o.nextPageToken = "foo";
+ o.responseMetadata = buildResponseMetadata();
+ }
+ buildCounterListAnalyticsResponse--;
+ return o;
+}
+
+checkListAnalyticsResponse(api.ListAnalyticsResponse o) {
+ buildCounterListAnalyticsResponse++;
+ if (buildCounterListAnalyticsResponse < 3) {
+ checkUnnamed1737(o.analytics);
+ checkAnalyticsSummary(o.analyticsSummary);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkResponseMetadata(o.responseMetadata);
+ }
+ buildCounterListAnalyticsResponse--;
+}
+
+buildUnnamed1738() {
var o = new core.List<api.Company>();
o.add(buildCompany());
o.add(buildCompany());
return o;
}
-checkUnnamed1660(core.List<api.Company> o) {
+checkUnnamed1738(core.List<api.Company> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompany(o[0]);
checkCompany(o[1]);
@@ -440,7 +1007,7 @@
var o = new api.ListCompaniesResponse();
buildCounterListCompaniesResponse++;
if (buildCounterListCompaniesResponse < 3) {
- o.companies = buildUnnamed1660();
+ o.companies = buildUnnamed1738();
o.nextPageToken = "foo";
o.responseMetadata = buildResponseMetadata();
}
@@ -451,21 +1018,137 @@
checkListCompaniesResponse(api.ListCompaniesResponse o) {
buildCounterListCompaniesResponse++;
if (buildCounterListCompaniesResponse < 3) {
- checkUnnamed1660(o.companies);
+ checkUnnamed1738(o.companies);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkResponseMetadata(o.responseMetadata);
}
buildCounterListCompaniesResponse--;
}
-buildUnnamed1661() {
+buildUnnamed1739() {
+ var o = new core.List<api.Lead>();
+ o.add(buildLead());
+ o.add(buildLead());
+ return o;
+}
+
+checkUnnamed1739(core.List<api.Lead> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLead(o[0]);
+ checkLead(o[1]);
+}
+
+core.int buildCounterListLeadsResponse = 0;
+buildListLeadsResponse() {
+ var o = new api.ListLeadsResponse();
+ buildCounterListLeadsResponse++;
+ if (buildCounterListLeadsResponse < 3) {
+ o.leads = buildUnnamed1739();
+ o.nextPageToken = "foo";
+ o.responseMetadata = buildResponseMetadata();
+ o.totalSize = 42;
+ }
+ buildCounterListLeadsResponse--;
+ return o;
+}
+
+checkListLeadsResponse(api.ListLeadsResponse o) {
+ buildCounterListLeadsResponse++;
+ if (buildCounterListLeadsResponse < 3) {
+ checkUnnamed1739(o.leads);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkResponseMetadata(o.responseMetadata);
+ unittest.expect(o.totalSize, unittest.equals(42));
+ }
+ buildCounterListLeadsResponse--;
+}
+
+buildUnnamed1740() {
+ var o = new core.List<api.HistoricalOffer>();
+ o.add(buildHistoricalOffer());
+ o.add(buildHistoricalOffer());
+ return o;
+}
+
+checkUnnamed1740(core.List<api.HistoricalOffer> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkHistoricalOffer(o[0]);
+ checkHistoricalOffer(o[1]);
+}
+
+core.int buildCounterListOffersHistoryResponse = 0;
+buildListOffersHistoryResponse() {
+ var o = new api.ListOffersHistoryResponse();
+ buildCounterListOffersHistoryResponse++;
+ if (buildCounterListOffersHistoryResponse < 3) {
+ o.canShowEntireCompany = true;
+ o.nextPageToken = "foo";
+ o.offers = buildUnnamed1740();
+ o.responseMetadata = buildResponseMetadata();
+ o.showingEntireCompany = true;
+ o.totalResults = 42;
+ }
+ buildCounterListOffersHistoryResponse--;
+ return o;
+}
+
+checkListOffersHistoryResponse(api.ListOffersHistoryResponse o) {
+ buildCounterListOffersHistoryResponse++;
+ if (buildCounterListOffersHistoryResponse < 3) {
+ unittest.expect(o.canShowEntireCompany, unittest.isTrue);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed1740(o.offers);
+ checkResponseMetadata(o.responseMetadata);
+ unittest.expect(o.showingEntireCompany, unittest.isTrue);
+ unittest.expect(o.totalResults, unittest.equals(42));
+ }
+ buildCounterListOffersHistoryResponse--;
+}
+
+buildUnnamed1741() {
+ var o = new core.List<api.AvailableOffer>();
+ o.add(buildAvailableOffer());
+ o.add(buildAvailableOffer());
+ return o;
+}
+
+checkUnnamed1741(core.List<api.AvailableOffer> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAvailableOffer(o[0]);
+ checkAvailableOffer(o[1]);
+}
+
+core.int buildCounterListOffersResponse = 0;
+buildListOffersResponse() {
+ var o = new api.ListOffersResponse();
+ buildCounterListOffersResponse++;
+ if (buildCounterListOffersResponse < 3) {
+ o.availableOffers = buildUnnamed1741();
+ o.noOfferReason = "foo";
+ o.responseMetadata = buildResponseMetadata();
+ }
+ buildCounterListOffersResponse--;
+ return o;
+}
+
+checkListOffersResponse(api.ListOffersResponse o) {
+ buildCounterListOffersResponse++;
+ if (buildCounterListOffersResponse < 3) {
+ checkUnnamed1741(o.availableOffers);
+ unittest.expect(o.noOfferReason, unittest.equals('foo'));
+ checkResponseMetadata(o.responseMetadata);
+ }
+ buildCounterListOffersResponse--;
+}
+
+buildUnnamed1742() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1661(core.List<core.String> o) {
+checkUnnamed1742(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -477,7 +1160,7 @@
buildCounterListUserStatesResponse++;
if (buildCounterListUserStatesResponse < 3) {
o.responseMetadata = buildResponseMetadata();
- o.userStates = buildUnnamed1661();
+ o.userStates = buildUnnamed1742();
}
buildCounterListUserStatesResponse--;
return o;
@@ -487,19 +1170,19 @@
buildCounterListUserStatesResponse++;
if (buildCounterListUserStatesResponse < 3) {
checkResponseMetadata(o.responseMetadata);
- checkUnnamed1661(o.userStates);
+ checkUnnamed1742(o.userStates);
}
buildCounterListUserStatesResponse--;
}
-buildUnnamed1662() {
+buildUnnamed1743() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1662(core.List<core.String> o) {
+checkUnnamed1743(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -510,7 +1193,7 @@
var o = new api.LocalizedCompanyInfo();
buildCounterLocalizedCompanyInfo++;
if (buildCounterLocalizedCompanyInfo < 3) {
- o.countryCodes = buildUnnamed1662();
+ o.countryCodes = buildUnnamed1743();
o.displayName = "foo";
o.languageCode = "foo";
o.overview = "foo";
@@ -522,7 +1205,7 @@
checkLocalizedCompanyInfo(api.LocalizedCompanyInfo o) {
buildCounterLocalizedCompanyInfo++;
if (buildCounterLocalizedCompanyInfo < 3) {
- checkUnnamed1662(o.countryCodes);
+ checkUnnamed1743(o.countryCodes);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
unittest.expect(o.overview, unittest.equals('foo'));
@@ -530,13 +1213,34 @@
buildCounterLocalizedCompanyInfo--;
}
+buildUnnamed1744() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1744(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterLocation = 0;
buildLocation() {
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.address = "foo";
+ o.addressLine = buildUnnamed1744();
+ o.administrativeArea = "foo";
+ o.dependentLocality = "foo";
+ o.languageCode = "foo";
o.latLng = buildLatLng();
+ o.locality = "foo";
+ o.postalCode = "foo";
+ o.regionCode = "foo";
+ o.sortingCode = "foo";
}
buildCounterLocation--;
return o;
@@ -546,19 +1250,27 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.address, unittest.equals('foo'));
+ checkUnnamed1744(o.addressLine);
+ unittest.expect(o.administrativeArea, unittest.equals('foo'));
+ unittest.expect(o.dependentLocality, unittest.equals('foo'));
+ unittest.expect(o.languageCode, unittest.equals('foo'));
checkLatLng(o.latLng);
+ unittest.expect(o.locality, unittest.equals('foo'));
+ unittest.expect(o.postalCode, unittest.equals('foo'));
+ unittest.expect(o.regionCode, unittest.equals('foo'));
+ unittest.expect(o.sortingCode, unittest.equals('foo'));
}
buildCounterLocation--;
}
-buildUnnamed1663() {
+buildUnnamed1745() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1663(core.Map<core.String, core.String> o) {
+checkUnnamed1745(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -569,7 +1281,7 @@
var o = new api.LogMessageRequest();
buildCounterLogMessageRequest++;
if (buildCounterLogMessageRequest < 3) {
- o.clientInfo = buildUnnamed1663();
+ o.clientInfo = buildUnnamed1745();
o.details = "foo";
o.level = "foo";
o.requestMetadata = buildRequestMetadata();
@@ -581,7 +1293,7 @@
checkLogMessageRequest(api.LogMessageRequest o) {
buildCounterLogMessageRequest++;
if (buildCounterLogMessageRequest < 3) {
- checkUnnamed1663(o.clientInfo);
+ checkUnnamed1745(o.clientInfo);
unittest.expect(o.details, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
checkRequestMetadata(o.requestMetadata);
@@ -608,14 +1320,14 @@
buildCounterLogMessageResponse--;
}
-buildUnnamed1664() {
+buildUnnamed1746() {
var o = new core.List<api.EventData>();
o.add(buildEventData());
o.add(buildEventData());
return o;
}
-checkUnnamed1664(core.List<api.EventData> o) {
+checkUnnamed1746(core.List<api.EventData> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventData(o[0]);
checkEventData(o[1]);
@@ -628,7 +1340,7 @@
if (buildCounterLogUserEventRequest < 3) {
o.eventAction = "foo";
o.eventCategory = "foo";
- o.eventDatas = buildUnnamed1664();
+ o.eventDatas = buildUnnamed1746();
o.eventScope = "foo";
o.lead = buildLead();
o.requestMetadata = buildRequestMetadata();
@@ -643,7 +1355,7 @@
if (buildCounterLogUserEventRequest < 3) {
unittest.expect(o.eventAction, unittest.equals('foo'));
unittest.expect(o.eventCategory, unittest.equals('foo'));
- checkUnnamed1664(o.eventDatas);
+ checkUnnamed1746(o.eventDatas);
unittest.expect(o.eventScope, unittest.equals('foo'));
checkLead(o.lead);
checkRequestMetadata(o.requestMetadata);
@@ -694,6 +1406,68 @@
buildCounterMoney--;
}
+core.int buildCounterOfferCustomer = 0;
+buildOfferCustomer() {
+ var o = new api.OfferCustomer();
+ buildCounterOfferCustomer++;
+ if (buildCounterOfferCustomer < 3) {
+ o.adwordsUrl = "foo";
+ o.countryCode = "foo";
+ o.creationTime = "foo";
+ o.eligibilityDaysLeft = 42;
+ o.externalCid = "foo";
+ o.getYAmount = "foo";
+ o.name = "foo";
+ o.offerType = "foo";
+ o.spendXAmount = "foo";
+ }
+ buildCounterOfferCustomer--;
+ return o;
+}
+
+checkOfferCustomer(api.OfferCustomer o) {
+ buildCounterOfferCustomer++;
+ if (buildCounterOfferCustomer < 3) {
+ unittest.expect(o.adwordsUrl, unittest.equals('foo'));
+ unittest.expect(o.countryCode, unittest.equals('foo'));
+ unittest.expect(o.creationTime, unittest.equals('foo'));
+ unittest.expect(o.eligibilityDaysLeft, unittest.equals(42));
+ unittest.expect(o.externalCid, unittest.equals('foo'));
+ unittest.expect(o.getYAmount, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.offerType, unittest.equals('foo'));
+ unittest.expect(o.spendXAmount, unittest.equals('foo'));
+ }
+ buildCounterOfferCustomer--;
+}
+
+core.int buildCounterOptIns = 0;
+buildOptIns() {
+ var o = new api.OptIns();
+ buildCounterOptIns++;
+ if (buildCounterOptIns < 3) {
+ o.marketComm = true;
+ o.performanceSuggestions = true;
+ o.phoneContact = true;
+ o.physicalMail = true;
+ o.specialOffers = true;
+ }
+ buildCounterOptIns--;
+ return o;
+}
+
+checkOptIns(api.OptIns o) {
+ buildCounterOptIns++;
+ if (buildCounterOptIns < 3) {
+ unittest.expect(o.marketComm, unittest.isTrue);
+ unittest.expect(o.performanceSuggestions, unittest.isTrue);
+ unittest.expect(o.phoneContact, unittest.isTrue);
+ unittest.expect(o.physicalMail, unittest.isTrue);
+ unittest.expect(o.specialOffers, unittest.isTrue);
+ }
+ buildCounterOptIns--;
+}
+
core.int buildCounterPublicProfile = 0;
buildPublicProfile() {
var o = new api.PublicProfile();
@@ -702,6 +1476,7 @@
o.displayImageUrl = "foo";
o.displayName = "foo";
o.id = "foo";
+ o.profileImage = "foo";
o.url = "foo";
}
buildCounterPublicProfile--;
@@ -714,6 +1489,7 @@
unittest.expect(o.displayImageUrl, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.profileImage, unittest.equals('foo'));
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterPublicProfile--;
@@ -761,14 +1537,14 @@
buildCounterRecaptchaChallenge--;
}
-buildUnnamed1665() {
+buildUnnamed1747() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1665(core.List<core.String> o) {
+checkUnnamed1747(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -779,7 +1555,7 @@
var o = new api.RequestMetadata();
buildCounterRequestMetadata++;
if (buildCounterRequestMetadata < 3) {
- o.experimentIds = buildUnnamed1665();
+ o.experimentIds = buildUnnamed1747();
o.locale = "foo";
o.partnersSessionId = "foo";
o.trafficSource = buildTrafficSource();
@@ -792,7 +1568,7 @@
checkRequestMetadata(api.RequestMetadata o) {
buildCounterRequestMetadata++;
if (buildCounterRequestMetadata < 3) {
- checkUnnamed1665(o.experimentIds);
+ checkUnnamed1747(o.experimentIds);
unittest.expect(o.locale, unittest.equals('foo'));
unittest.expect(o.partnersSessionId, unittest.equals('foo'));
checkTrafficSource(o.trafficSource);
@@ -820,6 +1596,27 @@
buildCounterResponseMetadata--;
}
+core.int buildCounterSpecializationStatus = 0;
+buildSpecializationStatus() {
+ var o = new api.SpecializationStatus();
+ buildCounterSpecializationStatus++;
+ if (buildCounterSpecializationStatus < 3) {
+ o.badgeSpecialization = "foo";
+ o.badgeSpecializationState = "foo";
+ }
+ buildCounterSpecializationStatus--;
+ return o;
+}
+
+checkSpecializationStatus(api.SpecializationStatus o) {
+ buildCounterSpecializationStatus++;
+ if (buildCounterSpecializationStatus < 3) {
+ unittest.expect(o.badgeSpecialization, unittest.equals('foo'));
+ unittest.expect(o.badgeSpecializationState, unittest.equals('foo'));
+ }
+ buildCounterSpecializationStatus--;
+}
+
core.int buildCounterTrafficSource = 0;
buildTrafficSource() {
var o = new api.TrafficSource();
@@ -841,6 +1638,95 @@
buildCounterTrafficSource--;
}
+buildUnnamed1748() {
+ var o = new core.List<api.AdWordsManagerAccountInfo>();
+ o.add(buildAdWordsManagerAccountInfo());
+ o.add(buildAdWordsManagerAccountInfo());
+ return o;
+}
+
+checkUnnamed1748(core.List<api.AdWordsManagerAccountInfo> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAdWordsManagerAccountInfo(o[0]);
+ checkAdWordsManagerAccountInfo(o[1]);
+}
+
+buildUnnamed1749() {
+ var o = new core.List<api.Certification>();
+ o.add(buildCertification());
+ o.add(buildCertification());
+ return o;
+}
+
+checkUnnamed1749(core.List<api.Certification> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCertification(o[0]);
+ checkCertification(o[1]);
+}
+
+buildUnnamed1750() {
+ var o = new core.List<api.ExamStatus>();
+ o.add(buildExamStatus());
+ o.add(buildExamStatus());
+ return o;
+}
+
+checkUnnamed1750(core.List<api.ExamStatus> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkExamStatus(o[0]);
+ checkExamStatus(o[1]);
+}
+
+buildUnnamed1751() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1751(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterUser = 0;
+buildUser() {
+ var o = new api.User();
+ buildCounterUser++;
+ if (buildCounterUser < 3) {
+ o.availableAdwordsManagerAccounts = buildUnnamed1748();
+ o.certificationStatus = buildUnnamed1749();
+ o.company = buildCompanyRelation();
+ o.companyVerificationEmail = "foo";
+ o.examStatus = buildUnnamed1750();
+ o.id = "foo";
+ o.lastAccessTime = "foo";
+ o.primaryEmails = buildUnnamed1751();
+ o.profile = buildUserProfile();
+ o.publicProfile = buildPublicProfile();
+ }
+ buildCounterUser--;
+ return o;
+}
+
+checkUser(api.User o) {
+ buildCounterUser++;
+ if (buildCounterUser < 3) {
+ checkUnnamed1748(o.availableAdwordsManagerAccounts);
+ checkUnnamed1749(o.certificationStatus);
+ checkCompanyRelation(o.company);
+ unittest.expect(o.companyVerificationEmail, unittest.equals('foo'));
+ checkUnnamed1750(o.examStatus);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.lastAccessTime, unittest.equals('foo'));
+ checkUnnamed1751(o.primaryEmails);
+ checkUserProfile(o.profile);
+ checkPublicProfile(o.publicProfile);
+ }
+ buildCounterUser--;
+}
+
core.int buildCounterUserOverrides = 0;
buildUserOverrides() {
var o = new api.UserOverrides();
@@ -862,92 +1748,371 @@
buildCounterUserOverrides--;
}
-buildUnnamed1666() {
+buildUnnamed1752() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1666(core.List<core.String> o) {
+checkUnnamed1752(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1667() {
+buildUnnamed1753() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1667(core.List<core.String> o) {
+checkUnnamed1753(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1668() {
+buildUnnamed1754() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1668(core.List<core.String> o) {
+checkUnnamed1754(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1669() {
+buildUnnamed1755() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1669(core.List<core.String> o) {
+checkUnnamed1755(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1670() {
+buildUnnamed1756() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1670(core.List<core.String> o) {
+checkUnnamed1756(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1671() {
+core.int buildCounterUserProfile = 0;
+buildUserProfile() {
+ var o = new api.UserProfile();
+ buildCounterUserProfile++;
+ if (buildCounterUserProfile < 3) {
+ o.address = buildLocation();
+ o.adwordsManagerAccount = "foo";
+ o.channels = buildUnnamed1752();
+ o.emailAddress = "foo";
+ o.emailOptIns = buildOptIns();
+ o.familyName = "foo";
+ o.givenName = "foo";
+ o.industries = buildUnnamed1753();
+ o.jobFunctions = buildUnnamed1754();
+ o.languages = buildUnnamed1755();
+ o.markets = buildUnnamed1756();
+ o.phoneNumber = "foo";
+ o.primaryCountryCode = "foo";
+ o.profilePublic = true;
+ }
+ buildCounterUserProfile--;
+ return o;
+}
+
+checkUserProfile(api.UserProfile o) {
+ buildCounterUserProfile++;
+ if (buildCounterUserProfile < 3) {
+ checkLocation(o.address);
+ unittest.expect(o.adwordsManagerAccount, unittest.equals('foo'));
+ checkUnnamed1752(o.channels);
+ unittest.expect(o.emailAddress, unittest.equals('foo'));
+ checkOptIns(o.emailOptIns);
+ unittest.expect(o.familyName, unittest.equals('foo'));
+ unittest.expect(o.givenName, unittest.equals('foo'));
+ checkUnnamed1753(o.industries);
+ checkUnnamed1754(o.jobFunctions);
+ checkUnnamed1755(o.languages);
+ checkUnnamed1756(o.markets);
+ unittest.expect(o.phoneNumber, unittest.equals('foo'));
+ unittest.expect(o.primaryCountryCode, unittest.equals('foo'));
+ unittest.expect(o.profilePublic, unittest.isTrue);
+ }
+ buildCounterUserProfile--;
+}
+
+buildUnnamed1757() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1671(core.List<core.String> o) {
+checkUnnamed1757(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1672() {
+buildUnnamed1758() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1672(core.List<core.String> o) {
+checkUnnamed1758(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1759() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1759(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1760() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1760(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1761() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1761(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1762() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1762(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1763() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1763(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1764() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1764(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1765() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1765(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1766() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1766(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1767() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1767(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1768() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1768(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1769() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1769(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1770() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1770(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1771() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1771(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1772() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1772(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1773() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1773(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1774() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1774(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1775() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1775(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1776() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1776(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -955,6 +2120,60 @@
main() {
+ unittest.group("obj-schema-AdWordsManagerAccountInfo", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAdWordsManagerAccountInfo();
+ var od = new api.AdWordsManagerAccountInfo.fromJson(o.toJson());
+ checkAdWordsManagerAccountInfo(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Analytics", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAnalytics();
+ var od = new api.Analytics.fromJson(o.toJson());
+ checkAnalytics(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-AnalyticsDataPoint", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAnalyticsDataPoint();
+ var od = new api.AnalyticsDataPoint.fromJson(o.toJson());
+ checkAnalyticsDataPoint(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-AnalyticsSummary", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAnalyticsSummary();
+ var od = new api.AnalyticsSummary.fromJson(o.toJson());
+ checkAnalyticsSummary(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-AvailableOffer", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAvailableOffer();
+ var od = new api.AvailableOffer.fromJson(o.toJson());
+ checkAvailableOffer(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Certification", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCertification();
+ var od = new api.Certification.fromJson(o.toJson());
+ checkCertification(od);
+ });
+ });
+
+
unittest.group("obj-schema-CertificationExamStatus", () {
unittest.test("to-json--from-json", () {
var o = buildCertificationExamStatus();
@@ -982,6 +2201,24 @@
});
+ unittest.group("obj-schema-CompanyRelation", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCompanyRelation();
+ var od = new api.CompanyRelation.fromJson(o.toJson());
+ checkCompanyRelation(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-CountryOfferInfo", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCountryOfferInfo();
+ var od = new api.CountryOfferInfo.fromJson(o.toJson());
+ checkCountryOfferInfo(od);
+ });
+ });
+
+
unittest.group("obj-schema-CreateLeadRequest", () {
unittest.test("to-json--from-json", () {
var o = buildCreateLeadRequest();
@@ -1000,6 +2237,15 @@
});
+ unittest.group("obj-schema-Date", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDate();
+ var od = new api.Date.fromJson(o.toJson());
+ checkDate(od);
+ });
+ });
+
+
unittest.group("obj-schema-DebugInfo", () {
unittest.test("to-json--from-json", () {
var o = buildDebugInfo();
@@ -1009,6 +2255,15 @@
});
+ unittest.group("obj-schema-Empty", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildEmpty();
+ var od = new api.Empty.fromJson(o.toJson());
+ checkEmpty(od);
+ });
+ });
+
+
unittest.group("obj-schema-EventData", () {
unittest.test("to-json--from-json", () {
var o = buildEventData();
@@ -1018,6 +2273,24 @@
});
+ unittest.group("obj-schema-ExamStatus", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildExamStatus();
+ var od = new api.ExamStatus.fromJson(o.toJson());
+ checkExamStatus(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ExamToken", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildExamToken();
+ var od = new api.ExamToken.fromJson(o.toJson());
+ checkExamToken(od);
+ });
+ });
+
+
unittest.group("obj-schema-GetCompanyResponse", () {
unittest.test("to-json--from-json", () {
var o = buildGetCompanyResponse();
@@ -1027,6 +2300,24 @@
});
+ unittest.group("obj-schema-GetPartnersStatusResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGetPartnersStatusResponse();
+ var od = new api.GetPartnersStatusResponse.fromJson(o.toJson());
+ checkGetPartnersStatusResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-HistoricalOffer", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildHistoricalOffer();
+ var od = new api.HistoricalOffer.fromJson(o.toJson());
+ checkHistoricalOffer(od);
+ });
+ });
+
+
unittest.group("obj-schema-LatLng", () {
unittest.test("to-json--from-json", () {
var o = buildLatLng();
@@ -1045,6 +2336,15 @@
});
+ unittest.group("obj-schema-ListAnalyticsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListAnalyticsResponse();
+ var od = new api.ListAnalyticsResponse.fromJson(o.toJson());
+ checkListAnalyticsResponse(od);
+ });
+ });
+
+
unittest.group("obj-schema-ListCompaniesResponse", () {
unittest.test("to-json--from-json", () {
var o = buildListCompaniesResponse();
@@ -1054,6 +2354,33 @@
});
+ unittest.group("obj-schema-ListLeadsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListLeadsResponse();
+ var od = new api.ListLeadsResponse.fromJson(o.toJson());
+ checkListLeadsResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ListOffersHistoryResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListOffersHistoryResponse();
+ var od = new api.ListOffersHistoryResponse.fromJson(o.toJson());
+ checkListOffersHistoryResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ListOffersResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListOffersResponse();
+ var od = new api.ListOffersResponse.fromJson(o.toJson());
+ checkListOffersResponse(od);
+ });
+ });
+
+
unittest.group("obj-schema-ListUserStatesResponse", () {
unittest.test("to-json--from-json", () {
var o = buildListUserStatesResponse();
@@ -1126,6 +2453,24 @@
});
+ unittest.group("obj-schema-OfferCustomer", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOfferCustomer();
+ var od = new api.OfferCustomer.fromJson(o.toJson());
+ checkOfferCustomer(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-OptIns", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOptIns();
+ var od = new api.OptIns.fromJson(o.toJson());
+ checkOptIns(od);
+ });
+ });
+
+
unittest.group("obj-schema-PublicProfile", () {
unittest.test("to-json--from-json", () {
var o = buildPublicProfile();
@@ -1171,6 +2516,15 @@
});
+ unittest.group("obj-schema-SpecializationStatus", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSpecializationStatus();
+ var od = new api.SpecializationStatus.fromJson(o.toJson());
+ checkSpecializationStatus(od);
+ });
+ });
+
+
unittest.group("obj-schema-TrafficSource", () {
unittest.test("to-json--from-json", () {
var o = buildTrafficSource();
@@ -1180,6 +2534,15 @@
});
+ unittest.group("obj-schema-User", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUser();
+ var od = new api.User.fromJson(o.toJson());
+ checkUser(od);
+ });
+ });
+
+
unittest.group("obj-schema-UserOverrides", () {
unittest.test("to-json--from-json", () {
var o = buildUserOverrides();
@@ -1189,6 +2552,80 @@
});
+ unittest.group("obj-schema-UserProfile", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUserProfile();
+ var od = new api.UserProfile.fromJson(o.toJson());
+ checkUserProfile(od);
+ });
+ });
+
+
+ unittest.group("resource-AnalyticsResourceApi", () {
+ unittest.test("method--list", () {
+
+ var mock = new HttpServerMock();
+ api.AnalyticsResourceApi res = new api.PartnersApi(mock).analytics;
+ var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
+ var arg_requestMetadata_locale = "foo";
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed1757();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("v2/analytics"));
+ pathOffset += 12;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
+ unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListAnalyticsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListAnalyticsResponse response) {
+ checkListAnalyticsResponse(response);
+ })));
+ });
+
+ });
+
+
unittest.group("resource-ClientMessagesResourceApi", () {
unittest.test("method--log", () {
@@ -1246,17 +2683,17 @@
var mock = new HttpServerMock();
api.CompaniesResourceApi res = new api.PartnersApi(mock).companies;
var arg_companyId = "foo";
- var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_userOverrides_userId = "foo";
- var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed1666();
- var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
- var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
var arg_view = "foo";
- var arg_orderBy = "foo";
- var arg_currencyCode = "foo";
+ var arg_requestMetadata_locale = "foo";
var arg_address = "foo";
+ var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_currencyCode = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed1758();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ var arg_orderBy = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1286,17 +2723,17 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
- unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
- unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
- unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
- unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["currencyCode"].first, unittest.equals(arg_currencyCode));
+ unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
unittest.expect(queryMap["address"].first, unittest.equals(arg_address));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(queryMap["currencyCode"].first, unittest.equals(arg_currencyCode));
+ unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+ unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
var h = {
@@ -1305,7 +2742,7 @@
var resp = convert.JSON.encode(buildGetCompanyResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_companyId, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, view: arg_view, orderBy: arg_orderBy, currencyCode: arg_currencyCode, address: arg_address).then(unittest.expectAsync(((api.GetCompanyResponse response) {
+ res.get(arg_companyId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, view: arg_view, requestMetadata_locale: arg_requestMetadata_locale, address: arg_address, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, currencyCode: arg_currencyCode, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, orderBy: arg_orderBy).then(unittest.expectAsync(((api.GetCompanyResponse response) {
checkGetCompanyResponse(response);
})));
});
@@ -1314,30 +2751,31 @@
var mock = new HttpServerMock();
api.CompaniesResourceApi res = new api.PartnersApi(mock).companies;
+ var arg_languageCodes = buildUnnamed1759();
+ var arg_pageSize = 42;
var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed1760();
+ var arg_orderBy = "foo";
+ var arg_specializations = buildUnnamed1761();
+ var arg_maxMonthlyBudget_currencyCode = "foo";
+ var arg_minMonthlyBudget_currencyCode = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_view = "foo";
+ var arg_address = "foo";
var arg_requestMetadata_locale = "foo";
- var arg_requestMetadata_partnersSessionId = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed1667();
+ var arg_minMonthlyBudget_units = "foo";
+ var arg_maxMonthlyBudget_nanos = 42;
+ var arg_services = buildUnnamed1762();
+ var arg_maxMonthlyBudget_units = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
- var arg_pageSize = 42;
+ var arg_minMonthlyBudget_nanos = 42;
+ var arg_requestMetadata_partnersSessionId = "foo";
var arg_pageToken = "foo";
var arg_companyName = "foo";
- var arg_view = "foo";
- var arg_minMonthlyBudget_currencyCode = "foo";
- var arg_minMonthlyBudget_units = "foo";
- var arg_minMonthlyBudget_nanos = 42;
- var arg_maxMonthlyBudget_currencyCode = "foo";
- var arg_maxMonthlyBudget_units = "foo";
- var arg_maxMonthlyBudget_nanos = 42;
- var arg_industries = buildUnnamed1668();
- var arg_services = buildUnnamed1669();
- var arg_languageCodes = buildUnnamed1670();
- var arg_address = "foo";
- var arg_orderBy = "foo";
- var arg_gpsMotivations = buildUnnamed1671();
+ var arg_industries = buildUnnamed1763();
var arg_websiteUrl = "foo";
+ var arg_gpsMotivations = buildUnnamed1764();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1364,30 +2802,31 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["languageCodes"], unittest.equals(arg_languageCodes));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
- unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(queryMap["specializations"], unittest.equals(arg_specializations));
+ unittest.expect(queryMap["maxMonthlyBudget.currencyCode"].first, unittest.equals(arg_maxMonthlyBudget_currencyCode));
+ unittest.expect(queryMap["minMonthlyBudget.currencyCode"].first, unittest.equals(arg_minMonthlyBudget_currencyCode));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
+ unittest.expect(queryMap["address"].first, unittest.equals(arg_address));
+ unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(queryMap["minMonthlyBudget.units"].first, unittest.equals(arg_minMonthlyBudget_units));
+ unittest.expect(core.int.parse(queryMap["maxMonthlyBudget.nanos"].first), unittest.equals(arg_maxMonthlyBudget_nanos));
+ unittest.expect(queryMap["services"], unittest.equals(arg_services));
+ unittest.expect(queryMap["maxMonthlyBudget.units"].first, unittest.equals(arg_maxMonthlyBudget_units));
unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(core.int.parse(queryMap["minMonthlyBudget.nanos"].first), unittest.equals(arg_minMonthlyBudget_nanos));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["companyName"].first, unittest.equals(arg_companyName));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- unittest.expect(queryMap["minMonthlyBudget.currencyCode"].first, unittest.equals(arg_minMonthlyBudget_currencyCode));
- unittest.expect(queryMap["minMonthlyBudget.units"].first, unittest.equals(arg_minMonthlyBudget_units));
- unittest.expect(core.int.parse(queryMap["minMonthlyBudget.nanos"].first), unittest.equals(arg_minMonthlyBudget_nanos));
- unittest.expect(queryMap["maxMonthlyBudget.currencyCode"].first, unittest.equals(arg_maxMonthlyBudget_currencyCode));
- unittest.expect(queryMap["maxMonthlyBudget.units"].first, unittest.equals(arg_maxMonthlyBudget_units));
- unittest.expect(core.int.parse(queryMap["maxMonthlyBudget.nanos"].first), unittest.equals(arg_maxMonthlyBudget_nanos));
unittest.expect(queryMap["industries"], unittest.equals(arg_industries));
- unittest.expect(queryMap["services"], unittest.equals(arg_services));
- unittest.expect(queryMap["languageCodes"], unittest.equals(arg_languageCodes));
- unittest.expect(queryMap["address"].first, unittest.equals(arg_address));
- unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["gpsMotivations"], unittest.equals(arg_gpsMotivations));
unittest.expect(queryMap["websiteUrl"].first, unittest.equals(arg_websiteUrl));
+ unittest.expect(queryMap["gpsMotivations"], unittest.equals(arg_gpsMotivations));
var h = {
@@ -1396,7 +2835,7 @@
var resp = convert.JSON.encode(buildListCompaniesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, pageSize: arg_pageSize, pageToken: arg_pageToken, companyName: arg_companyName, view: arg_view, minMonthlyBudget_currencyCode: arg_minMonthlyBudget_currencyCode, minMonthlyBudget_units: arg_minMonthlyBudget_units, minMonthlyBudget_nanos: arg_minMonthlyBudget_nanos, maxMonthlyBudget_currencyCode: arg_maxMonthlyBudget_currencyCode, maxMonthlyBudget_units: arg_maxMonthlyBudget_units, maxMonthlyBudget_nanos: arg_maxMonthlyBudget_nanos, industries: arg_industries, services: arg_services, languageCodes: arg_languageCodes, address: arg_address, orderBy: arg_orderBy, gpsMotivations: arg_gpsMotivations, websiteUrl: arg_websiteUrl).then(unittest.expectAsync(((api.ListCompaniesResponse response) {
+ res.list(languageCodes: arg_languageCodes, pageSize: arg_pageSize, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, orderBy: arg_orderBy, specializations: arg_specializations, maxMonthlyBudget_currencyCode: arg_maxMonthlyBudget_currencyCode, minMonthlyBudget_currencyCode: arg_minMonthlyBudget_currencyCode, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, view: arg_view, address: arg_address, requestMetadata_locale: arg_requestMetadata_locale, minMonthlyBudget_units: arg_minMonthlyBudget_units, maxMonthlyBudget_nanos: arg_maxMonthlyBudget_nanos, services: arg_services, maxMonthlyBudget_units: arg_maxMonthlyBudget_units, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, minMonthlyBudget_nanos: arg_minMonthlyBudget_nanos, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, pageToken: arg_pageToken, companyName: arg_companyName, industries: arg_industries, websiteUrl: arg_websiteUrl, gpsMotivations: arg_gpsMotivations).then(unittest.expectAsync(((api.ListCompaniesResponse response) {
checkListCompaniesResponse(response);
})));
});
@@ -1463,6 +2902,272 @@
});
+ unittest.group("resource-ExamsResourceApi", () {
+ unittest.test("method--getToken", () {
+
+ var mock = new HttpServerMock();
+ api.ExamsResourceApi res = new api.PartnersApi(mock).exams;
+ var arg_examType = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
+ var arg_requestMetadata_locale = "foo";
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed1765();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("v2/exams/"));
+ pathOffset += 9;
+ index = path.indexOf("/token", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_examType"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equals("/token"));
+ pathOffset += 6;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
+ unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildExamToken());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getToken(arg_examType, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId).then(unittest.expectAsync(((api.ExamToken response) {
+ checkExamToken(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-LeadsResourceApi", () {
+ unittest.test("method--list", () {
+
+ var mock = new HttpServerMock();
+ api.LeadsResourceApi res = new api.PartnersApi(mock).leads;
+ var arg_requestMetadata_experimentIds = buildUnnamed1766();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ var arg_orderBy = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
+ var arg_requestMetadata_locale = "foo";
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v2/leads"));
+ pathOffset += 8;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+ unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
+ unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListLeadsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, orderBy: arg_orderBy, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, pageToken: arg_pageToken, pageSize: arg_pageSize, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress).then(unittest.expectAsync(((api.ListLeadsResponse response) {
+ checkListLeadsResponse(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-OffersResourceApi", () {
+ unittest.test("method--list", () {
+
+ var mock = new HttpServerMock();
+ api.OffersResourceApi res = new api.PartnersApi(mock).offers;
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
+ var arg_requestMetadata_locale = "foo";
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed1767();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("v2/offers"));
+ pathOffset += 9;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
+ unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListOffersResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId).then(unittest.expectAsync(((api.ListOffersResponse response) {
+ checkListOffersResponse(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-OffersHistoryResourceApi", () {
+ unittest.test("method--list", () {
+
+ var mock = new HttpServerMock();
+ api.OffersHistoryResourceApi res = new api.PartnersApi(mock).offers.history;
+ var arg_requestMetadata_experimentIds = buildUnnamed1768();
+ var arg_entireCompany = true;
+ var arg_orderBy = "foo";
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
+ var arg_requestMetadata_locale = "foo";
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.equals("v2/offers/history"));
+ pathOffset += 17;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(queryMap["entireCompany"].first, unittest.equals("$arg_entireCompany"));
+ unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
+ unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListOffersHistoryResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(requestMetadata_experimentIds: arg_requestMetadata_experimentIds, entireCompany: arg_entireCompany, orderBy: arg_orderBy, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, pageToken: arg_pageToken, pageSize: arg_pageSize, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress).then(unittest.expectAsync(((api.ListOffersHistoryResponse response) {
+ checkListOffersHistoryResponse(response);
+ })));
+ });
+
+ });
+
+
unittest.group("resource-UserEventsResourceApi", () {
unittest.test("method--log", () {
@@ -1519,13 +3224,13 @@
var mock = new HttpServerMock();
api.UserStatesResourceApi res = new api.PartnersApi(mock).userStates;
- var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_userOverrides_userId = "foo";
- var arg_requestMetadata_locale = "foo";
- var arg_requestMetadata_partnersSessionId = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed1672();
- var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed1769();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
+ var arg_requestMetadata_locale = "foo";
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1552,13 +3257,13 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
- unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
- unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
+ unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
var h = {
@@ -1567,7 +3272,7 @@
var resp = convert.JSON.encode(buildListUserStatesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId).then(unittest.expectAsync(((api.ListUserStatesResponse response) {
+ res.list(requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress).then(unittest.expectAsync(((api.ListUserStatesResponse response) {
checkListUserStatesResponse(response);
})));
});
@@ -1575,5 +3280,454 @@
});
+ unittest.group("resource-UsersResourceApi", () {
+ unittest.test("method--createCompanyRelation", () {
+
+ var mock = new HttpServerMock();
+ api.UsersResourceApi res = new api.PartnersApi(mock).users;
+ var arg_request = buildCompanyRelation();
+ var arg_userId = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed1770();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
+ var arg_requestMetadata_locale = "foo";
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.CompanyRelation.fromJson(json);
+ checkCompanyRelation(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("v2/users/"));
+ pathOffset += 9;
+ index = path.indexOf("/companyRelation", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_userId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("/companyRelation"));
+ pathOffset += 16;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
+ unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCompanyRelation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.createCompanyRelation(arg_request, arg_userId, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress).then(unittest.expectAsync(((api.CompanyRelation response) {
+ checkCompanyRelation(response);
+ })));
+ });
+
+ unittest.test("method--deleteCompanyRelation", () {
+
+ var mock = new HttpServerMock();
+ api.UsersResourceApi res = new api.PartnersApi(mock).users;
+ var arg_userId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
+ var arg_requestMetadata_locale = "foo";
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed1771();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("v2/users/"));
+ pathOffset += 9;
+ index = path.indexOf("/companyRelation", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_userId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("/companyRelation"));
+ pathOffset += 16;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
+ unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.deleteCompanyRelation(arg_userId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId).then(unittest.expectAsync(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
+ unittest.test("method--get", () {
+
+ var mock = new HttpServerMock();
+ api.UsersResourceApi res = new api.PartnersApi(mock).users;
+ var arg_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_userView = "foo";
+ var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
+ var arg_requestMetadata_locale = "foo";
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed1772();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("v2/users/"));
+ pathOffset += 9;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_userId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["userView"].first, unittest.equals(arg_userView));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
+ unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildUser());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.get(arg_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, userView: arg_userView, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId).then(unittest.expectAsync(((api.User response) {
+ checkUser(response);
+ })));
+ });
+
+ unittest.test("method--updateProfile", () {
+
+ var mock = new HttpServerMock();
+ api.UsersResourceApi res = new api.PartnersApi(mock).users;
+ var arg_request = buildUserProfile();
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
+ var arg_requestMetadata_locale = "foo";
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed1773();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.UserProfile.fromJson(json);
+ checkUserProfile(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("v2/users/profile"));
+ pathOffset += 16;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
+ unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildUserProfile());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.updateProfile(arg_request, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId).then(unittest.expectAsync(((api.UserProfile response) {
+ checkUserProfile(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-V2ResourceApi", () {
+ unittest.test("method--getPartnersstatus", () {
+
+ var mock = new HttpServerMock();
+ api.V2ResourceApi res = new api.PartnersApi(mock).v2;
+ var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
+ var arg_requestMetadata_locale = "foo";
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed1774();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.equals("v2/partnersstatus"));
+ pathOffset += 17;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
+ unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildGetPartnersStatusResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getPartnersstatus(requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId).then(unittest.expectAsync(((api.GetPartnersStatusResponse response) {
+ checkGetPartnersStatusResponse(response);
+ })));
+ });
+
+ unittest.test("method--updateCompanies", () {
+
+ var mock = new HttpServerMock();
+ api.V2ResourceApi res = new api.PartnersApi(mock).v2;
+ var arg_request = buildCompany();
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
+ var arg_requestMetadata_locale = "foo";
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_updateMask = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed1775();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.Company.fromJson(json);
+ checkCompany(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("v2/companies"));
+ pathOffset += 12;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
+ unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCompany());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.updateCompanies(arg_request, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, updateMask: arg_updateMask, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId).then(unittest.expectAsync(((api.Company response) {
+ checkCompany(response);
+ })));
+ });
+
+ unittest.test("method--updateLeads", () {
+
+ var mock = new HttpServerMock();
+ api.V2ResourceApi res = new api.PartnersApi(mock).v2;
+ var arg_request = buildLead();
+ var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
+ var arg_requestMetadata_locale = "foo";
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_updateMask = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed1776();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.Lead.fromJson(json);
+ checkLead(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v2/leads"));
+ pathOffset += 8;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first, unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first, unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSourceId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
+ unittest.expect(queryMap["requestMetadata.locale"].first, unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(queryMap["requestMetadata.userOverrides.ipAddress"].first, unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(queryMap["requestMetadata.experimentIds"], unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(queryMap["requestMetadata.trafficSource.trafficSubId"].first, unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildLead());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.updateLeads(arg_request, requestMetadata_partnersSessionId: arg_requestMetadata_partnersSessionId, requestMetadata_userOverrides_userId: arg_requestMetadata_userOverrides_userId, requestMetadata_trafficSource_trafficSourceId: arg_requestMetadata_trafficSource_trafficSourceId, requestMetadata_locale: arg_requestMetadata_locale, requestMetadata_userOverrides_ipAddress: arg_requestMetadata_userOverrides_ipAddress, updateMask: arg_updateMask, requestMetadata_experimentIds: arg_requestMetadata_experimentIds, requestMetadata_trafficSource_trafficSubId: arg_requestMetadata_trafficSource_trafficSubId).then(unittest.expectAsync(((api.Lead response) {
+ checkLead(response);
+ })));
+ });
+
+ });
+
+
}
diff --git a/generated/googleapis/test/people/v1_test.dart b/generated/googleapis/test/people/v1_test.dart
index 1cb56d0..127a6b8 100644
--- a/generated/googleapis/test/people/v1_test.dart
+++ b/generated/googleapis/test/people/v1_test.dart
@@ -362,14 +362,14 @@
buildCounterGender--;
}
-buildUnnamed1247() {
+buildUnnamed1300() {
var o = new core.List<api.PersonResponse>();
o.add(buildPersonResponse());
o.add(buildPersonResponse());
return o;
}
-checkUnnamed1247(core.List<api.PersonResponse> o) {
+checkUnnamed1300(core.List<api.PersonResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonResponse(o[0]);
checkPersonResponse(o[1]);
@@ -380,7 +380,7 @@
var o = new api.GetPeopleResponse();
buildCounterGetPeopleResponse++;
if (buildCounterGetPeopleResponse < 3) {
- o.responses = buildUnnamed1247();
+ o.responses = buildUnnamed1300();
}
buildCounterGetPeopleResponse--;
return o;
@@ -389,7 +389,7 @@
checkGetPeopleResponse(api.GetPeopleResponse o) {
buildCounterGetPeopleResponse++;
if (buildCounterGetPeopleResponse < 3) {
- checkUnnamed1247(o.responses);
+ checkUnnamed1300(o.responses);
}
buildCounterGetPeopleResponse--;
}
@@ -444,14 +444,14 @@
buildCounterInterest--;
}
-buildUnnamed1248() {
+buildUnnamed1301() {
var o = new core.List<api.Person>();
o.add(buildPerson());
o.add(buildPerson());
return o;
}
-checkUnnamed1248(core.List<api.Person> o) {
+checkUnnamed1301(core.List<api.Person> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerson(o[0]);
checkPerson(o[1]);
@@ -462,9 +462,10 @@
var o = new api.ListConnectionsResponse();
buildCounterListConnectionsResponse++;
if (buildCounterListConnectionsResponse < 3) {
- o.connections = buildUnnamed1248();
+ o.connections = buildUnnamed1301();
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
+ o.totalPeople = 42;
}
buildCounterListConnectionsResponse--;
return o;
@@ -473,9 +474,10 @@
checkListConnectionsResponse(api.ListConnectionsResponse o) {
buildCounterListConnectionsResponse++;
if (buildCounterListConnectionsResponse < 3) {
- checkUnnamed1248(o.connections);
+ checkUnnamed1301(o.connections);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
+ unittest.expect(o.totalPeople, unittest.equals(42));
}
buildCounterListConnectionsResponse--;
}
@@ -658,339 +660,339 @@
buildCounterOrganization--;
}
-buildUnnamed1249() {
+buildUnnamed1302() {
var o = new core.List<api.Address>();
o.add(buildAddress());
o.add(buildAddress());
return o;
}
-checkUnnamed1249(core.List<api.Address> o) {
+checkUnnamed1302(core.List<api.Address> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddress(o[0]);
checkAddress(o[1]);
}
-buildUnnamed1250() {
+buildUnnamed1303() {
var o = new core.List<api.AgeRangeType>();
o.add(buildAgeRangeType());
o.add(buildAgeRangeType());
return o;
}
-checkUnnamed1250(core.List<api.AgeRangeType> o) {
+checkUnnamed1303(core.List<api.AgeRangeType> o) {
unittest.expect(o, unittest.hasLength(2));
checkAgeRangeType(o[0]);
checkAgeRangeType(o[1]);
}
-buildUnnamed1251() {
+buildUnnamed1304() {
var o = new core.List<api.Biography>();
o.add(buildBiography());
o.add(buildBiography());
return o;
}
-checkUnnamed1251(core.List<api.Biography> o) {
+checkUnnamed1304(core.List<api.Biography> o) {
unittest.expect(o, unittest.hasLength(2));
checkBiography(o[0]);
checkBiography(o[1]);
}
-buildUnnamed1252() {
+buildUnnamed1305() {
var o = new core.List<api.Birthday>();
o.add(buildBirthday());
o.add(buildBirthday());
return o;
}
-checkUnnamed1252(core.List<api.Birthday> o) {
+checkUnnamed1305(core.List<api.Birthday> o) {
unittest.expect(o, unittest.hasLength(2));
checkBirthday(o[0]);
checkBirthday(o[1]);
}
-buildUnnamed1253() {
+buildUnnamed1306() {
var o = new core.List<api.BraggingRights>();
o.add(buildBraggingRights());
o.add(buildBraggingRights());
return o;
}
-checkUnnamed1253(core.List<api.BraggingRights> o) {
+checkUnnamed1306(core.List<api.BraggingRights> o) {
unittest.expect(o, unittest.hasLength(2));
checkBraggingRights(o[0]);
checkBraggingRights(o[1]);
}
-buildUnnamed1254() {
+buildUnnamed1307() {
var o = new core.List<api.CoverPhoto>();
o.add(buildCoverPhoto());
o.add(buildCoverPhoto());
return o;
}
-checkUnnamed1254(core.List<api.CoverPhoto> o) {
+checkUnnamed1307(core.List<api.CoverPhoto> o) {
unittest.expect(o, unittest.hasLength(2));
checkCoverPhoto(o[0]);
checkCoverPhoto(o[1]);
}
-buildUnnamed1255() {
+buildUnnamed1308() {
var o = new core.List<api.EmailAddress>();
o.add(buildEmailAddress());
o.add(buildEmailAddress());
return o;
}
-checkUnnamed1255(core.List<api.EmailAddress> o) {
+checkUnnamed1308(core.List<api.EmailAddress> o) {
unittest.expect(o, unittest.hasLength(2));
checkEmailAddress(o[0]);
checkEmailAddress(o[1]);
}
-buildUnnamed1256() {
+buildUnnamed1309() {
var o = new core.List<api.Event>();
o.add(buildEvent());
o.add(buildEvent());
return o;
}
-checkUnnamed1256(core.List<api.Event> o) {
+checkUnnamed1309(core.List<api.Event> o) {
unittest.expect(o, unittest.hasLength(2));
checkEvent(o[0]);
checkEvent(o[1]);
}
-buildUnnamed1257() {
+buildUnnamed1310() {
var o = new core.List<api.Gender>();
o.add(buildGender());
o.add(buildGender());
return o;
}
-checkUnnamed1257(core.List<api.Gender> o) {
+checkUnnamed1310(core.List<api.Gender> o) {
unittest.expect(o, unittest.hasLength(2));
checkGender(o[0]);
checkGender(o[1]);
}
-buildUnnamed1258() {
+buildUnnamed1311() {
var o = new core.List<api.ImClient>();
o.add(buildImClient());
o.add(buildImClient());
return o;
}
-checkUnnamed1258(core.List<api.ImClient> o) {
+checkUnnamed1311(core.List<api.ImClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkImClient(o[0]);
checkImClient(o[1]);
}
-buildUnnamed1259() {
+buildUnnamed1312() {
var o = new core.List<api.Interest>();
o.add(buildInterest());
o.add(buildInterest());
return o;
}
-checkUnnamed1259(core.List<api.Interest> o) {
+checkUnnamed1312(core.List<api.Interest> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterest(o[0]);
checkInterest(o[1]);
}
-buildUnnamed1260() {
+buildUnnamed1313() {
var o = new core.List<api.Locale>();
o.add(buildLocale());
o.add(buildLocale());
return o;
}
-checkUnnamed1260(core.List<api.Locale> o) {
+checkUnnamed1313(core.List<api.Locale> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocale(o[0]);
checkLocale(o[1]);
}
-buildUnnamed1261() {
+buildUnnamed1314() {
var o = new core.List<api.Membership>();
o.add(buildMembership());
o.add(buildMembership());
return o;
}
-checkUnnamed1261(core.List<api.Membership> o) {
+checkUnnamed1314(core.List<api.Membership> o) {
unittest.expect(o, unittest.hasLength(2));
checkMembership(o[0]);
checkMembership(o[1]);
}
-buildUnnamed1262() {
+buildUnnamed1315() {
var o = new core.List<api.Name>();
o.add(buildName());
o.add(buildName());
return o;
}
-checkUnnamed1262(core.List<api.Name> o) {
+checkUnnamed1315(core.List<api.Name> o) {
unittest.expect(o, unittest.hasLength(2));
checkName(o[0]);
checkName(o[1]);
}
-buildUnnamed1263() {
+buildUnnamed1316() {
var o = new core.List<api.Nickname>();
o.add(buildNickname());
o.add(buildNickname());
return o;
}
-checkUnnamed1263(core.List<api.Nickname> o) {
+checkUnnamed1316(core.List<api.Nickname> o) {
unittest.expect(o, unittest.hasLength(2));
checkNickname(o[0]);
checkNickname(o[1]);
}
-buildUnnamed1264() {
+buildUnnamed1317() {
var o = new core.List<api.Occupation>();
o.add(buildOccupation());
o.add(buildOccupation());
return o;
}
-checkUnnamed1264(core.List<api.Occupation> o) {
+checkUnnamed1317(core.List<api.Occupation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOccupation(o[0]);
checkOccupation(o[1]);
}
-buildUnnamed1265() {
+buildUnnamed1318() {
var o = new core.List<api.Organization>();
o.add(buildOrganization());
o.add(buildOrganization());
return o;
}
-checkUnnamed1265(core.List<api.Organization> o) {
+checkUnnamed1318(core.List<api.Organization> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrganization(o[0]);
checkOrganization(o[1]);
}
-buildUnnamed1266() {
+buildUnnamed1319() {
var o = new core.List<api.PhoneNumber>();
o.add(buildPhoneNumber());
o.add(buildPhoneNumber());
return o;
}
-checkUnnamed1266(core.List<api.PhoneNumber> o) {
+checkUnnamed1319(core.List<api.PhoneNumber> o) {
unittest.expect(o, unittest.hasLength(2));
checkPhoneNumber(o[0]);
checkPhoneNumber(o[1]);
}
-buildUnnamed1267() {
+buildUnnamed1320() {
var o = new core.List<api.Photo>();
o.add(buildPhoto());
o.add(buildPhoto());
return o;
}
-checkUnnamed1267(core.List<api.Photo> o) {
+checkUnnamed1320(core.List<api.Photo> o) {
unittest.expect(o, unittest.hasLength(2));
checkPhoto(o[0]);
checkPhoto(o[1]);
}
-buildUnnamed1268() {
+buildUnnamed1321() {
var o = new core.List<api.Relation>();
o.add(buildRelation());
o.add(buildRelation());
return o;
}
-checkUnnamed1268(core.List<api.Relation> o) {
+checkUnnamed1321(core.List<api.Relation> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelation(o[0]);
checkRelation(o[1]);
}
-buildUnnamed1269() {
+buildUnnamed1322() {
var o = new core.List<api.RelationshipInterest>();
o.add(buildRelationshipInterest());
o.add(buildRelationshipInterest());
return o;
}
-checkUnnamed1269(core.List<api.RelationshipInterest> o) {
+checkUnnamed1322(core.List<api.RelationshipInterest> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelationshipInterest(o[0]);
checkRelationshipInterest(o[1]);
}
-buildUnnamed1270() {
+buildUnnamed1323() {
var o = new core.List<api.RelationshipStatus>();
o.add(buildRelationshipStatus());
o.add(buildRelationshipStatus());
return o;
}
-checkUnnamed1270(core.List<api.RelationshipStatus> o) {
+checkUnnamed1323(core.List<api.RelationshipStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelationshipStatus(o[0]);
checkRelationshipStatus(o[1]);
}
-buildUnnamed1271() {
+buildUnnamed1324() {
var o = new core.List<api.Residence>();
o.add(buildResidence());
o.add(buildResidence());
return o;
}
-checkUnnamed1271(core.List<api.Residence> o) {
+checkUnnamed1324(core.List<api.Residence> o) {
unittest.expect(o, unittest.hasLength(2));
checkResidence(o[0]);
checkResidence(o[1]);
}
-buildUnnamed1272() {
+buildUnnamed1325() {
var o = new core.List<api.Skill>();
o.add(buildSkill());
o.add(buildSkill());
return o;
}
-checkUnnamed1272(core.List<api.Skill> o) {
+checkUnnamed1325(core.List<api.Skill> o) {
unittest.expect(o, unittest.hasLength(2));
checkSkill(o[0]);
checkSkill(o[1]);
}
-buildUnnamed1273() {
+buildUnnamed1326() {
var o = new core.List<api.Tagline>();
o.add(buildTagline());
o.add(buildTagline());
return o;
}
-checkUnnamed1273(core.List<api.Tagline> o) {
+checkUnnamed1326(core.List<api.Tagline> o) {
unittest.expect(o, unittest.hasLength(2));
checkTagline(o[0]);
checkTagline(o[1]);
}
-buildUnnamed1274() {
+buildUnnamed1327() {
var o = new core.List<api.Url>();
o.add(buildUrl());
o.add(buildUrl());
return o;
}
-checkUnnamed1274(core.List<api.Url> o) {
+checkUnnamed1327(core.List<api.Url> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrl(o[0]);
checkUrl(o[1]);
@@ -1001,36 +1003,36 @@
var o = new api.Person();
buildCounterPerson++;
if (buildCounterPerson < 3) {
- o.addresses = buildUnnamed1249();
+ o.addresses = buildUnnamed1302();
o.ageRange = "foo";
- o.ageRanges = buildUnnamed1250();
- o.biographies = buildUnnamed1251();
- o.birthdays = buildUnnamed1252();
- o.braggingRights = buildUnnamed1253();
- o.coverPhotos = buildUnnamed1254();
- o.emailAddresses = buildUnnamed1255();
+ o.ageRanges = buildUnnamed1303();
+ o.biographies = buildUnnamed1304();
+ o.birthdays = buildUnnamed1305();
+ o.braggingRights = buildUnnamed1306();
+ o.coverPhotos = buildUnnamed1307();
+ o.emailAddresses = buildUnnamed1308();
o.etag = "foo";
- o.events = buildUnnamed1256();
- o.genders = buildUnnamed1257();
- o.imClients = buildUnnamed1258();
- o.interests = buildUnnamed1259();
- o.locales = buildUnnamed1260();
- o.memberships = buildUnnamed1261();
+ o.events = buildUnnamed1309();
+ o.genders = buildUnnamed1310();
+ o.imClients = buildUnnamed1311();
+ o.interests = buildUnnamed1312();
+ o.locales = buildUnnamed1313();
+ o.memberships = buildUnnamed1314();
o.metadata = buildPersonMetadata();
- o.names = buildUnnamed1262();
- o.nicknames = buildUnnamed1263();
- o.occupations = buildUnnamed1264();
- o.organizations = buildUnnamed1265();
- o.phoneNumbers = buildUnnamed1266();
- o.photos = buildUnnamed1267();
- o.relations = buildUnnamed1268();
- o.relationshipInterests = buildUnnamed1269();
- o.relationshipStatuses = buildUnnamed1270();
- o.residences = buildUnnamed1271();
+ o.names = buildUnnamed1315();
+ o.nicknames = buildUnnamed1316();
+ o.occupations = buildUnnamed1317();
+ o.organizations = buildUnnamed1318();
+ o.phoneNumbers = buildUnnamed1319();
+ o.photos = buildUnnamed1320();
+ o.relations = buildUnnamed1321();
+ o.relationshipInterests = buildUnnamed1322();
+ o.relationshipStatuses = buildUnnamed1323();
+ o.residences = buildUnnamed1324();
o.resourceName = "foo";
- o.skills = buildUnnamed1272();
- o.taglines = buildUnnamed1273();
- o.urls = buildUnnamed1274();
+ o.skills = buildUnnamed1325();
+ o.taglines = buildUnnamed1326();
+ o.urls = buildUnnamed1327();
}
buildCounterPerson--;
return o;
@@ -1039,74 +1041,74 @@
checkPerson(api.Person o) {
buildCounterPerson++;
if (buildCounterPerson < 3) {
- checkUnnamed1249(o.addresses);
+ checkUnnamed1302(o.addresses);
unittest.expect(o.ageRange, unittest.equals('foo'));
- checkUnnamed1250(o.ageRanges);
- checkUnnamed1251(o.biographies);
- checkUnnamed1252(o.birthdays);
- checkUnnamed1253(o.braggingRights);
- checkUnnamed1254(o.coverPhotos);
- checkUnnamed1255(o.emailAddresses);
+ checkUnnamed1303(o.ageRanges);
+ checkUnnamed1304(o.biographies);
+ checkUnnamed1305(o.birthdays);
+ checkUnnamed1306(o.braggingRights);
+ checkUnnamed1307(o.coverPhotos);
+ checkUnnamed1308(o.emailAddresses);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1256(o.events);
- checkUnnamed1257(o.genders);
- checkUnnamed1258(o.imClients);
- checkUnnamed1259(o.interests);
- checkUnnamed1260(o.locales);
- checkUnnamed1261(o.memberships);
+ checkUnnamed1309(o.events);
+ checkUnnamed1310(o.genders);
+ checkUnnamed1311(o.imClients);
+ checkUnnamed1312(o.interests);
+ checkUnnamed1313(o.locales);
+ checkUnnamed1314(o.memberships);
checkPersonMetadata(o.metadata);
- checkUnnamed1262(o.names);
- checkUnnamed1263(o.nicknames);
- checkUnnamed1264(o.occupations);
- checkUnnamed1265(o.organizations);
- checkUnnamed1266(o.phoneNumbers);
- checkUnnamed1267(o.photos);
- checkUnnamed1268(o.relations);
- checkUnnamed1269(o.relationshipInterests);
- checkUnnamed1270(o.relationshipStatuses);
- checkUnnamed1271(o.residences);
+ checkUnnamed1315(o.names);
+ checkUnnamed1316(o.nicknames);
+ checkUnnamed1317(o.occupations);
+ checkUnnamed1318(o.organizations);
+ checkUnnamed1319(o.phoneNumbers);
+ checkUnnamed1320(o.photos);
+ checkUnnamed1321(o.relations);
+ checkUnnamed1322(o.relationshipInterests);
+ checkUnnamed1323(o.relationshipStatuses);
+ checkUnnamed1324(o.residences);
unittest.expect(o.resourceName, unittest.equals('foo'));
- checkUnnamed1272(o.skills);
- checkUnnamed1273(o.taglines);
- checkUnnamed1274(o.urls);
+ checkUnnamed1325(o.skills);
+ checkUnnamed1326(o.taglines);
+ checkUnnamed1327(o.urls);
}
buildCounterPerson--;
}
-buildUnnamed1275() {
+buildUnnamed1328() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1275(core.List<core.String> o) {
+checkUnnamed1328(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1276() {
+buildUnnamed1329() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1276(core.List<core.String> o) {
+checkUnnamed1329(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1277() {
+buildUnnamed1330() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed1277(core.List<api.Source> o) {
+checkUnnamed1330(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -1118,10 +1120,10 @@
buildCounterPersonMetadata++;
if (buildCounterPersonMetadata < 3) {
o.deleted = true;
- o.linkedPeopleResourceNames = buildUnnamed1275();
+ o.linkedPeopleResourceNames = buildUnnamed1328();
o.objectType = "foo";
- o.previousResourceNames = buildUnnamed1276();
- o.sources = buildUnnamed1277();
+ o.previousResourceNames = buildUnnamed1329();
+ o.sources = buildUnnamed1330();
}
buildCounterPersonMetadata--;
return o;
@@ -1131,10 +1133,10 @@
buildCounterPersonMetadata++;
if (buildCounterPersonMetadata < 3) {
unittest.expect(o.deleted, unittest.isTrue);
- checkUnnamed1275(o.linkedPeopleResourceNames);
+ checkUnnamed1328(o.linkedPeopleResourceNames);
unittest.expect(o.objectType, unittest.equals('foo'));
- checkUnnamed1276(o.previousResourceNames);
- checkUnnamed1277(o.sources);
+ checkUnnamed1329(o.previousResourceNames);
+ checkUnnamed1330(o.sources);
}
buildCounterPersonMetadata--;
}
@@ -1415,14 +1417,14 @@
buildCounterUrl--;
}
-buildUnnamed1278() {
+buildUnnamed1331() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1278(core.List<core.String> o) {
+checkUnnamed1331(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1816,7 +1818,7 @@
var mock = new HttpServerMock();
api.PeopleResourceApi res = new api.PeopleApi(mock).people;
var arg_requestMask_includeField = "foo";
- var arg_resourceNames = buildUnnamed1278();
+ var arg_resourceNames = buildUnnamed1331();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1867,12 +1869,12 @@
var mock = new HttpServerMock();
api.PeopleConnectionsResourceApi res = new api.PeopleApi(mock).people.connections;
var arg_resourceName = "foo";
- var arg_requestSyncToken = true;
var arg_pageToken = "foo";
var arg_requestMask_includeField = "foo";
var arg_pageSize = 42;
var arg_syncToken = "foo";
var arg_sortOrder = "foo";
+ var arg_requestSyncToken = true;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1900,12 +1902,12 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestSyncToken"].first, unittest.equals("$arg_requestSyncToken"));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["requestMask.includeField"].first, unittest.equals(arg_requestMask_includeField));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["syncToken"].first, unittest.equals(arg_syncToken));
unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["requestSyncToken"].first, unittest.equals("$arg_requestSyncToken"));
var h = {
@@ -1914,7 +1916,7 @@
var resp = convert.JSON.encode(buildListConnectionsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_resourceName, requestSyncToken: arg_requestSyncToken, pageToken: arg_pageToken, requestMask_includeField: arg_requestMask_includeField, pageSize: arg_pageSize, syncToken: arg_syncToken, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.ListConnectionsResponse response) {
+ res.list(arg_resourceName, pageToken: arg_pageToken, requestMask_includeField: arg_requestMask_includeField, pageSize: arg_pageSize, syncToken: arg_syncToken, sortOrder: arg_sortOrder, requestSyncToken: arg_requestSyncToken).then(unittest.expectAsync(((api.ListConnectionsResponse response) {
checkListConnectionsResponse(response);
})));
});
diff --git a/generated/googleapis/test/playmoviespartner/v1_test.dart b/generated/googleapis/test/playmoviespartner/v1_test.dart
index 9c1bf96..d007be3 100644
--- a/generated/googleapis/test/playmoviespartner/v1_test.dart
+++ b/generated/googleapis/test/playmoviespartner/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2935() {
+buildUnnamed3041() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2935(core.List<core.String> o) {
+checkUnnamed3041(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,7 +82,7 @@
o.episodeTitleInternalAlias = "foo";
o.formatProfile = "foo";
o.licenseType = "foo";
- o.pphNames = buildUnnamed2935();
+ o.pphNames = buildUnnamed3041();
o.priceType = "foo";
o.priceValue = "foo";
o.productId = "foo";
@@ -123,7 +123,7 @@
unittest.expect(o.episodeTitleInternalAlias, unittest.equals('foo'));
unittest.expect(o.formatProfile, unittest.equals('foo'));
unittest.expect(o.licenseType, unittest.equals('foo'));
- checkUnnamed2935(o.pphNames);
+ checkUnnamed3041(o.pphNames);
unittest.expect(o.priceType, unittest.equals('foo'));
unittest.expect(o.priceValue, unittest.equals('foo'));
unittest.expect(o.productId, unittest.equals('foo'));
@@ -147,14 +147,14 @@
buildCounterAvail--;
}
-buildUnnamed2936() {
+buildUnnamed3042() {
var o = new core.List<api.Avail>();
o.add(buildAvail());
o.add(buildAvail());
return o;
}
-checkUnnamed2936(core.List<api.Avail> o) {
+checkUnnamed3042(core.List<api.Avail> o) {
unittest.expect(o, unittest.hasLength(2));
checkAvail(o[0]);
checkAvail(o[1]);
@@ -165,7 +165,7 @@
var o = new api.ListAvailsResponse();
buildCounterListAvailsResponse++;
if (buildCounterListAvailsResponse < 3) {
- o.avails = buildUnnamed2936();
+ o.avails = buildUnnamed3042();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -176,21 +176,21 @@
checkListAvailsResponse(api.ListAvailsResponse o) {
buildCounterListAvailsResponse++;
if (buildCounterListAvailsResponse < 3) {
- checkUnnamed2936(o.avails);
+ checkUnnamed3042(o.avails);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListAvailsResponse--;
}
-buildUnnamed2937() {
+buildUnnamed3043() {
var o = new core.List<api.Order>();
o.add(buildOrder());
o.add(buildOrder());
return o;
}
-checkUnnamed2937(core.List<api.Order> o) {
+checkUnnamed3043(core.List<api.Order> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrder(o[0]);
checkOrder(o[1]);
@@ -202,7 +202,7 @@
buildCounterListOrdersResponse++;
if (buildCounterListOrdersResponse < 3) {
o.nextPageToken = "foo";
- o.orders = buildUnnamed2937();
+ o.orders = buildUnnamed3043();
o.totalSize = 42;
}
buildCounterListOrdersResponse--;
@@ -213,20 +213,20 @@
buildCounterListOrdersResponse++;
if (buildCounterListOrdersResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2937(o.orders);
+ checkUnnamed3043(o.orders);
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListOrdersResponse--;
}
-buildUnnamed2938() {
+buildUnnamed3044() {
var o = new core.List<api.StoreInfo>();
o.add(buildStoreInfo());
o.add(buildStoreInfo());
return o;
}
-checkUnnamed2938(core.List<api.StoreInfo> o) {
+checkUnnamed3044(core.List<api.StoreInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkStoreInfo(o[0]);
checkStoreInfo(o[1]);
@@ -238,7 +238,7 @@
buildCounterListStoreInfosResponse++;
if (buildCounterListStoreInfosResponse < 3) {
o.nextPageToken = "foo";
- o.storeInfos = buildUnnamed2938();
+ o.storeInfos = buildUnnamed3044();
o.totalSize = 42;
}
buildCounterListStoreInfosResponse--;
@@ -249,20 +249,20 @@
buildCounterListStoreInfosResponse++;
if (buildCounterListStoreInfosResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2938(o.storeInfos);
+ checkUnnamed3044(o.storeInfos);
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListStoreInfosResponse--;
}
-buildUnnamed2939() {
+buildUnnamed3045() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2939(core.List<core.String> o) {
+checkUnnamed3045(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -276,7 +276,7 @@
o.approvedTime = "foo";
o.channelId = "foo";
o.channelName = "foo";
- o.countries = buildUnnamed2939();
+ o.countries = buildUnnamed3045();
o.customId = "foo";
o.earliestAvailStartTime = "foo";
o.episodeName = "foo";
@@ -307,7 +307,7 @@
unittest.expect(o.approvedTime, unittest.equals('foo'));
unittest.expect(o.channelId, unittest.equals('foo'));
unittest.expect(o.channelName, unittest.equals('foo'));
- checkUnnamed2939(o.countries);
+ checkUnnamed3045(o.countries);
unittest.expect(o.customId, unittest.equals('foo'));
unittest.expect(o.earliestAvailStartTime, unittest.equals('foo'));
unittest.expect(o.episodeName, unittest.equals('foo'));
@@ -331,40 +331,40 @@
buildCounterOrder--;
}
-buildUnnamed2940() {
+buildUnnamed3046() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2940(core.List<core.String> o) {
+checkUnnamed3046(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2941() {
+buildUnnamed3047() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2941(core.List<core.String> o) {
+checkUnnamed3047(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2942() {
+buildUnnamed3048() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2942(core.List<core.String> o) {
+checkUnnamed3048(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -375,7 +375,7 @@
var o = new api.StoreInfo();
buildCounterStoreInfo++;
if (buildCounterStoreInfo < 3) {
- o.audioTracks = buildUnnamed2940();
+ o.audioTracks = buildUnnamed3046();
o.country = "foo";
o.editLevelEidr = "foo";
o.episodeNumber = "foo";
@@ -388,14 +388,14 @@
o.liveTime = "foo";
o.mid = "foo";
o.name = "foo";
- o.pphNames = buildUnnamed2941();
+ o.pphNames = buildUnnamed3047();
o.seasonId = "foo";
o.seasonName = "foo";
o.seasonNumber = "foo";
o.showId = "foo";
o.showName = "foo";
o.studioName = "foo";
- o.subtitles = buildUnnamed2942();
+ o.subtitles = buildUnnamed3048();
o.titleLevelEidr = "foo";
o.trailerId = "foo";
o.type = "foo";
@@ -408,7 +408,7 @@
checkStoreInfo(api.StoreInfo o) {
buildCounterStoreInfo++;
if (buildCounterStoreInfo < 3) {
- checkUnnamed2940(o.audioTracks);
+ checkUnnamed3046(o.audioTracks);
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.editLevelEidr, unittest.equals('foo'));
unittest.expect(o.episodeNumber, unittest.equals('foo'));
@@ -421,14 +421,14 @@
unittest.expect(o.liveTime, unittest.equals('foo'));
unittest.expect(o.mid, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2941(o.pphNames);
+ checkUnnamed3047(o.pphNames);
unittest.expect(o.seasonId, unittest.equals('foo'));
unittest.expect(o.seasonName, unittest.equals('foo'));
unittest.expect(o.seasonNumber, unittest.equals('foo'));
unittest.expect(o.showId, unittest.equals('foo'));
unittest.expect(o.showName, unittest.equals('foo'));
unittest.expect(o.studioName, unittest.equals('foo'));
- checkUnnamed2942(o.subtitles);
+ checkUnnamed3048(o.subtitles);
unittest.expect(o.titleLevelEidr, unittest.equals('foo'));
unittest.expect(o.trailerId, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -437,196 +437,196 @@
buildCounterStoreInfo--;
}
-buildUnnamed2943() {
+buildUnnamed3049() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2943(core.List<core.String> o) {
+checkUnnamed3049(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2944() {
+buildUnnamed3050() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2944(core.List<core.String> o) {
+checkUnnamed3050(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2945() {
+buildUnnamed3051() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2945(core.List<core.String> o) {
+checkUnnamed3051(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2946() {
+buildUnnamed3052() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2946(core.List<core.String> o) {
+checkUnnamed3052(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2947() {
+buildUnnamed3053() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2947(core.List<core.String> o) {
+checkUnnamed3053(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2948() {
+buildUnnamed3054() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2948(core.List<core.String> o) {
+checkUnnamed3054(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2949() {
+buildUnnamed3055() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2949(core.List<core.String> o) {
+checkUnnamed3055(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2950() {
+buildUnnamed3056() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2950(core.List<core.String> o) {
+checkUnnamed3056(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2951() {
+buildUnnamed3057() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2951(core.List<core.String> o) {
+checkUnnamed3057(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2952() {
+buildUnnamed3058() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2952(core.List<core.String> o) {
+checkUnnamed3058(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2953() {
+buildUnnamed3059() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2953(core.List<core.String> o) {
+checkUnnamed3059(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2954() {
+buildUnnamed3060() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2954(core.List<core.String> o) {
+checkUnnamed3060(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2955() {
+buildUnnamed3061() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2955(core.List<core.String> o) {
+checkUnnamed3061(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2956() {
+buildUnnamed3062() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2956(core.List<core.String> o) {
+checkUnnamed3062(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2957() {
+buildUnnamed3063() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2957(core.List<core.String> o) {
+checkUnnamed3063(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -749,15 +749,15 @@
var mock = new HttpServerMock();
api.AccountsAvailsResourceApi res = new api.PlaymoviespartnerApi(mock).accounts.avails;
var arg_accountId = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
- var arg_pphNames = buildUnnamed2943();
- var arg_studioNames = buildUnnamed2944();
- var arg_title = "foo";
- var arg_territories = buildUnnamed2945();
+ var arg_videoIds = buildUnnamed3049();
+ var arg_pageSize = 42;
+ var arg_altIds = buildUnnamed3050();
+ var arg_pphNames = buildUnnamed3051();
var arg_altId = "foo";
- var arg_videoIds = buildUnnamed2946();
- var arg_altIds = buildUnnamed2947();
+ var arg_studioNames = buildUnnamed3052();
+ var arg_territories = buildUnnamed3053();
+ var arg_title = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -791,15 +791,15 @@
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["pphNames"], unittest.equals(arg_pphNames));
- unittest.expect(queryMap["studioNames"], unittest.equals(arg_studioNames));
- unittest.expect(queryMap["title"].first, unittest.equals(arg_title));
- unittest.expect(queryMap["territories"], unittest.equals(arg_territories));
- unittest.expect(queryMap["altId"].first, unittest.equals(arg_altId));
unittest.expect(queryMap["videoIds"], unittest.equals(arg_videoIds));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["altIds"], unittest.equals(arg_altIds));
+ unittest.expect(queryMap["pphNames"], unittest.equals(arg_pphNames));
+ unittest.expect(queryMap["altId"].first, unittest.equals(arg_altId));
+ unittest.expect(queryMap["studioNames"], unittest.equals(arg_studioNames));
+ unittest.expect(queryMap["territories"], unittest.equals(arg_territories));
+ unittest.expect(queryMap["title"].first, unittest.equals(arg_title));
var h = {
@@ -808,7 +808,7 @@
var resp = convert.JSON.encode(buildListAvailsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_accountId, pageSize: arg_pageSize, pageToken: arg_pageToken, pphNames: arg_pphNames, studioNames: arg_studioNames, title: arg_title, territories: arg_territories, altId: arg_altId, videoIds: arg_videoIds, altIds: arg_altIds).then(unittest.expectAsync(((api.ListAvailsResponse response) {
+ res.list(arg_accountId, pageToken: arg_pageToken, videoIds: arg_videoIds, pageSize: arg_pageSize, altIds: arg_altIds, pphNames: arg_pphNames, altId: arg_altId, studioNames: arg_studioNames, territories: arg_territories, title: arg_title).then(unittest.expectAsync(((api.ListAvailsResponse response) {
checkListAvailsResponse(response);
})));
});
@@ -877,14 +877,14 @@
var mock = new HttpServerMock();
api.AccountsOrdersResourceApi res = new api.PlaymoviespartnerApi(mock).accounts.orders;
var arg_accountId = "foo";
- var arg_pageSize = 42;
- var arg_pageToken = "foo";
- var arg_pphNames = buildUnnamed2948();
- var arg_studioNames = buildUnnamed2949();
- var arg_name = "foo";
- var arg_status = buildUnnamed2950();
+ var arg_videoIds = buildUnnamed3054();
var arg_customId = "foo";
- var arg_videoIds = buildUnnamed2951();
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_pphNames = buildUnnamed3055();
+ var arg_status = buildUnnamed3056();
+ var arg_studioNames = buildUnnamed3057();
+ var arg_name = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -918,14 +918,14 @@
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["videoIds"], unittest.equals(arg_videoIds));
+ unittest.expect(queryMap["customId"].first, unittest.equals(arg_customId));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["pphNames"], unittest.equals(arg_pphNames));
+ unittest.expect(queryMap["status"], unittest.equals(arg_status));
unittest.expect(queryMap["studioNames"], unittest.equals(arg_studioNames));
unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
- unittest.expect(queryMap["status"], unittest.equals(arg_status));
- unittest.expect(queryMap["customId"].first, unittest.equals(arg_customId));
- unittest.expect(queryMap["videoIds"], unittest.equals(arg_videoIds));
var h = {
@@ -934,7 +934,7 @@
var resp = convert.JSON.encode(buildListOrdersResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_accountId, pageSize: arg_pageSize, pageToken: arg_pageToken, pphNames: arg_pphNames, studioNames: arg_studioNames, name: arg_name, status: arg_status, customId: arg_customId, videoIds: arg_videoIds).then(unittest.expectAsync(((api.ListOrdersResponse response) {
+ res.list(arg_accountId, videoIds: arg_videoIds, customId: arg_customId, pageToken: arg_pageToken, pageSize: arg_pageSize, pphNames: arg_pphNames, status: arg_status, studioNames: arg_studioNames, name: arg_name).then(unittest.expectAsync(((api.ListOrdersResponse response) {
checkListOrdersResponse(response);
})));
});
@@ -948,16 +948,16 @@
var mock = new HttpServerMock();
api.AccountsStoreInfosResourceApi res = new api.PlaymoviespartnerApi(mock).accounts.storeInfos;
var arg_accountId = "foo";
- var arg_pageSize = 42;
- var arg_pageToken = "foo";
- var arg_pphNames = buildUnnamed2952();
- var arg_studioNames = buildUnnamed2953();
- var arg_videoId = "foo";
- var arg_countries = buildUnnamed2954();
+ var arg_studioNames = buildUnnamed3058();
var arg_name = "foo";
- var arg_videoIds = buildUnnamed2955();
- var arg_mids = buildUnnamed2956();
- var arg_seasonIds = buildUnnamed2957();
+ var arg_seasonIds = buildUnnamed3059();
+ var arg_videoIds = buildUnnamed3060();
+ var arg_videoId = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_mids = buildUnnamed3061();
+ var arg_pphNames = buildUnnamed3062();
+ var arg_countries = buildUnnamed3063();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -991,16 +991,16 @@
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["pphNames"], unittest.equals(arg_pphNames));
unittest.expect(queryMap["studioNames"], unittest.equals(arg_studioNames));
- unittest.expect(queryMap["videoId"].first, unittest.equals(arg_videoId));
- unittest.expect(queryMap["countries"], unittest.equals(arg_countries));
unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
- unittest.expect(queryMap["videoIds"], unittest.equals(arg_videoIds));
- unittest.expect(queryMap["mids"], unittest.equals(arg_mids));
unittest.expect(queryMap["seasonIds"], unittest.equals(arg_seasonIds));
+ unittest.expect(queryMap["videoIds"], unittest.equals(arg_videoIds));
+ unittest.expect(queryMap["videoId"].first, unittest.equals(arg_videoId));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["mids"], unittest.equals(arg_mids));
+ unittest.expect(queryMap["pphNames"], unittest.equals(arg_pphNames));
+ unittest.expect(queryMap["countries"], unittest.equals(arg_countries));
var h = {
@@ -1009,7 +1009,7 @@
var resp = convert.JSON.encode(buildListStoreInfosResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_accountId, pageSize: arg_pageSize, pageToken: arg_pageToken, pphNames: arg_pphNames, studioNames: arg_studioNames, videoId: arg_videoId, countries: arg_countries, name: arg_name, videoIds: arg_videoIds, mids: arg_mids, seasonIds: arg_seasonIds).then(unittest.expectAsync(((api.ListStoreInfosResponse response) {
+ res.list(arg_accountId, studioNames: arg_studioNames, name: arg_name, seasonIds: arg_seasonIds, videoIds: arg_videoIds, videoId: arg_videoId, pageToken: arg_pageToken, pageSize: arg_pageSize, mids: arg_mids, pphNames: arg_pphNames, countries: arg_countries).then(unittest.expectAsync(((api.ListStoreInfosResponse response) {
checkListStoreInfosResponse(response);
})));
});
diff --git a/generated/googleapis/test/plus/v1_test.dart b/generated/googleapis/test/plus/v1_test.dart
index 171a99b..5f1d7e8 100644
--- a/generated/googleapis/test/plus/v1_test.dart
+++ b/generated/googleapis/test/plus/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed79() {
+buildUnnamed100() {
var o = new core.List<api.PlusAclentryResource>();
o.add(buildPlusAclentryResource());
o.add(buildPlusAclentryResource());
return o;
}
-checkUnnamed79(core.List<api.PlusAclentryResource> o) {
+checkUnnamed100(core.List<api.PlusAclentryResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlusAclentryResource(o[0]);
checkPlusAclentryResource(o[1]);
@@ -70,7 +70,7 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
o.description = "foo";
- o.items = buildUnnamed79();
+ o.items = buildUnnamed100();
o.kind = "foo";
}
buildCounterAcl--;
@@ -81,7 +81,7 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed79(o.items);
+ checkUnnamed100(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAcl--;
@@ -439,14 +439,14 @@
buildCounterActivityObjectAttachmentsThumbnails--;
}
-buildUnnamed80() {
+buildUnnamed101() {
var o = new core.List<api.ActivityObjectAttachmentsThumbnails>();
o.add(buildActivityObjectAttachmentsThumbnails());
o.add(buildActivityObjectAttachmentsThumbnails());
return o;
}
-checkUnnamed80(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
+checkUnnamed101(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachmentsThumbnails(o[0]);
checkActivityObjectAttachmentsThumbnails(o[1]);
@@ -464,7 +464,7 @@
o.id = "foo";
o.image = buildActivityObjectAttachmentsImage();
o.objectType = "foo";
- o.thumbnails = buildUnnamed80();
+ o.thumbnails = buildUnnamed101();
o.url = "foo";
}
buildCounterActivityObjectAttachments--;
@@ -481,20 +481,20 @@
unittest.expect(o.id, unittest.equals('foo'));
checkActivityObjectAttachmentsImage(o.image);
unittest.expect(o.objectType, unittest.equals('foo'));
- checkUnnamed80(o.thumbnails);
+ checkUnnamed101(o.thumbnails);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterActivityObjectAttachments--;
}
-buildUnnamed81() {
+buildUnnamed102() {
var o = new core.List<api.ActivityObjectAttachments>();
o.add(buildActivityObjectAttachments());
o.add(buildActivityObjectAttachments());
return o;
}
-checkUnnamed81(core.List<api.ActivityObjectAttachments> o) {
+checkUnnamed102(core.List<api.ActivityObjectAttachments> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachments(o[0]);
checkActivityObjectAttachments(o[1]);
@@ -569,7 +569,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
o.actor = buildActivityObjectActor();
- o.attachments = buildUnnamed81();
+ o.attachments = buildUnnamed102();
o.content = "foo";
o.id = "foo";
o.objectType = "foo";
@@ -587,7 +587,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
checkActivityObjectActor(o.actor);
- checkUnnamed81(o.attachments);
+ checkUnnamed102(o.attachments);
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
@@ -676,14 +676,14 @@
buildCounterActivity--;
}
-buildUnnamed82() {
+buildUnnamed103() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed82(core.List<api.Activity> o) {
+checkUnnamed103(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -696,7 +696,7 @@
if (buildCounterActivityFeed < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed82();
+ o.items = buildUnnamed103();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -713,7 +713,7 @@
if (buildCounterActivityFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed82(o.items);
+ checkUnnamed103(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -850,14 +850,14 @@
buildCounterCommentInReplyTo--;
}
-buildUnnamed83() {
+buildUnnamed104() {
var o = new core.List<api.CommentInReplyTo>();
o.add(buildCommentInReplyTo());
o.add(buildCommentInReplyTo());
return o;
}
-checkUnnamed83(core.List<api.CommentInReplyTo> o) {
+checkUnnamed104(core.List<api.CommentInReplyTo> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentInReplyTo(o[0]);
checkCommentInReplyTo(o[1]);
@@ -913,7 +913,7 @@
o.actor = buildCommentActor();
o.etag = "foo";
o.id = "foo";
- o.inReplyTo = buildUnnamed83();
+ o.inReplyTo = buildUnnamed104();
o.kind = "foo";
o.object = buildCommentObject();
o.plusoners = buildCommentPlusoners();
@@ -932,7 +932,7 @@
checkCommentActor(o.actor);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed83(o.inReplyTo);
+ checkUnnamed104(o.inReplyTo);
unittest.expect(o.kind, unittest.equals('foo'));
checkCommentObject(o.object);
checkCommentPlusoners(o.plusoners);
@@ -944,14 +944,14 @@
buildCounterComment--;
}
-buildUnnamed84() {
+buildUnnamed105() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed84(core.List<api.Comment> o) {
+checkUnnamed105(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -964,7 +964,7 @@
if (buildCounterCommentFeed < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed84();
+ o.items = buildUnnamed105();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -980,7 +980,7 @@
if (buildCounterCommentFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed84(o.items);
+ checkUnnamed105(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -990,14 +990,14 @@
buildCounterCommentFeed--;
}
-buildUnnamed85() {
+buildUnnamed106() {
var o = new core.List<api.Person>();
o.add(buildPerson());
o.add(buildPerson());
return o;
}
-checkUnnamed85(core.List<api.Person> o) {
+checkUnnamed106(core.List<api.Person> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerson(o[0]);
checkPerson(o[1]);
@@ -1009,7 +1009,7 @@
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
o.etag = "foo";
- o.items = buildUnnamed85();
+ o.items = buildUnnamed106();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1024,7 +1024,7 @@
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed85(o.items);
+ checkUnnamed106(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1143,14 +1143,14 @@
buildCounterPersonEmails--;
}
-buildUnnamed86() {
+buildUnnamed107() {
var o = new core.List<api.PersonEmails>();
o.add(buildPersonEmails());
o.add(buildPersonEmails());
return o;
}
-checkUnnamed86(core.List<api.PersonEmails> o) {
+checkUnnamed107(core.List<api.PersonEmails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonEmails(o[0]);
checkPersonEmails(o[1]);
@@ -1241,14 +1241,14 @@
buildCounterPersonOrganizations--;
}
-buildUnnamed87() {
+buildUnnamed108() {
var o = new core.List<api.PersonOrganizations>();
o.add(buildPersonOrganizations());
o.add(buildPersonOrganizations());
return o;
}
-checkUnnamed87(core.List<api.PersonOrganizations> o) {
+checkUnnamed108(core.List<api.PersonOrganizations> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonOrganizations(o[0]);
checkPersonOrganizations(o[1]);
@@ -1275,14 +1275,14 @@
buildCounterPersonPlacesLived--;
}
-buildUnnamed88() {
+buildUnnamed109() {
var o = new core.List<api.PersonPlacesLived>();
o.add(buildPersonPlacesLived());
o.add(buildPersonPlacesLived());
return o;
}
-checkUnnamed88(core.List<api.PersonPlacesLived> o) {
+checkUnnamed109(core.List<api.PersonPlacesLived> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonPlacesLived(o[0]);
checkPersonPlacesLived(o[1]);
@@ -1311,14 +1311,14 @@
buildCounterPersonUrls--;
}
-buildUnnamed89() {
+buildUnnamed110() {
var o = new core.List<api.PersonUrls>();
o.add(buildPersonUrls());
o.add(buildPersonUrls());
return o;
}
-checkUnnamed89(core.List<api.PersonUrls> o) {
+checkUnnamed110(core.List<api.PersonUrls> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonUrls(o[0]);
checkPersonUrls(o[1]);
@@ -1338,7 +1338,7 @@
o.currentLocation = "foo";
o.displayName = "foo";
o.domain = "foo";
- o.emails = buildUnnamed86();
+ o.emails = buildUnnamed107();
o.etag = "foo";
o.gender = "foo";
o.id = "foo";
@@ -1350,14 +1350,14 @@
o.nickname = "foo";
o.objectType = "foo";
o.occupation = "foo";
- o.organizations = buildUnnamed87();
- o.placesLived = buildUnnamed88();
+ o.organizations = buildUnnamed108();
+ o.placesLived = buildUnnamed109();
o.plusOneCount = 42;
o.relationshipStatus = "foo";
o.skills = "foo";
o.tagline = "foo";
o.url = "foo";
- o.urls = buildUnnamed89();
+ o.urls = buildUnnamed110();
o.verified = true;
}
buildCounterPerson--;
@@ -1376,7 +1376,7 @@
unittest.expect(o.currentLocation, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.domain, unittest.equals('foo'));
- checkUnnamed86(o.emails);
+ checkUnnamed107(o.emails);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -1388,14 +1388,14 @@
unittest.expect(o.nickname, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
unittest.expect(o.occupation, unittest.equals('foo'));
- checkUnnamed87(o.organizations);
- checkUnnamed88(o.placesLived);
+ checkUnnamed108(o.organizations);
+ checkUnnamed109(o.placesLived);
unittest.expect(o.plusOneCount, unittest.equals(42));
unittest.expect(o.relationshipStatus, unittest.equals('foo'));
unittest.expect(o.skills, unittest.equals('foo'));
unittest.expect(o.tagline, unittest.equals('foo'));
unittest.expect(o.url, unittest.equals('foo'));
- checkUnnamed89(o.urls);
+ checkUnnamed110(o.urls);
unittest.expect(o.verified, unittest.isTrue);
}
buildCounterPerson--;
diff --git a/generated/googleapis/test/plusdomains/v1_test.dart b/generated/googleapis/test/plusdomains/v1_test.dart
index b563091..9f846d9 100644
--- a/generated/googleapis/test/plusdomains/v1_test.dart
+++ b/generated/googleapis/test/plusdomains/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed951() {
+buildUnnamed977() {
var o = new core.List<api.PlusDomainsAclentryResource>();
o.add(buildPlusDomainsAclentryResource());
o.add(buildPlusDomainsAclentryResource());
return o;
}
-checkUnnamed951(core.List<api.PlusDomainsAclentryResource> o) {
+checkUnnamed977(core.List<api.PlusDomainsAclentryResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlusDomainsAclentryResource(o[0]);
checkPlusDomainsAclentryResource(o[1]);
@@ -71,7 +71,7 @@
if (buildCounterAcl < 3) {
o.description = "foo";
o.domainRestricted = true;
- o.items = buildUnnamed951();
+ o.items = buildUnnamed977();
o.kind = "foo";
}
buildCounterAcl--;
@@ -83,7 +83,7 @@
if (buildCounterAcl < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.domainRestricted, unittest.isTrue);
- checkUnnamed951(o.items);
+ checkUnnamed977(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAcl--;
@@ -412,14 +412,14 @@
buildCounterActivityObjectAttachmentsPreviewThumbnails--;
}
-buildUnnamed952() {
+buildUnnamed978() {
var o = new core.List<api.ActivityObjectAttachmentsPreviewThumbnails>();
o.add(buildActivityObjectAttachmentsPreviewThumbnails());
o.add(buildActivityObjectAttachmentsPreviewThumbnails());
return o;
}
-checkUnnamed952(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) {
+checkUnnamed978(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachmentsPreviewThumbnails(o[0]);
checkActivityObjectAttachmentsPreviewThumbnails(o[1]);
@@ -473,14 +473,14 @@
buildCounterActivityObjectAttachmentsThumbnails--;
}
-buildUnnamed953() {
+buildUnnamed979() {
var o = new core.List<api.ActivityObjectAttachmentsThumbnails>();
o.add(buildActivityObjectAttachmentsThumbnails());
o.add(buildActivityObjectAttachmentsThumbnails());
return o;
}
-checkUnnamed953(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
+checkUnnamed979(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachmentsThumbnails(o[0]);
checkActivityObjectAttachmentsThumbnails(o[1]);
@@ -498,8 +498,8 @@
o.id = "foo";
o.image = buildActivityObjectAttachmentsImage();
o.objectType = "foo";
- o.previewThumbnails = buildUnnamed952();
- o.thumbnails = buildUnnamed953();
+ o.previewThumbnails = buildUnnamed978();
+ o.thumbnails = buildUnnamed979();
o.url = "foo";
}
buildCounterActivityObjectAttachments--;
@@ -516,21 +516,21 @@
unittest.expect(o.id, unittest.equals('foo'));
checkActivityObjectAttachmentsImage(o.image);
unittest.expect(o.objectType, unittest.equals('foo'));
- checkUnnamed952(o.previewThumbnails);
- checkUnnamed953(o.thumbnails);
+ checkUnnamed978(o.previewThumbnails);
+ checkUnnamed979(o.thumbnails);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterActivityObjectAttachments--;
}
-buildUnnamed954() {
+buildUnnamed980() {
var o = new core.List<api.ActivityObjectAttachments>();
o.add(buildActivityObjectAttachments());
o.add(buildActivityObjectAttachments());
return o;
}
-checkUnnamed954(core.List<api.ActivityObjectAttachments> o) {
+checkUnnamed980(core.List<api.ActivityObjectAttachments> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachments(o[0]);
checkActivityObjectAttachments(o[1]);
@@ -632,7 +632,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
o.actor = buildActivityObjectActor();
- o.attachments = buildUnnamed954();
+ o.attachments = buildUnnamed980();
o.content = "foo";
o.id = "foo";
o.objectType = "foo";
@@ -651,7 +651,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
checkActivityObjectActor(o.actor);
- checkUnnamed954(o.attachments);
+ checkUnnamed980(o.attachments);
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
@@ -741,14 +741,14 @@
buildCounterActivity--;
}
-buildUnnamed955() {
+buildUnnamed981() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed955(core.List<api.Activity> o) {
+checkUnnamed981(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -761,7 +761,7 @@
if (buildCounterActivityFeed < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed955();
+ o.items = buildUnnamed981();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -778,7 +778,7 @@
if (buildCounterActivityFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed955(o.items);
+ checkUnnamed981(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -816,14 +816,14 @@
buildCounterAudience--;
}
-buildUnnamed956() {
+buildUnnamed982() {
var o = new core.List<api.Audience>();
o.add(buildAudience());
o.add(buildAudience());
return o;
}
-checkUnnamed956(core.List<api.Audience> o) {
+checkUnnamed982(core.List<api.Audience> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudience(o[0]);
checkAudience(o[1]);
@@ -835,7 +835,7 @@
buildCounterAudiencesFeed++;
if (buildCounterAudiencesFeed < 3) {
o.etag = "foo";
- o.items = buildUnnamed956();
+ o.items = buildUnnamed982();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -848,7 +848,7 @@
buildCounterAudiencesFeed++;
if (buildCounterAudiencesFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed956(o.items);
+ checkUnnamed982(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -906,14 +906,14 @@
buildCounterCircle--;
}
-buildUnnamed957() {
+buildUnnamed983() {
var o = new core.List<api.Circle>();
o.add(buildCircle());
o.add(buildCircle());
return o;
}
-checkUnnamed957(core.List<api.Circle> o) {
+checkUnnamed983(core.List<api.Circle> o) {
unittest.expect(o, unittest.hasLength(2));
checkCircle(o[0]);
checkCircle(o[1]);
@@ -925,7 +925,7 @@
buildCounterCircleFeed++;
if (buildCounterCircleFeed < 3) {
o.etag = "foo";
- o.items = buildUnnamed957();
+ o.items = buildUnnamed983();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -941,7 +941,7 @@
buildCounterCircleFeed++;
if (buildCounterCircleFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed957(o.items);
+ checkUnnamed983(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1078,14 +1078,14 @@
buildCounterCommentInReplyTo--;
}
-buildUnnamed958() {
+buildUnnamed984() {
var o = new core.List<api.CommentInReplyTo>();
o.add(buildCommentInReplyTo());
o.add(buildCommentInReplyTo());
return o;
}
-checkUnnamed958(core.List<api.CommentInReplyTo> o) {
+checkUnnamed984(core.List<api.CommentInReplyTo> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentInReplyTo(o[0]);
checkCommentInReplyTo(o[1]);
@@ -1141,7 +1141,7 @@
o.actor = buildCommentActor();
o.etag = "foo";
o.id = "foo";
- o.inReplyTo = buildUnnamed958();
+ o.inReplyTo = buildUnnamed984();
o.kind = "foo";
o.object = buildCommentObject();
o.plusoners = buildCommentPlusoners();
@@ -1160,7 +1160,7 @@
checkCommentActor(o.actor);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed958(o.inReplyTo);
+ checkUnnamed984(o.inReplyTo);
unittest.expect(o.kind, unittest.equals('foo'));
checkCommentObject(o.object);
checkCommentPlusoners(o.plusoners);
@@ -1172,14 +1172,14 @@
buildCounterComment--;
}
-buildUnnamed959() {
+buildUnnamed985() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed959(core.List<api.Comment> o) {
+checkUnnamed985(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1192,7 +1192,7 @@
if (buildCounterCommentFeed < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed959();
+ o.items = buildUnnamed985();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1208,7 +1208,7 @@
if (buildCounterCommentFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed959(o.items);
+ checkUnnamed985(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1281,14 +1281,14 @@
buildCounterMediaExif--;
}
-buildUnnamed960() {
+buildUnnamed986() {
var o = new core.List<api.Videostream>();
o.add(buildVideostream());
o.add(buildVideostream());
return o;
}
-checkUnnamed960(core.List<api.Videostream> o) {
+checkUnnamed986(core.List<api.Videostream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideostream(o[0]);
checkVideostream(o[1]);
@@ -1310,7 +1310,7 @@
o.mediaUrl = "foo";
o.published = core.DateTime.parse("2002-02-27T14:01:02");
o.sizeBytes = "foo";
- o.streams = buildUnnamed960();
+ o.streams = buildUnnamed986();
o.summary = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
o.url = "foo";
@@ -1336,7 +1336,7 @@
unittest.expect(o.mediaUrl, unittest.equals('foo'));
unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.sizeBytes, unittest.equals('foo'));
- checkUnnamed960(o.streams);
+ checkUnnamed986(o.streams);
unittest.expect(o.summary, unittest.equals('foo'));
unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.url, unittest.equals('foo'));
@@ -1347,14 +1347,14 @@
buildCounterMedia--;
}
-buildUnnamed961() {
+buildUnnamed987() {
var o = new core.List<api.Person>();
o.add(buildPerson());
o.add(buildPerson());
return o;
}
-checkUnnamed961(core.List<api.Person> o) {
+checkUnnamed987(core.List<api.Person> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerson(o[0]);
checkPerson(o[1]);
@@ -1366,7 +1366,7 @@
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
o.etag = "foo";
- o.items = buildUnnamed961();
+ o.items = buildUnnamed987();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1381,7 +1381,7 @@
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed961(o.items);
+ checkUnnamed987(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1479,14 +1479,14 @@
buildCounterPersonEmails--;
}
-buildUnnamed962() {
+buildUnnamed988() {
var o = new core.List<api.PersonEmails>();
o.add(buildPersonEmails());
o.add(buildPersonEmails());
return o;
}
-checkUnnamed962(core.List<api.PersonEmails> o) {
+checkUnnamed988(core.List<api.PersonEmails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonEmails(o[0]);
checkPersonEmails(o[1]);
@@ -1577,14 +1577,14 @@
buildCounterPersonOrganizations--;
}
-buildUnnamed963() {
+buildUnnamed989() {
var o = new core.List<api.PersonOrganizations>();
o.add(buildPersonOrganizations());
o.add(buildPersonOrganizations());
return o;
}
-checkUnnamed963(core.List<api.PersonOrganizations> o) {
+checkUnnamed989(core.List<api.PersonOrganizations> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonOrganizations(o[0]);
checkPersonOrganizations(o[1]);
@@ -1611,14 +1611,14 @@
buildCounterPersonPlacesLived--;
}
-buildUnnamed964() {
+buildUnnamed990() {
var o = new core.List<api.PersonPlacesLived>();
o.add(buildPersonPlacesLived());
o.add(buildPersonPlacesLived());
return o;
}
-checkUnnamed964(core.List<api.PersonPlacesLived> o) {
+checkUnnamed990(core.List<api.PersonPlacesLived> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonPlacesLived(o[0]);
checkPersonPlacesLived(o[1]);
@@ -1647,14 +1647,14 @@
buildCounterPersonUrls--;
}
-buildUnnamed965() {
+buildUnnamed991() {
var o = new core.List<api.PersonUrls>();
o.add(buildPersonUrls());
o.add(buildPersonUrls());
return o;
}
-checkUnnamed965(core.List<api.PersonUrls> o) {
+checkUnnamed991(core.List<api.PersonUrls> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonUrls(o[0]);
checkPersonUrls(o[1]);
@@ -1673,7 +1673,7 @@
o.currentLocation = "foo";
o.displayName = "foo";
o.domain = "foo";
- o.emails = buildUnnamed962();
+ o.emails = buildUnnamed988();
o.etag = "foo";
o.gender = "foo";
o.id = "foo";
@@ -1684,14 +1684,14 @@
o.nickname = "foo";
o.objectType = "foo";
o.occupation = "foo";
- o.organizations = buildUnnamed963();
- o.placesLived = buildUnnamed964();
+ o.organizations = buildUnnamed989();
+ o.placesLived = buildUnnamed990();
o.plusOneCount = 42;
o.relationshipStatus = "foo";
o.skills = "foo";
o.tagline = "foo";
o.url = "foo";
- o.urls = buildUnnamed965();
+ o.urls = buildUnnamed991();
o.verified = true;
}
buildCounterPerson--;
@@ -1709,7 +1709,7 @@
unittest.expect(o.currentLocation, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.domain, unittest.equals('foo'));
- checkUnnamed962(o.emails);
+ checkUnnamed988(o.emails);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -1720,14 +1720,14 @@
unittest.expect(o.nickname, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
unittest.expect(o.occupation, unittest.equals('foo'));
- checkUnnamed963(o.organizations);
- checkUnnamed964(o.placesLived);
+ checkUnnamed989(o.organizations);
+ checkUnnamed990(o.placesLived);
unittest.expect(o.plusOneCount, unittest.equals(42));
unittest.expect(o.relationshipStatus, unittest.equals('foo'));
unittest.expect(o.skills, unittest.equals('foo'));
unittest.expect(o.tagline, unittest.equals('foo'));
unittest.expect(o.url, unittest.equals('foo'));
- checkUnnamed965(o.urls);
+ checkUnnamed991(o.urls);
unittest.expect(o.verified, unittest.isTrue);
}
buildCounterPerson--;
@@ -1848,53 +1848,53 @@
buildCounterVideostream--;
}
-buildUnnamed966() {
+buildUnnamed992() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed966(core.List<core.String> o) {
+checkUnnamed992(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed967() {
+buildUnnamed993() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed967(core.List<core.String> o) {
+checkUnnamed993(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed968() {
+buildUnnamed994() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed968(core.List<core.String> o) {
+checkUnnamed994(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed969() {
+buildUnnamed995() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed969(core.List<core.String> o) {
+checkUnnamed995(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2700,8 +2700,8 @@
var mock = new HttpServerMock();
api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles;
var arg_circleId = "foo";
- var arg_email = buildUnnamed966();
- var arg_userId = buildUnnamed967();
+ var arg_email = buildUnnamed992();
+ var arg_userId = buildUnnamed993();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3020,8 +3020,8 @@
var mock = new HttpServerMock();
api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles;
var arg_circleId = "foo";
- var arg_email = buildUnnamed968();
- var arg_userId = buildUnnamed969();
+ var arg_email = buildUnnamed994();
+ var arg_userId = buildUnnamed995();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
diff --git a/generated/googleapis/test/prediction/v1_6_test.dart b/generated/googleapis/test/prediction/v1_6_test.dart
index 6df7290..2009f4c 100644
--- a/generated/googleapis/test/prediction/v1_6_test.dart
+++ b/generated/googleapis/test/prediction/v1_6_test.dart
@@ -72,14 +72,14 @@
buildCounterAnalyzeDataDescriptionFeaturesCategoricalValues--;
}
-buildUnnamed1586() {
+buildUnnamed1654() {
var o = new core.List<api.AnalyzeDataDescriptionFeaturesCategoricalValues>();
o.add(buildAnalyzeDataDescriptionFeaturesCategoricalValues());
o.add(buildAnalyzeDataDescriptionFeaturesCategoricalValues());
return o;
}
-checkUnnamed1586(core.List<api.AnalyzeDataDescriptionFeaturesCategoricalValues> o) {
+checkUnnamed1654(core.List<api.AnalyzeDataDescriptionFeaturesCategoricalValues> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnalyzeDataDescriptionFeaturesCategoricalValues(o[0]);
checkAnalyzeDataDescriptionFeaturesCategoricalValues(o[1]);
@@ -91,7 +91,7 @@
buildCounterAnalyzeDataDescriptionFeaturesCategorical++;
if (buildCounterAnalyzeDataDescriptionFeaturesCategorical < 3) {
o.count = "foo";
- o.values = buildUnnamed1586();
+ o.values = buildUnnamed1654();
}
buildCounterAnalyzeDataDescriptionFeaturesCategorical--;
return o;
@@ -101,7 +101,7 @@
buildCounterAnalyzeDataDescriptionFeaturesCategorical++;
if (buildCounterAnalyzeDataDescriptionFeaturesCategorical < 3) {
unittest.expect(o.count, unittest.equals('foo'));
- checkUnnamed1586(o.values);
+ checkUnnamed1654(o.values);
}
buildCounterAnalyzeDataDescriptionFeaturesCategorical--;
}
@@ -173,14 +173,14 @@
buildCounterAnalyzeDataDescriptionFeatures--;
}
-buildUnnamed1587() {
+buildUnnamed1655() {
var o = new core.List<api.AnalyzeDataDescriptionFeatures>();
o.add(buildAnalyzeDataDescriptionFeatures());
o.add(buildAnalyzeDataDescriptionFeatures());
return o;
}
-checkUnnamed1587(core.List<api.AnalyzeDataDescriptionFeatures> o) {
+checkUnnamed1655(core.List<api.AnalyzeDataDescriptionFeatures> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnalyzeDataDescriptionFeatures(o[0]);
checkAnalyzeDataDescriptionFeatures(o[1]);
@@ -230,14 +230,14 @@
buildCounterAnalyzeDataDescriptionOutputFeatureText--;
}
-buildUnnamed1588() {
+buildUnnamed1656() {
var o = new core.List<api.AnalyzeDataDescriptionOutputFeatureText>();
o.add(buildAnalyzeDataDescriptionOutputFeatureText());
o.add(buildAnalyzeDataDescriptionOutputFeatureText());
return o;
}
-checkUnnamed1588(core.List<api.AnalyzeDataDescriptionOutputFeatureText> o) {
+checkUnnamed1656(core.List<api.AnalyzeDataDescriptionOutputFeatureText> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnalyzeDataDescriptionOutputFeatureText(o[0]);
checkAnalyzeDataDescriptionOutputFeatureText(o[1]);
@@ -249,7 +249,7 @@
buildCounterAnalyzeDataDescriptionOutputFeature++;
if (buildCounterAnalyzeDataDescriptionOutputFeature < 3) {
o.numeric = buildAnalyzeDataDescriptionOutputFeatureNumeric();
- o.text = buildUnnamed1588();
+ o.text = buildUnnamed1656();
}
buildCounterAnalyzeDataDescriptionOutputFeature--;
return o;
@@ -259,7 +259,7 @@
buildCounterAnalyzeDataDescriptionOutputFeature++;
if (buildCounterAnalyzeDataDescriptionOutputFeature < 3) {
checkAnalyzeDataDescriptionOutputFeatureNumeric(o.numeric);
- checkUnnamed1588(o.text);
+ checkUnnamed1656(o.text);
}
buildCounterAnalyzeDataDescriptionOutputFeature--;
}
@@ -269,7 +269,7 @@
var o = new api.AnalyzeDataDescription();
buildCounterAnalyzeDataDescription++;
if (buildCounterAnalyzeDataDescription < 3) {
- o.features = buildUnnamed1587();
+ o.features = buildUnnamed1655();
o.outputFeature = buildAnalyzeDataDescriptionOutputFeature();
}
buildCounterAnalyzeDataDescription--;
@@ -279,72 +279,72 @@
checkAnalyzeDataDescription(api.AnalyzeDataDescription o) {
buildCounterAnalyzeDataDescription++;
if (buildCounterAnalyzeDataDescription < 3) {
- checkUnnamed1587(o.features);
+ checkUnnamed1655(o.features);
checkAnalyzeDataDescriptionOutputFeature(o.outputFeature);
}
buildCounterAnalyzeDataDescription--;
}
-buildUnnamed1589() {
+buildUnnamed1657() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1589(core.Map<core.String, core.String> o) {
+checkUnnamed1657(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1590() {
+buildUnnamed1658() {
var o = new core.List<core.Map<core.String, core.String>>();
- o.add(buildUnnamed1589());
- o.add(buildUnnamed1589());
+ o.add(buildUnnamed1657());
+ o.add(buildUnnamed1657());
return o;
}
-checkUnnamed1590(core.List<core.Map<core.String, core.String>> o) {
+checkUnnamed1658(core.List<core.Map<core.String, core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1589(o[0]);
- checkUnnamed1589(o[1]);
+ checkUnnamed1657(o[0]);
+ checkUnnamed1657(o[1]);
}
-buildUnnamed1591() {
+buildUnnamed1659() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1591(core.Map<core.String, core.String> o) {
+checkUnnamed1659(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1592() {
+buildUnnamed1660() {
var o = new core.Map<core.String, core.Map<core.String, core.String>>();
- o["x"] = buildUnnamed1591();
- o["y"] = buildUnnamed1591();
+ o["x"] = buildUnnamed1659();
+ o["y"] = buildUnnamed1659();
return o;
}
-checkUnnamed1592(core.Map<core.String, core.Map<core.String, core.String>> o) {
+checkUnnamed1660(core.Map<core.String, core.Map<core.String, core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1591(o["x"]);
- checkUnnamed1591(o["y"]);
+ checkUnnamed1659(o["x"]);
+ checkUnnamed1659(o["y"]);
}
-buildUnnamed1593() {
+buildUnnamed1661() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1593(core.Map<core.String, core.String> o) {
+checkUnnamed1661(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -355,8 +355,8 @@
var o = new api.AnalyzeModelDescription();
buildCounterAnalyzeModelDescription++;
if (buildCounterAnalyzeModelDescription < 3) {
- o.confusionMatrix = buildUnnamed1592();
- o.confusionMatrixRowTotals = buildUnnamed1593();
+ o.confusionMatrix = buildUnnamed1660();
+ o.confusionMatrixRowTotals = buildUnnamed1661();
o.modelinfo = buildInsert2();
}
buildCounterAnalyzeModelDescription--;
@@ -366,8 +366,8 @@
checkAnalyzeModelDescription(api.AnalyzeModelDescription o) {
buildCounterAnalyzeModelDescription++;
if (buildCounterAnalyzeModelDescription < 3) {
- checkUnnamed1592(o.confusionMatrix);
- checkUnnamed1593(o.confusionMatrixRowTotals);
+ checkUnnamed1660(o.confusionMatrix);
+ checkUnnamed1661(o.confusionMatrixRowTotals);
checkInsert2(o.modelinfo);
}
buildCounterAnalyzeModelDescription--;
@@ -379,7 +379,7 @@
buildCounterAnalyze++;
if (buildCounterAnalyze < 3) {
o.dataDescription = buildAnalyzeDataDescription();
- o.errors = buildUnnamed1590();
+ o.errors = buildUnnamed1658();
o.id = "foo";
o.kind = "foo";
o.modelDescription = buildAnalyzeModelDescription();
@@ -393,7 +393,7 @@
buildCounterAnalyze++;
if (buildCounterAnalyze < 3) {
checkAnalyzeDataDescription(o.dataDescription);
- checkUnnamed1590(o.errors);
+ checkUnnamed1658(o.errors);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkAnalyzeModelDescription(o.modelDescription);
@@ -402,14 +402,14 @@
buildCounterAnalyze--;
}
-buildUnnamed1594() {
+buildUnnamed1662() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1594(core.List<core.Object> o) {
+checkUnnamed1662(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) 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[1]) 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'));
@@ -420,7 +420,7 @@
var o = new api.InputInput();
buildCounterInputInput++;
if (buildCounterInputInput < 3) {
- o.csvInstance = buildUnnamed1594();
+ o.csvInstance = buildUnnamed1662();
}
buildCounterInputInput--;
return o;
@@ -429,7 +429,7 @@
checkInputInput(api.InputInput o) {
buildCounterInputInput++;
if (buildCounterInputInput < 3) {
- checkUnnamed1594(o.csvInstance);
+ checkUnnamed1662(o.csvInstance);
}
buildCounterInputInput--;
}
@@ -453,14 +453,14 @@
buildCounterInput--;
}
-buildUnnamed1595() {
+buildUnnamed1663() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1595(core.List<core.Object> o) {
+checkUnnamed1663(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) 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[1]) 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'));
@@ -471,7 +471,7 @@
var o = new api.InsertTrainingInstances();
buildCounterInsertTrainingInstances++;
if (buildCounterInsertTrainingInstances < 3) {
- o.csvInstance = buildUnnamed1595();
+ o.csvInstance = buildUnnamed1663();
o.output = "foo";
}
buildCounterInsertTrainingInstances--;
@@ -481,49 +481,49 @@
checkInsertTrainingInstances(api.InsertTrainingInstances o) {
buildCounterInsertTrainingInstances++;
if (buildCounterInsertTrainingInstances < 3) {
- checkUnnamed1595(o.csvInstance);
+ checkUnnamed1663(o.csvInstance);
unittest.expect(o.output, unittest.equals('foo'));
}
buildCounterInsertTrainingInstances--;
}
-buildUnnamed1596() {
+buildUnnamed1664() {
var o = new core.List<api.InsertTrainingInstances>();
o.add(buildInsertTrainingInstances());
o.add(buildInsertTrainingInstances());
return o;
}
-checkUnnamed1596(core.List<api.InsertTrainingInstances> o) {
+checkUnnamed1664(core.List<api.InsertTrainingInstances> o) {
unittest.expect(o, unittest.hasLength(2));
checkInsertTrainingInstances(o[0]);
checkInsertTrainingInstances(o[1]);
}
-buildUnnamed1597() {
+buildUnnamed1665() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed1597(core.Map<core.String, core.double> o) {
+checkUnnamed1665(core.Map<core.String, core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42.0));
unittest.expect(o["y"], unittest.equals(42.0));
}
-buildUnnamed1598() {
+buildUnnamed1666() {
var o = new core.List<core.Map<core.String, core.double>>();
- o.add(buildUnnamed1597());
- o.add(buildUnnamed1597());
+ o.add(buildUnnamed1665());
+ o.add(buildUnnamed1665());
return o;
}
-checkUnnamed1598(core.List<core.Map<core.String, core.double>> o) {
+checkUnnamed1666(core.List<core.Map<core.String, core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1597(o[0]);
- checkUnnamed1597(o[1]);
+ checkUnnamed1665(o[0]);
+ checkUnnamed1665(o[1]);
}
core.int buildCounterInsert = 0;
@@ -537,8 +537,8 @@
o.storageDataLocation = "foo";
o.storagePMMLLocation = "foo";
o.storagePMMLModelLocation = "foo";
- o.trainingInstances = buildUnnamed1596();
- o.utility = buildUnnamed1598();
+ o.trainingInstances = buildUnnamed1664();
+ o.utility = buildUnnamed1666();
}
buildCounterInsert--;
return o;
@@ -553,8 +553,8 @@
unittest.expect(o.storageDataLocation, unittest.equals('foo'));
unittest.expect(o.storagePMMLLocation, unittest.equals('foo'));
unittest.expect(o.storagePMMLModelLocation, unittest.equals('foo'));
- checkUnnamed1596(o.trainingInstances);
- checkUnnamed1598(o.utility);
+ checkUnnamed1664(o.trainingInstances);
+ checkUnnamed1666(o.utility);
}
buildCounterInsert--;
}
@@ -627,14 +627,14 @@
buildCounterInsert2--;
}
-buildUnnamed1599() {
+buildUnnamed1667() {
var o = new core.List<api.Insert2>();
o.add(buildInsert2());
o.add(buildInsert2());
return o;
}
-checkUnnamed1599(core.List<api.Insert2> o) {
+checkUnnamed1667(core.List<api.Insert2> o) {
unittest.expect(o, unittest.hasLength(2));
checkInsert2(o[0]);
checkInsert2(o[1]);
@@ -645,7 +645,7 @@
var o = new api.List();
buildCounterList++;
if (buildCounterList < 3) {
- o.items = buildUnnamed1599();
+ o.items = buildUnnamed1667();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -657,7 +657,7 @@
checkList(api.List o) {
buildCounterList++;
if (buildCounterList < 3) {
- checkUnnamed1599(o.items);
+ checkUnnamed1667(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -686,14 +686,14 @@
buildCounterOutputOutputMulti--;
}
-buildUnnamed1600() {
+buildUnnamed1668() {
var o = new core.List<api.OutputOutputMulti>();
o.add(buildOutputOutputMulti());
o.add(buildOutputOutputMulti());
return o;
}
-checkUnnamed1600(core.List<api.OutputOutputMulti> o) {
+checkUnnamed1668(core.List<api.OutputOutputMulti> o) {
unittest.expect(o, unittest.hasLength(2));
checkOutputOutputMulti(o[0]);
checkOutputOutputMulti(o[1]);
@@ -707,7 +707,7 @@
o.id = "foo";
o.kind = "foo";
o.outputLabel = "foo";
- o.outputMulti = buildUnnamed1600();
+ o.outputMulti = buildUnnamed1668();
o.outputValue = "foo";
o.selfLink = "foo";
}
@@ -721,21 +721,21 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.outputLabel, unittest.equals('foo'));
- checkUnnamed1600(o.outputMulti);
+ checkUnnamed1668(o.outputMulti);
unittest.expect(o.outputValue, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterOutput--;
}
-buildUnnamed1601() {
+buildUnnamed1669() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1601(core.List<core.Object> o) {
+checkUnnamed1669(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) 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[1]) 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'));
@@ -746,7 +746,7 @@
var o = new api.Update();
buildCounterUpdate++;
if (buildCounterUpdate < 3) {
- o.csvInstance = buildUnnamed1601();
+ o.csvInstance = buildUnnamed1669();
o.output = "foo";
}
buildCounterUpdate--;
@@ -756,7 +756,7 @@
checkUpdate(api.Update o) {
buildCounterUpdate++;
if (buildCounterUpdate < 3) {
- checkUnnamed1601(o.csvInstance);
+ checkUnnamed1669(o.csvInstance);
unittest.expect(o.output, unittest.equals('foo'));
}
buildCounterUpdate--;
diff --git a/generated/googleapis/test/pubsub/v1_test.dart b/generated/googleapis/test/pubsub/v1_test.dart
index 9462b14..592f925 100644
--- a/generated/googleapis/test/pubsub/v1_test.dart
+++ b/generated/googleapis/test/pubsub/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1144() {
+buildUnnamed1175() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1144(core.List<core.String> o) {
+checkUnnamed1175(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -69,7 +69,7 @@
var o = new api.AcknowledgeRequest();
buildCounterAcknowledgeRequest++;
if (buildCounterAcknowledgeRequest < 3) {
- o.ackIds = buildUnnamed1144();
+ o.ackIds = buildUnnamed1175();
}
buildCounterAcknowledgeRequest--;
return o;
@@ -78,19 +78,19 @@
checkAcknowledgeRequest(api.AcknowledgeRequest o) {
buildCounterAcknowledgeRequest++;
if (buildCounterAcknowledgeRequest < 3) {
- checkUnnamed1144(o.ackIds);
+ checkUnnamed1175(o.ackIds);
}
buildCounterAcknowledgeRequest--;
}
-buildUnnamed1145() {
+buildUnnamed1176() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1145(core.List<core.String> o) {
+checkUnnamed1176(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -101,7 +101,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1145();
+ o.members = buildUnnamed1176();
o.role = "foo";
}
buildCounterBinding--;
@@ -111,7 +111,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1145(o.members);
+ checkUnnamed1176(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -134,14 +134,14 @@
buildCounterEmpty--;
}
-buildUnnamed1146() {
+buildUnnamed1177() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed1146(core.List<api.Subscription> o) {
+checkUnnamed1177(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -153,7 +153,7 @@
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed1146();
+ o.subscriptions = buildUnnamed1177();
}
buildCounterListSubscriptionsResponse--;
return o;
@@ -163,19 +163,19 @@
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1146(o.subscriptions);
+ checkUnnamed1177(o.subscriptions);
}
buildCounterListSubscriptionsResponse--;
}
-buildUnnamed1147() {
+buildUnnamed1178() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1147(core.List<core.String> o) {
+checkUnnamed1178(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -187,7 +187,7 @@
buildCounterListTopicSubscriptionsResponse++;
if (buildCounterListTopicSubscriptionsResponse < 3) {
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed1147();
+ o.subscriptions = buildUnnamed1178();
}
buildCounterListTopicSubscriptionsResponse--;
return o;
@@ -197,19 +197,19 @@
buildCounterListTopicSubscriptionsResponse++;
if (buildCounterListTopicSubscriptionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1147(o.subscriptions);
+ checkUnnamed1178(o.subscriptions);
}
buildCounterListTopicSubscriptionsResponse--;
}
-buildUnnamed1148() {
+buildUnnamed1179() {
var o = new core.List<api.Topic>();
o.add(buildTopic());
o.add(buildTopic());
return o;
}
-checkUnnamed1148(core.List<api.Topic> o) {
+checkUnnamed1179(core.List<api.Topic> o) {
unittest.expect(o, unittest.hasLength(2));
checkTopic(o[0]);
checkTopic(o[1]);
@@ -221,7 +221,7 @@
buildCounterListTopicsResponse++;
if (buildCounterListTopicsResponse < 3) {
o.nextPageToken = "foo";
- o.topics = buildUnnamed1148();
+ o.topics = buildUnnamed1179();
}
buildCounterListTopicsResponse--;
return o;
@@ -231,19 +231,19 @@
buildCounterListTopicsResponse++;
if (buildCounterListTopicsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1148(o.topics);
+ checkUnnamed1179(o.topics);
}
buildCounterListTopicsResponse--;
}
-buildUnnamed1149() {
+buildUnnamed1180() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1149(core.List<core.String> o) {
+checkUnnamed1180(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -255,7 +255,7 @@
buildCounterModifyAckDeadlineRequest++;
if (buildCounterModifyAckDeadlineRequest < 3) {
o.ackDeadlineSeconds = 42;
- o.ackIds = buildUnnamed1149();
+ o.ackIds = buildUnnamed1180();
}
buildCounterModifyAckDeadlineRequest--;
return o;
@@ -265,7 +265,7 @@
buildCounterModifyAckDeadlineRequest++;
if (buildCounterModifyAckDeadlineRequest < 3) {
unittest.expect(o.ackDeadlineSeconds, unittest.equals(42));
- checkUnnamed1149(o.ackIds);
+ checkUnnamed1180(o.ackIds);
}
buildCounterModifyAckDeadlineRequest--;
}
@@ -289,14 +289,14 @@
buildCounterModifyPushConfigRequest--;
}
-buildUnnamed1150() {
+buildUnnamed1181() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1150(core.List<api.Binding> o) {
+checkUnnamed1181(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -307,7 +307,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed1150();
+ o.bindings = buildUnnamed1181();
o.etag = "foo";
o.version = 42;
}
@@ -318,21 +318,21 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1150(o.bindings);
+ checkUnnamed1181(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed1151() {
+buildUnnamed1182() {
var o = new core.List<api.PubsubMessage>();
o.add(buildPubsubMessage());
o.add(buildPubsubMessage());
return o;
}
-checkUnnamed1151(core.List<api.PubsubMessage> o) {
+checkUnnamed1182(core.List<api.PubsubMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkPubsubMessage(o[0]);
checkPubsubMessage(o[1]);
@@ -343,7 +343,7 @@
var o = new api.PublishRequest();
buildCounterPublishRequest++;
if (buildCounterPublishRequest < 3) {
- o.messages = buildUnnamed1151();
+ o.messages = buildUnnamed1182();
}
buildCounterPublishRequest--;
return o;
@@ -352,19 +352,19 @@
checkPublishRequest(api.PublishRequest o) {
buildCounterPublishRequest++;
if (buildCounterPublishRequest < 3) {
- checkUnnamed1151(o.messages);
+ checkUnnamed1182(o.messages);
}
buildCounterPublishRequest--;
}
-buildUnnamed1152() {
+buildUnnamed1183() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1152(core.List<core.String> o) {
+checkUnnamed1183(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -375,7 +375,7 @@
var o = new api.PublishResponse();
buildCounterPublishResponse++;
if (buildCounterPublishResponse < 3) {
- o.messageIds = buildUnnamed1152();
+ o.messageIds = buildUnnamed1183();
}
buildCounterPublishResponse--;
return o;
@@ -384,19 +384,19 @@
checkPublishResponse(api.PublishResponse o) {
buildCounterPublishResponse++;
if (buildCounterPublishResponse < 3) {
- checkUnnamed1152(o.messageIds);
+ checkUnnamed1183(o.messageIds);
}
buildCounterPublishResponse--;
}
-buildUnnamed1153() {
+buildUnnamed1184() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1153(core.Map<core.String, core.String> o) {
+checkUnnamed1184(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -407,7 +407,7 @@
var o = new api.PubsubMessage();
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
- o.attributes = buildUnnamed1153();
+ o.attributes = buildUnnamed1184();
o.data = "foo";
o.messageId = "foo";
o.publishTime = "foo";
@@ -419,7 +419,7 @@
checkPubsubMessage(api.PubsubMessage o) {
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
- checkUnnamed1153(o.attributes);
+ checkUnnamed1184(o.attributes);
unittest.expect(o.data, unittest.equals('foo'));
unittest.expect(o.messageId, unittest.equals('foo'));
unittest.expect(o.publishTime, unittest.equals('foo'));
@@ -448,14 +448,14 @@
buildCounterPullRequest--;
}
-buildUnnamed1154() {
+buildUnnamed1185() {
var o = new core.List<api.ReceivedMessage>();
o.add(buildReceivedMessage());
o.add(buildReceivedMessage());
return o;
}
-checkUnnamed1154(core.List<api.ReceivedMessage> o) {
+checkUnnamed1185(core.List<api.ReceivedMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkReceivedMessage(o[0]);
checkReceivedMessage(o[1]);
@@ -466,7 +466,7 @@
var o = new api.PullResponse();
buildCounterPullResponse++;
if (buildCounterPullResponse < 3) {
- o.receivedMessages = buildUnnamed1154();
+ o.receivedMessages = buildUnnamed1185();
}
buildCounterPullResponse--;
return o;
@@ -475,19 +475,19 @@
checkPullResponse(api.PullResponse o) {
buildCounterPullResponse++;
if (buildCounterPullResponse < 3) {
- checkUnnamed1154(o.receivedMessages);
+ checkUnnamed1185(o.receivedMessages);
}
buildCounterPullResponse--;
}
-buildUnnamed1155() {
+buildUnnamed1186() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1155(core.Map<core.String, core.String> o) {
+checkUnnamed1186(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -498,7 +498,7 @@
var o = new api.PushConfig();
buildCounterPushConfig++;
if (buildCounterPushConfig < 3) {
- o.attributes = buildUnnamed1155();
+ o.attributes = buildUnnamed1186();
o.pushEndpoint = "foo";
}
buildCounterPushConfig--;
@@ -508,7 +508,7 @@
checkPushConfig(api.PushConfig o) {
buildCounterPushConfig++;
if (buildCounterPushConfig < 3) {
- checkUnnamed1155(o.attributes);
+ checkUnnamed1186(o.attributes);
unittest.expect(o.pushEndpoint, unittest.equals('foo'));
}
buildCounterPushConfig--;
@@ -579,14 +579,14 @@
buildCounterSubscription--;
}
-buildUnnamed1156() {
+buildUnnamed1187() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1156(core.List<core.String> o) {
+checkUnnamed1187(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -597,7 +597,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1156();
+ o.permissions = buildUnnamed1187();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -606,19 +606,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1156(o.permissions);
+ checkUnnamed1187(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1157() {
+buildUnnamed1188() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1157(core.List<core.String> o) {
+checkUnnamed1188(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -629,7 +629,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1157();
+ o.permissions = buildUnnamed1188();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -638,7 +638,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1157(o.permissions);
+ checkUnnamed1188(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1721,8 +1721,8 @@
var mock = new HttpServerMock();
api.ProjectsTopicsResourceApi res = new api.PubsubApi(mock).projects.topics;
var arg_project = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1750,8 +1750,8 @@
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(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1760,7 +1760,7 @@
var resp = convert.JSON.encode(buildListTopicsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_project, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListTopicsResponse response) {
+ res.list(arg_project, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListTopicsResponse response) {
checkListTopicsResponse(response);
})));
});
diff --git a/generated/googleapis/test/qpxexpress/v1_test.dart b/generated/googleapis/test/qpxexpress/v1_test.dart
index 3b1e970..1faeda4 100644
--- a/generated/googleapis/test/qpxexpress/v1_test.dart
+++ b/generated/googleapis/test/qpxexpress/v1_test.dart
@@ -99,14 +99,14 @@
buildCounterAirportData--;
}
-buildUnnamed0() {
+buildUnnamed18() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed0(core.List<core.String> o) {
+checkUnnamed18(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -119,7 +119,7 @@
if (buildCounterBagDescriptor < 3) {
o.commercialName = "foo";
o.count = 42;
- o.description = buildUnnamed0();
+ o.description = buildUnnamed18();
o.kind = "foo";
o.subcode = "foo";
}
@@ -132,7 +132,7 @@
if (buildCounterBagDescriptor < 3) {
unittest.expect(o.commercialName, unittest.equals('foo'));
unittest.expect(o.count, unittest.equals(42));
- checkUnnamed0(o.description);
+ checkUnnamed18(o.description);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.subcode, unittest.equals('foo'));
}
@@ -187,66 +187,66 @@
buildCounterCityData--;
}
-buildUnnamed1() {
+buildUnnamed19() {
var o = new core.List<api.AircraftData>();
o.add(buildAircraftData());
o.add(buildAircraftData());
return o;
}
-checkUnnamed1(core.List<api.AircraftData> o) {
+checkUnnamed19(core.List<api.AircraftData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAircraftData(o[0]);
checkAircraftData(o[1]);
}
-buildUnnamed2() {
+buildUnnamed20() {
var o = new core.List<api.AirportData>();
o.add(buildAirportData());
o.add(buildAirportData());
return o;
}
-checkUnnamed2(core.List<api.AirportData> o) {
+checkUnnamed20(core.List<api.AirportData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAirportData(o[0]);
checkAirportData(o[1]);
}
-buildUnnamed3() {
+buildUnnamed21() {
var o = new core.List<api.CarrierData>();
o.add(buildCarrierData());
o.add(buildCarrierData());
return o;
}
-checkUnnamed3(core.List<api.CarrierData> o) {
+checkUnnamed21(core.List<api.CarrierData> o) {
unittest.expect(o, unittest.hasLength(2));
checkCarrierData(o[0]);
checkCarrierData(o[1]);
}
-buildUnnamed4() {
+buildUnnamed22() {
var o = new core.List<api.CityData>();
o.add(buildCityData());
o.add(buildCityData());
return o;
}
-checkUnnamed4(core.List<api.CityData> o) {
+checkUnnamed22(core.List<api.CityData> o) {
unittest.expect(o, unittest.hasLength(2));
checkCityData(o[0]);
checkCityData(o[1]);
}
-buildUnnamed5() {
+buildUnnamed23() {
var o = new core.List<api.TaxData>();
o.add(buildTaxData());
o.add(buildTaxData());
return o;
}
-checkUnnamed5(core.List<api.TaxData> o) {
+checkUnnamed23(core.List<api.TaxData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTaxData(o[0]);
checkTaxData(o[1]);
@@ -257,12 +257,12 @@
var o = new api.Data();
buildCounterData++;
if (buildCounterData < 3) {
- o.aircraft = buildUnnamed1();
- o.airport = buildUnnamed2();
- o.carrier = buildUnnamed3();
- o.city = buildUnnamed4();
+ o.aircraft = buildUnnamed19();
+ o.airport = buildUnnamed20();
+ o.carrier = buildUnnamed21();
+ o.city = buildUnnamed22();
o.kind = "foo";
- o.tax = buildUnnamed5();
+ o.tax = buildUnnamed23();
}
buildCounterData--;
return o;
@@ -271,12 +271,12 @@
checkData(api.Data o) {
buildCounterData++;
if (buildCounterData < 3) {
- checkUnnamed1(o.aircraft);
- checkUnnamed2(o.airport);
- checkUnnamed3(o.carrier);
- checkUnnamed4(o.city);
+ checkUnnamed19(o.aircraft);
+ checkUnnamed20(o.airport);
+ checkUnnamed21(o.carrier);
+ checkUnnamed22(o.city);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5(o.tax);
+ checkUnnamed23(o.tax);
}
buildCounterData--;
}
@@ -333,14 +333,14 @@
buildCounterFlightInfo--;
}
-buildUnnamed6() {
+buildUnnamed24() {
var o = new core.List<api.BagDescriptor>();
o.add(buildBagDescriptor());
o.add(buildBagDescriptor());
return o;
}
-checkUnnamed6(core.List<api.BagDescriptor> o) {
+checkUnnamed24(core.List<api.BagDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkBagDescriptor(o[0]);
checkBagDescriptor(o[1]);
@@ -351,7 +351,7 @@
var o = new api.FreeBaggageAllowance();
buildCounterFreeBaggageAllowance++;
if (buildCounterFreeBaggageAllowance < 3) {
- o.bagDescriptor = buildUnnamed6();
+ o.bagDescriptor = buildUnnamed24();
o.kilos = 42;
o.kilosPerPiece = 42;
o.kind = "foo";
@@ -365,7 +365,7 @@
checkFreeBaggageAllowance(api.FreeBaggageAllowance o) {
buildCounterFreeBaggageAllowance++;
if (buildCounterFreeBaggageAllowance < 3) {
- checkUnnamed6(o.bagDescriptor);
+ checkUnnamed24(o.bagDescriptor);
unittest.expect(o.kilos, unittest.equals(42));
unittest.expect(o.kilosPerPiece, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -455,40 +455,40 @@
buildCounterPassengerCounts--;
}
-buildUnnamed7() {
+buildUnnamed25() {
var o = new core.List<api.FareInfo>();
o.add(buildFareInfo());
o.add(buildFareInfo());
return o;
}
-checkUnnamed7(core.List<api.FareInfo> o) {
+checkUnnamed25(core.List<api.FareInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkFareInfo(o[0]);
checkFareInfo(o[1]);
}
-buildUnnamed8() {
+buildUnnamed26() {
var o = new core.List<api.SegmentPricing>();
o.add(buildSegmentPricing());
o.add(buildSegmentPricing());
return o;
}
-checkUnnamed8(core.List<api.SegmentPricing> o) {
+checkUnnamed26(core.List<api.SegmentPricing> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegmentPricing(o[0]);
checkSegmentPricing(o[1]);
}
-buildUnnamed9() {
+buildUnnamed27() {
var o = new core.List<api.TaxInfo>();
o.add(buildTaxInfo());
o.add(buildTaxInfo());
return o;
}
-checkUnnamed9(core.List<api.TaxInfo> o) {
+checkUnnamed27(core.List<api.TaxInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkTaxInfo(o[0]);
checkTaxInfo(o[1]);
@@ -500,7 +500,7 @@
buildCounterPricingInfo++;
if (buildCounterPricingInfo < 3) {
o.baseFareTotal = "foo";
- o.fare = buildUnnamed7();
+ o.fare = buildUnnamed25();
o.fareCalculation = "foo";
o.kind = "foo";
o.latestTicketingTime = "foo";
@@ -510,8 +510,8 @@
o.saleFareTotal = "foo";
o.saleTaxTotal = "foo";
o.saleTotal = "foo";
- o.segmentPricing = buildUnnamed8();
- o.tax = buildUnnamed9();
+ o.segmentPricing = buildUnnamed26();
+ o.tax = buildUnnamed27();
}
buildCounterPricingInfo--;
return o;
@@ -521,7 +521,7 @@
buildCounterPricingInfo++;
if (buildCounterPricingInfo < 3) {
unittest.expect(o.baseFareTotal, unittest.equals('foo'));
- checkUnnamed7(o.fare);
+ checkUnnamed25(o.fare);
unittest.expect(o.fareCalculation, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.latestTicketingTime, unittest.equals('foo'));
@@ -531,20 +531,20 @@
unittest.expect(o.saleFareTotal, unittest.equals('foo'));
unittest.expect(o.saleTaxTotal, unittest.equals('foo'));
unittest.expect(o.saleTotal, unittest.equals('foo'));
- checkUnnamed8(o.segmentPricing);
- checkUnnamed9(o.tax);
+ checkUnnamed26(o.segmentPricing);
+ checkUnnamed27(o.tax);
}
buildCounterPricingInfo--;
}
-buildUnnamed10() {
+buildUnnamed28() {
var o = new core.List<api.LegInfo>();
o.add(buildLegInfo());
o.add(buildLegInfo());
return o;
}
-checkUnnamed10(core.List<api.LegInfo> o) {
+checkUnnamed28(core.List<api.LegInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkLegInfo(o[0]);
checkLegInfo(o[1]);
@@ -563,7 +563,7 @@
o.flight = buildFlightInfo();
o.id = "foo";
o.kind = "foo";
- o.leg = buildUnnamed10();
+ o.leg = buildUnnamed28();
o.marriedSegmentGroup = "foo";
o.subjectToGovernmentApproval = true;
}
@@ -582,21 +582,21 @@
checkFlightInfo(o.flight);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed10(o.leg);
+ checkUnnamed28(o.leg);
unittest.expect(o.marriedSegmentGroup, unittest.equals('foo'));
unittest.expect(o.subjectToGovernmentApproval, unittest.isTrue);
}
buildCounterSegmentInfo--;
}
-buildUnnamed11() {
+buildUnnamed29() {
var o = new core.List<api.FreeBaggageAllowance>();
o.add(buildFreeBaggageAllowance());
o.add(buildFreeBaggageAllowance());
return o;
}
-checkUnnamed11(core.List<api.FreeBaggageAllowance> o) {
+checkUnnamed29(core.List<api.FreeBaggageAllowance> o) {
unittest.expect(o, unittest.hasLength(2));
checkFreeBaggageAllowance(o[0]);
checkFreeBaggageAllowance(o[1]);
@@ -608,7 +608,7 @@
buildCounterSegmentPricing++;
if (buildCounterSegmentPricing < 3) {
o.fareId = "foo";
- o.freeBaggageOption = buildUnnamed11();
+ o.freeBaggageOption = buildUnnamed29();
o.kind = "foo";
o.segmentId = "foo";
}
@@ -620,21 +620,21 @@
buildCounterSegmentPricing++;
if (buildCounterSegmentPricing < 3) {
unittest.expect(o.fareId, unittest.equals('foo'));
- checkUnnamed11(o.freeBaggageOption);
+ checkUnnamed29(o.freeBaggageOption);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.segmentId, unittest.equals('foo'));
}
buildCounterSegmentPricing--;
}
-buildUnnamed12() {
+buildUnnamed30() {
var o = new core.List<api.SegmentInfo>();
o.add(buildSegmentInfo());
o.add(buildSegmentInfo());
return o;
}
-checkUnnamed12(core.List<api.SegmentInfo> o) {
+checkUnnamed30(core.List<api.SegmentInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegmentInfo(o[0]);
checkSegmentInfo(o[1]);
@@ -647,7 +647,7 @@
if (buildCounterSliceInfo < 3) {
o.duration = 42;
o.kind = "foo";
- o.segment = buildUnnamed12();
+ o.segment = buildUnnamed30();
}
buildCounterSliceInfo--;
return o;
@@ -658,32 +658,32 @@
if (buildCounterSliceInfo < 3) {
unittest.expect(o.duration, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed12(o.segment);
+ checkUnnamed30(o.segment);
}
buildCounterSliceInfo--;
}
-buildUnnamed13() {
+buildUnnamed31() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed13(core.List<core.String> o) {
+checkUnnamed31(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed14() {
+buildUnnamed32() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed14(core.List<core.String> o) {
+checkUnnamed32(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -701,10 +701,10 @@
o.maxConnectionDuration = 42;
o.maxStops = 42;
o.origin = "foo";
- o.permittedCarrier = buildUnnamed13();
+ o.permittedCarrier = buildUnnamed31();
o.permittedDepartureTime = buildTimeOfDayRange();
o.preferredCabin = "foo";
- o.prohibitedCarrier = buildUnnamed14();
+ o.prohibitedCarrier = buildUnnamed32();
}
buildCounterSliceInput--;
return o;
@@ -720,10 +720,10 @@
unittest.expect(o.maxConnectionDuration, unittest.equals(42));
unittest.expect(o.maxStops, unittest.equals(42));
unittest.expect(o.origin, unittest.equals('foo'));
- checkUnnamed13(o.permittedCarrier);
+ checkUnnamed31(o.permittedCarrier);
checkTimeOfDayRange(o.permittedDepartureTime);
unittest.expect(o.preferredCabin, unittest.equals('foo'));
- checkUnnamed14(o.prohibitedCarrier);
+ checkUnnamed32(o.prohibitedCarrier);
}
buildCounterSliceInput--;
}
@@ -803,27 +803,27 @@
buildCounterTimeOfDayRange--;
}
-buildUnnamed15() {
+buildUnnamed33() {
var o = new core.List<api.PricingInfo>();
o.add(buildPricingInfo());
o.add(buildPricingInfo());
return o;
}
-checkUnnamed15(core.List<api.PricingInfo> o) {
+checkUnnamed33(core.List<api.PricingInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricingInfo(o[0]);
checkPricingInfo(o[1]);
}
-buildUnnamed16() {
+buildUnnamed34() {
var o = new core.List<api.SliceInfo>();
o.add(buildSliceInfo());
o.add(buildSliceInfo());
return o;
}
-checkUnnamed16(core.List<api.SliceInfo> o) {
+checkUnnamed34(core.List<api.SliceInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSliceInfo(o[0]);
checkSliceInfo(o[1]);
@@ -836,9 +836,9 @@
if (buildCounterTripOption < 3) {
o.id = "foo";
o.kind = "foo";
- o.pricing = buildUnnamed15();
+ o.pricing = buildUnnamed33();
o.saleTotal = "foo";
- o.slice = buildUnnamed16();
+ o.slice = buildUnnamed34();
}
buildCounterTripOption--;
return o;
@@ -849,21 +849,21 @@
if (buildCounterTripOption < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed15(o.pricing);
+ checkUnnamed33(o.pricing);
unittest.expect(o.saleTotal, unittest.equals('foo'));
- checkUnnamed16(o.slice);
+ checkUnnamed34(o.slice);
}
buildCounterTripOption--;
}
-buildUnnamed17() {
+buildUnnamed35() {
var o = new core.List<api.SliceInput>();
o.add(buildSliceInput());
o.add(buildSliceInput());
return o;
}
-checkUnnamed17(core.List<api.SliceInput> o) {
+checkUnnamed35(core.List<api.SliceInput> o) {
unittest.expect(o, unittest.hasLength(2));
checkSliceInput(o[0]);
checkSliceInput(o[1]);
@@ -878,7 +878,7 @@
o.passengers = buildPassengerCounts();
o.refundable = true;
o.saleCountry = "foo";
- o.slice = buildUnnamed17();
+ o.slice = buildUnnamed35();
o.solutions = 42;
o.ticketingCountry = "foo";
}
@@ -893,21 +893,21 @@
checkPassengerCounts(o.passengers);
unittest.expect(o.refundable, unittest.isTrue);
unittest.expect(o.saleCountry, unittest.equals('foo'));
- checkUnnamed17(o.slice);
+ checkUnnamed35(o.slice);
unittest.expect(o.solutions, unittest.equals(42));
unittest.expect(o.ticketingCountry, unittest.equals('foo'));
}
buildCounterTripOptionsRequest--;
}
-buildUnnamed18() {
+buildUnnamed36() {
var o = new core.List<api.TripOption>();
o.add(buildTripOption());
o.add(buildTripOption());
return o;
}
-checkUnnamed18(core.List<api.TripOption> o) {
+checkUnnamed36(core.List<api.TripOption> o) {
unittest.expect(o, unittest.hasLength(2));
checkTripOption(o[0]);
checkTripOption(o[1]);
@@ -921,7 +921,7 @@
o.data = buildData();
o.kind = "foo";
o.requestId = "foo";
- o.tripOption = buildUnnamed18();
+ o.tripOption = buildUnnamed36();
}
buildCounterTripOptionsResponse--;
return o;
@@ -933,7 +933,7 @@
checkData(o.data);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed18(o.tripOption);
+ checkUnnamed36(o.tripOption);
}
buildCounterTripOptionsResponse--;
}
diff --git a/generated/googleapis/test/reseller/v1_test.dart b/generated/googleapis/test/reseller/v1_test.dart
index ac4b79f..b061147 100644
--- a/generated/googleapis/test/reseller/v1_test.dart
+++ b/generated/googleapis/test/reseller/v1_test.dart
@@ -169,14 +169,14 @@
buildCounterRenewalSettings--;
}
-buildUnnamed2079() {
+buildUnnamed2184() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2079(core.List<core.String> o) {
+checkUnnamed2184(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -187,7 +187,7 @@
var o = new api.ResellernotifyGetwatchdetailsResponse();
buildCounterResellernotifyGetwatchdetailsResponse++;
if (buildCounterResellernotifyGetwatchdetailsResponse < 3) {
- o.serviceAccountEmailAddresses = buildUnnamed2079();
+ o.serviceAccountEmailAddresses = buildUnnamed2184();
o.topicName = "foo";
}
buildCounterResellernotifyGetwatchdetailsResponse--;
@@ -197,7 +197,7 @@
checkResellernotifyGetwatchdetailsResponse(api.ResellernotifyGetwatchdetailsResponse o) {
buildCounterResellernotifyGetwatchdetailsResponse++;
if (buildCounterResellernotifyGetwatchdetailsResponse < 3) {
- checkUnnamed2079(o.serviceAccountEmailAddresses);
+ checkUnnamed2184(o.serviceAccountEmailAddresses);
unittest.expect(o.topicName, unittest.equals('foo'));
}
buildCounterResellernotifyGetwatchdetailsResponse--;
@@ -291,14 +291,14 @@
buildCounterSubscriptionPlan--;
}
-buildUnnamed2080() {
+buildUnnamed2185() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2080(core.List<core.String> o) {
+checkUnnamed2185(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -363,9 +363,10 @@
o.resourceUiUrl = "foo";
o.seats = buildSeats();
o.skuId = "foo";
+ o.skuName = "foo";
o.status = "foo";
o.subscriptionId = "foo";
- o.suspensionReasons = buildUnnamed2080();
+ o.suspensionReasons = buildUnnamed2185();
o.transferInfo = buildSubscriptionTransferInfo();
o.trialSettings = buildSubscriptionTrialSettings();
}
@@ -388,23 +389,24 @@
unittest.expect(o.resourceUiUrl, unittest.equals('foo'));
checkSeats(o.seats);
unittest.expect(o.skuId, unittest.equals('foo'));
+ unittest.expect(o.skuName, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subscriptionId, unittest.equals('foo'));
- checkUnnamed2080(o.suspensionReasons);
+ checkUnnamed2185(o.suspensionReasons);
checkSubscriptionTransferInfo(o.transferInfo);
checkSubscriptionTrialSettings(o.trialSettings);
}
buildCounterSubscription--;
}
-buildUnnamed2081() {
+buildUnnamed2186() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed2081(core.List<api.Subscription> o) {
+checkUnnamed2186(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -417,7 +419,7 @@
if (buildCounterSubscriptions < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed2081();
+ o.subscriptions = buildUnnamed2186();
}
buildCounterSubscriptions--;
return o;
@@ -428,7 +430,7 @@
if (buildCounterSubscriptions < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2081(o.subscriptions);
+ checkUnnamed2186(o.subscriptions);
}
buildCounterSubscriptions--;
}
diff --git a/generated/googleapis/test/runtimeconfig/v1_test.dart b/generated/googleapis/test/runtimeconfig/v1_test.dart
index c53a551..7eea567 100644
--- a/generated/googleapis/test/runtimeconfig/v1_test.dart
+++ b/generated/googleapis/test/runtimeconfig/v1_test.dart
@@ -85,14 +85,14 @@
buildCounterEmpty--;
}
-buildUnnamed1646() {
+buildUnnamed1714() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1646(core.List<api.Operation> o) {
+checkUnnamed1714(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -104,7 +104,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1646();
+ o.operations = buildUnnamed1714();
}
buildCounterListOperationsResponse--;
return o;
@@ -114,32 +114,32 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1646(o.operations);
+ checkUnnamed1714(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1647() {
+buildUnnamed1715() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1647(core.Map<core.String, core.Object> o) {
+checkUnnamed1715(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed1648() {
+buildUnnamed1716() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1648(core.Map<core.String, core.Object> o) {
+checkUnnamed1716(core.Map<core.String, core.Object> 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'));
@@ -152,9 +152,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1647();
+ o.metadata = buildUnnamed1715();
o.name = "foo";
- o.response = buildUnnamed1648();
+ o.response = buildUnnamed1716();
}
buildCounterOperation--;
return o;
@@ -165,37 +165,37 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1647(o.metadata);
+ checkUnnamed1715(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1648(o.response);
+ checkUnnamed1716(o.response);
}
buildCounterOperation--;
}
-buildUnnamed1649() {
+buildUnnamed1717() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1649(core.Map<core.String, core.Object> o) {
+checkUnnamed1717(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed1650() {
+buildUnnamed1718() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1649());
- o.add(buildUnnamed1649());
+ o.add(buildUnnamed1717());
+ o.add(buildUnnamed1717());
return o;
}
-checkUnnamed1650(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1718(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1649(o[0]);
- checkUnnamed1649(o[1]);
+ checkUnnamed1717(o[0]);
+ checkUnnamed1717(o[1]);
}
core.int buildCounterStatus = 0;
@@ -204,7 +204,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1650();
+ o.details = buildUnnamed1718();
o.message = "foo";
}
buildCounterStatus--;
@@ -215,7 +215,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1650(o.details);
+ checkUnnamed1718(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
diff --git a/generated/googleapis/test/safebrowsing/v4_test.dart b/generated/googleapis/test/safebrowsing/v4_test.dart
index 0335b9f..610d04d 100644
--- a/generated/googleapis/test/safebrowsing/v4_test.dart
+++ b/generated/googleapis/test/safebrowsing/v4_test.dart
@@ -91,14 +91,14 @@
buildCounterClientInfo--;
}
-buildUnnamed973() {
+buildUnnamed999() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed973(core.List<core.String> o) {
+checkUnnamed999(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -112,7 +112,7 @@
o.maxDatabaseEntries = 42;
o.maxUpdateEntries = 42;
o.region = "foo";
- o.supportedCompressions = buildUnnamed973();
+ o.supportedCompressions = buildUnnamed999();
}
buildCounterConstraints--;
return o;
@@ -124,19 +124,19 @@
unittest.expect(o.maxDatabaseEntries, unittest.equals(42));
unittest.expect(o.maxUpdateEntries, unittest.equals(42));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed973(o.supportedCompressions);
+ checkUnnamed999(o.supportedCompressions);
}
buildCounterConstraints--;
}
-buildUnnamed974() {
+buildUnnamed1000() {
var o = new core.List<api.ListUpdateRequest>();
o.add(buildListUpdateRequest());
o.add(buildListUpdateRequest());
return o;
}
-checkUnnamed974(core.List<api.ListUpdateRequest> o) {
+checkUnnamed1000(core.List<api.ListUpdateRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkListUpdateRequest(o[0]);
checkListUpdateRequest(o[1]);
@@ -148,7 +148,7 @@
buildCounterFetchThreatListUpdatesRequest++;
if (buildCounterFetchThreatListUpdatesRequest < 3) {
o.client = buildClientInfo();
- o.listUpdateRequests = buildUnnamed974();
+ o.listUpdateRequests = buildUnnamed1000();
}
buildCounterFetchThreatListUpdatesRequest--;
return o;
@@ -158,19 +158,19 @@
buildCounterFetchThreatListUpdatesRequest++;
if (buildCounterFetchThreatListUpdatesRequest < 3) {
checkClientInfo(o.client);
- checkUnnamed974(o.listUpdateRequests);
+ checkUnnamed1000(o.listUpdateRequests);
}
buildCounterFetchThreatListUpdatesRequest--;
}
-buildUnnamed975() {
+buildUnnamed1001() {
var o = new core.List<api.ListUpdateResponse>();
o.add(buildListUpdateResponse());
o.add(buildListUpdateResponse());
return o;
}
-checkUnnamed975(core.List<api.ListUpdateResponse> o) {
+checkUnnamed1001(core.List<api.ListUpdateResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkListUpdateResponse(o[0]);
checkListUpdateResponse(o[1]);
@@ -181,7 +181,7 @@
var o = new api.FetchThreatListUpdatesResponse();
buildCounterFetchThreatListUpdatesResponse++;
if (buildCounterFetchThreatListUpdatesResponse < 3) {
- o.listUpdateResponses = buildUnnamed975();
+ o.listUpdateResponses = buildUnnamed1001();
o.minimumWaitDuration = "foo";
}
buildCounterFetchThreatListUpdatesResponse--;
@@ -191,20 +191,20 @@
checkFetchThreatListUpdatesResponse(api.FetchThreatListUpdatesResponse o) {
buildCounterFetchThreatListUpdatesResponse++;
if (buildCounterFetchThreatListUpdatesResponse < 3) {
- checkUnnamed975(o.listUpdateResponses);
+ checkUnnamed1001(o.listUpdateResponses);
unittest.expect(o.minimumWaitDuration, unittest.equals('foo'));
}
buildCounterFetchThreatListUpdatesResponse--;
}
-buildUnnamed976() {
+buildUnnamed1002() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed976(core.List<core.String> o) {
+checkUnnamed1002(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -215,8 +215,9 @@
var o = new api.FindFullHashesRequest();
buildCounterFindFullHashesRequest++;
if (buildCounterFindFullHashesRequest < 3) {
+ o.apiClient = buildClientInfo();
o.client = buildClientInfo();
- o.clientStates = buildUnnamed976();
+ o.clientStates = buildUnnamed1002();
o.threatInfo = buildThreatInfo();
}
buildCounterFindFullHashesRequest--;
@@ -226,21 +227,22 @@
checkFindFullHashesRequest(api.FindFullHashesRequest o) {
buildCounterFindFullHashesRequest++;
if (buildCounterFindFullHashesRequest < 3) {
+ checkClientInfo(o.apiClient);
checkClientInfo(o.client);
- checkUnnamed976(o.clientStates);
+ checkUnnamed1002(o.clientStates);
checkThreatInfo(o.threatInfo);
}
buildCounterFindFullHashesRequest--;
}
-buildUnnamed977() {
+buildUnnamed1003() {
var o = new core.List<api.ThreatMatch>();
o.add(buildThreatMatch());
o.add(buildThreatMatch());
return o;
}
-checkUnnamed977(core.List<api.ThreatMatch> o) {
+checkUnnamed1003(core.List<api.ThreatMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatMatch(o[0]);
checkThreatMatch(o[1]);
@@ -251,7 +253,7 @@
var o = new api.FindFullHashesResponse();
buildCounterFindFullHashesResponse++;
if (buildCounterFindFullHashesResponse < 3) {
- o.matches = buildUnnamed977();
+ o.matches = buildUnnamed1003();
o.minimumWaitDuration = "foo";
o.negativeCacheDuration = "foo";
}
@@ -262,7 +264,7 @@
checkFindFullHashesResponse(api.FindFullHashesResponse o) {
buildCounterFindFullHashesResponse++;
if (buildCounterFindFullHashesResponse < 3) {
- checkUnnamed977(o.matches);
+ checkUnnamed1003(o.matches);
unittest.expect(o.minimumWaitDuration, unittest.equals('foo'));
unittest.expect(o.negativeCacheDuration, unittest.equals('foo'));
}
@@ -290,14 +292,14 @@
buildCounterFindThreatMatchesRequest--;
}
-buildUnnamed978() {
+buildUnnamed1004() {
var o = new core.List<api.ThreatMatch>();
o.add(buildThreatMatch());
o.add(buildThreatMatch());
return o;
}
-checkUnnamed978(core.List<api.ThreatMatch> o) {
+checkUnnamed1004(core.List<api.ThreatMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatMatch(o[0]);
checkThreatMatch(o[1]);
@@ -308,7 +310,7 @@
var o = new api.FindThreatMatchesResponse();
buildCounterFindThreatMatchesResponse++;
if (buildCounterFindThreatMatchesResponse < 3) {
- o.matches = buildUnnamed978();
+ o.matches = buildUnnamed1004();
}
buildCounterFindThreatMatchesResponse--;
return o;
@@ -317,19 +319,19 @@
checkFindThreatMatchesResponse(api.FindThreatMatchesResponse o) {
buildCounterFindThreatMatchesResponse++;
if (buildCounterFindThreatMatchesResponse < 3) {
- checkUnnamed978(o.matches);
+ checkUnnamed1004(o.matches);
}
buildCounterFindThreatMatchesResponse--;
}
-buildUnnamed979() {
+buildUnnamed1005() {
var o = new core.List<api.ThreatListDescriptor>();
o.add(buildThreatListDescriptor());
o.add(buildThreatListDescriptor());
return o;
}
-checkUnnamed979(core.List<api.ThreatListDescriptor> o) {
+checkUnnamed1005(core.List<api.ThreatListDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatListDescriptor(o[0]);
checkThreatListDescriptor(o[1]);
@@ -340,7 +342,7 @@
var o = new api.ListThreatListsResponse();
buildCounterListThreatListsResponse++;
if (buildCounterListThreatListsResponse < 3) {
- o.threatLists = buildUnnamed979();
+ o.threatLists = buildUnnamed1005();
}
buildCounterListThreatListsResponse--;
return o;
@@ -349,7 +351,7 @@
checkListThreatListsResponse(api.ListThreatListsResponse o) {
buildCounterListThreatListsResponse++;
if (buildCounterListThreatListsResponse < 3) {
- checkUnnamed979(o.threatLists);
+ checkUnnamed1005(o.threatLists);
}
buildCounterListThreatListsResponse--;
}
@@ -381,27 +383,27 @@
buildCounterListUpdateRequest--;
}
-buildUnnamed980() {
+buildUnnamed1006() {
var o = new core.List<api.ThreatEntrySet>();
o.add(buildThreatEntrySet());
o.add(buildThreatEntrySet());
return o;
}
-checkUnnamed980(core.List<api.ThreatEntrySet> o) {
+checkUnnamed1006(core.List<api.ThreatEntrySet> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntrySet(o[0]);
checkThreatEntrySet(o[1]);
}
-buildUnnamed981() {
+buildUnnamed1007() {
var o = new core.List<api.ThreatEntrySet>();
o.add(buildThreatEntrySet());
o.add(buildThreatEntrySet());
return o;
}
-checkUnnamed981(core.List<api.ThreatEntrySet> o) {
+checkUnnamed1007(core.List<api.ThreatEntrySet> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntrySet(o[0]);
checkThreatEntrySet(o[1]);
@@ -412,11 +414,11 @@
var o = new api.ListUpdateResponse();
buildCounterListUpdateResponse++;
if (buildCounterListUpdateResponse < 3) {
- o.additions = buildUnnamed980();
+ o.additions = buildUnnamed1006();
o.checksum = buildChecksum();
o.newClientState = "foo";
o.platformType = "foo";
- o.removals = buildUnnamed981();
+ o.removals = buildUnnamed1007();
o.responseType = "foo";
o.threatEntryType = "foo";
o.threatType = "foo";
@@ -428,11 +430,11 @@
checkListUpdateResponse(api.ListUpdateResponse o) {
buildCounterListUpdateResponse++;
if (buildCounterListUpdateResponse < 3) {
- checkUnnamed980(o.additions);
+ checkUnnamed1006(o.additions);
checkChecksum(o.checksum);
unittest.expect(o.newClientState, unittest.equals('foo'));
unittest.expect(o.platformType, unittest.equals('foo'));
- checkUnnamed981(o.removals);
+ checkUnnamed1007(o.removals);
unittest.expect(o.responseType, unittest.equals('foo'));
unittest.expect(o.threatEntryType, unittest.equals('foo'));
unittest.expect(o.threatType, unittest.equals('foo'));
@@ -482,14 +484,14 @@
buildCounterRawHashes--;
}
-buildUnnamed982() {
+buildUnnamed1008() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed982(core.List<core.int> o) {
+checkUnnamed1008(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -500,7 +502,7 @@
var o = new api.RawIndices();
buildCounterRawIndices++;
if (buildCounterRawIndices < 3) {
- o.indices = buildUnnamed982();
+ o.indices = buildUnnamed1008();
}
buildCounterRawIndices--;
return o;
@@ -509,7 +511,7 @@
checkRawIndices(api.RawIndices o) {
buildCounterRawIndices++;
if (buildCounterRawIndices < 3) {
- checkUnnamed982(o.indices);
+ checkUnnamed1008(o.indices);
}
buildCounterRawIndices--;
}
@@ -562,14 +564,14 @@
buildCounterThreatEntry--;
}
-buildUnnamed983() {
+buildUnnamed1009() {
var o = new core.List<api.MetadataEntry>();
o.add(buildMetadataEntry());
o.add(buildMetadataEntry());
return o;
}
-checkUnnamed983(core.List<api.MetadataEntry> o) {
+checkUnnamed1009(core.List<api.MetadataEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataEntry(o[0]);
checkMetadataEntry(o[1]);
@@ -580,7 +582,7 @@
var o = new api.ThreatEntryMetadata();
buildCounterThreatEntryMetadata++;
if (buildCounterThreatEntryMetadata < 3) {
- o.entries = buildUnnamed983();
+ o.entries = buildUnnamed1009();
}
buildCounterThreatEntryMetadata--;
return o;
@@ -589,7 +591,7 @@
checkThreatEntryMetadata(api.ThreatEntryMetadata o) {
buildCounterThreatEntryMetadata++;
if (buildCounterThreatEntryMetadata < 3) {
- checkUnnamed983(o.entries);
+ checkUnnamed1009(o.entries);
}
buildCounterThreatEntryMetadata--;
}
@@ -621,53 +623,53 @@
buildCounterThreatEntrySet--;
}
-buildUnnamed984() {
+buildUnnamed1010() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed984(core.List<core.String> o) {
+checkUnnamed1010(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed985() {
+buildUnnamed1011() {
var o = new core.List<api.ThreatEntry>();
o.add(buildThreatEntry());
o.add(buildThreatEntry());
return o;
}
-checkUnnamed985(core.List<api.ThreatEntry> o) {
+checkUnnamed1011(core.List<api.ThreatEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntry(o[0]);
checkThreatEntry(o[1]);
}
-buildUnnamed986() {
+buildUnnamed1012() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed986(core.List<core.String> o) {
+checkUnnamed1012(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed987() {
+buildUnnamed1013() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed987(core.List<core.String> o) {
+checkUnnamed1013(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -678,10 +680,10 @@
var o = new api.ThreatInfo();
buildCounterThreatInfo++;
if (buildCounterThreatInfo < 3) {
- o.platformTypes = buildUnnamed984();
- o.threatEntries = buildUnnamed985();
- o.threatEntryTypes = buildUnnamed986();
- o.threatTypes = buildUnnamed987();
+ o.platformTypes = buildUnnamed1010();
+ o.threatEntries = buildUnnamed1011();
+ o.threatEntryTypes = buildUnnamed1012();
+ o.threatTypes = buildUnnamed1013();
}
buildCounterThreatInfo--;
return o;
@@ -690,10 +692,10 @@
checkThreatInfo(api.ThreatInfo o) {
buildCounterThreatInfo++;
if (buildCounterThreatInfo < 3) {
- checkUnnamed984(o.platformTypes);
- checkUnnamed985(o.threatEntries);
- checkUnnamed986(o.threatEntryTypes);
- checkUnnamed987(o.threatTypes);
+ checkUnnamed1010(o.platformTypes);
+ checkUnnamed1011(o.threatEntries);
+ checkUnnamed1012(o.threatEntryTypes);
+ checkUnnamed1013(o.threatTypes);
}
buildCounterThreatInfo--;
}
@@ -950,6 +952,116 @@
});
+ unittest.group("resource-EncodedFullHashesResourceApi", () {
+ unittest.test("method--get", () {
+
+ var mock = new HttpServerMock();
+ api.EncodedFullHashesResourceApi res = new api.SafebrowsingApi(mock).encodedFullHashes;
+ var arg_encodedRequest = "foo";
+ var arg_clientId = "foo";
+ var arg_clientVersion = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.equals("v4/encodedFullHashes/"));
+ pathOffset += 21;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_encodedRequest"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["clientId"].first, unittest.equals(arg_clientId));
+ unittest.expect(queryMap["clientVersion"].first, unittest.equals(arg_clientVersion));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildFindFullHashesResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.get(arg_encodedRequest, clientId: arg_clientId, clientVersion: arg_clientVersion).then(unittest.expectAsync(((api.FindFullHashesResponse response) {
+ checkFindFullHashesResponse(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-EncodedUpdatesResourceApi", () {
+ unittest.test("method--get", () {
+
+ var mock = new HttpServerMock();
+ api.EncodedUpdatesResourceApi res = new api.SafebrowsingApi(mock).encodedUpdates;
+ var arg_encodedRequest = "foo";
+ var arg_clientVersion = "foo";
+ var arg_clientId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("v4/encodedUpdates/"));
+ pathOffset += 18;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_encodedRequest"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["clientVersion"].first, unittest.equals(arg_clientVersion));
+ unittest.expect(queryMap["clientId"].first, unittest.equals(arg_clientId));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildFetchThreatListUpdatesResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.get(arg_encodedRequest, clientVersion: arg_clientVersion, clientId: arg_clientId).then(unittest.expectAsync(((api.FetchThreatListUpdatesResponse response) {
+ checkFetchThreatListUpdatesResponse(response);
+ })));
+ });
+
+ });
+
+
unittest.group("resource-FullHashesResourceApi", () {
unittest.test("method--find", () {
diff --git a/generated/googleapis/test/script/v1_test.dart b/generated/googleapis/test/script/v1_test.dart
index e03b594..3b0d77c 100644
--- a/generated/googleapis/test/script/v1_test.dart
+++ b/generated/googleapis/test/script/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed702() {
+buildUnnamed723() {
var o = new core.List<api.ScriptStackTraceElement>();
o.add(buildScriptStackTraceElement());
o.add(buildScriptStackTraceElement());
return o;
}
-checkUnnamed702(core.List<api.ScriptStackTraceElement> o) {
+checkUnnamed723(core.List<api.ScriptStackTraceElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkScriptStackTraceElement(o[0]);
checkScriptStackTraceElement(o[1]);
@@ -71,7 +71,7 @@
if (buildCounterExecutionError < 3) {
o.errorMessage = "foo";
o.errorType = "foo";
- o.scriptStackTraceElements = buildUnnamed702();
+ o.scriptStackTraceElements = buildUnnamed723();
}
buildCounterExecutionError--;
return o;
@@ -82,19 +82,19 @@
if (buildCounterExecutionError < 3) {
unittest.expect(o.errorMessage, unittest.equals('foo'));
unittest.expect(o.errorType, unittest.equals('foo'));
- checkUnnamed702(o.scriptStackTraceElements);
+ checkUnnamed723(o.scriptStackTraceElements);
}
buildCounterExecutionError--;
}
-buildUnnamed703() {
+buildUnnamed724() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed703(core.List<core.Object> o) {
+checkUnnamed724(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) 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[1]) 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'));
@@ -107,7 +107,7 @@
if (buildCounterExecutionRequest < 3) {
o.devMode = true;
o.function = "foo";
- o.parameters = buildUnnamed703();
+ o.parameters = buildUnnamed724();
o.sessionState = "foo";
}
buildCounterExecutionRequest--;
@@ -119,7 +119,7 @@
if (buildCounterExecutionRequest < 3) {
unittest.expect(o.devMode, unittest.isTrue);
unittest.expect(o.function, unittest.equals('foo'));
- checkUnnamed703(o.parameters);
+ checkUnnamed724(o.parameters);
unittest.expect(o.sessionState, unittest.equals('foo'));
}
buildCounterExecutionRequest--;
@@ -144,27 +144,27 @@
buildCounterExecutionResponse--;
}
-buildUnnamed704() {
+buildUnnamed725() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed704(core.Map<core.String, core.Object> o) {
+checkUnnamed725(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted4 = (o["x"]) 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'));
var casted5 = (o["y"]) 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'));
}
-buildUnnamed705() {
+buildUnnamed726() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed705(core.Map<core.String, core.Object> o) {
+checkUnnamed726(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted6 = (o["x"]) 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'));
var casted7 = (o["y"]) 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'));
@@ -177,9 +177,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed704();
+ o.metadata = buildUnnamed725();
o.name = "foo";
- o.response = buildUnnamed705();
+ o.response = buildUnnamed726();
}
buildCounterOperation--;
return o;
@@ -190,9 +190,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed704(o.metadata);
+ checkUnnamed725(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed705(o.response);
+ checkUnnamed726(o.response);
}
buildCounterOperation--;
}
@@ -218,30 +218,30 @@
buildCounterScriptStackTraceElement--;
}
-buildUnnamed706() {
+buildUnnamed727() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed706(core.Map<core.String, core.Object> o) {
+checkUnnamed727(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted8 = (o["x"]) 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'));
var casted9 = (o["y"]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
}
-buildUnnamed707() {
+buildUnnamed728() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed706());
- o.add(buildUnnamed706());
+ o.add(buildUnnamed727());
+ o.add(buildUnnamed727());
return o;
}
-checkUnnamed707(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed728(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed706(o[0]);
- checkUnnamed706(o[1]);
+ checkUnnamed727(o[0]);
+ checkUnnamed727(o[1]);
}
core.int buildCounterStatus = 0;
@@ -250,7 +250,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed707();
+ o.details = buildUnnamed728();
o.message = "foo";
}
buildCounterStatus--;
@@ -261,7 +261,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed707(o.details);
+ checkUnnamed728(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
diff --git a/generated/googleapis/test/searchconsole/v1_test.dart b/generated/googleapis/test/searchconsole/v1_test.dart
index c9159eb..1e84469 100644
--- a/generated/googleapis/test/searchconsole/v1_test.dart
+++ b/generated/googleapis/test/searchconsole/v1_test.dart
@@ -150,27 +150,27 @@
buildCounterRunMobileFriendlyTestRequest--;
}
-buildUnnamed1107() {
+buildUnnamed1138() {
var o = new core.List<api.MobileFriendlyIssue>();
o.add(buildMobileFriendlyIssue());
o.add(buildMobileFriendlyIssue());
return o;
}
-checkUnnamed1107(core.List<api.MobileFriendlyIssue> o) {
+checkUnnamed1138(core.List<api.MobileFriendlyIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileFriendlyIssue(o[0]);
checkMobileFriendlyIssue(o[1]);
}
-buildUnnamed1108() {
+buildUnnamed1139() {
var o = new core.List<api.ResourceIssue>();
o.add(buildResourceIssue());
o.add(buildResourceIssue());
return o;
}
-checkUnnamed1108(core.List<api.ResourceIssue> o) {
+checkUnnamed1139(core.List<api.ResourceIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceIssue(o[0]);
checkResourceIssue(o[1]);
@@ -182,8 +182,8 @@
buildCounterRunMobileFriendlyTestResponse++;
if (buildCounterRunMobileFriendlyTestResponse < 3) {
o.mobileFriendliness = "foo";
- o.mobileFriendlyIssues = buildUnnamed1107();
- o.resourceIssues = buildUnnamed1108();
+ o.mobileFriendlyIssues = buildUnnamed1138();
+ o.resourceIssues = buildUnnamed1139();
o.screenshot = buildImage();
o.testStatus = buildTestStatus();
}
@@ -195,8 +195,8 @@
buildCounterRunMobileFriendlyTestResponse++;
if (buildCounterRunMobileFriendlyTestResponse < 3) {
unittest.expect(o.mobileFriendliness, unittest.equals('foo'));
- checkUnnamed1107(o.mobileFriendlyIssues);
- checkUnnamed1108(o.resourceIssues);
+ checkUnnamed1138(o.mobileFriendlyIssues);
+ checkUnnamed1139(o.resourceIssues);
checkImage(o.screenshot);
checkTestStatus(o.testStatus);
}
diff --git a/generated/googleapis/test/servicecontrol/v1_test.dart b/generated/googleapis/test/servicecontrol/v1_test.dart
index faa9efb..6ae69ea 100644
--- a/generated/googleapis/test/servicecontrol/v1_test.dart
+++ b/generated/googleapis/test/servicecontrol/v1_test.dart
@@ -74,27 +74,27 @@
buildCounterAllocateQuotaRequest--;
}
-buildUnnamed1421() {
+buildUnnamed1478() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1421(core.List<api.QuotaError> o) {
+checkUnnamed1478(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
}
-buildUnnamed1422() {
+buildUnnamed1479() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1422(core.List<api.MetricValueSet> o) {
+checkUnnamed1479(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
@@ -105,9 +105,9 @@
var o = new api.AllocateQuotaResponse();
buildCounterAllocateQuotaResponse++;
if (buildCounterAllocateQuotaResponse < 3) {
- o.allocateErrors = buildUnnamed1421();
+ o.allocateErrors = buildUnnamed1478();
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1422();
+ o.quotaMetrics = buildUnnamed1479();
o.serviceConfigId = "foo";
}
buildCounterAllocateQuotaResponse--;
@@ -117,61 +117,61 @@
checkAllocateQuotaResponse(api.AllocateQuotaResponse o) {
buildCounterAllocateQuotaResponse++;
if (buildCounterAllocateQuotaResponse < 3) {
- checkUnnamed1421(o.allocateErrors);
+ checkUnnamed1478(o.allocateErrors);
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1422(o.quotaMetrics);
+ checkUnnamed1479(o.quotaMetrics);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterAllocateQuotaResponse--;
}
-buildUnnamed1423() {
+buildUnnamed1480() {
var o = new core.List<api.AuthorizationInfo>();
o.add(buildAuthorizationInfo());
o.add(buildAuthorizationInfo());
return o;
}
-checkUnnamed1423(core.List<api.AuthorizationInfo> o) {
+checkUnnamed1480(core.List<api.AuthorizationInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthorizationInfo(o[0]);
checkAuthorizationInfo(o[1]);
}
-buildUnnamed1424() {
+buildUnnamed1481() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1424(core.Map<core.String, core.Object> o) {
+checkUnnamed1481(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed1425() {
+buildUnnamed1482() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1425(core.Map<core.String, core.Object> o) {
+checkUnnamed1482(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed1426() {
+buildUnnamed1483() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1426(core.Map<core.String, core.Object> o) {
+checkUnnamed1483(core.Map<core.String, core.Object> 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'));
@@ -183,14 +183,14 @@
buildCounterAuditLog++;
if (buildCounterAuditLog < 3) {
o.authenticationInfo = buildAuthenticationInfo();
- o.authorizationInfo = buildUnnamed1423();
+ o.authorizationInfo = buildUnnamed1480();
o.methodName = "foo";
o.numResponseItems = "foo";
- o.request = buildUnnamed1424();
+ o.request = buildUnnamed1481();
o.requestMetadata = buildRequestMetadata();
o.resourceName = "foo";
- o.response = buildUnnamed1425();
- o.serviceData = buildUnnamed1426();
+ o.response = buildUnnamed1482();
+ o.serviceData = buildUnnamed1483();
o.serviceName = "foo";
o.status = buildStatus();
}
@@ -202,14 +202,14 @@
buildCounterAuditLog++;
if (buildCounterAuditLog < 3) {
checkAuthenticationInfo(o.authenticationInfo);
- checkUnnamed1423(o.authorizationInfo);
+ checkUnnamed1480(o.authorizationInfo);
unittest.expect(o.methodName, unittest.equals('foo'));
unittest.expect(o.numResponseItems, unittest.equals('foo'));
- checkUnnamed1424(o.request);
+ checkUnnamed1481(o.request);
checkRequestMetadata(o.requestMetadata);
unittest.expect(o.resourceName, unittest.equals('foo'));
- checkUnnamed1425(o.response);
- checkUnnamed1426(o.serviceData);
+ checkUnnamed1482(o.response);
+ checkUnnamed1483(o.serviceData);
unittest.expect(o.serviceName, unittest.equals('foo'));
checkStatus(o.status);
}
@@ -281,14 +281,14 @@
buildCounterCheckError--;
}
-buildUnnamed1427() {
+buildUnnamed1484() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1427(core.List<core.String> o) {
+checkUnnamed1484(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -299,7 +299,7 @@
var o = new api.CheckInfo();
buildCounterCheckInfo++;
if (buildCounterCheckInfo < 3) {
- o.unusedArguments = buildUnnamed1427();
+ o.unusedArguments = buildUnnamed1484();
}
buildCounterCheckInfo--;
return o;
@@ -308,7 +308,7 @@
checkCheckInfo(api.CheckInfo o) {
buildCounterCheckInfo++;
if (buildCounterCheckInfo < 3) {
- checkUnnamed1427(o.unusedArguments);
+ checkUnnamed1484(o.unusedArguments);
}
buildCounterCheckInfo--;
}
@@ -338,14 +338,14 @@
buildCounterCheckRequest--;
}
-buildUnnamed1428() {
+buildUnnamed1485() {
var o = new core.List<api.CheckError>();
o.add(buildCheckError());
o.add(buildCheckError());
return o;
}
-checkUnnamed1428(core.List<api.CheckError> o) {
+checkUnnamed1485(core.List<api.CheckError> o) {
unittest.expect(o, unittest.hasLength(2));
checkCheckError(o[0]);
checkCheckError(o[1]);
@@ -356,7 +356,7 @@
var o = new api.CheckResponse();
buildCounterCheckResponse++;
if (buildCounterCheckResponse < 3) {
- o.checkErrors = buildUnnamed1428();
+ o.checkErrors = buildUnnamed1485();
o.checkInfo = buildCheckInfo();
o.operationId = "foo";
o.quotaInfo = buildQuotaInfo();
@@ -369,7 +369,7 @@
checkCheckResponse(api.CheckResponse o) {
buildCounterCheckResponse++;
if (buildCounterCheckResponse < 3) {
- checkUnnamed1428(o.checkErrors);
+ checkUnnamed1485(o.checkErrors);
checkCheckInfo(o.checkInfo);
unittest.expect(o.operationId, unittest.equals('foo'));
checkQuotaInfo(o.quotaInfo);
@@ -378,14 +378,14 @@
buildCounterCheckResponse--;
}
-buildUnnamed1429() {
+buildUnnamed1486() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1429(core.List<core.String> o) {
+checkUnnamed1486(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -396,7 +396,7 @@
var o = new api.Distribution();
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- o.bucketCounts = buildUnnamed1429();
+ o.bucketCounts = buildUnnamed1486();
o.count = "foo";
o.explicitBuckets = buildExplicitBuckets();
o.exponentialBuckets = buildExponentialBuckets();
@@ -413,7 +413,7 @@
checkDistribution(api.Distribution o) {
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- checkUnnamed1429(o.bucketCounts);
+ checkUnnamed1486(o.bucketCounts);
unittest.expect(o.count, unittest.equals('foo'));
checkExplicitBuckets(o.explicitBuckets);
checkExponentialBuckets(o.exponentialBuckets);
@@ -447,27 +447,27 @@
buildCounterEndReconciliationRequest--;
}
-buildUnnamed1430() {
+buildUnnamed1487() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1430(core.List<api.MetricValueSet> o) {
+checkUnnamed1487(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed1431() {
+buildUnnamed1488() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1431(core.List<api.QuotaError> o) {
+checkUnnamed1488(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
@@ -479,8 +479,8 @@
buildCounterEndReconciliationResponse++;
if (buildCounterEndReconciliationResponse < 3) {
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1430();
- o.reconciliationErrors = buildUnnamed1431();
+ o.quotaMetrics = buildUnnamed1487();
+ o.reconciliationErrors = buildUnnamed1488();
o.serviceConfigId = "foo";
}
buildCounterEndReconciliationResponse--;
@@ -491,21 +491,21 @@
buildCounterEndReconciliationResponse++;
if (buildCounterEndReconciliationResponse < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1430(o.quotaMetrics);
- checkUnnamed1431(o.reconciliationErrors);
+ checkUnnamed1487(o.quotaMetrics);
+ checkUnnamed1488(o.reconciliationErrors);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterEndReconciliationResponse--;
}
-buildUnnamed1432() {
+buildUnnamed1489() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1432(core.List<core.double> o) {
+checkUnnamed1489(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -516,7 +516,7 @@
var o = new api.ExplicitBuckets();
buildCounterExplicitBuckets++;
if (buildCounterExplicitBuckets < 3) {
- o.bounds = buildUnnamed1432();
+ o.bounds = buildUnnamed1489();
}
buildCounterExplicitBuckets--;
return o;
@@ -525,7 +525,7 @@
checkExplicitBuckets(api.ExplicitBuckets o) {
buildCounterExplicitBuckets++;
if (buildCounterExplicitBuckets < 3) {
- checkUnnamed1432(o.bounds);
+ checkUnnamed1489(o.bounds);
}
buildCounterExplicitBuckets--;
}
@@ -576,40 +576,40 @@
buildCounterLinearBuckets--;
}
-buildUnnamed1433() {
+buildUnnamed1490() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1433(core.Map<core.String, core.String> o) {
+checkUnnamed1490(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1434() {
+buildUnnamed1491() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1434(core.Map<core.String, core.Object> o) {
+checkUnnamed1491(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed1435() {
+buildUnnamed1492() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1435(core.Map<core.String, core.Object> o) {
+checkUnnamed1492(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
@@ -621,11 +621,11 @@
buildCounterLogEntry++;
if (buildCounterLogEntry < 3) {
o.insertId = "foo";
- o.labels = buildUnnamed1433();
+ o.labels = buildUnnamed1490();
o.name = "foo";
- o.protoPayload = buildUnnamed1434();
+ o.protoPayload = buildUnnamed1491();
o.severity = "foo";
- o.structPayload = buildUnnamed1435();
+ o.structPayload = buildUnnamed1492();
o.textPayload = "foo";
o.timestamp = "foo";
}
@@ -637,25 +637,25 @@
buildCounterLogEntry++;
if (buildCounterLogEntry < 3) {
unittest.expect(o.insertId, unittest.equals('foo'));
- checkUnnamed1433(o.labels);
+ checkUnnamed1490(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1434(o.protoPayload);
+ checkUnnamed1491(o.protoPayload);
unittest.expect(o.severity, unittest.equals('foo'));
- checkUnnamed1435(o.structPayload);
+ checkUnnamed1492(o.structPayload);
unittest.expect(o.textPayload, unittest.equals('foo'));
unittest.expect(o.timestamp, unittest.equals('foo'));
}
buildCounterLogEntry--;
}
-buildUnnamed1436() {
+buildUnnamed1493() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1436(core.Map<core.String, core.String> o) {
+checkUnnamed1493(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -671,7 +671,7 @@
o.doubleValue = 42.0;
o.endTime = "foo";
o.int64Value = "foo";
- o.labels = buildUnnamed1436();
+ o.labels = buildUnnamed1493();
o.moneyValue = buildMoney();
o.startTime = "foo";
o.stringValue = "foo";
@@ -688,7 +688,7 @@
unittest.expect(o.doubleValue, unittest.equals(42.0));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.int64Value, unittest.equals('foo'));
- checkUnnamed1436(o.labels);
+ checkUnnamed1493(o.labels);
checkMoney(o.moneyValue);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.stringValue, unittest.equals('foo'));
@@ -696,14 +696,14 @@
buildCounterMetricValue--;
}
-buildUnnamed1437() {
+buildUnnamed1494() {
var o = new core.List<api.MetricValue>();
o.add(buildMetricValue());
o.add(buildMetricValue());
return o;
}
-checkUnnamed1437(core.List<api.MetricValue> o) {
+checkUnnamed1494(core.List<api.MetricValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValue(o[0]);
checkMetricValue(o[1]);
@@ -715,7 +715,7 @@
buildCounterMetricValueSet++;
if (buildCounterMetricValueSet < 3) {
o.metricName = "foo";
- o.metricValues = buildUnnamed1437();
+ o.metricValues = buildUnnamed1494();
}
buildCounterMetricValueSet--;
return o;
@@ -725,7 +725,7 @@
buildCounterMetricValueSet++;
if (buildCounterMetricValueSet < 3) {
unittest.expect(o.metricName, unittest.equals('foo'));
- checkUnnamed1437(o.metricValues);
+ checkUnnamed1494(o.metricValues);
}
buildCounterMetricValueSet--;
}
@@ -753,53 +753,53 @@
buildCounterMoney--;
}
-buildUnnamed1438() {
+buildUnnamed1495() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1438(core.Map<core.String, core.String> o) {
+checkUnnamed1495(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1439() {
+buildUnnamed1496() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed1439(core.List<api.LogEntry> o) {
+checkUnnamed1496(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
}
-buildUnnamed1440() {
+buildUnnamed1497() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1440(core.List<api.MetricValueSet> o) {
+checkUnnamed1497(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed1441() {
+buildUnnamed1498() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1441(core.Map<core.String, core.String> o) {
+checkUnnamed1498(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -813,15 +813,15 @@
o.consumerId = "foo";
o.endTime = "foo";
o.importance = "foo";
- o.labels = buildUnnamed1438();
- o.logEntries = buildUnnamed1439();
- o.metricValueSets = buildUnnamed1440();
+ o.labels = buildUnnamed1495();
+ o.logEntries = buildUnnamed1496();
+ o.metricValueSets = buildUnnamed1497();
o.operationId = "foo";
o.operationName = "foo";
o.quotaProperties = buildQuotaProperties();
o.resourceContainer = "foo";
o.startTime = "foo";
- o.userLabels = buildUnnamed1441();
+ o.userLabels = buildUnnamed1498();
}
buildCounterOperation--;
return o;
@@ -833,15 +833,15 @@
unittest.expect(o.consumerId, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.importance, unittest.equals('foo'));
- checkUnnamed1438(o.labels);
- checkUnnamed1439(o.logEntries);
- checkUnnamed1440(o.metricValueSets);
+ checkUnnamed1495(o.labels);
+ checkUnnamed1496(o.logEntries);
+ checkUnnamed1497(o.metricValueSets);
unittest.expect(o.operationId, unittest.equals('foo'));
unittest.expect(o.operationName, unittest.equals('foo'));
checkQuotaProperties(o.quotaProperties);
unittest.expect(o.resourceContainer, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
- checkUnnamed1441(o.userLabels);
+ checkUnnamed1498(o.userLabels);
}
buildCounterOperation--;
}
@@ -869,40 +869,40 @@
buildCounterQuotaError--;
}
-buildUnnamed1442() {
+buildUnnamed1499() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1442(core.List<core.String> o) {
+checkUnnamed1499(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1443() {
+buildUnnamed1500() {
var o = new core.Map<core.String, core.int>();
o["x"] = 42;
o["y"] = 42;
return o;
}
-checkUnnamed1443(core.Map<core.String, core.int> o) {
+checkUnnamed1500(core.Map<core.String, core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42));
unittest.expect(o["y"], unittest.equals(42));
}
-buildUnnamed1444() {
+buildUnnamed1501() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1444(core.List<api.MetricValueSet> o) {
+checkUnnamed1501(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
@@ -913,9 +913,9 @@
var o = new api.QuotaInfo();
buildCounterQuotaInfo++;
if (buildCounterQuotaInfo < 3) {
- o.limitExceeded = buildUnnamed1442();
- o.quotaConsumed = buildUnnamed1443();
- o.quotaMetrics = buildUnnamed1444();
+ o.limitExceeded = buildUnnamed1499();
+ o.quotaConsumed = buildUnnamed1500();
+ o.quotaMetrics = buildUnnamed1501();
}
buildCounterQuotaInfo--;
return o;
@@ -924,34 +924,34 @@
checkQuotaInfo(api.QuotaInfo o) {
buildCounterQuotaInfo++;
if (buildCounterQuotaInfo < 3) {
- checkUnnamed1442(o.limitExceeded);
- checkUnnamed1443(o.quotaConsumed);
- checkUnnamed1444(o.quotaMetrics);
+ checkUnnamed1499(o.limitExceeded);
+ checkUnnamed1500(o.quotaConsumed);
+ checkUnnamed1501(o.quotaMetrics);
}
buildCounterQuotaInfo--;
}
-buildUnnamed1445() {
+buildUnnamed1502() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1445(core.Map<core.String, core.String> o) {
+checkUnnamed1502(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1446() {
+buildUnnamed1503() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1446(core.List<api.MetricValueSet> o) {
+checkUnnamed1503(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
@@ -963,10 +963,10 @@
buildCounterQuotaOperation++;
if (buildCounterQuotaOperation < 3) {
o.consumerId = "foo";
- o.labels = buildUnnamed1445();
+ o.labels = buildUnnamed1502();
o.methodName = "foo";
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1446();
+ o.quotaMetrics = buildUnnamed1503();
o.quotaMode = "foo";
}
buildCounterQuotaOperation--;
@@ -977,23 +977,23 @@
buildCounterQuotaOperation++;
if (buildCounterQuotaOperation < 3) {
unittest.expect(o.consumerId, unittest.equals('foo'));
- checkUnnamed1445(o.labels);
+ checkUnnamed1502(o.labels);
unittest.expect(o.methodName, unittest.equals('foo'));
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1446(o.quotaMetrics);
+ checkUnnamed1503(o.quotaMetrics);
unittest.expect(o.quotaMode, unittest.equals('foo'));
}
buildCounterQuotaOperation--;
}
-buildUnnamed1447() {
+buildUnnamed1504() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1447(core.Map<core.String, core.String> o) {
+checkUnnamed1504(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1004,7 +1004,7 @@
var o = new api.QuotaProperties();
buildCounterQuotaProperties++;
if (buildCounterQuotaProperties < 3) {
- o.limitByIds = buildUnnamed1447();
+ o.limitByIds = buildUnnamed1504();
o.quotaMode = "foo";
}
buildCounterQuotaProperties--;
@@ -1014,7 +1014,7 @@
checkQuotaProperties(api.QuotaProperties o) {
buildCounterQuotaProperties++;
if (buildCounterQuotaProperties < 3) {
- checkUnnamed1447(o.limitByIds);
+ checkUnnamed1504(o.limitByIds);
unittest.expect(o.quotaMode, unittest.equals('foo'));
}
buildCounterQuotaProperties--;
@@ -1041,27 +1041,27 @@
buildCounterReleaseQuotaRequest--;
}
-buildUnnamed1448() {
+buildUnnamed1505() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1448(core.List<api.MetricValueSet> o) {
+checkUnnamed1505(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed1449() {
+buildUnnamed1506() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1449(core.List<api.QuotaError> o) {
+checkUnnamed1506(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
@@ -1073,8 +1073,8 @@
buildCounterReleaseQuotaResponse++;
if (buildCounterReleaseQuotaResponse < 3) {
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1448();
- o.releaseErrors = buildUnnamed1449();
+ o.quotaMetrics = buildUnnamed1505();
+ o.releaseErrors = buildUnnamed1506();
o.serviceConfigId = "foo";
}
buildCounterReleaseQuotaResponse--;
@@ -1085,8 +1085,8 @@
buildCounterReleaseQuotaResponse++;
if (buildCounterReleaseQuotaResponse < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1448(o.quotaMetrics);
- checkUnnamed1449(o.releaseErrors);
+ checkUnnamed1505(o.quotaMetrics);
+ checkUnnamed1506(o.releaseErrors);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterReleaseQuotaResponse--;
@@ -1134,14 +1134,14 @@
buildCounterReportInfo--;
}
-buildUnnamed1450() {
+buildUnnamed1507() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1450(core.List<api.Operation> o) {
+checkUnnamed1507(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1152,7 +1152,7 @@
var o = new api.ReportRequest();
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- o.operations = buildUnnamed1450();
+ o.operations = buildUnnamed1507();
o.serviceConfigId = "foo";
}
buildCounterReportRequest--;
@@ -1162,33 +1162,33 @@
checkReportRequest(api.ReportRequest o) {
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- checkUnnamed1450(o.operations);
+ checkUnnamed1507(o.operations);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterReportRequest--;
}
-buildUnnamed1451() {
+buildUnnamed1508() {
var o = new core.List<api.ReportError>();
o.add(buildReportError());
o.add(buildReportError());
return o;
}
-checkUnnamed1451(core.List<api.ReportError> o) {
+checkUnnamed1508(core.List<api.ReportError> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportError(o[0]);
checkReportError(o[1]);
}
-buildUnnamed1452() {
+buildUnnamed1509() {
var o = new core.List<api.ReportInfo>();
o.add(buildReportInfo());
o.add(buildReportInfo());
return o;
}
-checkUnnamed1452(core.List<api.ReportInfo> o) {
+checkUnnamed1509(core.List<api.ReportInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportInfo(o[0]);
checkReportInfo(o[1]);
@@ -1199,8 +1199,8 @@
var o = new api.ReportResponse();
buildCounterReportResponse++;
if (buildCounterReportResponse < 3) {
- o.reportErrors = buildUnnamed1451();
- o.reportInfos = buildUnnamed1452();
+ o.reportErrors = buildUnnamed1508();
+ o.reportInfos = buildUnnamed1509();
o.serviceConfigId = "foo";
}
buildCounterReportResponse--;
@@ -1210,8 +1210,8 @@
checkReportResponse(api.ReportResponse o) {
buildCounterReportResponse++;
if (buildCounterReportResponse < 3) {
- checkUnnamed1451(o.reportErrors);
- checkUnnamed1452(o.reportInfos);
+ checkUnnamed1508(o.reportErrors);
+ checkUnnamed1509(o.reportInfos);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterReportResponse--;
@@ -1259,27 +1259,27 @@
buildCounterStartReconciliationRequest--;
}
-buildUnnamed1453() {
+buildUnnamed1510() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1453(core.List<api.MetricValueSet> o) {
+checkUnnamed1510(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed1454() {
+buildUnnamed1511() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1454(core.List<api.QuotaError> o) {
+checkUnnamed1511(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
@@ -1291,8 +1291,8 @@
buildCounterStartReconciliationResponse++;
if (buildCounterStartReconciliationResponse < 3) {
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1453();
- o.reconciliationErrors = buildUnnamed1454();
+ o.quotaMetrics = buildUnnamed1510();
+ o.reconciliationErrors = buildUnnamed1511();
o.serviceConfigId = "foo";
}
buildCounterStartReconciliationResponse--;
@@ -1303,37 +1303,37 @@
buildCounterStartReconciliationResponse++;
if (buildCounterStartReconciliationResponse < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1453(o.quotaMetrics);
- checkUnnamed1454(o.reconciliationErrors);
+ checkUnnamed1510(o.quotaMetrics);
+ checkUnnamed1511(o.reconciliationErrors);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterStartReconciliationResponse--;
}
-buildUnnamed1455() {
+buildUnnamed1512() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1455(core.Map<core.String, core.Object> o) {
+checkUnnamed1512(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed1456() {
+buildUnnamed1513() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1455());
- o.add(buildUnnamed1455());
+ o.add(buildUnnamed1512());
+ o.add(buildUnnamed1512());
return o;
}
-checkUnnamed1456(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1513(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1455(o[0]);
- checkUnnamed1455(o[1]);
+ checkUnnamed1512(o[0]);
+ checkUnnamed1512(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1342,7 +1342,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1456();
+ o.details = buildUnnamed1513();
o.message = "foo";
}
buildCounterStatus--;
@@ -1353,7 +1353,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1456(o.details);
+ checkUnnamed1513(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
diff --git a/generated/googleapis/test/servicemanagement/v1_test.dart b/generated/googleapis/test/servicemanagement/v1_test.dart
index 3170ccb..dab9d05 100644
--- a/generated/googleapis/test/servicemanagement/v1_test.dart
+++ b/generated/googleapis/test/servicemanagement/v1_test.dart
@@ -70,40 +70,40 @@
buildCounterAdvice--;
}
-buildUnnamed1024() {
+buildUnnamed1051() {
var o = new core.List<api.Method>();
o.add(buildMethod());
o.add(buildMethod());
return o;
}
-checkUnnamed1024(core.List<api.Method> o) {
+checkUnnamed1051(core.List<api.Method> o) {
unittest.expect(o, unittest.hasLength(2));
checkMethod(o[0]);
checkMethod(o[1]);
}
-buildUnnamed1025() {
+buildUnnamed1052() {
var o = new core.List<api.Mixin>();
o.add(buildMixin());
o.add(buildMixin());
return o;
}
-checkUnnamed1025(core.List<api.Mixin> o) {
+checkUnnamed1052(core.List<api.Mixin> o) {
unittest.expect(o, unittest.hasLength(2));
checkMixin(o[0]);
checkMixin(o[1]);
}
-buildUnnamed1026() {
+buildUnnamed1053() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1026(core.List<api.Option> o) {
+checkUnnamed1053(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -114,10 +114,10 @@
var o = new api.Api();
buildCounterApi++;
if (buildCounterApi < 3) {
- o.methods = buildUnnamed1024();
- o.mixins = buildUnnamed1025();
+ o.methods = buildUnnamed1051();
+ o.mixins = buildUnnamed1052();
o.name = "foo";
- o.options = buildUnnamed1026();
+ o.options = buildUnnamed1053();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
o.version = "foo";
@@ -129,10 +129,10 @@
checkApi(api.Api o) {
buildCounterApi++;
if (buildCounterApi < 3) {
- checkUnnamed1024(o.methods);
- checkUnnamed1025(o.mixins);
+ checkUnnamed1051(o.methods);
+ checkUnnamed1052(o.mixins);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1026(o.options);
+ checkUnnamed1053(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -140,27 +140,27 @@
buildCounterApi--;
}
-buildUnnamed1027() {
+buildUnnamed1054() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1027(core.List<api.AuditLogConfig> o) {
+checkUnnamed1054(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed1028() {
+buildUnnamed1055() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1028(core.List<core.String> o) {
+checkUnnamed1055(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -171,8 +171,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed1027();
- o.exemptedMembers = buildUnnamed1028();
+ o.auditLogConfigs = buildUnnamed1054();
+ o.exemptedMembers = buildUnnamed1055();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -182,21 +182,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1027(o.auditLogConfigs);
- checkUnnamed1028(o.exemptedMembers);
+ checkUnnamed1054(o.auditLogConfigs);
+ checkUnnamed1055(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1029() {
+buildUnnamed1056() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1029(core.List<core.String> o) {
+checkUnnamed1056(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -207,7 +207,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed1029();
+ o.exemptedMembers = buildUnnamed1056();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -217,7 +217,7 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1029(o.exemptedMembers);
+ checkUnnamed1056(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
@@ -269,27 +269,27 @@
buildCounterAuthRequirement--;
}
-buildUnnamed1030() {
+buildUnnamed1057() {
var o = new core.List<api.AuthProvider>();
o.add(buildAuthProvider());
o.add(buildAuthProvider());
return o;
}
-checkUnnamed1030(core.List<api.AuthProvider> o) {
+checkUnnamed1057(core.List<api.AuthProvider> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthProvider(o[0]);
checkAuthProvider(o[1]);
}
-buildUnnamed1031() {
+buildUnnamed1058() {
var o = new core.List<api.AuthenticationRule>();
o.add(buildAuthenticationRule());
o.add(buildAuthenticationRule());
return o;
}
-checkUnnamed1031(core.List<api.AuthenticationRule> o) {
+checkUnnamed1058(core.List<api.AuthenticationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthenticationRule(o[0]);
checkAuthenticationRule(o[1]);
@@ -300,8 +300,8 @@
var o = new api.Authentication();
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- o.providers = buildUnnamed1030();
- o.rules = buildUnnamed1031();
+ o.providers = buildUnnamed1057();
+ o.rules = buildUnnamed1058();
}
buildCounterAuthentication--;
return o;
@@ -310,20 +310,20 @@
checkAuthentication(api.Authentication o) {
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- checkUnnamed1030(o.providers);
- checkUnnamed1031(o.rules);
+ checkUnnamed1057(o.providers);
+ checkUnnamed1058(o.rules);
}
buildCounterAuthentication--;
}
-buildUnnamed1032() {
+buildUnnamed1059() {
var o = new core.List<api.AuthRequirement>();
o.add(buildAuthRequirement());
o.add(buildAuthRequirement());
return o;
}
-checkUnnamed1032(core.List<api.AuthRequirement> o) {
+checkUnnamed1059(core.List<api.AuthRequirement> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthRequirement(o[0]);
checkAuthRequirement(o[1]);
@@ -336,7 +336,7 @@
if (buildCounterAuthenticationRule < 3) {
o.allowWithoutCredential = true;
o.oauth = buildOAuthRequirements();
- o.requirements = buildUnnamed1032();
+ o.requirements = buildUnnamed1059();
o.selector = "foo";
}
buildCounterAuthenticationRule--;
@@ -348,7 +348,7 @@
if (buildCounterAuthenticationRule < 3) {
unittest.expect(o.allowWithoutCredential, unittest.isTrue);
checkOAuthRequirements(o.oauth);
- checkUnnamed1032(o.requirements);
+ checkUnnamed1059(o.requirements);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterAuthenticationRule--;
@@ -373,14 +373,14 @@
buildCounterAuthorizationConfig--;
}
-buildUnnamed1033() {
+buildUnnamed1060() {
var o = new core.List<api.BackendRule>();
o.add(buildBackendRule());
o.add(buildBackendRule());
return o;
}
-checkUnnamed1033(core.List<api.BackendRule> o) {
+checkUnnamed1060(core.List<api.BackendRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendRule(o[0]);
checkBackendRule(o[1]);
@@ -391,7 +391,7 @@
var o = new api.Backend();
buildCounterBackend++;
if (buildCounterBackend < 3) {
- o.rules = buildUnnamed1033();
+ o.rules = buildUnnamed1060();
}
buildCounterBackend--;
return o;
@@ -400,7 +400,7 @@
checkBackend(api.Backend o) {
buildCounterBackend++;
if (buildCounterBackend < 3) {
- checkUnnamed1033(o.rules);
+ checkUnnamed1060(o.rules);
}
buildCounterBackend--;
}
@@ -428,14 +428,14 @@
buildCounterBackendRule--;
}
-buildUnnamed1034() {
+buildUnnamed1061() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1034(core.List<core.String> o) {
+checkUnnamed1061(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -446,7 +446,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1034();
+ o.members = buildUnnamed1061();
o.role = "foo";
}
buildCounterBinding--;
@@ -456,20 +456,20 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1034(o.members);
+ checkUnnamed1061(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed1035() {
+buildUnnamed1062() {
var o = new core.List<api.ConfigChange>();
o.add(buildConfigChange());
o.add(buildConfigChange());
return o;
}
-checkUnnamed1035(core.List<api.ConfigChange> o) {
+checkUnnamed1062(core.List<api.ConfigChange> o) {
unittest.expect(o, unittest.hasLength(2));
checkConfigChange(o[0]);
checkConfigChange(o[1]);
@@ -480,7 +480,7 @@
var o = new api.ChangeReport();
buildCounterChangeReport++;
if (buildCounterChangeReport < 3) {
- o.configChanges = buildUnnamed1035();
+ o.configChanges = buildUnnamed1062();
}
buildCounterChangeReport--;
return o;
@@ -489,7 +489,7 @@
checkChangeReport(api.ChangeReport o) {
buildCounterChangeReport++;
if (buildCounterChangeReport < 3) {
- checkUnnamed1035(o.configChanges);
+ checkUnnamed1062(o.configChanges);
}
buildCounterChangeReport--;
}
@@ -511,14 +511,14 @@
buildCounterCloudAuditOptions--;
}
-buildUnnamed1036() {
+buildUnnamed1063() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1036(core.List<core.String> o) {
+checkUnnamed1063(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -534,7 +534,7 @@
o.svc = "foo";
o.sys = "foo";
o.value = "foo";
- o.values = buildUnnamed1036();
+ o.values = buildUnnamed1063();
}
buildCounterCondition--;
return o;
@@ -548,19 +548,19 @@
unittest.expect(o.svc, unittest.equals('foo'));
unittest.expect(o.sys, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
- checkUnnamed1036(o.values);
+ checkUnnamed1063(o.values);
}
buildCounterCondition--;
}
-buildUnnamed1037() {
+buildUnnamed1064() {
var o = new core.List<api.Advice>();
o.add(buildAdvice());
o.add(buildAdvice());
return o;
}
-checkUnnamed1037(core.List<api.Advice> o) {
+checkUnnamed1064(core.List<api.Advice> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvice(o[0]);
checkAdvice(o[1]);
@@ -571,7 +571,7 @@
var o = new api.ConfigChange();
buildCounterConfigChange++;
if (buildCounterConfigChange < 3) {
- o.advices = buildUnnamed1037();
+ o.advices = buildUnnamed1064();
o.changeType = "foo";
o.element = "foo";
o.newValue = "foo";
@@ -584,7 +584,7 @@
checkConfigChange(api.ConfigChange o) {
buildCounterConfigChange++;
if (buildCounterConfigChange < 3) {
- checkUnnamed1037(o.advices);
+ checkUnnamed1064(o.advices);
unittest.expect(o.changeType, unittest.equals('foo'));
unittest.expect(o.element, unittest.equals('foo'));
unittest.expect(o.newValue, unittest.equals('foo'));
@@ -635,14 +635,14 @@
buildCounterConfigRef--;
}
-buildUnnamed1038() {
+buildUnnamed1065() {
var o = new core.List<api.ConfigFile>();
o.add(buildConfigFile());
o.add(buildConfigFile());
return o;
}
-checkUnnamed1038(core.List<api.ConfigFile> o) {
+checkUnnamed1065(core.List<api.ConfigFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkConfigFile(o[0]);
checkConfigFile(o[1]);
@@ -653,7 +653,7 @@
var o = new api.ConfigSource();
buildCounterConfigSource++;
if (buildCounterConfigSource < 3) {
- o.files = buildUnnamed1038();
+ o.files = buildUnnamed1065();
o.id = "foo";
}
buildCounterConfigSource--;
@@ -663,20 +663,20 @@
checkConfigSource(api.ConfigSource o) {
buildCounterConfigSource++;
if (buildCounterConfigSource < 3) {
- checkUnnamed1038(o.files);
+ checkUnnamed1065(o.files);
unittest.expect(o.id, unittest.equals('foo'));
}
buildCounterConfigSource--;
}
-buildUnnamed1039() {
+buildUnnamed1066() {
var o = new core.List<api.ContextRule>();
o.add(buildContextRule());
o.add(buildContextRule());
return o;
}
-checkUnnamed1039(core.List<api.ContextRule> o) {
+checkUnnamed1066(core.List<api.ContextRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkContextRule(o[0]);
checkContextRule(o[1]);
@@ -687,7 +687,7 @@
var o = new api.Context();
buildCounterContext++;
if (buildCounterContext < 3) {
- o.rules = buildUnnamed1039();
+ o.rules = buildUnnamed1066();
}
buildCounterContext--;
return o;
@@ -696,32 +696,32 @@
checkContext(api.Context o) {
buildCounterContext++;
if (buildCounterContext < 3) {
- checkUnnamed1039(o.rules);
+ checkUnnamed1066(o.rules);
}
buildCounterContext--;
}
-buildUnnamed1040() {
+buildUnnamed1067() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1040(core.List<core.String> o) {
+checkUnnamed1067(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1041() {
+buildUnnamed1068() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1041(core.List<core.String> o) {
+checkUnnamed1068(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -732,8 +732,8 @@
var o = new api.ContextRule();
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- o.provided = buildUnnamed1040();
- o.requested = buildUnnamed1041();
+ o.provided = buildUnnamed1067();
+ o.requested = buildUnnamed1068();
o.selector = "foo";
}
buildCounterContextRule--;
@@ -743,8 +743,8 @@
checkContextRule(api.ContextRule o) {
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- checkUnnamed1040(o.provided);
- checkUnnamed1041(o.requested);
+ checkUnnamed1067(o.provided);
+ checkUnnamed1068(o.requested);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterContextRule--;
@@ -790,27 +790,27 @@
buildCounterCounterOptions--;
}
-buildUnnamed1042() {
+buildUnnamed1069() {
var o = new core.List<api.CustomErrorRule>();
o.add(buildCustomErrorRule());
o.add(buildCustomErrorRule());
return o;
}
-checkUnnamed1042(core.List<api.CustomErrorRule> o) {
+checkUnnamed1069(core.List<api.CustomErrorRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomErrorRule(o[0]);
checkCustomErrorRule(o[1]);
}
-buildUnnamed1043() {
+buildUnnamed1070() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1043(core.List<core.String> o) {
+checkUnnamed1070(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -821,8 +821,8 @@
var o = new api.CustomError();
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- o.rules = buildUnnamed1042();
- o.types = buildUnnamed1043();
+ o.rules = buildUnnamed1069();
+ o.types = buildUnnamed1070();
}
buildCounterCustomError--;
return o;
@@ -831,8 +831,8 @@
checkCustomError(api.CustomError o) {
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- checkUnnamed1042(o.rules);
- checkUnnamed1043(o.types);
+ checkUnnamed1069(o.rules);
+ checkUnnamed1070(o.types);
}
buildCounterCustomError--;
}
@@ -955,27 +955,27 @@
buildCounterDisableServiceRequest--;
}
-buildUnnamed1044() {
+buildUnnamed1071() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1044(core.List<api.Page> o) {
+checkUnnamed1071(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1045() {
+buildUnnamed1072() {
var o = new core.List<api.DocumentationRule>();
o.add(buildDocumentationRule());
o.add(buildDocumentationRule());
return o;
}
-checkUnnamed1045(core.List<api.DocumentationRule> o) {
+checkUnnamed1072(core.List<api.DocumentationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkDocumentationRule(o[0]);
checkDocumentationRule(o[1]);
@@ -988,8 +988,8 @@
if (buildCounterDocumentation < 3) {
o.documentationRootUrl = "foo";
o.overview = "foo";
- o.pages = buildUnnamed1044();
- o.rules = buildUnnamed1045();
+ o.pages = buildUnnamed1071();
+ o.rules = buildUnnamed1072();
o.summary = "foo";
}
buildCounterDocumentation--;
@@ -1001,8 +1001,8 @@
if (buildCounterDocumentation < 3) {
unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
unittest.expect(o.overview, unittest.equals('foo'));
- checkUnnamed1044(o.pages);
- checkUnnamed1045(o.rules);
+ checkUnnamed1071(o.pages);
+ checkUnnamed1072(o.rules);
unittest.expect(o.summary, unittest.equals('foo'));
}
buildCounterDocumentation--;
@@ -1050,40 +1050,40 @@
buildCounterEnableServiceRequest--;
}
-buildUnnamed1046() {
+buildUnnamed1073() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1046(core.List<core.String> o) {
+checkUnnamed1073(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1047() {
+buildUnnamed1074() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1047(core.List<core.String> o) {
+checkUnnamed1074(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1048() {
+buildUnnamed1075() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1048(core.List<core.String> o) {
+checkUnnamed1075(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1094,10 +1094,10 @@
var o = new api.Endpoint();
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- o.aliases = buildUnnamed1046();
+ o.aliases = buildUnnamed1073();
o.allowCors = true;
- o.apis = buildUnnamed1047();
- o.features = buildUnnamed1048();
+ o.apis = buildUnnamed1074();
+ o.features = buildUnnamed1075();
o.name = "foo";
}
buildCounterEndpoint--;
@@ -1107,36 +1107,36 @@
checkEndpoint(api.Endpoint o) {
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- checkUnnamed1046(o.aliases);
+ checkUnnamed1073(o.aliases);
unittest.expect(o.allowCors, unittest.isTrue);
- checkUnnamed1047(o.apis);
- checkUnnamed1048(o.features);
+ checkUnnamed1074(o.apis);
+ checkUnnamed1075(o.features);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterEndpoint--;
}
-buildUnnamed1049() {
+buildUnnamed1076() {
var o = new core.List<api.EnumValue>();
o.add(buildEnumValue());
o.add(buildEnumValue());
return o;
}
-checkUnnamed1049(core.List<api.EnumValue> o) {
+checkUnnamed1076(core.List<api.EnumValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnumValue(o[0]);
checkEnumValue(o[1]);
}
-buildUnnamed1050() {
+buildUnnamed1077() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1050(core.List<api.Option> o) {
+checkUnnamed1077(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1147,9 +1147,9 @@
var o = new api.Enum();
buildCounterEnum++;
if (buildCounterEnum < 3) {
- o.enumvalue = buildUnnamed1049();
+ o.enumvalue = buildUnnamed1076();
o.name = "foo";
- o.options = buildUnnamed1050();
+ o.options = buildUnnamed1077();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -1160,23 +1160,23 @@
checkEnum(api.Enum o) {
buildCounterEnum++;
if (buildCounterEnum < 3) {
- checkUnnamed1049(o.enumvalue);
+ checkUnnamed1076(o.enumvalue);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1050(o.options);
+ checkUnnamed1077(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
buildCounterEnum--;
}
-buildUnnamed1051() {
+buildUnnamed1078() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1051(core.List<api.Option> o) {
+checkUnnamed1078(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1189,7 +1189,7 @@
if (buildCounterEnumValue < 3) {
o.name = "foo";
o.number = 42;
- o.options = buildUnnamed1051();
+ o.options = buildUnnamed1078();
}
buildCounterEnumValue--;
return o;
@@ -1200,7 +1200,7 @@
if (buildCounterEnumValue < 3) {
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
- checkUnnamed1051(o.options);
+ checkUnnamed1078(o.options);
}
buildCounterEnumValue--;
}
@@ -1224,14 +1224,14 @@
buildCounterExperimental--;
}
-buildUnnamed1052() {
+buildUnnamed1079() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1052(core.List<api.Option> o) {
+checkUnnamed1079(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1249,7 +1249,7 @@
o.name = "foo";
o.number = 42;
o.oneofIndex = 42;
- o.options = buildUnnamed1052();
+ o.options = buildUnnamed1079();
o.packed = true;
o.typeUrl = "foo";
}
@@ -1267,34 +1267,76 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
unittest.expect(o.oneofIndex, unittest.equals(42));
- checkUnnamed1052(o.options);
+ checkUnnamed1079(o.options);
unittest.expect(o.packed, unittest.isTrue);
unittest.expect(o.typeUrl, unittest.equals('foo'));
}
buildCounterField--;
}
-buildUnnamed1053() {
+buildUnnamed1080() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1080(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterFlowOperationMetadata = 0;
+buildFlowOperationMetadata() {
+ var o = new api.FlowOperationMetadata();
+ buildCounterFlowOperationMetadata++;
+ if (buildCounterFlowOperationMetadata < 3) {
+ o.cancelState = "foo";
+ o.deadline = "foo";
+ o.flowName = "foo";
+ o.isPersisted = true;
+ o.resourceNames = buildUnnamed1080();
+ o.startTime = "foo";
+ }
+ buildCounterFlowOperationMetadata--;
+ return o;
+}
+
+checkFlowOperationMetadata(api.FlowOperationMetadata o) {
+ buildCounterFlowOperationMetadata++;
+ if (buildCounterFlowOperationMetadata < 3) {
+ unittest.expect(o.cancelState, unittest.equals('foo'));
+ unittest.expect(o.deadline, unittest.equals('foo'));
+ unittest.expect(o.flowName, unittest.equals('foo'));
+ unittest.expect(o.isPersisted, unittest.isTrue);
+ checkUnnamed1080(o.resourceNames);
+ unittest.expect(o.startTime, unittest.equals('foo'));
+ }
+ buildCounterFlowOperationMetadata--;
+}
+
+buildUnnamed1081() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1053(core.Map<core.String, core.Object> o) {
+checkUnnamed1081(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed1054() {
+buildUnnamed1082() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1054(core.Map<core.String, core.Object> o) {
+checkUnnamed1082(core.Map<core.String, core.Object> 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'));
@@ -1305,8 +1347,8 @@
var o = new api.GenerateConfigReportRequest();
buildCounterGenerateConfigReportRequest++;
if (buildCounterGenerateConfigReportRequest < 3) {
- o.newConfig = buildUnnamed1053();
- o.oldConfig = buildUnnamed1054();
+ o.newConfig = buildUnnamed1081();
+ o.oldConfig = buildUnnamed1082();
}
buildCounterGenerateConfigReportRequest--;
return o;
@@ -1315,33 +1357,33 @@
checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) {
buildCounterGenerateConfigReportRequest++;
if (buildCounterGenerateConfigReportRequest < 3) {
- checkUnnamed1053(o.newConfig);
- checkUnnamed1054(o.oldConfig);
+ checkUnnamed1081(o.newConfig);
+ checkUnnamed1082(o.oldConfig);
}
buildCounterGenerateConfigReportRequest--;
}
-buildUnnamed1055() {
+buildUnnamed1083() {
var o = new core.List<api.ChangeReport>();
o.add(buildChangeReport());
o.add(buildChangeReport());
return o;
}
-checkUnnamed1055(core.List<api.ChangeReport> o) {
+checkUnnamed1083(core.List<api.ChangeReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkChangeReport(o[0]);
checkChangeReport(o[1]);
}
-buildUnnamed1056() {
+buildUnnamed1084() {
var o = new core.List<api.Diagnostic>();
o.add(buildDiagnostic());
o.add(buildDiagnostic());
return o;
}
-checkUnnamed1056(core.List<api.Diagnostic> o) {
+checkUnnamed1084(core.List<api.Diagnostic> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiagnostic(o[0]);
checkDiagnostic(o[1]);
@@ -1352,8 +1394,8 @@
var o = new api.GenerateConfigReportResponse();
buildCounterGenerateConfigReportResponse++;
if (buildCounterGenerateConfigReportResponse < 3) {
- o.changeReports = buildUnnamed1055();
- o.diagnostics = buildUnnamed1056();
+ o.changeReports = buildUnnamed1083();
+ o.diagnostics = buildUnnamed1084();
o.id = "foo";
o.serviceName = "foo";
}
@@ -1364,8 +1406,8 @@
checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) {
buildCounterGenerateConfigReportResponse++;
if (buildCounterGenerateConfigReportResponse < 3) {
- checkUnnamed1055(o.changeReports);
- checkUnnamed1056(o.diagnostics);
+ checkUnnamed1083(o.changeReports);
+ checkUnnamed1084(o.diagnostics);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.serviceName, unittest.equals('foo'));
}
@@ -1389,14 +1431,14 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed1057() {
+buildUnnamed1085() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1057(core.List<api.HttpRule> o) {
+checkUnnamed1085(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -1407,7 +1449,7 @@
var o = new api.Http();
buildCounterHttp++;
if (buildCounterHttp < 3) {
- o.rules = buildUnnamed1057();
+ o.rules = buildUnnamed1085();
}
buildCounterHttp--;
return o;
@@ -1416,19 +1458,19 @@
checkHttp(api.Http o) {
buildCounterHttp++;
if (buildCounterHttp < 3) {
- checkUnnamed1057(o.rules);
+ checkUnnamed1085(o.rules);
}
buildCounterHttp--;
}
-buildUnnamed1058() {
+buildUnnamed1086() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1058(core.List<api.HttpRule> o) {
+checkUnnamed1086(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -1439,7 +1481,7 @@
var o = new api.HttpRule();
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- o.additionalBindings = buildUnnamed1058();
+ o.additionalBindings = buildUnnamed1086();
o.body = "foo";
o.custom = buildCustomHttpPattern();
o.delete = "foo";
@@ -1459,7 +1501,7 @@
checkHttpRule(api.HttpRule o) {
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- checkUnnamed1058(o.additionalBindings);
+ checkUnnamed1086(o.additionalBindings);
unittest.expect(o.body, unittest.equals('foo'));
checkCustomHttpPattern(o.custom);
unittest.expect(o.delete, unittest.equals('foo'));
@@ -1498,14 +1540,48 @@
buildCounterLabelDescriptor--;
}
-buildUnnamed1059() {
+buildUnnamed1087() {
+ var o = new core.List<api.Operation>();
+ o.add(buildOperation());
+ o.add(buildOperation());
+ return o;
+}
+
+checkUnnamed1087(core.List<api.Operation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOperation(o[0]);
+ checkOperation(o[1]);
+}
+
+core.int buildCounterListOperationsResponse = 0;
+buildListOperationsResponse() {
+ var o = new api.ListOperationsResponse();
+ buildCounterListOperationsResponse++;
+ if (buildCounterListOperationsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.operations = buildUnnamed1087();
+ }
+ buildCounterListOperationsResponse--;
+ return o;
+}
+
+checkListOperationsResponse(api.ListOperationsResponse o) {
+ buildCounterListOperationsResponse++;
+ if (buildCounterListOperationsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed1087(o.operations);
+ }
+ buildCounterListOperationsResponse--;
+}
+
+buildUnnamed1088() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed1059(core.List<api.Service> o) {
+checkUnnamed1088(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -1517,7 +1593,7 @@
buildCounterListServiceConfigsResponse++;
if (buildCounterListServiceConfigsResponse < 3) {
o.nextPageToken = "foo";
- o.serviceConfigs = buildUnnamed1059();
+ o.serviceConfigs = buildUnnamed1088();
}
buildCounterListServiceConfigsResponse--;
return o;
@@ -1527,19 +1603,19 @@
buildCounterListServiceConfigsResponse++;
if (buildCounterListServiceConfigsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1059(o.serviceConfigs);
+ checkUnnamed1088(o.serviceConfigs);
}
buildCounterListServiceConfigsResponse--;
}
-buildUnnamed1060() {
+buildUnnamed1089() {
var o = new core.List<api.Rollout>();
o.add(buildRollout());
o.add(buildRollout());
return o;
}
-checkUnnamed1060(core.List<api.Rollout> o) {
+checkUnnamed1089(core.List<api.Rollout> o) {
unittest.expect(o, unittest.hasLength(2));
checkRollout(o[0]);
checkRollout(o[1]);
@@ -1551,7 +1627,7 @@
buildCounterListServiceRolloutsResponse++;
if (buildCounterListServiceRolloutsResponse < 3) {
o.nextPageToken = "foo";
- o.rollouts = buildUnnamed1060();
+ o.rollouts = buildUnnamed1089();
}
buildCounterListServiceRolloutsResponse--;
return o;
@@ -1561,19 +1637,19 @@
buildCounterListServiceRolloutsResponse++;
if (buildCounterListServiceRolloutsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1060(o.rollouts);
+ checkUnnamed1089(o.rollouts);
}
buildCounterListServiceRolloutsResponse--;
}
-buildUnnamed1061() {
+buildUnnamed1090() {
var o = new core.List<api.ManagedService>();
o.add(buildManagedService());
o.add(buildManagedService());
return o;
}
-checkUnnamed1061(core.List<api.ManagedService> o) {
+checkUnnamed1090(core.List<api.ManagedService> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedService(o[0]);
checkManagedService(o[1]);
@@ -1585,7 +1661,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed1061();
+ o.services = buildUnnamed1090();
}
buildCounterListServicesResponse--;
return o;
@@ -1595,7 +1671,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1061(o.services);
+ checkUnnamed1090(o.services);
}
buildCounterListServicesResponse--;
}
@@ -1623,14 +1699,14 @@
buildCounterLogConfig--;
}
-buildUnnamed1062() {
+buildUnnamed1091() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1062(core.List<api.LabelDescriptor> o) {
+checkUnnamed1091(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1643,7 +1719,7 @@
if (buildCounterLogDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1062();
+ o.labels = buildUnnamed1091();
o.name = "foo";
}
buildCounterLogDescriptor--;
@@ -1655,33 +1731,33 @@
if (buildCounterLogDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1062(o.labels);
+ checkUnnamed1091(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLogDescriptor--;
}
-buildUnnamed1063() {
+buildUnnamed1092() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1063(core.List<api.LoggingDestination> o) {
+checkUnnamed1092(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
}
-buildUnnamed1064() {
+buildUnnamed1093() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1064(core.List<api.LoggingDestination> o) {
+checkUnnamed1093(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
@@ -1692,8 +1768,8 @@
var o = new api.Logging();
buildCounterLogging++;
if (buildCounterLogging < 3) {
- o.consumerDestinations = buildUnnamed1063();
- o.producerDestinations = buildUnnamed1064();
+ o.consumerDestinations = buildUnnamed1092();
+ o.producerDestinations = buildUnnamed1093();
}
buildCounterLogging--;
return o;
@@ -1702,20 +1778,20 @@
checkLogging(api.Logging o) {
buildCounterLogging++;
if (buildCounterLogging < 3) {
- checkUnnamed1063(o.consumerDestinations);
- checkUnnamed1064(o.producerDestinations);
+ checkUnnamed1092(o.consumerDestinations);
+ checkUnnamed1093(o.producerDestinations);
}
buildCounterLogging--;
}
-buildUnnamed1065() {
+buildUnnamed1094() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1065(core.List<core.String> o) {
+checkUnnamed1094(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1726,7 +1802,7 @@
var o = new api.LoggingDestination();
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- o.logs = buildUnnamed1065();
+ o.logs = buildUnnamed1094();
o.monitoredResource = "foo";
}
buildCounterLoggingDestination--;
@@ -1736,7 +1812,7 @@
checkLoggingDestination(api.LoggingDestination o) {
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- checkUnnamed1065(o.logs);
+ checkUnnamed1094(o.logs);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterLoggingDestination--;
@@ -1805,14 +1881,14 @@
buildCounterMediaUpload--;
}
-buildUnnamed1066() {
+buildUnnamed1095() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1066(core.List<api.Option> o) {
+checkUnnamed1095(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1824,7 +1900,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
o.name = "foo";
- o.options = buildUnnamed1066();
+ o.options = buildUnnamed1095();
o.requestStreaming = true;
o.requestTypeUrl = "foo";
o.responseStreaming = true;
@@ -1839,7 +1915,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1066(o.options);
+ checkUnnamed1095(o.options);
unittest.expect(o.requestStreaming, unittest.isTrue);
unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
unittest.expect(o.responseStreaming, unittest.isTrue);
@@ -1849,14 +1925,14 @@
buildCounterMethod--;
}
-buildUnnamed1067() {
+buildUnnamed1096() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1067(core.List<api.LabelDescriptor> o) {
+checkUnnamed1096(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1869,7 +1945,7 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1067();
+ o.labels = buildUnnamed1096();
o.metricKind = "foo";
o.name = "foo";
o.type = "foo";
@@ -1885,7 +1961,7 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1067(o.labels);
+ checkUnnamed1096(o.labels);
unittest.expect(o.metricKind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -1916,14 +1992,14 @@
buildCounterMixin--;
}
-buildUnnamed1068() {
+buildUnnamed1097() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1068(core.List<api.LabelDescriptor> o) {
+checkUnnamed1097(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1936,7 +2012,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1068();
+ o.labels = buildUnnamed1097();
o.name = "foo";
o.type = "foo";
}
@@ -1949,34 +2025,34 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1068(o.labels);
+ checkUnnamed1097(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed1069() {
+buildUnnamed1098() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1069(core.List<api.MonitoringDestination> o) {
+checkUnnamed1098(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
}
-buildUnnamed1070() {
+buildUnnamed1099() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1070(core.List<api.MonitoringDestination> o) {
+checkUnnamed1099(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
@@ -1987,8 +2063,8 @@
var o = new api.Monitoring();
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- o.consumerDestinations = buildUnnamed1069();
- o.producerDestinations = buildUnnamed1070();
+ o.consumerDestinations = buildUnnamed1098();
+ o.producerDestinations = buildUnnamed1099();
}
buildCounterMonitoring--;
return o;
@@ -1997,20 +2073,20 @@
checkMonitoring(api.Monitoring o) {
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- checkUnnamed1069(o.consumerDestinations);
- checkUnnamed1070(o.producerDestinations);
+ checkUnnamed1098(o.consumerDestinations);
+ checkUnnamed1099(o.producerDestinations);
}
buildCounterMonitoring--;
}
-buildUnnamed1071() {
+buildUnnamed1100() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1071(core.List<core.String> o) {
+checkUnnamed1100(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2021,7 +2097,7 @@
var o = new api.MonitoringDestination();
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- o.metrics = buildUnnamed1071();
+ o.metrics = buildUnnamed1100();
o.monitoredResource = "foo";
}
buildCounterMonitoringDestination--;
@@ -2031,7 +2107,7 @@
checkMonitoringDestination(api.MonitoringDestination o) {
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- checkUnnamed1071(o.metrics);
+ checkUnnamed1100(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterMonitoringDestination--;
@@ -2056,27 +2132,27 @@
buildCounterOAuthRequirements--;
}
-buildUnnamed1072() {
+buildUnnamed1101() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1072(core.Map<core.String, core.Object> o) {
+checkUnnamed1101(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed1073() {
+buildUnnamed1102() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1073(core.Map<core.String, core.Object> o) {
+checkUnnamed1102(core.Map<core.String, core.Object> 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'));
@@ -2089,9 +2165,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1072();
+ o.metadata = buildUnnamed1101();
o.name = "foo";
- o.response = buildUnnamed1073();
+ o.response = buildUnnamed1102();
}
buildCounterOperation--;
return o;
@@ -2102,34 +2178,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1072(o.metadata);
+ checkUnnamed1101(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1073(o.response);
+ checkUnnamed1102(o.response);
}
buildCounterOperation--;
}
-buildUnnamed1074() {
+buildUnnamed1103() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1074(core.List<core.String> o) {
+checkUnnamed1103(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1075() {
+buildUnnamed1104() {
var o = new core.List<api.Step>();
o.add(buildStep());
o.add(buildStep());
return o;
}
-checkUnnamed1075(core.List<api.Step> o) {
+checkUnnamed1104(core.List<api.Step> o) {
unittest.expect(o, unittest.hasLength(2));
checkStep(o[0]);
checkStep(o[1]);
@@ -2141,9 +2217,9 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
o.progressPercentage = 42;
- o.resourceNames = buildUnnamed1074();
+ o.resourceNames = buildUnnamed1103();
o.startTime = "foo";
- o.steps = buildUnnamed1075();
+ o.steps = buildUnnamed1104();
}
buildCounterOperationMetadata--;
return o;
@@ -2153,21 +2229,21 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
unittest.expect(o.progressPercentage, unittest.equals(42));
- checkUnnamed1074(o.resourceNames);
+ checkUnnamed1103(o.resourceNames);
unittest.expect(o.startTime, unittest.equals('foo'));
- checkUnnamed1075(o.steps);
+ checkUnnamed1104(o.steps);
}
buildCounterOperationMetadata--;
}
-buildUnnamed1076() {
+buildUnnamed1105() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1076(core.Map<core.String, core.Object> o) {
+checkUnnamed1105(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
@@ -2179,7 +2255,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
o.name = "foo";
- o.value = buildUnnamed1076();
+ o.value = buildUnnamed1105();
}
buildCounterOption--;
return o;
@@ -2189,19 +2265,19 @@
buildCounterOption++;
if (buildCounterOption < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1076(o.value);
+ checkUnnamed1105(o.value);
}
buildCounterOption--;
}
-buildUnnamed1077() {
+buildUnnamed1106() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1077(core.List<api.Page> o) {
+checkUnnamed1106(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -2214,7 +2290,7 @@
if (buildCounterPage < 3) {
o.content = "foo";
o.name = "foo";
- o.subpages = buildUnnamed1077();
+ o.subpages = buildUnnamed1106();
}
buildCounterPage--;
return o;
@@ -2225,45 +2301,45 @@
if (buildCounterPage < 3) {
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1077(o.subpages);
+ checkUnnamed1106(o.subpages);
}
buildCounterPage--;
}
-buildUnnamed1078() {
+buildUnnamed1107() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1078(core.List<api.AuditConfig> o) {
+checkUnnamed1107(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1079() {
+buildUnnamed1108() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1079(core.List<api.Binding> o) {
+checkUnnamed1108(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
}
-buildUnnamed1080() {
+buildUnnamed1109() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed1080(core.List<api.Rule> o) {
+checkUnnamed1109(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -2274,11 +2350,11 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed1078();
- o.bindings = buildUnnamed1079();
+ o.auditConfigs = buildUnnamed1107();
+ o.bindings = buildUnnamed1108();
o.etag = "foo";
o.iamOwned = true;
- o.rules = buildUnnamed1080();
+ o.rules = buildUnnamed1109();
o.version = 42;
}
buildCounterPolicy--;
@@ -2288,11 +2364,11 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1078(o.auditConfigs);
- checkUnnamed1079(o.bindings);
+ checkUnnamed1107(o.auditConfigs);
+ checkUnnamed1108(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
- checkUnnamed1080(o.rules);
+ checkUnnamed1109(o.rules);
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
@@ -2329,66 +2405,66 @@
buildCounterRollout--;
}
-buildUnnamed1081() {
+buildUnnamed1110() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1081(core.List<api.Condition> o) {
+checkUnnamed1110(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1082() {
+buildUnnamed1111() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1082(core.List<core.String> o) {
+checkUnnamed1111(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1083() {
+buildUnnamed1112() {
var o = new core.List<api.LogConfig>();
o.add(buildLogConfig());
o.add(buildLogConfig());
return o;
}
-checkUnnamed1083(core.List<api.LogConfig> o) {
+checkUnnamed1112(core.List<api.LogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogConfig(o[0]);
checkLogConfig(o[1]);
}
-buildUnnamed1084() {
+buildUnnamed1113() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1084(core.List<core.String> o) {
+checkUnnamed1113(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1085() {
+buildUnnamed1114() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1085(core.List<core.String> o) {
+checkUnnamed1114(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2400,12 +2476,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.action = "foo";
- o.conditions = buildUnnamed1081();
+ o.conditions = buildUnnamed1110();
o.description = "foo";
- o.in_ = buildUnnamed1082();
- o.logConfig = buildUnnamed1083();
- o.notIn = buildUnnamed1084();
- o.permissions = buildUnnamed1085();
+ o.in_ = buildUnnamed1111();
+ o.logConfig = buildUnnamed1112();
+ o.notIn = buildUnnamed1113();
+ o.permissions = buildUnnamed1114();
}
buildCounterRule--;
return o;
@@ -2415,115 +2491,115 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed1081(o.conditions);
+ checkUnnamed1110(o.conditions);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1082(o.in_);
- checkUnnamed1083(o.logConfig);
- checkUnnamed1084(o.notIn);
- checkUnnamed1085(o.permissions);
+ checkUnnamed1111(o.in_);
+ checkUnnamed1112(o.logConfig);
+ checkUnnamed1113(o.notIn);
+ checkUnnamed1114(o.permissions);
}
buildCounterRule--;
}
-buildUnnamed1086() {
+buildUnnamed1115() {
var o = new core.List<api.Api>();
o.add(buildApi());
o.add(buildApi());
return o;
}
-checkUnnamed1086(core.List<api.Api> o) {
+checkUnnamed1115(core.List<api.Api> o) {
unittest.expect(o, unittest.hasLength(2));
checkApi(o[0]);
checkApi(o[1]);
}
-buildUnnamed1087() {
+buildUnnamed1116() {
var o = new core.List<api.Endpoint>();
o.add(buildEndpoint());
o.add(buildEndpoint());
return o;
}
-checkUnnamed1087(core.List<api.Endpoint> o) {
+checkUnnamed1116(core.List<api.Endpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkEndpoint(o[0]);
checkEndpoint(o[1]);
}
-buildUnnamed1088() {
+buildUnnamed1117() {
var o = new core.List<api.Enum>();
o.add(buildEnum());
o.add(buildEnum());
return o;
}
-checkUnnamed1088(core.List<api.Enum> o) {
+checkUnnamed1117(core.List<api.Enum> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnum(o[0]);
checkEnum(o[1]);
}
-buildUnnamed1089() {
+buildUnnamed1118() {
var o = new core.List<api.LogDescriptor>();
o.add(buildLogDescriptor());
o.add(buildLogDescriptor());
return o;
}
-checkUnnamed1089(core.List<api.LogDescriptor> o) {
+checkUnnamed1118(core.List<api.LogDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogDescriptor(o[0]);
checkLogDescriptor(o[1]);
}
-buildUnnamed1090() {
+buildUnnamed1119() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed1090(core.List<api.MetricDescriptor> o) {
+checkUnnamed1119(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
}
-buildUnnamed1091() {
+buildUnnamed1120() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed1091(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed1120(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
}
-buildUnnamed1092() {
+buildUnnamed1121() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1092(core.List<api.Type> o) {
+checkUnnamed1121(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
}
-buildUnnamed1093() {
+buildUnnamed1122() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1093(core.List<api.Type> o) {
+checkUnnamed1122(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
@@ -2534,7 +2610,7 @@
var o = new api.Service();
buildCounterService++;
if (buildCounterService < 3) {
- o.apis = buildUnnamed1086();
+ o.apis = buildUnnamed1115();
o.authentication = buildAuthentication();
o.backend = buildBackend();
o.configVersion = 42;
@@ -2542,22 +2618,23 @@
o.control = buildControl();
o.customError = buildCustomError();
o.documentation = buildDocumentation();
- o.endpoints = buildUnnamed1087();
- o.enums = buildUnnamed1088();
+ o.endpoints = buildUnnamed1116();
+ o.enums = buildUnnamed1117();
o.experimental = buildExperimental();
o.http = buildHttp();
o.id = "foo";
o.logging = buildLogging();
- o.logs = buildUnnamed1089();
- o.metrics = buildUnnamed1090();
- o.monitoredResources = buildUnnamed1091();
+ o.logs = buildUnnamed1118();
+ o.metrics = buildUnnamed1119();
+ o.monitoredResources = buildUnnamed1120();
o.monitoring = buildMonitoring();
o.name = "foo";
o.producerProjectId = "foo";
+ o.sourceInfo = buildSourceInfo();
o.systemParameters = buildSystemParameters();
- o.systemTypes = buildUnnamed1092();
+ o.systemTypes = buildUnnamed1121();
o.title = "foo";
- o.types = buildUnnamed1093();
+ o.types = buildUnnamed1122();
o.usage = buildUsage();
o.visibility = buildVisibility();
}
@@ -2568,7 +2645,7 @@
checkService(api.Service o) {
buildCounterService++;
if (buildCounterService < 3) {
- checkUnnamed1086(o.apis);
+ checkUnnamed1115(o.apis);
checkAuthentication(o.authentication);
checkBackend(o.backend);
unittest.expect(o.configVersion, unittest.equals(42));
@@ -2576,22 +2653,23 @@
checkControl(o.control);
checkCustomError(o.customError);
checkDocumentation(o.documentation);
- checkUnnamed1087(o.endpoints);
- checkUnnamed1088(o.enums);
+ checkUnnamed1116(o.endpoints);
+ checkUnnamed1117(o.enums);
checkExperimental(o.experimental);
checkHttp(o.http);
unittest.expect(o.id, unittest.equals('foo'));
checkLogging(o.logging);
- checkUnnamed1089(o.logs);
- checkUnnamed1090(o.metrics);
- checkUnnamed1091(o.monitoredResources);
+ checkUnnamed1118(o.logs);
+ checkUnnamed1119(o.metrics);
+ checkUnnamed1120(o.monitoredResources);
checkMonitoring(o.monitoring);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.producerProjectId, unittest.equals('foo'));
+ checkSourceInfo(o.sourceInfo);
checkSystemParameters(o.systemParameters);
- checkUnnamed1092(o.systemTypes);
+ checkUnnamed1121(o.systemTypes);
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1093(o.types);
+ checkUnnamed1122(o.types);
checkUsage(o.usage);
checkVisibility(o.visibility);
}
@@ -2638,30 +2716,75 @@
buildCounterSourceContext--;
}
-buildUnnamed1094() {
+buildUnnamed1123() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1094(core.Map<core.String, core.Object> o) {
+checkUnnamed1123(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed1095() {
+buildUnnamed1124() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1094());
- o.add(buildUnnamed1094());
+ o.add(buildUnnamed1123());
+ o.add(buildUnnamed1123());
return o;
}
-checkUnnamed1095(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1124(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1094(o[0]);
- checkUnnamed1094(o[1]);
+ checkUnnamed1123(o[0]);
+ checkUnnamed1123(o[1]);
+}
+
+core.int buildCounterSourceInfo = 0;
+buildSourceInfo() {
+ var o = new api.SourceInfo();
+ buildCounterSourceInfo++;
+ if (buildCounterSourceInfo < 3) {
+ o.sourceFiles = buildUnnamed1124();
+ }
+ buildCounterSourceInfo--;
+ return o;
+}
+
+checkSourceInfo(api.SourceInfo o) {
+ buildCounterSourceInfo++;
+ if (buildCounterSourceInfo < 3) {
+ checkUnnamed1124(o.sourceFiles);
+ }
+ buildCounterSourceInfo--;
+}
+
+buildUnnamed1125() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
+ o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
+ return o;
+}
+
+checkUnnamed1125(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["string"], unittest.equals('foo'));
+ var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["string"], unittest.equals('foo'));
+}
+
+buildUnnamed1126() {
+ var o = new core.List<core.Map<core.String, core.Object>>();
+ o.add(buildUnnamed1125());
+ o.add(buildUnnamed1125());
+ return o;
+}
+
+checkUnnamed1126(core.List<core.Map<core.String, core.Object>> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUnnamed1125(o[0]);
+ checkUnnamed1125(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2670,7 +2793,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1095();
+ o.details = buildUnnamed1126();
o.message = "foo";
}
buildCounterStatus--;
@@ -2681,7 +2804,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1095(o.details);
+ checkUnnamed1126(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2771,14 +2894,14 @@
buildCounterSystemParameter--;
}
-buildUnnamed1096() {
+buildUnnamed1127() {
var o = new core.List<api.SystemParameter>();
o.add(buildSystemParameter());
o.add(buildSystemParameter());
return o;
}
-checkUnnamed1096(core.List<api.SystemParameter> o) {
+checkUnnamed1127(core.List<api.SystemParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameter(o[0]);
checkSystemParameter(o[1]);
@@ -2789,7 +2912,7 @@
var o = new api.SystemParameterRule();
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- o.parameters = buildUnnamed1096();
+ o.parameters = buildUnnamed1127();
o.selector = "foo";
}
buildCounterSystemParameterRule--;
@@ -2799,20 +2922,20 @@
checkSystemParameterRule(api.SystemParameterRule o) {
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- checkUnnamed1096(o.parameters);
+ checkUnnamed1127(o.parameters);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterSystemParameterRule--;
}
-buildUnnamed1097() {
+buildUnnamed1128() {
var o = new core.List<api.SystemParameterRule>();
o.add(buildSystemParameterRule());
o.add(buildSystemParameterRule());
return o;
}
-checkUnnamed1097(core.List<api.SystemParameterRule> o) {
+checkUnnamed1128(core.List<api.SystemParameterRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameterRule(o[0]);
checkSystemParameterRule(o[1]);
@@ -2823,7 +2946,7 @@
var o = new api.SystemParameters();
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- o.rules = buildUnnamed1097();
+ o.rules = buildUnnamed1128();
}
buildCounterSystemParameters--;
return o;
@@ -2832,19 +2955,19 @@
checkSystemParameters(api.SystemParameters o) {
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- checkUnnamed1097(o.rules);
+ checkUnnamed1128(o.rules);
}
buildCounterSystemParameters--;
}
-buildUnnamed1098() {
+buildUnnamed1129() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1098(core.List<core.String> o) {
+checkUnnamed1129(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2855,7 +2978,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1098();
+ o.permissions = buildUnnamed1129();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -2864,19 +2987,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1098(o.permissions);
+ checkUnnamed1129(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1099() {
+buildUnnamed1130() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1099(core.List<core.String> o) {
+checkUnnamed1130(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2887,7 +3010,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1099();
+ o.permissions = buildUnnamed1130();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -2896,19 +3019,19 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1099(o.permissions);
+ checkUnnamed1130(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed1100() {
+buildUnnamed1131() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed1100(core.Map<core.String, core.double> o) {
+checkUnnamed1131(core.Map<core.String, core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42.0));
unittest.expect(o["y"], unittest.equals(42.0));
@@ -2919,7 +3042,7 @@
var o = new api.TrafficPercentStrategy();
buildCounterTrafficPercentStrategy++;
if (buildCounterTrafficPercentStrategy < 3) {
- o.percentages = buildUnnamed1100();
+ o.percentages = buildUnnamed1131();
}
buildCounterTrafficPercentStrategy--;
return o;
@@ -2928,45 +3051,45 @@
checkTrafficPercentStrategy(api.TrafficPercentStrategy o) {
buildCounterTrafficPercentStrategy++;
if (buildCounterTrafficPercentStrategy < 3) {
- checkUnnamed1100(o.percentages);
+ checkUnnamed1131(o.percentages);
}
buildCounterTrafficPercentStrategy--;
}
-buildUnnamed1101() {
+buildUnnamed1132() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed1101(core.List<api.Field> o) {
+checkUnnamed1132(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
}
-buildUnnamed1102() {
+buildUnnamed1133() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1102(core.List<core.String> o) {
+checkUnnamed1133(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1103() {
+buildUnnamed1134() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1103(core.List<api.Option> o) {
+checkUnnamed1134(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -2977,10 +3100,10 @@
var o = new api.Type();
buildCounterType++;
if (buildCounterType < 3) {
- o.fields = buildUnnamed1101();
+ o.fields = buildUnnamed1132();
o.name = "foo";
- o.oneofs = buildUnnamed1102();
- o.options = buildUnnamed1103();
+ o.oneofs = buildUnnamed1133();
+ o.options = buildUnnamed1134();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -2991,10 +3114,10 @@
checkType(api.Type o) {
buildCounterType++;
if (buildCounterType < 3) {
- checkUnnamed1101(o.fields);
+ checkUnnamed1132(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1102(o.oneofs);
- checkUnnamed1103(o.options);
+ checkUnnamed1133(o.oneofs);
+ checkUnnamed1134(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
@@ -3020,27 +3143,27 @@
buildCounterUndeleteServiceResponse--;
}
-buildUnnamed1104() {
+buildUnnamed1135() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1104(core.List<core.String> o) {
+checkUnnamed1135(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1105() {
+buildUnnamed1136() {
var o = new core.List<api.UsageRule>();
o.add(buildUsageRule());
o.add(buildUsageRule());
return o;
}
-checkUnnamed1105(core.List<api.UsageRule> o) {
+checkUnnamed1136(core.List<api.UsageRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageRule(o[0]);
checkUsageRule(o[1]);
@@ -3052,8 +3175,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
o.producerNotificationChannel = "foo";
- o.requirements = buildUnnamed1104();
- o.rules = buildUnnamed1105();
+ o.requirements = buildUnnamed1135();
+ o.rules = buildUnnamed1136();
}
buildCounterUsage--;
return o;
@@ -3063,8 +3186,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
- checkUnnamed1104(o.requirements);
- checkUnnamed1105(o.rules);
+ checkUnnamed1135(o.requirements);
+ checkUnnamed1136(o.rules);
}
buildCounterUsage--;
}
@@ -3090,14 +3213,14 @@
buildCounterUsageRule--;
}
-buildUnnamed1106() {
+buildUnnamed1137() {
var o = new core.List<api.VisibilityRule>();
o.add(buildVisibilityRule());
o.add(buildVisibilityRule());
return o;
}
-checkUnnamed1106(core.List<api.VisibilityRule> o) {
+checkUnnamed1137(core.List<api.VisibilityRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkVisibilityRule(o[0]);
checkVisibilityRule(o[1]);
@@ -3108,7 +3231,7 @@
var o = new api.Visibility();
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- o.rules = buildUnnamed1106();
+ o.rules = buildUnnamed1137();
}
buildCounterVisibility--;
return o;
@@ -3117,7 +3240,7 @@
checkVisibility(api.Visibility o) {
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- checkUnnamed1106(o.rules);
+ checkUnnamed1137(o.rules);
}
buildCounterVisibility--;
}
@@ -3487,6 +3610,15 @@
});
+ unittest.group("obj-schema-FlowOperationMetadata", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFlowOperationMetadata();
+ var od = new api.FlowOperationMetadata.fromJson(o.toJson());
+ checkFlowOperationMetadata(od);
+ });
+ });
+
+
unittest.group("obj-schema-GenerateConfigReportRequest", () {
unittest.test("to-json--from-json", () {
var o = buildGenerateConfigReportRequest();
@@ -3541,6 +3673,15 @@
});
+ unittest.group("obj-schema-ListOperationsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListOperationsResponse();
+ var od = new api.ListOperationsResponse.fromJson(o.toJson());
+ checkListOperationsResponse(od);
+ });
+ });
+
+
unittest.group("obj-schema-ListServiceConfigsResponse", () {
unittest.test("to-json--from-json", () {
var o = buildListServiceConfigsResponse();
@@ -3784,6 +3925,15 @@
});
+ unittest.group("obj-schema-SourceInfo", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSourceInfo();
+ var od = new api.SourceInfo.fromJson(o.toJson());
+ checkSourceInfo(od);
+ });
+ });
+
+
unittest.group("obj-schema-Status", () {
unittest.test("to-json--from-json", () {
var o = buildStatus();
@@ -3974,6 +4124,57 @@
})));
});
+ unittest.test("method--list", () {
+
+ var mock = new HttpServerMock();
+ api.OperationsResourceApi res = new api.ServicemanagementApi(mock).operations;
+ var arg_name = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_filter = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("v1/operations"));
+ pathOffset += 13;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListOperationsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(name: arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListOperationsResponse response) {
+ checkListOperationsResponse(response);
+ })));
+ });
+
});
@@ -4281,8 +4482,8 @@
var mock = new HttpServerMock();
api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services;
var arg_serviceName = "foo";
- var arg_view = "foo";
var arg_configId = "foo";
+ var arg_view = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4316,8 +4517,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["configId"].first, unittest.equals(arg_configId));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
var h = {
@@ -4326,7 +4527,7 @@
var resp = convert.JSON.encode(buildService());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.getConfig(arg_serviceName, view: arg_view, configId: arg_configId).then(unittest.expectAsync(((api.Service response) {
+ res.getConfig(arg_serviceName, configId: arg_configId, view: arg_view).then(unittest.expectAsync(((api.Service response) {
checkService(response);
})));
});
@@ -4384,10 +4585,10 @@
var mock = new HttpServerMock();
api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services;
+ var arg_producerProjectId = "foo";
var arg_consumerId = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_producerProjectId = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4414,10 +4615,10 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["producerProjectId"].first, unittest.equals(arg_producerProjectId));
unittest.expect(queryMap["consumerId"].first, unittest.equals(arg_consumerId));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
- unittest.expect(queryMap["producerProjectId"].first, unittest.equals(arg_producerProjectId));
var h = {
@@ -4426,7 +4627,7 @@
var resp = convert.JSON.encode(buildListServicesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(consumerId: arg_consumerId, pageToken: arg_pageToken, pageSize: arg_pageSize, producerProjectId: arg_producerProjectId).then(unittest.expectAsync(((api.ListServicesResponse response) {
+ res.list(producerProjectId: arg_producerProjectId, consumerId: arg_consumerId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListServicesResponse response) {
checkListServicesResponse(response);
})));
});
diff --git a/generated/googleapis/test/serviceuser/v1_test.dart b/generated/googleapis/test/serviceuser/v1_test.dart
index 8a0f05a..e2ff43d 100644
--- a/generated/googleapis/test/serviceuser/v1_test.dart
+++ b/generated/googleapis/test/serviceuser/v1_test.dart
@@ -51,40 +51,40 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1498() {
+buildUnnamed1555() {
var o = new core.List<api.Method>();
o.add(buildMethod());
o.add(buildMethod());
return o;
}
-checkUnnamed1498(core.List<api.Method> o) {
+checkUnnamed1555(core.List<api.Method> o) {
unittest.expect(o, unittest.hasLength(2));
checkMethod(o[0]);
checkMethod(o[1]);
}
-buildUnnamed1499() {
+buildUnnamed1556() {
var o = new core.List<api.Mixin>();
o.add(buildMixin());
o.add(buildMixin());
return o;
}
-checkUnnamed1499(core.List<api.Mixin> o) {
+checkUnnamed1556(core.List<api.Mixin> o) {
unittest.expect(o, unittest.hasLength(2));
checkMixin(o[0]);
checkMixin(o[1]);
}
-buildUnnamed1500() {
+buildUnnamed1557() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1500(core.List<api.Option> o) {
+checkUnnamed1557(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -95,10 +95,10 @@
var o = new api.Api();
buildCounterApi++;
if (buildCounterApi < 3) {
- o.methods = buildUnnamed1498();
- o.mixins = buildUnnamed1499();
+ o.methods = buildUnnamed1555();
+ o.mixins = buildUnnamed1556();
o.name = "foo";
- o.options = buildUnnamed1500();
+ o.options = buildUnnamed1557();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
o.version = "foo";
@@ -110,10 +110,10 @@
checkApi(api.Api o) {
buildCounterApi++;
if (buildCounterApi < 3) {
- checkUnnamed1498(o.methods);
- checkUnnamed1499(o.mixins);
+ checkUnnamed1555(o.methods);
+ checkUnnamed1556(o.mixins);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1500(o.options);
+ checkUnnamed1557(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -167,27 +167,27 @@
buildCounterAuthRequirement--;
}
-buildUnnamed1501() {
+buildUnnamed1558() {
var o = new core.List<api.AuthProvider>();
o.add(buildAuthProvider());
o.add(buildAuthProvider());
return o;
}
-checkUnnamed1501(core.List<api.AuthProvider> o) {
+checkUnnamed1558(core.List<api.AuthProvider> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthProvider(o[0]);
checkAuthProvider(o[1]);
}
-buildUnnamed1502() {
+buildUnnamed1559() {
var o = new core.List<api.AuthenticationRule>();
o.add(buildAuthenticationRule());
o.add(buildAuthenticationRule());
return o;
}
-checkUnnamed1502(core.List<api.AuthenticationRule> o) {
+checkUnnamed1559(core.List<api.AuthenticationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthenticationRule(o[0]);
checkAuthenticationRule(o[1]);
@@ -198,8 +198,8 @@
var o = new api.Authentication();
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- o.providers = buildUnnamed1501();
- o.rules = buildUnnamed1502();
+ o.providers = buildUnnamed1558();
+ o.rules = buildUnnamed1559();
}
buildCounterAuthentication--;
return o;
@@ -208,20 +208,20 @@
checkAuthentication(api.Authentication o) {
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- checkUnnamed1501(o.providers);
- checkUnnamed1502(o.rules);
+ checkUnnamed1558(o.providers);
+ checkUnnamed1559(o.rules);
}
buildCounterAuthentication--;
}
-buildUnnamed1503() {
+buildUnnamed1560() {
var o = new core.List<api.AuthRequirement>();
o.add(buildAuthRequirement());
o.add(buildAuthRequirement());
return o;
}
-checkUnnamed1503(core.List<api.AuthRequirement> o) {
+checkUnnamed1560(core.List<api.AuthRequirement> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthRequirement(o[0]);
checkAuthRequirement(o[1]);
@@ -234,7 +234,7 @@
if (buildCounterAuthenticationRule < 3) {
o.allowWithoutCredential = true;
o.oauth = buildOAuthRequirements();
- o.requirements = buildUnnamed1503();
+ o.requirements = buildUnnamed1560();
o.selector = "foo";
}
buildCounterAuthenticationRule--;
@@ -246,7 +246,7 @@
if (buildCounterAuthenticationRule < 3) {
unittest.expect(o.allowWithoutCredential, unittest.isTrue);
checkOAuthRequirements(o.oauth);
- checkUnnamed1503(o.requirements);
+ checkUnnamed1560(o.requirements);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterAuthenticationRule--;
@@ -271,14 +271,14 @@
buildCounterAuthorizationConfig--;
}
-buildUnnamed1504() {
+buildUnnamed1561() {
var o = new core.List<api.BackendRule>();
o.add(buildBackendRule());
o.add(buildBackendRule());
return o;
}
-checkUnnamed1504(core.List<api.BackendRule> o) {
+checkUnnamed1561(core.List<api.BackendRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendRule(o[0]);
checkBackendRule(o[1]);
@@ -289,7 +289,7 @@
var o = new api.Backend();
buildCounterBackend++;
if (buildCounterBackend < 3) {
- o.rules = buildUnnamed1504();
+ o.rules = buildUnnamed1561();
}
buildCounterBackend--;
return o;
@@ -298,7 +298,7 @@
checkBackend(api.Backend o) {
buildCounterBackend++;
if (buildCounterBackend < 3) {
- checkUnnamed1504(o.rules);
+ checkUnnamed1561(o.rules);
}
buildCounterBackend--;
}
@@ -326,14 +326,14 @@
buildCounterBackendRule--;
}
-buildUnnamed1505() {
+buildUnnamed1562() {
var o = new core.List<api.ContextRule>();
o.add(buildContextRule());
o.add(buildContextRule());
return o;
}
-checkUnnamed1505(core.List<api.ContextRule> o) {
+checkUnnamed1562(core.List<api.ContextRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkContextRule(o[0]);
checkContextRule(o[1]);
@@ -344,7 +344,7 @@
var o = new api.Context();
buildCounterContext++;
if (buildCounterContext < 3) {
- o.rules = buildUnnamed1505();
+ o.rules = buildUnnamed1562();
}
buildCounterContext--;
return o;
@@ -353,32 +353,32 @@
checkContext(api.Context o) {
buildCounterContext++;
if (buildCounterContext < 3) {
- checkUnnamed1505(o.rules);
+ checkUnnamed1562(o.rules);
}
buildCounterContext--;
}
-buildUnnamed1506() {
+buildUnnamed1563() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1506(core.List<core.String> o) {
+checkUnnamed1563(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1507() {
+buildUnnamed1564() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1507(core.List<core.String> o) {
+checkUnnamed1564(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -389,8 +389,8 @@
var o = new api.ContextRule();
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- o.provided = buildUnnamed1506();
- o.requested = buildUnnamed1507();
+ o.provided = buildUnnamed1563();
+ o.requested = buildUnnamed1564();
o.selector = "foo";
}
buildCounterContextRule--;
@@ -400,8 +400,8 @@
checkContextRule(api.ContextRule o) {
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- checkUnnamed1506(o.provided);
- checkUnnamed1507(o.requested);
+ checkUnnamed1563(o.provided);
+ checkUnnamed1564(o.requested);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterContextRule--;
@@ -426,27 +426,27 @@
buildCounterControl--;
}
-buildUnnamed1508() {
+buildUnnamed1565() {
var o = new core.List<api.CustomErrorRule>();
o.add(buildCustomErrorRule());
o.add(buildCustomErrorRule());
return o;
}
-checkUnnamed1508(core.List<api.CustomErrorRule> o) {
+checkUnnamed1565(core.List<api.CustomErrorRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomErrorRule(o[0]);
checkCustomErrorRule(o[1]);
}
-buildUnnamed1509() {
+buildUnnamed1566() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1509(core.List<core.String> o) {
+checkUnnamed1566(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -457,8 +457,8 @@
var o = new api.CustomError();
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- o.rules = buildUnnamed1508();
- o.types = buildUnnamed1509();
+ o.rules = buildUnnamed1565();
+ o.types = buildUnnamed1566();
}
buildCounterCustomError--;
return o;
@@ -467,8 +467,8 @@
checkCustomError(api.CustomError o) {
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- checkUnnamed1508(o.rules);
- checkUnnamed1509(o.types);
+ checkUnnamed1565(o.rules);
+ checkUnnamed1566(o.types);
}
buildCounterCustomError--;
}
@@ -532,27 +532,27 @@
buildCounterDisableServiceRequest--;
}
-buildUnnamed1510() {
+buildUnnamed1567() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1510(core.List<api.Page> o) {
+checkUnnamed1567(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1511() {
+buildUnnamed1568() {
var o = new core.List<api.DocumentationRule>();
o.add(buildDocumentationRule());
o.add(buildDocumentationRule());
return o;
}
-checkUnnamed1511(core.List<api.DocumentationRule> o) {
+checkUnnamed1568(core.List<api.DocumentationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkDocumentationRule(o[0]);
checkDocumentationRule(o[1]);
@@ -565,8 +565,8 @@
if (buildCounterDocumentation < 3) {
o.documentationRootUrl = "foo";
o.overview = "foo";
- o.pages = buildUnnamed1510();
- o.rules = buildUnnamed1511();
+ o.pages = buildUnnamed1567();
+ o.rules = buildUnnamed1568();
o.summary = "foo";
}
buildCounterDocumentation--;
@@ -578,8 +578,8 @@
if (buildCounterDocumentation < 3) {
unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
unittest.expect(o.overview, unittest.equals('foo'));
- checkUnnamed1510(o.pages);
- checkUnnamed1511(o.rules);
+ checkUnnamed1567(o.pages);
+ checkUnnamed1568(o.rules);
unittest.expect(o.summary, unittest.equals('foo'));
}
buildCounterDocumentation--;
@@ -625,40 +625,40 @@
buildCounterEnableServiceRequest--;
}
-buildUnnamed1512() {
+buildUnnamed1569() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1512(core.List<core.String> o) {
+checkUnnamed1569(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1513() {
+buildUnnamed1570() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1513(core.List<core.String> o) {
+checkUnnamed1570(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1514() {
+buildUnnamed1571() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1514(core.List<core.String> o) {
+checkUnnamed1571(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -669,10 +669,10 @@
var o = new api.Endpoint();
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- o.aliases = buildUnnamed1512();
+ o.aliases = buildUnnamed1569();
o.allowCors = true;
- o.apis = buildUnnamed1513();
- o.features = buildUnnamed1514();
+ o.apis = buildUnnamed1570();
+ o.features = buildUnnamed1571();
o.name = "foo";
}
buildCounterEndpoint--;
@@ -682,36 +682,36 @@
checkEndpoint(api.Endpoint o) {
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- checkUnnamed1512(o.aliases);
+ checkUnnamed1569(o.aliases);
unittest.expect(o.allowCors, unittest.isTrue);
- checkUnnamed1513(o.apis);
- checkUnnamed1514(o.features);
+ checkUnnamed1570(o.apis);
+ checkUnnamed1571(o.features);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterEndpoint--;
}
-buildUnnamed1515() {
+buildUnnamed1572() {
var o = new core.List<api.EnumValue>();
o.add(buildEnumValue());
o.add(buildEnumValue());
return o;
}
-checkUnnamed1515(core.List<api.EnumValue> o) {
+checkUnnamed1572(core.List<api.EnumValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnumValue(o[0]);
checkEnumValue(o[1]);
}
-buildUnnamed1516() {
+buildUnnamed1573() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1516(core.List<api.Option> o) {
+checkUnnamed1573(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -722,9 +722,9 @@
var o = new api.Enum();
buildCounterEnum++;
if (buildCounterEnum < 3) {
- o.enumvalue = buildUnnamed1515();
+ o.enumvalue = buildUnnamed1572();
o.name = "foo";
- o.options = buildUnnamed1516();
+ o.options = buildUnnamed1573();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -735,23 +735,23 @@
checkEnum(api.Enum o) {
buildCounterEnum++;
if (buildCounterEnum < 3) {
- checkUnnamed1515(o.enumvalue);
+ checkUnnamed1572(o.enumvalue);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1516(o.options);
+ checkUnnamed1573(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
buildCounterEnum--;
}
-buildUnnamed1517() {
+buildUnnamed1574() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1517(core.List<api.Option> o) {
+checkUnnamed1574(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -764,7 +764,7 @@
if (buildCounterEnumValue < 3) {
o.name = "foo";
o.number = 42;
- o.options = buildUnnamed1517();
+ o.options = buildUnnamed1574();
}
buildCounterEnumValue--;
return o;
@@ -775,7 +775,7 @@
if (buildCounterEnumValue < 3) {
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
- checkUnnamed1517(o.options);
+ checkUnnamed1574(o.options);
}
buildCounterEnumValue--;
}
@@ -799,14 +799,14 @@
buildCounterExperimental--;
}
-buildUnnamed1518() {
+buildUnnamed1575() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1518(core.List<api.Option> o) {
+checkUnnamed1575(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -824,7 +824,7 @@
o.name = "foo";
o.number = 42;
o.oneofIndex = 42;
- o.options = buildUnnamed1518();
+ o.options = buildUnnamed1575();
o.packed = true;
o.typeUrl = "foo";
}
@@ -842,21 +842,21 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
unittest.expect(o.oneofIndex, unittest.equals(42));
- checkUnnamed1518(o.options);
+ checkUnnamed1575(o.options);
unittest.expect(o.packed, unittest.isTrue);
unittest.expect(o.typeUrl, unittest.equals('foo'));
}
buildCounterField--;
}
-buildUnnamed1519() {
+buildUnnamed1576() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1519(core.List<api.HttpRule> o) {
+checkUnnamed1576(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -867,7 +867,7 @@
var o = new api.Http();
buildCounterHttp++;
if (buildCounterHttp < 3) {
- o.rules = buildUnnamed1519();
+ o.rules = buildUnnamed1576();
}
buildCounterHttp--;
return o;
@@ -876,19 +876,19 @@
checkHttp(api.Http o) {
buildCounterHttp++;
if (buildCounterHttp < 3) {
- checkUnnamed1519(o.rules);
+ checkUnnamed1576(o.rules);
}
buildCounterHttp--;
}
-buildUnnamed1520() {
+buildUnnamed1577() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1520(core.List<api.HttpRule> o) {
+checkUnnamed1577(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -899,7 +899,7 @@
var o = new api.HttpRule();
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- o.additionalBindings = buildUnnamed1520();
+ o.additionalBindings = buildUnnamed1577();
o.body = "foo";
o.custom = buildCustomHttpPattern();
o.delete = "foo";
@@ -919,7 +919,7 @@
checkHttpRule(api.HttpRule o) {
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- checkUnnamed1520(o.additionalBindings);
+ checkUnnamed1577(o.additionalBindings);
unittest.expect(o.body, unittest.equals('foo'));
checkCustomHttpPattern(o.custom);
unittest.expect(o.delete, unittest.equals('foo'));
@@ -958,14 +958,14 @@
buildCounterLabelDescriptor--;
}
-buildUnnamed1521() {
+buildUnnamed1578() {
var o = new core.List<api.PublishedService>();
o.add(buildPublishedService());
o.add(buildPublishedService());
return o;
}
-checkUnnamed1521(core.List<api.PublishedService> o) {
+checkUnnamed1578(core.List<api.PublishedService> o) {
unittest.expect(o, unittest.hasLength(2));
checkPublishedService(o[0]);
checkPublishedService(o[1]);
@@ -977,7 +977,7 @@
buildCounterListEnabledServicesResponse++;
if (buildCounterListEnabledServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed1521();
+ o.services = buildUnnamed1578();
}
buildCounterListEnabledServicesResponse--;
return o;
@@ -987,19 +987,19 @@
buildCounterListEnabledServicesResponse++;
if (buildCounterListEnabledServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1521(o.services);
+ checkUnnamed1578(o.services);
}
buildCounterListEnabledServicesResponse--;
}
-buildUnnamed1522() {
+buildUnnamed1579() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1522(core.List<api.LabelDescriptor> o) {
+checkUnnamed1579(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1012,7 +1012,7 @@
if (buildCounterLogDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1522();
+ o.labels = buildUnnamed1579();
o.name = "foo";
}
buildCounterLogDescriptor--;
@@ -1024,33 +1024,33 @@
if (buildCounterLogDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1522(o.labels);
+ checkUnnamed1579(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLogDescriptor--;
}
-buildUnnamed1523() {
+buildUnnamed1580() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1523(core.List<api.LoggingDestination> o) {
+checkUnnamed1580(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
}
-buildUnnamed1524() {
+buildUnnamed1581() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1524(core.List<api.LoggingDestination> o) {
+checkUnnamed1581(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
@@ -1061,8 +1061,8 @@
var o = new api.Logging();
buildCounterLogging++;
if (buildCounterLogging < 3) {
- o.consumerDestinations = buildUnnamed1523();
- o.producerDestinations = buildUnnamed1524();
+ o.consumerDestinations = buildUnnamed1580();
+ o.producerDestinations = buildUnnamed1581();
}
buildCounterLogging--;
return o;
@@ -1071,20 +1071,20 @@
checkLogging(api.Logging o) {
buildCounterLogging++;
if (buildCounterLogging < 3) {
- checkUnnamed1523(o.consumerDestinations);
- checkUnnamed1524(o.producerDestinations);
+ checkUnnamed1580(o.consumerDestinations);
+ checkUnnamed1581(o.producerDestinations);
}
buildCounterLogging--;
}
-buildUnnamed1525() {
+buildUnnamed1582() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1525(core.List<core.String> o) {
+checkUnnamed1582(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1095,7 +1095,7 @@
var o = new api.LoggingDestination();
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- o.logs = buildUnnamed1525();
+ o.logs = buildUnnamed1582();
o.monitoredResource = "foo";
}
buildCounterLoggingDestination--;
@@ -1105,7 +1105,7 @@
checkLoggingDestination(api.LoggingDestination o) {
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- checkUnnamed1525(o.logs);
+ checkUnnamed1582(o.logs);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterLoggingDestination--;
@@ -1153,14 +1153,14 @@
buildCounterMediaUpload--;
}
-buildUnnamed1526() {
+buildUnnamed1583() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1526(core.List<api.Option> o) {
+checkUnnamed1583(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1172,7 +1172,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
o.name = "foo";
- o.options = buildUnnamed1526();
+ o.options = buildUnnamed1583();
o.requestStreaming = true;
o.requestTypeUrl = "foo";
o.responseStreaming = true;
@@ -1187,7 +1187,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1526(o.options);
+ checkUnnamed1583(o.options);
unittest.expect(o.requestStreaming, unittest.isTrue);
unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
unittest.expect(o.responseStreaming, unittest.isTrue);
@@ -1197,14 +1197,14 @@
buildCounterMethod--;
}
-buildUnnamed1527() {
+buildUnnamed1584() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1527(core.List<api.LabelDescriptor> o) {
+checkUnnamed1584(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1217,7 +1217,7 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1527();
+ o.labels = buildUnnamed1584();
o.metricKind = "foo";
o.name = "foo";
o.type = "foo";
@@ -1233,7 +1233,7 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1527(o.labels);
+ checkUnnamed1584(o.labels);
unittest.expect(o.metricKind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -1264,14 +1264,14 @@
buildCounterMixin--;
}
-buildUnnamed1528() {
+buildUnnamed1585() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1528(core.List<api.LabelDescriptor> o) {
+checkUnnamed1585(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1284,7 +1284,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1528();
+ o.labels = buildUnnamed1585();
o.name = "foo";
o.type = "foo";
}
@@ -1297,34 +1297,34 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1528(o.labels);
+ checkUnnamed1585(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed1529() {
+buildUnnamed1586() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1529(core.List<api.MonitoringDestination> o) {
+checkUnnamed1586(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
}
-buildUnnamed1530() {
+buildUnnamed1587() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1530(core.List<api.MonitoringDestination> o) {
+checkUnnamed1587(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
@@ -1335,8 +1335,8 @@
var o = new api.Monitoring();
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- o.consumerDestinations = buildUnnamed1529();
- o.producerDestinations = buildUnnamed1530();
+ o.consumerDestinations = buildUnnamed1586();
+ o.producerDestinations = buildUnnamed1587();
}
buildCounterMonitoring--;
return o;
@@ -1345,20 +1345,20 @@
checkMonitoring(api.Monitoring o) {
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- checkUnnamed1529(o.consumerDestinations);
- checkUnnamed1530(o.producerDestinations);
+ checkUnnamed1586(o.consumerDestinations);
+ checkUnnamed1587(o.producerDestinations);
}
buildCounterMonitoring--;
}
-buildUnnamed1531() {
+buildUnnamed1588() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1531(core.List<core.String> o) {
+checkUnnamed1588(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1369,7 +1369,7 @@
var o = new api.MonitoringDestination();
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- o.metrics = buildUnnamed1531();
+ o.metrics = buildUnnamed1588();
o.monitoredResource = "foo";
}
buildCounterMonitoringDestination--;
@@ -1379,7 +1379,7 @@
checkMonitoringDestination(api.MonitoringDestination o) {
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- checkUnnamed1531(o.metrics);
+ checkUnnamed1588(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterMonitoringDestination--;
@@ -1404,27 +1404,27 @@
buildCounterOAuthRequirements--;
}
-buildUnnamed1532() {
+buildUnnamed1589() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1532(core.Map<core.String, core.Object> o) {
+checkUnnamed1589(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed1533() {
+buildUnnamed1590() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1533(core.Map<core.String, core.Object> o) {
+checkUnnamed1590(core.Map<core.String, core.Object> 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'));
@@ -1437,9 +1437,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1532();
+ o.metadata = buildUnnamed1589();
o.name = "foo";
- o.response = buildUnnamed1533();
+ o.response = buildUnnamed1590();
}
buildCounterOperation--;
return o;
@@ -1450,21 +1450,72 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1532(o.metadata);
+ checkUnnamed1589(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1533(o.response);
+ checkUnnamed1590(o.response);
}
buildCounterOperation--;
}
-buildUnnamed1534() {
+buildUnnamed1591() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1591(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1592() {
+ var o = new core.List<api.Step>();
+ o.add(buildStep());
+ o.add(buildStep());
+ return o;
+}
+
+checkUnnamed1592(core.List<api.Step> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkStep(o[0]);
+ checkStep(o[1]);
+}
+
+core.int buildCounterOperationMetadata = 0;
+buildOperationMetadata() {
+ var o = new api.OperationMetadata();
+ buildCounterOperationMetadata++;
+ if (buildCounterOperationMetadata < 3) {
+ o.progressPercentage = 42;
+ o.resourceNames = buildUnnamed1591();
+ o.startTime = "foo";
+ o.steps = buildUnnamed1592();
+ }
+ buildCounterOperationMetadata--;
+ return o;
+}
+
+checkOperationMetadata(api.OperationMetadata o) {
+ buildCounterOperationMetadata++;
+ if (buildCounterOperationMetadata < 3) {
+ unittest.expect(o.progressPercentage, unittest.equals(42));
+ checkUnnamed1591(o.resourceNames);
+ unittest.expect(o.startTime, unittest.equals('foo'));
+ checkUnnamed1592(o.steps);
+ }
+ buildCounterOperationMetadata--;
+}
+
+buildUnnamed1593() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1534(core.Map<core.String, core.Object> o) {
+checkUnnamed1593(core.Map<core.String, core.Object> 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'));
@@ -1476,7 +1527,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
o.name = "foo";
- o.value = buildUnnamed1534();
+ o.value = buildUnnamed1593();
}
buildCounterOption--;
return o;
@@ -1486,19 +1537,19 @@
buildCounterOption++;
if (buildCounterOption < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1534(o.value);
+ checkUnnamed1593(o.value);
}
buildCounterOption--;
}
-buildUnnamed1535() {
+buildUnnamed1594() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1535(core.List<api.Page> o) {
+checkUnnamed1594(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -1511,7 +1562,7 @@
if (buildCounterPage < 3) {
o.content = "foo";
o.name = "foo";
- o.subpages = buildUnnamed1535();
+ o.subpages = buildUnnamed1594();
}
buildCounterPage--;
return o;
@@ -1522,7 +1573,7 @@
if (buildCounterPage < 3) {
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1535(o.subpages);
+ checkUnnamed1594(o.subpages);
}
buildCounterPage--;
}
@@ -1548,14 +1599,14 @@
buildCounterPublishedService--;
}
-buildUnnamed1536() {
+buildUnnamed1595() {
var o = new core.List<api.PublishedService>();
o.add(buildPublishedService());
o.add(buildPublishedService());
return o;
}
-checkUnnamed1536(core.List<api.PublishedService> o) {
+checkUnnamed1595(core.List<api.PublishedService> o) {
unittest.expect(o, unittest.hasLength(2));
checkPublishedService(o[0]);
checkPublishedService(o[1]);
@@ -1567,7 +1618,7 @@
buildCounterSearchServicesResponse++;
if (buildCounterSearchServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed1536();
+ o.services = buildUnnamed1595();
}
buildCounterSearchServicesResponse--;
return o;
@@ -1577,110 +1628,110 @@
buildCounterSearchServicesResponse++;
if (buildCounterSearchServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1536(o.services);
+ checkUnnamed1595(o.services);
}
buildCounterSearchServicesResponse--;
}
-buildUnnamed1537() {
+buildUnnamed1596() {
var o = new core.List<api.Api>();
o.add(buildApi());
o.add(buildApi());
return o;
}
-checkUnnamed1537(core.List<api.Api> o) {
+checkUnnamed1596(core.List<api.Api> o) {
unittest.expect(o, unittest.hasLength(2));
checkApi(o[0]);
checkApi(o[1]);
}
-buildUnnamed1538() {
+buildUnnamed1597() {
var o = new core.List<api.Endpoint>();
o.add(buildEndpoint());
o.add(buildEndpoint());
return o;
}
-checkUnnamed1538(core.List<api.Endpoint> o) {
+checkUnnamed1597(core.List<api.Endpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkEndpoint(o[0]);
checkEndpoint(o[1]);
}
-buildUnnamed1539() {
+buildUnnamed1598() {
var o = new core.List<api.Enum>();
o.add(buildEnum());
o.add(buildEnum());
return o;
}
-checkUnnamed1539(core.List<api.Enum> o) {
+checkUnnamed1598(core.List<api.Enum> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnum(o[0]);
checkEnum(o[1]);
}
-buildUnnamed1540() {
+buildUnnamed1599() {
var o = new core.List<api.LogDescriptor>();
o.add(buildLogDescriptor());
o.add(buildLogDescriptor());
return o;
}
-checkUnnamed1540(core.List<api.LogDescriptor> o) {
+checkUnnamed1599(core.List<api.LogDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogDescriptor(o[0]);
checkLogDescriptor(o[1]);
}
-buildUnnamed1541() {
+buildUnnamed1600() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed1541(core.List<api.MetricDescriptor> o) {
+checkUnnamed1600(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
}
-buildUnnamed1542() {
+buildUnnamed1601() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed1542(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed1601(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
}
-buildUnnamed1543() {
+buildUnnamed1602() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1543(core.List<api.Type> o) {
+checkUnnamed1602(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
}
-buildUnnamed1544() {
+buildUnnamed1603() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1544(core.List<api.Type> o) {
+checkUnnamed1603(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
@@ -1691,7 +1742,7 @@
var o = new api.Service();
buildCounterService++;
if (buildCounterService < 3) {
- o.apis = buildUnnamed1537();
+ o.apis = buildUnnamed1596();
o.authentication = buildAuthentication();
o.backend = buildBackend();
o.configVersion = 42;
@@ -1699,22 +1750,23 @@
o.control = buildControl();
o.customError = buildCustomError();
o.documentation = buildDocumentation();
- o.endpoints = buildUnnamed1538();
- o.enums = buildUnnamed1539();
+ o.endpoints = buildUnnamed1597();
+ o.enums = buildUnnamed1598();
o.experimental = buildExperimental();
o.http = buildHttp();
o.id = "foo";
o.logging = buildLogging();
- o.logs = buildUnnamed1540();
- o.metrics = buildUnnamed1541();
- o.monitoredResources = buildUnnamed1542();
+ o.logs = buildUnnamed1599();
+ o.metrics = buildUnnamed1600();
+ o.monitoredResources = buildUnnamed1601();
o.monitoring = buildMonitoring();
o.name = "foo";
o.producerProjectId = "foo";
+ o.sourceInfo = buildSourceInfo();
o.systemParameters = buildSystemParameters();
- o.systemTypes = buildUnnamed1543();
+ o.systemTypes = buildUnnamed1602();
o.title = "foo";
- o.types = buildUnnamed1544();
+ o.types = buildUnnamed1603();
o.usage = buildUsage();
o.visibility = buildVisibility();
}
@@ -1725,7 +1777,7 @@
checkService(api.Service o) {
buildCounterService++;
if (buildCounterService < 3) {
- checkUnnamed1537(o.apis);
+ checkUnnamed1596(o.apis);
checkAuthentication(o.authentication);
checkBackend(o.backend);
unittest.expect(o.configVersion, unittest.equals(42));
@@ -1733,22 +1785,23 @@
checkControl(o.control);
checkCustomError(o.customError);
checkDocumentation(o.documentation);
- checkUnnamed1538(o.endpoints);
- checkUnnamed1539(o.enums);
+ checkUnnamed1597(o.endpoints);
+ checkUnnamed1598(o.enums);
checkExperimental(o.experimental);
checkHttp(o.http);
unittest.expect(o.id, unittest.equals('foo'));
checkLogging(o.logging);
- checkUnnamed1540(o.logs);
- checkUnnamed1541(o.metrics);
- checkUnnamed1542(o.monitoredResources);
+ checkUnnamed1599(o.logs);
+ checkUnnamed1600(o.metrics);
+ checkUnnamed1601(o.monitoredResources);
checkMonitoring(o.monitoring);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.producerProjectId, unittest.equals('foo'));
+ checkSourceInfo(o.sourceInfo);
checkSystemParameters(o.systemParameters);
- checkUnnamed1543(o.systemTypes);
+ checkUnnamed1602(o.systemTypes);
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1544(o.types);
+ checkUnnamed1603(o.types);
checkUsage(o.usage);
checkVisibility(o.visibility);
}
@@ -1774,30 +1827,75 @@
buildCounterSourceContext--;
}
-buildUnnamed1545() {
+buildUnnamed1604() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1545(core.Map<core.String, core.Object> o) {
+checkUnnamed1604(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed1546() {
+buildUnnamed1605() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1545());
- o.add(buildUnnamed1545());
+ o.add(buildUnnamed1604());
+ o.add(buildUnnamed1604());
return o;
}
-checkUnnamed1546(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1605(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1545(o[0]);
- checkUnnamed1545(o[1]);
+ checkUnnamed1604(o[0]);
+ checkUnnamed1604(o[1]);
+}
+
+core.int buildCounterSourceInfo = 0;
+buildSourceInfo() {
+ var o = new api.SourceInfo();
+ buildCounterSourceInfo++;
+ if (buildCounterSourceInfo < 3) {
+ o.sourceFiles = buildUnnamed1605();
+ }
+ buildCounterSourceInfo--;
+ return o;
+}
+
+checkSourceInfo(api.SourceInfo o) {
+ buildCounterSourceInfo++;
+ if (buildCounterSourceInfo < 3) {
+ checkUnnamed1605(o.sourceFiles);
+ }
+ buildCounterSourceInfo--;
+}
+
+buildUnnamed1606() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
+ o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
+ return o;
+}
+
+checkUnnamed1606(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
+ var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
+}
+
+buildUnnamed1607() {
+ var o = new core.List<core.Map<core.String, core.Object>>();
+ o.add(buildUnnamed1606());
+ o.add(buildUnnamed1606());
+ return o;
+}
+
+checkUnnamed1607(core.List<core.Map<core.String, core.Object>> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUnnamed1606(o[0]);
+ checkUnnamed1606(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1806,7 +1904,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1546();
+ o.details = buildUnnamed1607();
o.message = "foo";
}
buildCounterStatus--;
@@ -1817,12 +1915,33 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1546(o.details);
+ checkUnnamed1607(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
+core.int buildCounterStep = 0;
+buildStep() {
+ var o = new api.Step();
+ buildCounterStep++;
+ if (buildCounterStep < 3) {
+ o.description = "foo";
+ o.status = "foo";
+ }
+ buildCounterStep--;
+ return o;
+}
+
+checkStep(api.Step o) {
+ buildCounterStep++;
+ if (buildCounterStep < 3) {
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.status, unittest.equals('foo'));
+ }
+ buildCounterStep--;
+}
+
core.int buildCounterSystemParameter = 0;
buildSystemParameter() {
var o = new api.SystemParameter();
@@ -1846,14 +1965,14 @@
buildCounterSystemParameter--;
}
-buildUnnamed1547() {
+buildUnnamed1608() {
var o = new core.List<api.SystemParameter>();
o.add(buildSystemParameter());
o.add(buildSystemParameter());
return o;
}
-checkUnnamed1547(core.List<api.SystemParameter> o) {
+checkUnnamed1608(core.List<api.SystemParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameter(o[0]);
checkSystemParameter(o[1]);
@@ -1864,7 +1983,7 @@
var o = new api.SystemParameterRule();
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- o.parameters = buildUnnamed1547();
+ o.parameters = buildUnnamed1608();
o.selector = "foo";
}
buildCounterSystemParameterRule--;
@@ -1874,20 +1993,20 @@
checkSystemParameterRule(api.SystemParameterRule o) {
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- checkUnnamed1547(o.parameters);
+ checkUnnamed1608(o.parameters);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterSystemParameterRule--;
}
-buildUnnamed1548() {
+buildUnnamed1609() {
var o = new core.List<api.SystemParameterRule>();
o.add(buildSystemParameterRule());
o.add(buildSystemParameterRule());
return o;
}
-checkUnnamed1548(core.List<api.SystemParameterRule> o) {
+checkUnnamed1609(core.List<api.SystemParameterRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameterRule(o[0]);
checkSystemParameterRule(o[1]);
@@ -1898,7 +2017,7 @@
var o = new api.SystemParameters();
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- o.rules = buildUnnamed1548();
+ o.rules = buildUnnamed1609();
}
buildCounterSystemParameters--;
return o;
@@ -1907,45 +2026,45 @@
checkSystemParameters(api.SystemParameters o) {
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- checkUnnamed1548(o.rules);
+ checkUnnamed1609(o.rules);
}
buildCounterSystemParameters--;
}
-buildUnnamed1549() {
+buildUnnamed1610() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed1549(core.List<api.Field> o) {
+checkUnnamed1610(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
}
-buildUnnamed1550() {
+buildUnnamed1611() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1550(core.List<core.String> o) {
+checkUnnamed1611(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1551() {
+buildUnnamed1612() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1551(core.List<api.Option> o) {
+checkUnnamed1612(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1956,10 +2075,10 @@
var o = new api.Type();
buildCounterType++;
if (buildCounterType < 3) {
- o.fields = buildUnnamed1549();
+ o.fields = buildUnnamed1610();
o.name = "foo";
- o.oneofs = buildUnnamed1550();
- o.options = buildUnnamed1551();
+ o.oneofs = buildUnnamed1611();
+ o.options = buildUnnamed1612();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -1970,37 +2089,37 @@
checkType(api.Type o) {
buildCounterType++;
if (buildCounterType < 3) {
- checkUnnamed1549(o.fields);
+ checkUnnamed1610(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1550(o.oneofs);
- checkUnnamed1551(o.options);
+ checkUnnamed1611(o.oneofs);
+ checkUnnamed1612(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
buildCounterType--;
}
-buildUnnamed1552() {
+buildUnnamed1613() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1552(core.List<core.String> o) {
+checkUnnamed1613(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1553() {
+buildUnnamed1614() {
var o = new core.List<api.UsageRule>();
o.add(buildUsageRule());
o.add(buildUsageRule());
return o;
}
-checkUnnamed1553(core.List<api.UsageRule> o) {
+checkUnnamed1614(core.List<api.UsageRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageRule(o[0]);
checkUsageRule(o[1]);
@@ -2012,8 +2131,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
o.producerNotificationChannel = "foo";
- o.requirements = buildUnnamed1552();
- o.rules = buildUnnamed1553();
+ o.requirements = buildUnnamed1613();
+ o.rules = buildUnnamed1614();
}
buildCounterUsage--;
return o;
@@ -2023,8 +2142,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
- checkUnnamed1552(o.requirements);
- checkUnnamed1553(o.rules);
+ checkUnnamed1613(o.requirements);
+ checkUnnamed1614(o.rules);
}
buildCounterUsage--;
}
@@ -2050,14 +2169,14 @@
buildCounterUsageRule--;
}
-buildUnnamed1554() {
+buildUnnamed1615() {
var o = new core.List<api.VisibilityRule>();
o.add(buildVisibilityRule());
o.add(buildVisibilityRule());
return o;
}
-checkUnnamed1554(core.List<api.VisibilityRule> o) {
+checkUnnamed1615(core.List<api.VisibilityRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkVisibilityRule(o[0]);
checkVisibilityRule(o[1]);
@@ -2068,7 +2187,7 @@
var o = new api.Visibility();
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- o.rules = buildUnnamed1554();
+ o.rules = buildUnnamed1615();
}
buildCounterVisibility--;
return o;
@@ -2077,7 +2196,7 @@
checkVisibility(api.Visibility o) {
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- checkUnnamed1554(o.rules);
+ checkUnnamed1615(o.rules);
}
buildCounterVisibility--;
}
@@ -2465,6 +2584,15 @@
});
+ unittest.group("obj-schema-OperationMetadata", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOperationMetadata();
+ var od = new api.OperationMetadata.fromJson(o.toJson());
+ checkOperationMetadata(od);
+ });
+ });
+
+
unittest.group("obj-schema-Option", () {
unittest.test("to-json--from-json", () {
var o = buildOption();
@@ -2519,6 +2647,15 @@
});
+ unittest.group("obj-schema-SourceInfo", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSourceInfo();
+ var od = new api.SourceInfo.fromJson(o.toJson());
+ checkSourceInfo(od);
+ });
+ });
+
+
unittest.group("obj-schema-Status", () {
unittest.test("to-json--from-json", () {
var o = buildStatus();
@@ -2528,6 +2665,15 @@
});
+ unittest.group("obj-schema-Step", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildStep();
+ var od = new api.Step.fromJson(o.toJson());
+ checkStep(od);
+ });
+ });
+
+
unittest.group("obj-schema-SystemParameter", () {
unittest.test("to-json--from-json", () {
var o = buildSystemParameter();
diff --git a/generated/googleapis/test/sheets/v4_test.dart b/generated/googleapis/test/sheets/v4_test.dart
index 8f29451..3e88172 100644
--- a/generated/googleapis/test/sheets/v4_test.dart
+++ b/generated/googleapis/test/sheets/v4_test.dart
@@ -300,14 +300,14 @@
buildCounterAddSheetResponse--;
}
-buildUnnamed358() {
+buildUnnamed379() {
var o = new core.List<api.RowData>();
o.add(buildRowData());
o.add(buildRowData());
return o;
}
-checkUnnamed358(core.List<api.RowData> o) {
+checkUnnamed379(core.List<api.RowData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRowData(o[0]);
checkRowData(o[1]);
@@ -319,7 +319,7 @@
buildCounterAppendCellsRequest++;
if (buildCounterAppendCellsRequest < 3) {
o.fields = "foo";
- o.rows = buildUnnamed358();
+ o.rows = buildUnnamed379();
o.sheetId = 42;
}
buildCounterAppendCellsRequest--;
@@ -330,7 +330,7 @@
buildCounterAppendCellsRequest++;
if (buildCounterAppendCellsRequest < 3) {
unittest.expect(o.fields, unittest.equals('foo'));
- checkUnnamed358(o.rows);
+ checkUnnamed379(o.rows);
unittest.expect(o.sheetId, unittest.equals(42));
}
buildCounterAppendCellsRequest--;
@@ -539,40 +539,40 @@
buildCounterBasicChartSeries--;
}
-buildUnnamed359() {
+buildUnnamed380() {
var o = new core.List<api.BasicChartAxis>();
o.add(buildBasicChartAxis());
o.add(buildBasicChartAxis());
return o;
}
-checkUnnamed359(core.List<api.BasicChartAxis> o) {
+checkUnnamed380(core.List<api.BasicChartAxis> o) {
unittest.expect(o, unittest.hasLength(2));
checkBasicChartAxis(o[0]);
checkBasicChartAxis(o[1]);
}
-buildUnnamed360() {
+buildUnnamed381() {
var o = new core.List<api.BasicChartDomain>();
o.add(buildBasicChartDomain());
o.add(buildBasicChartDomain());
return o;
}
-checkUnnamed360(core.List<api.BasicChartDomain> o) {
+checkUnnamed381(core.List<api.BasicChartDomain> o) {
unittest.expect(o, unittest.hasLength(2));
checkBasicChartDomain(o[0]);
checkBasicChartDomain(o[1]);
}
-buildUnnamed361() {
+buildUnnamed382() {
var o = new core.List<api.BasicChartSeries>();
o.add(buildBasicChartSeries());
o.add(buildBasicChartSeries());
return o;
}
-checkUnnamed361(core.List<api.BasicChartSeries> o) {
+checkUnnamed382(core.List<api.BasicChartSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkBasicChartSeries(o[0]);
checkBasicChartSeries(o[1]);
@@ -583,12 +583,12 @@
var o = new api.BasicChartSpec();
buildCounterBasicChartSpec++;
if (buildCounterBasicChartSpec < 3) {
- o.axis = buildUnnamed359();
+ o.axis = buildUnnamed380();
o.chartType = "foo";
- o.domains = buildUnnamed360();
+ o.domains = buildUnnamed381();
o.headerCount = 42;
o.legendPosition = "foo";
- o.series = buildUnnamed361();
+ o.series = buildUnnamed382();
}
buildCounterBasicChartSpec--;
return o;
@@ -597,37 +597,37 @@
checkBasicChartSpec(api.BasicChartSpec o) {
buildCounterBasicChartSpec++;
if (buildCounterBasicChartSpec < 3) {
- checkUnnamed359(o.axis);
+ checkUnnamed380(o.axis);
unittest.expect(o.chartType, unittest.equals('foo'));
- checkUnnamed360(o.domains);
+ checkUnnamed381(o.domains);
unittest.expect(o.headerCount, unittest.equals(42));
unittest.expect(o.legendPosition, unittest.equals('foo'));
- checkUnnamed361(o.series);
+ checkUnnamed382(o.series);
}
buildCounterBasicChartSpec--;
}
-buildUnnamed362() {
+buildUnnamed383() {
var o = new core.Map<core.String, api.FilterCriteria>();
o["x"] = buildFilterCriteria();
o["y"] = buildFilterCriteria();
return o;
}
-checkUnnamed362(core.Map<core.String, api.FilterCriteria> o) {
+checkUnnamed383(core.Map<core.String, api.FilterCriteria> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilterCriteria(o["x"]);
checkFilterCriteria(o["y"]);
}
-buildUnnamed363() {
+buildUnnamed384() {
var o = new core.List<api.SortSpec>();
o.add(buildSortSpec());
o.add(buildSortSpec());
return o;
}
-checkUnnamed363(core.List<api.SortSpec> o) {
+checkUnnamed384(core.List<api.SortSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortSpec(o[0]);
checkSortSpec(o[1]);
@@ -638,9 +638,9 @@
var o = new api.BasicFilter();
buildCounterBasicFilter++;
if (buildCounterBasicFilter < 3) {
- o.criteria = buildUnnamed362();
+ o.criteria = buildUnnamed383();
o.range = buildGridRange();
- o.sortSpecs = buildUnnamed363();
+ o.sortSpecs = buildUnnamed384();
}
buildCounterBasicFilter--;
return o;
@@ -649,21 +649,21 @@
checkBasicFilter(api.BasicFilter o) {
buildCounterBasicFilter++;
if (buildCounterBasicFilter < 3) {
- checkUnnamed362(o.criteria);
+ checkUnnamed383(o.criteria);
checkGridRange(o.range);
- checkUnnamed363(o.sortSpecs);
+ checkUnnamed384(o.sortSpecs);
}
buildCounterBasicFilter--;
}
-buildUnnamed364() {
+buildUnnamed385() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed364(core.List<core.String> o) {
+checkUnnamed385(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -674,7 +674,7 @@
var o = new api.BatchClearValuesRequest();
buildCounterBatchClearValuesRequest++;
if (buildCounterBatchClearValuesRequest < 3) {
- o.ranges = buildUnnamed364();
+ o.ranges = buildUnnamed385();
}
buildCounterBatchClearValuesRequest--;
return o;
@@ -683,19 +683,19 @@
checkBatchClearValuesRequest(api.BatchClearValuesRequest o) {
buildCounterBatchClearValuesRequest++;
if (buildCounterBatchClearValuesRequest < 3) {
- checkUnnamed364(o.ranges);
+ checkUnnamed385(o.ranges);
}
buildCounterBatchClearValuesRequest--;
}
-buildUnnamed365() {
+buildUnnamed386() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed365(core.List<core.String> o) {
+checkUnnamed386(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -706,7 +706,7 @@
var o = new api.BatchClearValuesResponse();
buildCounterBatchClearValuesResponse++;
if (buildCounterBatchClearValuesResponse < 3) {
- o.clearedRanges = buildUnnamed365();
+ o.clearedRanges = buildUnnamed386();
o.spreadsheetId = "foo";
}
buildCounterBatchClearValuesResponse--;
@@ -716,20 +716,20 @@
checkBatchClearValuesResponse(api.BatchClearValuesResponse o) {
buildCounterBatchClearValuesResponse++;
if (buildCounterBatchClearValuesResponse < 3) {
- checkUnnamed365(o.clearedRanges);
+ checkUnnamed386(o.clearedRanges);
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
}
buildCounterBatchClearValuesResponse--;
}
-buildUnnamed366() {
+buildUnnamed387() {
var o = new core.List<api.ValueRange>();
o.add(buildValueRange());
o.add(buildValueRange());
return o;
}
-checkUnnamed366(core.List<api.ValueRange> o) {
+checkUnnamed387(core.List<api.ValueRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkValueRange(o[0]);
checkValueRange(o[1]);
@@ -741,7 +741,7 @@
buildCounterBatchGetValuesResponse++;
if (buildCounterBatchGetValuesResponse < 3) {
o.spreadsheetId = "foo";
- o.valueRanges = buildUnnamed366();
+ o.valueRanges = buildUnnamed387();
}
buildCounterBatchGetValuesResponse--;
return o;
@@ -751,32 +751,32 @@
buildCounterBatchGetValuesResponse++;
if (buildCounterBatchGetValuesResponse < 3) {
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
- checkUnnamed366(o.valueRanges);
+ checkUnnamed387(o.valueRanges);
}
buildCounterBatchGetValuesResponse--;
}
-buildUnnamed367() {
+buildUnnamed388() {
var o = new core.List<api.Request>();
o.add(buildRequest());
o.add(buildRequest());
return o;
}
-checkUnnamed367(core.List<api.Request> o) {
+checkUnnamed388(core.List<api.Request> o) {
unittest.expect(o, unittest.hasLength(2));
checkRequest(o[0]);
checkRequest(o[1]);
}
-buildUnnamed368() {
+buildUnnamed389() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed368(core.List<core.String> o) {
+checkUnnamed389(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -788,9 +788,9 @@
buildCounterBatchUpdateSpreadsheetRequest++;
if (buildCounterBatchUpdateSpreadsheetRequest < 3) {
o.includeSpreadsheetInResponse = true;
- o.requests = buildUnnamed367();
+ o.requests = buildUnnamed388();
o.responseIncludeGridData = true;
- o.responseRanges = buildUnnamed368();
+ o.responseRanges = buildUnnamed389();
}
buildCounterBatchUpdateSpreadsheetRequest--;
return o;
@@ -800,21 +800,21 @@
buildCounterBatchUpdateSpreadsheetRequest++;
if (buildCounterBatchUpdateSpreadsheetRequest < 3) {
unittest.expect(o.includeSpreadsheetInResponse, unittest.isTrue);
- checkUnnamed367(o.requests);
+ checkUnnamed388(o.requests);
unittest.expect(o.responseIncludeGridData, unittest.isTrue);
- checkUnnamed368(o.responseRanges);
+ checkUnnamed389(o.responseRanges);
}
buildCounterBatchUpdateSpreadsheetRequest--;
}
-buildUnnamed369() {
+buildUnnamed390() {
var o = new core.List<api.Response>();
o.add(buildResponse());
o.add(buildResponse());
return o;
}
-checkUnnamed369(core.List<api.Response> o) {
+checkUnnamed390(core.List<api.Response> o) {
unittest.expect(o, unittest.hasLength(2));
checkResponse(o[0]);
checkResponse(o[1]);
@@ -825,7 +825,7 @@
var o = new api.BatchUpdateSpreadsheetResponse();
buildCounterBatchUpdateSpreadsheetResponse++;
if (buildCounterBatchUpdateSpreadsheetResponse < 3) {
- o.replies = buildUnnamed369();
+ o.replies = buildUnnamed390();
o.spreadsheetId = "foo";
o.updatedSpreadsheet = buildSpreadsheet();
}
@@ -836,21 +836,21 @@
checkBatchUpdateSpreadsheetResponse(api.BatchUpdateSpreadsheetResponse o) {
buildCounterBatchUpdateSpreadsheetResponse++;
if (buildCounterBatchUpdateSpreadsheetResponse < 3) {
- checkUnnamed369(o.replies);
+ checkUnnamed390(o.replies);
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
checkSpreadsheet(o.updatedSpreadsheet);
}
buildCounterBatchUpdateSpreadsheetResponse--;
}
-buildUnnamed370() {
+buildUnnamed391() {
var o = new core.List<api.ValueRange>();
o.add(buildValueRange());
o.add(buildValueRange());
return o;
}
-checkUnnamed370(core.List<api.ValueRange> o) {
+checkUnnamed391(core.List<api.ValueRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkValueRange(o[0]);
checkValueRange(o[1]);
@@ -861,7 +861,7 @@
var o = new api.BatchUpdateValuesRequest();
buildCounterBatchUpdateValuesRequest++;
if (buildCounterBatchUpdateValuesRequest < 3) {
- o.data = buildUnnamed370();
+ o.data = buildUnnamed391();
o.includeValuesInResponse = true;
o.responseDateTimeRenderOption = "foo";
o.responseValueRenderOption = "foo";
@@ -874,7 +874,7 @@
checkBatchUpdateValuesRequest(api.BatchUpdateValuesRequest o) {
buildCounterBatchUpdateValuesRequest++;
if (buildCounterBatchUpdateValuesRequest < 3) {
- checkUnnamed370(o.data);
+ checkUnnamed391(o.data);
unittest.expect(o.includeValuesInResponse, unittest.isTrue);
unittest.expect(o.responseDateTimeRenderOption, unittest.equals('foo'));
unittest.expect(o.responseValueRenderOption, unittest.equals('foo'));
@@ -883,14 +883,14 @@
buildCounterBatchUpdateValuesRequest--;
}
-buildUnnamed371() {
+buildUnnamed392() {
var o = new core.List<api.UpdateValuesResponse>();
o.add(buildUpdateValuesResponse());
o.add(buildUpdateValuesResponse());
return o;
}
-checkUnnamed371(core.List<api.UpdateValuesResponse> o) {
+checkUnnamed392(core.List<api.UpdateValuesResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkUpdateValuesResponse(o[0]);
checkUpdateValuesResponse(o[1]);
@@ -901,7 +901,7 @@
var o = new api.BatchUpdateValuesResponse();
buildCounterBatchUpdateValuesResponse++;
if (buildCounterBatchUpdateValuesResponse < 3) {
- o.responses = buildUnnamed371();
+ o.responses = buildUnnamed392();
o.spreadsheetId = "foo";
o.totalUpdatedCells = 42;
o.totalUpdatedColumns = 42;
@@ -915,7 +915,7 @@
checkBatchUpdateValuesResponse(api.BatchUpdateValuesResponse o) {
buildCounterBatchUpdateValuesResponse++;
if (buildCounterBatchUpdateValuesResponse < 3) {
- checkUnnamed371(o.responses);
+ checkUnnamed392(o.responses);
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
unittest.expect(o.totalUpdatedCells, unittest.equals(42));
unittest.expect(o.totalUpdatedColumns, unittest.equals(42));
@@ -925,14 +925,14 @@
buildCounterBatchUpdateValuesResponse--;
}
-buildUnnamed372() {
+buildUnnamed393() {
var o = new core.List<api.ConditionValue>();
o.add(buildConditionValue());
o.add(buildConditionValue());
return o;
}
-checkUnnamed372(core.List<api.ConditionValue> o) {
+checkUnnamed393(core.List<api.ConditionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkConditionValue(o[0]);
checkConditionValue(o[1]);
@@ -944,7 +944,7 @@
buildCounterBooleanCondition++;
if (buildCounterBooleanCondition < 3) {
o.type = "foo";
- o.values = buildUnnamed372();
+ o.values = buildUnnamed393();
}
buildCounterBooleanCondition--;
return o;
@@ -954,7 +954,7 @@
buildCounterBooleanCondition++;
if (buildCounterBooleanCondition < 3) {
unittest.expect(o.type, unittest.equals('foo'));
- checkUnnamed372(o.values);
+ checkUnnamed393(o.values);
}
buildCounterBooleanCondition--;
}
@@ -1028,14 +1028,14 @@
buildCounterBorders--;
}
-buildUnnamed373() {
+buildUnnamed394() {
var o = new core.List<api.TextFormatRun>();
o.add(buildTextFormatRun());
o.add(buildTextFormatRun());
return o;
}
-checkUnnamed373(core.List<api.TextFormatRun> o) {
+checkUnnamed394(core.List<api.TextFormatRun> o) {
unittest.expect(o, unittest.hasLength(2));
checkTextFormatRun(o[0]);
checkTextFormatRun(o[1]);
@@ -1053,7 +1053,7 @@
o.hyperlink = "foo";
o.note = "foo";
o.pivotTable = buildPivotTable();
- o.textFormatRuns = buildUnnamed373();
+ o.textFormatRuns = buildUnnamed394();
o.userEnteredFormat = buildCellFormat();
o.userEnteredValue = buildExtendedValue();
}
@@ -1071,7 +1071,7 @@
unittest.expect(o.hyperlink, unittest.equals('foo'));
unittest.expect(o.note, unittest.equals('foo'));
checkPivotTable(o.pivotTable);
- checkUnnamed373(o.textFormatRuns);
+ checkUnnamed394(o.textFormatRuns);
checkCellFormat(o.userEnteredFormat);
checkExtendedValue(o.userEnteredValue);
}
@@ -1091,6 +1091,7 @@
o.padding = buildPadding();
o.textDirection = "foo";
o.textFormat = buildTextFormat();
+ o.textRotation = buildTextRotation();
o.verticalAlignment = "foo";
o.wrapStrategy = "foo";
}
@@ -1109,6 +1110,7 @@
checkPadding(o.padding);
unittest.expect(o.textDirection, unittest.equals('foo'));
checkTextFormat(o.textFormat);
+ checkTextRotation(o.textRotation);
unittest.expect(o.verticalAlignment, unittest.equals('foo'));
unittest.expect(o.wrapStrategy, unittest.equals('foo'));
}
@@ -1134,14 +1136,14 @@
buildCounterChartData--;
}
-buildUnnamed374() {
+buildUnnamed395() {
var o = new core.List<api.GridRange>();
o.add(buildGridRange());
o.add(buildGridRange());
return o;
}
-checkUnnamed374(core.List<api.GridRange> o) {
+checkUnnamed395(core.List<api.GridRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkGridRange(o[0]);
checkGridRange(o[1]);
@@ -1152,7 +1154,7 @@
var o = new api.ChartSourceRange();
buildCounterChartSourceRange++;
if (buildCounterChartSourceRange < 3) {
- o.sources = buildUnnamed374();
+ o.sources = buildUnnamed395();
}
buildCounterChartSourceRange--;
return o;
@@ -1161,7 +1163,7 @@
checkChartSourceRange(api.ChartSourceRange o) {
buildCounterChartSourceRange++;
if (buildCounterChartSourceRange < 3) {
- checkUnnamed374(o.sources);
+ checkUnnamed395(o.sources);
}
buildCounterChartSourceRange--;
}
@@ -1294,14 +1296,14 @@
buildCounterConditionValue--;
}
-buildUnnamed375() {
+buildUnnamed396() {
var o = new core.List<api.GridRange>();
o.add(buildGridRange());
o.add(buildGridRange());
return o;
}
-checkUnnamed375(core.List<api.GridRange> o) {
+checkUnnamed396(core.List<api.GridRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkGridRange(o[0]);
checkGridRange(o[1]);
@@ -1314,7 +1316,7 @@
if (buildCounterConditionalFormatRule < 3) {
o.booleanRule = buildBooleanRule();
o.gradientRule = buildGradientRule();
- o.ranges = buildUnnamed375();
+ o.ranges = buildUnnamed396();
}
buildCounterConditionalFormatRule--;
return o;
@@ -1325,7 +1327,7 @@
if (buildCounterConditionalFormatRule < 3) {
checkBooleanRule(o.booleanRule);
checkGradientRule(o.gradientRule);
- checkUnnamed375(o.ranges);
+ checkUnnamed396(o.ranges);
}
buildCounterConditionalFormatRule--;
}
@@ -1746,27 +1748,27 @@
buildCounterDuplicateSheetResponse--;
}
-buildUnnamed376() {
+buildUnnamed397() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed376(core.List<core.String> o) {
+checkUnnamed397(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed377() {
+buildUnnamed398() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed377(core.List<core.String> o) {
+checkUnnamed398(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1778,8 +1780,8 @@
buildCounterEditors++;
if (buildCounterEditors < 3) {
o.domainUsersCanEdit = true;
- o.groups = buildUnnamed376();
- o.users = buildUnnamed377();
+ o.groups = buildUnnamed397();
+ o.users = buildUnnamed398();
}
buildCounterEditors--;
return o;
@@ -1789,8 +1791,8 @@
buildCounterEditors++;
if (buildCounterEditors < 3) {
unittest.expect(o.domainUsersCanEdit, unittest.isTrue);
- checkUnnamed376(o.groups);
- checkUnnamed377(o.users);
+ checkUnnamed397(o.groups);
+ checkUnnamed398(o.users);
}
buildCounterEditors--;
}
@@ -1889,14 +1891,14 @@
buildCounterExtendedValue--;
}
-buildUnnamed378() {
+buildUnnamed399() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed378(core.List<core.String> o) {
+checkUnnamed399(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1908,7 +1910,7 @@
buildCounterFilterCriteria++;
if (buildCounterFilterCriteria < 3) {
o.condition = buildBooleanCondition();
- o.hiddenValues = buildUnnamed378();
+ o.hiddenValues = buildUnnamed399();
}
buildCounterFilterCriteria--;
return o;
@@ -1918,32 +1920,32 @@
buildCounterFilterCriteria++;
if (buildCounterFilterCriteria < 3) {
checkBooleanCondition(o.condition);
- checkUnnamed378(o.hiddenValues);
+ checkUnnamed399(o.hiddenValues);
}
buildCounterFilterCriteria--;
}
-buildUnnamed379() {
+buildUnnamed400() {
var o = new core.Map<core.String, api.FilterCriteria>();
o["x"] = buildFilterCriteria();
o["y"] = buildFilterCriteria();
return o;
}
-checkUnnamed379(core.Map<core.String, api.FilterCriteria> o) {
+checkUnnamed400(core.Map<core.String, api.FilterCriteria> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilterCriteria(o["x"]);
checkFilterCriteria(o["y"]);
}
-buildUnnamed380() {
+buildUnnamed401() {
var o = new core.List<api.SortSpec>();
o.add(buildSortSpec());
o.add(buildSortSpec());
return o;
}
-checkUnnamed380(core.List<api.SortSpec> o) {
+checkUnnamed401(core.List<api.SortSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortSpec(o[0]);
checkSortSpec(o[1]);
@@ -1954,11 +1956,11 @@
var o = new api.FilterView();
buildCounterFilterView++;
if (buildCounterFilterView < 3) {
- o.criteria = buildUnnamed379();
+ o.criteria = buildUnnamed400();
o.filterViewId = 42;
o.namedRangeId = "foo";
o.range = buildGridRange();
- o.sortSpecs = buildUnnamed380();
+ o.sortSpecs = buildUnnamed401();
o.title = "foo";
}
buildCounterFilterView--;
@@ -1968,11 +1970,11 @@
checkFilterView(api.FilterView o) {
buildCounterFilterView++;
if (buildCounterFilterView < 3) {
- checkUnnamed379(o.criteria);
+ checkUnnamed400(o.criteria);
unittest.expect(o.filterViewId, unittest.equals(42));
unittest.expect(o.namedRangeId, unittest.equals('foo'));
checkGridRange(o.range);
- checkUnnamed380(o.sortSpecs);
+ checkUnnamed401(o.sortSpecs);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterFilterView--;
@@ -2086,40 +2088,40 @@
buildCounterGridCoordinate--;
}
-buildUnnamed381() {
+buildUnnamed402() {
var o = new core.List<api.DimensionProperties>();
o.add(buildDimensionProperties());
o.add(buildDimensionProperties());
return o;
}
-checkUnnamed381(core.List<api.DimensionProperties> o) {
+checkUnnamed402(core.List<api.DimensionProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionProperties(o[0]);
checkDimensionProperties(o[1]);
}
-buildUnnamed382() {
+buildUnnamed403() {
var o = new core.List<api.RowData>();
o.add(buildRowData());
o.add(buildRowData());
return o;
}
-checkUnnamed382(core.List<api.RowData> o) {
+checkUnnamed403(core.List<api.RowData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRowData(o[0]);
checkRowData(o[1]);
}
-buildUnnamed383() {
+buildUnnamed404() {
var o = new core.List<api.DimensionProperties>();
o.add(buildDimensionProperties());
o.add(buildDimensionProperties());
return o;
}
-checkUnnamed383(core.List<api.DimensionProperties> o) {
+checkUnnamed404(core.List<api.DimensionProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionProperties(o[0]);
checkDimensionProperties(o[1]);
@@ -2130,9 +2132,9 @@
var o = new api.GridData();
buildCounterGridData++;
if (buildCounterGridData < 3) {
- o.columnMetadata = buildUnnamed381();
- o.rowData = buildUnnamed382();
- o.rowMetadata = buildUnnamed383();
+ o.columnMetadata = buildUnnamed402();
+ o.rowData = buildUnnamed403();
+ o.rowMetadata = buildUnnamed404();
o.startColumn = 42;
o.startRow = 42;
}
@@ -2143,9 +2145,9 @@
checkGridData(api.GridData o) {
buildCounterGridData++;
if (buildCounterGridData < 3) {
- checkUnnamed381(o.columnMetadata);
- checkUnnamed382(o.rowData);
- checkUnnamed383(o.rowMetadata);
+ checkUnnamed402(o.columnMetadata);
+ checkUnnamed403(o.rowData);
+ checkUnnamed404(o.rowMetadata);
unittest.expect(o.startColumn, unittest.equals(42));
unittest.expect(o.startRow, unittest.equals(42));
}
@@ -2484,14 +2486,14 @@
buildCounterPieChartSpec--;
}
-buildUnnamed384() {
+buildUnnamed405() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed384(core.List<core.String> o) {
+checkUnnamed405(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2502,7 +2504,7 @@
var o = new api.PivotFilterCriteria();
buildCounterPivotFilterCriteria++;
if (buildCounterPivotFilterCriteria < 3) {
- o.visibleValues = buildUnnamed384();
+ o.visibleValues = buildUnnamed405();
}
buildCounterPivotFilterCriteria--;
return o;
@@ -2511,19 +2513,19 @@
checkPivotFilterCriteria(api.PivotFilterCriteria o) {
buildCounterPivotFilterCriteria++;
if (buildCounterPivotFilterCriteria < 3) {
- checkUnnamed384(o.visibleValues);
+ checkUnnamed405(o.visibleValues);
}
buildCounterPivotFilterCriteria--;
}
-buildUnnamed385() {
+buildUnnamed406() {
var o = new core.List<api.PivotGroupValueMetadata>();
o.add(buildPivotGroupValueMetadata());
o.add(buildPivotGroupValueMetadata());
return o;
}
-checkUnnamed385(core.List<api.PivotGroupValueMetadata> o) {
+checkUnnamed406(core.List<api.PivotGroupValueMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotGroupValueMetadata(o[0]);
checkPivotGroupValueMetadata(o[1]);
@@ -2538,7 +2540,7 @@
o.sortOrder = "foo";
o.sourceColumnOffset = 42;
o.valueBucket = buildPivotGroupSortValueBucket();
- o.valueMetadata = buildUnnamed385();
+ o.valueMetadata = buildUnnamed406();
}
buildCounterPivotGroup--;
return o;
@@ -2551,19 +2553,19 @@
unittest.expect(o.sortOrder, unittest.equals('foo'));
unittest.expect(o.sourceColumnOffset, unittest.equals(42));
checkPivotGroupSortValueBucket(o.valueBucket);
- checkUnnamed385(o.valueMetadata);
+ checkUnnamed406(o.valueMetadata);
}
buildCounterPivotGroup--;
}
-buildUnnamed386() {
+buildUnnamed407() {
var o = new core.List<api.ExtendedValue>();
o.add(buildExtendedValue());
o.add(buildExtendedValue());
return o;
}
-checkUnnamed386(core.List<api.ExtendedValue> o) {
+checkUnnamed407(core.List<api.ExtendedValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkExtendedValue(o[0]);
checkExtendedValue(o[1]);
@@ -2574,7 +2576,7 @@
var o = new api.PivotGroupSortValueBucket();
buildCounterPivotGroupSortValueBucket++;
if (buildCounterPivotGroupSortValueBucket < 3) {
- o.buckets = buildUnnamed386();
+ o.buckets = buildUnnamed407();
o.valuesIndex = 42;
}
buildCounterPivotGroupSortValueBucket--;
@@ -2584,7 +2586,7 @@
checkPivotGroupSortValueBucket(api.PivotGroupSortValueBucket o) {
buildCounterPivotGroupSortValueBucket++;
if (buildCounterPivotGroupSortValueBucket < 3) {
- checkUnnamed386(o.buckets);
+ checkUnnamed407(o.buckets);
unittest.expect(o.valuesIndex, unittest.equals(42));
}
buildCounterPivotGroupSortValueBucket--;
@@ -2611,53 +2613,53 @@
buildCounterPivotGroupValueMetadata--;
}
-buildUnnamed387() {
+buildUnnamed408() {
var o = new core.List<api.PivotGroup>();
o.add(buildPivotGroup());
o.add(buildPivotGroup());
return o;
}
-checkUnnamed387(core.List<api.PivotGroup> o) {
+checkUnnamed408(core.List<api.PivotGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotGroup(o[0]);
checkPivotGroup(o[1]);
}
-buildUnnamed388() {
+buildUnnamed409() {
var o = new core.Map<core.String, api.PivotFilterCriteria>();
o["x"] = buildPivotFilterCriteria();
o["y"] = buildPivotFilterCriteria();
return o;
}
-checkUnnamed388(core.Map<core.String, api.PivotFilterCriteria> o) {
+checkUnnamed409(core.Map<core.String, api.PivotFilterCriteria> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotFilterCriteria(o["x"]);
checkPivotFilterCriteria(o["y"]);
}
-buildUnnamed389() {
+buildUnnamed410() {
var o = new core.List<api.PivotGroup>();
o.add(buildPivotGroup());
o.add(buildPivotGroup());
return o;
}
-checkUnnamed389(core.List<api.PivotGroup> o) {
+checkUnnamed410(core.List<api.PivotGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotGroup(o[0]);
checkPivotGroup(o[1]);
}
-buildUnnamed390() {
+buildUnnamed411() {
var o = new core.List<api.PivotValue>();
o.add(buildPivotValue());
o.add(buildPivotValue());
return o;
}
-checkUnnamed390(core.List<api.PivotValue> o) {
+checkUnnamed411(core.List<api.PivotValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotValue(o[0]);
checkPivotValue(o[1]);
@@ -2668,12 +2670,12 @@
var o = new api.PivotTable();
buildCounterPivotTable++;
if (buildCounterPivotTable < 3) {
- o.columns = buildUnnamed387();
- o.criteria = buildUnnamed388();
- o.rows = buildUnnamed389();
+ o.columns = buildUnnamed408();
+ o.criteria = buildUnnamed409();
+ o.rows = buildUnnamed410();
o.source = buildGridRange();
o.valueLayout = "foo";
- o.values = buildUnnamed390();
+ o.values = buildUnnamed411();
}
buildCounterPivotTable--;
return o;
@@ -2682,12 +2684,12 @@
checkPivotTable(api.PivotTable o) {
buildCounterPivotTable++;
if (buildCounterPivotTable < 3) {
- checkUnnamed387(o.columns);
- checkUnnamed388(o.criteria);
- checkUnnamed389(o.rows);
+ checkUnnamed408(o.columns);
+ checkUnnamed409(o.criteria);
+ checkUnnamed410(o.rows);
checkGridRange(o.source);
unittest.expect(o.valueLayout, unittest.equals('foo'));
- checkUnnamed390(o.values);
+ checkUnnamed411(o.values);
}
buildCounterPivotTable--;
}
@@ -2717,14 +2719,14 @@
buildCounterPivotValue--;
}
-buildUnnamed391() {
+buildUnnamed412() {
var o = new core.List<api.GridRange>();
o.add(buildGridRange());
o.add(buildGridRange());
return o;
}
-checkUnnamed391(core.List<api.GridRange> o) {
+checkUnnamed412(core.List<api.GridRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkGridRange(o[0]);
checkGridRange(o[1]);
@@ -2741,7 +2743,7 @@
o.protectedRangeId = 42;
o.range = buildGridRange();
o.requestingUserCanEdit = true;
- o.unprotectedRanges = buildUnnamed391();
+ o.unprotectedRanges = buildUnnamed412();
o.warningOnly = true;
}
buildCounterProtectedRange--;
@@ -2757,7 +2759,7 @@
unittest.expect(o.protectedRangeId, unittest.equals(42));
checkGridRange(o.range);
unittest.expect(o.requestingUserCanEdit, unittest.isTrue);
- checkUnnamed391(o.unprotectedRanges);
+ checkUnnamed412(o.unprotectedRanges);
unittest.expect(o.warningOnly, unittest.isTrue);
}
buildCounterProtectedRange--;
@@ -2942,14 +2944,14 @@
buildCounterResponse--;
}
-buildUnnamed392() {
+buildUnnamed413() {
var o = new core.List<api.CellData>();
o.add(buildCellData());
o.add(buildCellData());
return o;
}
-checkUnnamed392(core.List<api.CellData> o) {
+checkUnnamed413(core.List<api.CellData> o) {
unittest.expect(o, unittest.hasLength(2));
checkCellData(o[0]);
checkCellData(o[1]);
@@ -2960,7 +2962,7 @@
var o = new api.RowData();
buildCounterRowData++;
if (buildCounterRowData < 3) {
- o.values = buildUnnamed392();
+ o.values = buildUnnamed413();
}
buildCounterRowData--;
return o;
@@ -2969,7 +2971,7 @@
checkRowData(api.RowData o) {
buildCounterRowData++;
if (buildCounterRowData < 3) {
- checkUnnamed392(o.values);
+ checkUnnamed413(o.values);
}
buildCounterRowData--;
}
@@ -3014,92 +3016,92 @@
buildCounterSetDataValidationRequest--;
}
-buildUnnamed393() {
+buildUnnamed414() {
var o = new core.List<api.BandedRange>();
o.add(buildBandedRange());
o.add(buildBandedRange());
return o;
}
-checkUnnamed393(core.List<api.BandedRange> o) {
+checkUnnamed414(core.List<api.BandedRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkBandedRange(o[0]);
checkBandedRange(o[1]);
}
-buildUnnamed394() {
+buildUnnamed415() {
var o = new core.List<api.EmbeddedChart>();
o.add(buildEmbeddedChart());
o.add(buildEmbeddedChart());
return o;
}
-checkUnnamed394(core.List<api.EmbeddedChart> o) {
+checkUnnamed415(core.List<api.EmbeddedChart> o) {
unittest.expect(o, unittest.hasLength(2));
checkEmbeddedChart(o[0]);
checkEmbeddedChart(o[1]);
}
-buildUnnamed395() {
+buildUnnamed416() {
var o = new core.List<api.ConditionalFormatRule>();
o.add(buildConditionalFormatRule());
o.add(buildConditionalFormatRule());
return o;
}
-checkUnnamed395(core.List<api.ConditionalFormatRule> o) {
+checkUnnamed416(core.List<api.ConditionalFormatRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkConditionalFormatRule(o[0]);
checkConditionalFormatRule(o[1]);
}
-buildUnnamed396() {
+buildUnnamed417() {
var o = new core.List<api.GridData>();
o.add(buildGridData());
o.add(buildGridData());
return o;
}
-checkUnnamed396(core.List<api.GridData> o) {
+checkUnnamed417(core.List<api.GridData> o) {
unittest.expect(o, unittest.hasLength(2));
checkGridData(o[0]);
checkGridData(o[1]);
}
-buildUnnamed397() {
+buildUnnamed418() {
var o = new core.List<api.FilterView>();
o.add(buildFilterView());
o.add(buildFilterView());
return o;
}
-checkUnnamed397(core.List<api.FilterView> o) {
+checkUnnamed418(core.List<api.FilterView> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilterView(o[0]);
checkFilterView(o[1]);
}
-buildUnnamed398() {
+buildUnnamed419() {
var o = new core.List<api.GridRange>();
o.add(buildGridRange());
o.add(buildGridRange());
return o;
}
-checkUnnamed398(core.List<api.GridRange> o) {
+checkUnnamed419(core.List<api.GridRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkGridRange(o[0]);
checkGridRange(o[1]);
}
-buildUnnamed399() {
+buildUnnamed420() {
var o = new core.List<api.ProtectedRange>();
o.add(buildProtectedRange());
o.add(buildProtectedRange());
return o;
}
-checkUnnamed399(core.List<api.ProtectedRange> o) {
+checkUnnamed420(core.List<api.ProtectedRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkProtectedRange(o[0]);
checkProtectedRange(o[1]);
@@ -3110,15 +3112,15 @@
var o = new api.Sheet();
buildCounterSheet++;
if (buildCounterSheet < 3) {
- o.bandedRanges = buildUnnamed393();
+ o.bandedRanges = buildUnnamed414();
o.basicFilter = buildBasicFilter();
- o.charts = buildUnnamed394();
- o.conditionalFormats = buildUnnamed395();
- o.data = buildUnnamed396();
- o.filterViews = buildUnnamed397();
- o.merges = buildUnnamed398();
+ o.charts = buildUnnamed415();
+ o.conditionalFormats = buildUnnamed416();
+ o.data = buildUnnamed417();
+ o.filterViews = buildUnnamed418();
+ o.merges = buildUnnamed419();
o.properties = buildSheetProperties();
- o.protectedRanges = buildUnnamed399();
+ o.protectedRanges = buildUnnamed420();
}
buildCounterSheet--;
return o;
@@ -3127,15 +3129,15 @@
checkSheet(api.Sheet o) {
buildCounterSheet++;
if (buildCounterSheet < 3) {
- checkUnnamed393(o.bandedRanges);
+ checkUnnamed414(o.bandedRanges);
checkBasicFilter(o.basicFilter);
- checkUnnamed394(o.charts);
- checkUnnamed395(o.conditionalFormats);
- checkUnnamed396(o.data);
- checkUnnamed397(o.filterViews);
- checkUnnamed398(o.merges);
+ checkUnnamed415(o.charts);
+ checkUnnamed416(o.conditionalFormats);
+ checkUnnamed417(o.data);
+ checkUnnamed418(o.filterViews);
+ checkUnnamed419(o.merges);
checkSheetProperties(o.properties);
- checkUnnamed399(o.protectedRanges);
+ checkUnnamed420(o.protectedRanges);
}
buildCounterSheet--;
}
@@ -3173,14 +3175,14 @@
buildCounterSheetProperties--;
}
-buildUnnamed400() {
+buildUnnamed421() {
var o = new core.List<api.SortSpec>();
o.add(buildSortSpec());
o.add(buildSortSpec());
return o;
}
-checkUnnamed400(core.List<api.SortSpec> o) {
+checkUnnamed421(core.List<api.SortSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortSpec(o[0]);
checkSortSpec(o[1]);
@@ -3192,7 +3194,7 @@
buildCounterSortRangeRequest++;
if (buildCounterSortRangeRequest < 3) {
o.range = buildGridRange();
- o.sortSpecs = buildUnnamed400();
+ o.sortSpecs = buildUnnamed421();
}
buildCounterSortRangeRequest--;
return o;
@@ -3202,7 +3204,7 @@
buildCounterSortRangeRequest++;
if (buildCounterSortRangeRequest < 3) {
checkGridRange(o.range);
- checkUnnamed400(o.sortSpecs);
+ checkUnnamed421(o.sortSpecs);
}
buildCounterSortRangeRequest--;
}
@@ -3251,27 +3253,27 @@
buildCounterSourceAndDestination--;
}
-buildUnnamed401() {
+buildUnnamed422() {
var o = new core.List<api.NamedRange>();
o.add(buildNamedRange());
o.add(buildNamedRange());
return o;
}
-checkUnnamed401(core.List<api.NamedRange> o) {
+checkUnnamed422(core.List<api.NamedRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedRange(o[0]);
checkNamedRange(o[1]);
}
-buildUnnamed402() {
+buildUnnamed423() {
var o = new core.List<api.Sheet>();
o.add(buildSheet());
o.add(buildSheet());
return o;
}
-checkUnnamed402(core.List<api.Sheet> o) {
+checkUnnamed423(core.List<api.Sheet> o) {
unittest.expect(o, unittest.hasLength(2));
checkSheet(o[0]);
checkSheet(o[1]);
@@ -3282,9 +3284,9 @@
var o = new api.Spreadsheet();
buildCounterSpreadsheet++;
if (buildCounterSpreadsheet < 3) {
- o.namedRanges = buildUnnamed401();
+ o.namedRanges = buildUnnamed422();
o.properties = buildSpreadsheetProperties();
- o.sheets = buildUnnamed402();
+ o.sheets = buildUnnamed423();
o.spreadsheetId = "foo";
o.spreadsheetUrl = "foo";
}
@@ -3295,9 +3297,9 @@
checkSpreadsheet(api.Spreadsheet o) {
buildCounterSpreadsheet++;
if (buildCounterSpreadsheet < 3) {
- checkUnnamed401(o.namedRanges);
+ checkUnnamed422(o.namedRanges);
checkSpreadsheetProperties(o.properties);
- checkUnnamed402(o.sheets);
+ checkUnnamed423(o.sheets);
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
unittest.expect(o.spreadsheetUrl, unittest.equals('foo'));
}
@@ -3385,6 +3387,27 @@
buildCounterTextFormatRun--;
}
+core.int buildCounterTextRotation = 0;
+buildTextRotation() {
+ var o = new api.TextRotation();
+ buildCounterTextRotation++;
+ if (buildCounterTextRotation < 3) {
+ o.angle = 42;
+ o.vertical = true;
+ }
+ buildCounterTextRotation--;
+ return o;
+}
+
+checkTextRotation(api.TextRotation o) {
+ buildCounterTextRotation++;
+ if (buildCounterTextRotation < 3) {
+ unittest.expect(o.angle, unittest.equals(42));
+ unittest.expect(o.vertical, unittest.isTrue);
+ }
+ buildCounterTextRotation--;
+}
+
core.int buildCounterTextToColumnsRequest = 0;
buildTextToColumnsRequest() {
var o = new api.TextToColumnsRequest();
@@ -3479,14 +3502,14 @@
buildCounterUpdateBordersRequest--;
}
-buildUnnamed403() {
+buildUnnamed424() {
var o = new core.List<api.RowData>();
o.add(buildRowData());
o.add(buildRowData());
return o;
}
-checkUnnamed403(core.List<api.RowData> o) {
+checkUnnamed424(core.List<api.RowData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRowData(o[0]);
checkRowData(o[1]);
@@ -3499,7 +3522,7 @@
if (buildCounterUpdateCellsRequest < 3) {
o.fields = "foo";
o.range = buildGridRange();
- o.rows = buildUnnamed403();
+ o.rows = buildUnnamed424();
o.start = buildGridCoordinate();
}
buildCounterUpdateCellsRequest--;
@@ -3511,7 +3534,7 @@
if (buildCounterUpdateCellsRequest < 3) {
unittest.expect(o.fields, unittest.equals('foo'));
checkGridRange(o.range);
- checkUnnamed403(o.rows);
+ checkUnnamed424(o.rows);
checkGridCoordinate(o.start);
}
buildCounterUpdateCellsRequest--;
@@ -3787,30 +3810,30 @@
buildCounterUpdateValuesResponse--;
}
-buildUnnamed404() {
+buildUnnamed425() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed404(core.List<core.Object> o) {
+checkUnnamed425(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) 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[1]) 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'));
}
-buildUnnamed405() {
+buildUnnamed426() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed404());
- o.add(buildUnnamed404());
+ o.add(buildUnnamed425());
+ o.add(buildUnnamed425());
return o;
}
-checkUnnamed405(core.List<core.List<core.Object>> o) {
+checkUnnamed426(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed404(o[0]);
- checkUnnamed404(o[1]);
+ checkUnnamed425(o[0]);
+ checkUnnamed425(o[1]);
}
core.int buildCounterValueRange = 0;
@@ -3820,7 +3843,7 @@
if (buildCounterValueRange < 3) {
o.majorDimension = "foo";
o.range = "foo";
- o.values = buildUnnamed405();
+ o.values = buildUnnamed426();
}
buildCounterValueRange--;
return o;
@@ -3831,32 +3854,32 @@
if (buildCounterValueRange < 3) {
unittest.expect(o.majorDimension, unittest.equals('foo'));
unittest.expect(o.range, unittest.equals('foo'));
- checkUnnamed405(o.values);
+ checkUnnamed426(o.values);
}
buildCounterValueRange--;
}
-buildUnnamed406() {
+buildUnnamed427() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed406(core.List<core.String> o) {
+checkUnnamed427(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed407() {
+buildUnnamed428() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed407(core.List<core.String> o) {
+checkUnnamed428(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4899,6 +4922,15 @@
});
+ unittest.group("obj-schema-TextRotation", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTextRotation();
+ var od = new api.TextRotation.fromJson(o.toJson());
+ checkTextRotation(od);
+ });
+ });
+
+
unittest.group("obj-schema-TextToColumnsRequest", () {
unittest.test("to-json--from-json", () {
var o = buildTextToColumnsRequest();
@@ -5169,7 +5201,7 @@
var mock = new HttpServerMock();
api.SpreadsheetsResourceApi res = new api.SheetsApi(mock).spreadsheets;
var arg_spreadsheetId = "foo";
- var arg_ranges = buildUnnamed406();
+ var arg_ranges = buildUnnamed427();
var arg_includeGridData = true;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5419,10 +5451,10 @@
var mock = new HttpServerMock();
api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadsheets.values;
var arg_spreadsheetId = "foo";
- var arg_ranges = buildUnnamed407();
- var arg_majorDimension = "foo";
var arg_valueRenderOption = "foo";
var arg_dateTimeRenderOption = "foo";
+ var arg_ranges = buildUnnamed428();
+ var arg_majorDimension = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5456,10 +5488,10 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["ranges"], unittest.equals(arg_ranges));
- unittest.expect(queryMap["majorDimension"].first, unittest.equals(arg_majorDimension));
unittest.expect(queryMap["valueRenderOption"].first, unittest.equals(arg_valueRenderOption));
unittest.expect(queryMap["dateTimeRenderOption"].first, unittest.equals(arg_dateTimeRenderOption));
+ unittest.expect(queryMap["ranges"], unittest.equals(arg_ranges));
+ unittest.expect(queryMap["majorDimension"].first, unittest.equals(arg_majorDimension));
var h = {
@@ -5468,7 +5500,7 @@
var resp = convert.JSON.encode(buildBatchGetValuesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.batchGet(arg_spreadsheetId, ranges: arg_ranges, majorDimension: arg_majorDimension, valueRenderOption: arg_valueRenderOption, dateTimeRenderOption: arg_dateTimeRenderOption).then(unittest.expectAsync(((api.BatchGetValuesResponse response) {
+ res.batchGet(arg_spreadsheetId, valueRenderOption: arg_valueRenderOption, dateTimeRenderOption: arg_dateTimeRenderOption, ranges: arg_ranges, majorDimension: arg_majorDimension).then(unittest.expectAsync(((api.BatchGetValuesResponse response) {
checkBatchGetValuesResponse(response);
})));
});
diff --git a/generated/googleapis/test/siteverification/v1_test.dart b/generated/googleapis/test/siteverification/v1_test.dart
index f807b64..60630c6 100644
--- a/generated/googleapis/test/siteverification/v1_test.dart
+++ b/generated/googleapis/test/siteverification/v1_test.dart
@@ -114,14 +114,14 @@
buildCounterSiteVerificationWebResourceGettokenResponse--;
}
-buildUnnamed90() {
+buildUnnamed111() {
var o = new core.List<api.SiteVerificationWebResourceResource>();
o.add(buildSiteVerificationWebResourceResource());
o.add(buildSiteVerificationWebResourceResource());
return o;
}
-checkUnnamed90(core.List<api.SiteVerificationWebResourceResource> o) {
+checkUnnamed111(core.List<api.SiteVerificationWebResourceResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkSiteVerificationWebResourceResource(o[0]);
checkSiteVerificationWebResourceResource(o[1]);
@@ -132,7 +132,7 @@
var o = new api.SiteVerificationWebResourceListResponse();
buildCounterSiteVerificationWebResourceListResponse++;
if (buildCounterSiteVerificationWebResourceListResponse < 3) {
- o.items = buildUnnamed90();
+ o.items = buildUnnamed111();
}
buildCounterSiteVerificationWebResourceListResponse--;
return o;
@@ -141,19 +141,19 @@
checkSiteVerificationWebResourceListResponse(api.SiteVerificationWebResourceListResponse o) {
buildCounterSiteVerificationWebResourceListResponse++;
if (buildCounterSiteVerificationWebResourceListResponse < 3) {
- checkUnnamed90(o.items);
+ checkUnnamed111(o.items);
}
buildCounterSiteVerificationWebResourceListResponse--;
}
-buildUnnamed91() {
+buildUnnamed112() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed91(core.List<core.String> o) {
+checkUnnamed112(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -186,7 +186,7 @@
buildCounterSiteVerificationWebResourceResource++;
if (buildCounterSiteVerificationWebResourceResource < 3) {
o.id = "foo";
- o.owners = buildUnnamed91();
+ o.owners = buildUnnamed112();
o.site = buildSiteVerificationWebResourceResourceSite();
}
buildCounterSiteVerificationWebResourceResource--;
@@ -197,7 +197,7 @@
buildCounterSiteVerificationWebResourceResource++;
if (buildCounterSiteVerificationWebResourceResource < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed91(o.owners);
+ checkUnnamed112(o.owners);
checkSiteVerificationWebResourceResourceSite(o.site);
}
buildCounterSiteVerificationWebResourceResource--;
diff --git a/generated/googleapis/test/slides/v1_test.dart b/generated/googleapis/test/slides/v1_test.dart
index 1536264..77bf524 100644
--- a/generated/googleapis/test/slides/v1_test.dart
+++ b/generated/googleapis/test/slides/v1_test.dart
@@ -105,14 +105,14 @@
buildCounterAutoText--;
}
-buildUnnamed1457() {
+buildUnnamed1514() {
var o = new core.List<api.Request>();
o.add(buildRequest());
o.add(buildRequest());
return o;
}
-checkUnnamed1457(core.List<api.Request> o) {
+checkUnnamed1514(core.List<api.Request> o) {
unittest.expect(o, unittest.hasLength(2));
checkRequest(o[0]);
checkRequest(o[1]);
@@ -123,7 +123,8 @@
var o = new api.BatchUpdatePresentationRequest();
buildCounterBatchUpdatePresentationRequest++;
if (buildCounterBatchUpdatePresentationRequest < 3) {
- o.requests = buildUnnamed1457();
+ o.requests = buildUnnamed1514();
+ o.writeControl = buildWriteControl();
}
buildCounterBatchUpdatePresentationRequest--;
return o;
@@ -132,19 +133,20 @@
checkBatchUpdatePresentationRequest(api.BatchUpdatePresentationRequest o) {
buildCounterBatchUpdatePresentationRequest++;
if (buildCounterBatchUpdatePresentationRequest < 3) {
- checkUnnamed1457(o.requests);
+ checkUnnamed1514(o.requests);
+ checkWriteControl(o.writeControl);
}
buildCounterBatchUpdatePresentationRequest--;
}
-buildUnnamed1458() {
+buildUnnamed1515() {
var o = new core.List<api.Response>();
o.add(buildResponse());
o.add(buildResponse());
return o;
}
-checkUnnamed1458(core.List<api.Response> o) {
+checkUnnamed1515(core.List<api.Response> o) {
unittest.expect(o, unittest.hasLength(2));
checkResponse(o[0]);
checkResponse(o[1]);
@@ -156,7 +158,7 @@
buildCounterBatchUpdatePresentationResponse++;
if (buildCounterBatchUpdatePresentationResponse < 3) {
o.presentationId = "foo";
- o.replies = buildUnnamed1458();
+ o.replies = buildUnnamed1515();
}
buildCounterBatchUpdatePresentationResponse--;
return o;
@@ -166,7 +168,7 @@
buildCounterBatchUpdatePresentationResponse++;
if (buildCounterBatchUpdatePresentationResponse < 3) {
unittest.expect(o.presentationId, unittest.equals('foo'));
- checkUnnamed1458(o.replies);
+ checkUnnamed1515(o.replies);
}
buildCounterBatchUpdatePresentationResponse--;
}
@@ -196,14 +198,14 @@
buildCounterBullet--;
}
-buildUnnamed1459() {
+buildUnnamed1516() {
var o = new core.List<api.ThemeColorPair>();
o.add(buildThemeColorPair());
o.add(buildThemeColorPair());
return o;
}
-checkUnnamed1459(core.List<api.ThemeColorPair> o) {
+checkUnnamed1516(core.List<api.ThemeColorPair> o) {
unittest.expect(o, unittest.hasLength(2));
checkThemeColorPair(o[0]);
checkThemeColorPair(o[1]);
@@ -214,7 +216,7 @@
var o = new api.ColorScheme();
buildCounterColorScheme++;
if (buildCounterColorScheme < 3) {
- o.colors = buildUnnamed1459();
+ o.colors = buildUnnamed1516();
}
buildCounterColorScheme--;
return o;
@@ -223,7 +225,7 @@
checkColorScheme(api.ColorScheme o) {
buildCounterColorScheme++;
if (buildCounterColorScheme < 3) {
- checkUnnamed1459(o.colors);
+ checkUnnamed1516(o.colors);
}
buildCounterColorScheme--;
}
@@ -448,14 +450,14 @@
buildCounterCreateSheetsChartResponse--;
}
-buildUnnamed1460() {
+buildUnnamed1517() {
var o = new core.List<api.LayoutPlaceholderIdMapping>();
o.add(buildLayoutPlaceholderIdMapping());
o.add(buildLayoutPlaceholderIdMapping());
return o;
}
-checkUnnamed1460(core.List<api.LayoutPlaceholderIdMapping> o) {
+checkUnnamed1517(core.List<api.LayoutPlaceholderIdMapping> o) {
unittest.expect(o, unittest.hasLength(2));
checkLayoutPlaceholderIdMapping(o[0]);
checkLayoutPlaceholderIdMapping(o[1]);
@@ -468,7 +470,7 @@
if (buildCounterCreateSlideRequest < 3) {
o.insertionIndex = 42;
o.objectId = "foo";
- o.placeholderIdMappings = buildUnnamed1460();
+ o.placeholderIdMappings = buildUnnamed1517();
o.slideLayoutReference = buildLayoutReference();
}
buildCounterCreateSlideRequest--;
@@ -480,7 +482,7 @@
if (buildCounterCreateSlideRequest < 3) {
unittest.expect(o.insertionIndex, unittest.equals(42));
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed1460(o.placeholderIdMappings);
+ checkUnnamed1517(o.placeholderIdMappings);
checkLayoutReference(o.slideLayoutReference);
}
buildCounterCreateSlideRequest--;
@@ -748,14 +750,14 @@
buildCounterDimension--;
}
-buildUnnamed1461() {
+buildUnnamed1518() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1461(core.Map<core.String, core.String> o) {
+checkUnnamed1518(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -767,7 +769,7 @@
buildCounterDuplicateObjectRequest++;
if (buildCounterDuplicateObjectRequest < 3) {
o.objectId = "foo";
- o.objectIds = buildUnnamed1461();
+ o.objectIds = buildUnnamed1518();
}
buildCounterDuplicateObjectRequest--;
return o;
@@ -777,7 +779,7 @@
buildCounterDuplicateObjectRequest++;
if (buildCounterDuplicateObjectRequest < 3) {
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed1461(o.objectIds);
+ checkUnnamed1518(o.objectIds);
}
buildCounterDuplicateObjectRequest--;
}
@@ -801,14 +803,14 @@
buildCounterDuplicateObjectResponse--;
}
-buildUnnamed1462() {
+buildUnnamed1519() {
var o = new core.List<api.PageElement>();
o.add(buildPageElement());
o.add(buildPageElement());
return o;
}
-checkUnnamed1462(core.List<api.PageElement> o) {
+checkUnnamed1519(core.List<api.PageElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPageElement(o[0]);
checkPageElement(o[1]);
@@ -819,7 +821,7 @@
var o = new api.Group();
buildCounterGroup++;
if (buildCounterGroup < 3) {
- o.children = buildUnnamed1462();
+ o.children = buildUnnamed1519();
}
buildCounterGroup--;
return o;
@@ -828,7 +830,7 @@
checkGroup(api.Group o) {
buildCounterGroup++;
if (buildCounterGroup < 3) {
- checkUnnamed1462(o.children);
+ checkUnnamed1519(o.children);
}
buildCounterGroup--;
}
@@ -1123,14 +1125,14 @@
buildCounterLink--;
}
-buildUnnamed1463() {
+buildUnnamed1520() {
var o = new core.Map<core.String, api.NestingLevel>();
o["x"] = buildNestingLevel();
o["y"] = buildNestingLevel();
return o;
}
-checkUnnamed1463(core.Map<core.String, api.NestingLevel> o) {
+checkUnnamed1520(core.Map<core.String, api.NestingLevel> o) {
unittest.expect(o, unittest.hasLength(2));
checkNestingLevel(o["x"]);
checkNestingLevel(o["y"]);
@@ -1142,7 +1144,7 @@
buildCounterList++;
if (buildCounterList < 3) {
o.listId = "foo";
- o.nestingLevel = buildUnnamed1463();
+ o.nestingLevel = buildUnnamed1520();
}
buildCounterList--;
return o;
@@ -1152,7 +1154,7 @@
buildCounterList++;
if (buildCounterList < 3) {
unittest.expect(o.listId, unittest.equals('foo'));
- checkUnnamed1463(o.nestingLevel);
+ checkUnnamed1520(o.nestingLevel);
}
buildCounterList--;
}
@@ -1279,14 +1281,14 @@
buildCounterOutlineFill--;
}
-buildUnnamed1464() {
+buildUnnamed1521() {
var o = new core.List<api.PageElement>();
o.add(buildPageElement());
o.add(buildPageElement());
return o;
}
-checkUnnamed1464(core.List<api.PageElement> o) {
+checkUnnamed1521(core.List<api.PageElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPageElement(o[0]);
checkPageElement(o[1]);
@@ -1300,9 +1302,10 @@
o.layoutProperties = buildLayoutProperties();
o.notesProperties = buildNotesProperties();
o.objectId = "foo";
- o.pageElements = buildUnnamed1464();
+ o.pageElements = buildUnnamed1521();
o.pageProperties = buildPageProperties();
o.pageType = "foo";
+ o.revisionId = "foo";
o.slideProperties = buildSlideProperties();
}
buildCounterPage--;
@@ -1315,9 +1318,10 @@
checkLayoutProperties(o.layoutProperties);
checkNotesProperties(o.notesProperties);
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed1464(o.pageElements);
+ checkUnnamed1521(o.pageElements);
checkPageProperties(o.pageProperties);
unittest.expect(o.pageType, unittest.equals('foo'));
+ unittest.expect(o.revisionId, unittest.equals('foo'));
checkSlideProperties(o.slideProperties);
}
buildCounterPage--;
@@ -1512,40 +1516,40 @@
buildCounterPlaceholder--;
}
-buildUnnamed1465() {
+buildUnnamed1522() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1465(core.List<api.Page> o) {
+checkUnnamed1522(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1466() {
+buildUnnamed1523() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1466(core.List<api.Page> o) {
+checkUnnamed1523(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1467() {
+buildUnnamed1524() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1467(core.List<api.Page> o) {
+checkUnnamed1524(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -1556,13 +1560,14 @@
var o = new api.Presentation();
buildCounterPresentation++;
if (buildCounterPresentation < 3) {
- o.layouts = buildUnnamed1465();
+ o.layouts = buildUnnamed1522();
o.locale = "foo";
- o.masters = buildUnnamed1466();
+ o.masters = buildUnnamed1523();
o.notesMaster = buildPage();
o.pageSize = buildSize();
o.presentationId = "foo";
- o.slides = buildUnnamed1467();
+ o.revisionId = "foo";
+ o.slides = buildUnnamed1524();
o.title = "foo";
}
buildCounterPresentation--;
@@ -1572,13 +1577,14 @@
checkPresentation(api.Presentation o) {
buildCounterPresentation++;
if (buildCounterPresentation < 3) {
- checkUnnamed1465(o.layouts);
+ checkUnnamed1522(o.layouts);
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed1466(o.masters);
+ checkUnnamed1523(o.masters);
checkPage(o.notesMaster);
checkSize(o.pageSize);
unittest.expect(o.presentationId, unittest.equals('foo'));
- checkUnnamed1467(o.slides);
+ unittest.expect(o.revisionId, unittest.equals('foo'));
+ checkUnnamed1524(o.slides);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterPresentation--;
@@ -1607,14 +1613,14 @@
buildCounterRange--;
}
-buildUnnamed1468() {
+buildUnnamed1525() {
var o = new core.List<api.ColorStop>();
o.add(buildColorStop());
o.add(buildColorStop());
return o;
}
-checkUnnamed1468(core.List<api.ColorStop> o) {
+checkUnnamed1525(core.List<api.ColorStop> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorStop(o[0]);
checkColorStop(o[1]);
@@ -1626,7 +1632,7 @@
buildCounterRecolor++;
if (buildCounterRecolor < 3) {
o.name = "foo";
- o.recolorStops = buildUnnamed1468();
+ o.recolorStops = buildUnnamed1525();
}
buildCounterRecolor--;
return o;
@@ -1636,7 +1642,7 @@
buildCounterRecolor++;
if (buildCounterRecolor < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1468(o.recolorStops);
+ checkUnnamed1525(o.recolorStops);
}
buildCounterRecolor--;
}
@@ -2182,27 +2188,27 @@
buildCounterSubstringMatchCriteria--;
}
-buildUnnamed1469() {
+buildUnnamed1526() {
var o = new core.List<api.TableColumnProperties>();
o.add(buildTableColumnProperties());
o.add(buildTableColumnProperties());
return o;
}
-checkUnnamed1469(core.List<api.TableColumnProperties> o) {
+checkUnnamed1526(core.List<api.TableColumnProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableColumnProperties(o[0]);
checkTableColumnProperties(o[1]);
}
-buildUnnamed1470() {
+buildUnnamed1527() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed1470(core.List<api.TableRow> o) {
+checkUnnamed1527(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -2215,8 +2221,8 @@
if (buildCounterTable < 3) {
o.columns = 42;
o.rows = 42;
- o.tableColumns = buildUnnamed1469();
- o.tableRows = buildUnnamed1470();
+ o.tableColumns = buildUnnamed1526();
+ o.tableRows = buildUnnamed1527();
}
buildCounterTable--;
return o;
@@ -2227,8 +2233,8 @@
if (buildCounterTable < 3) {
unittest.expect(o.columns, unittest.equals(42));
unittest.expect(o.rows, unittest.equals(42));
- checkUnnamed1469(o.tableColumns);
- checkUnnamed1470(o.tableRows);
+ checkUnnamed1526(o.tableColumns);
+ checkUnnamed1527(o.tableRows);
}
buildCounterTable--;
}
@@ -2363,14 +2369,14 @@
buildCounterTableRange--;
}
-buildUnnamed1471() {
+buildUnnamed1528() {
var o = new core.List<api.TableCell>();
o.add(buildTableCell());
o.add(buildTableCell());
return o;
}
-checkUnnamed1471(core.List<api.TableCell> o) {
+checkUnnamed1528(core.List<api.TableCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableCell(o[0]);
checkTableCell(o[1]);
@@ -2382,7 +2388,7 @@
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
o.rowHeight = buildDimension();
- o.tableCells = buildUnnamed1471();
+ o.tableCells = buildUnnamed1528();
}
buildCounterTableRow--;
return o;
@@ -2392,32 +2398,32 @@
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
checkDimension(o.rowHeight);
- checkUnnamed1471(o.tableCells);
+ checkUnnamed1528(o.tableCells);
}
buildCounterTableRow--;
}
-buildUnnamed1472() {
+buildUnnamed1529() {
var o = new core.Map<core.String, api.List>();
o["x"] = buildList();
o["y"] = buildList();
return o;
}
-checkUnnamed1472(core.Map<core.String, api.List> o) {
+checkUnnamed1529(core.Map<core.String, api.List> o) {
unittest.expect(o, unittest.hasLength(2));
checkList(o["x"]);
checkList(o["y"]);
}
-buildUnnamed1473() {
+buildUnnamed1530() {
var o = new core.List<api.TextElement>();
o.add(buildTextElement());
o.add(buildTextElement());
return o;
}
-checkUnnamed1473(core.List<api.TextElement> o) {
+checkUnnamed1530(core.List<api.TextElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkTextElement(o[0]);
checkTextElement(o[1]);
@@ -2428,8 +2434,8 @@
var o = new api.TextContent();
buildCounterTextContent++;
if (buildCounterTextContent < 3) {
- o.lists = buildUnnamed1472();
- o.textElements = buildUnnamed1473();
+ o.lists = buildUnnamed1529();
+ o.textElements = buildUnnamed1530();
}
buildCounterTextContent--;
return o;
@@ -2438,8 +2444,8 @@
checkTextContent(api.TextContent o) {
buildCounterTextContent++;
if (buildCounterTextContent < 3) {
- checkUnnamed1472(o.lists);
- checkUnnamed1473(o.textElements);
+ checkUnnamed1529(o.lists);
+ checkUnnamed1530(o.textElements);
}
buildCounterTextContent--;
}
@@ -2508,6 +2514,7 @@
o.smallCaps = true;
o.strikethrough = true;
o.underline = true;
+ o.weightedFontFamily = buildWeightedFontFamily();
}
buildCounterTextStyle--;
return o;
@@ -2527,6 +2534,7 @@
unittest.expect(o.smallCaps, unittest.isTrue);
unittest.expect(o.strikethrough, unittest.isTrue);
unittest.expect(o.underline, unittest.isTrue);
+ checkWeightedFontFamily(o.weightedFontFamily);
}
buildCounterTextStyle--;
}
@@ -2552,6 +2560,29 @@
buildCounterThemeColorPair--;
}
+core.int buildCounterThumbnail = 0;
+buildThumbnail() {
+ var o = new api.Thumbnail();
+ buildCounterThumbnail++;
+ if (buildCounterThumbnail < 3) {
+ o.contentUrl = "foo";
+ o.height = 42;
+ o.width = 42;
+ }
+ buildCounterThumbnail--;
+ return o;
+}
+
+checkThumbnail(api.Thumbnail o) {
+ buildCounterThumbnail++;
+ if (buildCounterThumbnail < 3) {
+ unittest.expect(o.contentUrl, unittest.equals('foo'));
+ unittest.expect(o.height, unittest.equals(42));
+ unittest.expect(o.width, unittest.equals(42));
+ }
+ buildCounterThumbnail--;
+}
+
core.int buildCounterUpdateImagePropertiesRequest = 0;
buildUpdateImagePropertiesRequest() {
var o = new api.UpdateImagePropertiesRequest();
@@ -2694,14 +2725,14 @@
buildCounterUpdateShapePropertiesRequest--;
}
-buildUnnamed1474() {
+buildUnnamed1531() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1474(core.List<core.String> o) {
+checkUnnamed1531(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2713,7 +2744,7 @@
buildCounterUpdateSlidesPositionRequest++;
if (buildCounterUpdateSlidesPositionRequest < 3) {
o.insertionIndex = 42;
- o.slideObjectIds = buildUnnamed1474();
+ o.slideObjectIds = buildUnnamed1531();
}
buildCounterUpdateSlidesPositionRequest--;
return o;
@@ -2723,7 +2754,7 @@
buildCounterUpdateSlidesPositionRequest++;
if (buildCounterUpdateSlidesPositionRequest < 3) {
unittest.expect(o.insertionIndex, unittest.equals(42));
- checkUnnamed1474(o.slideObjectIds);
+ checkUnnamed1531(o.slideObjectIds);
}
buildCounterUpdateSlidesPositionRequest--;
}
@@ -2847,6 +2878,27 @@
buildCounterVideoProperties--;
}
+core.int buildCounterWeightedFontFamily = 0;
+buildWeightedFontFamily() {
+ var o = new api.WeightedFontFamily();
+ buildCounterWeightedFontFamily++;
+ if (buildCounterWeightedFontFamily < 3) {
+ o.fontFamily = "foo";
+ o.weight = 42;
+ }
+ buildCounterWeightedFontFamily--;
+ return o;
+}
+
+checkWeightedFontFamily(api.WeightedFontFamily o) {
+ buildCounterWeightedFontFamily++;
+ if (buildCounterWeightedFontFamily < 3) {
+ unittest.expect(o.fontFamily, unittest.equals('foo'));
+ unittest.expect(o.weight, unittest.equals(42));
+ }
+ buildCounterWeightedFontFamily--;
+}
+
core.int buildCounterWordArt = 0;
buildWordArt() {
var o = new api.WordArt();
@@ -2866,6 +2918,25 @@
buildCounterWordArt--;
}
+core.int buildCounterWriteControl = 0;
+buildWriteControl() {
+ var o = new api.WriteControl();
+ buildCounterWriteControl++;
+ if (buildCounterWriteControl < 3) {
+ o.requiredRevisionId = "foo";
+ }
+ buildCounterWriteControl--;
+ return o;
+}
+
+checkWriteControl(api.WriteControl o) {
+ buildCounterWriteControl++;
+ if (buildCounterWriteControl < 3) {
+ unittest.expect(o.requiredRevisionId, unittest.equals('foo'));
+ }
+ buildCounterWriteControl--;
+}
+
main() {
unittest.group("obj-schema-AffineTransform", () {
@@ -3732,6 +3803,15 @@
});
+ unittest.group("obj-schema-Thumbnail", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildThumbnail();
+ var od = new api.Thumbnail.fromJson(o.toJson());
+ checkThumbnail(od);
+ });
+ });
+
+
unittest.group("obj-schema-UpdateImagePropertiesRequest", () {
unittest.test("to-json--from-json", () {
var o = buildUpdateImagePropertiesRequest();
@@ -3840,6 +3920,15 @@
});
+ unittest.group("obj-schema-WeightedFontFamily", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildWeightedFontFamily();
+ var od = new api.WeightedFontFamily.fromJson(o.toJson());
+ checkWeightedFontFamily(od);
+ });
+ });
+
+
unittest.group("obj-schema-WordArt", () {
unittest.test("to-json--from-json", () {
var o = buildWordArt();
@@ -3849,6 +3938,15 @@
});
+ unittest.group("obj-schema-WriteControl", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildWriteControl();
+ var od = new api.WriteControl.fromJson(o.toJson());
+ checkWriteControl(od);
+ });
+ });
+
+
unittest.group("resource-PresentationsResourceApi", () {
unittest.test("method--batchUpdate", () {
@@ -4056,6 +4154,69 @@
})));
});
+ unittest.test("method--getThumbnail", () {
+
+ var mock = new HttpServerMock();
+ api.PresentationsPagesResourceApi res = new api.SlidesApi(mock).presentations.pages;
+ var arg_presentationId = "foo";
+ var arg_pageObjectId = "foo";
+ var arg_thumbnailProperties_mimeType = "foo";
+ var arg_thumbnailProperties_thumbnailSize = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.equals("v1/presentations/"));
+ pathOffset += 17;
+ index = path.indexOf("/pages/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_presentationId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("/pages/"));
+ pathOffset += 7;
+ index = path.indexOf("/thumbnail", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_pageObjectId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.equals("/thumbnail"));
+ pathOffset += 10;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["thumbnailProperties.mimeType"].first, unittest.equals(arg_thumbnailProperties_mimeType));
+ unittest.expect(queryMap["thumbnailProperties.thumbnailSize"].first, unittest.equals(arg_thumbnailProperties_thumbnailSize));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildThumbnail());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getThumbnail(arg_presentationId, arg_pageObjectId, thumbnailProperties_mimeType: arg_thumbnailProperties_mimeType, thumbnailProperties_thumbnailSize: arg_thumbnailProperties_thumbnailSize).then(unittest.expectAsync(((api.Thumbnail response) {
+ checkThumbnail(response);
+ })));
+ });
+
});
diff --git a/generated/googleapis/test/sourcerepo/v1_test.dart b/generated/googleapis/test/sourcerepo/v1_test.dart
index 25b795c..a7c6f80 100644
--- a/generated/googleapis/test/sourcerepo/v1_test.dart
+++ b/generated/googleapis/test/sourcerepo/v1_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed429() {
+buildUnnamed450() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed429(core.List<api.AuditLogConfig> o) {
+checkUnnamed450(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed430() {
+buildUnnamed451() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed430(core.List<core.String> o) {
+checkUnnamed451(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,8 +82,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed429();
- o.exemptedMembers = buildUnnamed430();
+ o.auditLogConfigs = buildUnnamed450();
+ o.exemptedMembers = buildUnnamed451();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -93,21 +93,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed429(o.auditLogConfigs);
- checkUnnamed430(o.exemptedMembers);
+ checkUnnamed450(o.auditLogConfigs);
+ checkUnnamed451(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed431() {
+buildUnnamed452() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed431(core.List<core.String> o) {
+checkUnnamed452(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -118,7 +118,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed431();
+ o.exemptedMembers = buildUnnamed452();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -128,20 +128,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed431(o.exemptedMembers);
+ checkUnnamed452(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed432() {
+buildUnnamed453() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed432(core.List<core.String> o) {
+checkUnnamed453(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -152,7 +152,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed432();
+ o.members = buildUnnamed453();
o.role = "foo";
}
buildCounterBinding--;
@@ -162,7 +162,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed432(o.members);
+ checkUnnamed453(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -185,14 +185,14 @@
buildCounterCloudAuditOptions--;
}
-buildUnnamed433() {
+buildUnnamed454() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed433(core.List<core.String> o) {
+checkUnnamed454(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -208,7 +208,7 @@
o.svc = "foo";
o.sys = "foo";
o.value = "foo";
- o.values = buildUnnamed433();
+ o.values = buildUnnamed454();
}
buildCounterCondition--;
return o;
@@ -222,7 +222,7 @@
unittest.expect(o.svc, unittest.equals('foo'));
unittest.expect(o.sys, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
- checkUnnamed433(o.values);
+ checkUnnamed454(o.values);
}
buildCounterCondition--;
}
@@ -282,14 +282,14 @@
buildCounterEmpty--;
}
-buildUnnamed434() {
+buildUnnamed455() {
var o = new core.List<api.Repo>();
o.add(buildRepo());
o.add(buildRepo());
return o;
}
-checkUnnamed434(core.List<api.Repo> o) {
+checkUnnamed455(core.List<api.Repo> o) {
unittest.expect(o, unittest.hasLength(2));
checkRepo(o[0]);
checkRepo(o[1]);
@@ -300,7 +300,7 @@
var o = new api.ListReposResponse();
buildCounterListReposResponse++;
if (buildCounterListReposResponse < 3) {
- o.repos = buildUnnamed434();
+ o.repos = buildUnnamed455();
}
buildCounterListReposResponse--;
return o;
@@ -309,7 +309,7 @@
checkListReposResponse(api.ListReposResponse o) {
buildCounterListReposResponse++;
if (buildCounterListReposResponse < 3) {
- checkUnnamed434(o.repos);
+ checkUnnamed455(o.repos);
}
buildCounterListReposResponse--;
}
@@ -360,40 +360,40 @@
buildCounterMirrorConfig--;
}
-buildUnnamed435() {
+buildUnnamed456() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed435(core.List<api.AuditConfig> o) {
+checkUnnamed456(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed436() {
+buildUnnamed457() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed436(core.List<api.Binding> o) {
+checkUnnamed457(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
}
-buildUnnamed437() {
+buildUnnamed458() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed437(core.List<api.Rule> o) {
+checkUnnamed458(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -404,11 +404,11 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed435();
- o.bindings = buildUnnamed436();
+ o.auditConfigs = buildUnnamed456();
+ o.bindings = buildUnnamed457();
o.etag = "foo";
o.iamOwned = true;
- o.rules = buildUnnamed437();
+ o.rules = buildUnnamed458();
o.version = 42;
}
buildCounterPolicy--;
@@ -418,11 +418,11 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed435(o.auditConfigs);
- checkUnnamed436(o.bindings);
+ checkUnnamed456(o.auditConfigs);
+ checkUnnamed457(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
- checkUnnamed437(o.rules);
+ checkUnnamed458(o.rules);
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
@@ -453,66 +453,66 @@
buildCounterRepo--;
}
-buildUnnamed438() {
+buildUnnamed459() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed438(core.List<api.Condition> o) {
+checkUnnamed459(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed439() {
+buildUnnamed460() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed439(core.List<core.String> o) {
+checkUnnamed460(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed440() {
+buildUnnamed461() {
var o = new core.List<api.LogConfig>();
o.add(buildLogConfig());
o.add(buildLogConfig());
return o;
}
-checkUnnamed440(core.List<api.LogConfig> o) {
+checkUnnamed461(core.List<api.LogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogConfig(o[0]);
checkLogConfig(o[1]);
}
-buildUnnamed441() {
+buildUnnamed462() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed441(core.List<core.String> o) {
+checkUnnamed462(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed442() {
+buildUnnamed463() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed442(core.List<core.String> o) {
+checkUnnamed463(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -524,12 +524,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.action = "foo";
- o.conditions = buildUnnamed438();
+ o.conditions = buildUnnamed459();
o.description = "foo";
- o.in_ = buildUnnamed439();
- o.logConfig = buildUnnamed440();
- o.notIn = buildUnnamed441();
- o.permissions = buildUnnamed442();
+ o.in_ = buildUnnamed460();
+ o.logConfig = buildUnnamed461();
+ o.notIn = buildUnnamed462();
+ o.permissions = buildUnnamed463();
}
buildCounterRule--;
return o;
@@ -539,12 +539,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed438(o.conditions);
+ checkUnnamed459(o.conditions);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed439(o.in_);
- checkUnnamed440(o.logConfig);
- checkUnnamed441(o.notIn);
- checkUnnamed442(o.permissions);
+ checkUnnamed460(o.in_);
+ checkUnnamed461(o.logConfig);
+ checkUnnamed462(o.notIn);
+ checkUnnamed463(o.permissions);
}
buildCounterRule--;
}
@@ -570,14 +570,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed443() {
+buildUnnamed464() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed443(core.List<core.String> o) {
+checkUnnamed464(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -588,7 +588,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed443();
+ o.permissions = buildUnnamed464();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -597,19 +597,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed443(o.permissions);
+ checkUnnamed464(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed444() {
+buildUnnamed465() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed444(core.List<core.String> o) {
+checkUnnamed465(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -620,7 +620,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed444();
+ o.permissions = buildUnnamed465();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -629,7 +629,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed444(o.permissions);
+ checkUnnamed465(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
diff --git a/generated/googleapis/test/spanner/v1_test.dart b/generated/googleapis/test/spanner/v1_test.dart
index 0774ee9..af8d732 100644
--- a/generated/googleapis/test/spanner/v1_test.dart
+++ b/generated/googleapis/test/spanner/v1_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1769() {
+buildUnnamed1873() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1769(core.List<api.AuditLogConfig> o) {
+checkUnnamed1873(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed1770() {
+buildUnnamed1874() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1770(core.List<core.String> o) {
+checkUnnamed1874(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,8 +82,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed1769();
- o.exemptedMembers = buildUnnamed1770();
+ o.auditLogConfigs = buildUnnamed1873();
+ o.exemptedMembers = buildUnnamed1874();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -93,21 +93,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1769(o.auditLogConfigs);
- checkUnnamed1770(o.exemptedMembers);
+ checkUnnamed1873(o.auditLogConfigs);
+ checkUnnamed1874(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1771() {
+buildUnnamed1875() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1771(core.List<core.String> o) {
+checkUnnamed1875(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -118,7 +118,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed1771();
+ o.exemptedMembers = buildUnnamed1875();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -128,7 +128,7 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1771(o.exemptedMembers);
+ checkUnnamed1875(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
@@ -153,14 +153,14 @@
buildCounterBeginTransactionRequest--;
}
-buildUnnamed1772() {
+buildUnnamed1876() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1772(core.List<core.String> o) {
+checkUnnamed1876(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -171,7 +171,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1772();
+ o.members = buildUnnamed1876();
o.role = "foo";
}
buildCounterBinding--;
@@ -181,7 +181,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1772(o.members);
+ checkUnnamed1876(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -227,14 +227,14 @@
buildCounterCloudAuditOptions--;
}
-buildUnnamed1773() {
+buildUnnamed1877() {
var o = new core.List<api.Mutation>();
o.add(buildMutation());
o.add(buildMutation());
return o;
}
-checkUnnamed1773(core.List<api.Mutation> o) {
+checkUnnamed1877(core.List<api.Mutation> o) {
unittest.expect(o, unittest.hasLength(2));
checkMutation(o[0]);
checkMutation(o[1]);
@@ -245,7 +245,7 @@
var o = new api.CommitRequest();
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
- o.mutations = buildUnnamed1773();
+ o.mutations = buildUnnamed1877();
o.singleUseTransaction = buildTransactionOptions();
o.transactionId = "foo";
}
@@ -256,7 +256,7 @@
checkCommitRequest(api.CommitRequest o) {
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
- checkUnnamed1773(o.mutations);
+ checkUnnamed1877(o.mutations);
checkTransactionOptions(o.singleUseTransaction);
unittest.expect(o.transactionId, unittest.equals('foo'));
}
@@ -282,14 +282,14 @@
buildCounterCommitResponse--;
}
-buildUnnamed1774() {
+buildUnnamed1878() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1774(core.List<core.String> o) {
+checkUnnamed1878(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -305,7 +305,7 @@
o.svc = "foo";
o.sys = "foo";
o.value = "foo";
- o.values = buildUnnamed1774();
+ o.values = buildUnnamed1878();
}
buildCounterCondition--;
return o;
@@ -319,7 +319,7 @@
unittest.expect(o.svc, unittest.equals('foo'));
unittest.expect(o.sys, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
- checkUnnamed1774(o.values);
+ checkUnnamed1878(o.values);
}
buildCounterCondition--;
}
@@ -364,14 +364,14 @@
buildCounterCreateDatabaseMetadata--;
}
-buildUnnamed1775() {
+buildUnnamed1879() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1775(core.List<core.String> o) {
+checkUnnamed1879(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -383,7 +383,7 @@
buildCounterCreateDatabaseRequest++;
if (buildCounterCreateDatabaseRequest < 3) {
o.createStatement = "foo";
- o.extraStatements = buildUnnamed1775();
+ o.extraStatements = buildUnnamed1879();
}
buildCounterCreateDatabaseRequest--;
return o;
@@ -393,7 +393,7 @@
buildCounterCreateDatabaseRequest++;
if (buildCounterCreateDatabaseRequest < 3) {
unittest.expect(o.createStatement, unittest.equals('foo'));
- checkUnnamed1775(o.extraStatements);
+ checkUnnamed1879(o.extraStatements);
}
buildCounterCreateDatabaseRequest--;
}
@@ -520,27 +520,27 @@
buildCounterEmpty--;
}
-buildUnnamed1776() {
+buildUnnamed1880() {
var o = new core.Map<core.String, api.Type>();
o["x"] = buildType();
o["y"] = buildType();
return o;
}
-checkUnnamed1776(core.Map<core.String, api.Type> o) {
+checkUnnamed1880(core.Map<core.String, api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o["x"]);
checkType(o["y"]);
}
-buildUnnamed1777() {
+buildUnnamed1881() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1777(core.Map<core.String, core.Object> o) {
+checkUnnamed1881(core.Map<core.String, core.Object> 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'));
@@ -551,8 +551,8 @@
var o = new api.ExecuteSqlRequest();
buildCounterExecuteSqlRequest++;
if (buildCounterExecuteSqlRequest < 3) {
- o.paramTypes = buildUnnamed1776();
- o.params = buildUnnamed1777();
+ o.paramTypes = buildUnnamed1880();
+ o.params = buildUnnamed1881();
o.queryMode = "foo";
o.resumeToken = "foo";
o.sql = "foo";
@@ -565,8 +565,8 @@
checkExecuteSqlRequest(api.ExecuteSqlRequest o) {
buildCounterExecuteSqlRequest++;
if (buildCounterExecuteSqlRequest < 3) {
- checkUnnamed1776(o.paramTypes);
- checkUnnamed1777(o.params);
+ checkUnnamed1880(o.paramTypes);
+ checkUnnamed1881(o.params);
unittest.expect(o.queryMode, unittest.equals('foo'));
unittest.expect(o.resumeToken, unittest.equals('foo'));
unittest.expect(o.sql, unittest.equals('foo'));
@@ -596,14 +596,14 @@
buildCounterField--;
}
-buildUnnamed1778() {
+buildUnnamed1882() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1778(core.List<core.String> o) {
+checkUnnamed1882(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -614,7 +614,7 @@
var o = new api.GetDatabaseDdlResponse();
buildCounterGetDatabaseDdlResponse++;
if (buildCounterGetDatabaseDdlResponse < 3) {
- o.statements = buildUnnamed1778();
+ o.statements = buildUnnamed1882();
}
buildCounterGetDatabaseDdlResponse--;
return o;
@@ -623,7 +623,7 @@
checkGetDatabaseDdlResponse(api.GetDatabaseDdlResponse o) {
buildCounterGetDatabaseDdlResponse++;
if (buildCounterGetDatabaseDdlResponse < 3) {
- checkUnnamed1778(o.statements);
+ checkUnnamed1882(o.statements);
}
buildCounterGetDatabaseDdlResponse--;
}
@@ -645,14 +645,14 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed1779() {
+buildUnnamed1883() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1779(core.Map<core.String, core.String> o) {
+checkUnnamed1883(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -665,7 +665,7 @@
if (buildCounterInstance < 3) {
o.config = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1779();
+ o.labels = buildUnnamed1883();
o.name = "foo";
o.nodeCount = 42;
o.state = "foo";
@@ -679,7 +679,7 @@
if (buildCounterInstance < 3) {
unittest.expect(o.config, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1779(o.labels);
+ checkUnnamed1883(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nodeCount, unittest.equals(42));
unittest.expect(o.state, unittest.equals('foo'));
@@ -708,53 +708,53 @@
buildCounterInstanceConfig--;
}
-buildUnnamed1780() {
+buildUnnamed1884() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1780(core.List<core.Object> o) {
+checkUnnamed1884(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) 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[1]) 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'));
}
-buildUnnamed1781() {
+buildUnnamed1885() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1781(core.List<core.Object> o) {
+checkUnnamed1885(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) 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[1]) 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'));
}
-buildUnnamed1782() {
+buildUnnamed1886() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1782(core.List<core.Object> o) {
+checkUnnamed1886(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o[0]) 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[1]) 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'));
}
-buildUnnamed1783() {
+buildUnnamed1887() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1783(core.List<core.Object> o) {
+checkUnnamed1887(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o[0]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
var casted10 = (o[1]) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
@@ -765,10 +765,10 @@
var o = new api.KeyRange();
buildCounterKeyRange++;
if (buildCounterKeyRange < 3) {
- o.endClosed = buildUnnamed1780();
- o.endOpen = buildUnnamed1781();
- o.startClosed = buildUnnamed1782();
- o.startOpen = buildUnnamed1783();
+ o.endClosed = buildUnnamed1884();
+ o.endOpen = buildUnnamed1885();
+ o.startClosed = buildUnnamed1886();
+ o.startOpen = buildUnnamed1887();
}
buildCounterKeyRange--;
return o;
@@ -777,48 +777,48 @@
checkKeyRange(api.KeyRange o) {
buildCounterKeyRange++;
if (buildCounterKeyRange < 3) {
- checkUnnamed1780(o.endClosed);
- checkUnnamed1781(o.endOpen);
- checkUnnamed1782(o.startClosed);
- checkUnnamed1783(o.startOpen);
+ checkUnnamed1884(o.endClosed);
+ checkUnnamed1885(o.endOpen);
+ checkUnnamed1886(o.startClosed);
+ checkUnnamed1887(o.startOpen);
}
buildCounterKeyRange--;
}
-buildUnnamed1784() {
+buildUnnamed1888() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1784(core.List<core.Object> o) {
+checkUnnamed1888(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o[0]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
var casted12 = (o[1]) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed1785() {
+buildUnnamed1889() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed1784());
- o.add(buildUnnamed1784());
+ o.add(buildUnnamed1888());
+ o.add(buildUnnamed1888());
return o;
}
-checkUnnamed1785(core.List<core.List<core.Object>> o) {
+checkUnnamed1889(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1784(o[0]);
- checkUnnamed1784(o[1]);
+ checkUnnamed1888(o[0]);
+ checkUnnamed1888(o[1]);
}
-buildUnnamed1786() {
+buildUnnamed1890() {
var o = new core.List<api.KeyRange>();
o.add(buildKeyRange());
o.add(buildKeyRange());
return o;
}
-checkUnnamed1786(core.List<api.KeyRange> o) {
+checkUnnamed1890(core.List<api.KeyRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyRange(o[0]);
checkKeyRange(o[1]);
@@ -830,8 +830,8 @@
buildCounterKeySet++;
if (buildCounterKeySet < 3) {
o.all = true;
- o.keys = buildUnnamed1785();
- o.ranges = buildUnnamed1786();
+ o.keys = buildUnnamed1889();
+ o.ranges = buildUnnamed1890();
}
buildCounterKeySet--;
return o;
@@ -841,20 +841,20 @@
buildCounterKeySet++;
if (buildCounterKeySet < 3) {
unittest.expect(o.all, unittest.isTrue);
- checkUnnamed1785(o.keys);
- checkUnnamed1786(o.ranges);
+ checkUnnamed1889(o.keys);
+ checkUnnamed1890(o.ranges);
}
buildCounterKeySet--;
}
-buildUnnamed1787() {
+buildUnnamed1891() {
var o = new core.List<api.Database>();
o.add(buildDatabase());
o.add(buildDatabase());
return o;
}
-checkUnnamed1787(core.List<api.Database> o) {
+checkUnnamed1891(core.List<api.Database> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatabase(o[0]);
checkDatabase(o[1]);
@@ -865,7 +865,7 @@
var o = new api.ListDatabasesResponse();
buildCounterListDatabasesResponse++;
if (buildCounterListDatabasesResponse < 3) {
- o.databases = buildUnnamed1787();
+ o.databases = buildUnnamed1891();
o.nextPageToken = "foo";
}
buildCounterListDatabasesResponse--;
@@ -875,20 +875,20 @@
checkListDatabasesResponse(api.ListDatabasesResponse o) {
buildCounterListDatabasesResponse++;
if (buildCounterListDatabasesResponse < 3) {
- checkUnnamed1787(o.databases);
+ checkUnnamed1891(o.databases);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDatabasesResponse--;
}
-buildUnnamed1788() {
+buildUnnamed1892() {
var o = new core.List<api.InstanceConfig>();
o.add(buildInstanceConfig());
o.add(buildInstanceConfig());
return o;
}
-checkUnnamed1788(core.List<api.InstanceConfig> o) {
+checkUnnamed1892(core.List<api.InstanceConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceConfig(o[0]);
checkInstanceConfig(o[1]);
@@ -899,7 +899,7 @@
var o = new api.ListInstanceConfigsResponse();
buildCounterListInstanceConfigsResponse++;
if (buildCounterListInstanceConfigsResponse < 3) {
- o.instanceConfigs = buildUnnamed1788();
+ o.instanceConfigs = buildUnnamed1892();
o.nextPageToken = "foo";
}
buildCounterListInstanceConfigsResponse--;
@@ -909,20 +909,20 @@
checkListInstanceConfigsResponse(api.ListInstanceConfigsResponse o) {
buildCounterListInstanceConfigsResponse++;
if (buildCounterListInstanceConfigsResponse < 3) {
- checkUnnamed1788(o.instanceConfigs);
+ checkUnnamed1892(o.instanceConfigs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstanceConfigsResponse--;
}
-buildUnnamed1789() {
+buildUnnamed1893() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed1789(core.List<api.Instance> o) {
+checkUnnamed1893(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -933,7 +933,7 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed1789();
+ o.instances = buildUnnamed1893();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -943,20 +943,20 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed1789(o.instances);
+ checkUnnamed1893(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed1790() {
+buildUnnamed1894() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1790(core.List<api.Operation> o) {
+checkUnnamed1894(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -968,7 +968,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1790();
+ o.operations = buildUnnamed1894();
}
buildCounterListOperationsResponse--;
return o;
@@ -978,7 +978,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1790(o.operations);
+ checkUnnamed1894(o.operations);
}
buildCounterListOperationsResponse--;
}
@@ -1033,27 +1033,27 @@
buildCounterMutation--;
}
-buildUnnamed1791() {
+buildUnnamed1895() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1791(core.Map<core.String, core.Object> o) {
+checkUnnamed1895(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["string"], unittest.equals('foo'));
var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["string"], unittest.equals('foo'));
}
-buildUnnamed1792() {
+buildUnnamed1896() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1792(core.Map<core.String, core.Object> o) {
+checkUnnamed1896(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted15 = (o["x"]) as core.Map; unittest.expect(casted15, unittest.hasLength(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest.expect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["string"], unittest.equals('foo'));
var casted16 = (o["y"]) as core.Map; unittest.expect(casted16, unittest.hasLength(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest.expect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["string"], unittest.equals('foo'));
@@ -1066,9 +1066,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1791();
+ o.metadata = buildUnnamed1895();
o.name = "foo";
- o.response = buildUnnamed1792();
+ o.response = buildUnnamed1896();
}
buildCounterOperation--;
return o;
@@ -1079,21 +1079,21 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1791(o.metadata);
+ checkUnnamed1895(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1792(o.response);
+ checkUnnamed1896(o.response);
}
buildCounterOperation--;
}
-buildUnnamed1793() {
+buildUnnamed1897() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1793(core.List<core.Object> o) {
+checkUnnamed1897(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted17 = (o[0]) as core.Map; unittest.expect(casted17, unittest.hasLength(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.expect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string"], unittest.equals('foo'));
var casted18 = (o[1]) as core.Map; unittest.expect(casted18, unittest.hasLength(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest.expect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["string"], unittest.equals('foo'));
@@ -1108,7 +1108,7 @@
o.metadata = buildResultSetMetadata();
o.resumeToken = "foo";
o.stats = buildResultSetStats();
- o.values = buildUnnamed1793();
+ o.values = buildUnnamed1897();
}
buildCounterPartialResultSet--;
return o;
@@ -1121,45 +1121,45 @@
checkResultSetMetadata(o.metadata);
unittest.expect(o.resumeToken, unittest.equals('foo'));
checkResultSetStats(o.stats);
- checkUnnamed1793(o.values);
+ checkUnnamed1897(o.values);
}
buildCounterPartialResultSet--;
}
-buildUnnamed1794() {
+buildUnnamed1898() {
var o = new core.List<api.ChildLink>();
o.add(buildChildLink());
o.add(buildChildLink());
return o;
}
-checkUnnamed1794(core.List<api.ChildLink> o) {
+checkUnnamed1898(core.List<api.ChildLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkChildLink(o[0]);
checkChildLink(o[1]);
}
-buildUnnamed1795() {
+buildUnnamed1899() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1795(core.Map<core.String, core.Object> o) {
+checkUnnamed1899(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted19 = (o["x"]) as core.Map; unittest.expect(casted19, unittest.hasLength(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest.expect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["string"], unittest.equals('foo'));
var casted20 = (o["y"]) as core.Map; unittest.expect(casted20, unittest.hasLength(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest.expect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["string"], unittest.equals('foo'));
}
-buildUnnamed1796() {
+buildUnnamed1900() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1796(core.Map<core.String, core.Object> o) {
+checkUnnamed1900(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted21 = (o["x"]) as core.Map; unittest.expect(casted21, unittest.hasLength(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest.expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["string"], unittest.equals('foo'));
var casted22 = (o["y"]) as core.Map; unittest.expect(casted22, unittest.hasLength(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest.expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["string"], unittest.equals('foo'));
@@ -1170,12 +1170,12 @@
var o = new api.PlanNode();
buildCounterPlanNode++;
if (buildCounterPlanNode < 3) {
- o.childLinks = buildUnnamed1794();
+ o.childLinks = buildUnnamed1898();
o.displayName = "foo";
- o.executionStats = buildUnnamed1795();
+ o.executionStats = buildUnnamed1899();
o.index = 42;
o.kind = "foo";
- o.metadata = buildUnnamed1796();
+ o.metadata = buildUnnamed1900();
o.shortRepresentation = buildShortRepresentation();
}
buildCounterPlanNode--;
@@ -1185,51 +1185,51 @@
checkPlanNode(api.PlanNode o) {
buildCounterPlanNode++;
if (buildCounterPlanNode < 3) {
- checkUnnamed1794(o.childLinks);
+ checkUnnamed1898(o.childLinks);
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1795(o.executionStats);
+ checkUnnamed1899(o.executionStats);
unittest.expect(o.index, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1796(o.metadata);
+ checkUnnamed1900(o.metadata);
checkShortRepresentation(o.shortRepresentation);
}
buildCounterPlanNode--;
}
-buildUnnamed1797() {
+buildUnnamed1901() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1797(core.List<api.AuditConfig> o) {
+checkUnnamed1901(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1798() {
+buildUnnamed1902() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1798(core.List<api.Binding> o) {
+checkUnnamed1902(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
}
-buildUnnamed1799() {
+buildUnnamed1903() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed1799(core.List<api.Rule> o) {
+checkUnnamed1903(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -1240,11 +1240,11 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed1797();
- o.bindings = buildUnnamed1798();
+ o.auditConfigs = buildUnnamed1901();
+ o.bindings = buildUnnamed1902();
o.etag = "foo";
o.iamOwned = true;
- o.rules = buildUnnamed1799();
+ o.rules = buildUnnamed1903();
o.version = 42;
}
buildCounterPolicy--;
@@ -1254,24 +1254,24 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1797(o.auditConfigs);
- checkUnnamed1798(o.bindings);
+ checkUnnamed1901(o.auditConfigs);
+ checkUnnamed1902(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
- checkUnnamed1799(o.rules);
+ checkUnnamed1903(o.rules);
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed1800() {
+buildUnnamed1904() {
var o = new core.List<api.PlanNode>();
o.add(buildPlanNode());
o.add(buildPlanNode());
return o;
}
-checkUnnamed1800(core.List<api.PlanNode> o) {
+checkUnnamed1904(core.List<api.PlanNode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlanNode(o[0]);
checkPlanNode(o[1]);
@@ -1282,7 +1282,7 @@
var o = new api.QueryPlan();
buildCounterQueryPlan++;
if (buildCounterQueryPlan < 3) {
- o.planNodes = buildUnnamed1800();
+ o.planNodes = buildUnnamed1904();
}
buildCounterQueryPlan--;
return o;
@@ -1291,7 +1291,7 @@
checkQueryPlan(api.QueryPlan o) {
buildCounterQueryPlan++;
if (buildCounterQueryPlan < 3) {
- checkUnnamed1800(o.planNodes);
+ checkUnnamed1904(o.planNodes);
}
buildCounterQueryPlan--;
}
@@ -1325,14 +1325,14 @@
buildCounterReadOnly--;
}
-buildUnnamed1801() {
+buildUnnamed1905() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1801(core.List<core.String> o) {
+checkUnnamed1905(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1343,7 +1343,7 @@
var o = new api.ReadRequest();
buildCounterReadRequest++;
if (buildCounterReadRequest < 3) {
- o.columns = buildUnnamed1801();
+ o.columns = buildUnnamed1905();
o.index = "foo";
o.keySet = buildKeySet();
o.limit = "foo";
@@ -1358,7 +1358,7 @@
checkReadRequest(api.ReadRequest o) {
buildCounterReadRequest++;
if (buildCounterReadRequest < 3) {
- checkUnnamed1801(o.columns);
+ checkUnnamed1905(o.columns);
unittest.expect(o.index, unittest.equals('foo'));
checkKeySet(o.keySet);
unittest.expect(o.limit, unittest.equals('foo'));
@@ -1386,30 +1386,30 @@
buildCounterReadWrite--;
}
-buildUnnamed1802() {
+buildUnnamed1906() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1802(core.List<core.Object> o) {
+checkUnnamed1906(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted23 = (o[0]) as core.Map; unittest.expect(casted23, unittest.hasLength(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest.expect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["string"], unittest.equals('foo'));
var casted24 = (o[1]) as core.Map; unittest.expect(casted24, unittest.hasLength(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest.expect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["string"], unittest.equals('foo'));
}
-buildUnnamed1803() {
+buildUnnamed1907() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed1802());
- o.add(buildUnnamed1802());
+ o.add(buildUnnamed1906());
+ o.add(buildUnnamed1906());
return o;
}
-checkUnnamed1803(core.List<core.List<core.Object>> o) {
+checkUnnamed1907(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1802(o[0]);
- checkUnnamed1802(o[1]);
+ checkUnnamed1906(o[0]);
+ checkUnnamed1906(o[1]);
}
core.int buildCounterResultSet = 0;
@@ -1418,7 +1418,7 @@
buildCounterResultSet++;
if (buildCounterResultSet < 3) {
o.metadata = buildResultSetMetadata();
- o.rows = buildUnnamed1803();
+ o.rows = buildUnnamed1907();
o.stats = buildResultSetStats();
}
buildCounterResultSet--;
@@ -1429,7 +1429,7 @@
buildCounterResultSet++;
if (buildCounterResultSet < 3) {
checkResultSetMetadata(o.metadata);
- checkUnnamed1803(o.rows);
+ checkUnnamed1907(o.rows);
checkResultSetStats(o.stats);
}
buildCounterResultSet--;
@@ -1456,14 +1456,14 @@
buildCounterResultSetMetadata--;
}
-buildUnnamed1804() {
+buildUnnamed1908() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1804(core.Map<core.String, core.Object> o) {
+checkUnnamed1908(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted25 = (o["x"]) as core.Map; unittest.expect(casted25, unittest.hasLength(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest.expect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["string"], unittest.equals('foo'));
var casted26 = (o["y"]) as core.Map; unittest.expect(casted26, unittest.hasLength(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest.expect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["string"], unittest.equals('foo'));
@@ -1475,7 +1475,7 @@
buildCounterResultSetStats++;
if (buildCounterResultSetStats < 3) {
o.queryPlan = buildQueryPlan();
- o.queryStats = buildUnnamed1804();
+ o.queryStats = buildUnnamed1908();
}
buildCounterResultSetStats--;
return o;
@@ -1485,7 +1485,7 @@
buildCounterResultSetStats++;
if (buildCounterResultSetStats < 3) {
checkQueryPlan(o.queryPlan);
- checkUnnamed1804(o.queryStats);
+ checkUnnamed1908(o.queryStats);
}
buildCounterResultSetStats--;
}
@@ -1509,66 +1509,66 @@
buildCounterRollbackRequest--;
}
-buildUnnamed1805() {
+buildUnnamed1909() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1805(core.List<api.Condition> o) {
+checkUnnamed1909(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1806() {
+buildUnnamed1910() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1806(core.List<core.String> o) {
+checkUnnamed1910(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1807() {
+buildUnnamed1911() {
var o = new core.List<api.LogConfig>();
o.add(buildLogConfig());
o.add(buildLogConfig());
return o;
}
-checkUnnamed1807(core.List<api.LogConfig> o) {
+checkUnnamed1911(core.List<api.LogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogConfig(o[0]);
checkLogConfig(o[1]);
}
-buildUnnamed1808() {
+buildUnnamed1912() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1808(core.List<core.String> o) {
+checkUnnamed1912(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1809() {
+buildUnnamed1913() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1809(core.List<core.String> o) {
+checkUnnamed1913(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1580,12 +1580,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.action = "foo";
- o.conditions = buildUnnamed1805();
+ o.conditions = buildUnnamed1909();
o.description = "foo";
- o.in_ = buildUnnamed1806();
- o.logConfig = buildUnnamed1807();
- o.notIn = buildUnnamed1808();
- o.permissions = buildUnnamed1809();
+ o.in_ = buildUnnamed1910();
+ o.logConfig = buildUnnamed1911();
+ o.notIn = buildUnnamed1912();
+ o.permissions = buildUnnamed1913();
}
buildCounterRule--;
return o;
@@ -1595,12 +1595,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed1805(o.conditions);
+ checkUnnamed1909(o.conditions);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1806(o.in_);
- checkUnnamed1807(o.logConfig);
- checkUnnamed1808(o.notIn);
- checkUnnamed1809(o.permissions);
+ checkUnnamed1910(o.in_);
+ checkUnnamed1911(o.logConfig);
+ checkUnnamed1912(o.notIn);
+ checkUnnamed1913(o.permissions);
}
buildCounterRule--;
}
@@ -1645,14 +1645,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed1810() {
+buildUnnamed1914() {
var o = new core.Map<core.String, core.int>();
o["x"] = 42;
o["y"] = 42;
return o;
}
-checkUnnamed1810(core.Map<core.String, core.int> o) {
+checkUnnamed1914(core.Map<core.String, core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42));
unittest.expect(o["y"], unittest.equals(42));
@@ -1664,7 +1664,7 @@
buildCounterShortRepresentation++;
if (buildCounterShortRepresentation < 3) {
o.description = "foo";
- o.subqueries = buildUnnamed1810();
+ o.subqueries = buildUnnamed1914();
}
buildCounterShortRepresentation--;
return o;
@@ -1674,35 +1674,35 @@
buildCounterShortRepresentation++;
if (buildCounterShortRepresentation < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1810(o.subqueries);
+ checkUnnamed1914(o.subqueries);
}
buildCounterShortRepresentation--;
}
-buildUnnamed1811() {
+buildUnnamed1915() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1811(core.Map<core.String, core.Object> o) {
+checkUnnamed1915(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted27 = (o["x"]) as core.Map; unittest.expect(casted27, unittest.hasLength(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest.expect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["string"], unittest.equals('foo'));
var casted28 = (o["y"]) as core.Map; unittest.expect(casted28, unittest.hasLength(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest.expect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["string"], unittest.equals('foo'));
}
-buildUnnamed1812() {
+buildUnnamed1916() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1811());
- o.add(buildUnnamed1811());
+ o.add(buildUnnamed1915());
+ o.add(buildUnnamed1915());
return o;
}
-checkUnnamed1812(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1916(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1811(o[0]);
- checkUnnamed1811(o[1]);
+ checkUnnamed1915(o[0]);
+ checkUnnamed1915(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1711,7 +1711,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1812();
+ o.details = buildUnnamed1916();
o.message = "foo";
}
buildCounterStatus--;
@@ -1722,20 +1722,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1812(o.details);
+ checkUnnamed1916(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed1813() {
+buildUnnamed1917() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed1813(core.List<api.Field> o) {
+checkUnnamed1917(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
@@ -1746,7 +1746,7 @@
var o = new api.StructType();
buildCounterStructType++;
if (buildCounterStructType < 3) {
- o.fields = buildUnnamed1813();
+ o.fields = buildUnnamed1917();
}
buildCounterStructType--;
return o;
@@ -1755,19 +1755,19 @@
checkStructType(api.StructType o) {
buildCounterStructType++;
if (buildCounterStructType < 3) {
- checkUnnamed1813(o.fields);
+ checkUnnamed1917(o.fields);
}
buildCounterStructType--;
}
-buildUnnamed1814() {
+buildUnnamed1918() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1814(core.List<core.String> o) {
+checkUnnamed1918(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1778,7 +1778,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1814();
+ o.permissions = buildUnnamed1918();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -1787,19 +1787,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1814(o.permissions);
+ checkUnnamed1918(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1815() {
+buildUnnamed1919() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1815(core.List<core.String> o) {
+checkUnnamed1919(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1810,7 +1810,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1815();
+ o.permissions = buildUnnamed1919();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1819,7 +1819,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1815(o.permissions);
+ checkUnnamed1919(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1912,27 +1912,27 @@
buildCounterType--;
}
-buildUnnamed1816() {
+buildUnnamed1920() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1816(core.List<core.String> o) {
+checkUnnamed1920(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1817() {
+buildUnnamed1921() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1817(core.List<core.String> o) {
+checkUnnamed1921(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1943,9 +1943,9 @@
var o = new api.UpdateDatabaseDdlMetadata();
buildCounterUpdateDatabaseDdlMetadata++;
if (buildCounterUpdateDatabaseDdlMetadata < 3) {
- o.commitTimestamps = buildUnnamed1816();
+ o.commitTimestamps = buildUnnamed1920();
o.database = "foo";
- o.statements = buildUnnamed1817();
+ o.statements = buildUnnamed1921();
}
buildCounterUpdateDatabaseDdlMetadata--;
return o;
@@ -1954,21 +1954,21 @@
checkUpdateDatabaseDdlMetadata(api.UpdateDatabaseDdlMetadata o) {
buildCounterUpdateDatabaseDdlMetadata++;
if (buildCounterUpdateDatabaseDdlMetadata < 3) {
- checkUnnamed1816(o.commitTimestamps);
+ checkUnnamed1920(o.commitTimestamps);
unittest.expect(o.database, unittest.equals('foo'));
- checkUnnamed1817(o.statements);
+ checkUnnamed1921(o.statements);
}
buildCounterUpdateDatabaseDdlMetadata--;
}
-buildUnnamed1818() {
+buildUnnamed1922() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1818(core.List<core.String> o) {
+checkUnnamed1922(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1980,7 +1980,7 @@
buildCounterUpdateDatabaseDdlRequest++;
if (buildCounterUpdateDatabaseDdlRequest < 3) {
o.operationId = "foo";
- o.statements = buildUnnamed1818();
+ o.statements = buildUnnamed1922();
}
buildCounterUpdateDatabaseDdlRequest--;
return o;
@@ -1990,7 +1990,7 @@
buildCounterUpdateDatabaseDdlRequest++;
if (buildCounterUpdateDatabaseDdlRequest < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1818(o.statements);
+ checkUnnamed1922(o.statements);
}
buildCounterUpdateDatabaseDdlRequest--;
}
@@ -2041,43 +2041,43 @@
buildCounterUpdateInstanceRequest--;
}
-buildUnnamed1819() {
+buildUnnamed1923() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1819(core.List<core.String> o) {
+checkUnnamed1923(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1820() {
+buildUnnamed1924() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1820(core.List<core.Object> o) {
+checkUnnamed1924(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted29 = (o[0]) as core.Map; unittest.expect(casted29, unittest.hasLength(3)); unittest.expect(casted29["list"], unittest.equals([1, 2, 3])); unittest.expect(casted29["bool"], unittest.equals(true)); unittest.expect(casted29["string"], unittest.equals('foo'));
var casted30 = (o[1]) as core.Map; unittest.expect(casted30, unittest.hasLength(3)); unittest.expect(casted30["list"], unittest.equals([1, 2, 3])); unittest.expect(casted30["bool"], unittest.equals(true)); unittest.expect(casted30["string"], unittest.equals('foo'));
}
-buildUnnamed1821() {
+buildUnnamed1925() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed1820());
- o.add(buildUnnamed1820());
+ o.add(buildUnnamed1924());
+ o.add(buildUnnamed1924());
return o;
}
-checkUnnamed1821(core.List<core.List<core.Object>> o) {
+checkUnnamed1925(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1820(o[0]);
- checkUnnamed1820(o[1]);
+ checkUnnamed1924(o[0]);
+ checkUnnamed1924(o[1]);
}
core.int buildCounterWrite = 0;
@@ -2085,9 +2085,9 @@
var o = new api.Write();
buildCounterWrite++;
if (buildCounterWrite < 3) {
- o.columns = buildUnnamed1819();
+ o.columns = buildUnnamed1923();
o.table = "foo";
- o.values = buildUnnamed1821();
+ o.values = buildUnnamed1925();
}
buildCounterWrite--;
return o;
@@ -2096,9 +2096,9 @@
checkWrite(api.Write o) {
buildCounterWrite++;
if (buildCounterWrite < 3) {
- checkUnnamed1819(o.columns);
+ checkUnnamed1923(o.columns);
unittest.expect(o.table, unittest.equals('foo'));
- checkUnnamed1821(o.values);
+ checkUnnamed1925(o.values);
}
buildCounterWrite--;
}
@@ -2705,8 +2705,8 @@
var mock = new HttpServerMock();
api.ProjectsInstanceConfigsResourceApi res = new api.SpannerApi(mock).projects.instanceConfigs;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2734,8 +2734,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -2744,7 +2744,7 @@
var resp = convert.JSON.encode(buildListInstanceConfigsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListInstanceConfigsResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListInstanceConfigsResponse response) {
checkListInstanceConfigsResponse(response);
})));
});
@@ -2946,9 +2946,9 @@
var mock = new HttpServerMock();
api.ProjectsInstancesResourceApi res = new api.SpannerApi(mock).projects.instances;
var arg_parent = "foo";
+ var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_filter = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2976,9 +2976,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -2987,7 +2987,7 @@
var resp = convert.JSON.encode(buildListInstancesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListInstancesResponse response) {
+ res.list(arg_parent, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListInstancesResponse response) {
checkListInstancesResponse(response);
})));
});
@@ -3381,8 +3381,8 @@
var mock = new HttpServerMock();
api.ProjectsInstancesDatabasesResourceApi res = new api.SpannerApi(mock).projects.instances.databases;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3410,8 +3410,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -3420,7 +3420,7 @@
var resp = convert.JSON.encode(buildListDatabasesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListDatabasesResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListDatabasesResponse response) {
checkListDatabasesResponse(response);
})));
});
@@ -4388,9 +4388,9 @@
var mock = new HttpServerMock();
api.ProjectsInstancesOperationsResourceApi res = new api.SpannerApi(mock).projects.instances.operations;
var arg_name = "foo";
+ var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_filter = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4418,9 +4418,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -4429,7 +4429,7 @@
var resp = convert.JSON.encode(buildListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListOperationsResponse response) {
+ res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
diff --git a/generated/googleapis/test/storage/v1_test.dart b/generated/googleapis/test/storage/v1_test.dart
index c502386..db7954a 100644
--- a/generated/googleapis/test/storage/v1_test.dart
+++ b/generated/googleapis/test/storage/v1_test.dart
@@ -51,53 +51,53 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed748() {
+buildUnnamed769() {
var o = new core.List<api.BucketAccessControl>();
o.add(buildBucketAccessControl());
o.add(buildBucketAccessControl());
return o;
}
-checkUnnamed748(core.List<api.BucketAccessControl> o) {
+checkUnnamed769(core.List<api.BucketAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketAccessControl(o[0]);
checkBucketAccessControl(o[1]);
}
-buildUnnamed749() {
+buildUnnamed770() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed749(core.List<core.String> o) {
+checkUnnamed770(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed750() {
+buildUnnamed771() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed750(core.List<core.String> o) {
+checkUnnamed771(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed751() {
+buildUnnamed772() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed751(core.List<core.String> o) {
+checkUnnamed772(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -109,9 +109,9 @@
buildCounterBucketCors++;
if (buildCounterBucketCors < 3) {
o.maxAgeSeconds = 42;
- o.method = buildUnnamed749();
- o.origin = buildUnnamed750();
- o.responseHeader = buildUnnamed751();
+ o.method = buildUnnamed770();
+ o.origin = buildUnnamed771();
+ o.responseHeader = buildUnnamed772();
}
buildCounterBucketCors--;
return o;
@@ -121,34 +121,34 @@
buildCounterBucketCors++;
if (buildCounterBucketCors < 3) {
unittest.expect(o.maxAgeSeconds, unittest.equals(42));
- checkUnnamed749(o.method);
- checkUnnamed750(o.origin);
- checkUnnamed751(o.responseHeader);
+ checkUnnamed770(o.method);
+ checkUnnamed771(o.origin);
+ checkUnnamed772(o.responseHeader);
}
buildCounterBucketCors--;
}
-buildUnnamed752() {
+buildUnnamed773() {
var o = new core.List<api.BucketCors>();
o.add(buildBucketCors());
o.add(buildBucketCors());
return o;
}
-checkUnnamed752(core.List<api.BucketCors> o) {
+checkUnnamed773(core.List<api.BucketCors> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketCors(o[0]);
checkBucketCors(o[1]);
}
-buildUnnamed753() {
+buildUnnamed774() {
var o = new core.List<api.ObjectAccessControl>();
o.add(buildObjectAccessControl());
o.add(buildObjectAccessControl());
return o;
}
-checkUnnamed753(core.List<api.ObjectAccessControl> o) {
+checkUnnamed774(core.List<api.ObjectAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectAccessControl(o[0]);
checkObjectAccessControl(o[1]);
@@ -175,14 +175,14 @@
buildCounterBucketLifecycleRuleAction--;
}
-buildUnnamed754() {
+buildUnnamed775() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed754(core.List<core.String> o) {
+checkUnnamed775(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -196,7 +196,7 @@
o.age = 42;
o.createdBefore = core.DateTime.parse("2002-02-27T14:01:02Z");
o.isLive = true;
- o.matchesStorageClass = buildUnnamed754();
+ o.matchesStorageClass = buildUnnamed775();
o.numNewerVersions = 42;
}
buildCounterBucketLifecycleRuleCondition--;
@@ -209,7 +209,7 @@
unittest.expect(o.age, unittest.equals(42));
unittest.expect(o.createdBefore, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.isLive, unittest.isTrue);
- checkUnnamed754(o.matchesStorageClass);
+ checkUnnamed775(o.matchesStorageClass);
unittest.expect(o.numNewerVersions, unittest.equals(42));
}
buildCounterBucketLifecycleRuleCondition--;
@@ -236,14 +236,14 @@
buildCounterBucketLifecycleRule--;
}
-buildUnnamed755() {
+buildUnnamed776() {
var o = new core.List<api.BucketLifecycleRule>();
o.add(buildBucketLifecycleRule());
o.add(buildBucketLifecycleRule());
return o;
}
-checkUnnamed755(core.List<api.BucketLifecycleRule> o) {
+checkUnnamed776(core.List<api.BucketLifecycleRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketLifecycleRule(o[0]);
checkBucketLifecycleRule(o[1]);
@@ -254,7 +254,7 @@
var o = new api.BucketLifecycle();
buildCounterBucketLifecycle++;
if (buildCounterBucketLifecycle < 3) {
- o.rule = buildUnnamed755();
+ o.rule = buildUnnamed776();
}
buildCounterBucketLifecycle--;
return o;
@@ -263,7 +263,7 @@
checkBucketLifecycle(api.BucketLifecycle o) {
buildCounterBucketLifecycle++;
if (buildCounterBucketLifecycle < 3) {
- checkUnnamed755(o.rule);
+ checkUnnamed776(o.rule);
}
buildCounterBucketLifecycle--;
}
@@ -355,9 +355,9 @@
var o = new api.Bucket();
buildCounterBucket++;
if (buildCounterBucket < 3) {
- o.acl = buildUnnamed748();
- o.cors = buildUnnamed752();
- o.defaultObjectAcl = buildUnnamed753();
+ o.acl = buildUnnamed769();
+ o.cors = buildUnnamed773();
+ o.defaultObjectAcl = buildUnnamed774();
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
@@ -382,9 +382,9 @@
checkBucket(api.Bucket o) {
buildCounterBucket++;
if (buildCounterBucket < 3) {
- checkUnnamed748(o.acl);
- checkUnnamed752(o.cors);
- checkUnnamed753(o.defaultObjectAcl);
+ checkUnnamed769(o.acl);
+ checkUnnamed773(o.cors);
+ checkUnnamed774(o.defaultObjectAcl);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -465,14 +465,14 @@
buildCounterBucketAccessControl--;
}
-buildUnnamed756() {
+buildUnnamed777() {
var o = new core.List<api.BucketAccessControl>();
o.add(buildBucketAccessControl());
o.add(buildBucketAccessControl());
return o;
}
-checkUnnamed756(core.List<api.BucketAccessControl> o) {
+checkUnnamed777(core.List<api.BucketAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketAccessControl(o[0]);
checkBucketAccessControl(o[1]);
@@ -483,7 +483,7 @@
var o = new api.BucketAccessControls();
buildCounterBucketAccessControls++;
if (buildCounterBucketAccessControls < 3) {
- o.items = buildUnnamed756();
+ o.items = buildUnnamed777();
o.kind = "foo";
}
buildCounterBucketAccessControls--;
@@ -493,20 +493,20 @@
checkBucketAccessControls(api.BucketAccessControls o) {
buildCounterBucketAccessControls++;
if (buildCounterBucketAccessControls < 3) {
- checkUnnamed756(o.items);
+ checkUnnamed777(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBucketAccessControls--;
}
-buildUnnamed757() {
+buildUnnamed778() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed757(core.List<api.Bucket> o) {
+checkUnnamed778(core.List<api.Bucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucket(o[0]);
checkBucket(o[1]);
@@ -517,7 +517,7 @@
var o = new api.Buckets();
buildCounterBuckets++;
if (buildCounterBuckets < 3) {
- o.items = buildUnnamed757();
+ o.items = buildUnnamed778();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -528,21 +528,21 @@
checkBuckets(api.Buckets o) {
buildCounterBuckets++;
if (buildCounterBuckets < 3) {
- checkUnnamed757(o.items);
+ checkUnnamed778(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterBuckets--;
}
-buildUnnamed758() {
+buildUnnamed779() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed758(core.Map<core.String, core.String> o) {
+checkUnnamed779(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -557,7 +557,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed758();
+ o.params = buildUnnamed779();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -575,7 +575,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed758(o.params);
+ checkUnnamed779(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -627,14 +627,14 @@
buildCounterComposeRequestSourceObjects--;
}
-buildUnnamed759() {
+buildUnnamed780() {
var o = new core.List<api.ComposeRequestSourceObjects>();
o.add(buildComposeRequestSourceObjects());
o.add(buildComposeRequestSourceObjects());
return o;
}
-checkUnnamed759(core.List<api.ComposeRequestSourceObjects> o) {
+checkUnnamed780(core.List<api.ComposeRequestSourceObjects> o) {
unittest.expect(o, unittest.hasLength(2));
checkComposeRequestSourceObjects(o[0]);
checkComposeRequestSourceObjects(o[1]);
@@ -647,7 +647,7 @@
if (buildCounterComposeRequest < 3) {
o.destination = buildObject();
o.kind = "foo";
- o.sourceObjects = buildUnnamed759();
+ o.sourceObjects = buildUnnamed780();
}
buildCounterComposeRequest--;
return o;
@@ -658,19 +658,19 @@
if (buildCounterComposeRequest < 3) {
checkObject(o.destination);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed759(o.sourceObjects);
+ checkUnnamed780(o.sourceObjects);
}
buildCounterComposeRequest--;
}
-buildUnnamed760() {
+buildUnnamed781() {
var o = new core.List<api.ObjectAccessControl>();
o.add(buildObjectAccessControl());
o.add(buildObjectAccessControl());
return o;
}
-checkUnnamed760(core.List<api.ObjectAccessControl> o) {
+checkUnnamed781(core.List<api.ObjectAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectAccessControl(o[0]);
checkObjectAccessControl(o[1]);
@@ -697,14 +697,14 @@
buildCounterObjectCustomerEncryption--;
}
-buildUnnamed761() {
+buildUnnamed782() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed761(core.Map<core.String, core.String> o) {
+checkUnnamed782(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -736,7 +736,7 @@
var o = new api.Object();
buildCounterObject++;
if (buildCounterObject < 3) {
- o.acl = buildUnnamed760();
+ o.acl = buildUnnamed781();
o.bucket = "foo";
o.cacheControl = "foo";
o.componentCount = 42;
@@ -752,7 +752,7 @@
o.kind = "foo";
o.md5Hash = "foo";
o.mediaLink = "foo";
- o.metadata = buildUnnamed761();
+ o.metadata = buildUnnamed782();
o.metageneration = "foo";
o.name = "foo";
o.owner = buildObjectOwner();
@@ -771,7 +771,7 @@
checkObject(api.Object o) {
buildCounterObject++;
if (buildCounterObject < 3) {
- checkUnnamed760(o.acl);
+ checkUnnamed781(o.acl);
unittest.expect(o.bucket, unittest.equals('foo'));
unittest.expect(o.cacheControl, unittest.equals('foo'));
unittest.expect(o.componentCount, unittest.equals(42));
@@ -787,7 +787,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.md5Hash, unittest.equals('foo'));
unittest.expect(o.mediaLink, unittest.equals('foo'));
- checkUnnamed761(o.metadata);
+ checkUnnamed782(o.metadata);
unittest.expect(o.metageneration, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkObjectOwner(o.owner);
@@ -866,14 +866,14 @@
buildCounterObjectAccessControl--;
}
-buildUnnamed762() {
+buildUnnamed783() {
var o = new core.List<api.ObjectAccessControl>();
o.add(buildObjectAccessControl());
o.add(buildObjectAccessControl());
return o;
}
-checkUnnamed762(core.List<api.ObjectAccessControl> o) {
+checkUnnamed783(core.List<api.ObjectAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectAccessControl(o[0]);
checkObjectAccessControl(o[1]);
@@ -884,7 +884,7 @@
var o = new api.ObjectAccessControls();
buildCounterObjectAccessControls++;
if (buildCounterObjectAccessControls < 3) {
- o.items = buildUnnamed762();
+ o.items = buildUnnamed783();
o.kind = "foo";
}
buildCounterObjectAccessControls--;
@@ -894,33 +894,33 @@
checkObjectAccessControls(api.ObjectAccessControls o) {
buildCounterObjectAccessControls++;
if (buildCounterObjectAccessControls < 3) {
- checkUnnamed762(o.items);
+ checkUnnamed783(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterObjectAccessControls--;
}
-buildUnnamed763() {
+buildUnnamed784() {
var o = new core.List<api.Object>();
o.add(buildObject());
o.add(buildObject());
return o;
}
-checkUnnamed763(core.List<api.Object> o) {
+checkUnnamed784(core.List<api.Object> o) {
unittest.expect(o, unittest.hasLength(2));
checkObject(o[0]);
checkObject(o[1]);
}
-buildUnnamed764() {
+buildUnnamed785() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed764(core.List<core.String> o) {
+checkUnnamed785(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -931,10 +931,10 @@
var o = new api.Objects();
buildCounterObjects++;
if (buildCounterObjects < 3) {
- o.items = buildUnnamed763();
+ o.items = buildUnnamed784();
o.kind = "foo";
o.nextPageToken = "foo";
- o.prefixes = buildUnnamed764();
+ o.prefixes = buildUnnamed785();
}
buildCounterObjects--;
return o;
@@ -943,14 +943,86 @@
checkObjects(api.Objects o) {
buildCounterObjects++;
if (buildCounterObjects < 3) {
- checkUnnamed763(o.items);
+ checkUnnamed784(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed764(o.prefixes);
+ checkUnnamed785(o.prefixes);
}
buildCounterObjects--;
}
+buildUnnamed786() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed786(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterPolicyBindings = 0;
+buildPolicyBindings() {
+ var o = new api.PolicyBindings();
+ buildCounterPolicyBindings++;
+ if (buildCounterPolicyBindings < 3) {
+ o.members = buildUnnamed786();
+ o.role = "foo";
+ }
+ buildCounterPolicyBindings--;
+ return o;
+}
+
+checkPolicyBindings(api.PolicyBindings o) {
+ buildCounterPolicyBindings++;
+ if (buildCounterPolicyBindings < 3) {
+ checkUnnamed786(o.members);
+ unittest.expect(o.role, unittest.equals('foo'));
+ }
+ buildCounterPolicyBindings--;
+}
+
+buildUnnamed787() {
+ var o = new core.List<api.PolicyBindings>();
+ o.add(buildPolicyBindings());
+ o.add(buildPolicyBindings());
+ return o;
+}
+
+checkUnnamed787(core.List<api.PolicyBindings> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPolicyBindings(o[0]);
+ checkPolicyBindings(o[1]);
+}
+
+core.int buildCounterPolicy = 0;
+buildPolicy() {
+ var o = new api.Policy();
+ buildCounterPolicy++;
+ if (buildCounterPolicy < 3) {
+ o.bindings = buildUnnamed787();
+ o.etag = "foo";
+ o.kind = "foo";
+ o.resourceId = "foo";
+ }
+ buildCounterPolicy--;
+ return o;
+}
+
+checkPolicy(api.Policy o) {
+ buildCounterPolicy++;
+ if (buildCounterPolicy < 3) {
+ checkUnnamed787(o.bindings);
+ unittest.expect(o.etag, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.resourceId, unittest.equals('foo'));
+ }
+ buildCounterPolicy--;
+}
+
core.int buildCounterRewriteResponse = 0;
buildRewriteResponse() {
var o = new api.RewriteResponse();
@@ -980,6 +1052,66 @@
buildCounterRewriteResponse--;
}
+buildUnnamed788() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed788(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterTestIamPermissionsResponse = 0;
+buildTestIamPermissionsResponse() {
+ var o = new api.TestIamPermissionsResponse();
+ buildCounterTestIamPermissionsResponse++;
+ if (buildCounterTestIamPermissionsResponse < 3) {
+ o.kind = "foo";
+ o.permissions = buildUnnamed788();
+ }
+ buildCounterTestIamPermissionsResponse--;
+ return o;
+}
+
+checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
+ buildCounterTestIamPermissionsResponse++;
+ if (buildCounterTestIamPermissionsResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed788(o.permissions);
+ }
+ buildCounterTestIamPermissionsResponse--;
+}
+
+buildUnnamed789() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed789(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed790() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed790(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
main() {
unittest.group("obj-schema-BucketCors", () {
@@ -1207,6 +1339,24 @@
});
+ unittest.group("obj-schema-PolicyBindings", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPolicyBindings();
+ var od = new api.PolicyBindings.fromJson(o.toJson());
+ checkPolicyBindings(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Policy", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPolicy();
+ var od = new api.Policy.fromJson(o.toJson());
+ checkPolicy(od);
+ });
+ });
+
+
unittest.group("obj-schema-RewriteResponse", () {
unittest.test("to-json--from-json", () {
var o = buildRewriteResponse();
@@ -1216,6 +1366,15 @@
});
+ unittest.group("obj-schema-TestIamPermissionsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTestIamPermissionsResponse();
+ var od = new api.TestIamPermissionsResponse.fromJson(o.toJson());
+ checkTestIamPermissionsResponse(od);
+ });
+ });
+
+
unittest.group("resource-BucketAccessControlsResourceApi", () {
unittest.test("method--delete", () {
@@ -1671,6 +1830,59 @@
})));
});
+ unittest.test("method--getIamPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.BucketsResourceApi res = new api.StorageApi(mock).buckets;
+ var arg_bucket = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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("/iam", 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 + 4), unittest.equals("/iam"));
+ pathOffset += 4;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getIamPolicy(arg_bucket).then(unittest.expectAsync(((api.Policy response) {
+ checkPolicy(response);
+ })));
+ });
+
unittest.test("method--insert", () {
var mock = new HttpServerMock();
@@ -1846,6 +2058,118 @@
})));
});
+ unittest.test("method--setIamPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.BucketsResourceApi res = new api.StorageApi(mock).buckets;
+ var arg_request = buildPolicy();
+ var arg_bucket = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.Policy.fromJson(json);
+ checkPolicy(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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("/iam", 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 + 4), unittest.equals("/iam"));
+ pathOffset += 4;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.setIamPolicy(arg_request, arg_bucket).then(unittest.expectAsync(((api.Policy response) {
+ checkPolicy(response);
+ })));
+ });
+
+ unittest.test("method--testIamPermissions", () {
+
+ var mock = new HttpServerMock();
+ api.BucketsResourceApi res = new api.StorageApi(mock).buckets;
+ var arg_bucket = "foo";
+ var arg_permissions = buildUnnamed789();
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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("/iam/testPermissions", 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 + 20), unittest.equals("/iam/testPermissions"));
+ pathOffset += 20;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["permissions"], unittest.equals(arg_permissions));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildTestIamPermissionsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.testIamPermissions(arg_bucket, arg_permissions).then(unittest.expectAsync(((api.TestIamPermissionsResponse response) {
+ checkTestIamPermissionsResponse(response);
+ })));
+ });
+
unittest.test("method--update", () {
var mock = new HttpServerMock();
@@ -3034,6 +3358,69 @@
})));
});
+ unittest.test("method--getIamPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.ObjectsResourceApi res = new api.StorageApi(mock).objects;
+ var arg_bucket = "foo";
+ var arg_object = "foo";
+ var arg_generation = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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("/o/", 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 + 3), unittest.equals("/o/"));
+ pathOffset += 3;
+ index = path.indexOf("/iam", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_object"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equals("/iam"));
+ pathOffset += 4;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["generation"].first, unittest.equals(arg_generation));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getIamPolicy(arg_bucket, arg_object, generation: arg_generation).then(unittest.expectAsync(((api.Policy response) {
+ checkPolicy(response);
+ })));
+ });
+
unittest.test("method--insert", () {
// TODO: Implement tests for media upload;
// TODO: Implement tests for media download;
@@ -3352,6 +3739,138 @@
})));
});
+ unittest.test("method--setIamPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.ObjectsResourceApi res = new api.StorageApi(mock).objects;
+ var arg_request = buildPolicy();
+ var arg_bucket = "foo";
+ var arg_object = "foo";
+ var arg_generation = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.Policy.fromJson(json);
+ checkPolicy(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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("/o/", 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 + 3), unittest.equals("/o/"));
+ pathOffset += 3;
+ index = path.indexOf("/iam", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_object"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equals("/iam"));
+ pathOffset += 4;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["generation"].first, unittest.equals(arg_generation));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.setIamPolicy(arg_request, arg_bucket, arg_object, generation: arg_generation).then(unittest.expectAsync(((api.Policy response) {
+ checkPolicy(response);
+ })));
+ });
+
+ unittest.test("method--testIamPermissions", () {
+
+ var mock = new HttpServerMock();
+ api.ObjectsResourceApi res = new api.StorageApi(mock).objects;
+ var arg_bucket = "foo";
+ var arg_object = "foo";
+ var arg_permissions = buildUnnamed790();
+ var arg_generation = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var 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("/o/", 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 + 3), unittest.equals("/o/"));
+ pathOffset += 3;
+ index = path.indexOf("/iam/testPermissions", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_object"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.equals("/iam/testPermissions"));
+ pathOffset += 20;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["permissions"], unittest.equals(arg_permissions));
+ unittest.expect(queryMap["generation"].first, unittest.equals(arg_generation));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildTestIamPermissionsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.testIamPermissions(arg_bucket, arg_object, arg_permissions, generation: arg_generation).then(unittest.expectAsync(((api.TestIamPermissionsResponse response) {
+ checkTestIamPermissionsResponse(response);
+ })));
+ });
+
unittest.test("method--update", () {
// TODO: Implement tests for media upload;
// TODO: Implement tests for media download;
diff --git a/generated/googleapis/test/storagetransfer/v1_test.dart b/generated/googleapis/test/storagetransfer/v1_test.dart
index fe5c783..57c9d5d 100644
--- a/generated/googleapis/test/storagetransfer/v1_test.dart
+++ b/generated/googleapis/test/storagetransfer/v1_test.dart
@@ -133,14 +133,14 @@
buildCounterEmpty--;
}
-buildUnnamed1205() {
+buildUnnamed1258() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1205(core.List<core.String> o) {
+checkUnnamed1258(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -151,7 +151,7 @@
var o = new api.ErrorLogEntry();
buildCounterErrorLogEntry++;
if (buildCounterErrorLogEntry < 3) {
- o.errorDetails = buildUnnamed1205();
+ o.errorDetails = buildUnnamed1258();
o.url = "foo";
}
buildCounterErrorLogEntry--;
@@ -161,20 +161,20 @@
checkErrorLogEntry(api.ErrorLogEntry o) {
buildCounterErrorLogEntry++;
if (buildCounterErrorLogEntry < 3) {
- checkUnnamed1205(o.errorDetails);
+ checkUnnamed1258(o.errorDetails);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterErrorLogEntry--;
}
-buildUnnamed1206() {
+buildUnnamed1259() {
var o = new core.List<api.ErrorLogEntry>();
o.add(buildErrorLogEntry());
o.add(buildErrorLogEntry());
return o;
}
-checkUnnamed1206(core.List<api.ErrorLogEntry> o) {
+checkUnnamed1259(core.List<api.ErrorLogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorLogEntry(o[0]);
checkErrorLogEntry(o[1]);
@@ -187,7 +187,7 @@
if (buildCounterErrorSummary < 3) {
o.errorCode = "foo";
o.errorCount = "foo";
- o.errorLogEntries = buildUnnamed1206();
+ o.errorLogEntries = buildUnnamed1259();
}
buildCounterErrorSummary--;
return o;
@@ -198,7 +198,7 @@
if (buildCounterErrorSummary < 3) {
unittest.expect(o.errorCode, unittest.equals('foo'));
unittest.expect(o.errorCount, unittest.equals('foo'));
- checkUnnamed1206(o.errorLogEntries);
+ checkUnnamed1259(o.errorLogEntries);
}
buildCounterErrorSummary--;
}
@@ -260,14 +260,14 @@
buildCounterHttpData--;
}
-buildUnnamed1207() {
+buildUnnamed1260() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1207(core.List<api.Operation> o) {
+checkUnnamed1260(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -279,7 +279,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1207();
+ o.operations = buildUnnamed1260();
}
buildCounterListOperationsResponse--;
return o;
@@ -289,19 +289,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1207(o.operations);
+ checkUnnamed1260(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1208() {
+buildUnnamed1261() {
var o = new core.List<api.TransferJob>();
o.add(buildTransferJob());
o.add(buildTransferJob());
return o;
}
-checkUnnamed1208(core.List<api.TransferJob> o) {
+checkUnnamed1261(core.List<api.TransferJob> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransferJob(o[0]);
checkTransferJob(o[1]);
@@ -313,7 +313,7 @@
buildCounterListTransferJobsResponse++;
if (buildCounterListTransferJobsResponse < 3) {
o.nextPageToken = "foo";
- o.transferJobs = buildUnnamed1208();
+ o.transferJobs = buildUnnamed1261();
}
buildCounterListTransferJobsResponse--;
return o;
@@ -323,32 +323,32 @@
buildCounterListTransferJobsResponse++;
if (buildCounterListTransferJobsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1208(o.transferJobs);
+ checkUnnamed1261(o.transferJobs);
}
buildCounterListTransferJobsResponse--;
}
-buildUnnamed1209() {
+buildUnnamed1262() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1209(core.List<core.String> o) {
+checkUnnamed1262(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1210() {
+buildUnnamed1263() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1210(core.List<core.String> o) {
+checkUnnamed1263(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -359,8 +359,8 @@
var o = new api.ObjectConditions();
buildCounterObjectConditions++;
if (buildCounterObjectConditions < 3) {
- o.excludePrefixes = buildUnnamed1209();
- o.includePrefixes = buildUnnamed1210();
+ o.excludePrefixes = buildUnnamed1262();
+ o.includePrefixes = buildUnnamed1263();
o.maxTimeElapsedSinceLastModification = "foo";
o.minTimeElapsedSinceLastModification = "foo";
}
@@ -371,35 +371,35 @@
checkObjectConditions(api.ObjectConditions o) {
buildCounterObjectConditions++;
if (buildCounterObjectConditions < 3) {
- checkUnnamed1209(o.excludePrefixes);
- checkUnnamed1210(o.includePrefixes);
+ checkUnnamed1262(o.excludePrefixes);
+ checkUnnamed1263(o.includePrefixes);
unittest.expect(o.maxTimeElapsedSinceLastModification, unittest.equals('foo'));
unittest.expect(o.minTimeElapsedSinceLastModification, unittest.equals('foo'));
}
buildCounterObjectConditions--;
}
-buildUnnamed1211() {
+buildUnnamed1264() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1211(core.Map<core.String, core.Object> o) {
+checkUnnamed1264(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed1212() {
+buildUnnamed1265() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1212(core.Map<core.String, core.Object> o) {
+checkUnnamed1265(core.Map<core.String, core.Object> 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'));
@@ -412,9 +412,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1211();
+ o.metadata = buildUnnamed1264();
o.name = "foo";
- o.response = buildUnnamed1212();
+ o.response = buildUnnamed1265();
}
buildCounterOperation--;
return o;
@@ -425,9 +425,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1211(o.metadata);
+ checkUnnamed1264(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1212(o.response);
+ checkUnnamed1265(o.response);
}
buildCounterOperation--;
}
@@ -489,30 +489,30 @@
buildCounterSchedule--;
}
-buildUnnamed1213() {
+buildUnnamed1266() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1213(core.Map<core.String, core.Object> o) {
+checkUnnamed1266(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed1214() {
+buildUnnamed1267() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1213());
- o.add(buildUnnamed1213());
+ o.add(buildUnnamed1266());
+ o.add(buildUnnamed1266());
return o;
}
-checkUnnamed1214(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1267(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1213(o[0]);
- checkUnnamed1213(o[1]);
+ checkUnnamed1266(o[0]);
+ checkUnnamed1266(o[1]);
}
core.int buildCounterStatus = 0;
@@ -521,7 +521,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1214();
+ o.details = buildUnnamed1267();
o.message = "foo";
}
buildCounterStatus--;
@@ -532,7 +532,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1214(o.details);
+ checkUnnamed1267(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -647,14 +647,14 @@
buildCounterTransferJob--;
}
-buildUnnamed1215() {
+buildUnnamed1268() {
var o = new core.List<api.ErrorSummary>();
o.add(buildErrorSummary());
o.add(buildErrorSummary());
return o;
}
-checkUnnamed1215(core.List<api.ErrorSummary> o) {
+checkUnnamed1268(core.List<api.ErrorSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorSummary(o[0]);
checkErrorSummary(o[1]);
@@ -667,7 +667,7 @@
if (buildCounterTransferOperation < 3) {
o.counters = buildTransferCounters();
o.endTime = "foo";
- o.errorBreakdowns = buildUnnamed1215();
+ o.errorBreakdowns = buildUnnamed1268();
o.name = "foo";
o.projectId = "foo";
o.startTime = "foo";
@@ -684,7 +684,7 @@
if (buildCounterTransferOperation < 3) {
checkTransferCounters(o.counters);
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed1215(o.errorBreakdowns);
+ checkUnnamed1268(o.errorBreakdowns);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
diff --git a/generated/googleapis/test/surveys/v2_test.dart b/generated/googleapis/test/surveys/v2_test.dart
index 83afbd4..ab082b5 100644
--- a/generated/googleapis/test/surveys/v2_test.dart
+++ b/generated/googleapis/test/surveys/v2_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1889() {
+buildUnnamed1993() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed1889(core.List<api.FieldMask> o) {
+checkUnnamed1993(core.List<api.FieldMask> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldMask(o[0]);
checkFieldMask(o[1]);
@@ -69,7 +69,7 @@
var o = new api.FieldMask();
buildCounterFieldMask++;
if (buildCounterFieldMask < 3) {
- o.fields = buildUnnamed1889();
+ o.fields = buildUnnamed1993();
o.id = 42;
}
buildCounterFieldMask--;
@@ -79,20 +79,20 @@
checkFieldMask(api.FieldMask o) {
buildCounterFieldMask++;
if (buildCounterFieldMask < 3) {
- checkUnnamed1889(o.fields);
+ checkUnnamed1993(o.fields);
unittest.expect(o.id, unittest.equals(42));
}
buildCounterFieldMask--;
}
-buildUnnamed1890() {
+buildUnnamed1994() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1890(core.List<core.String> o) {
+checkUnnamed1994(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -108,7 +108,7 @@
o.language = "foo";
o.mobileAppPanelId = "foo";
o.name = "foo";
- o.owners = buildUnnamed1890();
+ o.owners = buildUnnamed1994();
}
buildCounterMobileAppPanel--;
return o;
@@ -122,19 +122,19 @@
unittest.expect(o.language, unittest.equals('foo'));
unittest.expect(o.mobileAppPanelId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1890(o.owners);
+ checkUnnamed1994(o.owners);
}
buildCounterMobileAppPanel--;
}
-buildUnnamed1891() {
+buildUnnamed1995() {
var o = new core.List<api.MobileAppPanel>();
o.add(buildMobileAppPanel());
o.add(buildMobileAppPanel());
return o;
}
-checkUnnamed1891(core.List<api.MobileAppPanel> o) {
+checkUnnamed1995(core.List<api.MobileAppPanel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileAppPanel(o[0]);
checkMobileAppPanel(o[1]);
@@ -147,7 +147,7 @@
if (buildCounterMobileAppPanelsListResponse < 3) {
o.pageInfo = buildPageInfo();
o.requestId = "foo";
- o.resources = buildUnnamed1891();
+ o.resources = buildUnnamed1995();
o.tokenPagination = buildTokenPagination();
}
buildCounterMobileAppPanelsListResponse--;
@@ -159,7 +159,7 @@
if (buildCounterMobileAppPanelsListResponse < 3) {
checkPageInfo(o.pageInfo);
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed1891(o.resources);
+ checkUnnamed1995(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterMobileAppPanelsListResponse--;
@@ -207,14 +207,14 @@
buildCounterResultsGetRequest--;
}
-buildUnnamed1892() {
+buildUnnamed1996() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed1892(core.List<api.FieldMask> o) {
+checkUnnamed1996(core.List<api.FieldMask> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldMask(o[0]);
checkFieldMask(o[1]);
@@ -225,7 +225,7 @@
var o = new api.ResultsMask();
buildCounterResultsMask++;
if (buildCounterResultsMask < 3) {
- o.fields = buildUnnamed1892();
+ o.fields = buildUnnamed1996();
o.projection = "foo";
}
buildCounterResultsMask--;
@@ -235,33 +235,33 @@
checkResultsMask(api.ResultsMask o) {
buildCounterResultsMask++;
if (buildCounterResultsMask < 3) {
- checkUnnamed1892(o.fields);
+ checkUnnamed1996(o.fields);
unittest.expect(o.projection, unittest.equals('foo'));
}
buildCounterResultsMask--;
}
-buildUnnamed1893() {
+buildUnnamed1997() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1893(core.List<core.String> o) {
+checkUnnamed1997(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1894() {
+buildUnnamed1998() {
var o = new core.List<api.SurveyQuestion>();
o.add(buildSurveyQuestion());
o.add(buildSurveyQuestion());
return o;
}
-checkUnnamed1894(core.List<api.SurveyQuestion> o) {
+checkUnnamed1998(core.List<api.SurveyQuestion> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurveyQuestion(o[0]);
checkSurveyQuestion(o[1]);
@@ -276,8 +276,8 @@
o.cost = buildSurveyCost();
o.customerData = "foo";
o.description = "foo";
- o.owners = buildUnnamed1893();
- o.questions = buildUnnamed1894();
+ o.owners = buildUnnamed1997();
+ o.questions = buildUnnamed1998();
o.rejectionReason = buildSurveyRejection();
o.state = "foo";
o.surveyUrlId = "foo";
@@ -295,8 +295,8 @@
checkSurveyCost(o.cost);
unittest.expect(o.customerData, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1893(o.owners);
- checkUnnamed1894(o.questions);
+ checkUnnamed1997(o.owners);
+ checkUnnamed1998(o.questions);
checkSurveyRejection(o.rejectionReason);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.surveyUrlId, unittest.equals('foo'));
@@ -306,27 +306,27 @@
buildCounterSurvey--;
}
-buildUnnamed1895() {
+buildUnnamed1999() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1895(core.List<core.String> o) {
+checkUnnamed1999(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1896() {
+buildUnnamed2000() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1896(core.List<core.String> o) {
+checkUnnamed2000(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -337,11 +337,11 @@
var o = new api.SurveyAudience();
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- o.ages = buildUnnamed1895();
+ o.ages = buildUnnamed1999();
o.country = "foo";
o.countrySubdivision = "foo";
o.gender = "foo";
- o.languages = buildUnnamed1896();
+ o.languages = buildUnnamed2000();
o.mobileAppPanelId = "foo";
o.populationSource = "foo";
}
@@ -352,11 +352,11 @@
checkSurveyAudience(api.SurveyAudience o) {
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- checkUnnamed1895(o.ages);
+ checkUnnamed1999(o.ages);
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.countrySubdivision, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
- checkUnnamed1896(o.languages);
+ checkUnnamed2000(o.languages);
unittest.expect(o.mobileAppPanelId, unittest.equals('foo'));
unittest.expect(o.populationSource, unittest.equals('foo'));
}
@@ -388,53 +388,53 @@
buildCounterSurveyCost--;
}
-buildUnnamed1897() {
+buildUnnamed2001() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1897(core.List<core.String> o) {
+checkUnnamed2001(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1898() {
+buildUnnamed2002() {
var o = new core.List<api.SurveyQuestionImage>();
o.add(buildSurveyQuestionImage());
o.add(buildSurveyQuestionImage());
return o;
}
-checkUnnamed1898(core.List<api.SurveyQuestionImage> o) {
+checkUnnamed2002(core.List<api.SurveyQuestionImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurveyQuestionImage(o[0]);
checkSurveyQuestionImage(o[1]);
}
-buildUnnamed1899() {
+buildUnnamed2003() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1899(core.List<core.String> o) {
+checkUnnamed2003(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1900() {
+buildUnnamed2004() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1900(core.List<core.String> o) {
+checkUnnamed2004(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -446,20 +446,20 @@
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
o.answerOrder = "foo";
- o.answers = buildUnnamed1897();
+ o.answers = buildUnnamed2001();
o.hasOther = true;
o.highValueLabel = "foo";
- o.images = buildUnnamed1898();
+ o.images = buildUnnamed2002();
o.lastAnswerPositionPinned = true;
o.lowValueLabel = "foo";
o.mustPickSuggestion = true;
o.numStars = "foo";
o.openTextPlaceholder = "foo";
- o.openTextSuggestions = buildUnnamed1899();
+ o.openTextSuggestions = buildUnnamed2003();
o.question = "foo";
o.sentimentText = "foo";
o.singleLineResponse = true;
- o.thresholdAnswers = buildUnnamed1900();
+ o.thresholdAnswers = buildUnnamed2004();
o.type = "foo";
o.unitOfMeasurementLabel = "foo";
o.videoId = "foo";
@@ -472,20 +472,20 @@
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
unittest.expect(o.answerOrder, unittest.equals('foo'));
- checkUnnamed1897(o.answers);
+ checkUnnamed2001(o.answers);
unittest.expect(o.hasOther, unittest.isTrue);
unittest.expect(o.highValueLabel, unittest.equals('foo'));
- checkUnnamed1898(o.images);
+ checkUnnamed2002(o.images);
unittest.expect(o.lastAnswerPositionPinned, unittest.isTrue);
unittest.expect(o.lowValueLabel, unittest.equals('foo'));
unittest.expect(o.mustPickSuggestion, unittest.isTrue);
unittest.expect(o.numStars, unittest.equals('foo'));
unittest.expect(o.openTextPlaceholder, unittest.equals('foo'));
- checkUnnamed1899(o.openTextSuggestions);
+ checkUnnamed2003(o.openTextSuggestions);
unittest.expect(o.question, unittest.equals('foo'));
unittest.expect(o.sentimentText, unittest.equals('foo'));
unittest.expect(o.singleLineResponse, unittest.isTrue);
- checkUnnamed1900(o.thresholdAnswers);
+ checkUnnamed2004(o.thresholdAnswers);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.unitOfMeasurementLabel, unittest.equals('foo'));
unittest.expect(o.videoId, unittest.equals('foo'));
@@ -577,14 +577,14 @@
buildCounterSurveysDeleteResponse--;
}
-buildUnnamed1901() {
+buildUnnamed2005() {
var o = new core.List<api.Survey>();
o.add(buildSurvey());
o.add(buildSurvey());
return o;
}
-checkUnnamed1901(core.List<api.Survey> o) {
+checkUnnamed2005(core.List<api.Survey> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurvey(o[0]);
checkSurvey(o[1]);
@@ -597,7 +597,7 @@
if (buildCounterSurveysListResponse < 3) {
o.pageInfo = buildPageInfo();
o.requestId = "foo";
- o.resources = buildUnnamed1901();
+ o.resources = buildUnnamed2005();
o.tokenPagination = buildTokenPagination();
}
buildCounterSurveysListResponse--;
@@ -609,7 +609,7 @@
if (buildCounterSurveysListResponse < 3) {
checkPageInfo(o.pageInfo);
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed1901(o.resources);
+ checkUnnamed2005(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterSurveysListResponse--;
diff --git a/generated/googleapis/test/tagmanager/v1_test.dart b/generated/googleapis/test/tagmanager/v1_test.dart
index 8f22298..bb3abd4 100644
--- a/generated/googleapis/test/tagmanager/v1_test.dart
+++ b/generated/googleapis/test/tagmanager/v1_test.dart
@@ -76,14 +76,14 @@
buildCounterAccount--;
}
-buildUnnamed1369() {
+buildUnnamed1426() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1369(core.List<core.String> o) {
+checkUnnamed1426(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -94,7 +94,7 @@
var o = new api.AccountAccess();
buildCounterAccountAccess++;
if (buildCounterAccountAccess < 3) {
- o.permission = buildUnnamed1369();
+ o.permission = buildUnnamed1426();
}
buildCounterAccountAccess--;
return o;
@@ -103,19 +103,19 @@
checkAccountAccess(api.AccountAccess o) {
buildCounterAccountAccess++;
if (buildCounterAccountAccess < 3) {
- checkUnnamed1369(o.permission);
+ checkUnnamed1426(o.permission);
}
buildCounterAccountAccess--;
}
-buildUnnamed1370() {
+buildUnnamed1427() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1370(core.List<api.Parameter> o) {
+checkUnnamed1427(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -126,7 +126,7 @@
var o = new api.Condition();
buildCounterCondition++;
if (buildCounterCondition < 3) {
- o.parameter = buildUnnamed1370();
+ o.parameter = buildUnnamed1427();
o.type = "foo";
}
buildCounterCondition--;
@@ -136,46 +136,46 @@
checkCondition(api.Condition o) {
buildCounterCondition++;
if (buildCounterCondition < 3) {
- checkUnnamed1370(o.parameter);
+ checkUnnamed1427(o.parameter);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterCondition--;
}
-buildUnnamed1371() {
+buildUnnamed1428() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1371(core.List<core.String> o) {
+checkUnnamed1428(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1372() {
+buildUnnamed1429() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1372(core.List<core.String> o) {
+checkUnnamed1429(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1373() {
+buildUnnamed1430() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1373(core.List<core.String> o) {
+checkUnnamed1430(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -188,15 +188,15 @@
if (buildCounterContainer < 3) {
o.accountId = "foo";
o.containerId = "foo";
- o.domainName = buildUnnamed1371();
- o.enabledBuiltInVariable = buildUnnamed1372();
+ o.domainName = buildUnnamed1428();
+ o.enabledBuiltInVariable = buildUnnamed1429();
o.fingerprint = "foo";
o.name = "foo";
o.notes = "foo";
o.publicId = "foo";
o.timeZoneCountryId = "foo";
o.timeZoneId = "foo";
- o.usageContext = buildUnnamed1373();
+ o.usageContext = buildUnnamed1430();
}
buildCounterContainer--;
return o;
@@ -207,27 +207,27 @@
if (buildCounterContainer < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1371(o.domainName);
- checkUnnamed1372(o.enabledBuiltInVariable);
+ checkUnnamed1428(o.domainName);
+ checkUnnamed1429(o.enabledBuiltInVariable);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
unittest.expect(o.publicId, unittest.equals('foo'));
unittest.expect(o.timeZoneCountryId, unittest.equals('foo'));
unittest.expect(o.timeZoneId, unittest.equals('foo'));
- checkUnnamed1373(o.usageContext);
+ checkUnnamed1430(o.usageContext);
}
buildCounterContainer--;
}
-buildUnnamed1374() {
+buildUnnamed1431() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1374(core.List<core.String> o) {
+checkUnnamed1431(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -239,7 +239,7 @@
buildCounterContainerAccess++;
if (buildCounterContainerAccess < 3) {
o.containerId = "foo";
- o.permission = buildUnnamed1374();
+ o.permission = buildUnnamed1431();
}
buildCounterContainerAccess--;
return o;
@@ -249,84 +249,84 @@
buildCounterContainerAccess++;
if (buildCounterContainerAccess < 3) {
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1374(o.permission);
+ checkUnnamed1431(o.permission);
}
buildCounterContainerAccess--;
}
-buildUnnamed1375() {
+buildUnnamed1432() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed1375(core.List<api.Folder> o) {
+checkUnnamed1432(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
}
-buildUnnamed1376() {
+buildUnnamed1433() {
var o = new core.List<api.Macro>();
o.add(buildMacro());
o.add(buildMacro());
return o;
}
-checkUnnamed1376(core.List<api.Macro> o) {
+checkUnnamed1433(core.List<api.Macro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMacro(o[0]);
checkMacro(o[1]);
}
-buildUnnamed1377() {
+buildUnnamed1434() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed1377(core.List<api.Rule> o) {
+checkUnnamed1434(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
}
-buildUnnamed1378() {
+buildUnnamed1435() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed1378(core.List<api.Tag> o) {
+checkUnnamed1435(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
}
-buildUnnamed1379() {
+buildUnnamed1436() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed1379(core.List<api.Trigger> o) {
+checkUnnamed1436(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
}
-buildUnnamed1380() {
+buildUnnamed1437() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed1380(core.List<api.Variable> o) {
+checkUnnamed1437(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -343,14 +343,14 @@
o.containerVersionId = "foo";
o.deleted = true;
o.fingerprint = "foo";
- o.folder = buildUnnamed1375();
- o.macro = buildUnnamed1376();
+ o.folder = buildUnnamed1432();
+ o.macro = buildUnnamed1433();
o.name = "foo";
o.notes = "foo";
- o.rule = buildUnnamed1377();
- o.tag = buildUnnamed1378();
- o.trigger = buildUnnamed1379();
- o.variable = buildUnnamed1380();
+ o.rule = buildUnnamed1434();
+ o.tag = buildUnnamed1435();
+ o.trigger = buildUnnamed1436();
+ o.variable = buildUnnamed1437();
}
buildCounterContainerVersion--;
return o;
@@ -365,14 +365,14 @@
unittest.expect(o.containerVersionId, unittest.equals('foo'));
unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1375(o.folder);
- checkUnnamed1376(o.macro);
+ checkUnnamed1432(o.folder);
+ checkUnnamed1433(o.macro);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1377(o.rule);
- checkUnnamed1378(o.tag);
- checkUnnamed1379(o.trigger);
- checkUnnamed1380(o.variable);
+ checkUnnamed1434(o.rule);
+ checkUnnamed1435(o.tag);
+ checkUnnamed1436(o.trigger);
+ checkUnnamed1437(o.variable);
}
buildCounterContainerVersion--;
}
@@ -526,40 +526,40 @@
buildCounterFolder--;
}
-buildUnnamed1381() {
+buildUnnamed1438() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed1381(core.List<api.Tag> o) {
+checkUnnamed1438(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
}
-buildUnnamed1382() {
+buildUnnamed1439() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed1382(core.List<api.Trigger> o) {
+checkUnnamed1439(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
}
-buildUnnamed1383() {
+buildUnnamed1440() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed1383(core.List<api.Variable> o) {
+checkUnnamed1440(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -570,9 +570,9 @@
var o = new api.FolderEntities();
buildCounterFolderEntities++;
if (buildCounterFolderEntities < 3) {
- o.tag = buildUnnamed1381();
- o.trigger = buildUnnamed1382();
- o.variable = buildUnnamed1383();
+ o.tag = buildUnnamed1438();
+ o.trigger = buildUnnamed1439();
+ o.variable = buildUnnamed1440();
}
buildCounterFolderEntities--;
return o;
@@ -581,21 +581,21 @@
checkFolderEntities(api.FolderEntities o) {
buildCounterFolderEntities++;
if (buildCounterFolderEntities < 3) {
- checkUnnamed1381(o.tag);
- checkUnnamed1382(o.trigger);
- checkUnnamed1383(o.variable);
+ checkUnnamed1438(o.tag);
+ checkUnnamed1439(o.trigger);
+ checkUnnamed1440(o.variable);
}
buildCounterFolderEntities--;
}
-buildUnnamed1384() {
+buildUnnamed1441() {
var o = new core.List<api.UserAccess>();
o.add(buildUserAccess());
o.add(buildUserAccess());
return o;
}
-checkUnnamed1384(core.List<api.UserAccess> o) {
+checkUnnamed1441(core.List<api.UserAccess> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserAccess(o[0]);
checkUserAccess(o[1]);
@@ -606,7 +606,7 @@
var o = new api.ListAccountUsersResponse();
buildCounterListAccountUsersResponse++;
if (buildCounterListAccountUsersResponse < 3) {
- o.userAccess = buildUnnamed1384();
+ o.userAccess = buildUnnamed1441();
}
buildCounterListAccountUsersResponse--;
return o;
@@ -615,19 +615,19 @@
checkListAccountUsersResponse(api.ListAccountUsersResponse o) {
buildCounterListAccountUsersResponse++;
if (buildCounterListAccountUsersResponse < 3) {
- checkUnnamed1384(o.userAccess);
+ checkUnnamed1441(o.userAccess);
}
buildCounterListAccountUsersResponse--;
}
-buildUnnamed1385() {
+buildUnnamed1442() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1385(core.List<api.Account> o) {
+checkUnnamed1442(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -638,7 +638,7 @@
var o = new api.ListAccountsResponse();
buildCounterListAccountsResponse++;
if (buildCounterListAccountsResponse < 3) {
- o.accounts = buildUnnamed1385();
+ o.accounts = buildUnnamed1442();
}
buildCounterListAccountsResponse--;
return o;
@@ -647,32 +647,32 @@
checkListAccountsResponse(api.ListAccountsResponse o) {
buildCounterListAccountsResponse++;
if (buildCounterListAccountsResponse < 3) {
- checkUnnamed1385(o.accounts);
+ checkUnnamed1442(o.accounts);
}
buildCounterListAccountsResponse--;
}
-buildUnnamed1386() {
+buildUnnamed1443() {
var o = new core.List<api.ContainerVersion>();
o.add(buildContainerVersion());
o.add(buildContainerVersion());
return o;
}
-checkUnnamed1386(core.List<api.ContainerVersion> o) {
+checkUnnamed1443(core.List<api.ContainerVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerVersion(o[0]);
checkContainerVersion(o[1]);
}
-buildUnnamed1387() {
+buildUnnamed1444() {
var o = new core.List<api.ContainerVersionHeader>();
o.add(buildContainerVersionHeader());
o.add(buildContainerVersionHeader());
return o;
}
-checkUnnamed1387(core.List<api.ContainerVersionHeader> o) {
+checkUnnamed1444(core.List<api.ContainerVersionHeader> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerVersionHeader(o[0]);
checkContainerVersionHeader(o[1]);
@@ -683,8 +683,8 @@
var o = new api.ListContainerVersionsResponse();
buildCounterListContainerVersionsResponse++;
if (buildCounterListContainerVersionsResponse < 3) {
- o.containerVersion = buildUnnamed1386();
- o.containerVersionHeader = buildUnnamed1387();
+ o.containerVersion = buildUnnamed1443();
+ o.containerVersionHeader = buildUnnamed1444();
}
buildCounterListContainerVersionsResponse--;
return o;
@@ -693,20 +693,20 @@
checkListContainerVersionsResponse(api.ListContainerVersionsResponse o) {
buildCounterListContainerVersionsResponse++;
if (buildCounterListContainerVersionsResponse < 3) {
- checkUnnamed1386(o.containerVersion);
- checkUnnamed1387(o.containerVersionHeader);
+ checkUnnamed1443(o.containerVersion);
+ checkUnnamed1444(o.containerVersionHeader);
}
buildCounterListContainerVersionsResponse--;
}
-buildUnnamed1388() {
+buildUnnamed1445() {
var o = new core.List<api.Container>();
o.add(buildContainer());
o.add(buildContainer());
return o;
}
-checkUnnamed1388(core.List<api.Container> o) {
+checkUnnamed1445(core.List<api.Container> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainer(o[0]);
checkContainer(o[1]);
@@ -717,7 +717,7 @@
var o = new api.ListContainersResponse();
buildCounterListContainersResponse++;
if (buildCounterListContainersResponse < 3) {
- o.containers = buildUnnamed1388();
+ o.containers = buildUnnamed1445();
}
buildCounterListContainersResponse--;
return o;
@@ -726,19 +726,19 @@
checkListContainersResponse(api.ListContainersResponse o) {
buildCounterListContainersResponse++;
if (buildCounterListContainersResponse < 3) {
- checkUnnamed1388(o.containers);
+ checkUnnamed1445(o.containers);
}
buildCounterListContainersResponse--;
}
-buildUnnamed1389() {
+buildUnnamed1446() {
var o = new core.List<api.Environment>();
o.add(buildEnvironment());
o.add(buildEnvironment());
return o;
}
-checkUnnamed1389(core.List<api.Environment> o) {
+checkUnnamed1446(core.List<api.Environment> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnvironment(o[0]);
checkEnvironment(o[1]);
@@ -749,7 +749,7 @@
var o = new api.ListEnvironmentsResponse();
buildCounterListEnvironmentsResponse++;
if (buildCounterListEnvironmentsResponse < 3) {
- o.environments = buildUnnamed1389();
+ o.environments = buildUnnamed1446();
}
buildCounterListEnvironmentsResponse--;
return o;
@@ -758,19 +758,19 @@
checkListEnvironmentsResponse(api.ListEnvironmentsResponse o) {
buildCounterListEnvironmentsResponse++;
if (buildCounterListEnvironmentsResponse < 3) {
- checkUnnamed1389(o.environments);
+ checkUnnamed1446(o.environments);
}
buildCounterListEnvironmentsResponse--;
}
-buildUnnamed1390() {
+buildUnnamed1447() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed1390(core.List<api.Folder> o) {
+checkUnnamed1447(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
@@ -781,7 +781,7 @@
var o = new api.ListFoldersResponse();
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- o.folders = buildUnnamed1390();
+ o.folders = buildUnnamed1447();
}
buildCounterListFoldersResponse--;
return o;
@@ -790,19 +790,19 @@
checkListFoldersResponse(api.ListFoldersResponse o) {
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- checkUnnamed1390(o.folders);
+ checkUnnamed1447(o.folders);
}
buildCounterListFoldersResponse--;
}
-buildUnnamed1391() {
+buildUnnamed1448() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed1391(core.List<api.Tag> o) {
+checkUnnamed1448(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
@@ -813,7 +813,7 @@
var o = new api.ListTagsResponse();
buildCounterListTagsResponse++;
if (buildCounterListTagsResponse < 3) {
- o.tags = buildUnnamed1391();
+ o.tags = buildUnnamed1448();
}
buildCounterListTagsResponse--;
return o;
@@ -822,19 +822,19 @@
checkListTagsResponse(api.ListTagsResponse o) {
buildCounterListTagsResponse++;
if (buildCounterListTagsResponse < 3) {
- checkUnnamed1391(o.tags);
+ checkUnnamed1448(o.tags);
}
buildCounterListTagsResponse--;
}
-buildUnnamed1392() {
+buildUnnamed1449() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed1392(core.List<api.Trigger> o) {
+checkUnnamed1449(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
@@ -845,7 +845,7 @@
var o = new api.ListTriggersResponse();
buildCounterListTriggersResponse++;
if (buildCounterListTriggersResponse < 3) {
- o.triggers = buildUnnamed1392();
+ o.triggers = buildUnnamed1449();
}
buildCounterListTriggersResponse--;
return o;
@@ -854,19 +854,19 @@
checkListTriggersResponse(api.ListTriggersResponse o) {
buildCounterListTriggersResponse++;
if (buildCounterListTriggersResponse < 3) {
- checkUnnamed1392(o.triggers);
+ checkUnnamed1449(o.triggers);
}
buildCounterListTriggersResponse--;
}
-buildUnnamed1393() {
+buildUnnamed1450() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed1393(core.List<api.Variable> o) {
+checkUnnamed1450(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -877,7 +877,7 @@
var o = new api.ListVariablesResponse();
buildCounterListVariablesResponse++;
if (buildCounterListVariablesResponse < 3) {
- o.variables = buildUnnamed1393();
+ o.variables = buildUnnamed1450();
}
buildCounterListVariablesResponse--;
return o;
@@ -886,45 +886,45 @@
checkListVariablesResponse(api.ListVariablesResponse o) {
buildCounterListVariablesResponse++;
if (buildCounterListVariablesResponse < 3) {
- checkUnnamed1393(o.variables);
+ checkUnnamed1450(o.variables);
}
buildCounterListVariablesResponse--;
}
-buildUnnamed1394() {
+buildUnnamed1451() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1394(core.List<core.String> o) {
+checkUnnamed1451(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1395() {
+buildUnnamed1452() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1395(core.List<core.String> o) {
+checkUnnamed1452(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1396() {
+buildUnnamed1453() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1396(core.List<api.Parameter> o) {
+checkUnnamed1453(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -937,13 +937,13 @@
if (buildCounterMacro < 3) {
o.accountId = "foo";
o.containerId = "foo";
- o.disablingRuleId = buildUnnamed1394();
- o.enablingRuleId = buildUnnamed1395();
+ o.disablingRuleId = buildUnnamed1451();
+ o.enablingRuleId = buildUnnamed1452();
o.fingerprint = "foo";
o.macroId = "foo";
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed1396();
+ o.parameter = buildUnnamed1453();
o.parentFolderId = "foo";
o.scheduleEndMs = "foo";
o.scheduleStartMs = "foo";
@@ -958,13 +958,13 @@
if (buildCounterMacro < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1394(o.disablingRuleId);
- checkUnnamed1395(o.enablingRuleId);
+ checkUnnamed1451(o.disablingRuleId);
+ checkUnnamed1452(o.enablingRuleId);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.macroId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1396(o.parameter);
+ checkUnnamed1453(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
unittest.expect(o.scheduleStartMs, unittest.equals('foo'));
@@ -973,27 +973,27 @@
buildCounterMacro--;
}
-buildUnnamed1397() {
+buildUnnamed1454() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1397(core.List<api.Parameter> o) {
+checkUnnamed1454(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
}
-buildUnnamed1398() {
+buildUnnamed1455() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1398(core.List<api.Parameter> o) {
+checkUnnamed1455(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -1005,8 +1005,8 @@
buildCounterParameter++;
if (buildCounterParameter < 3) {
o.key = "foo";
- o.list = buildUnnamed1397();
- o.map = buildUnnamed1398();
+ o.list = buildUnnamed1454();
+ o.map = buildUnnamed1455();
o.type = "foo";
o.value = "foo";
}
@@ -1018,8 +1018,8 @@
buildCounterParameter++;
if (buildCounterParameter < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed1397(o.list);
- checkUnnamed1398(o.map);
+ checkUnnamed1454(o.list);
+ checkUnnamed1455(o.map);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
@@ -1047,14 +1047,14 @@
buildCounterPublishContainerVersionResponse--;
}
-buildUnnamed1399() {
+buildUnnamed1456() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1399(core.List<api.Condition> o) {
+checkUnnamed1456(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
@@ -1066,7 +1066,7 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.accountId = "foo";
- o.condition = buildUnnamed1399();
+ o.condition = buildUnnamed1456();
o.containerId = "foo";
o.fingerprint = "foo";
o.name = "foo";
@@ -1081,7 +1081,7 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1399(o.condition);
+ checkUnnamed1456(o.condition);
unittest.expect(o.containerId, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -1112,92 +1112,92 @@
buildCounterSetupTag--;
}
-buildUnnamed1400() {
+buildUnnamed1457() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1400(core.List<core.String> o) {
+checkUnnamed1457(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1401() {
+buildUnnamed1458() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1401(core.List<core.String> o) {
+checkUnnamed1458(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1402() {
+buildUnnamed1459() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1402(core.List<core.String> o) {
+checkUnnamed1459(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1403() {
+buildUnnamed1460() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1403(core.List<core.String> o) {
+checkUnnamed1460(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1404() {
+buildUnnamed1461() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1404(core.List<api.Parameter> o) {
+checkUnnamed1461(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
}
-buildUnnamed1405() {
+buildUnnamed1462() {
var o = new core.List<api.SetupTag>();
o.add(buildSetupTag());
o.add(buildSetupTag());
return o;
}
-checkUnnamed1405(core.List<api.SetupTag> o) {
+checkUnnamed1462(core.List<api.SetupTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkSetupTag(o[0]);
checkSetupTag(o[1]);
}
-buildUnnamed1406() {
+buildUnnamed1463() {
var o = new core.List<api.TeardownTag>();
o.add(buildTeardownTag());
o.add(buildTeardownTag());
return o;
}
-checkUnnamed1406(core.List<api.TeardownTag> o) {
+checkUnnamed1463(core.List<api.TeardownTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeardownTag(o[0]);
checkTeardownTag(o[1]);
@@ -1209,24 +1209,24 @@
buildCounterTag++;
if (buildCounterTag < 3) {
o.accountId = "foo";
- o.blockingRuleId = buildUnnamed1400();
- o.blockingTriggerId = buildUnnamed1401();
+ o.blockingRuleId = buildUnnamed1457();
+ o.blockingTriggerId = buildUnnamed1458();
o.containerId = "foo";
o.fingerprint = "foo";
- o.firingRuleId = buildUnnamed1402();
- o.firingTriggerId = buildUnnamed1403();
+ o.firingRuleId = buildUnnamed1459();
+ o.firingTriggerId = buildUnnamed1460();
o.liveOnly = true;
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed1404();
+ o.parameter = buildUnnamed1461();
o.parentFolderId = "foo";
o.priority = buildParameter();
o.scheduleEndMs = "foo";
o.scheduleStartMs = "foo";
- o.setupTag = buildUnnamed1405();
+ o.setupTag = buildUnnamed1462();
o.tagFiringOption = "foo";
o.tagId = "foo";
- o.teardownTag = buildUnnamed1406();
+ o.teardownTag = buildUnnamed1463();
o.type = "foo";
}
buildCounterTag--;
@@ -1237,24 +1237,24 @@
buildCounterTag++;
if (buildCounterTag < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1400(o.blockingRuleId);
- checkUnnamed1401(o.blockingTriggerId);
+ checkUnnamed1457(o.blockingRuleId);
+ checkUnnamed1458(o.blockingTriggerId);
unittest.expect(o.containerId, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1402(o.firingRuleId);
- checkUnnamed1403(o.firingTriggerId);
+ checkUnnamed1459(o.firingRuleId);
+ checkUnnamed1460(o.firingTriggerId);
unittest.expect(o.liveOnly, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1404(o.parameter);
+ checkUnnamed1461(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
checkParameter(o.priority);
unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
unittest.expect(o.scheduleStartMs, unittest.equals('foo'));
- checkUnnamed1405(o.setupTag);
+ checkUnnamed1462(o.setupTag);
unittest.expect(o.tagFiringOption, unittest.equals('foo'));
unittest.expect(o.tagId, unittest.equals('foo'));
- checkUnnamed1406(o.teardownTag);
+ checkUnnamed1463(o.teardownTag);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterTag--;
@@ -1281,40 +1281,40 @@
buildCounterTeardownTag--;
}
-buildUnnamed1407() {
+buildUnnamed1464() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1407(core.List<api.Condition> o) {
+checkUnnamed1464(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1408() {
+buildUnnamed1465() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1408(core.List<api.Condition> o) {
+checkUnnamed1465(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1409() {
+buildUnnamed1466() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1409(core.List<api.Condition> o) {
+checkUnnamed1466(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
@@ -1326,13 +1326,13 @@
buildCounterTrigger++;
if (buildCounterTrigger < 3) {
o.accountId = "foo";
- o.autoEventFilter = buildUnnamed1407();
+ o.autoEventFilter = buildUnnamed1464();
o.checkValidation = buildParameter();
o.containerId = "foo";
- o.customEventFilter = buildUnnamed1408();
+ o.customEventFilter = buildUnnamed1465();
o.enableAllVideos = buildParameter();
o.eventName = buildParameter();
- o.filter = buildUnnamed1409();
+ o.filter = buildUnnamed1466();
o.fingerprint = "foo";
o.interval = buildParameter();
o.limit = buildParameter();
@@ -1353,13 +1353,13 @@
buildCounterTrigger++;
if (buildCounterTrigger < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1407(o.autoEventFilter);
+ checkUnnamed1464(o.autoEventFilter);
checkParameter(o.checkValidation);
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1408(o.customEventFilter);
+ checkUnnamed1465(o.customEventFilter);
checkParameter(o.enableAllVideos);
checkParameter(o.eventName);
- checkUnnamed1409(o.filter);
+ checkUnnamed1466(o.filter);
unittest.expect(o.fingerprint, unittest.equals('foo'));
checkParameter(o.interval);
checkParameter(o.limit);
@@ -1375,14 +1375,14 @@
buildCounterTrigger--;
}
-buildUnnamed1410() {
+buildUnnamed1467() {
var o = new core.List<api.ContainerAccess>();
o.add(buildContainerAccess());
o.add(buildContainerAccess());
return o;
}
-checkUnnamed1410(core.List<api.ContainerAccess> o) {
+checkUnnamed1467(core.List<api.ContainerAccess> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerAccess(o[0]);
checkContainerAccess(o[1]);
@@ -1395,7 +1395,7 @@
if (buildCounterUserAccess < 3) {
o.accountAccess = buildAccountAccess();
o.accountId = "foo";
- o.containerAccess = buildUnnamed1410();
+ o.containerAccess = buildUnnamed1467();
o.emailAddress = "foo";
o.permissionId = "foo";
}
@@ -1408,47 +1408,47 @@
if (buildCounterUserAccess < 3) {
checkAccountAccess(o.accountAccess);
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1410(o.containerAccess);
+ checkUnnamed1467(o.containerAccess);
unittest.expect(o.emailAddress, unittest.equals('foo'));
unittest.expect(o.permissionId, unittest.equals('foo'));
}
buildCounterUserAccess--;
}
-buildUnnamed1411() {
+buildUnnamed1468() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1411(core.List<core.String> o) {
+checkUnnamed1468(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1412() {
+buildUnnamed1469() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1412(core.List<core.String> o) {
+checkUnnamed1469(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1413() {
+buildUnnamed1470() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1413(core.List<api.Parameter> o) {
+checkUnnamed1470(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -1461,12 +1461,12 @@
if (buildCounterVariable < 3) {
o.accountId = "foo";
o.containerId = "foo";
- o.disablingTriggerId = buildUnnamed1411();
- o.enablingTriggerId = buildUnnamed1412();
+ o.disablingTriggerId = buildUnnamed1468();
+ o.enablingTriggerId = buildUnnamed1469();
o.fingerprint = "foo";
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed1413();
+ o.parameter = buildUnnamed1470();
o.parentFolderId = "foo";
o.scheduleEndMs = "foo";
o.scheduleStartMs = "foo";
@@ -1482,12 +1482,12 @@
if (buildCounterVariable < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1411(o.disablingTriggerId);
- checkUnnamed1412(o.enablingTriggerId);
+ checkUnnamed1468(o.disablingTriggerId);
+ checkUnnamed1469(o.enablingTriggerId);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1413(o.parameter);
+ checkUnnamed1470(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
unittest.expect(o.scheduleStartMs, unittest.equals('foo'));
@@ -1497,40 +1497,40 @@
buildCounterVariable--;
}
-buildUnnamed1414() {
+buildUnnamed1471() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1414(core.List<core.String> o) {
+checkUnnamed1471(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1415() {
+buildUnnamed1472() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1415(core.List<core.String> o) {
+checkUnnamed1472(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1416() {
+buildUnnamed1473() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1416(core.List<core.String> o) {
+checkUnnamed1473(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3070,9 +3070,9 @@
var arg_accountId = "foo";
var arg_containerId = "foo";
var arg_folderId = "foo";
- var arg_tagId = buildUnnamed1414();
- var arg_triggerId = buildUnnamed1415();
- var arg_variableId = buildUnnamed1416();
+ var arg_tagId = buildUnnamed1471();
+ var arg_triggerId = buildUnnamed1472();
+ var arg_variableId = buildUnnamed1473();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.Folder.fromJson(json);
checkFolder(obj);
diff --git a/generated/googleapis/test/tasks/v1_test.dart b/generated/googleapis/test/tasks/v1_test.dart
index a3da54a..fc4f6ca 100644
--- a/generated/googleapis/test/tasks/v1_test.dart
+++ b/generated/googleapis/test/tasks/v1_test.dart
@@ -74,14 +74,14 @@
buildCounterTaskLinks--;
}
-buildUnnamed2886() {
+buildUnnamed2992() {
var o = new core.List<api.TaskLinks>();
o.add(buildTaskLinks());
o.add(buildTaskLinks());
return o;
}
-checkUnnamed2886(core.List<api.TaskLinks> o) {
+checkUnnamed2992(core.List<api.TaskLinks> o) {
unittest.expect(o, unittest.hasLength(2));
checkTaskLinks(o[0]);
checkTaskLinks(o[1]);
@@ -99,7 +99,7 @@
o.hidden = true;
o.id = "foo";
o.kind = "foo";
- o.links = buildUnnamed2886();
+ o.links = buildUnnamed2992();
o.notes = "foo";
o.parent = "foo";
o.position = "foo";
@@ -122,7 +122,7 @@
unittest.expect(o.hidden, unittest.isTrue);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2886(o.links);
+ checkUnnamed2992(o.links);
unittest.expect(o.notes, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
unittest.expect(o.position, unittest.equals('foo'));
@@ -163,14 +163,14 @@
buildCounterTaskList--;
}
-buildUnnamed2887() {
+buildUnnamed2993() {
var o = new core.List<api.TaskList>();
o.add(buildTaskList());
o.add(buildTaskList());
return o;
}
-checkUnnamed2887(core.List<api.TaskList> o) {
+checkUnnamed2993(core.List<api.TaskList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTaskList(o[0]);
checkTaskList(o[1]);
@@ -182,7 +182,7 @@
buildCounterTaskLists++;
if (buildCounterTaskLists < 3) {
o.etag = "foo";
- o.items = buildUnnamed2887();
+ o.items = buildUnnamed2993();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -194,21 +194,21 @@
buildCounterTaskLists++;
if (buildCounterTaskLists < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2887(o.items);
+ checkUnnamed2993(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterTaskLists--;
}
-buildUnnamed2888() {
+buildUnnamed2994() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed2888(core.List<api.Task> o) {
+checkUnnamed2994(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -220,7 +220,7 @@
buildCounterTasks++;
if (buildCounterTasks < 3) {
o.etag = "foo";
- o.items = buildUnnamed2888();
+ o.items = buildUnnamed2994();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -232,7 +232,7 @@
buildCounterTasks++;
if (buildCounterTasks < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2888(o.items);
+ checkUnnamed2994(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
diff --git a/generated/googleapis/test/tracing/v1_test.dart b/generated/googleapis/test/tracing/v1_test.dart
index 6221f0a..1602676 100644
--- a/generated/googleapis/test/tracing/v1_test.dart
+++ b/generated/googleapis/test/tracing/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2958() {
+buildUnnamed3064() {
var o = new core.Map<core.String, api.AttributeValue>();
o["x"] = buildAttributeValue();
o["y"] = buildAttributeValue();
return o;
}
-checkUnnamed2958(core.Map<core.String, api.AttributeValue> o) {
+checkUnnamed3064(core.Map<core.String, api.AttributeValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttributeValue(o["x"]);
checkAttributeValue(o["y"]);
@@ -69,7 +69,7 @@
var o = new api.Annotation();
buildCounterAnnotation++;
if (buildCounterAnnotation < 3) {
- o.attributes = buildUnnamed2958();
+ o.attributes = buildUnnamed3064();
o.description = "foo";
}
buildCounterAnnotation--;
@@ -79,7 +79,7 @@
checkAnnotation(api.Annotation o) {
buildCounterAnnotation++;
if (buildCounterAnnotation < 3) {
- checkUnnamed2958(o.attributes);
+ checkUnnamed3064(o.attributes);
unittest.expect(o.description, unittest.equals('foo'));
}
buildCounterAnnotation--;
@@ -108,14 +108,14 @@
buildCounterAttributeValue--;
}
-buildUnnamed2959() {
+buildUnnamed3065() {
var o = new core.Map<core.String, api.SpanUpdates>();
o["x"] = buildSpanUpdates();
o["y"] = buildSpanUpdates();
return o;
}
-checkUnnamed2959(core.Map<core.String, api.SpanUpdates> o) {
+checkUnnamed3065(core.Map<core.String, api.SpanUpdates> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpanUpdates(o["x"]);
checkSpanUpdates(o["y"]);
@@ -126,7 +126,7 @@
var o = new api.BatchUpdateSpansRequest();
buildCounterBatchUpdateSpansRequest++;
if (buildCounterBatchUpdateSpansRequest < 3) {
- o.spanUpdates = buildUnnamed2959();
+ o.spanUpdates = buildUnnamed3065();
}
buildCounterBatchUpdateSpansRequest--;
return o;
@@ -135,7 +135,7 @@
checkBatchUpdateSpansRequest(api.BatchUpdateSpansRequest o) {
buildCounterBatchUpdateSpansRequest++;
if (buildCounterBatchUpdateSpansRequest < 3) {
- checkUnnamed2959(o.spanUpdates);
+ checkUnnamed3065(o.spanUpdates);
}
buildCounterBatchUpdateSpansRequest--;
}
@@ -180,14 +180,14 @@
buildCounterLink--;
}
-buildUnnamed2960() {
+buildUnnamed3066() {
var o = new core.List<api.Span>();
o.add(buildSpan());
o.add(buildSpan());
return o;
}
-checkUnnamed2960(core.List<api.Span> o) {
+checkUnnamed3066(core.List<api.Span> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpan(o[0]);
checkSpan(o[1]);
@@ -199,7 +199,7 @@
buildCounterListSpansResponse++;
if (buildCounterListSpansResponse < 3) {
o.nextPageToken = "foo";
- o.spans = buildUnnamed2960();
+ o.spans = buildUnnamed3066();
}
buildCounterListSpansResponse--;
return o;
@@ -209,19 +209,19 @@
buildCounterListSpansResponse++;
if (buildCounterListSpansResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2960(o.spans);
+ checkUnnamed3066(o.spans);
}
buildCounterListSpansResponse--;
}
-buildUnnamed2961() {
+buildUnnamed3067() {
var o = new core.List<api.Trace>();
o.add(buildTrace());
o.add(buildTrace());
return o;
}
-checkUnnamed2961(core.List<api.Trace> o) {
+checkUnnamed3067(core.List<api.Trace> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrace(o[0]);
checkTrace(o[1]);
@@ -233,7 +233,7 @@
buildCounterListTracesResponse++;
if (buildCounterListTracesResponse < 3) {
o.nextPageToken = "foo";
- o.traces = buildUnnamed2961();
+ o.traces = buildUnnamed3067();
}
buildCounterListTracesResponse--;
return o;
@@ -243,7 +243,7 @@
buildCounterListTracesResponse++;
if (buildCounterListTracesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2961(o.traces);
+ checkUnnamed3067(o.traces);
}
buildCounterListTracesResponse--;
}
@@ -294,40 +294,40 @@
buildCounterNetworkEvent--;
}
-buildUnnamed2962() {
+buildUnnamed3068() {
var o = new core.Map<core.String, api.AttributeValue>();
o["x"] = buildAttributeValue();
o["y"] = buildAttributeValue();
return o;
}
-checkUnnamed2962(core.Map<core.String, api.AttributeValue> o) {
+checkUnnamed3068(core.Map<core.String, api.AttributeValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttributeValue(o["x"]);
checkAttributeValue(o["y"]);
}
-buildUnnamed2963() {
+buildUnnamed3069() {
var o = new core.List<api.Link>();
o.add(buildLink());
o.add(buildLink());
return o;
}
-checkUnnamed2963(core.List<api.Link> o) {
+checkUnnamed3069(core.List<api.Link> o) {
unittest.expect(o, unittest.hasLength(2));
checkLink(o[0]);
checkLink(o[1]);
}
-buildUnnamed2964() {
+buildUnnamed3070() {
var o = new core.List<api.TimeEvent>();
o.add(buildTimeEvent());
o.add(buildTimeEvent());
return o;
}
-checkUnnamed2964(core.List<api.TimeEvent> o) {
+checkUnnamed3070(core.List<api.TimeEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeEvent(o[0]);
checkTimeEvent(o[1]);
@@ -338,17 +338,17 @@
var o = new api.Span();
buildCounterSpan++;
if (buildCounterSpan < 3) {
- o.attributes = buildUnnamed2962();
+ o.attributes = buildUnnamed3068();
o.hasRemoteParent = true;
o.id = "foo";
- o.links = buildUnnamed2963();
+ o.links = buildUnnamed3069();
o.localEndTime = "foo";
o.localStartTime = "foo";
o.name = "foo";
o.parentId = "foo";
o.stackTrace = buildStackTrace();
o.status = buildStatus();
- o.timeEvents = buildUnnamed2964();
+ o.timeEvents = buildUnnamed3070();
}
buildCounterSpan--;
return o;
@@ -357,29 +357,29 @@
checkSpan(api.Span o) {
buildCounterSpan++;
if (buildCounterSpan < 3) {
- checkUnnamed2962(o.attributes);
+ checkUnnamed3068(o.attributes);
unittest.expect(o.hasRemoteParent, unittest.isTrue);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2963(o.links);
+ checkUnnamed3069(o.links);
unittest.expect(o.localEndTime, unittest.equals('foo'));
unittest.expect(o.localStartTime, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentId, unittest.equals('foo'));
checkStackTrace(o.stackTrace);
checkStatus(o.status);
- checkUnnamed2964(o.timeEvents);
+ checkUnnamed3070(o.timeEvents);
}
buildCounterSpan--;
}
-buildUnnamed2965() {
+buildUnnamed3071() {
var o = new core.List<api.Span>();
o.add(buildSpan());
o.add(buildSpan());
return o;
}
-checkUnnamed2965(core.List<api.Span> o) {
+checkUnnamed3071(core.List<api.Span> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpan(o[0]);
checkSpan(o[1]);
@@ -390,7 +390,7 @@
var o = new api.SpanUpdates();
buildCounterSpanUpdates++;
if (buildCounterSpanUpdates < 3) {
- o.spans = buildUnnamed2965();
+ o.spans = buildUnnamed3071();
}
buildCounterSpanUpdates--;
return o;
@@ -399,7 +399,7 @@
checkSpanUpdates(api.SpanUpdates o) {
buildCounterSpanUpdates++;
if (buildCounterSpanUpdates < 3) {
- checkUnnamed2965(o.spans);
+ checkUnnamed3071(o.spans);
}
buildCounterSpanUpdates--;
}
@@ -435,14 +435,14 @@
buildCounterStackFrame--;
}
-buildUnnamed2966() {
+buildUnnamed3072() {
var o = new core.List<api.StackFrame>();
o.add(buildStackFrame());
o.add(buildStackFrame());
return o;
}
-checkUnnamed2966(core.List<api.StackFrame> o) {
+checkUnnamed3072(core.List<api.StackFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkStackFrame(o[0]);
checkStackFrame(o[1]);
@@ -453,7 +453,7 @@
var o = new api.StackTrace();
buildCounterStackTrace++;
if (buildCounterStackTrace < 3) {
- o.stackFrame = buildUnnamed2966();
+ o.stackFrame = buildUnnamed3072();
o.stackTraceHashId = "foo";
}
buildCounterStackTrace--;
@@ -463,36 +463,36 @@
checkStackTrace(api.StackTrace o) {
buildCounterStackTrace++;
if (buildCounterStackTrace < 3) {
- checkUnnamed2966(o.stackFrame);
+ checkUnnamed3072(o.stackFrame);
unittest.expect(o.stackTraceHashId, unittest.equals('foo'));
}
buildCounterStackTrace--;
}
-buildUnnamed2967() {
+buildUnnamed3073() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2967(core.Map<core.String, core.Object> o) {
+checkUnnamed3073(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed2968() {
+buildUnnamed3074() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2967());
- o.add(buildUnnamed2967());
+ o.add(buildUnnamed3073());
+ o.add(buildUnnamed3073());
return o;
}
-checkUnnamed2968(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3074(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2967(o[0]);
- checkUnnamed2967(o[1]);
+ checkUnnamed3073(o[0]);
+ checkUnnamed3073(o[1]);
}
core.int buildCounterStatus = 0;
@@ -501,7 +501,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2968();
+ o.details = buildUnnamed3074();
o.message = "foo";
}
buildCounterStatus--;
@@ -512,7 +512,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2968(o.details);
+ checkUnnamed3074(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -806,12 +806,12 @@
var mock = new HttpServerMock();
api.ProjectsTracesResourceApi res = new api.TracingApi(mock).projects.traces;
var arg_parent = "foo";
- var arg_pageSize = 42;
- var arg_orderBy = "foo";
var arg_filter = "foo";
var arg_endTime = "foo";
- var arg_pageToken = "foo";
var arg_startTime = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_orderBy = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -839,12 +839,12 @@
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["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["endTime"].first, unittest.equals(arg_endTime));
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTime));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
var h = {
@@ -853,7 +853,7 @@
var resp = convert.JSON.encode(buildListTracesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageSize: arg_pageSize, orderBy: arg_orderBy, filter: arg_filter, endTime: arg_endTime, pageToken: arg_pageToken, startTime: arg_startTime).then(unittest.expectAsync(((api.ListTracesResponse response) {
+ res.list(arg_parent, filter: arg_filter, endTime: arg_endTime, startTime: arg_startTime, pageToken: arg_pageToken, pageSize: arg_pageSize, orderBy: arg_orderBy).then(unittest.expectAsync(((api.ListTracesResponse response) {
checkListTracesResponse(response);
})));
});
diff --git a/generated/googleapis/test/translate/v2_test.dart b/generated/googleapis/test/translate/v2_test.dart
index c26a31c..c0a4cbe 100644
--- a/generated/googleapis/test/translate/v2_test.dart
+++ b/generated/googleapis/test/translate/v2_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed664() {
+buildUnnamed685() {
var o = new core.List<api.DetectionsResource>();
o.add(buildDetectionsResource());
o.add(buildDetectionsResource());
return o;
}
-checkUnnamed664(core.List<api.DetectionsResource> o) {
+checkUnnamed685(core.List<api.DetectionsResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkDetectionsResource(o[0]);
checkDetectionsResource(o[1]);
@@ -69,7 +69,7 @@
var o = new api.DetectionsListResponse();
buildCounterDetectionsListResponse++;
if (buildCounterDetectionsListResponse < 3) {
- o.detections = buildUnnamed664();
+ o.detections = buildUnnamed685();
}
buildCounterDetectionsListResponse--;
return o;
@@ -78,7 +78,7 @@
checkDetectionsListResponse(api.DetectionsListResponse o) {
buildCounterDetectionsListResponse++;
if (buildCounterDetectionsListResponse < 3) {
- checkUnnamed664(o.detections);
+ checkUnnamed685(o.detections);
}
buildCounterDetectionsListResponse--;
}
@@ -119,14 +119,14 @@
checkDetectionsResourceElement(o[1]);
}
-buildUnnamed665() {
+buildUnnamed686() {
var o = new core.List<api.LanguagesResource>();
o.add(buildLanguagesResource());
o.add(buildLanguagesResource());
return o;
}
-checkUnnamed665(core.List<api.LanguagesResource> o) {
+checkUnnamed686(core.List<api.LanguagesResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguagesResource(o[0]);
checkLanguagesResource(o[1]);
@@ -137,7 +137,7 @@
var o = new api.LanguagesListResponse();
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
- o.languages = buildUnnamed665();
+ o.languages = buildUnnamed686();
}
buildCounterLanguagesListResponse--;
return o;
@@ -146,7 +146,7 @@
checkLanguagesListResponse(api.LanguagesListResponse o) {
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
- checkUnnamed665(o.languages);
+ checkUnnamed686(o.languages);
}
buildCounterLanguagesListResponse--;
}
@@ -172,14 +172,14 @@
buildCounterLanguagesResource--;
}
-buildUnnamed666() {
+buildUnnamed687() {
var o = new core.List<api.TranslationsResource>();
o.add(buildTranslationsResource());
o.add(buildTranslationsResource());
return o;
}
-checkUnnamed666(core.List<api.TranslationsResource> o) {
+checkUnnamed687(core.List<api.TranslationsResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkTranslationsResource(o[0]);
checkTranslationsResource(o[1]);
@@ -190,7 +190,7 @@
var o = new api.TranslationsListResponse();
buildCounterTranslationsListResponse++;
if (buildCounterTranslationsListResponse < 3) {
- o.translations = buildUnnamed666();
+ o.translations = buildUnnamed687();
}
buildCounterTranslationsListResponse--;
return o;
@@ -199,7 +199,7 @@
checkTranslationsListResponse(api.TranslationsListResponse o) {
buildCounterTranslationsListResponse++;
if (buildCounterTranslationsListResponse < 3) {
- checkUnnamed666(o.translations);
+ checkUnnamed687(o.translations);
}
buildCounterTranslationsListResponse--;
}
@@ -225,40 +225,40 @@
buildCounterTranslationsResource--;
}
-buildUnnamed667() {
+buildUnnamed688() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed667(core.List<core.String> o) {
+checkUnnamed688(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed668() {
+buildUnnamed689() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed668(core.List<core.String> o) {
+checkUnnamed689(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed669() {
+buildUnnamed690() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed669(core.List<core.String> o) {
+checkUnnamed690(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -334,7 +334,7 @@
var mock = new HttpServerMock();
api.DetectionsResourceApi res = new api.TranslateApi(mock).detections;
- var arg_q = buildUnnamed667();
+ var arg_q = buildUnnamed688();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -436,9 +436,9 @@
var mock = new HttpServerMock();
api.TranslationsResourceApi res = new api.TranslateApi(mock).translations;
- var arg_q = buildUnnamed668();
+ var arg_q = buildUnnamed689();
var arg_target = "foo";
- var arg_cid = buildUnnamed669();
+ var arg_cid = buildUnnamed690();
var arg_format = "foo";
var arg_source = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
diff --git a/generated/googleapis/test/urlshortener/v1_test.dart b/generated/googleapis/test/urlshortener/v1_test.dart
index b563b95..f8654ca 100644
--- a/generated/googleapis/test/urlshortener/v1_test.dart
+++ b/generated/googleapis/test/urlshortener/v1_test.dart
@@ -51,53 +51,53 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed690() {
+buildUnnamed711() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed690(core.List<api.StringCount> o) {
+checkUnnamed711(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
}
-buildUnnamed691() {
+buildUnnamed712() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed691(core.List<api.StringCount> o) {
+checkUnnamed712(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
}
-buildUnnamed692() {
+buildUnnamed713() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed692(core.List<api.StringCount> o) {
+checkUnnamed713(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
}
-buildUnnamed693() {
+buildUnnamed714() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed693(core.List<api.StringCount> o) {
+checkUnnamed714(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
@@ -108,11 +108,11 @@
var o = new api.AnalyticsSnapshot();
buildCounterAnalyticsSnapshot++;
if (buildCounterAnalyticsSnapshot < 3) {
- o.browsers = buildUnnamed690();
- o.countries = buildUnnamed691();
+ o.browsers = buildUnnamed711();
+ o.countries = buildUnnamed712();
o.longUrlClicks = "foo";
- o.platforms = buildUnnamed692();
- o.referrers = buildUnnamed693();
+ o.platforms = buildUnnamed713();
+ o.referrers = buildUnnamed714();
o.shortUrlClicks = "foo";
}
buildCounterAnalyticsSnapshot--;
@@ -122,11 +122,11 @@
checkAnalyticsSnapshot(api.AnalyticsSnapshot o) {
buildCounterAnalyticsSnapshot++;
if (buildCounterAnalyticsSnapshot < 3) {
- checkUnnamed690(o.browsers);
- checkUnnamed691(o.countries);
+ checkUnnamed711(o.browsers);
+ checkUnnamed712(o.countries);
unittest.expect(o.longUrlClicks, unittest.equals('foo'));
- checkUnnamed692(o.platforms);
- checkUnnamed693(o.referrers);
+ checkUnnamed713(o.platforms);
+ checkUnnamed714(o.referrers);
unittest.expect(o.shortUrlClicks, unittest.equals('foo'));
}
buildCounterAnalyticsSnapshot--;
@@ -209,14 +209,14 @@
buildCounterUrl--;
}
-buildUnnamed694() {
+buildUnnamed715() {
var o = new core.List<api.Url>();
o.add(buildUrl());
o.add(buildUrl());
return o;
}
-checkUnnamed694(core.List<api.Url> o) {
+checkUnnamed715(core.List<api.Url> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrl(o[0]);
checkUrl(o[1]);
@@ -227,7 +227,7 @@
var o = new api.UrlHistory();
buildCounterUrlHistory++;
if (buildCounterUrlHistory < 3) {
- o.items = buildUnnamed694();
+ o.items = buildUnnamed715();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextPageToken = "foo";
@@ -240,7 +240,7 @@
checkUrlHistory(api.UrlHistory o) {
buildCounterUrlHistory++;
if (buildCounterUrlHistory < 3) {
- checkUnnamed694(o.items);
+ checkUnnamed715(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
diff --git a/generated/googleapis/test/vision/v1_test.dart b/generated/googleapis/test/vision/v1_test.dart
index c31f179..90b684a 100644
--- a/generated/googleapis/test/vision/v1_test.dart
+++ b/generated/googleapis/test/vision/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1177() {
+buildUnnamed1208() {
var o = new core.List<api.Feature>();
o.add(buildFeature());
o.add(buildFeature());
return o;
}
-checkUnnamed1177(core.List<api.Feature> o) {
+checkUnnamed1208(core.List<api.Feature> o) {
unittest.expect(o, unittest.hasLength(2));
checkFeature(o[0]);
checkFeature(o[1]);
@@ -69,7 +69,7 @@
var o = new api.AnnotateImageRequest();
buildCounterAnnotateImageRequest++;
if (buildCounterAnnotateImageRequest < 3) {
- o.features = buildUnnamed1177();
+ o.features = buildUnnamed1208();
o.image = buildImage();
o.imageContext = buildImageContext();
}
@@ -80,73 +80,73 @@
checkAnnotateImageRequest(api.AnnotateImageRequest o) {
buildCounterAnnotateImageRequest++;
if (buildCounterAnnotateImageRequest < 3) {
- checkUnnamed1177(o.features);
+ checkUnnamed1208(o.features);
checkImage(o.image);
checkImageContext(o.imageContext);
}
buildCounterAnnotateImageRequest--;
}
-buildUnnamed1178() {
+buildUnnamed1209() {
var o = new core.List<api.FaceAnnotation>();
o.add(buildFaceAnnotation());
o.add(buildFaceAnnotation());
return o;
}
-checkUnnamed1178(core.List<api.FaceAnnotation> o) {
+checkUnnamed1209(core.List<api.FaceAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkFaceAnnotation(o[0]);
checkFaceAnnotation(o[1]);
}
-buildUnnamed1179() {
+buildUnnamed1210() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1179(core.List<api.EntityAnnotation> o) {
+checkUnnamed1210(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
}
-buildUnnamed1180() {
+buildUnnamed1211() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1180(core.List<api.EntityAnnotation> o) {
+checkUnnamed1211(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
}
-buildUnnamed1181() {
+buildUnnamed1212() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1181(core.List<api.EntityAnnotation> o) {
+checkUnnamed1212(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
}
-buildUnnamed1182() {
+buildUnnamed1213() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1182(core.List<api.EntityAnnotation> o) {
+checkUnnamed1213(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
@@ -159,14 +159,14 @@
if (buildCounterAnnotateImageResponse < 3) {
o.cropHintsAnnotation = buildCropHintsAnnotation();
o.error = buildStatus();
- o.faceAnnotations = buildUnnamed1178();
+ o.faceAnnotations = buildUnnamed1209();
o.fullTextAnnotation = buildTextAnnotation();
o.imagePropertiesAnnotation = buildImageProperties();
- o.labelAnnotations = buildUnnamed1179();
- o.landmarkAnnotations = buildUnnamed1180();
- o.logoAnnotations = buildUnnamed1181();
+ o.labelAnnotations = buildUnnamed1210();
+ o.landmarkAnnotations = buildUnnamed1211();
+ o.logoAnnotations = buildUnnamed1212();
o.safeSearchAnnotation = buildSafeSearchAnnotation();
- o.textAnnotations = buildUnnamed1182();
+ o.textAnnotations = buildUnnamed1213();
o.webDetection = buildWebDetection();
}
buildCounterAnnotateImageResponse--;
@@ -178,27 +178,27 @@
if (buildCounterAnnotateImageResponse < 3) {
checkCropHintsAnnotation(o.cropHintsAnnotation);
checkStatus(o.error);
- checkUnnamed1178(o.faceAnnotations);
+ checkUnnamed1209(o.faceAnnotations);
checkTextAnnotation(o.fullTextAnnotation);
checkImageProperties(o.imagePropertiesAnnotation);
- checkUnnamed1179(o.labelAnnotations);
- checkUnnamed1180(o.landmarkAnnotations);
- checkUnnamed1181(o.logoAnnotations);
+ checkUnnamed1210(o.labelAnnotations);
+ checkUnnamed1211(o.landmarkAnnotations);
+ checkUnnamed1212(o.logoAnnotations);
checkSafeSearchAnnotation(o.safeSearchAnnotation);
- checkUnnamed1182(o.textAnnotations);
+ checkUnnamed1213(o.textAnnotations);
checkWebDetection(o.webDetection);
}
buildCounterAnnotateImageResponse--;
}
-buildUnnamed1183() {
+buildUnnamed1214() {
var o = new core.List<api.AnnotateImageRequest>();
o.add(buildAnnotateImageRequest());
o.add(buildAnnotateImageRequest());
return o;
}
-checkUnnamed1183(core.List<api.AnnotateImageRequest> o) {
+checkUnnamed1214(core.List<api.AnnotateImageRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotateImageRequest(o[0]);
checkAnnotateImageRequest(o[1]);
@@ -209,7 +209,7 @@
var o = new api.BatchAnnotateImagesRequest();
buildCounterBatchAnnotateImagesRequest++;
if (buildCounterBatchAnnotateImagesRequest < 3) {
- o.requests = buildUnnamed1183();
+ o.requests = buildUnnamed1214();
}
buildCounterBatchAnnotateImagesRequest--;
return o;
@@ -218,19 +218,19 @@
checkBatchAnnotateImagesRequest(api.BatchAnnotateImagesRequest o) {
buildCounterBatchAnnotateImagesRequest++;
if (buildCounterBatchAnnotateImagesRequest < 3) {
- checkUnnamed1183(o.requests);
+ checkUnnamed1214(o.requests);
}
buildCounterBatchAnnotateImagesRequest--;
}
-buildUnnamed1184() {
+buildUnnamed1215() {
var o = new core.List<api.AnnotateImageResponse>();
o.add(buildAnnotateImageResponse());
o.add(buildAnnotateImageResponse());
return o;
}
-checkUnnamed1184(core.List<api.AnnotateImageResponse> o) {
+checkUnnamed1215(core.List<api.AnnotateImageResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotateImageResponse(o[0]);
checkAnnotateImageResponse(o[1]);
@@ -241,7 +241,7 @@
var o = new api.BatchAnnotateImagesResponse();
buildCounterBatchAnnotateImagesResponse++;
if (buildCounterBatchAnnotateImagesResponse < 3) {
- o.responses = buildUnnamed1184();
+ o.responses = buildUnnamed1215();
}
buildCounterBatchAnnotateImagesResponse--;
return o;
@@ -250,19 +250,19 @@
checkBatchAnnotateImagesResponse(api.BatchAnnotateImagesResponse o) {
buildCounterBatchAnnotateImagesResponse++;
if (buildCounterBatchAnnotateImagesResponse < 3) {
- checkUnnamed1184(o.responses);
+ checkUnnamed1215(o.responses);
}
buildCounterBatchAnnotateImagesResponse--;
}
-buildUnnamed1185() {
+buildUnnamed1216() {
var o = new core.List<api.Paragraph>();
o.add(buildParagraph());
o.add(buildParagraph());
return o;
}
-checkUnnamed1185(core.List<api.Paragraph> o) {
+checkUnnamed1216(core.List<api.Paragraph> o) {
unittest.expect(o, unittest.hasLength(2));
checkParagraph(o[0]);
checkParagraph(o[1]);
@@ -275,7 +275,7 @@
if (buildCounterBlock < 3) {
o.blockType = "foo";
o.boundingBox = buildBoundingPoly();
- o.paragraphs = buildUnnamed1185();
+ o.paragraphs = buildUnnamed1216();
o.property = buildTextProperty();
}
buildCounterBlock--;
@@ -287,20 +287,20 @@
if (buildCounterBlock < 3) {
unittest.expect(o.blockType, unittest.equals('foo'));
checkBoundingPoly(o.boundingBox);
- checkUnnamed1185(o.paragraphs);
+ checkUnnamed1216(o.paragraphs);
checkTextProperty(o.property);
}
buildCounterBlock--;
}
-buildUnnamed1186() {
+buildUnnamed1217() {
var o = new core.List<api.Vertex>();
o.add(buildVertex());
o.add(buildVertex());
return o;
}
-checkUnnamed1186(core.List<api.Vertex> o) {
+checkUnnamed1217(core.List<api.Vertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkVertex(o[0]);
checkVertex(o[1]);
@@ -311,7 +311,7 @@
var o = new api.BoundingPoly();
buildCounterBoundingPoly++;
if (buildCounterBoundingPoly < 3) {
- o.vertices = buildUnnamed1186();
+ o.vertices = buildUnnamed1217();
}
buildCounterBoundingPoly--;
return o;
@@ -320,7 +320,7 @@
checkBoundingPoly(api.BoundingPoly o) {
buildCounterBoundingPoly++;
if (buildCounterBoundingPoly < 3) {
- checkUnnamed1186(o.vertices);
+ checkUnnamed1217(o.vertices);
}
buildCounterBoundingPoly--;
}
@@ -396,14 +396,14 @@
buildCounterCropHint--;
}
-buildUnnamed1187() {
+buildUnnamed1218() {
var o = new core.List<api.CropHint>();
o.add(buildCropHint());
o.add(buildCropHint());
return o;
}
-checkUnnamed1187(core.List<api.CropHint> o) {
+checkUnnamed1218(core.List<api.CropHint> o) {
unittest.expect(o, unittest.hasLength(2));
checkCropHint(o[0]);
checkCropHint(o[1]);
@@ -414,7 +414,7 @@
var o = new api.CropHintsAnnotation();
buildCounterCropHintsAnnotation++;
if (buildCounterCropHintsAnnotation < 3) {
- o.cropHints = buildUnnamed1187();
+ o.cropHints = buildUnnamed1218();
}
buildCounterCropHintsAnnotation--;
return o;
@@ -423,19 +423,19 @@
checkCropHintsAnnotation(api.CropHintsAnnotation o) {
buildCounterCropHintsAnnotation++;
if (buildCounterCropHintsAnnotation < 3) {
- checkUnnamed1187(o.cropHints);
+ checkUnnamed1218(o.cropHints);
}
buildCounterCropHintsAnnotation--;
}
-buildUnnamed1188() {
+buildUnnamed1219() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1188(core.List<core.double> o) {
+checkUnnamed1219(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -446,7 +446,7 @@
var o = new api.CropHintsParams();
buildCounterCropHintsParams++;
if (buildCounterCropHintsParams < 3) {
- o.aspectRatios = buildUnnamed1188();
+ o.aspectRatios = buildUnnamed1219();
}
buildCounterCropHintsParams--;
return o;
@@ -455,7 +455,7 @@
checkCropHintsParams(api.CropHintsParams o) {
buildCounterCropHintsParams++;
if (buildCounterCropHintsParams < 3) {
- checkUnnamed1188(o.aspectRatios);
+ checkUnnamed1219(o.aspectRatios);
}
buildCounterCropHintsParams--;
}
@@ -502,14 +502,14 @@
buildCounterDetectedLanguage--;
}
-buildUnnamed1189() {
+buildUnnamed1220() {
var o = new core.List<api.ColorInfo>();
o.add(buildColorInfo());
o.add(buildColorInfo());
return o;
}
-checkUnnamed1189(core.List<api.ColorInfo> o) {
+checkUnnamed1220(core.List<api.ColorInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorInfo(o[0]);
checkColorInfo(o[1]);
@@ -520,7 +520,7 @@
var o = new api.DominantColorsAnnotation();
buildCounterDominantColorsAnnotation++;
if (buildCounterDominantColorsAnnotation < 3) {
- o.colors = buildUnnamed1189();
+ o.colors = buildUnnamed1220();
}
buildCounterDominantColorsAnnotation--;
return o;
@@ -529,32 +529,32 @@
checkDominantColorsAnnotation(api.DominantColorsAnnotation o) {
buildCounterDominantColorsAnnotation++;
if (buildCounterDominantColorsAnnotation < 3) {
- checkUnnamed1189(o.colors);
+ checkUnnamed1220(o.colors);
}
buildCounterDominantColorsAnnotation--;
}
-buildUnnamed1190() {
+buildUnnamed1221() {
var o = new core.List<api.LocationInfo>();
o.add(buildLocationInfo());
o.add(buildLocationInfo());
return o;
}
-checkUnnamed1190(core.List<api.LocationInfo> o) {
+checkUnnamed1221(core.List<api.LocationInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocationInfo(o[0]);
checkLocationInfo(o[1]);
}
-buildUnnamed1191() {
+buildUnnamed1222() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed1191(core.List<api.Property> o) {
+checkUnnamed1222(core.List<api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o[0]);
checkProperty(o[1]);
@@ -569,9 +569,9 @@
o.confidence = 42.0;
o.description = "foo";
o.locale = "foo";
- o.locations = buildUnnamed1190();
+ o.locations = buildUnnamed1221();
o.mid = "foo";
- o.properties = buildUnnamed1191();
+ o.properties = buildUnnamed1222();
o.score = 42.0;
o.topicality = 42.0;
}
@@ -586,23 +586,23 @@
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed1190(o.locations);
+ checkUnnamed1221(o.locations);
unittest.expect(o.mid, unittest.equals('foo'));
- checkUnnamed1191(o.properties);
+ checkUnnamed1222(o.properties);
unittest.expect(o.score, unittest.equals(42.0));
unittest.expect(o.topicality, unittest.equals(42.0));
}
buildCounterEntityAnnotation--;
}
-buildUnnamed1192() {
+buildUnnamed1223() {
var o = new core.List<api.Landmark>();
o.add(buildLandmark());
o.add(buildLandmark());
return o;
}
-checkUnnamed1192(core.List<api.Landmark> o) {
+checkUnnamed1223(core.List<api.Landmark> o) {
unittest.expect(o, unittest.hasLength(2));
checkLandmark(o[0]);
checkLandmark(o[1]);
@@ -621,7 +621,7 @@
o.headwearLikelihood = "foo";
o.joyLikelihood = "foo";
o.landmarkingConfidence = 42.0;
- o.landmarks = buildUnnamed1192();
+ o.landmarks = buildUnnamed1223();
o.panAngle = 42.0;
o.rollAngle = 42.0;
o.sorrowLikelihood = "foo";
@@ -644,7 +644,7 @@
unittest.expect(o.headwearLikelihood, unittest.equals('foo'));
unittest.expect(o.joyLikelihood, unittest.equals('foo'));
unittest.expect(o.landmarkingConfidence, unittest.equals(42.0));
- checkUnnamed1192(o.landmarks);
+ checkUnnamed1223(o.landmarks);
unittest.expect(o.panAngle, unittest.equals(42.0));
unittest.expect(o.rollAngle, unittest.equals(42.0));
unittest.expect(o.sorrowLikelihood, unittest.equals('foo'));
@@ -697,14 +697,14 @@
buildCounterImage--;
}
-buildUnnamed1193() {
+buildUnnamed1224() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1193(core.List<core.String> o) {
+checkUnnamed1224(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -716,7 +716,7 @@
buildCounterImageContext++;
if (buildCounterImageContext < 3) {
o.cropHintsParams = buildCropHintsParams();
- o.languageHints = buildUnnamed1193();
+ o.languageHints = buildUnnamed1224();
o.latLongRect = buildLatLongRect();
}
buildCounterImageContext--;
@@ -727,7 +727,7 @@
buildCounterImageContext++;
if (buildCounterImageContext < 3) {
checkCropHintsParams(o.cropHintsParams);
- checkUnnamed1193(o.languageHints);
+ checkUnnamed1224(o.languageHints);
checkLatLongRect(o.latLongRect);
}
buildCounterImageContext--;
@@ -855,14 +855,14 @@
buildCounterLocationInfo--;
}
-buildUnnamed1194() {
+buildUnnamed1225() {
var o = new core.List<api.Block>();
o.add(buildBlock());
o.add(buildBlock());
return o;
}
-checkUnnamed1194(core.List<api.Block> o) {
+checkUnnamed1225(core.List<api.Block> o) {
unittest.expect(o, unittest.hasLength(2));
checkBlock(o[0]);
checkBlock(o[1]);
@@ -873,7 +873,7 @@
var o = new api.Page();
buildCounterPage++;
if (buildCounterPage < 3) {
- o.blocks = buildUnnamed1194();
+ o.blocks = buildUnnamed1225();
o.height = 42;
o.property = buildTextProperty();
o.width = 42;
@@ -885,7 +885,7 @@
checkPage(api.Page o) {
buildCounterPage++;
if (buildCounterPage < 3) {
- checkUnnamed1194(o.blocks);
+ checkUnnamed1225(o.blocks);
unittest.expect(o.height, unittest.equals(42));
checkTextProperty(o.property);
unittest.expect(o.width, unittest.equals(42));
@@ -893,14 +893,14 @@
buildCounterPage--;
}
-buildUnnamed1195() {
+buildUnnamed1226() {
var o = new core.List<api.Word>();
o.add(buildWord());
o.add(buildWord());
return o;
}
-checkUnnamed1195(core.List<api.Word> o) {
+checkUnnamed1226(core.List<api.Word> o) {
unittest.expect(o, unittest.hasLength(2));
checkWord(o[0]);
checkWord(o[1]);
@@ -913,7 +913,7 @@
if (buildCounterParagraph < 3) {
o.boundingBox = buildBoundingPoly();
o.property = buildTextProperty();
- o.words = buildUnnamed1195();
+ o.words = buildUnnamed1226();
}
buildCounterParagraph--;
return o;
@@ -924,7 +924,7 @@
if (buildCounterParagraph < 3) {
checkBoundingPoly(o.boundingBox);
checkTextProperty(o.property);
- checkUnnamed1195(o.words);
+ checkUnnamed1226(o.words);
}
buildCounterParagraph--;
}
@@ -1000,30 +1000,30 @@
buildCounterSafeSearchAnnotation--;
}
-buildUnnamed1196() {
+buildUnnamed1227() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1196(core.Map<core.String, core.Object> o) {
+checkUnnamed1227(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed1197() {
+buildUnnamed1228() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1196());
- o.add(buildUnnamed1196());
+ o.add(buildUnnamed1227());
+ o.add(buildUnnamed1227());
return o;
}
-checkUnnamed1197(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1228(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1196(o[0]);
- checkUnnamed1196(o[1]);
+ checkUnnamed1227(o[0]);
+ checkUnnamed1227(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1032,7 +1032,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1197();
+ o.details = buildUnnamed1228();
o.message = "foo";
}
buildCounterStatus--;
@@ -1043,7 +1043,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1197(o.details);
+ checkUnnamed1228(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1072,14 +1072,14 @@
buildCounterSymbol--;
}
-buildUnnamed1198() {
+buildUnnamed1229() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1198(core.List<api.Page> o) {
+checkUnnamed1229(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -1090,7 +1090,7 @@
var o = new api.TextAnnotation();
buildCounterTextAnnotation++;
if (buildCounterTextAnnotation < 3) {
- o.pages = buildUnnamed1198();
+ o.pages = buildUnnamed1229();
o.text = "foo";
}
buildCounterTextAnnotation--;
@@ -1100,20 +1100,20 @@
checkTextAnnotation(api.TextAnnotation o) {
buildCounterTextAnnotation++;
if (buildCounterTextAnnotation < 3) {
- checkUnnamed1198(o.pages);
+ checkUnnamed1229(o.pages);
unittest.expect(o.text, unittest.equals('foo'));
}
buildCounterTextAnnotation--;
}
-buildUnnamed1199() {
+buildUnnamed1230() {
var o = new core.List<api.DetectedLanguage>();
o.add(buildDetectedLanguage());
o.add(buildDetectedLanguage());
return o;
}
-checkUnnamed1199(core.List<api.DetectedLanguage> o) {
+checkUnnamed1230(core.List<api.DetectedLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkDetectedLanguage(o[0]);
checkDetectedLanguage(o[1]);
@@ -1125,7 +1125,7 @@
buildCounterTextProperty++;
if (buildCounterTextProperty < 3) {
o.detectedBreak = buildDetectedBreak();
- o.detectedLanguages = buildUnnamed1199();
+ o.detectedLanguages = buildUnnamed1230();
}
buildCounterTextProperty--;
return o;
@@ -1135,7 +1135,7 @@
buildCounterTextProperty++;
if (buildCounterTextProperty < 3) {
checkDetectedBreak(o.detectedBreak);
- checkUnnamed1199(o.detectedLanguages);
+ checkUnnamed1230(o.detectedLanguages);
}
buildCounterTextProperty--;
}
@@ -1161,53 +1161,66 @@
buildCounterVertex--;
}
-buildUnnamed1200() {
+buildUnnamed1231() {
var o = new core.List<api.WebImage>();
o.add(buildWebImage());
o.add(buildWebImage());
return o;
}
-checkUnnamed1200(core.List<api.WebImage> o) {
+checkUnnamed1231(core.List<api.WebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebImage(o[0]);
checkWebImage(o[1]);
}
-buildUnnamed1201() {
+buildUnnamed1232() {
var o = new core.List<api.WebPage>();
o.add(buildWebPage());
o.add(buildWebPage());
return o;
}
-checkUnnamed1201(core.List<api.WebPage> o) {
+checkUnnamed1232(core.List<api.WebPage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebPage(o[0]);
checkWebPage(o[1]);
}
-buildUnnamed1202() {
+buildUnnamed1233() {
var o = new core.List<api.WebImage>();
o.add(buildWebImage());
o.add(buildWebImage());
return o;
}
-checkUnnamed1202(core.List<api.WebImage> o) {
+checkUnnamed1233(core.List<api.WebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebImage(o[0]);
checkWebImage(o[1]);
}
-buildUnnamed1203() {
+buildUnnamed1234() {
+ var o = new core.List<api.WebImage>();
+ o.add(buildWebImage());
+ o.add(buildWebImage());
+ return o;
+}
+
+checkUnnamed1234(core.List<api.WebImage> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkWebImage(o[0]);
+ checkWebImage(o[1]);
+}
+
+buildUnnamed1235() {
var o = new core.List<api.WebEntity>();
o.add(buildWebEntity());
o.add(buildWebEntity());
return o;
}
-checkUnnamed1203(core.List<api.WebEntity> o) {
+checkUnnamed1235(core.List<api.WebEntity> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebEntity(o[0]);
checkWebEntity(o[1]);
@@ -1218,10 +1231,11 @@
var o = new api.WebDetection();
buildCounterWebDetection++;
if (buildCounterWebDetection < 3) {
- o.fullMatchingImages = buildUnnamed1200();
- o.pagesWithMatchingImages = buildUnnamed1201();
- o.partialMatchingImages = buildUnnamed1202();
- o.webEntities = buildUnnamed1203();
+ o.fullMatchingImages = buildUnnamed1231();
+ o.pagesWithMatchingImages = buildUnnamed1232();
+ o.partialMatchingImages = buildUnnamed1233();
+ o.visuallySimilarImages = buildUnnamed1234();
+ o.webEntities = buildUnnamed1235();
}
buildCounterWebDetection--;
return o;
@@ -1230,10 +1244,11 @@
checkWebDetection(api.WebDetection o) {
buildCounterWebDetection++;
if (buildCounterWebDetection < 3) {
- checkUnnamed1200(o.fullMatchingImages);
- checkUnnamed1201(o.pagesWithMatchingImages);
- checkUnnamed1202(o.partialMatchingImages);
- checkUnnamed1203(o.webEntities);
+ checkUnnamed1231(o.fullMatchingImages);
+ checkUnnamed1232(o.pagesWithMatchingImages);
+ checkUnnamed1233(o.partialMatchingImages);
+ checkUnnamed1234(o.visuallySimilarImages);
+ checkUnnamed1235(o.webEntities);
}
buildCounterWebDetection--;
}
@@ -1303,14 +1318,14 @@
buildCounterWebPage--;
}
-buildUnnamed1204() {
+buildUnnamed1236() {
var o = new core.List<api.Symbol>();
o.add(buildSymbol());
o.add(buildSymbol());
return o;
}
-checkUnnamed1204(core.List<api.Symbol> o) {
+checkUnnamed1236(core.List<api.Symbol> o) {
unittest.expect(o, unittest.hasLength(2));
checkSymbol(o[0]);
checkSymbol(o[1]);
@@ -1323,7 +1338,7 @@
if (buildCounterWord < 3) {
o.boundingBox = buildBoundingPoly();
o.property = buildTextProperty();
- o.symbols = buildUnnamed1204();
+ o.symbols = buildUnnamed1236();
}
buildCounterWord--;
return o;
@@ -1334,7 +1349,7 @@
if (buildCounterWord < 3) {
checkBoundingPoly(o.boundingBox);
checkTextProperty(o.property);
- checkUnnamed1204(o.symbols);
+ checkUnnamed1236(o.symbols);
}
buildCounterWord--;
}
diff --git a/generated/googleapis/test/webfonts/v1_test.dart b/generated/googleapis/test/webfonts/v1_test.dart
index 8be9040..53f410c 100644
--- a/generated/googleapis/test/webfonts/v1_test.dart
+++ b/generated/googleapis/test/webfonts/v1_test.dart
@@ -51,40 +51,40 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1417() {
+buildUnnamed1474() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1417(core.Map<core.String, core.String> o) {
+checkUnnamed1474(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1418() {
+buildUnnamed1475() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1418(core.List<core.String> o) {
+checkUnnamed1475(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1419() {
+buildUnnamed1476() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1419(core.List<core.String> o) {
+checkUnnamed1476(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -97,11 +97,11 @@
if (buildCounterWebfont < 3) {
o.category = "foo";
o.family = "foo";
- o.files = buildUnnamed1417();
+ o.files = buildUnnamed1474();
o.kind = "foo";
o.lastModified = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.subsets = buildUnnamed1418();
- o.variants = buildUnnamed1419();
+ o.subsets = buildUnnamed1475();
+ o.variants = buildUnnamed1476();
o.version = "foo";
}
buildCounterWebfont--;
@@ -113,24 +113,24 @@
if (buildCounterWebfont < 3) {
unittest.expect(o.category, unittest.equals('foo'));
unittest.expect(o.family, unittest.equals('foo'));
- checkUnnamed1417(o.files);
+ checkUnnamed1474(o.files);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastModified, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed1418(o.subsets);
- checkUnnamed1419(o.variants);
+ checkUnnamed1475(o.subsets);
+ checkUnnamed1476(o.variants);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterWebfont--;
}
-buildUnnamed1420() {
+buildUnnamed1477() {
var o = new core.List<api.Webfont>();
o.add(buildWebfont());
o.add(buildWebfont());
return o;
}
-checkUnnamed1420(core.List<api.Webfont> o) {
+checkUnnamed1477(core.List<api.Webfont> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebfont(o[0]);
checkWebfont(o[1]);
@@ -141,7 +141,7 @@
var o = new api.WebfontList();
buildCounterWebfontList++;
if (buildCounterWebfontList < 3) {
- o.items = buildUnnamed1420();
+ o.items = buildUnnamed1477();
o.kind = "foo";
}
buildCounterWebfontList--;
@@ -151,7 +151,7 @@
checkWebfontList(api.WebfontList o) {
buildCounterWebfontList++;
if (buildCounterWebfontList < 3) {
- checkUnnamed1420(o.items);
+ checkUnnamed1477(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterWebfontList--;
diff --git a/generated/googleapis/test/webmasters/v3_test.dart b/generated/googleapis/test/webmasters/v3_test.dart
index 64a9be6..b84a12c 100644
--- a/generated/googleapis/test/webmasters/v3_test.dart
+++ b/generated/googleapis/test/webmasters/v3_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed585() {
+buildUnnamed606() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed585(core.List<core.String> o) {
+checkUnnamed606(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -72,7 +72,7 @@
o.clicks = 42.0;
o.ctr = 42.0;
o.impressions = 42.0;
- o.keys = buildUnnamed585();
+ o.keys = buildUnnamed606();
o.position = 42.0;
}
buildCounterApiDataRow--;
@@ -85,7 +85,7 @@
unittest.expect(o.clicks, unittest.equals(42.0));
unittest.expect(o.ctr, unittest.equals(42.0));
unittest.expect(o.impressions, unittest.equals(42.0));
- checkUnnamed585(o.keys);
+ checkUnnamed606(o.keys);
unittest.expect(o.position, unittest.equals(42.0));
}
buildCounterApiDataRow--;
@@ -114,14 +114,14 @@
buildCounterApiDimensionFilter--;
}
-buildUnnamed586() {
+buildUnnamed607() {
var o = new core.List<api.ApiDimensionFilter>();
o.add(buildApiDimensionFilter());
o.add(buildApiDimensionFilter());
return o;
}
-checkUnnamed586(core.List<api.ApiDimensionFilter> o) {
+checkUnnamed607(core.List<api.ApiDimensionFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkApiDimensionFilter(o[0]);
checkApiDimensionFilter(o[1]);
@@ -132,7 +132,7 @@
var o = new api.ApiDimensionFilterGroup();
buildCounterApiDimensionFilterGroup++;
if (buildCounterApiDimensionFilterGroup < 3) {
- o.filters = buildUnnamed586();
+ o.filters = buildUnnamed607();
o.groupType = "foo";
}
buildCounterApiDimensionFilterGroup--;
@@ -142,33 +142,33 @@
checkApiDimensionFilterGroup(api.ApiDimensionFilterGroup o) {
buildCounterApiDimensionFilterGroup++;
if (buildCounterApiDimensionFilterGroup < 3) {
- checkUnnamed586(o.filters);
+ checkUnnamed607(o.filters);
unittest.expect(o.groupType, unittest.equals('foo'));
}
buildCounterApiDimensionFilterGroup--;
}
-buildUnnamed587() {
+buildUnnamed608() {
var o = new core.List<api.ApiDimensionFilterGroup>();
o.add(buildApiDimensionFilterGroup());
o.add(buildApiDimensionFilterGroup());
return o;
}
-checkUnnamed587(core.List<api.ApiDimensionFilterGroup> o) {
+checkUnnamed608(core.List<api.ApiDimensionFilterGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkApiDimensionFilterGroup(o[0]);
checkApiDimensionFilterGroup(o[1]);
}
-buildUnnamed588() {
+buildUnnamed609() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed588(core.List<core.String> o) {
+checkUnnamed609(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -180,8 +180,8 @@
buildCounterSearchAnalyticsQueryRequest++;
if (buildCounterSearchAnalyticsQueryRequest < 3) {
o.aggregationType = "foo";
- o.dimensionFilterGroups = buildUnnamed587();
- o.dimensions = buildUnnamed588();
+ o.dimensionFilterGroups = buildUnnamed608();
+ o.dimensions = buildUnnamed609();
o.endDate = "foo";
o.rowLimit = 42;
o.searchType = "foo";
@@ -196,8 +196,8 @@
buildCounterSearchAnalyticsQueryRequest++;
if (buildCounterSearchAnalyticsQueryRequest < 3) {
unittest.expect(o.aggregationType, unittest.equals('foo'));
- checkUnnamed587(o.dimensionFilterGroups);
- checkUnnamed588(o.dimensions);
+ checkUnnamed608(o.dimensionFilterGroups);
+ checkUnnamed609(o.dimensions);
unittest.expect(o.endDate, unittest.equals('foo'));
unittest.expect(o.rowLimit, unittest.equals(42));
unittest.expect(o.searchType, unittest.equals('foo'));
@@ -207,14 +207,14 @@
buildCounterSearchAnalyticsQueryRequest--;
}
-buildUnnamed589() {
+buildUnnamed610() {
var o = new core.List<api.ApiDataRow>();
o.add(buildApiDataRow());
o.add(buildApiDataRow());
return o;
}
-checkUnnamed589(core.List<api.ApiDataRow> o) {
+checkUnnamed610(core.List<api.ApiDataRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkApiDataRow(o[0]);
checkApiDataRow(o[1]);
@@ -226,7 +226,7 @@
buildCounterSearchAnalyticsQueryResponse++;
if (buildCounterSearchAnalyticsQueryResponse < 3) {
o.responseAggregationType = "foo";
- o.rows = buildUnnamed589();
+ o.rows = buildUnnamed610();
}
buildCounterSearchAnalyticsQueryResponse--;
return o;
@@ -236,19 +236,19 @@
buildCounterSearchAnalyticsQueryResponse++;
if (buildCounterSearchAnalyticsQueryResponse < 3) {
unittest.expect(o.responseAggregationType, unittest.equals('foo'));
- checkUnnamed589(o.rows);
+ checkUnnamed610(o.rows);
}
buildCounterSearchAnalyticsQueryResponse--;
}
-buildUnnamed590() {
+buildUnnamed611() {
var o = new core.List<api.WmxSitemap>();
o.add(buildWmxSitemap());
o.add(buildWmxSitemap());
return o;
}
-checkUnnamed590(core.List<api.WmxSitemap> o) {
+checkUnnamed611(core.List<api.WmxSitemap> o) {
unittest.expect(o, unittest.hasLength(2));
checkWmxSitemap(o[0]);
checkWmxSitemap(o[1]);
@@ -259,7 +259,7 @@
var o = new api.SitemapsListResponse();
buildCounterSitemapsListResponse++;
if (buildCounterSitemapsListResponse < 3) {
- o.sitemap = buildUnnamed590();
+ o.sitemap = buildUnnamed611();
}
buildCounterSitemapsListResponse--;
return o;
@@ -268,19 +268,19 @@
checkSitemapsListResponse(api.SitemapsListResponse o) {
buildCounterSitemapsListResponse++;
if (buildCounterSitemapsListResponse < 3) {
- checkUnnamed590(o.sitemap);
+ checkUnnamed611(o.sitemap);
}
buildCounterSitemapsListResponse--;
}
-buildUnnamed591() {
+buildUnnamed612() {
var o = new core.List<api.WmxSite>();
o.add(buildWmxSite());
o.add(buildWmxSite());
return o;
}
-checkUnnamed591(core.List<api.WmxSite> o) {
+checkUnnamed612(core.List<api.WmxSite> o) {
unittest.expect(o, unittest.hasLength(2));
checkWmxSite(o[0]);
checkWmxSite(o[1]);
@@ -291,7 +291,7 @@
var o = new api.SitesListResponse();
buildCounterSitesListResponse++;
if (buildCounterSitesListResponse < 3) {
- o.siteEntry = buildUnnamed591();
+ o.siteEntry = buildUnnamed612();
}
buildCounterSitesListResponse--;
return o;
@@ -300,7 +300,7 @@
checkSitesListResponse(api.SitesListResponse o) {
buildCounterSitesListResponse++;
if (buildCounterSitesListResponse < 3) {
- checkUnnamed591(o.siteEntry);
+ checkUnnamed612(o.siteEntry);
}
buildCounterSitesListResponse--;
}
@@ -326,14 +326,14 @@
buildCounterUrlCrawlErrorCount--;
}
-buildUnnamed592() {
+buildUnnamed613() {
var o = new core.List<api.UrlCrawlErrorCount>();
o.add(buildUrlCrawlErrorCount());
o.add(buildUrlCrawlErrorCount());
return o;
}
-checkUnnamed592(core.List<api.UrlCrawlErrorCount> o) {
+checkUnnamed613(core.List<api.UrlCrawlErrorCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlCrawlErrorCount(o[0]);
checkUrlCrawlErrorCount(o[1]);
@@ -345,7 +345,7 @@
buildCounterUrlCrawlErrorCountsPerType++;
if (buildCounterUrlCrawlErrorCountsPerType < 3) {
o.category = "foo";
- o.entries = buildUnnamed592();
+ o.entries = buildUnnamed613();
o.platform = "foo";
}
buildCounterUrlCrawlErrorCountsPerType--;
@@ -356,20 +356,20 @@
buildCounterUrlCrawlErrorCountsPerType++;
if (buildCounterUrlCrawlErrorCountsPerType < 3) {
unittest.expect(o.category, unittest.equals('foo'));
- checkUnnamed592(o.entries);
+ checkUnnamed613(o.entries);
unittest.expect(o.platform, unittest.equals('foo'));
}
buildCounterUrlCrawlErrorCountsPerType--;
}
-buildUnnamed593() {
+buildUnnamed614() {
var o = new core.List<api.UrlCrawlErrorCountsPerType>();
o.add(buildUrlCrawlErrorCountsPerType());
o.add(buildUrlCrawlErrorCountsPerType());
return o;
}
-checkUnnamed593(core.List<api.UrlCrawlErrorCountsPerType> o) {
+checkUnnamed614(core.List<api.UrlCrawlErrorCountsPerType> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlCrawlErrorCountsPerType(o[0]);
checkUrlCrawlErrorCountsPerType(o[1]);
@@ -380,7 +380,7 @@
var o = new api.UrlCrawlErrorsCountsQueryResponse();
buildCounterUrlCrawlErrorsCountsQueryResponse++;
if (buildCounterUrlCrawlErrorsCountsQueryResponse < 3) {
- o.countPerTypes = buildUnnamed593();
+ o.countPerTypes = buildUnnamed614();
}
buildCounterUrlCrawlErrorsCountsQueryResponse--;
return o;
@@ -389,7 +389,7 @@
checkUrlCrawlErrorsCountsQueryResponse(api.UrlCrawlErrorsCountsQueryResponse o) {
buildCounterUrlCrawlErrorsCountsQueryResponse++;
if (buildCounterUrlCrawlErrorsCountsQueryResponse < 3) {
- checkUnnamed593(o.countPerTypes);
+ checkUnnamed614(o.countPerTypes);
}
buildCounterUrlCrawlErrorsCountsQueryResponse--;
}
@@ -421,14 +421,14 @@
buildCounterUrlCrawlErrorsSample--;
}
-buildUnnamed594() {
+buildUnnamed615() {
var o = new core.List<api.UrlCrawlErrorsSample>();
o.add(buildUrlCrawlErrorsSample());
o.add(buildUrlCrawlErrorsSample());
return o;
}
-checkUnnamed594(core.List<api.UrlCrawlErrorsSample> o) {
+checkUnnamed615(core.List<api.UrlCrawlErrorsSample> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlCrawlErrorsSample(o[0]);
checkUrlCrawlErrorsSample(o[1]);
@@ -439,7 +439,7 @@
var o = new api.UrlCrawlErrorsSamplesListResponse();
buildCounterUrlCrawlErrorsSamplesListResponse++;
if (buildCounterUrlCrawlErrorsSamplesListResponse < 3) {
- o.urlCrawlErrorSample = buildUnnamed594();
+ o.urlCrawlErrorSample = buildUnnamed615();
}
buildCounterUrlCrawlErrorsSamplesListResponse--;
return o;
@@ -448,32 +448,32 @@
checkUrlCrawlErrorsSamplesListResponse(api.UrlCrawlErrorsSamplesListResponse o) {
buildCounterUrlCrawlErrorsSamplesListResponse++;
if (buildCounterUrlCrawlErrorsSamplesListResponse < 3) {
- checkUnnamed594(o.urlCrawlErrorSample);
+ checkUnnamed615(o.urlCrawlErrorSample);
}
buildCounterUrlCrawlErrorsSamplesListResponse--;
}
-buildUnnamed595() {
+buildUnnamed616() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed595(core.List<core.String> o) {
+checkUnnamed616(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed596() {
+buildUnnamed617() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed596(core.List<core.String> o) {
+checkUnnamed617(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -484,8 +484,8 @@
var o = new api.UrlSampleDetails();
buildCounterUrlSampleDetails++;
if (buildCounterUrlSampleDetails < 3) {
- o.containingSitemaps = buildUnnamed595();
- o.linkedFromUrls = buildUnnamed596();
+ o.containingSitemaps = buildUnnamed616();
+ o.linkedFromUrls = buildUnnamed617();
}
buildCounterUrlSampleDetails--;
return o;
@@ -494,8 +494,8 @@
checkUrlSampleDetails(api.UrlSampleDetails o) {
buildCounterUrlSampleDetails++;
if (buildCounterUrlSampleDetails < 3) {
- checkUnnamed595(o.containingSitemaps);
- checkUnnamed596(o.linkedFromUrls);
+ checkUnnamed616(o.containingSitemaps);
+ checkUnnamed617(o.linkedFromUrls);
}
buildCounterUrlSampleDetails--;
}
@@ -521,14 +521,14 @@
buildCounterWmxSite--;
}
-buildUnnamed597() {
+buildUnnamed618() {
var o = new core.List<api.WmxSitemapContent>();
o.add(buildWmxSitemapContent());
o.add(buildWmxSitemapContent());
return o;
}
-checkUnnamed597(core.List<api.WmxSitemapContent> o) {
+checkUnnamed618(core.List<api.WmxSitemapContent> o) {
unittest.expect(o, unittest.hasLength(2));
checkWmxSitemapContent(o[0]);
checkWmxSitemapContent(o[1]);
@@ -539,7 +539,7 @@
var o = new api.WmxSitemap();
buildCounterWmxSitemap++;
if (buildCounterWmxSitemap < 3) {
- o.contents = buildUnnamed597();
+ o.contents = buildUnnamed618();
o.errors = "foo";
o.isPending = true;
o.isSitemapsIndex = true;
@@ -556,7 +556,7 @@
checkWmxSitemap(api.WmxSitemap o) {
buildCounterWmxSitemap++;
if (buildCounterWmxSitemap < 3) {
- checkUnnamed597(o.contents);
+ checkUnnamed618(o.contents);
unittest.expect(o.errors, unittest.equals('foo'));
unittest.expect(o.isPending, unittest.isTrue);
unittest.expect(o.isSitemapsIndex, unittest.isTrue);
diff --git a/generated/googleapis/test/youtube/v3_test.dart b/generated/googleapis/test/youtube/v3_test.dart
index c99ea26..970644a 100644
--- a/generated/googleapis/test/youtube/v3_test.dart
+++ b/generated/googleapis/test/youtube/v3_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed498() {
+buildUnnamed519() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed498(core.List<core.String> o) {
+checkUnnamed519(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -70,7 +70,7 @@
buildCounterAccessPolicy++;
if (buildCounterAccessPolicy < 3) {
o.allowed = true;
- o.exception = buildUnnamed498();
+ o.exception = buildUnnamed519();
}
buildCounterAccessPolicy--;
return o;
@@ -80,7 +80,7 @@
buildCounterAccessPolicy++;
if (buildCounterAccessPolicy < 3) {
unittest.expect(o.allowed, unittest.isTrue);
- checkUnnamed498(o.exception);
+ checkUnnamed519(o.exception);
}
buildCounterAccessPolicy--;
}
@@ -269,27 +269,27 @@
buildCounterActivityContentDetailsPlaylistItem--;
}
-buildUnnamed499() {
+buildUnnamed520() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed499(core.List<core.String> o) {
+checkUnnamed520(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed500() {
+buildUnnamed521() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed500(core.List<core.String> o) {
+checkUnnamed521(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -307,8 +307,8 @@
o.customCtaButtonText = "foo";
o.descriptionText = "foo";
o.destinationUrl = "foo";
- o.forecastingUrl = buildUnnamed499();
- o.impressionUrl = buildUnnamed500();
+ o.forecastingUrl = buildUnnamed520();
+ o.impressionUrl = buildUnnamed521();
o.videoId = "foo";
}
buildCounterActivityContentDetailsPromotedItem--;
@@ -325,8 +325,8 @@
unittest.expect(o.customCtaButtonText, unittest.equals('foo'));
unittest.expect(o.descriptionText, unittest.equals('foo'));
unittest.expect(o.destinationUrl, unittest.equals('foo'));
- checkUnnamed499(o.forecastingUrl);
- checkUnnamed500(o.impressionUrl);
+ checkUnnamed520(o.forecastingUrl);
+ checkUnnamed521(o.impressionUrl);
unittest.expect(o.videoId, unittest.equals('foo'));
}
buildCounterActivityContentDetailsPromotedItem--;
@@ -420,14 +420,14 @@
buildCounterActivityContentDetailsUpload--;
}
-buildUnnamed501() {
+buildUnnamed522() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed501(core.List<api.Activity> o) {
+checkUnnamed522(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -440,7 +440,7 @@
if (buildCounterActivityListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed501();
+ o.items = buildUnnamed522();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -457,7 +457,7 @@
if (buildCounterActivityListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed501(o.items);
+ checkUnnamed522(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -526,14 +526,14 @@
buildCounterCaption--;
}
-buildUnnamed502() {
+buildUnnamed523() {
var o = new core.List<api.Caption>();
o.add(buildCaption());
o.add(buildCaption());
return o;
}
-checkUnnamed502(core.List<api.Caption> o) {
+checkUnnamed523(core.List<api.Caption> o) {
unittest.expect(o, unittest.hasLength(2));
checkCaption(o[0]);
checkCaption(o[1]);
@@ -546,7 +546,7 @@
if (buildCounterCaptionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed502();
+ o.items = buildUnnamed523();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -559,7 +559,7 @@
if (buildCounterCaptionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed502(o.items);
+ checkUnnamed523(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -636,14 +636,14 @@
buildCounterCdnSettings--;
}
-buildUnnamed503() {
+buildUnnamed524() {
var o = new core.Map<core.String, api.ChannelLocalization>();
o["x"] = buildChannelLocalization();
o["y"] = buildChannelLocalization();
return o;
}
-checkUnnamed503(core.Map<core.String, api.ChannelLocalization> o) {
+checkUnnamed524(core.Map<core.String, api.ChannelLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelLocalization(o["x"]);
checkChannelLocalization(o["y"]);
@@ -663,7 +663,7 @@
o.id = "foo";
o.invideoPromotion = buildInvideoPromotion();
o.kind = "foo";
- o.localizations = buildUnnamed503();
+ o.localizations = buildUnnamed524();
o.snippet = buildChannelSnippet();
o.statistics = buildChannelStatistics();
o.status = buildChannelStatus();
@@ -685,7 +685,7 @@
unittest.expect(o.id, unittest.equals('foo'));
checkInvideoPromotion(o.invideoPromotion);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed503(o.localizations);
+ checkUnnamed524(o.localizations);
checkChannelSnippet(o.snippet);
checkChannelStatistics(o.statistics);
checkChannelStatus(o.status);
@@ -742,14 +742,14 @@
buildCounterChannelBannerResource--;
}
-buildUnnamed504() {
+buildUnnamed525() {
var o = new core.List<api.PropertyValue>();
o.add(buildPropertyValue());
o.add(buildPropertyValue());
return o;
}
-checkUnnamed504(core.List<api.PropertyValue> o) {
+checkUnnamed525(core.List<api.PropertyValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyValue(o[0]);
checkPropertyValue(o[1]);
@@ -761,7 +761,7 @@
buildCounterChannelBrandingSettings++;
if (buildCounterChannelBrandingSettings < 3) {
o.channel = buildChannelSettings();
- o.hints = buildUnnamed504();
+ o.hints = buildUnnamed525();
o.image = buildImageSettings();
o.watch = buildWatchSettings();
}
@@ -773,7 +773,7 @@
buildCounterChannelBrandingSettings++;
if (buildCounterChannelBrandingSettings < 3) {
checkChannelSettings(o.channel);
- checkUnnamed504(o.hints);
+ checkUnnamed525(o.hints);
checkImageSettings(o.image);
checkWatchSettings(o.watch);
}
@@ -868,14 +868,14 @@
buildCounterChannelConversionPing--;
}
-buildUnnamed505() {
+buildUnnamed526() {
var o = new core.List<api.ChannelConversionPing>();
o.add(buildChannelConversionPing());
o.add(buildChannelConversionPing());
return o;
}
-checkUnnamed505(core.List<api.ChannelConversionPing> o) {
+checkUnnamed526(core.List<api.ChannelConversionPing> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelConversionPing(o[0]);
checkChannelConversionPing(o[1]);
@@ -886,7 +886,7 @@
var o = new api.ChannelConversionPings();
buildCounterChannelConversionPings++;
if (buildCounterChannelConversionPings < 3) {
- o.pings = buildUnnamed505();
+ o.pings = buildUnnamed526();
}
buildCounterChannelConversionPings--;
return o;
@@ -895,19 +895,19 @@
checkChannelConversionPings(api.ChannelConversionPings o) {
buildCounterChannelConversionPings++;
if (buildCounterChannelConversionPings < 3) {
- checkUnnamed505(o.pings);
+ checkUnnamed526(o.pings);
}
buildCounterChannelConversionPings--;
}
-buildUnnamed506() {
+buildUnnamed527() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed506(core.List<api.Channel> o) {
+checkUnnamed527(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
@@ -920,7 +920,7 @@
if (buildCounterChannelListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed506();
+ o.items = buildUnnamed527();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -937,7 +937,7 @@
if (buildCounterChannelListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed506(o.items);
+ checkUnnamed527(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -994,14 +994,14 @@
buildCounterChannelProfileDetails--;
}
-buildUnnamed507() {
+buildUnnamed528() {
var o = new core.Map<core.String, api.ChannelSectionLocalization>();
o["x"] = buildChannelSectionLocalization();
o["y"] = buildChannelSectionLocalization();
return o;
}
-checkUnnamed507(core.Map<core.String, api.ChannelSectionLocalization> o) {
+checkUnnamed528(core.Map<core.String, api.ChannelSectionLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelSectionLocalization(o["x"]);
checkChannelSectionLocalization(o["y"]);
@@ -1016,7 +1016,7 @@
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
- o.localizations = buildUnnamed507();
+ o.localizations = buildUnnamed528();
o.snippet = buildChannelSectionSnippet();
o.targeting = buildChannelSectionTargeting();
}
@@ -1031,34 +1031,34 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed507(o.localizations);
+ checkUnnamed528(o.localizations);
checkChannelSectionSnippet(o.snippet);
checkChannelSectionTargeting(o.targeting);
}
buildCounterChannelSection--;
}
-buildUnnamed508() {
+buildUnnamed529() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed508(core.List<core.String> o) {
+checkUnnamed529(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed509() {
+buildUnnamed530() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed509(core.List<core.String> o) {
+checkUnnamed530(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1069,8 +1069,8 @@
var o = new api.ChannelSectionContentDetails();
buildCounterChannelSectionContentDetails++;
if (buildCounterChannelSectionContentDetails < 3) {
- o.channels = buildUnnamed508();
- o.playlists = buildUnnamed509();
+ o.channels = buildUnnamed529();
+ o.playlists = buildUnnamed530();
}
buildCounterChannelSectionContentDetails--;
return o;
@@ -1079,20 +1079,20 @@
checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) {
buildCounterChannelSectionContentDetails++;
if (buildCounterChannelSectionContentDetails < 3) {
- checkUnnamed508(o.channels);
- checkUnnamed509(o.playlists);
+ checkUnnamed529(o.channels);
+ checkUnnamed530(o.playlists);
}
buildCounterChannelSectionContentDetails--;
}
-buildUnnamed510() {
+buildUnnamed531() {
var o = new core.List<api.ChannelSection>();
o.add(buildChannelSection());
o.add(buildChannelSection());
return o;
}
-checkUnnamed510(core.List<api.ChannelSection> o) {
+checkUnnamed531(core.List<api.ChannelSection> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelSection(o[0]);
checkChannelSection(o[1]);
@@ -1105,7 +1105,7 @@
if (buildCounterChannelSectionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed510();
+ o.items = buildUnnamed531();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -1118,7 +1118,7 @@
if (buildCounterChannelSectionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed510(o.items);
+ checkUnnamed531(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -1175,40 +1175,40 @@
buildCounterChannelSectionSnippet--;
}
-buildUnnamed511() {
+buildUnnamed532() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed511(core.List<core.String> o) {
+checkUnnamed532(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed512() {
+buildUnnamed533() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed512(core.List<core.String> o) {
+checkUnnamed533(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed513() {
+buildUnnamed534() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed513(core.List<core.String> o) {
+checkUnnamed534(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1219,9 +1219,9 @@
var o = new api.ChannelSectionTargeting();
buildCounterChannelSectionTargeting++;
if (buildCounterChannelSectionTargeting < 3) {
- o.countries = buildUnnamed511();
- o.languages = buildUnnamed512();
- o.regions = buildUnnamed513();
+ o.countries = buildUnnamed532();
+ o.languages = buildUnnamed533();
+ o.regions = buildUnnamed534();
}
buildCounterChannelSectionTargeting--;
return o;
@@ -1230,21 +1230,21 @@
checkChannelSectionTargeting(api.ChannelSectionTargeting o) {
buildCounterChannelSectionTargeting++;
if (buildCounterChannelSectionTargeting < 3) {
- checkUnnamed511(o.countries);
- checkUnnamed512(o.languages);
- checkUnnamed513(o.regions);
+ checkUnnamed532(o.countries);
+ checkUnnamed533(o.languages);
+ checkUnnamed534(o.regions);
}
buildCounterChannelSectionTargeting--;
}
-buildUnnamed514() {
+buildUnnamed535() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed514(core.List<core.String> o) {
+checkUnnamed535(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1260,7 +1260,7 @@
o.defaultTab = "foo";
o.description = "foo";
o.featuredChannelsTitle = "foo";
- o.featuredChannelsUrls = buildUnnamed514();
+ o.featuredChannelsUrls = buildUnnamed535();
o.keywords = "foo";
o.moderateComments = true;
o.profileColor = "foo";
@@ -1282,7 +1282,7 @@
unittest.expect(o.defaultTab, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.featuredChannelsTitle, unittest.equals('foo'));
- checkUnnamed514(o.featuredChannelsUrls);
+ checkUnnamed535(o.featuredChannelsUrls);
unittest.expect(o.keywords, unittest.equals('foo'));
unittest.expect(o.moderateComments, unittest.isTrue);
unittest.expect(o.profileColor, unittest.equals('foo'));
@@ -1378,27 +1378,27 @@
buildCounterChannelStatus--;
}
-buildUnnamed515() {
+buildUnnamed536() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed515(core.List<core.String> o) {
+checkUnnamed536(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed516() {
+buildUnnamed537() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed516(core.List<core.String> o) {
+checkUnnamed537(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1409,8 +1409,8 @@
var o = new api.ChannelTopicDetails();
buildCounterChannelTopicDetails++;
if (buildCounterChannelTopicDetails < 3) {
- o.topicCategories = buildUnnamed515();
- o.topicIds = buildUnnamed516();
+ o.topicCategories = buildUnnamed536();
+ o.topicIds = buildUnnamed537();
}
buildCounterChannelTopicDetails--;
return o;
@@ -1419,8 +1419,8 @@
checkChannelTopicDetails(api.ChannelTopicDetails o) {
buildCounterChannelTopicDetails++;
if (buildCounterChannelTopicDetails < 3) {
- checkUnnamed515(o.topicCategories);
- checkUnnamed516(o.topicIds);
+ checkUnnamed536(o.topicCategories);
+ checkUnnamed537(o.topicIds);
}
buildCounterChannelTopicDetails--;
}
@@ -1450,14 +1450,14 @@
buildCounterComment--;
}
-buildUnnamed517() {
+buildUnnamed538() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed517(core.List<api.Comment> o) {
+checkUnnamed538(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1470,7 +1470,7 @@
if (buildCounterCommentListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed517();
+ o.items = buildUnnamed538();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1486,7 +1486,7 @@
if (buildCounterCommentListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed517(o.items);
+ checkUnnamed538(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1570,14 +1570,14 @@
buildCounterCommentThread--;
}
-buildUnnamed518() {
+buildUnnamed539() {
var o = new core.List<api.CommentThread>();
o.add(buildCommentThread());
o.add(buildCommentThread());
return o;
}
-checkUnnamed518(core.List<api.CommentThread> o) {
+checkUnnamed539(core.List<api.CommentThread> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentThread(o[0]);
checkCommentThread(o[1]);
@@ -1590,7 +1590,7 @@
if (buildCounterCommentThreadListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed518();
+ o.items = buildUnnamed539();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1606,7 +1606,7 @@
if (buildCounterCommentThreadListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed518(o.items);
+ checkUnnamed539(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1616,14 +1616,14 @@
buildCounterCommentThreadListResponse--;
}
-buildUnnamed519() {
+buildUnnamed540() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed519(core.List<api.Comment> o) {
+checkUnnamed540(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1634,7 +1634,7 @@
var o = new api.CommentThreadReplies();
buildCounterCommentThreadReplies++;
if (buildCounterCommentThreadReplies < 3) {
- o.comments = buildUnnamed519();
+ o.comments = buildUnnamed540();
}
buildCounterCommentThreadReplies--;
return o;
@@ -1643,7 +1643,7 @@
checkCommentThreadReplies(api.CommentThreadReplies o) {
buildCounterCommentThreadReplies++;
if (buildCounterCommentThreadReplies < 3) {
- checkUnnamed519(o.comments);
+ checkUnnamed540(o.comments);
}
buildCounterCommentThreadReplies--;
}
@@ -1677,27 +1677,27 @@
buildCounterCommentThreadSnippet--;
}
-buildUnnamed520() {
+buildUnnamed541() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed520(core.List<core.String> o) {
+checkUnnamed541(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed521() {
+buildUnnamed542() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed521(core.List<core.String> o) {
+checkUnnamed542(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1728,7 +1728,7 @@
o.cscfRating = "foo";
o.czfilmRating = "foo";
o.djctqRating = "foo";
- o.djctqRatingReasons = buildUnnamed520();
+ o.djctqRatingReasons = buildUnnamed541();
o.ecbmctRating = "foo";
o.eefilmRating = "foo";
o.egfilmRating = "foo";
@@ -1737,7 +1737,7 @@
o.fcoRating = "foo";
o.fmocRating = "foo";
o.fpbRating = "foo";
- o.fpbRatingReasons = buildUnnamed521();
+ o.fpbRatingReasons = buildUnnamed542();
o.fskRating = "foo";
o.grfilmRating = "foo";
o.icaaRating = "foo";
@@ -1804,7 +1804,7 @@
unittest.expect(o.cscfRating, unittest.equals('foo'));
unittest.expect(o.czfilmRating, unittest.equals('foo'));
unittest.expect(o.djctqRating, unittest.equals('foo'));
- checkUnnamed520(o.djctqRatingReasons);
+ checkUnnamed541(o.djctqRatingReasons);
unittest.expect(o.ecbmctRating, unittest.equals('foo'));
unittest.expect(o.eefilmRating, unittest.equals('foo'));
unittest.expect(o.egfilmRating, unittest.equals('foo'));
@@ -1813,7 +1813,7 @@
unittest.expect(o.fcoRating, unittest.equals('foo'));
unittest.expect(o.fmocRating, unittest.equals('foo'));
unittest.expect(o.fpbRating, unittest.equals('foo'));
- checkUnnamed521(o.fpbRatingReasons);
+ checkUnnamed542(o.fpbRatingReasons);
unittest.expect(o.fskRating, unittest.equals('foo'));
unittest.expect(o.grfilmRating, unittest.equals('foo'));
unittest.expect(o.icaaRating, unittest.equals('foo'));
@@ -1881,14 +1881,14 @@
buildCounterFanFundingEvent--;
}
-buildUnnamed522() {
+buildUnnamed543() {
var o = new core.List<api.FanFundingEvent>();
o.add(buildFanFundingEvent());
o.add(buildFanFundingEvent());
return o;
}
-checkUnnamed522(core.List<api.FanFundingEvent> o) {
+checkUnnamed543(core.List<api.FanFundingEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkFanFundingEvent(o[0]);
checkFanFundingEvent(o[1]);
@@ -1901,7 +1901,7 @@
if (buildCounterFanFundingEventListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed522();
+ o.items = buildUnnamed543();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1917,7 +1917,7 @@
if (buildCounterFanFundingEventListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed522(o.items);
+ checkUnnamed543(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2006,14 +2006,14 @@
buildCounterGuideCategory--;
}
-buildUnnamed523() {
+buildUnnamed544() {
var o = new core.List<api.GuideCategory>();
o.add(buildGuideCategory());
o.add(buildGuideCategory());
return o;
}
-checkUnnamed523(core.List<api.GuideCategory> o) {
+checkUnnamed544(core.List<api.GuideCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuideCategory(o[0]);
checkGuideCategory(o[1]);
@@ -2026,7 +2026,7 @@
if (buildCounterGuideCategoryListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed523();
+ o.items = buildUnnamed544();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2043,7 +2043,7 @@
if (buildCounterGuideCategoryListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed523(o.items);
+ checkUnnamed544(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2100,14 +2100,14 @@
buildCounterI18nLanguage--;
}
-buildUnnamed524() {
+buildUnnamed545() {
var o = new core.List<api.I18nLanguage>();
o.add(buildI18nLanguage());
o.add(buildI18nLanguage());
return o;
}
-checkUnnamed524(core.List<api.I18nLanguage> o) {
+checkUnnamed545(core.List<api.I18nLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkI18nLanguage(o[0]);
checkI18nLanguage(o[1]);
@@ -2120,7 +2120,7 @@
if (buildCounterI18nLanguageListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed524();
+ o.items = buildUnnamed545();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -2133,7 +2133,7 @@
if (buildCounterI18nLanguageListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed524(o.items);
+ checkUnnamed545(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -2186,14 +2186,14 @@
buildCounterI18nRegion--;
}
-buildUnnamed525() {
+buildUnnamed546() {
var o = new core.List<api.I18nRegion>();
o.add(buildI18nRegion());
o.add(buildI18nRegion());
return o;
}
-checkUnnamed525(core.List<api.I18nRegion> o) {
+checkUnnamed546(core.List<api.I18nRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkI18nRegion(o[0]);
checkI18nRegion(o[1]);
@@ -2206,7 +2206,7 @@
if (buildCounterI18nRegionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed525();
+ o.items = buildUnnamed546();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -2219,7 +2219,7 @@
if (buildCounterI18nRegionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed525(o.items);
+ checkUnnamed546(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -2379,14 +2379,14 @@
buildCounterInvideoPosition--;
}
-buildUnnamed526() {
+buildUnnamed547() {
var o = new core.List<api.PromotedItem>();
o.add(buildPromotedItem());
o.add(buildPromotedItem());
return o;
}
-checkUnnamed526(core.List<api.PromotedItem> o) {
+checkUnnamed547(core.List<api.PromotedItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkPromotedItem(o[0]);
checkPromotedItem(o[1]);
@@ -2398,7 +2398,7 @@
buildCounterInvideoPromotion++;
if (buildCounterInvideoPromotion < 3) {
o.defaultTiming = buildInvideoTiming();
- o.items = buildUnnamed526();
+ o.items = buildUnnamed547();
o.position = buildInvideoPosition();
o.useSmartTiming = true;
}
@@ -2410,7 +2410,7 @@
buildCounterInvideoPromotion++;
if (buildCounterInvideoPromotion < 3) {
checkInvideoTiming(o.defaultTiming);
- checkUnnamed526(o.items);
+ checkUnnamed547(o.items);
checkInvideoPosition(o.position);
unittest.expect(o.useSmartTiming, unittest.isTrue);
}
@@ -2533,14 +2533,14 @@
buildCounterLiveBroadcastContentDetails--;
}
-buildUnnamed527() {
+buildUnnamed548() {
var o = new core.List<api.LiveBroadcast>();
o.add(buildLiveBroadcast());
o.add(buildLiveBroadcast());
return o;
}
-checkUnnamed527(core.List<api.LiveBroadcast> o) {
+checkUnnamed548(core.List<api.LiveBroadcast> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveBroadcast(o[0]);
checkLiveBroadcast(o[1]);
@@ -2553,7 +2553,7 @@
if (buildCounterLiveBroadcastListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed527();
+ o.items = buildUnnamed548();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2570,7 +2570,7 @@
if (buildCounterLiveBroadcastListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed527(o.items);
+ checkUnnamed548(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2689,14 +2689,14 @@
buildCounterLiveBroadcastTopic--;
}
-buildUnnamed528() {
+buildUnnamed549() {
var o = new core.List<api.LiveBroadcastTopic>();
o.add(buildLiveBroadcastTopic());
o.add(buildLiveBroadcastTopic());
return o;
}
-checkUnnamed528(core.List<api.LiveBroadcastTopic> o) {
+checkUnnamed549(core.List<api.LiveBroadcastTopic> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveBroadcastTopic(o[0]);
checkLiveBroadcastTopic(o[1]);
@@ -2707,7 +2707,7 @@
var o = new api.LiveBroadcastTopicDetails();
buildCounterLiveBroadcastTopicDetails++;
if (buildCounterLiveBroadcastTopicDetails < 3) {
- o.topics = buildUnnamed528();
+ o.topics = buildUnnamed549();
}
buildCounterLiveBroadcastTopicDetails--;
return o;
@@ -2716,7 +2716,7 @@
checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) {
buildCounterLiveBroadcastTopicDetails++;
if (buildCounterLiveBroadcastTopicDetails < 3) {
- checkUnnamed528(o.topics);
+ checkUnnamed549(o.topics);
}
buildCounterLiveBroadcastTopicDetails--;
}
@@ -2896,14 +2896,14 @@
buildCounterLiveChatMessageDeletedDetails--;
}
-buildUnnamed529() {
+buildUnnamed550() {
var o = new core.List<api.LiveChatMessage>();
o.add(buildLiveChatMessage());
o.add(buildLiveChatMessage());
return o;
}
-checkUnnamed529(core.List<api.LiveChatMessage> o) {
+checkUnnamed550(core.List<api.LiveChatMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatMessage(o[0]);
checkLiveChatMessage(o[1]);
@@ -2916,7 +2916,7 @@
if (buildCounterLiveChatMessageListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed529();
+ o.items = buildUnnamed550();
o.kind = "foo";
o.nextPageToken = "foo";
o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02");
@@ -2934,7 +2934,7 @@
if (buildCounterLiveChatMessageListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed529(o.items);
+ checkUnnamed550(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.offlineAt, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -3039,14 +3039,14 @@
buildCounterLiveChatModerator--;
}
-buildUnnamed530() {
+buildUnnamed551() {
var o = new core.List<api.LiveChatModerator>();
o.add(buildLiveChatModerator());
o.add(buildLiveChatModerator());
return o;
}
-checkUnnamed530(core.List<api.LiveChatModerator> o) {
+checkUnnamed551(core.List<api.LiveChatModerator> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatModerator(o[0]);
checkLiveChatModerator(o[1]);
@@ -3059,7 +3059,7 @@
if (buildCounterLiveChatModeratorListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed530();
+ o.items = buildUnnamed551();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3076,7 +3076,7 @@
if (buildCounterLiveChatModeratorListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed530(o.items);
+ checkUnnamed551(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3127,14 +3127,14 @@
buildCounterLiveChatPollClosedDetails--;
}
-buildUnnamed531() {
+buildUnnamed552() {
var o = new core.List<api.LiveChatPollItem>();
o.add(buildLiveChatPollItem());
o.add(buildLiveChatPollItem());
return o;
}
-checkUnnamed531(core.List<api.LiveChatPollItem> o) {
+checkUnnamed552(core.List<api.LiveChatPollItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatPollItem(o[0]);
checkLiveChatPollItem(o[1]);
@@ -3146,7 +3146,7 @@
buildCounterLiveChatPollEditedDetails++;
if (buildCounterLiveChatPollEditedDetails < 3) {
o.id = "foo";
- o.items = buildUnnamed531();
+ o.items = buildUnnamed552();
o.prompt = "foo";
}
buildCounterLiveChatPollEditedDetails--;
@@ -3157,7 +3157,7 @@
buildCounterLiveChatPollEditedDetails++;
if (buildCounterLiveChatPollEditedDetails < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed531(o.items);
+ checkUnnamed552(o.items);
unittest.expect(o.prompt, unittest.equals('foo'));
}
buildCounterLiveChatPollEditedDetails--;
@@ -3184,14 +3184,14 @@
buildCounterLiveChatPollItem--;
}
-buildUnnamed532() {
+buildUnnamed553() {
var o = new core.List<api.LiveChatPollItem>();
o.add(buildLiveChatPollItem());
o.add(buildLiveChatPollItem());
return o;
}
-checkUnnamed532(core.List<api.LiveChatPollItem> o) {
+checkUnnamed553(core.List<api.LiveChatPollItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatPollItem(o[0]);
checkLiveChatPollItem(o[1]);
@@ -3203,7 +3203,7 @@
buildCounterLiveChatPollOpenedDetails++;
if (buildCounterLiveChatPollOpenedDetails < 3) {
o.id = "foo";
- o.items = buildUnnamed532();
+ o.items = buildUnnamed553();
o.prompt = "foo";
}
buildCounterLiveChatPollOpenedDetails--;
@@ -3214,7 +3214,7 @@
buildCounterLiveChatPollOpenedDetails++;
if (buildCounterLiveChatPollOpenedDetails < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed532(o.items);
+ checkUnnamed553(o.items);
unittest.expect(o.prompt, unittest.equals('foo'));
}
buildCounterLiveChatPollOpenedDetails--;
@@ -3387,14 +3387,14 @@
buildCounterLiveStreamContentDetails--;
}
-buildUnnamed533() {
+buildUnnamed554() {
var o = new core.List<api.LiveStreamConfigurationIssue>();
o.add(buildLiveStreamConfigurationIssue());
o.add(buildLiveStreamConfigurationIssue());
return o;
}
-checkUnnamed533(core.List<api.LiveStreamConfigurationIssue> o) {
+checkUnnamed554(core.List<api.LiveStreamConfigurationIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveStreamConfigurationIssue(o[0]);
checkLiveStreamConfigurationIssue(o[1]);
@@ -3405,7 +3405,7 @@
var o = new api.LiveStreamHealthStatus();
buildCounterLiveStreamHealthStatus++;
if (buildCounterLiveStreamHealthStatus < 3) {
- o.configurationIssues = buildUnnamed533();
+ o.configurationIssues = buildUnnamed554();
o.lastUpdateTimeSeconds = "foo";
o.status = "foo";
}
@@ -3416,21 +3416,21 @@
checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) {
buildCounterLiveStreamHealthStatus++;
if (buildCounterLiveStreamHealthStatus < 3) {
- checkUnnamed533(o.configurationIssues);
+ checkUnnamed554(o.configurationIssues);
unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterLiveStreamHealthStatus--;
}
-buildUnnamed534() {
+buildUnnamed555() {
var o = new core.List<api.LiveStream>();
o.add(buildLiveStream());
o.add(buildLiveStream());
return o;
}
-checkUnnamed534(core.List<api.LiveStream> o) {
+checkUnnamed555(core.List<api.LiveStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveStream(o[0]);
checkLiveStream(o[1]);
@@ -3443,7 +3443,7 @@
if (buildCounterLiveStreamListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed534();
+ o.items = buildUnnamed555();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3460,7 +3460,7 @@
if (buildCounterLiveStreamListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed534(o.items);
+ checkUnnamed555(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3519,14 +3519,14 @@
buildCounterLiveStreamStatus--;
}
-buildUnnamed535() {
+buildUnnamed556() {
var o = new core.List<api.LocalizedString>();
o.add(buildLocalizedString());
o.add(buildLocalizedString());
return o;
}
-checkUnnamed535(core.List<api.LocalizedString> o) {
+checkUnnamed556(core.List<api.LocalizedString> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedString(o[0]);
checkLocalizedString(o[1]);
@@ -3539,7 +3539,7 @@
if (buildCounterLocalizedProperty < 3) {
o.default_ = "foo";
o.defaultLanguage = buildLanguageTag();
- o.localized = buildUnnamed535();
+ o.localized = buildUnnamed556();
}
buildCounterLocalizedProperty--;
return o;
@@ -3550,7 +3550,7 @@
if (buildCounterLocalizedProperty < 3) {
unittest.expect(o.default_, unittest.equals('foo'));
checkLanguageTag(o.defaultLanguage);
- checkUnnamed535(o.localized);
+ checkUnnamed556(o.localized);
}
buildCounterLocalizedProperty--;
}
@@ -3620,14 +3620,14 @@
buildCounterPageInfo--;
}
-buildUnnamed536() {
+buildUnnamed557() {
var o = new core.Map<core.String, api.PlaylistLocalization>();
o["x"] = buildPlaylistLocalization();
o["y"] = buildPlaylistLocalization();
return o;
}
-checkUnnamed536(core.Map<core.String, api.PlaylistLocalization> o) {
+checkUnnamed557(core.Map<core.String, api.PlaylistLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylistLocalization(o["x"]);
checkPlaylistLocalization(o["y"]);
@@ -3642,7 +3642,7 @@
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
- o.localizations = buildUnnamed536();
+ o.localizations = buildUnnamed557();
o.player = buildPlaylistPlayer();
o.snippet = buildPlaylistSnippet();
o.status = buildPlaylistStatus();
@@ -3658,7 +3658,7 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed536(o.localizations);
+ checkUnnamed557(o.localizations);
checkPlaylistPlayer(o.player);
checkPlaylistSnippet(o.snippet);
checkPlaylistStatus(o.status);
@@ -3741,14 +3741,14 @@
buildCounterPlaylistItemContentDetails--;
}
-buildUnnamed537() {
+buildUnnamed558() {
var o = new core.List<api.PlaylistItem>();
o.add(buildPlaylistItem());
o.add(buildPlaylistItem());
return o;
}
-checkUnnamed537(core.List<api.PlaylistItem> o) {
+checkUnnamed558(core.List<api.PlaylistItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylistItem(o[0]);
checkPlaylistItem(o[1]);
@@ -3761,7 +3761,7 @@
if (buildCounterPlaylistItemListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed537();
+ o.items = buildUnnamed558();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3778,7 +3778,7 @@
if (buildCounterPlaylistItemListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed537(o.items);
+ checkUnnamed558(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3843,14 +3843,14 @@
buildCounterPlaylistItemStatus--;
}
-buildUnnamed538() {
+buildUnnamed559() {
var o = new core.List<api.Playlist>();
o.add(buildPlaylist());
o.add(buildPlaylist());
return o;
}
-checkUnnamed538(core.List<api.Playlist> o) {
+checkUnnamed559(core.List<api.Playlist> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylist(o[0]);
checkPlaylist(o[1]);
@@ -3863,7 +3863,7 @@
if (buildCounterPlaylistListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed538();
+ o.items = buildUnnamed559();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3880,7 +3880,7 @@
if (buildCounterPlaylistListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed538(o.items);
+ checkUnnamed559(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3931,14 +3931,14 @@
buildCounterPlaylistPlayer--;
}
-buildUnnamed539() {
+buildUnnamed560() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed539(core.List<core.String> o) {
+checkUnnamed560(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3955,7 +3955,7 @@
o.description = "foo";
o.localized = buildPlaylistLocalization();
o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
- o.tags = buildUnnamed539();
+ o.tags = buildUnnamed560();
o.thumbnails = buildThumbnailDetails();
o.title = "foo";
}
@@ -3972,7 +3972,7 @@
unittest.expect(o.description, unittest.equals('foo'));
checkPlaylistLocalization(o.localized);
unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed539(o.tags);
+ checkUnnamed560(o.tags);
checkThumbnailDetails(o.thumbnails);
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -4094,14 +4094,14 @@
buildCounterResourceId--;
}
-buildUnnamed540() {
+buildUnnamed561() {
var o = new core.List<api.SearchResult>();
o.add(buildSearchResult());
o.add(buildSearchResult());
return o;
}
-checkUnnamed540(core.List<api.SearchResult> o) {
+checkUnnamed561(core.List<api.SearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSearchResult(o[0]);
checkSearchResult(o[1]);
@@ -4114,7 +4114,7 @@
if (buildCounterSearchListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed540();
+ o.items = buildUnnamed561();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4132,7 +4132,7 @@
if (buildCounterSearchListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed540(o.items);
+ checkUnnamed561(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4225,14 +4225,14 @@
buildCounterSponsor--;
}
-buildUnnamed541() {
+buildUnnamed562() {
var o = new core.List<api.Sponsor>();
o.add(buildSponsor());
o.add(buildSponsor());
return o;
}
-checkUnnamed541(core.List<api.Sponsor> o) {
+checkUnnamed562(core.List<api.Sponsor> o) {
unittest.expect(o, unittest.hasLength(2));
checkSponsor(o[0]);
checkSponsor(o[1]);
@@ -4245,7 +4245,7 @@
if (buildCounterSponsorListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed541();
+ o.items = buildUnnamed562();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4261,7 +4261,7 @@
if (buildCounterSponsorListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed541(o.items);
+ checkUnnamed562(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4346,14 +4346,14 @@
buildCounterSubscriptionContentDetails--;
}
-buildUnnamed542() {
+buildUnnamed563() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed542(core.List<api.Subscription> o) {
+checkUnnamed563(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -4366,7 +4366,7 @@
if (buildCounterSubscriptionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed542();
+ o.items = buildUnnamed563();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4383,7 +4383,7 @@
if (buildCounterSubscriptionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed542(o.items);
+ checkUnnamed563(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4475,14 +4475,14 @@
buildCounterSuperChatEvent--;
}
-buildUnnamed543() {
+buildUnnamed564() {
var o = new core.List<api.SuperChatEvent>();
o.add(buildSuperChatEvent());
o.add(buildSuperChatEvent());
return o;
}
-checkUnnamed543(core.List<api.SuperChatEvent> o) {
+checkUnnamed564(core.List<api.SuperChatEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuperChatEvent(o[0]);
checkSuperChatEvent(o[1]);
@@ -4495,7 +4495,7 @@
if (buildCounterSuperChatEventListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed543();
+ o.items = buildUnnamed564();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4511,7 +4511,7 @@
if (buildCounterSuperChatEventListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed543(o.items);
+ checkUnnamed564(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4604,14 +4604,14 @@
buildCounterThumbnailDetails--;
}
-buildUnnamed544() {
+buildUnnamed565() {
var o = new core.List<api.ThumbnailDetails>();
o.add(buildThumbnailDetails());
o.add(buildThumbnailDetails());
return o;
}
-checkUnnamed544(core.List<api.ThumbnailDetails> o) {
+checkUnnamed565(core.List<api.ThumbnailDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkThumbnailDetails(o[0]);
checkThumbnailDetails(o[1]);
@@ -4624,7 +4624,7 @@
if (buildCounterThumbnailSetResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed544();
+ o.items = buildUnnamed565();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -4637,7 +4637,7 @@
if (buildCounterThumbnailSetResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed544(o.items);
+ checkUnnamed565(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -4661,14 +4661,14 @@
buildCounterTokenPagination--;
}
-buildUnnamed545() {
+buildUnnamed566() {
var o = new core.Map<core.String, api.VideoLocalization>();
o["x"] = buildVideoLocalization();
o["y"] = buildVideoLocalization();
return o;
}
-checkUnnamed545(core.Map<core.String, api.VideoLocalization> o) {
+checkUnnamed566(core.Map<core.String, api.VideoLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoLocalization(o["x"]);
checkVideoLocalization(o["y"]);
@@ -4686,7 +4686,7 @@
o.id = "foo";
o.kind = "foo";
o.liveStreamingDetails = buildVideoLiveStreamingDetails();
- o.localizations = buildUnnamed545();
+ o.localizations = buildUnnamed566();
o.monetizationDetails = buildVideoMonetizationDetails();
o.player = buildVideoPlayer();
o.processingDetails = buildVideoProcessingDetails();
@@ -4712,7 +4712,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkVideoLiveStreamingDetails(o.liveStreamingDetails);
- checkUnnamed545(o.localizations);
+ checkUnnamed566(o.localizations);
checkVideoMonetizationDetails(o.monetizationDetails);
checkVideoPlayer(o.player);
checkVideoProcessingDetails(o.processingDetails);
@@ -4779,14 +4779,14 @@
buildCounterVideoAbuseReportReason--;
}
-buildUnnamed546() {
+buildUnnamed567() {
var o = new core.List<api.VideoAbuseReportReason>();
o.add(buildVideoAbuseReportReason());
o.add(buildVideoAbuseReportReason());
return o;
}
-checkUnnamed546(core.List<api.VideoAbuseReportReason> o) {
+checkUnnamed567(core.List<api.VideoAbuseReportReason> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoAbuseReportReason(o[0]);
checkVideoAbuseReportReason(o[1]);
@@ -4799,7 +4799,7 @@
if (buildCounterVideoAbuseReportReasonListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed546();
+ o.items = buildUnnamed567();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -4812,21 +4812,21 @@
if (buildCounterVideoAbuseReportReasonListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed546(o.items);
+ checkUnnamed567(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
buildCounterVideoAbuseReportReasonListResponse--;
}
-buildUnnamed547() {
+buildUnnamed568() {
var o = new core.List<api.VideoAbuseReportSecondaryReason>();
o.add(buildVideoAbuseReportSecondaryReason());
o.add(buildVideoAbuseReportSecondaryReason());
return o;
}
-checkUnnamed547(core.List<api.VideoAbuseReportSecondaryReason> o) {
+checkUnnamed568(core.List<api.VideoAbuseReportSecondaryReason> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoAbuseReportSecondaryReason(o[0]);
checkVideoAbuseReportSecondaryReason(o[1]);
@@ -4838,7 +4838,7 @@
buildCounterVideoAbuseReportReasonSnippet++;
if (buildCounterVideoAbuseReportReasonSnippet < 3) {
o.label = "foo";
- o.secondaryReasons = buildUnnamed547();
+ o.secondaryReasons = buildUnnamed568();
}
buildCounterVideoAbuseReportReasonSnippet--;
return o;
@@ -4848,7 +4848,7 @@
buildCounterVideoAbuseReportReasonSnippet++;
if (buildCounterVideoAbuseReportReasonSnippet < 3) {
unittest.expect(o.label, unittest.equals('foo'));
- checkUnnamed547(o.secondaryReasons);
+ checkUnnamed568(o.secondaryReasons);
}
buildCounterVideoAbuseReportReasonSnippet--;
}
@@ -4922,14 +4922,14 @@
buildCounterVideoCategory--;
}
-buildUnnamed548() {
+buildUnnamed569() {
var o = new core.List<api.VideoCategory>();
o.add(buildVideoCategory());
o.add(buildVideoCategory());
return o;
}
-checkUnnamed548(core.List<api.VideoCategory> o) {
+checkUnnamed569(core.List<api.VideoCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoCategory(o[0]);
checkVideoCategory(o[1]);
@@ -4942,7 +4942,7 @@
if (buildCounterVideoCategoryListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed548();
+ o.items = buildUnnamed569();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4959,7 +4959,7 @@
if (buildCounterVideoCategoryListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed548(o.items);
+ checkUnnamed569(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -5030,27 +5030,27 @@
buildCounterVideoContentDetails--;
}
-buildUnnamed549() {
+buildUnnamed570() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed549(core.List<core.String> o) {
+checkUnnamed570(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed550() {
+buildUnnamed571() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed550(core.List<core.String> o) {
+checkUnnamed571(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5061,8 +5061,8 @@
var o = new api.VideoContentDetailsRegionRestriction();
buildCounterVideoContentDetailsRegionRestriction++;
if (buildCounterVideoContentDetailsRegionRestriction < 3) {
- o.allowed = buildUnnamed549();
- o.blocked = buildUnnamed550();
+ o.allowed = buildUnnamed570();
+ o.blocked = buildUnnamed571();
}
buildCounterVideoContentDetailsRegionRestriction--;
return o;
@@ -5071,33 +5071,33 @@
checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestriction o) {
buildCounterVideoContentDetailsRegionRestriction++;
if (buildCounterVideoContentDetailsRegionRestriction < 3) {
- checkUnnamed549(o.allowed);
- checkUnnamed550(o.blocked);
+ checkUnnamed570(o.allowed);
+ checkUnnamed571(o.blocked);
}
buildCounterVideoContentDetailsRegionRestriction--;
}
-buildUnnamed551() {
+buildUnnamed572() {
var o = new core.List<api.VideoFileDetailsAudioStream>();
o.add(buildVideoFileDetailsAudioStream());
o.add(buildVideoFileDetailsAudioStream());
return o;
}
-checkUnnamed551(core.List<api.VideoFileDetailsAudioStream> o) {
+checkUnnamed572(core.List<api.VideoFileDetailsAudioStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFileDetailsAudioStream(o[0]);
checkVideoFileDetailsAudioStream(o[1]);
}
-buildUnnamed552() {
+buildUnnamed573() {
var o = new core.List<api.VideoFileDetailsVideoStream>();
o.add(buildVideoFileDetailsVideoStream());
o.add(buildVideoFileDetailsVideoStream());
return o;
}
-checkUnnamed552(core.List<api.VideoFileDetailsVideoStream> o) {
+checkUnnamed573(core.List<api.VideoFileDetailsVideoStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFileDetailsVideoStream(o[0]);
checkVideoFileDetailsVideoStream(o[1]);
@@ -5108,7 +5108,7 @@
var o = new api.VideoFileDetails();
buildCounterVideoFileDetails++;
if (buildCounterVideoFileDetails < 3) {
- o.audioStreams = buildUnnamed551();
+ o.audioStreams = buildUnnamed572();
o.bitrateBps = "foo";
o.container = "foo";
o.creationTime = "foo";
@@ -5116,7 +5116,7 @@
o.fileName = "foo";
o.fileSize = "foo";
o.fileType = "foo";
- o.videoStreams = buildUnnamed552();
+ o.videoStreams = buildUnnamed573();
}
buildCounterVideoFileDetails--;
return o;
@@ -5125,7 +5125,7 @@
checkVideoFileDetails(api.VideoFileDetails o) {
buildCounterVideoFileDetails++;
if (buildCounterVideoFileDetails < 3) {
- checkUnnamed551(o.audioStreams);
+ checkUnnamed572(o.audioStreams);
unittest.expect(o.bitrateBps, unittest.equals('foo'));
unittest.expect(o.container, unittest.equals('foo'));
unittest.expect(o.creationTime, unittest.equals('foo'));
@@ -5133,7 +5133,7 @@
unittest.expect(o.fileName, unittest.equals('foo'));
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.fileType, unittest.equals('foo'));
- checkUnnamed552(o.videoStreams);
+ checkUnnamed573(o.videoStreams);
}
buildCounterVideoFileDetails--;
}
@@ -5196,14 +5196,14 @@
buildCounterVideoFileDetailsVideoStream--;
}
-buildUnnamed553() {
+buildUnnamed574() {
var o = new core.List<api.VideoRating>();
o.add(buildVideoRating());
o.add(buildVideoRating());
return o;
}
-checkUnnamed553(core.List<api.VideoRating> o) {
+checkUnnamed574(core.List<api.VideoRating> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoRating(o[0]);
checkVideoRating(o[1]);
@@ -5216,7 +5216,7 @@
if (buildCounterVideoGetRatingResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed553();
+ o.items = buildUnnamed574();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -5229,21 +5229,21 @@
if (buildCounterVideoGetRatingResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed553(o.items);
+ checkUnnamed574(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
buildCounterVideoGetRatingResponse--;
}
-buildUnnamed554() {
+buildUnnamed575() {
var o = new core.List<api.Video>();
o.add(buildVideo());
o.add(buildVideo());
return o;
}
-checkUnnamed554(core.List<api.Video> o) {
+checkUnnamed575(core.List<api.Video> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideo(o[0]);
checkVideo(o[1]);
@@ -5256,7 +5256,7 @@
if (buildCounterVideoListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed554();
+ o.items = buildUnnamed575();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -5273,7 +5273,7 @@
if (buildCounterVideoListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed554(o.items);
+ checkUnnamed575(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -5432,14 +5432,14 @@
buildCounterVideoProcessingDetailsProcessingProgress--;
}
-buildUnnamed555() {
+buildUnnamed576() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed555(core.List<core.String> o) {
+checkUnnamed576(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5450,7 +5450,7 @@
var o = new api.VideoProjectDetails();
buildCounterVideoProjectDetails++;
if (buildCounterVideoProjectDetails < 3) {
- o.tags = buildUnnamed555();
+ o.tags = buildUnnamed576();
}
buildCounterVideoProjectDetails--;
return o;
@@ -5459,7 +5459,7 @@
checkVideoProjectDetails(api.VideoProjectDetails o) {
buildCounterVideoProjectDetails++;
if (buildCounterVideoProjectDetails < 3) {
- checkUnnamed555(o.tags);
+ checkUnnamed576(o.tags);
}
buildCounterVideoProjectDetails--;
}
@@ -5508,14 +5508,14 @@
buildCounterVideoRecordingDetails--;
}
-buildUnnamed556() {
+buildUnnamed577() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed556(core.List<core.String> o) {
+checkUnnamed577(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5535,7 +5535,7 @@
o.liveBroadcastContent = "foo";
o.localized = buildVideoLocalization();
o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
- o.tags = buildUnnamed556();
+ o.tags = buildUnnamed577();
o.thumbnails = buildThumbnailDetails();
o.title = "foo";
}
@@ -5555,7 +5555,7 @@
unittest.expect(o.liveBroadcastContent, unittest.equals('foo'));
checkVideoLocalization(o.localized);
unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed556(o.tags);
+ checkUnnamed577(o.tags);
checkThumbnailDetails(o.thumbnails);
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -5622,66 +5622,66 @@
buildCounterVideoStatus--;
}
-buildUnnamed557() {
+buildUnnamed578() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed557(core.List<core.String> o) {
+checkUnnamed578(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed558() {
+buildUnnamed579() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed558(core.List<core.String> o) {
+checkUnnamed579(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed559() {
+buildUnnamed580() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed559(core.List<core.String> o) {
+checkUnnamed580(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed560() {
+buildUnnamed581() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed560(core.List<core.String> o) {
+checkUnnamed581(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed561() {
+buildUnnamed582() {
var o = new core.List<api.VideoSuggestionsTagSuggestion>();
o.add(buildVideoSuggestionsTagSuggestion());
o.add(buildVideoSuggestionsTagSuggestion());
return o;
}
-checkUnnamed561(core.List<api.VideoSuggestionsTagSuggestion> o) {
+checkUnnamed582(core.List<api.VideoSuggestionsTagSuggestion> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoSuggestionsTagSuggestion(o[0]);
checkVideoSuggestionsTagSuggestion(o[1]);
@@ -5692,11 +5692,11 @@
var o = new api.VideoSuggestions();
buildCounterVideoSuggestions++;
if (buildCounterVideoSuggestions < 3) {
- o.editorSuggestions = buildUnnamed557();
- o.processingErrors = buildUnnamed558();
- o.processingHints = buildUnnamed559();
- o.processingWarnings = buildUnnamed560();
- o.tagSuggestions = buildUnnamed561();
+ o.editorSuggestions = buildUnnamed578();
+ o.processingErrors = buildUnnamed579();
+ o.processingHints = buildUnnamed580();
+ o.processingWarnings = buildUnnamed581();
+ o.tagSuggestions = buildUnnamed582();
}
buildCounterVideoSuggestions--;
return o;
@@ -5705,23 +5705,23 @@
checkVideoSuggestions(api.VideoSuggestions o) {
buildCounterVideoSuggestions++;
if (buildCounterVideoSuggestions < 3) {
- checkUnnamed557(o.editorSuggestions);
- checkUnnamed558(o.processingErrors);
- checkUnnamed559(o.processingHints);
- checkUnnamed560(o.processingWarnings);
- checkUnnamed561(o.tagSuggestions);
+ checkUnnamed578(o.editorSuggestions);
+ checkUnnamed579(o.processingErrors);
+ checkUnnamed580(o.processingHints);
+ checkUnnamed581(o.processingWarnings);
+ checkUnnamed582(o.tagSuggestions);
}
buildCounterVideoSuggestions--;
}
-buildUnnamed562() {
+buildUnnamed583() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed562(core.List<core.String> o) {
+checkUnnamed583(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5732,7 +5732,7 @@
var o = new api.VideoSuggestionsTagSuggestion();
buildCounterVideoSuggestionsTagSuggestion++;
if (buildCounterVideoSuggestionsTagSuggestion < 3) {
- o.categoryRestricts = buildUnnamed562();
+ o.categoryRestricts = buildUnnamed583();
o.tag = "foo";
}
buildCounterVideoSuggestionsTagSuggestion--;
@@ -5742,46 +5742,46 @@
checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) {
buildCounterVideoSuggestionsTagSuggestion++;
if (buildCounterVideoSuggestionsTagSuggestion < 3) {
- checkUnnamed562(o.categoryRestricts);
+ checkUnnamed583(o.categoryRestricts);
unittest.expect(o.tag, unittest.equals('foo'));
}
buildCounterVideoSuggestionsTagSuggestion--;
}
-buildUnnamed563() {
+buildUnnamed584() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed563(core.List<core.String> o) {
+checkUnnamed584(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed564() {
+buildUnnamed585() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed564(core.List<core.String> o) {
+checkUnnamed585(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed565() {
+buildUnnamed586() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed565(core.List<core.String> o) {
+checkUnnamed586(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5792,9 +5792,9 @@
var o = new api.VideoTopicDetails();
buildCounterVideoTopicDetails++;
if (buildCounterVideoTopicDetails < 3) {
- o.relevantTopicIds = buildUnnamed563();
- o.topicCategories = buildUnnamed564();
- o.topicIds = buildUnnamed565();
+ o.relevantTopicIds = buildUnnamed584();
+ o.topicCategories = buildUnnamed585();
+ o.topicIds = buildUnnamed586();
}
buildCounterVideoTopicDetails--;
return o;
@@ -5803,9 +5803,9 @@
checkVideoTopicDetails(api.VideoTopicDetails o) {
buildCounterVideoTopicDetails++;
if (buildCounterVideoTopicDetails < 3) {
- checkUnnamed563(o.relevantTopicIds);
- checkUnnamed564(o.topicCategories);
- checkUnnamed565(o.topicIds);
+ checkUnnamed584(o.relevantTopicIds);
+ checkUnnamed585(o.topicCategories);
+ checkUnnamed586(o.topicIds);
}
buildCounterVideoTopicDetails--;
}
diff --git a/generated/googleapis/test/youtubeanalytics/v1_test.dart b/generated/googleapis/test/youtubeanalytics/v1_test.dart
index fb882f6..0d5ef61 100644
--- a/generated/googleapis/test/youtubeanalytics/v1_test.dart
+++ b/generated/googleapis/test/youtubeanalytics/v1_test.dart
@@ -168,14 +168,14 @@
buildCounterGroupItem--;
}
-buildUnnamed195() {
+buildUnnamed216() {
var o = new core.List<api.GroupItem>();
o.add(buildGroupItem());
o.add(buildGroupItem());
return o;
}
-checkUnnamed195(core.List<api.GroupItem> o) {
+checkUnnamed216(core.List<api.GroupItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroupItem(o[0]);
checkGroupItem(o[1]);
@@ -187,7 +187,7 @@
buildCounterGroupItemListResponse++;
if (buildCounterGroupItemListResponse < 3) {
o.etag = "foo";
- o.items = buildUnnamed195();
+ o.items = buildUnnamed216();
o.kind = "foo";
}
buildCounterGroupItemListResponse--;
@@ -198,20 +198,20 @@
buildCounterGroupItemListResponse++;
if (buildCounterGroupItemListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed195(o.items);
+ checkUnnamed216(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterGroupItemListResponse--;
}
-buildUnnamed196() {
+buildUnnamed217() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed196(core.List<api.Group> o) {
+checkUnnamed217(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -223,7 +223,7 @@
buildCounterGroupListResponse++;
if (buildCounterGroupListResponse < 3) {
o.etag = "foo";
- o.items = buildUnnamed196();
+ o.items = buildUnnamed217();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -235,7 +235,7 @@
buildCounterGroupListResponse++;
if (buildCounterGroupListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed196(o.items);
+ checkUnnamed217(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -265,43 +265,43 @@
buildCounterResultTableColumnHeaders--;
}
-buildUnnamed197() {
+buildUnnamed218() {
var o = new core.List<api.ResultTableColumnHeaders>();
o.add(buildResultTableColumnHeaders());
o.add(buildResultTableColumnHeaders());
return o;
}
-checkUnnamed197(core.List<api.ResultTableColumnHeaders> o) {
+checkUnnamed218(core.List<api.ResultTableColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultTableColumnHeaders(o[0]);
checkResultTableColumnHeaders(o[1]);
}
-buildUnnamed198() {
+buildUnnamed219() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed198(core.List<core.Object> o) {
+checkUnnamed219(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) 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[1]) 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'));
}
-buildUnnamed199() {
+buildUnnamed220() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed198());
- o.add(buildUnnamed198());
+ o.add(buildUnnamed219());
+ o.add(buildUnnamed219());
return o;
}
-checkUnnamed199(core.List<core.List<core.Object>> o) {
+checkUnnamed220(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed198(o[0]);
- checkUnnamed198(o[1]);
+ checkUnnamed219(o[0]);
+ checkUnnamed219(o[1]);
}
core.int buildCounterResultTable = 0;
@@ -309,9 +309,9 @@
var o = new api.ResultTable();
buildCounterResultTable++;
if (buildCounterResultTable < 3) {
- o.columnHeaders = buildUnnamed197();
+ o.columnHeaders = buildUnnamed218();
o.kind = "foo";
- o.rows = buildUnnamed199();
+ o.rows = buildUnnamed220();
}
buildCounterResultTable--;
return o;
@@ -320,9 +320,9 @@
checkResultTable(api.ResultTable o) {
buildCounterResultTable++;
if (buildCounterResultTable < 3) {
- checkUnnamed197(o.columnHeaders);
+ checkUnnamed218(o.columnHeaders);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed199(o.rows);
+ checkUnnamed220(o.rows);
}
buildCounterResultTable--;
}
diff --git a/generated/googleapis/test/youtubereporting/v1_test.dart b/generated/googleapis/test/youtubereporting/v1_test.dart
index 9b2e189..6e7bd5c 100644
--- a/generated/googleapis/test/youtubereporting/v1_test.dart
+++ b/generated/googleapis/test/youtubereporting/v1_test.dart
@@ -97,14 +97,14 @@
buildCounterJob--;
}
-buildUnnamed970() {
+buildUnnamed996() {
var o = new core.List<api.Job>();
o.add(buildJob());
o.add(buildJob());
return o;
}
-checkUnnamed970(core.List<api.Job> o) {
+checkUnnamed996(core.List<api.Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkJob(o[0]);
checkJob(o[1]);
@@ -115,7 +115,7 @@
var o = new api.ListJobsResponse();
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- o.jobs = buildUnnamed970();
+ o.jobs = buildUnnamed996();
o.nextPageToken = "foo";
}
buildCounterListJobsResponse--;
@@ -125,20 +125,20 @@
checkListJobsResponse(api.ListJobsResponse o) {
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- checkUnnamed970(o.jobs);
+ checkUnnamed996(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListJobsResponse--;
}
-buildUnnamed971() {
+buildUnnamed997() {
var o = new core.List<api.ReportType>();
o.add(buildReportType());
o.add(buildReportType());
return o;
}
-checkUnnamed971(core.List<api.ReportType> o) {
+checkUnnamed997(core.List<api.ReportType> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportType(o[0]);
checkReportType(o[1]);
@@ -150,7 +150,7 @@
buildCounterListReportTypesResponse++;
if (buildCounterListReportTypesResponse < 3) {
o.nextPageToken = "foo";
- o.reportTypes = buildUnnamed971();
+ o.reportTypes = buildUnnamed997();
}
buildCounterListReportTypesResponse--;
return o;
@@ -160,19 +160,19 @@
buildCounterListReportTypesResponse++;
if (buildCounterListReportTypesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed971(o.reportTypes);
+ checkUnnamed997(o.reportTypes);
}
buildCounterListReportTypesResponse--;
}
-buildUnnamed972() {
+buildUnnamed998() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed972(core.List<api.Report> o) {
+checkUnnamed998(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -184,7 +184,7 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
o.nextPageToken = "foo";
- o.reports = buildUnnamed972();
+ o.reports = buildUnnamed998();
}
buildCounterListReportsResponse--;
return o;
@@ -194,7 +194,7 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed972(o.reports);
+ checkUnnamed998(o.reports);
}
buildCounterListReportsResponse--;
}
@@ -730,10 +730,10 @@
var mock = new HttpServerMock();
api.ReportTypesResourceApi res = new api.YoutubereportingApi(mock).reportTypes;
- var arg_onBehalfOfContentOwner = "foo";
var arg_pageToken = "foo";
var arg_includeSystemManaged = true;
var arg_pageSize = 42;
+ var arg_onBehalfOfContentOwner = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -760,10 +760,10 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["includeSystemManaged"].first, unittest.equals("$arg_includeSystemManaged"));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equals(arg_onBehalfOfContentOwner));
var h = {
@@ -772,7 +772,7 @@
var resp = convert.JSON.encode(buildListReportTypesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(onBehalfOfContentOwner: arg_onBehalfOfContentOwner, pageToken: arg_pageToken, includeSystemManaged: arg_includeSystemManaged, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListReportTypesResponse response) {
+ res.list(pageToken: arg_pageToken, includeSystemManaged: arg_includeSystemManaged, pageSize: arg_pageSize, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync(((api.ListReportTypesResponse response) {
checkListReportTypesResponse(response);
})));
});
diff --git a/generated/googleapis_beta/CHANGELOG.md b/generated/googleapis_beta/CHANGELOG.md
index 6b800d0..a74d67a 100644
--- a/generated/googleapis_beta/CHANGELOG.md
+++ b/generated/googleapis_beta/CHANGELOG.md
@@ -1,3 +1,18 @@
+## 0.35.0
+
+* [api-new] dlp:v2beta1
+* [api] appengine:v1beta4
+* [api] appengine:v1beta5
+* [api] appengine:v1beta
+* [api] cloudresourcemanager:v1beta1
+* [api] dataflow:v1b3
+* [api] dataproc:v1beta1
+* [api] proximitybeacon:v1beta1
+* [api-breaking] appengine:v1beta
+* [api-breaking] dataflow:v1b3
+* [api-removed] cloudkmsv1beta1
+* [api-removed] mlv1beta1
+
## 0.34.0
* [api-new] appengine
diff --git a/generated/googleapis_beta/README.md b/generated/googleapis_beta/README.md
index a4909be..f8c92f7 100644
--- a/generated/googleapis_beta/README.md
+++ b/generated/googleapis_beta/README.md
@@ -99,12 +99,6 @@
Official API documentation: https://cloud.google.com/error-reporting/
-####  Google Cloud Key Management Service (KMS) API - cloudkms v1beta1
-
-Manages encryption for your cloud services the same way you do on-premise. You can generate, use, rotate, and destroy AES256 encryption keys.
-
-Official API documentation: https://cloud.google.com/kms/
-
####  Cloud Monitoring API - cloudmonitoring v2beta2
Accesses Google Cloud Monitoring data.
@@ -148,6 +142,12 @@
Official API documentation: https://cloud.google.com/datastore/
+####  DLP API - dlp v2beta1
+
+The Google Data Loss Prevention API provides methods for detection of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.
+
+Official API documentation: https://cloud.google.com/dlp/docs/
+
####  Google Cloud DNS API - dns v2beta1
Configures and serves authoritative DNS records.
@@ -166,12 +166,6 @@
Official API documentation: https://cloud.google.com/logging/docs/
-####  Google Cloud Machine Learning Engine - ml v1beta1
-
-An API to enable creating and using machine learning models.
-
-Official API documentation: https://cloud.google.com/ml/
-
####  Google Proximity Beacon API - proximitybeacon v1beta1
Registers, manages, indexes, and searches beacons.
diff --git a/generated/googleapis_beta/lib/adexchangebuyer2/v2beta1.dart b/generated/googleapis_beta/lib/adexchangebuyer2/v2beta1.dart
index a554c3c..3d21326 100644
--- a/generated/googleapis_beta/lib/adexchangebuyer2/v2beta1.dart
+++ b/generated/googleapis_beta/lib/adexchangebuyer2/v2beta1.dart
@@ -385,6 +385,10 @@
* to list all the invitations for all the clients
* of a given sponsor buyer.
*
+ * [pageSize] - Requested page size. Server may return fewer clients than
+ * requested.
+ * If unspecified, server will pick an appropriate default.
+ *
* [pageToken] - A token identifying a page of results the server should
* return.
* Typically, this is the value of
@@ -393,10 +397,6 @@
* clients.invitations.list
* method.
*
- * [pageSize] - Requested page size. Server may return fewer clients than
- * requested.
- * If unspecified, server will pick an appropriate default.
- *
* Completes with a [ListClientUserInvitationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -405,7 +405,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListClientUserInvitationsResponse> list(core.String accountId, core.String clientAccountId, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListClientUserInvitationsResponse> list(core.String accountId, core.String clientAccountId, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -419,12 +419,12 @@
if (clientAccountId == null) {
throw new core.ArgumentError("Parameter clientAccountId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v2beta1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/clients/' + commons.Escaper.ecapeVariable('$clientAccountId') + '/invitations';
diff --git a/generated/googleapis_beta/lib/appengine/v1beta.dart b/generated/googleapis_beta/lib/appengine/v1beta.dart
index 6c63174..d508fb7 100644
--- a/generated/googleapis_beta/lib/appengine/v1beta.dart
+++ b/generated/googleapis_beta/lib/appengine/v1beta.dart
@@ -38,6 +38,9 @@
class AppsResourceApi {
final commons.ApiRequester _requester;
+ AppsAuthorizedCertificatesResourceApi get authorizedCertificates => new AppsAuthorizedCertificatesResourceApi(_requester);
+ AppsAuthorizedDomainsResourceApi get authorizedDomains => new AppsAuthorizedDomainsResourceApi(_requester);
+ AppsDomainMappingsResourceApi get domainMappings => new AppsDomainMappingsResourceApi(_requester);
AppsLocationsResourceApi get locations => new AppsLocationsResourceApi(_requester);
AppsOperationsResourceApi get operations => new AppsOperationsResourceApi(_requester);
AppsServicesResourceApi get services => new AppsServicesResourceApi(_requester);
@@ -47,12 +50,11 @@
/**
* Creates an App Engine application for a Google Cloud Platform project.
- * Required fields:
- * id - The ID of the target Cloud Platform project.
- * location - The region (https://cloud.google.com/appengine/docs/locations)
- * where you want the App Engine application located.For more information
- * about App Engine applications, see Managing Projects, Applications, and
- * Billing (https://cloud.google.com/appengine/docs/python/console/).
+ * Required fields: id - The ID of the target Cloud Platform project. location
+ * - The region (https://cloud.google.com/appengine/docs/locations) where you
+ * want the App Engine application located.For more information about App
+ * Engine applications, see Managing Projects, Applications, and Billing
+ * (https://cloud.google.com/appengine/docs/python/console/).
*
* [request] - The metadata request object.
*
@@ -132,10 +134,9 @@
/**
* Updates the specified Application resource. You can update the following
- * fields:
- * auth_domain - Google authentication domain for controlling user access to
- * the application.
- * default_cookie_expiration - Cookie expiration policy for the application.
+ * fields: auth_domain - Google authentication domain for controlling user
+ * access to the application. default_cookie_expiration - Cookie expiration
+ * policy for the application.
*
* [request] - The metadata request object.
*
@@ -235,6 +236,583 @@
}
+class AppsAuthorizedCertificatesResourceApi {
+ final commons.ApiRequester _requester;
+
+ AppsAuthorizedCertificatesResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Uploads the specified SSL certificate.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [appsId] - Part of `parent`. Name of the parent Application resource.
+ * Example: apps/myapp.
+ *
+ * Completes with a [AuthorizedCertificate].
+ *
+ * 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<AuthorizedCertificate> create(AuthorizedCertificate request, core.String appsId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (appsId == null) {
+ throw new core.ArgumentError("Parameter appsId is required.");
+ }
+
+ _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/authorizedCertificates';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new AuthorizedCertificate.fromJson(data));
+ }
+
+ /**
+ * Deletes the specified SSL certificate.
+ *
+ * Request parameters:
+ *
+ * [appsId] - Part of `name`. Name of the resource to delete. Example:
+ * apps/myapp/authorizedCertificates/12345.
+ *
+ * [authorizedCertificatesId] - Part of `name`. See documentation of `appsId`.
+ *
+ * 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<Empty> delete(core.String appsId, core.String authorizedCertificatesId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (appsId == null) {
+ throw new core.ArgumentError("Parameter appsId is required.");
+ }
+ if (authorizedCertificatesId == null) {
+ throw new core.ArgumentError("Parameter authorizedCertificatesId is required.");
+ }
+
+ _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/authorizedCertificates/' + commons.Escaper.ecapeVariable('$authorizedCertificatesId');
+
+ var _response = _requester.request(_url,
+ "DELETE",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Empty.fromJson(data));
+ }
+
+ /**
+ * Gets the specified SSL certificate.
+ *
+ * Request parameters:
+ *
+ * [appsId] - Part of `name`. Name of the resource requested. Example:
+ * apps/myapp/authorizedCertificates/12345.
+ *
+ * [authorizedCertificatesId] - Part of `name`. See documentation of `appsId`.
+ *
+ * [view] - Controls the set of fields returned in the GET response.
+ * Possible string values are:
+ * - "BASIC_CERTIFICATE" : A BASIC_CERTIFICATE.
+ * - "FULL_CERTIFICATE" : A FULL_CERTIFICATE.
+ *
+ * Completes with a [AuthorizedCertificate].
+ *
+ * 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<AuthorizedCertificate> get(core.String appsId, core.String authorizedCertificatesId, {core.String view}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (appsId == null) {
+ throw new core.ArgumentError("Parameter appsId is required.");
+ }
+ if (authorizedCertificatesId == null) {
+ throw new core.ArgumentError("Parameter authorizedCertificatesId is required.");
+ }
+ if (view != null) {
+ _queryParams["view"] = [view];
+ }
+
+ _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/authorizedCertificates/' + commons.Escaper.ecapeVariable('$authorizedCertificatesId');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new AuthorizedCertificate.fromJson(data));
+ }
+
+ /**
+ * Lists all SSL certificates the user is authorized to administer.
+ *
+ * Request parameters:
+ *
+ * [appsId] - Part of `parent`. Name of the parent Application resource.
+ * Example: apps/myapp.
+ *
+ * [pageSize] - Maximum results to return per page.
+ *
+ * [pageToken] - Continuation token for fetching the next page of results.
+ *
+ * Completes with a [ListAuthorizedCertificatesResponse].
+ *
+ * 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<ListAuthorizedCertificatesResponse> list(core.String appsId, {core.int pageSize, core.String pageToken}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (appsId == null) {
+ throw new core.ArgumentError("Parameter appsId is required.");
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+
+ _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/authorizedCertificates';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListAuthorizedCertificatesResponse.fromJson(data));
+ }
+
+ /**
+ * Updates the specified SSL certificate. To renew a certificate and maintain
+ * its existing domain mappings, update certificate_data with a new
+ * certificate. The new certificate must be applicable to the same domains as
+ * the original certificate. The certificate display_name may also be updated.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [appsId] - Part of `name`. Name of the resource to update. Example:
+ * apps/myapp/authorizedCertificates/12345.
+ *
+ * [authorizedCertificatesId] - Part of `name`. See documentation of `appsId`.
+ *
+ * [updateMask] - Standard field mask for the set of fields to be updated.
+ * Updates are only supported on the certificate_raw_data and display_name
+ * fields.
+ *
+ * Completes with a [AuthorizedCertificate].
+ *
+ * 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<AuthorizedCertificate> patch(AuthorizedCertificate request, core.String appsId, core.String authorizedCertificatesId, {core.String updateMask}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (appsId == null) {
+ throw new core.ArgumentError("Parameter appsId is required.");
+ }
+ if (authorizedCertificatesId == null) {
+ throw new core.ArgumentError("Parameter authorizedCertificatesId is required.");
+ }
+ if (updateMask != null) {
+ _queryParams["updateMask"] = [updateMask];
+ }
+
+ _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/authorizedCertificates/' + commons.Escaper.ecapeVariable('$authorizedCertificatesId');
+
+ var _response = _requester.request(_url,
+ "PATCH",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new AuthorizedCertificate.fromJson(data));
+ }
+
+}
+
+
+class AppsAuthorizedDomainsResourceApi {
+ final commons.ApiRequester _requester;
+
+ AppsAuthorizedDomainsResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Lists all domains the user is authorized to administer.
+ *
+ * Request parameters:
+ *
+ * [appsId] - Part of `parent`. Name of the parent Application resource.
+ * Example: apps/myapp.
+ *
+ * [pageSize] - Maximum results to return per page.
+ *
+ * [pageToken] - Continuation token for fetching the next page of results.
+ *
+ * Completes with a [ListAuthorizedDomainsResponse].
+ *
+ * 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<ListAuthorizedDomainsResponse> list(core.String appsId, {core.int pageSize, core.String pageToken}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (appsId == null) {
+ throw new core.ArgumentError("Parameter appsId is required.");
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+
+ _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/authorizedDomains';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListAuthorizedDomainsResponse.fromJson(data));
+ }
+
+}
+
+
+class AppsDomainMappingsResourceApi {
+ final commons.ApiRequester _requester;
+
+ AppsDomainMappingsResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Maps a domain to an application. A user must be authorized to administer a
+ * domain in order to map it to an application. For a list of available
+ * authorized domains, see AuthorizedDomains.ListAuthorizedDomains.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [appsId] - Part of `parent`. Name of the parent Application resource.
+ * Example: apps/myapp.
+ *
+ * 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<Operation> create(DomainMapping request, core.String appsId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (appsId == null) {
+ throw new core.ArgumentError("Parameter appsId is required.");
+ }
+
+ _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/domainMappings';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
+ /**
+ * Deletes the specified domain mapping. A user must be authorized to
+ * administer the associated domain in order to delete a DomainMapping
+ * resource.
+ *
+ * Request parameters:
+ *
+ * [appsId] - Part of `name`. Name of the resource to delete. Example:
+ * apps/myapp/domainMappings/example.com.
+ *
+ * [domainMappingsId] - Part of `name`. See documentation of `appsId`.
+ *
+ * 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<Operation> delete(core.String appsId, core.String domainMappingsId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (appsId == null) {
+ throw new core.ArgumentError("Parameter appsId is required.");
+ }
+ if (domainMappingsId == null) {
+ throw new core.ArgumentError("Parameter domainMappingsId is required.");
+ }
+
+ _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/domainMappings/' + commons.Escaper.ecapeVariable('$domainMappingsId');
+
+ var _response = _requester.request(_url,
+ "DELETE",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
+ /**
+ * Gets the specified domain mapping.
+ *
+ * Request parameters:
+ *
+ * [appsId] - Part of `name`. Name of the resource requested. Example:
+ * apps/myapp/domainMappings/example.com.
+ *
+ * [domainMappingsId] - Part of `name`. See documentation of `appsId`.
+ *
+ * Completes with a [DomainMapping].
+ *
+ * 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<DomainMapping> get(core.String appsId, core.String domainMappingsId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (appsId == null) {
+ throw new core.ArgumentError("Parameter appsId is required.");
+ }
+ if (domainMappingsId == null) {
+ throw new core.ArgumentError("Parameter domainMappingsId is required.");
+ }
+
+ _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/domainMappings/' + commons.Escaper.ecapeVariable('$domainMappingsId');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new DomainMapping.fromJson(data));
+ }
+
+ /**
+ * Lists the domain mappings on an application.
+ *
+ * Request parameters:
+ *
+ * [appsId] - Part of `parent`. Name of the parent Application resource.
+ * Example: apps/myapp.
+ *
+ * [pageSize] - Maximum results to return per page.
+ *
+ * [pageToken] - Continuation token for fetching the next page of results.
+ *
+ * Completes with a [ListDomainMappingsResponse].
+ *
+ * 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<ListDomainMappingsResponse> list(core.String appsId, {core.int pageSize, core.String pageToken}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (appsId == null) {
+ throw new core.ArgumentError("Parameter appsId is required.");
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+
+ _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/domainMappings';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListDomainMappingsResponse.fromJson(data));
+ }
+
+ /**
+ * Updates the specified domain mapping. To map an SSL certificate to a domain
+ * mapping, update certificate_id to point to an AuthorizedCertificate
+ * resource. A user must be authorized to administer the associated domain in
+ * order to update a DomainMapping resource.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [appsId] - Part of `name`. Name of the resource to update. Example:
+ * apps/myapp/domainMappings/example.com.
+ *
+ * [domainMappingsId] - Part of `name`. See documentation of `appsId`.
+ *
+ * [updateMask] - Standard field mask for the set of fields to be updated.
+ *
+ * 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<Operation> patch(DomainMapping request, core.String appsId, core.String domainMappingsId, {core.String updateMask}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (appsId == null) {
+ throw new core.ArgumentError("Parameter appsId is required.");
+ }
+ if (domainMappingsId == null) {
+ throw new core.ArgumentError("Parameter domainMappingsId is required.");
+ }
+ if (updateMask != null) {
+ _queryParams["updateMask"] = [updateMask];
+ }
+
+ _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/domainMappings/' + commons.Escaper.ecapeVariable('$domainMappingsId');
+
+ var _response = _requester.request(_url,
+ "PATCH",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
+}
+
+
class AppsLocationsResourceApi {
final commons.ApiRequester _requester;
@@ -293,11 +871,11 @@
* [appsId] - Part of `name`. The resource that owns the locations collection,
* if applicable.
*
- * [pageToken] - The standard list page token.
+ * [filter] - The standard list filter.
*
* [pageSize] - The standard list page size.
*
- * [filter] - The standard list filter.
+ * [pageToken] - The standard list page token.
*
* Completes with a [ListLocationsResponse].
*
@@ -307,7 +885,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListLocationsResponse> list(core.String appsId, {core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<ListLocationsResponse> list(core.String appsId, {core.String filter, core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -318,14 +896,14 @@
if (appsId == null) {
throw new core.ArgumentError("Parameter appsId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
_url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/locations';
@@ -407,10 +985,10 @@
*
* [filter] - The standard list filter.
*
- * [pageToken] - The standard list page token.
- *
* [pageSize] - The standard list page size.
*
+ * [pageToken] - The standard list page token.
+ *
* Completes with a [ListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -419,7 +997,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListOperationsResponse> list(core.String appsId, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListOperationsResponse> list(core.String appsId, {core.String filter, core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -433,12 +1011,12 @@
if (filter != null) {
_queryParams["filter"] = [filter];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operations';
@@ -561,10 +1139,10 @@
* [appsId] - Part of `parent`. Name of the parent Application resource.
* Example: apps/myapp.
*
- * [pageToken] - Continuation token for fetching the next page of results.
- *
* [pageSize] - Maximum results to return per page.
*
+ * [pageToken] - Continuation token for fetching the next page of results.
+ *
* Completes with a [ListServicesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -573,7 +1151,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListServicesResponse> list(core.String appsId, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListServicesResponse> list(core.String appsId, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -584,12 +1162,12 @@
if (appsId == null) {
throw new core.ArgumentError("Parameter appsId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services';
@@ -855,15 +1433,15 @@
*
* [servicesId] - Part of `parent`. See documentation of `appsId`.
*
- * [pageToken] - Continuation token for fetching the next page of results.
- *
- * [pageSize] - Maximum results to return per page.
- *
* [view] - Controls the set of fields returned in the List response.
* Possible string values are:
* - "BASIC" : A BASIC.
* - "FULL" : A FULL.
*
+ * [pageSize] - Maximum results to return per page.
+ *
+ * [pageToken] - Continuation token for fetching the next page of results.
+ *
* Completes with a [ListVersionsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -872,7 +1450,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListVersionsResponse> list(core.String appsId, core.String servicesId, {core.String pageToken, core.int pageSize, core.String view}) {
+ async.Future<ListVersionsResponse> list(core.String appsId, core.String servicesId, {core.String view, core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -886,14 +1464,14 @@
if (servicesId == null) {
throw new core.ArgumentError("Parameter servicesId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (view != null) {
+ _queryParams["view"] = [view];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (view != null) {
- _queryParams["view"] = [view];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
_url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions';
@@ -911,21 +1489,18 @@
/**
* Updates the specified Version resource. You can specify the following
* fields depending on the App Engine environment and type of scaling that the
- * version resource uses:
- * serving_status
+ * version resource uses: serving_status
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status):
- * For Version resources that use basic scaling, manual scaling, or run in
- * the App Engine flexible environment.
- * instance_class
+ * For Version resources that use basic scaling, manual scaling, or run in the
+ * App Engine flexible environment. instance_class
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.instance_class):
* For Version resources that run in the App Engine standard environment.
* automatic_scaling.min_idle_instances
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling):
- * For Version resources that use automatic scaling and run in the App Engine
- * standard environment.
- * automatic_scaling.max_idle_instances
+ * For Version resources that use automatic scaling and run in the App Engine
+ * standard environment. automatic_scaling.max_idle_instances
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling):
- * For Version resources that use automatic scaling and run in the App Engine
+ * For Version resources that use automatic scaling and run in the App Engine
* standard environment.
*
* [request] - The metadata request object.
@@ -1170,7 +1745,9 @@
}
/**
- * Lists the instances of a version.
+ * Lists the instances of a version.Tip: To aggregate details about instances
+ * over time, see the Stackdriver Monitoring API
+ * (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).
*
* Request parameters:
*
@@ -1181,10 +1758,10 @@
*
* [versionsId] - Part of `parent`. See documentation of `appsId`.
*
- * [pageToken] - Continuation token for fetching the next page of results.
- *
* [pageSize] - Maximum results to return per page.
*
+ * [pageToken] - Continuation token for fetching the next page of results.
+ *
* Completes with a [ListInstancesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1193,7 +1770,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListInstancesResponse> list(core.String appsId, core.String servicesId, core.String versionsId, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListInstancesResponse> list(core.String appsId, core.String servicesId, core.String versionsId, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1210,12 +1787,12 @@
if (versionsId == null) {
throw new core.ArgumentError("Parameter versionsId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions/' + commons.Escaper.ecapeVariable('$versionsId') + '/instances';
@@ -1243,26 +1820,18 @@
* Action to take when users access resources that require authentication.
* Defaults to redirect.
* Possible string values are:
- * - "AUTH_FAIL_ACTION_UNSPECIFIED" : Not specified. AUTH_FAIL_ACTION_REDIRECT
- * is assumed.
- * - "AUTH_FAIL_ACTION_REDIRECT" : Redirects user to "accounts.google.com".
- * The user is redirected back to the application URL after signing in or
- * creating an account.
- * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : Rejects request with a 401 HTTP status
- * code and an error message.
+ * - "AUTH_FAIL_ACTION_UNSPECIFIED" : A AUTH_FAIL_ACTION_UNSPECIFIED.
+ * - "AUTH_FAIL_ACTION_REDIRECT" : A AUTH_FAIL_ACTION_REDIRECT.
+ * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : A AUTH_FAIL_ACTION_UNAUTHORIZED.
*/
core.String authFailAction;
/**
* Level of login required to access this resource. Defaults to optional.
* Possible string values are:
- * - "LOGIN_UNSPECIFIED" : Not specified. LOGIN_OPTIONAL is assumed.
- * - "LOGIN_OPTIONAL" : Does not require that the user is signed in.
- * - "LOGIN_ADMIN" : If the user is not signed in, the auth_fail_action is
- * taken. In addition, if the user is not an administrator for the
- * application, they are given an error message regardless of
- * auth_fail_action. If the user is an administrator, the handler proceeds.
- * - "LOGIN_REQUIRED" : If the user has signed in, the handler proceeds
- * normally. Otherwise, the auth_fail_action is taken.
+ * - "LOGIN_UNSPECIFIED" : A LOGIN_UNSPECIFIED.
+ * - "LOGIN_OPTIONAL" : A LOGIN_OPTIONAL.
+ * - "LOGIN_ADMIN" : A LOGIN_ADMIN.
+ * - "LOGIN_REQUIRED" : A LOGIN_REQUIRED.
*/
core.String login;
/** Path to the script from the application root directory. */
@@ -1270,18 +1839,11 @@
/**
* Security (HTTPS) enforcement for this URL.
* Possible string values are:
- * - "SECURE_UNSPECIFIED" : Not specified.
- * - "SECURE_DEFAULT" : Both HTTP and HTTPS requests with URLs that match the
- * handler succeed without redirects. The application can examine the request
- * to determine which protocol was used, and respond accordingly.
- * - "SECURE_NEVER" : Requests for a URL that match this handler that use
- * HTTPS are automatically redirected to the HTTP equivalent URL.
- * - "SECURE_OPTIONAL" : Both HTTP and HTTPS requests with URLs that match the
- * handler succeed without redirects. The application can examine the request
- * to determine which protocol was used and respond accordingly.
- * - "SECURE_ALWAYS" : Requests for a URL that match this handler that do not
- * use HTTPS are automatically redirected to the HTTPS URL with the same path.
- * Query parameters are reserved for the redirect.
+ * - "SECURE_UNSPECIFIED" : A SECURE_UNSPECIFIED.
+ * - "SECURE_DEFAULT" : A SECURE_DEFAULT.
+ * - "SECURE_NEVER" : A SECURE_NEVER.
+ * - "SECURE_OPTIONAL" : A SECURE_OPTIONAL.
+ * - "SECURE_ALWAYS" : A SECURE_ALWAYS.
*/
core.String securityLevel;
/** URL to serve the endpoint at. */
@@ -1380,10 +1942,15 @@
core.String defaultHostname;
/**
* HTTP path dispatch rules for requests to the application that do not
- * explicitly target a service or version. Rules are
- * order-dependent.@OutputOnly
+ * explicitly target a service or version. Rules are order-dependent. Up to 20
+ * dispatch rules can be supported.@OutputOnly
*/
core.List<UrlDispatchRule> dispatchRules;
+ /**
+ * The Google Container Registry domain used for storing managed build docker
+ * images for this application.
+ */
+ core.String gcrDomain;
IdentityAwareProxy iap;
/**
* Identifier of the Application resource. This identifier is equivalent to
@@ -1404,6 +1971,15 @@
* apps/myapp.@OutputOnly
*/
core.String name;
+ /**
+ * Serving status of this application.
+ * Possible string values are:
+ * - "UNSPECIFIED" : A UNSPECIFIED.
+ * - "SERVING" : A SERVING.
+ * - "USER_DISABLED" : A USER_DISABLED.
+ * - "SYSTEM_DISABLED" : A SYSTEM_DISABLED.
+ */
+ core.String servingStatus;
Application();
@@ -1426,6 +2002,9 @@
if (_json.containsKey("dispatchRules")) {
dispatchRules = _json["dispatchRules"].map((value) => new UrlDispatchRule.fromJson(value)).toList();
}
+ if (_json.containsKey("gcrDomain")) {
+ gcrDomain = _json["gcrDomain"];
+ }
if (_json.containsKey("iap")) {
iap = new IdentityAwareProxy.fromJson(_json["iap"]);
}
@@ -1438,6 +2017,9 @@
if (_json.containsKey("name")) {
name = _json["name"];
}
+ if (_json.containsKey("servingStatus")) {
+ servingStatus = _json["servingStatus"];
+ }
}
core.Map toJson() {
@@ -1460,6 +2042,9 @@
if (dispatchRules != null) {
_json["dispatchRules"] = dispatchRules.map((value) => (value).toJson()).toList();
}
+ if (gcrDomain != null) {
+ _json["gcrDomain"] = gcrDomain;
+ }
if (iap != null) {
_json["iap"] = (iap).toJson();
}
@@ -1472,6 +2057,163 @@
if (name != null) {
_json["name"] = name;
}
+ if (servingStatus != null) {
+ _json["servingStatus"] = servingStatus;
+ }
+ return _json;
+ }
+}
+
+/**
+ * An SSL certificate that a user has been authorized to administer. A user is
+ * authorized to administer any certificate that applies to one of their
+ * authorized domains.
+ */
+class AuthorizedCertificate {
+ /**
+ * The SSL certificate serving the AuthorizedCertificate resource. This must
+ * be obtained independently from a certificate authority.
+ */
+ CertificateRawData certificateRawData;
+ /**
+ * The user-specified display name of the certificate. This is not guaranteed
+ * to be unique. Example: My Certificate.
+ */
+ core.String displayName;
+ /**
+ * Aggregate count of the domain mappings with this certificate mapped. This
+ * count includes domain mappings on applications for which the user does not
+ * have VIEWER permissions.Only returned by GET requests when specifically
+ * requested by the view=FULL option.@OutputOnly
+ */
+ core.int domainMappingsCount;
+ /**
+ * Topmost applicable domains of this certificate. This certificate applies to
+ * these domains and their subdomains. Example: example.com.@OutputOnly
+ */
+ core.List<core.String> domainNames;
+ /**
+ * The time when this certificate expires. To update the renewal time on this
+ * certificate, upload an SSL certificate with a different expiration time
+ * using AuthorizedCertificates.UpdateAuthorizedCertificate.@OutputOnly
+ */
+ core.String expireTime;
+ /**
+ * Relative name of the certificate. This is a unique value autogenerated on
+ * AuthorizedCertificate resource creation. Example: 12345.@OutputOnly
+ */
+ core.String id;
+ /**
+ * Full path to the AuthorizedCertificate resource in the API. Example:
+ * apps/myapp/authorizedCertificates/12345.@OutputOnly
+ */
+ core.String name;
+ /**
+ * The full paths to user visible Domain Mapping resources that have this
+ * certificate mapped. Example: apps/myapp/domainMappings/example.com.This may
+ * not represent the full list of mapped domain mappings if the user does not
+ * have VIEWER permissions on all of the applications that have this
+ * certificate mapped. See domain_mappings_count for a complete count.Only
+ * returned by GET requests when specifically requested by the view=FULL
+ * option.@OutputOnly
+ */
+ core.List<core.String> visibleDomainMappings;
+
+ AuthorizedCertificate();
+
+ AuthorizedCertificate.fromJson(core.Map _json) {
+ if (_json.containsKey("certificateRawData")) {
+ certificateRawData = new CertificateRawData.fromJson(_json["certificateRawData"]);
+ }
+ if (_json.containsKey("displayName")) {
+ displayName = _json["displayName"];
+ }
+ if (_json.containsKey("domainMappingsCount")) {
+ domainMappingsCount = _json["domainMappingsCount"];
+ }
+ if (_json.containsKey("domainNames")) {
+ domainNames = _json["domainNames"];
+ }
+ if (_json.containsKey("expireTime")) {
+ expireTime = _json["expireTime"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("visibleDomainMappings")) {
+ visibleDomainMappings = _json["visibleDomainMappings"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (certificateRawData != null) {
+ _json["certificateRawData"] = (certificateRawData).toJson();
+ }
+ if (displayName != null) {
+ _json["displayName"] = displayName;
+ }
+ if (domainMappingsCount != null) {
+ _json["domainMappingsCount"] = domainMappingsCount;
+ }
+ if (domainNames != null) {
+ _json["domainNames"] = domainNames;
+ }
+ if (expireTime != null) {
+ _json["expireTime"] = expireTime;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (visibleDomainMappings != null) {
+ _json["visibleDomainMappings"] = visibleDomainMappings;
+ }
+ return _json;
+ }
+}
+
+/**
+ * A domain that a user has been authorized to administer. To authorize use of a
+ * domain, verify ownership via Webmaster Central
+ * (https://www.google.com/webmasters/verification/home).
+ */
+class AuthorizedDomain {
+ /**
+ * Fully qualified domain name of the domain authorized for use. Example:
+ * example.com.
+ */
+ core.String id;
+ /**
+ * Full path to the AuthorizedDomain resource in the API. Example:
+ * apps/myapp/authorizedDomains/example.com.@OutputOnly
+ */
+ core.String name;
+
+ AuthorizedDomain();
+
+ AuthorizedDomain.fromJson(core.Map _json) {
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
return _json;
}
}
@@ -1649,6 +2391,46 @@
}
}
+/** An SSL certificate obtained from a certificate authority. */
+class CertificateRawData {
+ /**
+ * Unencrypted PEM encoded RSA private key. This field is set once on
+ * certificate creation and then encrypted. The key size must be 2048 bits or
+ * fewer. Must include the header and footer. Example:
+ * -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY-----
+ * @InputOnly
+ */
+ core.String privateKey;
+ /**
+ * PEM encoded x.509 public key certificate. This field is set once on
+ * certificate creation. Must include the header and footer. Example:
+ * -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
+ */
+ core.String publicCertificate;
+
+ CertificateRawData();
+
+ CertificateRawData.fromJson(core.Map _json) {
+ if (_json.containsKey("privateKey")) {
+ privateKey = _json["privateKey"];
+ }
+ if (_json.containsKey("publicCertificate")) {
+ publicCertificate = _json["publicCertificate"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (privateKey != null) {
+ _json["privateKey"] = privateKey;
+ }
+ if (publicCertificate != null) {
+ _json["publicCertificate"] = publicCertificate;
+ }
+ return _json;
+ }
+}
+
/**
* Docker image that is used to create a container and start a VM instance for
* the version that you deploy. Only applicable for instances running in the App
@@ -1715,9 +2497,8 @@
/** Request message for Instances.DebugInstance. */
class DebugInstanceRequest {
/**
- * Public SSH key to add to the instance. Examples:
- * [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]
- * [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh
+ * Public SSH key to add to the instance. Examples: [USERNAME]:ssh-rsa
+ * [KEY_VALUE] [USERNAME] [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh
* {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}For more information,
* see Adding and Removing SSH Keys
* (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys).
@@ -1832,6 +2613,84 @@
}
}
+/** A domain serving an App Engine application. */
+class DomainMapping {
+ /**
+ * Relative name of the domain serving the application. Example: example.com.
+ */
+ core.String id;
+ /**
+ * Full path to the DomainMapping resource in the API. Example:
+ * apps/myapp/domainMapping/example.com.@OutputOnly
+ */
+ core.String name;
+ /**
+ * The resource records required to configure this domain mapping. These
+ * records must be added to the domain's DNS configuration in order to serve
+ * the application via this domain mapping.@OutputOnly
+ */
+ core.List<ResourceRecord> resourceRecords;
+ /**
+ * SSL configuration for this domain. If unconfigured, this domain will not
+ * serve with SSL.
+ */
+ SslSettings sslSettings;
+
+ DomainMapping();
+
+ DomainMapping.fromJson(core.Map _json) {
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("resourceRecords")) {
+ resourceRecords = _json["resourceRecords"].map((value) => new ResourceRecord.fromJson(value)).toList();
+ }
+ if (_json.containsKey("sslSettings")) {
+ sslSettings = new SslSettings.fromJson(_json["sslSettings"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (resourceRecords != null) {
+ _json["resourceRecords"] = resourceRecords.map((value) => (value).toJson()).toList();
+ }
+ if (sslSettings != null) {
+ _json["sslSettings"] = (sslSettings).toJson();
+ }
+ return _json;
+ }
+}
+
+/**
+ * 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); } The JSON
+ * representation for Empty is empty JSON object {}.
+ */
+class Empty {
+
+ Empty();
+
+ Empty.fromJson(core.Map _json) {
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ return _json;
+ }
+}
+
/**
* Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
* Endpoints API Service provides tooling for serving Open API and gRPC
@@ -1879,12 +2738,11 @@
/**
* Error condition this handler applies to.
* Possible string values are:
- * - "ERROR_CODE_UNSPECIFIED" : Not specified. ERROR_CODE_DEFAULT is assumed.
- * - "ERROR_CODE_DEFAULT" : All other error types.
- * - "ERROR_CODE_OVER_QUOTA" : Application has exceeded a resource quota.
- * - "ERROR_CODE_DOS_API_DENIAL" : Client blocked by the application's Denial
- * of Service protection configuration.
- * - "ERROR_CODE_TIMEOUT" : Deadline reached before the application responds.
+ * - "ERROR_CODE_UNSPECIFIED" : A ERROR_CODE_UNSPECIFIED.
+ * - "ERROR_CODE_DEFAULT" : A ERROR_CODE_DEFAULT.
+ * - "ERROR_CODE_OVER_QUOTA" : A ERROR_CODE_OVER_QUOTA.
+ * - "ERROR_CODE_DOS_API_DENIAL" : A ERROR_CODE_DOS_API_DENIAL.
+ * - "ERROR_CODE_TIMEOUT" : A ERROR_CODE_TIMEOUT.
*/
core.String errorCode;
/** MIME type of file. Defaults to text/html. */
@@ -1934,8 +2792,7 @@
core.String sha1Sum;
/**
* URL source to use to fetch this file. Must be a URL to a resource in Google
- * Cloud Storage in the form
- * 'http(s)://storage.googleapis.com/<bucket>/<object>'.
+ * Cloud Storage in the form 'http(s)://storage.googleapis.com//'.
*/
core.String sourceUrl;
@@ -2119,9 +2976,9 @@
/**
* Availability of the instance.@OutputOnly
* Possible string values are:
- * - "UNSPECIFIED"
- * - "RESIDENT"
- * - "DYNAMIC"
+ * - "UNSPECIFIED" : A UNSPECIFIED.
+ * - "RESIDENT" : A RESIDENT.
+ * - "DYNAMIC" : A DYNAMIC.
*/
core.String availability;
/** Average latency (ms) over the last minute.@OutputOnly */
@@ -2314,6 +3171,96 @@
}
}
+/** Response message for AuthorizedCertificates.ListAuthorizedCertificates. */
+class ListAuthorizedCertificatesResponse {
+ /** The SSL certificates the user is authorized to administer. */
+ core.List<AuthorizedCertificate> certificates;
+ /** Continuation token for fetching the next page of results. */
+ core.String nextPageToken;
+
+ ListAuthorizedCertificatesResponse();
+
+ ListAuthorizedCertificatesResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("certificates")) {
+ certificates = _json["certificates"].map((value) => new AuthorizedCertificate.fromJson(value)).toList();
+ }
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (certificates != null) {
+ _json["certificates"] = certificates.map((value) => (value).toJson()).toList();
+ }
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ return _json;
+ }
+}
+
+/** Response message for AuthorizedDomains.ListAuthorizedDomains. */
+class ListAuthorizedDomainsResponse {
+ /** The authorized domains belonging to the user. */
+ core.List<AuthorizedDomain> domains;
+ /** Continuation token for fetching the next page of results. */
+ core.String nextPageToken;
+
+ ListAuthorizedDomainsResponse();
+
+ ListAuthorizedDomainsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("domains")) {
+ domains = _json["domains"].map((value) => new AuthorizedDomain.fromJson(value)).toList();
+ }
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (domains != null) {
+ _json["domains"] = domains.map((value) => (value).toJson()).toList();
+ }
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ return _json;
+ }
+}
+
+/** Response message for DomainMappings.ListDomainMappings. */
+class ListDomainMappingsResponse {
+ /** The domain mappings for the application. */
+ core.List<DomainMapping> domainMappings;
+ /** Continuation token for fetching the next page of results. */
+ core.String nextPageToken;
+
+ ListDomainMappingsResponse();
+
+ ListDomainMappingsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("domainMappings")) {
+ domainMappings = _json["domainMappings"].map((value) => new DomainMapping.fromJson(value)).toList();
+ }
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (domainMappings != null) {
+ _json["domainMappings"] = domainMappings.map((value) => (value).toJson()).toList();
+ }
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ return _json;
+ }
+}
+
/** Response message for Instances.ListInstances. */
class ListInstancesResponse {
/** The instances belonging to the requested version. */
@@ -2472,10 +3419,10 @@
/** Interval between health checks. */
core.String checkInterval;
/**
- * Number of consecutive successful checks required before considering the VM
- * healthy.
+ * Number of consecutive failed checks required before considering the VM
+ * unhealthy.
*/
- core.int healthyThreshold;
+ core.int failureThreshold;
/**
* Host header to send when performing a HTTP Liveness check. Example:
* "myapp.appspot.com"
@@ -2485,13 +3432,13 @@
core.String initialDelay;
/** The request path. */
core.String path;
+ /**
+ * Number of consecutive successful checks required before considering the VM
+ * healthy.
+ */
+ core.int successThreshold;
/** Time before the check is considered failed. */
core.String timeout;
- /**
- * Number of consecutive failed checks required before considering the VM
- * unhealthy.
- */
- core.int unhealthyThreshold;
LivenessCheck();
@@ -2499,8 +3446,8 @@
if (_json.containsKey("checkInterval")) {
checkInterval = _json["checkInterval"];
}
- if (_json.containsKey("healthyThreshold")) {
- healthyThreshold = _json["healthyThreshold"];
+ if (_json.containsKey("failureThreshold")) {
+ failureThreshold = _json["failureThreshold"];
}
if (_json.containsKey("host")) {
host = _json["host"];
@@ -2511,12 +3458,12 @@
if (_json.containsKey("path")) {
path = _json["path"];
}
+ if (_json.containsKey("successThreshold")) {
+ successThreshold = _json["successThreshold"];
+ }
if (_json.containsKey("timeout")) {
timeout = _json["timeout"];
}
- if (_json.containsKey("unhealthyThreshold")) {
- unhealthyThreshold = _json["unhealthyThreshold"];
- }
}
core.Map toJson() {
@@ -2524,8 +3471,8 @@
if (checkInterval != null) {
_json["checkInterval"] = checkInterval;
}
- if (healthyThreshold != null) {
- _json["healthyThreshold"] = healthyThreshold;
+ if (failureThreshold != null) {
+ _json["failureThreshold"] = failureThreshold;
}
if (host != null) {
_json["host"] = host;
@@ -2536,12 +3483,12 @@
if (path != null) {
_json["path"] = path;
}
+ if (successThreshold != null) {
+ _json["successThreshold"] = successThreshold;
+ }
if (timeout != null) {
_json["timeout"] = timeout;
}
- if (unhealthyThreshold != null) {
- _json["unhealthyThreshold"] = unhealthyThreshold;
- }
return _json;
}
}
@@ -2688,17 +3635,16 @@
* Google Cloud Platform sub-network where the virtual machines are created.
* Specify the short name, not the resource path.If a subnetwork name is
* specified, a network name will also be required unless it is for the
- * default network.
- * If the network the VM instance is being created in is a Legacy network,
- * then the IP address is allocated from the IPv4Range.
- * If the network the VM instance is being created in is an auto Subnet Mode
- * Network, then only network name should be specified (not the
- * subnetwork_name) and the IP address is created from the IPCidrRange of the
- * subnetwork that exists in that zone for that network.
- * If the network the VM instance is being created in is a custom Subnet Mode
- * Network, then the subnetwork_name must be specified and the IP address is
- * created from the IPCidrRange of the subnetwork.If specified, the subnetwork
- * must exist in the same region as the Flex app.
+ * default network. If the network the VM instance is being created in is a
+ * Legacy network, then the IP address is allocated from the IPv4Range. If the
+ * network the VM instance is being created in is an auto Subnet Mode Network,
+ * then only network name should be specified (not the subnetwork_name) and
+ * the IP address is created from the IPCidrRange of the subnetwork that
+ * exists in that zone for that network. If the network the VM instance is
+ * being created in is a custom Subnet Mode Network, then the subnetwork_name
+ * must be specified and the IP address is created from the IPCidrRange of the
+ * subnetwork.If specified, the subnetwork must exist in the same region as
+ * the Flex app.
*/
core.String subnetworkName;
@@ -3078,85 +4024,6 @@
}
/** Metadata for the given google.longrunning.Operation. */
-class OperationMetadataV1Alpha {
- /** Time that this operation completed.@OutputOnly */
- core.String endTime;
- /**
- * Ephemeral message that may change every time the operation is polled.
- * @OutputOnly
- */
- core.String ephemeralMessage;
- /** Time that this operation was created.@OutputOnly */
- core.String insertTime;
- /**
- * API method that initiated this operation. Example:
- * google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly
- */
- core.String method;
- /**
- * Name of the resource that this operation is acting on. Example:
- * apps/myapp/services/default.@OutputOnly
- */
- core.String target;
- /** User who requested this operation.@OutputOnly */
- core.String user;
- /** Durable messages that persist on every operation poll. @OutputOnly */
- core.List<core.String> warning;
-
- OperationMetadataV1Alpha();
-
- OperationMetadataV1Alpha.fromJson(core.Map _json) {
- if (_json.containsKey("endTime")) {
- endTime = _json["endTime"];
- }
- if (_json.containsKey("ephemeralMessage")) {
- ephemeralMessage = _json["ephemeralMessage"];
- }
- if (_json.containsKey("insertTime")) {
- insertTime = _json["insertTime"];
- }
- if (_json.containsKey("method")) {
- method = _json["method"];
- }
- if (_json.containsKey("target")) {
- target = _json["target"];
- }
- if (_json.containsKey("user")) {
- user = _json["user"];
- }
- if (_json.containsKey("warning")) {
- warning = _json["warning"];
- }
- }
-
- core.Map toJson() {
- var _json = new core.Map();
- if (endTime != null) {
- _json["endTime"] = endTime;
- }
- if (ephemeralMessage != null) {
- _json["ephemeralMessage"] = ephemeralMessage;
- }
- if (insertTime != null) {
- _json["insertTime"] = insertTime;
- }
- if (method != null) {
- _json["method"] = method;
- }
- if (target != null) {
- _json["target"] = target;
- }
- if (user != null) {
- _json["user"] = user;
- }
- if (warning != null) {
- _json["warning"] = warning;
- }
- return _json;
- }
-}
-
-/** Metadata for the given google.longrunning.Operation. */
class OperationMetadataV1Beta {
/** Time that this operation completed.@OutputOnly */
core.String endTime;
@@ -3302,10 +4169,8 @@
class ReadinessCheck {
/** Interval between health checks. */
core.String checkInterval;
- /**
- * Number of consecutive successful checks required before receiving traffic.
- */
- core.int healthyThreshold;
+ /** Number of consecutive failed checks required before removing traffic. */
+ core.int failureThreshold;
/**
* Host header to send when performing a HTTP Readiness check. Example:
* "myapp.appspot.com"
@@ -3313,10 +4178,12 @@
core.String host;
/** The request path. */
core.String path;
+ /**
+ * Number of consecutive successful checks required before receiving traffic.
+ */
+ core.int successThreshold;
/** Time before the check is considered failed. */
core.String timeout;
- /** Number of consecutive failed checks required before removing traffic. */
- core.int unhealthyThreshold;
ReadinessCheck();
@@ -3324,8 +4191,8 @@
if (_json.containsKey("checkInterval")) {
checkInterval = _json["checkInterval"];
}
- if (_json.containsKey("healthyThreshold")) {
- healthyThreshold = _json["healthyThreshold"];
+ if (_json.containsKey("failureThreshold")) {
+ failureThreshold = _json["failureThreshold"];
}
if (_json.containsKey("host")) {
host = _json["host"];
@@ -3333,12 +4200,12 @@
if (_json.containsKey("path")) {
path = _json["path"];
}
+ if (_json.containsKey("successThreshold")) {
+ successThreshold = _json["successThreshold"];
+ }
if (_json.containsKey("timeout")) {
timeout = _json["timeout"];
}
- if (_json.containsKey("unhealthyThreshold")) {
- unhealthyThreshold = _json["unhealthyThreshold"];
- }
}
core.Map toJson() {
@@ -3346,8 +4213,8 @@
if (checkInterval != null) {
_json["checkInterval"] = checkInterval;
}
- if (healthyThreshold != null) {
- _json["healthyThreshold"] = healthyThreshold;
+ if (failureThreshold != null) {
+ _json["failureThreshold"] = failureThreshold;
}
if (host != null) {
_json["host"] = host;
@@ -3355,12 +4222,12 @@
if (path != null) {
_json["path"] = path;
}
+ if (successThreshold != null) {
+ _json["successThreshold"] = successThreshold;
+ }
if (timeout != null) {
_json["timeout"] = timeout;
}
- if (unhealthyThreshold != null) {
- _json["unhealthyThreshold"] = unhealthyThreshold;
- }
return _json;
}
}
@@ -3409,6 +4276,56 @@
}
}
+/** A DNS resource record. */
+class ResourceRecord {
+ /**
+ * Relative name of the object affected by this record. Only applicable for
+ * CNAME records. Example: 'www'.
+ */
+ core.String name;
+ /**
+ * Data for this record. Values vary by record type, as defined in RFC 1035
+ * (section 5) and RFC 1034 (section 3.6.1).
+ */
+ core.String rrdata;
+ /**
+ * Resource record type. Example: AAAA.
+ * Possible string values are:
+ * - "A" : A A.
+ * - "AAAA" : A AAAA.
+ * - "CNAME" : A CNAME.
+ */
+ core.String type;
+
+ ResourceRecord();
+
+ ResourceRecord.fromJson(core.Map _json) {
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("rrdata")) {
+ rrdata = _json["rrdata"];
+ }
+ if (_json.containsKey("type")) {
+ type = _json["type"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (rrdata != null) {
+ _json["rrdata"] = rrdata;
+ }
+ if (type != null) {
+ _json["type"] = type;
+ }
+ return _json;
+ }
+}
+
/** Machine resources for a version. */
class Resources {
/** Number of CPU cores needed. */
@@ -3531,6 +4448,31 @@
}
}
+/** SSL configuration for a DomainMapping resource. */
+class SslSettings {
+ /**
+ * ID of the AuthorizedCertificate resource configuring SSL for the
+ * application. Clearing this field will remove SSL support. Example: 12345.
+ */
+ core.String certificateId;
+
+ SslSettings();
+
+ SslSettings.fromJson(core.Map _json) {
+ if (_json.containsKey("certificateId")) {
+ certificateId = _json["certificateId"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (certificateId != null) {
+ _json["certificateId"] = certificateId;
+ }
+ return _json;
+ }
+}
+
/**
* Files served directly to the user for a given URL, such as images, CSS
* stylesheets, or JavaScript source files. Static file handlers describe which
@@ -3632,38 +4574,36 @@
/**
* 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). The error model is designed to be:
- * Simple to use and understand for most users
- * Flexible enough to meet unexpected needsOverviewThe Status message contains
- * three pieces of data: error code, error message, and error details. The error
- * code should be an enum value of google.rpc.Code, but it may accept additional
- * error codes if needed. The error message should be a developer-facing English
- * message that helps developers understand and resolve the error. If a
- * localized user-facing error message is needed, put the localized message in
- * the error details or localize it in the client. The optional error details
- * may contain arbitrary information about the error. There is a predefined set
- * of error detail types in the package google.rpc which can be used for common
- * error conditions.Language mappingThe Status message is the logical
- * representation of the error model, but it is not necessarily the actual wire
- * format. When the Status message is exposed in different client libraries and
- * different wire protocols, it can be mapped differently. For example, it will
- * likely be mapped to some exceptions in Java, but more likely mapped to some
- * error codes in C.Other usesThe error model and the Status message can be used
- * in a variety of environments, either with or without APIs, to provide a
- * consistent developer experience across different environments.Example uses of
- * this error model include:
- * Partial errors. If a service needs to return partial errors to the client, it
- * may embed the Status in the normal response to indicate the partial errors.
- * Workflow errors. A typical workflow has multiple steps. Each step may have a
- * Status message for error reporting purpose.
- * Batch operations. If a client uses batch request and batch response, the
- * Status message should be used directly inside batch response, one for each
- * error sub-response.
+ * gRPC (https://github.com/grpc). The error model is designed to be: Simple to
+ * use and understand for most users Flexible enough to meet unexpected
+ * needsOverviewThe Status message contains three pieces of data: error code,
+ * error message, and error details. The error code should be an enum value of
+ * google.rpc.Code, but it may accept additional error codes if needed. The
+ * error message should be a developer-facing English message that helps
+ * developers understand and resolve the error. If a localized user-facing error
+ * message is needed, put the localized message in the error details or localize
+ * it in the client. The optional error details may contain arbitrary
+ * information about the error. There is a predefined set of error detail types
+ * in the package google.rpc which can be used for common error
+ * conditions.Language mappingThe Status message is the logical representation
+ * of the error model, but it is not necessarily the actual wire format. When
+ * the Status message is exposed in different client libraries and different
+ * wire protocols, it can be mapped differently. For example, it will likely be
+ * mapped to some exceptions in Java, but more likely mapped to some error codes
+ * in C.Other usesThe error model and the Status message can be used in a
+ * variety of environments, either with or without APIs, to provide a consistent
+ * developer experience across different environments.Example uses of this error
+ * model include: Partial errors. If a service needs to return partial errors to
+ * the client, it may embed the Status in the normal response to indicate the
+ * partial errors. Workflow errors. A typical workflow has multiple steps. Each
+ * step may have a Status message for error reporting purpose. Batch operations.
+ * If a client uses batch request and batch response, the Status message should
+ * be used directly inside batch response, one for each error sub-response.
* Asynchronous operations. If an API call embeds asynchronous operation results
* in its response, the status of those operations should be represented
- * directly using the Status message.
- * Logging. If some API errors are stored in logs, the message Status could be
- * used directly after any stripping needed for security/privacy reasons.
+ * directly using the Status message. Logging. If some API errors are stored in
+ * logs, the message Status could be used directly after any stripping needed
+ * for security/privacy reasons.
*/
class Status {
/** The status code, which should be an enum value of google.rpc.Code. */
@@ -3732,11 +4672,10 @@
* selection algorithm will be stable for either type until allocations are
* changed.
* Possible string values are:
- * - "UNSPECIFIED" : Diversion method unspecified.
- * - "COOKIE" : Diversion based on a specially named cookie, "GOOGAPPUID." The
- * cookie must be set by the application itself or no diversion will occur.
- * - "IP" : Diversion based on applying the modulus operation to a fingerprint
- * of the IP address.
+ * - "UNSPECIFIED" : A UNSPECIFIED.
+ * - "COOKIE" : A COOKIE.
+ * - "IP" : A IP.
+ * - "RANDOM" : A RANDOM.
*/
core.String shardBy;
@@ -3772,7 +4711,7 @@
core.String domain;
/**
* Pathname within the host. Must start with a "/". A single "*" can be
- * included at the end of the path. The sum of the lengths of the domain and
+ * included at the end of the path.The sum of the lengths of the domain and
* path may not exceed 100 characters.
*/
core.String path;
@@ -3823,38 +4762,30 @@
* Action to take when users access resources that require authentication.
* Defaults to redirect.
* Possible string values are:
- * - "AUTH_FAIL_ACTION_UNSPECIFIED" : Not specified. AUTH_FAIL_ACTION_REDIRECT
- * is assumed.
- * - "AUTH_FAIL_ACTION_REDIRECT" : Redirects user to "accounts.google.com".
- * The user is redirected back to the application URL after signing in or
- * creating an account.
- * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : Rejects request with a 401 HTTP status
- * code and an error message.
+ * - "AUTH_FAIL_ACTION_UNSPECIFIED" : A AUTH_FAIL_ACTION_UNSPECIFIED.
+ * - "AUTH_FAIL_ACTION_REDIRECT" : A AUTH_FAIL_ACTION_REDIRECT.
+ * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : A AUTH_FAIL_ACTION_UNAUTHORIZED.
*/
core.String authFailAction;
/**
* Level of login required to access this resource.
* Possible string values are:
- * - "LOGIN_UNSPECIFIED" : Not specified. LOGIN_OPTIONAL is assumed.
- * - "LOGIN_OPTIONAL" : Does not require that the user is signed in.
- * - "LOGIN_ADMIN" : If the user is not signed in, the auth_fail_action is
- * taken. In addition, if the user is not an administrator for the
- * application, they are given an error message regardless of
- * auth_fail_action. If the user is an administrator, the handler proceeds.
- * - "LOGIN_REQUIRED" : If the user has signed in, the handler proceeds
- * normally. Otherwise, the auth_fail_action is taken.
+ * - "LOGIN_UNSPECIFIED" : A LOGIN_UNSPECIFIED.
+ * - "LOGIN_OPTIONAL" : A LOGIN_OPTIONAL.
+ * - "LOGIN_ADMIN" : A LOGIN_ADMIN.
+ * - "LOGIN_REQUIRED" : A LOGIN_REQUIRED.
*/
core.String login;
/**
* 30x code to use when performing redirects for the secure field. Defaults to
* 302.
* Possible string values are:
- * - "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED" : Not specified. 302 is
- * assumed.
- * - "REDIRECT_HTTP_RESPONSE_CODE_301" : 301 Moved Permanently code.
- * - "REDIRECT_HTTP_RESPONSE_CODE_302" : 302 Moved Temporarily code.
- * - "REDIRECT_HTTP_RESPONSE_CODE_303" : 303 See Other code.
- * - "REDIRECT_HTTP_RESPONSE_CODE_307" : 307 Temporary Redirect code.
+ * - "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED" : A
+ * REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED.
+ * - "REDIRECT_HTTP_RESPONSE_CODE_301" : A REDIRECT_HTTP_RESPONSE_CODE_301.
+ * - "REDIRECT_HTTP_RESPONSE_CODE_302" : A REDIRECT_HTTP_RESPONSE_CODE_302.
+ * - "REDIRECT_HTTP_RESPONSE_CODE_303" : A REDIRECT_HTTP_RESPONSE_CODE_303.
+ * - "REDIRECT_HTTP_RESPONSE_CODE_307" : A REDIRECT_HTTP_RESPONSE_CODE_307.
*/
core.String redirectHttpResponseCode;
/** Executes a script to handle the request that matches this URL pattern. */
@@ -3862,18 +4793,11 @@
/**
* Security (HTTPS) enforcement for this URL.
* Possible string values are:
- * - "SECURE_UNSPECIFIED" : Not specified.
- * - "SECURE_DEFAULT" : Both HTTP and HTTPS requests with URLs that match the
- * handler succeed without redirects. The application can examine the request
- * to determine which protocol was used, and respond accordingly.
- * - "SECURE_NEVER" : Requests for a URL that match this handler that use
- * HTTPS are automatically redirected to the HTTP equivalent URL.
- * - "SECURE_OPTIONAL" : Both HTTP and HTTPS requests with URLs that match the
- * handler succeed without redirects. The application can examine the request
- * to determine which protocol was used and respond accordingly.
- * - "SECURE_ALWAYS" : Requests for a URL that match this handler that do not
- * use HTTPS are automatically redirected to the HTTPS URL with the same path.
- * Query parameters are reserved for the redirect.
+ * - "SECURE_UNSPECIFIED" : A SECURE_UNSPECIFIED.
+ * - "SECURE_DEFAULT" : A SECURE_DEFAULT.
+ * - "SECURE_NEVER" : A SECURE_NEVER.
+ * - "SECURE_OPTIONAL" : A SECURE_OPTIONAL.
+ * - "SECURE_ALWAYS" : A SECURE_ALWAYS.
*/
core.String securityLevel;
/** Returns the contents of a file, such as an image, as the response. */
@@ -4041,9 +4965,9 @@
core.List<core.String> inboundServices;
/**
* Instance class that is used to run this version. Valid values are:
- * AutomaticScaling: F1, F2, F4, F4_1G
- * ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for
- * AutomaticScaling and B1 for ManualScaling or BasicScaling.
+ * AutomaticScaling: F1, F2, F4, F4_1G ManualScaling or BasicScaling: B1, B2,
+ * B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling
+ * or BasicScaling.
*/
core.String instanceClass;
/**
@@ -4090,11 +5014,9 @@
* status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an
* invalid value. Defaults to SERVING.
* Possible string values are:
- * - "SERVING_STATUS_UNSPECIFIED" : Not specified.
- * - "SERVING" : Currently serving. Instances are created according to the
- * scaling settings of the version.
- * - "STOPPED" : Disabled. No instances will be created and the scaling
- * settings are ignored until the state of the version changes to SERVING.
+ * - "SERVING_STATUS_UNSPECIFIED" : A SERVING_STATUS_UNSPECIFIED.
+ * - "SERVING" : A SERVING.
+ * - "STOPPED" : A STOPPED.
*/
core.String servingStatus;
/** Whether multiple requests can be dispatched to this version at once. */
@@ -4354,8 +5276,7 @@
core.int filesCount;
/**
* URL of the zip file to deploy from. Must be a URL to a resource in Google
- * Cloud Storage in the form
- * 'http(s)://storage.googleapis.com/<bucket>/<object>'.
+ * Cloud Storage in the form 'http(s)://storage.googleapis.com//'.
*/
core.String sourceUrl;
diff --git a/generated/googleapis_beta/lib/appengine/v1beta4.dart b/generated/googleapis_beta/lib/appengine/v1beta4.dart
index c2f608b..726f1b5 100644
--- a/generated/googleapis_beta/lib/appengine/v1beta4.dart
+++ b/generated/googleapis_beta/lib/appengine/v1beta4.dart
@@ -46,11 +46,12 @@
_requester = client;
/**
- * Creates an App Engine application for a Google Cloud Platform project. This
- * requires a project that excludes an App Engine application. For details
- * about creating a project without an application, see the Google Cloud
- * Resource Manager create project topic
- * (https://cloud.google.com/resource-manager/docs/creating-project).
+ * Creates an App Engine application for a Google Cloud Platform project.
+ * Required fields: id - The ID of the target Cloud Platform project. location
+ * - The region (https://cloud.google.com/appengine/docs/locations) where you
+ * want the App Engine application located.For more information about App
+ * Engine applications, see Managing Projects, Applications, and Billing
+ * (https://cloud.google.com/appengine/docs/python/console/).
*
* [request] - The metadata request object.
*
@@ -464,9 +465,9 @@
*
* [mask] - Standard field mask for the set of fields to be updated.
*
- * [migrateTraffic] - Set to true to gradually shift traffic from one version
- * to another single version. By default, traffic is shifted immediately. For
- * gradual traffic migration, the target version must be located within
+ * [migrateTraffic] - Set to true to gradually shift traffic to one or more
+ * versions that you specify. By default, traffic is shifted immediately. For
+ * gradual traffic migration, the target versions must be located within
* instances that are configured for both warmup requests
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.versions#inboundservicetype)
* and automatic scaling
@@ -1014,7 +1015,9 @@
}
/**
- * Lists the instances of a version.
+ * Lists the instances of a version.Tip: To aggregate details about instances
+ * over time, see the Stackdriver Monitoring API
+ * (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).
*
* Request parameters:
*
@@ -1325,6 +1328,7 @@
* order-dependent.@OutputOnly
*/
core.List<UrlDispatchRule> dispatchRules;
+ IdentityAwareProxy iap;
/**
* Identifier of the Application resource. This identifier is equivalent to
* the project ID of the Google Cloud Platform project where you want to
@@ -1366,6 +1370,9 @@
if (_json.containsKey("dispatchRules")) {
dispatchRules = _json["dispatchRules"].map((value) => new UrlDispatchRule.fromJson(value)).toList();
}
+ if (_json.containsKey("iap")) {
+ iap = new IdentityAwareProxy.fromJson(_json["iap"]);
+ }
if (_json.containsKey("id")) {
id = _json["id"];
}
@@ -1397,6 +1404,9 @@
if (dispatchRules != null) {
_json["dispatchRules"] = dispatchRules.map((value) => (value).toJson()).toList();
}
+ if (iap != null) {
+ _json["iap"] = (iap).toJson();
+ }
if (id != null) {
_json["id"] = id;
}
@@ -1584,12 +1594,14 @@
}
/**
- * Docker image that is used to start a VM container for the version you deploy.
+ * Docker image that is used to create a container and start a VM instance for
+ * the version that you deploy. Only applicable for instances running in the App
+ * Engine flexible environment.
*/
class ContainerInfo {
/**
- * URI to the hosted container image in a Docker repository. The URI must be
- * fully qualified and include a tag or digest. Examples:
+ * URI to the hosted container image in Google Container Registry. The URI
+ * must be fully qualified and include a tag or digest. Examples:
* "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
*/
core.String image;
@@ -1675,8 +1687,8 @@
/** Code and application artifacts used to deploy a version to App Engine. */
class Deployment {
/**
- * A Docker image that App Engine uses the run the version. Only applicable
- * for instances in App Engine flexible environment.
+ * The Docker image for the container that runs the version. Only applicable
+ * for instances running in the App Engine flexible environment.
*/
ContainerInfo container;
/**
@@ -1945,6 +1957,60 @@
}
}
+/** Identity-Aware Proxy */
+class IdentityAwareProxy {
+ /**
+ * Whether the serving infrastructure will authenticate and authorize all
+ * incoming requests.If true, the oauth2_client_id and oauth2_client_secret
+ * fields must be non-empty.
+ */
+ core.bool enabled;
+ /** OAuth2 client ID to use for the authentication flow. */
+ core.String oauth2ClientId;
+ /**
+ * For security reasons, this value cannot be retrieved via the API. Instead,
+ * the SHA-256 hash of the value is returned in the
+ * oauth2_client_secret_sha256 field.@InputOnly
+ */
+ core.String oauth2ClientSecret;
+ /** Hex-encoded SHA-256 hash of the client secret.@OutputOnly */
+ core.String oauth2ClientSecretSha256;
+
+ IdentityAwareProxy();
+
+ IdentityAwareProxy.fromJson(core.Map _json) {
+ if (_json.containsKey("enabled")) {
+ enabled = _json["enabled"];
+ }
+ if (_json.containsKey("oauth2ClientId")) {
+ oauth2ClientId = _json["oauth2ClientId"];
+ }
+ if (_json.containsKey("oauth2ClientSecret")) {
+ oauth2ClientSecret = _json["oauth2ClientSecret"];
+ }
+ if (_json.containsKey("oauth2ClientSecretSha256")) {
+ oauth2ClientSecretSha256 = _json["oauth2ClientSecretSha256"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (enabled != null) {
+ _json["enabled"] = enabled;
+ }
+ if (oauth2ClientId != null) {
+ _json["oauth2ClientId"] = oauth2ClientId;
+ }
+ if (oauth2ClientSecret != null) {
+ _json["oauth2ClientSecret"] = oauth2ClientSecret;
+ }
+ if (oauth2ClientSecretSha256 != null) {
+ _json["oauth2ClientSecretSha256"] = oauth2ClientSecretSha256;
+ }
+ return _json;
+ }
+}
+
/**
* An Instance resource is the computing unit that App Engine uses to
* automatically scale an application.
@@ -2180,7 +2246,7 @@
}
}
-/** The response message for LocationService.ListLocations. */
+/** The response message for Locations.ListLocations. */
class ListLocationsResponse {
/** A list of locations that matches the specified filter in the request. */
core.List<Location> locations;
@@ -2863,6 +2929,85 @@
}
/** Metadata for the given google.longrunning.Operation. */
+class OperationMetadataV1Beta {
+ /** Time that this operation completed.@OutputOnly */
+ core.String endTime;
+ /**
+ * Ephemeral message that may change every time the operation is polled.
+ * @OutputOnly
+ */
+ core.String ephemeralMessage;
+ /** Time that this operation was created.@OutputOnly */
+ core.String insertTime;
+ /**
+ * API method that initiated this operation. Example:
+ * google.appengine.v1beta.Versions.CreateVersion.@OutputOnly
+ */
+ core.String method;
+ /**
+ * Name of the resource that this operation is acting on. Example:
+ * apps/myapp/services/default.@OutputOnly
+ */
+ core.String target;
+ /** User who requested this operation.@OutputOnly */
+ core.String user;
+ /** Durable messages that persist on every operation poll. @OutputOnly */
+ core.List<core.String> warning;
+
+ OperationMetadataV1Beta();
+
+ OperationMetadataV1Beta.fromJson(core.Map _json) {
+ if (_json.containsKey("endTime")) {
+ endTime = _json["endTime"];
+ }
+ if (_json.containsKey("ephemeralMessage")) {
+ ephemeralMessage = _json["ephemeralMessage"];
+ }
+ if (_json.containsKey("insertTime")) {
+ insertTime = _json["insertTime"];
+ }
+ if (_json.containsKey("method")) {
+ method = _json["method"];
+ }
+ if (_json.containsKey("target")) {
+ target = _json["target"];
+ }
+ if (_json.containsKey("user")) {
+ user = _json["user"];
+ }
+ if (_json.containsKey("warning")) {
+ warning = _json["warning"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (endTime != null) {
+ _json["endTime"] = endTime;
+ }
+ if (ephemeralMessage != null) {
+ _json["ephemeralMessage"] = ephemeralMessage;
+ }
+ if (insertTime != null) {
+ _json["insertTime"] = insertTime;
+ }
+ if (method != null) {
+ _json["method"] = method;
+ }
+ if (target != null) {
+ _json["target"] = target;
+ }
+ if (user != null) {
+ _json["user"] = user;
+ }
+ if (warning != null) {
+ _json["warning"] = warning;
+ }
+ return _json;
+ }
+}
+
+/** Metadata for the given google.longrunning.Operation. */
class OperationMetadataV1Beta5 {
/** Timestamp that this operation completed.@OutputOnly */
core.String endTime;
diff --git a/generated/googleapis_beta/lib/appengine/v1beta5.dart b/generated/googleapis_beta/lib/appengine/v1beta5.dart
index 10ca12f..66e8bee 100644
--- a/generated/googleapis_beta/lib/appengine/v1beta5.dart
+++ b/generated/googleapis_beta/lib/appengine/v1beta5.dart
@@ -46,11 +46,12 @@
_requester = client;
/**
- * Creates an App Engine application for a Google Cloud Platform project. This
- * requires a project that excludes an App Engine application. For details
- * about creating a project without an application, see the Google Cloud
- * Resource Manager create project topic
- * (https://cloud.google.com/resource-manager/docs/creating-project).
+ * Creates an App Engine application for a Google Cloud Platform project.
+ * Required fields: id - The ID of the target Cloud Platform project. location
+ * - The region (https://cloud.google.com/appengine/docs/locations) where you
+ * want the App Engine application located.For more information about App
+ * Engine applications, see Managing Projects, Applications, and Billing
+ * (https://cloud.google.com/appengine/docs/python/console/).
*
* [request] - The metadata request object.
*
@@ -577,9 +578,9 @@
*
* [mask] - Standard field mask for the set of fields to be updated.
*
- * [migrateTraffic] - Set to true to gradually shift traffic from one version
- * to another single version. By default, traffic is shifted immediately. For
- * gradual traffic migration, the target version must be located within
+ * [migrateTraffic] - Set to true to gradually shift traffic to one or more
+ * versions that you specify. By default, traffic is shifted immediately. For
+ * gradual traffic migration, the target versions must be located within
* instances that are configured for both warmup requests
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/apps.services.versions#inboundservicetype)
* and automatic scaling
@@ -1127,7 +1128,9 @@
}
/**
- * Lists the instances of a version.
+ * Lists the instances of a version.Tip: To aggregate details about instances
+ * over time, see the Stackdriver Monitoring API
+ * (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).
*
* Request parameters:
*
@@ -1326,6 +1329,7 @@
* order-dependent.@OutputOnly
*/
core.List<UrlDispatchRule> dispatchRules;
+ IdentityAwareProxy iap;
/**
* Identifier of the Application resource. This identifier is equivalent to
* the project ID of the Google Cloud Platform project where you want to
@@ -1367,6 +1371,9 @@
if (_json.containsKey("dispatchRules")) {
dispatchRules = _json["dispatchRules"].map((value) => new UrlDispatchRule.fromJson(value)).toList();
}
+ if (_json.containsKey("iap")) {
+ iap = new IdentityAwareProxy.fromJson(_json["iap"]);
+ }
if (_json.containsKey("id")) {
id = _json["id"];
}
@@ -1398,6 +1405,9 @@
if (dispatchRules != null) {
_json["dispatchRules"] = dispatchRules.map((value) => (value).toJson()).toList();
}
+ if (iap != null) {
+ _json["iap"] = (iap).toJson();
+ }
if (id != null) {
_json["id"] = id;
}
@@ -1585,12 +1595,14 @@
}
/**
- * Docker image that is used to start a VM container for the version you deploy.
+ * Docker image that is used to create a container and start a VM instance for
+ * the version that you deploy. Only applicable for instances running in the App
+ * Engine flexible environment.
*/
class ContainerInfo {
/**
- * URI to the hosted container image in a Docker repository. The URI must be
- * fully qualified and include a tag or digest. Examples:
+ * URI to the hosted container image in Google Container Registry. The URI
+ * must be fully qualified and include a tag or digest. Examples:
* "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
*/
core.String image;
@@ -1676,8 +1688,8 @@
/** Code and application artifacts used to deploy a version to App Engine. */
class Deployment {
/**
- * A Docker image that App Engine uses the run the version. Only applicable
- * for instances in App Engine flexible environment.
+ * The Docker image for the container that runs the version. Only applicable
+ * for instances running in the App Engine flexible environment.
*/
ContainerInfo container;
/**
@@ -1988,6 +2000,60 @@
}
}
+/** Identity-Aware Proxy */
+class IdentityAwareProxy {
+ /**
+ * Whether the serving infrastructure will authenticate and authorize all
+ * incoming requests.If true, the oauth2_client_id and oauth2_client_secret
+ * fields must be non-empty.
+ */
+ core.bool enabled;
+ /** OAuth2 client ID to use for the authentication flow. */
+ core.String oauth2ClientId;
+ /**
+ * For security reasons, this value cannot be retrieved via the API. Instead,
+ * the SHA-256 hash of the value is returned in the
+ * oauth2_client_secret_sha256 field.@InputOnly
+ */
+ core.String oauth2ClientSecret;
+ /** Hex-encoded SHA-256 hash of the client secret.@OutputOnly */
+ core.String oauth2ClientSecretSha256;
+
+ IdentityAwareProxy();
+
+ IdentityAwareProxy.fromJson(core.Map _json) {
+ if (_json.containsKey("enabled")) {
+ enabled = _json["enabled"];
+ }
+ if (_json.containsKey("oauth2ClientId")) {
+ oauth2ClientId = _json["oauth2ClientId"];
+ }
+ if (_json.containsKey("oauth2ClientSecret")) {
+ oauth2ClientSecret = _json["oauth2ClientSecret"];
+ }
+ if (_json.containsKey("oauth2ClientSecretSha256")) {
+ oauth2ClientSecretSha256 = _json["oauth2ClientSecretSha256"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (enabled != null) {
+ _json["enabled"] = enabled;
+ }
+ if (oauth2ClientId != null) {
+ _json["oauth2ClientId"] = oauth2ClientId;
+ }
+ if (oauth2ClientSecret != null) {
+ _json["oauth2ClientSecret"] = oauth2ClientSecret;
+ }
+ if (oauth2ClientSecretSha256 != null) {
+ _json["oauth2ClientSecretSha256"] = oauth2ClientSecretSha256;
+ }
+ return _json;
+ }
+}
+
/**
* An Instance resource is the computing unit that App Engine uses to
* automatically scale an application.
@@ -2223,7 +2289,7 @@
}
}
-/** The response message for LocationService.ListLocations. */
+/** The response message for Locations.ListLocations. */
class ListLocationsResponse {
/** A list of locations that matches the specified filter in the request. */
core.List<Location> locations;
@@ -2874,6 +2940,85 @@
}
/** Metadata for the given google.longrunning.Operation. */
+class OperationMetadataV1Beta {
+ /** Time that this operation completed.@OutputOnly */
+ core.String endTime;
+ /**
+ * Ephemeral message that may change every time the operation is polled.
+ * @OutputOnly
+ */
+ core.String ephemeralMessage;
+ /** Time that this operation was created.@OutputOnly */
+ core.String insertTime;
+ /**
+ * API method that initiated this operation. Example:
+ * google.appengine.v1beta.Versions.CreateVersion.@OutputOnly
+ */
+ core.String method;
+ /**
+ * Name of the resource that this operation is acting on. Example:
+ * apps/myapp/services/default.@OutputOnly
+ */
+ core.String target;
+ /** User who requested this operation.@OutputOnly */
+ core.String user;
+ /** Durable messages that persist on every operation poll. @OutputOnly */
+ core.List<core.String> warning;
+
+ OperationMetadataV1Beta();
+
+ OperationMetadataV1Beta.fromJson(core.Map _json) {
+ if (_json.containsKey("endTime")) {
+ endTime = _json["endTime"];
+ }
+ if (_json.containsKey("ephemeralMessage")) {
+ ephemeralMessage = _json["ephemeralMessage"];
+ }
+ if (_json.containsKey("insertTime")) {
+ insertTime = _json["insertTime"];
+ }
+ if (_json.containsKey("method")) {
+ method = _json["method"];
+ }
+ if (_json.containsKey("target")) {
+ target = _json["target"];
+ }
+ if (_json.containsKey("user")) {
+ user = _json["user"];
+ }
+ if (_json.containsKey("warning")) {
+ warning = _json["warning"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (endTime != null) {
+ _json["endTime"] = endTime;
+ }
+ if (ephemeralMessage != null) {
+ _json["ephemeralMessage"] = ephemeralMessage;
+ }
+ if (insertTime != null) {
+ _json["insertTime"] = insertTime;
+ }
+ if (method != null) {
+ _json["method"] = method;
+ }
+ if (target != null) {
+ _json["target"] = target;
+ }
+ if (user != null) {
+ _json["user"] = user;
+ }
+ if (warning != null) {
+ _json["warning"] = warning;
+ }
+ return _json;
+ }
+}
+
+/** Metadata for the given google.longrunning.Operation. */
class OperationMetadataV1Beta5 {
/** Timestamp that this operation completed.@OutputOnly */
core.String endTime;
diff --git a/generated/googleapis_beta/lib/clouderrorreporting/v1beta1.dart b/generated/googleapis_beta/lib/clouderrorreporting/v1beta1.dart
index 2823b7f..a98055e 100644
--- a/generated/googleapis_beta/lib/clouderrorreporting/v1beta1.dart
+++ b/generated/googleapis_beta/lib/clouderrorreporting/v1beta1.dart
@@ -110,6 +110,9 @@
* Example: `projects/my-project-123`.
* Value must have pattern "^projects/[^/]+$".
*
+ * [serviceFilter_version] - [Optional] The exact value to match against
+ * [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
+ *
* [serviceFilter_resourceType] - [Optional] The exact value to match against
* [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
*
@@ -124,18 +127,15 @@
*
* [groupId] - [Required] The group for which events shall be returned.
*
- * [serviceFilter_service] - [Optional] The exact value to match against
- * [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
- *
* [pageToken] - [Optional] A `next_page_token` provided by a previous
* response.
*
+ * [serviceFilter_service] - [Optional] The exact value to match against
+ * [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
+ *
* [pageSize] - [Optional] The maximum number of results to return per
* response.
*
- * [serviceFilter_version] - [Optional] The exact value to match against
- * [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
- *
* Completes with a [ListEventsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -144,7 +144,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListEventsResponse> list(core.String projectName, {core.String serviceFilter_resourceType, core.String timeRange_period, core.String groupId, core.String serviceFilter_service, core.String pageToken, core.int pageSize, core.String serviceFilter_version}) {
+ async.Future<ListEventsResponse> list(core.String projectName, {core.String serviceFilter_version, core.String serviceFilter_resourceType, core.String timeRange_period, core.String groupId, core.String pageToken, core.String serviceFilter_service, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -155,6 +155,9 @@
if (projectName == null) {
throw new core.ArgumentError("Parameter projectName is required.");
}
+ if (serviceFilter_version != null) {
+ _queryParams["serviceFilter.version"] = [serviceFilter_version];
+ }
if (serviceFilter_resourceType != null) {
_queryParams["serviceFilter.resourceType"] = [serviceFilter_resourceType];
}
@@ -164,18 +167,15 @@
if (groupId != null) {
_queryParams["groupId"] = [groupId];
}
- if (serviceFilter_service != null) {
- _queryParams["serviceFilter.service"] = [serviceFilter_service];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (serviceFilter_service != null) {
+ _queryParams["serviceFilter.service"] = [serviceFilter_service];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (serviceFilter_version != null) {
- _queryParams["serviceFilter.version"] = [serviceFilter_version];
- }
_url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$projectName') + '/events';
@@ -297,6 +297,9 @@
* response.
* Default is 20.
*
+ * [serviceFilter_version] - [Optional] The exact value to match against
+ * [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
+ *
* [order] - [Optional] The sort order in which the results are returned.
* Default is `COUNT_DESC`.
* Possible string values are:
@@ -306,9 +309,6 @@
* - "CREATED_DESC" : A CREATED_DESC.
* - "AFFECTED_USERS_DESC" : A AFFECTED_USERS_DESC.
*
- * [serviceFilter_version] - [Optional] The exact value to match against
- * [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
- *
* [serviceFilter_resourceType] - [Optional] The exact value to match against
* [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
*
@@ -333,7 +333,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListGroupStatsResponse> list(core.String projectName, {core.String timeRange_period, core.String alignment, core.List<core.String> groupId, core.String serviceFilter_service, core.int pageSize, core.String order, core.String serviceFilter_version, core.String serviceFilter_resourceType, core.String alignmentTime, core.String timedCountDuration, core.String pageToken}) {
+ async.Future<ListGroupStatsResponse> list(core.String projectName, {core.String timeRange_period, core.String alignment, core.List<core.String> groupId, core.String serviceFilter_service, core.int pageSize, core.String serviceFilter_version, core.String order, core.String serviceFilter_resourceType, core.String alignmentTime, core.String timedCountDuration, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -359,12 +359,12 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (order != null) {
- _queryParams["order"] = [order];
- }
if (serviceFilter_version != null) {
_queryParams["serviceFilter.version"] = [serviceFilter_version];
}
+ if (order != null) {
+ _queryParams["order"] = [order];
+ }
if (serviceFilter_resourceType != null) {
_queryParams["serviceFilter.resourceType"] = [serviceFilter_resourceType];
}
diff --git a/generated/googleapis_beta/lib/cloudresourcemanager/v1beta1.dart b/generated/googleapis_beta/lib/cloudresourcemanager/v1beta1.dart
index ccadb5b..ab7cfb9 100644
--- a/generated/googleapis_beta/lib/cloudresourcemanager/v1beta1.dart
+++ b/generated/googleapis_beta/lib/cloudresourcemanager/v1beta1.dart
@@ -43,6 +43,96 @@
_requester = client;
/**
+ * Clears a `Policy` from a resource.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource for the `Policy` to clear.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * 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<Empty> clearOrgPolicy(ClearOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':clearOrgPolicy';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Empty.fromJson(data));
+ }
+
+ /**
+ * Clears a `Policy` from a resource.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource for the `Policy` to clear.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * 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<Empty> clearOrgPolicyV1(ClearOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':clearOrgPolicyV1';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Empty.fromJson(data));
+ }
+
+ /**
* Fetches an Organization resource identified by the specified resource name.
*
* Request parameters:
@@ -90,6 +180,102 @@
}
/**
+ * Gets the effective `Policy` on a resource. This is the result of merging
+ * `Policies` in the resource hierarchy. The returned `Policy` will not have
+ * an `etag`set because it is a computed `Policy` across multiple resources.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - The name of the resource to start computing the effective
+ * `Policy`.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> getEffectiveOrgPolicy(GetEffectiveOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getEffectiveOrgPolicy';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
+ * Gets the effective `Policy` on a resource. This is the result of merging
+ * `Policies` in the resource hierarchy. The returned `Policy` will not have
+ * an `etag`set because it is a computed `Policy` across multiple resources.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - The name of the resource to start computing the effective
+ * `Policy`.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> getEffectiveOrgPolicyV1(GetEffectiveOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getEffectiveOrgPolicyV1';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
* Gets the access control policy for an Organization resource. May be empty
* if no such policy or resource exists. The `resource` field should be the
* organization's resource name, e.g. "organizations/123".
@@ -139,6 +325,106 @@
}
/**
+ * Gets a `Policy` on a resource.
+ *
+ * If no `Policy` is set on the resource, a `Policy` is returned with default
+ * values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The
+ * `etag` value can be used with `SetOrgPolicy()` to create or update a
+ * `Policy` during read-modify-write.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource the `Policy` is set on.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> getOrgPolicy(GetOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getOrgPolicy';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
+ * Gets a `Policy` on a resource.
+ *
+ * If no `Policy` is set on the resource, a `Policy` is returned with default
+ * values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The
+ * `etag` value can be used with `SetOrgPolicy()` to create or update a
+ * `Policy` during read-modify-write.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource the `Policy` is set on.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> getOrgPolicyV1(GetOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getOrgPolicyV1';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
* Lists Organization resources that are visible to the user and satisfy
* the specified filter. This method returns Organizations in an unspecified
* order. New Organizations do not necessarily appear at the end of the list.
@@ -208,6 +494,96 @@
}
/**
+ * Lists `Constraints` that could be applied on the specified resource.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource to list `Constraints` for.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * Completes with a [ListAvailableOrgPolicyConstraintsResponse].
+ *
+ * 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<ListAvailableOrgPolicyConstraintsResponse> listAvailableOrgPolicyConstraints(ListAvailableOrgPolicyConstraintsRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':listAvailableOrgPolicyConstraints';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListAvailableOrgPolicyConstraintsResponse.fromJson(data));
+ }
+
+ /**
+ * Lists all the `Policies` set for a particular resource.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Name of the resource to list Policies for.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * Completes with a [ListOrgPoliciesResponse].
+ *
+ * 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<ListOrgPoliciesResponse> listOrgPolicies(ListOrgPoliciesRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':listOrgPolicies';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListOrgPoliciesResponse.fromJson(data));
+ }
+
+ /**
* Sets the access control policy on an Organization resource. Replaces any
* existing policy. The `resource` field should be the organization's resource
* name, e.g. "organizations/123".
@@ -257,6 +633,104 @@
}
/**
+ * Updates the specified `Policy` on the resource. Creates a new `Policy` for
+ * that `Constraint` on the resource if one does not exist.
+ *
+ * Not supplying an `etag` on the request `Policy` results in an unconditional
+ * write of the `Policy`.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Resource name of the resource to attach the `Policy`.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> setOrgPolicy(SetOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':setOrgPolicy';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
+ * Updates the specified `Policy` on the resource. Creates a new `Policy` for
+ * that `Constraint` on the resource if one does not exist.
+ *
+ * Not supplying an `etag` on the request `Policy` results in an unconditional
+ * write of the `Policy`.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - Resource name of the resource to attach the `Policy`.
+ * Value must have pattern "^organizations/[^/]+$".
+ *
+ * Completes with a [OrgPolicy].
+ *
+ * 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<OrgPolicy> setOrgPolicyV1(SetOrgPolicyRequest request, core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':setOrgPolicyV1';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new OrgPolicy.fromJson(data));
+ }
+
+ /**
* Returns permissions that a caller has on the specified Organization.
* The `resource` field should be the organization's resource name,
* e.g. "organizations/123".
@@ -648,7 +1122,7 @@
* |NAME:howl|Equivalent to above.|
* |labels.color:*|The project has the label `color`.|
* |labels.color:red|The project's label `color` has the value `red`.|
- * |labels.color:red label.size:big|The project's label `color` has the
+ * |labels.color:red labels.size:big|The project's label `color` has the
* value `red` and its label `size` has the value `big`.
*
* Optional.
@@ -717,15 +1191,14 @@
* explicitly accept the invitation.
*
* + Invitations to grant the owner role cannot be sent using
- * `setIamPolicy()`;
- * they must be sent only using the Cloud Platform Console.
+ * `setIamPolicy()`; they must be sent only using the Cloud Platform Console.
*
* + Membership changes that leave the project without any owners that have
* accepted the Terms of Service (ToS) will be rejected.
*
* + There must be at least one owner who has accepted the Terms of
* Service (ToS) agreement in the policy. Calling `setIamPolicy()` to
- * to remove the last ToS-accepted owner from the policy will fail. This
+ * remove the last ToS-accepted owner from the policy will fail. This
* restriction also applies to legacy projects that no longer have owners
* who have accepted the ToS. Edits to IAM policies will be rejected until
* the lack of a ToS-accepting owner is rectified.
@@ -953,6 +1426,153 @@
}
}
+/**
+ * Specifies the audit configuration for a service.
+ * The configuration determines which permission types are logged, and what
+ * identities, if any, are exempted from logging.
+ * An AuditConifg must have one or more AuditLogConfigs.
+ *
+ * If there are AuditConfigs for both `allServices` and a specific service,
+ * the union of the two AuditConfigs is used for that service: the log_types
+ * specified in each AuditConfig are enabled, and the exempted_members in each
+ * AuditConfig are exempted.
+ * Example Policy with multiple AuditConfigs:
+ * {
+ * "audit_configs": [
+ * {
+ * "service": "allServices"
+ * "audit_log_configs": [
+ * {
+ * "log_type": "DATA_READ",
+ * "exempted_members": [
+ * "user:foo@gmail.com"
+ * ]
+ * },
+ * {
+ * "log_type": "DATA_WRITE",
+ * },
+ * {
+ * "log_type": "ADMIN_READ",
+ * }
+ * ]
+ * },
+ * {
+ * "service": "fooservice@googleapis.com"
+ * "audit_log_configs": [
+ * {
+ * "log_type": "DATA_READ",
+ * },
+ * {
+ * "log_type": "DATA_WRITE",
+ * "exempted_members": [
+ * "user:bar@gmail.com"
+ * ]
+ * }
+ * ]
+ * }
+ * ]
+ * }
+ * For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
+ * logging. It also exempts foo@gmail.com from DATA_READ logging, and
+ * bar@gmail.com from DATA_WRITE logging.
+ */
+class AuditConfig {
+ /**
+ * The configuration for logging of each type of permission.
+ * Next ID: 4
+ */
+ core.List<AuditLogConfig> auditLogConfigs;
+ /**
+ * Specifies a service that will be enabled for audit logging.
+ * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
+ * `allServices` is a special value that covers all services.
+ */
+ core.String service;
+
+ AuditConfig();
+
+ AuditConfig.fromJson(core.Map _json) {
+ if (_json.containsKey("auditLogConfigs")) {
+ auditLogConfigs = _json["auditLogConfigs"].map((value) => new AuditLogConfig.fromJson(value)).toList();
+ }
+ if (_json.containsKey("service")) {
+ service = _json["service"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (auditLogConfigs != null) {
+ _json["auditLogConfigs"] = auditLogConfigs.map((value) => (value).toJson()).toList();
+ }
+ if (service != null) {
+ _json["service"] = service;
+ }
+ return _json;
+ }
+}
+
+/**
+ * Provides the configuration for logging a type of permissions.
+ * Example:
+ *
+ * {
+ * "audit_log_configs": [
+ * {
+ * "log_type": "DATA_READ",
+ * "exempted_members": [
+ * "user:foo@gmail.com"
+ * ]
+ * },
+ * {
+ * "log_type": "DATA_WRITE",
+ * }
+ * ]
+ * }
+ *
+ * This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
+ * foo@gmail.com from DATA_READ logging.
+ */
+class AuditLogConfig {
+ /**
+ * Specifies the identities that do not cause logging for this type of
+ * permission.
+ * Follows the same format of Binding.members.
+ */
+ core.List<core.String> exemptedMembers;
+ /**
+ * The log type that this config enables.
+ * Possible string values are:
+ * - "LOG_TYPE_UNSPECIFIED" : Default case. Should never be this.
+ * - "ADMIN_READ" : Admin reads. Example: CloudIAM getIamPolicy
+ * - "DATA_WRITE" : Data writes. Example: CloudSQL Users create
+ * - "DATA_READ" : Data reads. Example: CloudSQL Users list
+ */
+ core.String logType;
+
+ AuditLogConfig();
+
+ AuditLogConfig.fromJson(core.Map _json) {
+ if (_json.containsKey("exemptedMembers")) {
+ exemptedMembers = _json["exemptedMembers"];
+ }
+ if (_json.containsKey("logType")) {
+ logType = _json["logType"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (exemptedMembers != null) {
+ _json["exemptedMembers"] = exemptedMembers;
+ }
+ if (logType != null) {
+ _json["logType"] = logType;
+ }
+ return _json;
+ }
+}
+
/** Associates `members` with a `role`. */
class Binding {
/**
@@ -1010,6 +1630,243 @@
}
/**
+ * A `Constraint` that is either enforced or not.
+ *
+ * For example a constraint `constraints/compute.disableSerialPortAccess`.
+ * If it is enforced on a VM instance, serial port connections will not be
+ * opened to that instance.
+ */
+class BooleanConstraint {
+
+ BooleanConstraint();
+
+ BooleanConstraint.fromJson(core.Map _json) {
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ return _json;
+ }
+}
+
+/**
+ * Used in `policy_type` to specify how `boolean_policy` will behave at this
+ * resource.
+ */
+class BooleanPolicy {
+ /**
+ * If `true`, then the `Policy` is enforced. If `false`, then any
+ * configuration is acceptable.
+ *
+ * Suppose you have a `Constraint`
+ * `constraints/compute.disableSerialPortAccess`
+ * with `constraint_default` set to `ALLOW`. A `Policy` for that
+ * `Constraint` exhibits the following behavior:
+ * - If the `Policy` at this resource has enforced set to `false`, serial
+ * port connection attempts will be allowed.
+ * - If the `Policy` at this resource has enforced set to `true`, serial
+ * port connection attempts will be refused.
+ * - If the `Policy` at this resource is `RestoreDefault`, serial port
+ * connection attempts will be allowed.
+ * - If no `Policy` is set at this resource or anywhere higher in the
+ * resource hierarchy, serial port connection attempts will be allowed.
+ * - If no `Policy` is set at this resource, but one exists higher in the
+ * resource hierarchy, the behavior is as if the`Policy` were set at
+ * this resource.
+ *
+ * The following examples demonstrate the different possible layerings:
+ *
+ * Example 1 (nearest `Constraint` wins):
+ * `organizations/foo` has a `Policy` with:
+ * {enforced: false}
+ * `projects/bar` has no `Policy` set.
+ * The constraint at `projects/bar` and `organizations/foo` will not be
+ * enforced.
+ *
+ * Example 2 (enforcement gets replaced):
+ * `organizations/foo` has a `Policy` with:
+ * {enforced: false}
+ * `projects/bar` has a `Policy` with:
+ * {enforced: true}
+ * The constraint at `organizations/foo` is not enforced.
+ * The constraint at `projects/bar` is enforced.
+ *
+ * Example 3 (RestoreDefault):
+ * `organizations/foo` has a `Policy` with:
+ * {enforced: true}
+ * `projects/bar` has a `Policy` with:
+ * {RestoreDefault: {}}
+ * The constraint at `organizations/foo` is enforced.
+ * The constraint at `projects/bar` is not enforced, because
+ * `constraint_default` for the `Constraint` is `ALLOW`.
+ */
+ core.bool enforced;
+
+ BooleanPolicy();
+
+ BooleanPolicy.fromJson(core.Map _json) {
+ if (_json.containsKey("enforced")) {
+ enforced = _json["enforced"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (enforced != null) {
+ _json["enforced"] = enforced;
+ }
+ return _json;
+ }
+}
+
+/** The request sent to the ClearOrgPolicy method. */
+class ClearOrgPolicyRequest {
+ /** Name of the `Constraint` of the `Policy` to clear. */
+ core.String constraint;
+ /**
+ * The current version, for concurrency control. Not sending an `etag`
+ * will cause the `Policy` to be cleared blindly.
+ */
+ core.String etag;
+ core.List<core.int> get etagAsBytes {
+ return convert.BASE64.decode(etag);
+ }
+
+ void set etagAsBytes(core.List<core.int> _bytes) {
+ etag = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
+ }
+
+ ClearOrgPolicyRequest();
+
+ ClearOrgPolicyRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("constraint")) {
+ constraint = _json["constraint"];
+ }
+ if (_json.containsKey("etag")) {
+ etag = _json["etag"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (constraint != null) {
+ _json["constraint"] = constraint;
+ }
+ if (etag != null) {
+ _json["etag"] = etag;
+ }
+ return _json;
+ }
+}
+
+/**
+ * A `Constraint` describes a way in which a resource's configuration can be
+ * restricted. For example, it controls which cloud services can be activated
+ * across an organization, or whether a Compute Engine instance can have
+ * serial port connections established. `Constraints` can be configured by the
+ * organization's policy adminstrator to fit the needs of the organzation by
+ * setting Policies for `Constraints` at different locations in the
+ * organization's resource hierarchy. Policies are inherited down the resource
+ * hierarchy from higher levels, but can also be overridden. For details about
+ * the inheritance rules please read about
+ * Policies.
+ *
+ * `Constraints` have a default behavior determined by the `constraint_default`
+ * field, which is the enforcement behavior that is used in the absence of a
+ * `Policy` being defined or inherited for the resource in question.
+ */
+class Constraint {
+ /** Defines this constraint as being a BooleanConstraint. */
+ BooleanConstraint booleanConstraint;
+ /**
+ * The evaluation behavior of this constraint in the absense of 'Policy'.
+ * Possible string values are:
+ * - "CONSTRAINT_DEFAULT_UNSPECIFIED" : This is only used for distinguishing
+ * unset values and should never be
+ * used.
+ * - "ALLOW" : Indicate that all values are allowed for list constraints.
+ * Indicate that enforcement is off for boolean constraints.
+ * - "DENY" : Indicate that all values are denied for list constraints.
+ * Indicate that enforcement is on for boolean constraints.
+ */
+ core.String constraintDefault;
+ /**
+ * Detailed description of what this `Constraint` controls as well as how and
+ * where it is enforced.
+ *
+ * Mutable.
+ */
+ core.String description;
+ /**
+ * The human readable name.
+ *
+ * Mutable.
+ */
+ core.String displayName;
+ /** Defines this constraint as being a ListConstraint. */
+ ListConstraint listConstraint;
+ /**
+ * Immutable value, required to globally be unique. For example,
+ * `constraints/serviceuser.services`
+ */
+ core.String name;
+ /** Version of the `Constraint`. Default version is 0; */
+ core.int version;
+
+ Constraint();
+
+ Constraint.fromJson(core.Map _json) {
+ if (_json.containsKey("booleanConstraint")) {
+ booleanConstraint = new BooleanConstraint.fromJson(_json["booleanConstraint"]);
+ }
+ if (_json.containsKey("constraintDefault")) {
+ constraintDefault = _json["constraintDefault"];
+ }
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("displayName")) {
+ displayName = _json["displayName"];
+ }
+ if (_json.containsKey("listConstraint")) {
+ listConstraint = new ListConstraint.fromJson(_json["listConstraint"]);
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("version")) {
+ version = _json["version"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (booleanConstraint != null) {
+ _json["booleanConstraint"] = (booleanConstraint).toJson();
+ }
+ if (constraintDefault != null) {
+ _json["constraintDefault"] = constraintDefault;
+ }
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (displayName != null) {
+ _json["displayName"] = displayName;
+ }
+ if (listConstraint != null) {
+ _json["listConstraint"] = (listConstraint).toJson();
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (version != null) {
+ _json["version"] = version;
+ }
+ return _json;
+ }
+}
+
+/**
* 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:
@@ -1110,8 +1967,8 @@
* deleted.
* - "CYCLE_INTRODUCED_ERROR" : The attempted action would introduce cycle in
* resource path.
- * - "FOLDER_ALREADY_BEING_MOVED" : The attempted action would move a folder
- * that is already being moved.
+ * - "FOLDER_BEING_MOVED" : The attempted action would move a folder that is
+ * already being moved.
* - "FOLDER_TO_DELETE_NON_EMPTY" : The folder the caller is trying to delete
* contains active resources.
*/
@@ -1178,6 +2035,28 @@
}
}
+/** The request sent to the GetEffectiveOrgPolicy method. */
+class GetEffectiveOrgPolicyRequest {
+ /** The name of the `Constraint` to compute the effective `Policy`. */
+ core.String constraint;
+
+ GetEffectiveOrgPolicyRequest();
+
+ GetEffectiveOrgPolicyRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("constraint")) {
+ constraint = _json["constraint"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (constraint != null) {
+ _json["constraint"] = constraint;
+ }
+ return _json;
+ }
+}
+
/** Request message for `GetIamPolicy` method. */
class GetIamPolicyRequest {
@@ -1192,6 +2071,209 @@
}
}
+/** The request sent to the GetOrgPolicy method. */
+class GetOrgPolicyRequest {
+ /** Name of the `Constraint` to get the `Policy`. */
+ core.String constraint;
+
+ GetOrgPolicyRequest();
+
+ GetOrgPolicyRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("constraint")) {
+ constraint = _json["constraint"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (constraint != null) {
+ _json["constraint"] = constraint;
+ }
+ return _json;
+ }
+}
+
+/**
+ * The request sent to the [ListAvailableOrgPolicyConstraints]
+ * google.cloud.OrgPolicy.v1.ListAvailableOrgPolicyConstraints] method.
+ */
+class ListAvailableOrgPolicyConstraintsRequest {
+ /**
+ * Size of the pages to be returned. This is currently unsupported and will
+ * be ignored. The server may at any point start using this field to limit
+ * page size.
+ */
+ core.int pageSize;
+ /**
+ * Page token used to retrieve the next page. This is currently unsupported
+ * and will be ignored. The server may at any point start using this field.
+ */
+ core.String pageToken;
+
+ ListAvailableOrgPolicyConstraintsRequest();
+
+ ListAvailableOrgPolicyConstraintsRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("pageSize")) {
+ pageSize = _json["pageSize"];
+ }
+ if (_json.containsKey("pageToken")) {
+ pageToken = _json["pageToken"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (pageSize != null) {
+ _json["pageSize"] = pageSize;
+ }
+ if (pageToken != null) {
+ _json["pageToken"] = pageToken;
+ }
+ return _json;
+ }
+}
+
+/**
+ * The response returned from the ListAvailableOrgPolicyConstraints method.
+ * Returns all `Constraints` that could be set at this level of the hierarchy
+ * (contrast with the response from `ListPolicies`, which returns all policies
+ * which are set).
+ */
+class ListAvailableOrgPolicyConstraintsResponse {
+ /**
+ * The collection of constraints that are settable on the request resource.
+ */
+ core.List<Constraint> constraints;
+ /** Page token used to retrieve the next page. This is currently not used. */
+ core.String nextPageToken;
+
+ ListAvailableOrgPolicyConstraintsResponse();
+
+ ListAvailableOrgPolicyConstraintsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("constraints")) {
+ constraints = _json["constraints"].map((value) => new Constraint.fromJson(value)).toList();
+ }
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (constraints != null) {
+ _json["constraints"] = constraints.map((value) => (value).toJson()).toList();
+ }
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ return _json;
+ }
+}
+
+/**
+ * A `Constraint` that allows or disallows a list of string values, which are
+ * configured by an Organization's policy administrator with a `Policy`.
+ */
+class ListConstraint {
+ /**
+ * Optional. The Google Cloud Console will try to default to a configuration
+ * that matches the value specified in this `Constraint`.
+ */
+ core.String suggestedValue;
+
+ ListConstraint();
+
+ ListConstraint.fromJson(core.Map _json) {
+ if (_json.containsKey("suggestedValue")) {
+ suggestedValue = _json["suggestedValue"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (suggestedValue != null) {
+ _json["suggestedValue"] = suggestedValue;
+ }
+ return _json;
+ }
+}
+
+/** The request sent to the ListOrgPolicies method. */
+class ListOrgPoliciesRequest {
+ /**
+ * Size of the pages to be returned. This is currently unsupported and will
+ * be ignored. The server may at any point start using this field to limit
+ * page size.
+ */
+ core.int pageSize;
+ /**
+ * Page token used to retrieve the next page. This is currently unsupported
+ * and will be ignored. The server may at any point start using this field.
+ */
+ core.String pageToken;
+
+ ListOrgPoliciesRequest();
+
+ ListOrgPoliciesRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("pageSize")) {
+ pageSize = _json["pageSize"];
+ }
+ if (_json.containsKey("pageToken")) {
+ pageToken = _json["pageToken"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (pageSize != null) {
+ _json["pageSize"] = pageSize;
+ }
+ if (pageToken != null) {
+ _json["pageToken"] = pageToken;
+ }
+ return _json;
+ }
+}
+
+/**
+ * The response returned from the ListOrgPolicies method. It will be empty
+ * if no `Policies` are set on the resource.
+ */
+class ListOrgPoliciesResponse {
+ /**
+ * Page token used to retrieve the next page. This is currently not used, but
+ * the server may at any point start supplying a valid token.
+ */
+ core.String nextPageToken;
+ /**
+ * The `Policies` that are set on the resource. It will be empty if no
+ * `Policies` are set.
+ */
+ core.List<OrgPolicy> policies;
+
+ ListOrgPoliciesResponse();
+
+ ListOrgPoliciesResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("policies")) {
+ policies = _json["policies"].map((value) => new OrgPolicy.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ if (policies != null) {
+ _json["policies"] = policies.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
/** The response returned from the `ListOrganizations` method. */
class ListOrganizationsResponse {
/**
@@ -1231,6 +2313,174 @@
}
/**
+ * Used in `policy_type` to specify how `list_policy` behaves at this
+ * resource.
+ *
+ * A `ListPolicy` can define specific values that are allowed or denied by
+ * setting either the `allowed_values` or `denied_values` fields. It can also
+ * be used to allow or deny all values, by setting the `all_values` field. If
+ * `all_values` is `ALL_VALUES_UNSPECIFIED`, exactly one of `allowed_values`
+ * or `denied_values` must be set (attempting to set both or neither will
+ * result in a failed request). If `all_values` is set to either `ALLOW` or
+ * `DENY`, `allowed_values` and `denied_values` must be unset.
+ */
+class ListPolicy {
+ /**
+ * The policy all_values state.
+ * Possible string values are:
+ * - "ALL_VALUES_UNSPECIFIED" : Indicates that either allowed_values or
+ * denied_values must be set.
+ * - "ALLOW" : A policy with this set allows all values.
+ * - "DENY" : A policy with this set denies all values.
+ */
+ core.String allValues;
+ /**
+ * List of values allowed at this resource. an only be set if no values are
+ * set for `denied_values` and `all_values` is set to
+ * `ALL_VALUES_UNSPECIFIED`.
+ */
+ core.List<core.String> allowedValues;
+ /**
+ * List of values denied at this resource. Can only be set if no values are
+ * set for `allowed_values` and `all_values` is set to
+ * `ALL_VALUES_UNSPECIFIED`.
+ */
+ core.List<core.String> deniedValues;
+ /**
+ * Determines the inheritance behavior for this `Policy`.
+ *
+ * By default, a `ListPolicy` set at a resource supercedes any `Policy` set
+ * anywhere up the resource hierarchy. However, if `inherit_from_parent` is
+ * set to `true`, then the values from the effective `Policy` of the parent
+ * resource are inherited, meaning the values set in this `Policy` are
+ * added to the values inherited up the hierarchy.
+ *
+ * Setting `Policy` hierarchies that inherit both allowed values and denied
+ * values isn't recommended in most circumstances to keep the configuration
+ * simple and understandable. However, it is possible to set a `Policy` with
+ * `allowed_values` set that inherits a `Policy` with `denied_values` set.
+ * In this case, the values that are allowed must be in `allowed_values` and
+ * not present in `denied_values`.
+ *
+ * For example, suppose you have a `Constraint`
+ * `constraints/serviceuser.services`, which has a `constraint_type` of
+ * `list_constraint`, and with `constraint_default` set to `ALLOW`.
+ * Suppose that at the Organization level, a `Policy` is applied that
+ * restricts the allowed API activations to {`E1`, `E2`}. Then, if a
+ * `Policy` is applied to a project below the Organization that has
+ * `inherit_from_parent` set to `false` and field all_values set to DENY,
+ * then an attempt to activate any API will be denied.
+ *
+ * The following examples demonstrate different possible layerings:
+ *
+ * Example 1 (no inherited values):
+ * `organizations/foo` has a `Policy` with values:
+ * {allowed_values: “E1” allowed_values:”E2”}
+ * ``projects/bar`` has `inherit_from_parent` `false` and values:
+ * {allowed_values: "E3" allowed_values: "E4"}
+ * The accepted values at `organizations/foo` are `E1`, `E2`.
+ * The accepted values at `projects/bar` are `E3`, and `E4`.
+ *
+ * Example 2 (inherited values):
+ * `organizations/foo` has a `Policy` with values:
+ * {allowed_values: “E1” allowed_values:”E2”}
+ * `projects/bar` has a `Policy` with values:
+ * {value: “E3” value: ”E4” inherit_from_parent: true}
+ * The accepted values at `organizations/foo` are `E1`, `E2`.
+ * The accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.
+ *
+ * Example 3 (inheriting both allowed and denied values):
+ * `organizations/foo` has a `Policy` with values:
+ * {allowed_values: "E1" allowed_values: "E2"}
+ * `projects/bar` has a `Policy` with:
+ * {denied_values: "E1"}
+ * The accepted values at `organizations/foo` are `E1`, `E2`.
+ * The value accepted at `projects/bar` is `E2`.
+ *
+ * Example 4 (RestoreDefault):
+ * `organizations/foo` has a `Policy` with values:
+ * {allowed_values: “E1” allowed_values:”E2”}
+ * `projects/bar` has a `Policy` with values:
+ * {RestoreDefault: {}}
+ * The accepted values at `organizations/foo` are `E1`, `E2`.
+ * The accepted values at `projects/bar` are either all or none depending on
+ * the value of `constraint_default` (if `ALLOW`, all; if
+ * `DENY`, none).
+ *
+ * Example 5 (no policy inherits parent policy):
+ * `organizations/foo` has no `Policy` set.
+ * `projects/bar` has no `Policy` set.
+ * The accepted values at both levels are either all or none depending on
+ * the value of `constraint_default` (if `ALLOW`, all; if
+ * `DENY`, none).
+ *
+ * Example 6 (ListConstraint allowing all):
+ * `organizations/foo` has a `Policy` with values:
+ * {allowed_values: “E1” allowed_values: ”E2”}
+ * `projects/bar` has a `Policy` with:
+ * {all: ALLOW}
+ * The accepted values at `organizations/foo` are `E1`, E2`.
+ * Any value is accepted at `projects/bar`.
+ *
+ * Example 7 (ListConstraint allowing none):
+ * `organizations/foo` has a `Policy` with values:
+ * {allowed_values: “E1” allowed_values: ”E2”}
+ * `projects/bar` has a `Policy` with:
+ * {all: DENY}
+ * The accepted values at `organizations/foo` are `E1`, E2`.
+ * No value is accepted at `projects/bar`.
+ */
+ core.bool inheritFromParent;
+ /**
+ * Optional. The Google Cloud Console will try to default to a configuration
+ * that matches the value specified in this `Policy`. If `suggested_value`
+ * is not set, it will inherit the value specified higher in the hierarchy,
+ * unless `inherit_from_parent` is `false`.
+ */
+ core.String suggestedValue;
+
+ ListPolicy();
+
+ ListPolicy.fromJson(core.Map _json) {
+ if (_json.containsKey("allValues")) {
+ allValues = _json["allValues"];
+ }
+ if (_json.containsKey("allowedValues")) {
+ allowedValues = _json["allowedValues"];
+ }
+ if (_json.containsKey("deniedValues")) {
+ deniedValues = _json["deniedValues"];
+ }
+ if (_json.containsKey("inheritFromParent")) {
+ inheritFromParent = _json["inheritFromParent"];
+ }
+ if (_json.containsKey("suggestedValue")) {
+ suggestedValue = _json["suggestedValue"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (allValues != null) {
+ _json["allValues"] = allValues;
+ }
+ if (allowedValues != null) {
+ _json["allowedValues"] = allowedValues;
+ }
+ if (deniedValues != null) {
+ _json["deniedValues"] = deniedValues;
+ }
+ if (inheritFromParent != null) {
+ _json["inheritFromParent"] = inheritFromParent;
+ }
+ if (suggestedValue != null) {
+ _json["suggestedValue"] = suggestedValue;
+ }
+ return _json;
+ }
+}
+
+/**
* A page of the response received from the
* ListProjects
* method.
@@ -1284,6 +2534,115 @@
}
/**
+ * Defines a Cloud Organization `Policy` which is used to specify `Constraints`
+ * for configurations of Cloud Platform resources.
+ */
+class OrgPolicy {
+ /** For boolean `Constraints`, whether to enforce the `Constraint` or not. */
+ BooleanPolicy booleanPolicy;
+ /**
+ * The name of the `Constraint` the `Policy` is configuring, for example,
+ * `constraints/serviceuser.services`.
+ *
+ * Immutable after creation.
+ */
+ core.String constraint;
+ /**
+ * An opaque tag indicating the current version of the `Policy`, used for
+ * concurrency control.
+ *
+ * When the `Policy` is returned from either a `GetPolicy` or a
+ * `ListOrgPolicy` request, this `etag` indicates the version of the current
+ * `Policy` to use when executing a read-modify-write loop.
+ *
+ * When the `Policy` is returned from a `GetEffectivePolicy` request, the
+ * `etag` will be unset.
+ *
+ * When the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value
+ * that was returned from a `GetOrgPolicy` request as part of a
+ * read-modify-write loop for concurrency control. Not setting the `etag`in a
+ * `SetOrgPolicy` request will result in an unconditional write of the
+ * `Policy`.
+ */
+ core.String etag;
+ core.List<core.int> get etagAsBytes {
+ return convert.BASE64.decode(etag);
+ }
+
+ void set etagAsBytes(core.List<core.int> _bytes) {
+ etag = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
+ }
+ /** List of values either allowed or disallowed. */
+ ListPolicy listPolicy;
+ /**
+ * Restores the default behavior of the constraint; independent of
+ * `Constraint` type.
+ */
+ RestoreDefault restoreDefault;
+ /**
+ * The time stamp the `Policy` was previously updated. This is set by the
+ * server, not specified by the caller, and represents the last time a call to
+ * `SetOrgPolicy` was made for that `Policy`. Any value set by the client will
+ * be ignored.
+ */
+ core.String updateTime;
+ /** Version of the `Policy`. Default version is 0; */
+ core.int version;
+
+ OrgPolicy();
+
+ OrgPolicy.fromJson(core.Map _json) {
+ if (_json.containsKey("booleanPolicy")) {
+ booleanPolicy = new BooleanPolicy.fromJson(_json["booleanPolicy"]);
+ }
+ if (_json.containsKey("constraint")) {
+ constraint = _json["constraint"];
+ }
+ if (_json.containsKey("etag")) {
+ etag = _json["etag"];
+ }
+ if (_json.containsKey("listPolicy")) {
+ listPolicy = new ListPolicy.fromJson(_json["listPolicy"]);
+ }
+ if (_json.containsKey("restoreDefault")) {
+ restoreDefault = new RestoreDefault.fromJson(_json["restoreDefault"]);
+ }
+ if (_json.containsKey("updateTime")) {
+ updateTime = _json["updateTime"];
+ }
+ if (_json.containsKey("version")) {
+ version = _json["version"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (booleanPolicy != null) {
+ _json["booleanPolicy"] = (booleanPolicy).toJson();
+ }
+ if (constraint != null) {
+ _json["constraint"] = constraint;
+ }
+ if (etag != null) {
+ _json["etag"] = etag;
+ }
+ if (listPolicy != null) {
+ _json["listPolicy"] = (listPolicy).toJson();
+ }
+ if (restoreDefault != null) {
+ _json["restoreDefault"] = (restoreDefault).toJson();
+ }
+ if (updateTime != null) {
+ _json["updateTime"] = updateTime;
+ }
+ if (version != null) {
+ _json["version"] = version;
+ }
+ return _json;
+ }
+}
+
+/**
* The root node in the resource hierarchy to which a particular entity's
* (e.g., company) resources belong.
*/
@@ -1439,6 +2798,8 @@
* [IAM developer's guide](https://cloud.google.com/iam).
*/
class Policy {
+ /** Specifies cloud audit logging configuration for this policy. */
+ core.List<AuditConfig> auditConfigs;
/**
* Associates a list of `members` to a `role`.
* Multiple `bindings` must not be specified for the same `role`.
@@ -1471,6 +2832,9 @@
Policy();
Policy.fromJson(core.Map _json) {
+ if (_json.containsKey("auditConfigs")) {
+ auditConfigs = _json["auditConfigs"].map((value) => new AuditConfig.fromJson(value)).toList();
+ }
if (_json.containsKey("bindings")) {
bindings = _json["bindings"].map((value) => new Binding.fromJson(value)).toList();
}
@@ -1484,6 +2848,9 @@
core.Map toJson() {
var _json = new core.Map();
+ if (auditConfigs != null) {
+ _json["auditConfigs"] = auditConfigs.map((value) => (value).toJson()).toList();
+ }
if (bindings != null) {
_json["bindings"] = bindings.map((value) => (value).toJson()).toList();
}
@@ -1723,6 +3090,33 @@
}
}
+/**
+ * Ignores policies set above this resource and restores the
+ * `constraint_default` enforcement behavior of the specific `Constraint` at
+ * this resource.
+ *
+ * Suppose that `constraint_default` is set to `ALLOW` for the
+ * `Constraint` `constraints/serviceuser.services`. Suppose that organization
+ * foo.com sets a `Policy` at their Organization resource node that restricts
+ * the allowed service activations to deny all service activations. They
+ * could then set a `Policy` with the `policy_type` `restore_default` on
+ * several experimental projects, restoring the `constraint_default`
+ * enforcement of the `Constraint` for only those projects, allowing those
+ * projects to have all services activated.
+ */
+class RestoreDefault {
+
+ RestoreDefault();
+
+ RestoreDefault.fromJson(core.Map _json) {
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ return _json;
+ }
+}
+
/** Request message for `SetIamPolicy` method. */
class SetIamPolicyRequest {
/**
@@ -1732,6 +3126,14 @@
* might reject them.
*/
Policy policy;
+ /**
+ * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
+ * the fields in the mask will be modified. If no mask is provided, the
+ * following default mask is used:
+ * paths: "bindings, etag"
+ * This field is only used by Cloud IAM.
+ */
+ core.String updateMask;
SetIamPolicyRequest();
@@ -1739,6 +3141,34 @@
if (_json.containsKey("policy")) {
policy = new Policy.fromJson(_json["policy"]);
}
+ if (_json.containsKey("updateMask")) {
+ updateMask = _json["updateMask"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (policy != null) {
+ _json["policy"] = (policy).toJson();
+ }
+ if (updateMask != null) {
+ _json["updateMask"] = updateMask;
+ }
+ return _json;
+ }
+}
+
+/** The request sent to the SetOrgPolicyRequest method. */
+class SetOrgPolicyRequest {
+ /** `Policy` to set on the resource. */
+ OrgPolicy policy;
+
+ SetOrgPolicyRequest();
+
+ SetOrgPolicyRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("policy")) {
+ policy = new OrgPolicy.fromJson(_json["policy"]);
+ }
}
core.Map toJson() {
diff --git a/generated/googleapis_beta/lib/dataflow/v1b3.dart b/generated/googleapis_beta/lib/dataflow/v1b3.dart
index f102fbb..12b014c 100644
--- a/generated/googleapis_beta/lib/dataflow/v1b3.dart
+++ b/generated/googleapis_beta/lib/dataflow/v1b3.dart
@@ -172,8 +172,6 @@
*
* [jobId] - The job ID.
*
- * [location] - The location that contains this job.
- *
* [view] - The level of information requested in response.
* Possible string values are:
* - "JOB_VIEW_UNKNOWN" : A JOB_VIEW_UNKNOWN.
@@ -181,6 +179,8 @@
* - "JOB_VIEW_ALL" : A JOB_VIEW_ALL.
* - "JOB_VIEW_DESCRIPTION" : A JOB_VIEW_DESCRIPTION.
*
+ * [location] - The location that contains this job.
+ *
* Completes with a [Job].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -189,7 +189,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Job> get(core.String projectId, core.String jobId, {core.String location, core.String view}) {
+ async.Future<Job> get(core.String projectId, core.String jobId, {core.String view, core.String location}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -203,12 +203,12 @@
if (jobId == null) {
throw new core.ArgumentError("Parameter jobId is required.");
}
- if (location != null) {
- _queryParams["location"] = [location];
- }
if (view != null) {
_queryParams["view"] = [view];
}
+ if (location != null) {
+ _queryParams["location"] = [location];
+ }
_url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/jobs/' + commons.Escaper.ecapeVariable('$jobId');
@@ -535,15 +535,6 @@
*
* [jobId] - The job to get messages about.
*
- * [startTime] - If specified, return only messages with timestamps >=
- * start_time.
- * The default is the job creation time (i.e. beginning of messages).
- *
- * [pageToken] - If supplied, this should be the value of next_page_token
- * returned
- * by an earlier call. This will cause the next page of results to
- * be returned.
- *
* [pageSize] - If specified, determines the maximum number of messages to
* return. If unspecified, the service may choose an appropriate
* default, or may return an arbitrarily large number of results.
@@ -557,12 +548,21 @@
* - "JOB_MESSAGE_WARNING" : A JOB_MESSAGE_WARNING.
* - "JOB_MESSAGE_ERROR" : A JOB_MESSAGE_ERROR.
*
- * [location] - The location which contains the job specified by job_id.
- *
* [endTime] - Return only messages with timestamps < end_time. The default is
* now
* (i.e. return up to the latest messages available).
*
+ * [location] - The location which contains the job specified by job_id.
+ *
+ * [pageToken] - If supplied, this should be the value of next_page_token
+ * returned
+ * by an earlier call. This will cause the next page of results to
+ * be returned.
+ *
+ * [startTime] - If specified, return only messages with timestamps >=
+ * start_time.
+ * The default is the job creation time (i.e. beginning of messages).
+ *
* Completes with a [ListJobMessagesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -571,7 +571,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListJobMessagesResponse> list(core.String projectId, core.String jobId, {core.String startTime, core.String pageToken, core.int pageSize, core.String minimumImportance, core.String location, core.String endTime}) {
+ async.Future<ListJobMessagesResponse> list(core.String projectId, core.String jobId, {core.int pageSize, core.String minimumImportance, core.String endTime, core.String location, core.String pageToken, core.String startTime}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -585,23 +585,23 @@
if (jobId == null) {
throw new core.ArgumentError("Parameter jobId is required.");
}
- if (startTime != null) {
- _queryParams["startTime"] = [startTime];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (minimumImportance != null) {
_queryParams["minimumImportance"] = [minimumImportance];
}
+ if (endTime != null) {
+ _queryParams["endTime"] = [endTime];
+ }
if (location != null) {
_queryParams["location"] = [location];
}
- if (endTime != null) {
- _queryParams["endTime"] = [endTime];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (startTime != null) {
+ _queryParams["startTime"] = [startTime];
}
_url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/jobs/' + commons.Escaper.ecapeVariable('$jobId') + '/messages';
@@ -756,8 +756,6 @@
*
* [location] - The location that contains this job.
*
- * [replaceJobId] - Deprecated. This field is now in the Job message.
- *
* [view] - The level of information requested in response.
* Possible string values are:
* - "JOB_VIEW_UNKNOWN" : A JOB_VIEW_UNKNOWN.
@@ -765,6 +763,8 @@
* - "JOB_VIEW_ALL" : A JOB_VIEW_ALL.
* - "JOB_VIEW_DESCRIPTION" : A JOB_VIEW_DESCRIPTION.
*
+ * [replaceJobId] - Deprecated. This field is now in the Job message.
+ *
* Completes with a [Job].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -773,7 +773,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Job> create(Job request, core.String projectId, core.String location, {core.String replaceJobId, core.String view}) {
+ async.Future<Job> create(Job request, core.String projectId, core.String location, {core.String view, core.String replaceJobId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -790,12 +790,12 @@
if (location == null) {
throw new core.ArgumentError("Parameter location is required.");
}
- if (replaceJobId != null) {
- _queryParams["replaceJobId"] = [replaceJobId];
- }
if (view != null) {
_queryParams["view"] = [view];
}
+ if (replaceJobId != null) {
+ _queryParams["replaceJobId"] = [replaceJobId];
+ }
_url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/locations/' + commons.Escaper.ecapeVariable('$location') + '/jobs';
@@ -932,17 +932,6 @@
*
* [location] - The location that contains this job.
*
- * [filter] - The kind of filter to use.
- * Possible string values are:
- * - "UNKNOWN" : A UNKNOWN.
- * - "ALL" : A ALL.
- * - "TERMINATED" : A TERMINATED.
- * - "ACTIVE" : A ACTIVE.
- *
- * [pageToken] - Set this to the 'next_page_token' field of a previous
- * response
- * to request additional results in a long list.
- *
* [pageSize] - If there are many jobs, limit response to at most this many.
* The actual number of jobs returned will be the lesser of max_responses
* and an unspecified server-defined limit.
@@ -955,6 +944,17 @@
* - "JOB_VIEW_ALL" : A JOB_VIEW_ALL.
* - "JOB_VIEW_DESCRIPTION" : A JOB_VIEW_DESCRIPTION.
*
+ * [filter] - The kind of filter to use.
+ * Possible string values are:
+ * - "UNKNOWN" : A UNKNOWN.
+ * - "ALL" : A ALL.
+ * - "TERMINATED" : A TERMINATED.
+ * - "ACTIVE" : A ACTIVE.
+ *
+ * [pageToken] - Set this to the 'next_page_token' field of a previous
+ * response
+ * to request additional results in a long list.
+ *
* Completes with a [ListJobsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -963,7 +963,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListJobsResponse> list(core.String projectId, core.String location, {core.String filter, core.String pageToken, core.int pageSize, core.String view}) {
+ async.Future<ListJobsResponse> list(core.String projectId, core.String location, {core.int pageSize, core.String view, core.String filter, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -977,18 +977,18 @@
if (location == null) {
throw new core.ArgumentError("Parameter location is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (view != null) {
_queryParams["view"] = [view];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/locations/' + commons.Escaper.ecapeVariable('$location') + '/jobs';
@@ -1390,15 +1390,15 @@
* [projectId] - Required. The ID of the Cloud Platform project that the job
* belongs to.
*
- * [dryRun] - Whether or not the job should actually be executed after
- * validating parameters. Defaults to false. Validation errors do
- * not cause the HTTP request to fail if true.
- *
* [gcsPath] - Required. A Cloud Storage path to the template from which to
* create
* the job.
* Must be valid Cloud Storage URL, beginning with 'gs://'.
*
+ * [dryRun] - Whether or not the job should actually be executed after
+ * validating parameters. Defaults to false. Validation errors do
+ * not cause the HTTP request to fail if true.
+ *
* Completes with a [LaunchTemplateResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1407,7 +1407,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<LaunchTemplateResponse> launch(LaunchTemplateParameters request, core.String projectId, {core.bool dryRun, core.String gcsPath}) {
+ async.Future<LaunchTemplateResponse> launch(LaunchTemplateParameters request, core.String projectId, {core.String gcsPath, core.bool dryRun}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1421,12 +1421,12 @@
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId is required.");
}
- if (dryRun != null) {
- _queryParams["dryRun"] = ["${dryRun}"];
- }
if (gcsPath != null) {
_queryParams["gcsPath"] = [gcsPath];
}
+ if (dryRun != null) {
+ _queryParams["dryRun"] = ["${dryRun}"];
+ }
_url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/templates:launch';
@@ -3843,13 +3843,13 @@
* streaming computation cross-worker message delivery.
*/
core.String deliveryEndpoint;
- /** The end (exclusive) of the key range. */
- core.String end;
/**
- * The location of the persistent state for this range, as a
+ * DEPRECATED. The location of the persistent state for this range, as a
* persistent directory in the worker local filesystem.
*/
- core.String persistentDirectory;
+ core.String deprecatedPersistentDirectory;
+ /** The end (exclusive) of the key range. */
+ core.String end;
/** The start (inclusive) of the key range. */
core.String start;
@@ -3862,12 +3862,12 @@
if (_json.containsKey("deliveryEndpoint")) {
deliveryEndpoint = _json["deliveryEndpoint"];
}
+ if (_json.containsKey("deprecatedPersistentDirectory")) {
+ deprecatedPersistentDirectory = _json["deprecatedPersistentDirectory"];
+ }
if (_json.containsKey("end")) {
end = _json["end"];
}
- if (_json.containsKey("persistentDirectory")) {
- persistentDirectory = _json["persistentDirectory"];
- }
if (_json.containsKey("start")) {
start = _json["start"];
}
@@ -3881,12 +3881,12 @@
if (deliveryEndpoint != null) {
_json["deliveryEndpoint"] = deliveryEndpoint;
}
+ if (deprecatedPersistentDirectory != null) {
+ _json["deprecatedPersistentDirectory"] = deprecatedPersistentDirectory;
+ }
if (end != null) {
_json["end"] = end;
}
- if (persistentDirectory != null) {
- _json["persistentDirectory"] = persistentDirectory;
- }
if (start != null) {
_json["start"] = start;
}
@@ -3939,11 +3939,6 @@
* the job was successfully launched.
*/
Job job;
- /**
- * The status of the launch template request. Any problems with the request
- * will be indicated in the error_details.
- */
- Status status;
LaunchTemplateResponse();
@@ -3951,9 +3946,6 @@
if (_json.containsKey("job")) {
job = new Job.fromJson(_json["job"]);
}
- if (_json.containsKey("status")) {
- status = new Status.fromJson(_json["status"]);
- }
}
core.Map toJson() {
@@ -3961,9 +3953,6 @@
if (job != null) {
_json["job"] = (job).toJson();
}
- if (status != null) {
- _json["status"] = (status).toJson();
- }
return _json;
}
}
diff --git a/generated/googleapis_beta/lib/dataproc/v1beta1.dart b/generated/googleapis_beta/lib/dataproc/v1beta1.dart
index 62afbc6..32d79ee 100644
--- a/generated/googleapis_beta/lib/dataproc/v1beta1.dart
+++ b/generated/googleapis_beta/lib/dataproc/v1beta1.dart
@@ -443,14 +443,14 @@
* [projectId] - Required The ID of the Google Cloud Platform project that the
* cluster belongs to.
*
- * [filter] - Optional A filter constraining which clusters to list. Valid
- * filters contain label terms such as: labels.key1 = val1 AND (-labels.k2 =
- * val2 OR labels.k3 = val3)
- *
* [pageToken] - The standard List page token.
*
* [pageSize] - The standard List page size.
*
+ * [filter] - Optional A filter constraining which clusters to list. Valid
+ * filters contain label terms such as: labels.key1 = val1 AND (-labels.k2 =
+ * val2 OR labels.k3 = val3)
+ *
* Completes with a [ListClustersResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -459,7 +459,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListClustersResponse> list(core.String projectId, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListClustersResponse> list(core.String projectId, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -470,15 +470,15 @@
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
_url = 'v1beta1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/clusters';
@@ -733,6 +733,14 @@
* [projectId] - Required The ID of the Google Cloud Platform project that the
* job belongs to.
*
+ * [pageToken] - Optional The page token, returned by a previous call, to
+ * request the next page of results.
+ *
+ * [pageSize] - Optional The number of results to return in each response.
+ *
+ * [clusterName] - Optional If set, the returned jobs list includes only jobs
+ * that were submitted to the named cluster.
+ *
* [filter] - Optional A filter constraining which jobs to list. Valid filters
* contain job state and label terms such as: labels.key1 = val1 AND
* (labels.k2 = val2 OR labels.k3 = val3)
@@ -744,14 +752,6 @@
* - "ACTIVE" : A ACTIVE.
* - "NON_ACTIVE" : A NON_ACTIVE.
*
- * [pageToken] - Optional The page token, returned by a previous call, to
- * request the next page of results.
- *
- * [pageSize] - Optional The number of results to return in each response.
- *
- * [clusterName] - Optional If set, the returned jobs list includes only jobs
- * that were submitted to the named cluster.
- *
* Completes with a [ListJobsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -760,7 +760,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListJobsResponse> list(core.String projectId, {core.String filter, core.String jobStateMatcher, core.String pageToken, core.int pageSize, core.String clusterName}) {
+ async.Future<ListJobsResponse> list(core.String projectId, {core.String pageToken, core.int pageSize, core.String clusterName, core.String filter, core.String jobStateMatcher}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -771,12 +771,6 @@
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
- if (jobStateMatcher != null) {
- _queryParams["jobStateMatcher"] = [jobStateMatcher];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -786,6 +780,12 @@
if (clusterName != null) {
_queryParams["clusterName"] = [clusterName];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
+ if (jobStateMatcher != null) {
+ _queryParams["jobStateMatcher"] = [jobStateMatcher];
+ }
_url = 'v1beta1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/jobs';
@@ -1355,6 +1355,18 @@
core.String state;
/** Time when this state was entered. */
core.String stateStartTime;
+ /**
+ * Output-only Additional state information that includes status reported by
+ * the agent.
+ * Possible string values are:
+ * - "UNSPECIFIED"
+ * - "UNHEALTHY" : The cluster is known to be in an unhealthy state (for
+ * example, critical daemons are not running or HDFS capacity is
+ * exhausted).Applies to RUNNING state.
+ * - "STALE_STATUS" : The agent-reported status is out of date (may occur if
+ * Cloud Dataproc loses communication with Agent).Applies to RUNNING state.
+ */
+ core.String substate;
ClusterStatus();
@@ -1368,6 +1380,9 @@
if (_json.containsKey("stateStartTime")) {
stateStartTime = _json["stateStartTime"];
}
+ if (_json.containsKey("substate")) {
+ substate = _json["substate"];
+ }
}
core.Map toJson() {
@@ -1381,6 +1396,9 @@
if (stateStartTime != null) {
_json["stateStartTime"] = stateStartTime;
}
+ if (substate != null) {
+ _json["substate"] = substate;
+ }
return _json;
}
}
@@ -2238,6 +2256,21 @@
core.String state;
/** Output-only The time when this state was entered. */
core.String stateStartTime;
+ /**
+ * Output-only Additional state information, which includes status reported by
+ * the agent.
+ * Possible string values are:
+ * - "UNSPECIFIED"
+ * - "SUBMITTED" : The Job is submitted to the agent.Applies to RUNNING state.
+ * - "QUEUED" : The Job has been received and is awaiting execution (it may be
+ * waiting for a condition to be met). See the "details" field for the reason
+ * for the delay.Applies to RUNNING state.
+ * - "STALE_STATUS" : The agent-reported status is out of date, which may be
+ * caused by a loss of communication between the agent and Cloud Dataproc. If
+ * the agent does not send a timely update, the job will fail.Applies to
+ * RUNNING state.
+ */
+ core.String substate;
JobStatus();
@@ -2251,6 +2284,9 @@
if (_json.containsKey("stateStartTime")) {
stateStartTime = _json["stateStartTime"];
}
+ if (_json.containsKey("substate")) {
+ substate = _json["substate"];
+ }
}
core.Map toJson() {
@@ -2264,6 +2300,9 @@
if (stateStartTime != null) {
_json["stateStartTime"] = stateStartTime;
}
+ if (substate != null) {
+ _json["substate"] = substate;
+ }
return _json;
}
}
diff --git a/generated/googleapis_beta/lib/dlp/v2beta1.dart b/generated/googleapis_beta/lib/dlp/v2beta1.dart
new file mode 100644
index 0000000..cb34263
--- /dev/null
+++ b/generated/googleapis_beta/lib/dlp/v2beta1.dart
@@ -0,0 +1,1968 @@
+// This is a generated file (see the discoveryapis_generator project).
+
+library googleapis_beta.dlp.v2beta1;
+
+import 'dart:core' as core;
+import 'dart:async' as async;
+import 'dart:convert' as convert;
+
+import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
+import 'package:http/http.dart' as http;
+
+export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
+ ApiRequestError, DetailedApiRequestError;
+
+const core.String USER_AGENT = 'dart-api-client dlp/v2beta1';
+
+/**
+ * The Google Data Loss Prevention API provides methods for detection of
+ * privacy-sensitive fragments in text, images, and Google Cloud Platform
+ * storage repositories.
+ */
+class DlpApi {
+ /** View and manage your data across Google Cloud Platform services */
+ static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform";
+
+
+ final commons.ApiRequester _requester;
+
+ ContentResourceApi get content => new ContentResourceApi(_requester);
+ InspectResourceApi get inspect => new InspectResourceApi(_requester);
+ RootCategoriesResourceApi get rootCategories => new RootCategoriesResourceApi(_requester);
+
+ DlpApi(http.Client client, {core.String rootUrl: "https://dlp.googleapis.com/", core.String servicePath: ""}) :
+ _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
+}
+
+
+class ContentResourceApi {
+ final commons.ApiRequester _requester;
+
+ ContentResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Find potentially sensitive info in a list of strings.
+ * This method has limits on input size, processing time, and output size.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * Completes with a [InspectContentResponse].
+ *
+ * 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<InspectContentResponse> inspect(InspectContentRequest request) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+
+ _url = 'v2beta1/content:inspect';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new InspectContentResponse.fromJson(data));
+ }
+
+ /**
+ * Redact potentially sensitive info from a list of strings.
+ * This method has limits on input size, processing time, and output size.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * Completes with a [RedactContentResponse].
+ *
+ * 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<RedactContentResponse> redact(RedactContentRequest request) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+
+ _url = 'v2beta1/content:redact';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new RedactContentResponse.fromJson(data));
+ }
+
+}
+
+
+class InspectResourceApi {
+ final commons.ApiRequester _requester;
+
+ InspectOperationsResourceApi get operations => new InspectOperationsResourceApi(_requester);
+ InspectResultsResourceApi get results => new InspectResultsResourceApi(_requester);
+
+ InspectResourceApi(commons.ApiRequester client) :
+ _requester = client;
+}
+
+
+class InspectOperationsResourceApi {
+ final commons.ApiRequester _requester;
+
+ InspectOperationsResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Cancels an operation. Use the get method to check whether the cancellation
+ * succeeded or whether the operation completed despite cancellation.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [name] - The name of the operation resource to be cancelled.
+ * Value must have pattern "^inspect/operations/[^/]+$".
+ *
+ * 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<Empty> cancel(CancelOperationRequest request, core.String name) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (name == null) {
+ throw new core.ArgumentError("Parameter name is required.");
+ }
+
+ _url = 'v2beta1/' + commons.Escaper.ecapeVariableReserved('$name') + ':cancel';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Empty.fromJson(data));
+ }
+
+ /**
+ * Schedule a job scanning content in a Google Cloud Platform data repository.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * 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<Operation> create(CreateInspectOperationRequest request) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+
+ _url = 'v2beta1/inspect/operations';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
+ /**
+ * This method is not supported and the server returns `UNIMPLEMENTED`.
+ *
+ * Request parameters:
+ *
+ * [name] - The name of the operation resource to be deleted.
+ * Value must have pattern "^inspect/operations/[^/]+$".
+ *
+ * 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<Empty> delete(core.String name) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (name == null) {
+ throw new core.ArgumentError("Parameter name is required.");
+ }
+
+ _url = 'v2beta1/' + commons.Escaper.ecapeVariableReserved('$name');
+
+ var _response = _requester.request(_url,
+ "DELETE",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Empty.fromJson(data));
+ }
+
+ /**
+ * 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 "^inspect/operations/[^/]+$".
+ *
+ * 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<Operation> get(core.String name) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (name == null) {
+ throw new core.ArgumentError("Parameter name is required.");
+ }
+
+ _url = 'v2beta1/' + commons.Escaper.ecapeVariableReserved('$name');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
+ /**
+ * Lists operations that match the specified filter in the request. If the
+ * server doesn't support this method, it returns `UNIMPLEMENTED`.
+ *
+ * NOTE: the `name` binding below allows API services to override the binding
+ * to use different resource name schemes, such as `users / * /operations`.
+ *
+ * Request parameters:
+ *
+ * [name] - The name of the operation collection.
+ * Value must have pattern "^inspect/operations$".
+ *
+ * [pageSize] - The list page size. The max allowed value is 256 and default
+ * is 100.
+ *
+ * [filter] - This parameter supports filtering by done, ie done=true or
+ * done=false.
+ *
+ * [pageToken] - The list page token.
+ *
+ * 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<ListOperationsResponse> list(core.String name, {core.int pageSize, core.String filter, core.String pageToken}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (name == null) {
+ throw new core.ArgumentError("Parameter name is required.");
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+
+ _url = 'v2beta1/' + commons.Escaper.ecapeVariableReserved('$name');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListOperationsResponse.fromJson(data));
+ }
+
+}
+
+
+class InspectResultsResourceApi {
+ final commons.ApiRequester _requester;
+
+ InspectResultsFindingsResourceApi get findings => new InspectResultsFindingsResourceApi(_requester);
+
+ InspectResultsResourceApi(commons.ApiRequester client) :
+ _requester = client;
+}
+
+
+class InspectResultsFindingsResourceApi {
+ final commons.ApiRequester _requester;
+
+ InspectResultsFindingsResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Returns list of results for given inspect operation result set id.
+ *
+ * Request parameters:
+ *
+ * [name] - Identifier of the results set returned as metadata of
+ * the longrunning operation created by a call to CreateInspectOperation.
+ * Should be in the format of `inspect/results/{id}.
+ * Value must have pattern "^inspect/results/[^/]+$".
+ *
+ * [pageToken] - The value returned by the last `ListInspectFindingsResponse`;
+ * indicates
+ * that this is a continuation of a prior `ListInspectFindings` call, and that
+ * the system should return the next page of data.
+ *
+ * [pageSize] - Maximum number of results to return.
+ * If 0, the implementation will select a reasonable value.
+ *
+ * Completes with a [ListInspectFindingsResponse].
+ *
+ * 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<ListInspectFindingsResponse> list(core.String name, {core.String pageToken, core.int pageSize}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (name == null) {
+ throw new core.ArgumentError("Parameter name is required.");
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+
+ _url = 'v2beta1/' + commons.Escaper.ecapeVariableReserved('$name') + '/findings';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListInspectFindingsResponse.fromJson(data));
+ }
+
+}
+
+
+class RootCategoriesResourceApi {
+ final commons.ApiRequester _requester;
+
+ RootCategoriesInfoTypesResourceApi get infoTypes => new RootCategoriesInfoTypesResourceApi(_requester);
+
+ RootCategoriesResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Returns the list of root categories of sensitive information.
+ *
+ * Request parameters:
+ *
+ * [languageCode] - Optional language code for localized friendly category
+ * names.
+ * If omitted or if localized strings are not available,
+ * en-US strings will be returned.
+ *
+ * Completes with a [ListRootCategoriesResponse].
+ *
+ * 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<ListRootCategoriesResponse> list({core.String languageCode}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (languageCode != null) {
+ _queryParams["languageCode"] = [languageCode];
+ }
+
+ _url = 'v2beta1/rootCategories';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListRootCategoriesResponse.fromJson(data));
+ }
+
+}
+
+
+class RootCategoriesInfoTypesResourceApi {
+ final commons.ApiRequester _requester;
+
+ RootCategoriesInfoTypesResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Returns sensitive information types for given category.
+ *
+ * Request parameters:
+ *
+ * [category] - Category name as returned by ListRootCategories.
+ * Value must have pattern "^[^/]+$".
+ *
+ * [languageCode] - Optional BCP-47 language code for localized info type
+ * friendly
+ * names. If omitted, or if localized strings are not available,
+ * en-US strings will be returned.
+ *
+ * Completes with a [ListInfoTypesResponse].
+ *
+ * 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<ListInfoTypesResponse> list(core.String category, {core.String languageCode}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (category == null) {
+ throw new core.ArgumentError("Parameter category is required.");
+ }
+ if (languageCode != null) {
+ _queryParams["languageCode"] = [languageCode];
+ }
+
+ _url = 'v2beta1/rootCategories/' + commons.Escaper.ecapeVariableReserved('$category') + '/infoTypes';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListInfoTypesResponse.fromJson(data));
+ }
+
+}
+
+
+
+/** The request message for Operations.CancelOperation. */
+class CancelOperationRequest {
+
+ CancelOperationRequest();
+
+ CancelOperationRequest.fromJson(core.Map _json) {
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ return _json;
+ }
+}
+
+/** Info Type Category description. */
+class CategoryDescription {
+ /** Human readable form of the category name. */
+ core.String displayName;
+ /** Internal name of the category. */
+ core.String name;
+
+ CategoryDescription();
+
+ CategoryDescription.fromJson(core.Map _json) {
+ if (_json.containsKey("displayName")) {
+ displayName = _json["displayName"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (displayName != null) {
+ _json["displayName"] = displayName;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ return _json;
+ }
+}
+
+/** Record key for a finding in a Cloud Storage file. */
+class CloudStorageKey {
+ /** Path to the file. */
+ core.String filePath;
+ /** Byte offset of the referenced data in the file. */
+ core.String startOffset;
+
+ CloudStorageKey();
+
+ CloudStorageKey.fromJson(core.Map _json) {
+ if (_json.containsKey("filePath")) {
+ filePath = _json["filePath"];
+ }
+ if (_json.containsKey("startOffset")) {
+ startOffset = _json["startOffset"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (filePath != null) {
+ _json["filePath"] = filePath;
+ }
+ if (startOffset != null) {
+ _json["startOffset"] = startOffset;
+ }
+ return _json;
+ }
+}
+
+/**
+ * Options defining a file or a set of files (path ending with *) within
+ * a Google Cloud Storage bucket.
+ */
+class CloudStorageOptions {
+ FileSet fileSet;
+
+ CloudStorageOptions();
+
+ CloudStorageOptions.fromJson(core.Map _json) {
+ if (_json.containsKey("fileSet")) {
+ fileSet = new FileSet.fromJson(_json["fileSet"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (fileSet != null) {
+ _json["fileSet"] = (fileSet).toJson();
+ }
+ return _json;
+ }
+}
+
+/** Container structure for the content to inspect. */
+class ContentItem {
+ /** Content data to inspect or redact. */
+ core.String data;
+ core.List<core.int> get dataAsBytes {
+ return convert.BASE64.decode(data);
+ }
+
+ void set dataAsBytes(core.List<core.int> _bytes) {
+ data = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
+ }
+ /**
+ * Type of the content, as defined in Content-Type HTTP header.
+ * Supported types are: all "text" types, octet streams, PNG images,
+ * JPEG images.
+ */
+ core.String type;
+ /** String data to inspect or redact. */
+ core.String value;
+
+ ContentItem();
+
+ ContentItem.fromJson(core.Map _json) {
+ if (_json.containsKey("data")) {
+ data = _json["data"];
+ }
+ if (_json.containsKey("type")) {
+ type = _json["type"];
+ }
+ if (_json.containsKey("value")) {
+ value = _json["value"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (data != null) {
+ _json["data"] = data;
+ }
+ if (type != null) {
+ _json["type"] = type;
+ }
+ if (value != null) {
+ _json["value"] = value;
+ }
+ return _json;
+ }
+}
+
+/**
+ * Request for scheduling a scan of a data subset from a Google Platform data
+ * repository.
+ */
+class CreateInspectOperationRequest {
+ /** Configuration for the inspector. */
+ InspectConfig inspectConfig;
+ /** Specification of the data set to process. */
+ StorageConfig storageConfig;
+
+ CreateInspectOperationRequest();
+
+ CreateInspectOperationRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("inspectConfig")) {
+ inspectConfig = new InspectConfig.fromJson(_json["inspectConfig"]);
+ }
+ if (_json.containsKey("storageConfig")) {
+ storageConfig = new StorageConfig.fromJson(_json["storageConfig"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (inspectConfig != null) {
+ _json["inspectConfig"] = (inspectConfig).toJson();
+ }
+ if (storageConfig != null) {
+ _json["storageConfig"] = (storageConfig).toJson();
+ }
+ return _json;
+ }
+}
+
+/** Record key for a finding in Cloud Datastore. */
+class DatastoreKey {
+ /** Datastore entity key. */
+ Key entityKey;
+
+ DatastoreKey();
+
+ DatastoreKey.fromJson(core.Map _json) {
+ if (_json.containsKey("entityKey")) {
+ entityKey = new Key.fromJson(_json["entityKey"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (entityKey != null) {
+ _json["entityKey"] = (entityKey).toJson();
+ }
+ return _json;
+ }
+}
+
+/** Options defining a data set within Google Cloud Datastore. */
+class DatastoreOptions {
+ /** The kind to process. */
+ KindExpression kind;
+ /**
+ * A partition ID identifies a grouping of entities. The grouping is always
+ * by project and namespace, however the namespace ID may be empty.
+ */
+ PartitionId partitionId;
+ /**
+ * Properties to scan. If none are specified, all properties will be scanned
+ * by default.
+ */
+ core.List<Projection> projection;
+
+ DatastoreOptions();
+
+ DatastoreOptions.fromJson(core.Map _json) {
+ if (_json.containsKey("kind")) {
+ kind = new KindExpression.fromJson(_json["kind"]);
+ }
+ if (_json.containsKey("partitionId")) {
+ partitionId = new PartitionId.fromJson(_json["partitionId"]);
+ }
+ if (_json.containsKey("projection")) {
+ projection = _json["projection"].map((value) => new Projection.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (kind != null) {
+ _json["kind"] = (kind).toJson();
+ }
+ if (partitionId != null) {
+ _json["partitionId"] = (partitionId).toJson();
+ }
+ if (projection != null) {
+ _json["projection"] = projection.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/**
+ * 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);
+ * }
+ *
+ * The JSON representation for `Empty` is empty JSON object `{}`.
+ */
+class Empty {
+
+ Empty();
+
+ Empty.fromJson(core.Map _json) {
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ return _json;
+ }
+}
+
+/** General identifier of a data field in a storage service. */
+class FieldId {
+ /** Column name describing the field. */
+ core.String columnName;
+
+ FieldId();
+
+ FieldId.fromJson(core.Map _json) {
+ if (_json.containsKey("columnName")) {
+ columnName = _json["columnName"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (columnName != null) {
+ _json["columnName"] = columnName;
+ }
+ return _json;
+ }
+}
+
+/** Set of files to scan. */
+class FileSet {
+ /**
+ * The url, in the format gs://<bucket>/<path>. Trailing wildcard in the
+ * path is allowed.
+ */
+ core.String url;
+
+ FileSet();
+
+ FileSet.fromJson(core.Map _json) {
+ if (_json.containsKey("url")) {
+ url = _json["url"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (url != null) {
+ _json["url"] = url;
+ }
+ return _json;
+ }
+}
+
+/**
+ * Container structure describing a single finding within a string or image.
+ */
+class Finding {
+ /** Timestamp when finding was detected. */
+ core.String createTime;
+ /** The specific type of info the string might be. */
+ InfoType infoType;
+ /**
+ * Estimate of how likely it is that the info_type is correct.
+ * Possible string values are:
+ * - "LIKELIHOOD_UNSPECIFIED" : Default value; information with all
+ * likelihoods will be included.
+ * - "VERY_UNLIKELY" : Few matching elements.
+ * - "UNLIKELY"
+ * - "POSSIBLE" : Some matching elements.
+ * - "LIKELY"
+ * - "VERY_LIKELY" : Many matching elements.
+ */
+ core.String likelihood;
+ /** Location of the info found. */
+ Location location;
+ /** The specific string that may be potentially sensitive info. */
+ core.String quote;
+
+ Finding();
+
+ Finding.fromJson(core.Map _json) {
+ if (_json.containsKey("createTime")) {
+ createTime = _json["createTime"];
+ }
+ if (_json.containsKey("infoType")) {
+ infoType = new InfoType.fromJson(_json["infoType"]);
+ }
+ if (_json.containsKey("likelihood")) {
+ likelihood = _json["likelihood"];
+ }
+ if (_json.containsKey("location")) {
+ location = new Location.fromJson(_json["location"]);
+ }
+ if (_json.containsKey("quote")) {
+ quote = _json["quote"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (createTime != null) {
+ _json["createTime"] = createTime;
+ }
+ if (infoType != null) {
+ _json["infoType"] = (infoType).toJson();
+ }
+ if (likelihood != null) {
+ _json["likelihood"] = likelihood;
+ }
+ if (location != null) {
+ _json["location"] = (location).toJson();
+ }
+ if (quote != null) {
+ _json["quote"] = quote;
+ }
+ return _json;
+ }
+}
+
+/** Bounding box encompassing detected text within an image. */
+class ImageLocation {
+ /** Height of the bounding box in pixels. */
+ core.int height;
+ /** Left coordinate of the bounding box. (0,0) is upper left. */
+ core.int left;
+ /** Top coordinate of the bounding box. (0,0) is upper left. */
+ core.int top;
+ /** Width of the bounding box in pixels. */
+ core.int width;
+
+ ImageLocation();
+
+ ImageLocation.fromJson(core.Map _json) {
+ if (_json.containsKey("height")) {
+ height = _json["height"];
+ }
+ if (_json.containsKey("left")) {
+ left = _json["left"];
+ }
+ if (_json.containsKey("top")) {
+ top = _json["top"];
+ }
+ if (_json.containsKey("width")) {
+ width = _json["width"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (height != null) {
+ _json["height"] = height;
+ }
+ if (left != null) {
+ _json["left"] = left;
+ }
+ if (top != null) {
+ _json["top"] = top;
+ }
+ if (width != null) {
+ _json["width"] = width;
+ }
+ return _json;
+ }
+}
+
+/** Type of information detected by the API. */
+class InfoType {
+ /** Name of the information type, provided by the API call ListInfoTypes. */
+ core.String name;
+
+ InfoType();
+
+ InfoType.fromJson(core.Map _json) {
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (name != null) {
+ _json["name"] = name;
+ }
+ return _json;
+ }
+}
+
+/** Info type description. */
+class InfoTypeDescription {
+ /** List of categories this info type belongs to. */
+ core.List<CategoryDescription> categories;
+ /** Human readable form of the info type name. */
+ core.String displayName;
+ /** Internal name of the info type. */
+ core.String name;
+
+ InfoTypeDescription();
+
+ InfoTypeDescription.fromJson(core.Map _json) {
+ if (_json.containsKey("categories")) {
+ categories = _json["categories"].map((value) => new CategoryDescription.fromJson(value)).toList();
+ }
+ if (_json.containsKey("displayName")) {
+ displayName = _json["displayName"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (categories != null) {
+ _json["categories"] = categories.map((value) => (value).toJson()).toList();
+ }
+ if (displayName != null) {
+ _json["displayName"] = displayName;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ return _json;
+ }
+}
+
+/**
+ * Configuration description of the scanning process.
+ * When used with redactContent only info_types and min_likelihood are currently
+ * used.
+ */
+class InspectConfig {
+ /** When true, exclude type information of the findings. */
+ core.bool excludeTypes;
+ /**
+ * When true, a contextual quote from the data that triggered a finding will
+ * be included in the response; see Finding.quote.
+ */
+ core.bool includeQuote;
+ /**
+ * Restrict what info_types to look for. The values must correspond to
+ * InfoType values returned by ListInfoTypes or found in documentation.
+ * Empty info_types runs all enabled detectors.
+ */
+ core.List<InfoType> infoTypes;
+ /** Limit the number of findings per content item. */
+ core.int maxFindings;
+ /**
+ * Only return findings equal or above this threshold.
+ * Possible string values are:
+ * - "LIKELIHOOD_UNSPECIFIED" : Default value; information with all
+ * likelihoods will be included.
+ * - "VERY_UNLIKELY" : Few matching elements.
+ * - "UNLIKELY"
+ * - "POSSIBLE" : Some matching elements.
+ * - "LIKELY"
+ * - "VERY_LIKELY" : Many matching elements.
+ */
+ core.String minLikelihood;
+
+ InspectConfig();
+
+ InspectConfig.fromJson(core.Map _json) {
+ if (_json.containsKey("excludeTypes")) {
+ excludeTypes = _json["excludeTypes"];
+ }
+ if (_json.containsKey("includeQuote")) {
+ includeQuote = _json["includeQuote"];
+ }
+ if (_json.containsKey("infoTypes")) {
+ infoTypes = _json["infoTypes"].map((value) => new InfoType.fromJson(value)).toList();
+ }
+ if (_json.containsKey("maxFindings")) {
+ maxFindings = _json["maxFindings"];
+ }
+ if (_json.containsKey("minLikelihood")) {
+ minLikelihood = _json["minLikelihood"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (excludeTypes != null) {
+ _json["excludeTypes"] = excludeTypes;
+ }
+ if (includeQuote != null) {
+ _json["includeQuote"] = includeQuote;
+ }
+ if (infoTypes != null) {
+ _json["infoTypes"] = infoTypes.map((value) => (value).toJson()).toList();
+ }
+ if (maxFindings != null) {
+ _json["maxFindings"] = maxFindings;
+ }
+ if (minLikelihood != null) {
+ _json["minLikelihood"] = minLikelihood;
+ }
+ return _json;
+ }
+}
+
+/** Request to search for potentially sensitive info in a list of items. */
+class InspectContentRequest {
+ /** Configuration for the inspector. */
+ InspectConfig inspectConfig;
+ /**
+ * The list of items to inspect. Items in a single request are
+ * considered "related" unless inspect_config.independent_inputs is true.
+ * Up to 100 are allowed per request.
+ */
+ core.List<ContentItem> items;
+
+ InspectContentRequest();
+
+ InspectContentRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("inspectConfig")) {
+ inspectConfig = new InspectConfig.fromJson(_json["inspectConfig"]);
+ }
+ if (_json.containsKey("items")) {
+ items = _json["items"].map((value) => new ContentItem.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (inspectConfig != null) {
+ _json["inspectConfig"] = (inspectConfig).toJson();
+ }
+ if (items != null) {
+ _json["items"] = items.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/** Results of inspecting a list of items. */
+class InspectContentResponse {
+ /**
+ * Each content_item from the request will have a result in this list, in the
+ * same order as the request.
+ */
+ core.List<InspectResult> results;
+
+ InspectContentResponse();
+
+ InspectContentResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("results")) {
+ results = _json["results"].map((value) => new InspectResult.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (results != null) {
+ _json["results"] = results.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/** All the findings for a single scanned item. */
+class InspectResult {
+ /** List of findings for an item. */
+ core.List<Finding> findings;
+ /**
+ * If true, then this item might have more findings than were returned,
+ * and the findings returned are an arbitrary subset of all findings.
+ * The findings list might be truncated because the input items were too
+ * large, or because the server reached the maximum amount of resources
+ * allowed for a single API call. For best results, divide the input into
+ * smaller batches.
+ */
+ core.bool findingsTruncated;
+
+ InspectResult();
+
+ InspectResult.fromJson(core.Map _json) {
+ if (_json.containsKey("findings")) {
+ findings = _json["findings"].map((value) => new Finding.fromJson(value)).toList();
+ }
+ if (_json.containsKey("findingsTruncated")) {
+ findingsTruncated = _json["findingsTruncated"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (findings != null) {
+ _json["findings"] = findings.map((value) => (value).toJson()).toList();
+ }
+ if (findingsTruncated != null) {
+ _json["findingsTruncated"] = findingsTruncated;
+ }
+ return _json;
+ }
+}
+
+/**
+ * A unique identifier for a Datastore entity.
+ * If a key's partition ID or any of its path kinds or names are
+ * reserved/read-only, the key is reserved/read-only.
+ * A reserved/read-only key is forbidden in certain documented contexts.
+ */
+class Key {
+ /**
+ * Entities are partitioned into subsets, currently identified by a project
+ * ID and namespace ID.
+ * Queries are scoped to a single partition.
+ */
+ PartitionId partitionId;
+ /**
+ * The entity path.
+ * An entity path consists of one or more elements composed of a kind and a
+ * string or numerical identifier, which identify entities. The first
+ * element identifies a _root entity_, the second element identifies
+ * a _child_ of the root entity, the third element identifies a child of the
+ * second entity, and so forth. The entities identified by all prefixes of
+ * the path are called the element's _ancestors_.
+ *
+ * A path can never be empty, and a path can have at most 100 elements.
+ */
+ core.List<PathElement> path;
+
+ Key();
+
+ Key.fromJson(core.Map _json) {
+ if (_json.containsKey("partitionId")) {
+ partitionId = new PartitionId.fromJson(_json["partitionId"]);
+ }
+ if (_json.containsKey("path")) {
+ path = _json["path"].map((value) => new PathElement.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (partitionId != null) {
+ _json["partitionId"] = (partitionId).toJson();
+ }
+ if (path != null) {
+ _json["path"] = path.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/** A representation of a Datastore kind. */
+class KindExpression {
+ /** The name of the kind. */
+ core.String name;
+
+ KindExpression();
+
+ KindExpression.fromJson(core.Map _json) {
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (name != null) {
+ _json["name"] = name;
+ }
+ return _json;
+ }
+}
+
+/** Response to the ListInfoTypes request. */
+class ListInfoTypesResponse {
+ /** Set of sensitive info types belonging to a category. */
+ core.List<InfoTypeDescription> infoTypes;
+
+ ListInfoTypesResponse();
+
+ ListInfoTypesResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("infoTypes")) {
+ infoTypes = _json["infoTypes"].map((value) => new InfoTypeDescription.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (infoTypes != null) {
+ _json["infoTypes"] = infoTypes.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/** Response to the ListInspectFindings request. */
+class ListInspectFindingsResponse {
+ /**
+ * If not empty, indicates that there may be more results that match the
+ * request; this value should be passed in a new `ListInspectFindingsRequest`.
+ */
+ core.String nextPageToken;
+ /** The results. */
+ InspectResult result;
+
+ ListInspectFindingsResponse();
+
+ ListInspectFindingsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("result")) {
+ result = new InspectResult.fromJson(_json["result"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ if (result != null) {
+ _json["result"] = (result).toJson();
+ }
+ return _json;
+ }
+}
+
+/** 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<Operation> operations;
+
+ ListOperationsResponse();
+
+ ListOperationsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("operations")) {
+ operations = _json["operations"].map((value) => new Operation.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ if (operations != null) {
+ _json["operations"] = operations.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/** Response for ListRootCategories request. */
+class ListRootCategoriesResponse {
+ /** List of all into type categories supported by the API. */
+ core.List<CategoryDescription> categories;
+
+ ListRootCategoriesResponse();
+
+ ListRootCategoriesResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("categories")) {
+ categories = _json["categories"].map((value) => new CategoryDescription.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (categories != null) {
+ _json["categories"] = categories.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/** Specifies the location of a finding within its source item. */
+class Location {
+ /** Zero-based byte offsets within a content item. */
+ Range byteRange;
+ /**
+ * Character offsets within a content item, included when content type
+ * is a text. Default charset assumed to be UTF-8.
+ */
+ Range codepointRange;
+ /** Field id of the field containing the finding. */
+ FieldId fieldId;
+ /** Location within an image's pixels. */
+ core.List<ImageLocation> imageBoxes;
+ /** Key of the finding. */
+ RecordKey recordKey;
+
+ Location();
+
+ Location.fromJson(core.Map _json) {
+ if (_json.containsKey("byteRange")) {
+ byteRange = new Range.fromJson(_json["byteRange"]);
+ }
+ if (_json.containsKey("codepointRange")) {
+ codepointRange = new Range.fromJson(_json["codepointRange"]);
+ }
+ if (_json.containsKey("fieldId")) {
+ fieldId = new FieldId.fromJson(_json["fieldId"]);
+ }
+ if (_json.containsKey("imageBoxes")) {
+ imageBoxes = _json["imageBoxes"].map((value) => new ImageLocation.fromJson(value)).toList();
+ }
+ if (_json.containsKey("recordKey")) {
+ recordKey = new RecordKey.fromJson(_json["recordKey"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (byteRange != null) {
+ _json["byteRange"] = (byteRange).toJson();
+ }
+ if (codepointRange != null) {
+ _json["codepointRange"] = (codepointRange).toJson();
+ }
+ if (fieldId != null) {
+ _json["fieldId"] = (fieldId).toJson();
+ }
+ if (imageBoxes != null) {
+ _json["imageBoxes"] = imageBoxes.map((value) => (value).toJson()).toList();
+ }
+ if (recordKey != null) {
+ _json["recordKey"] = (recordKey).toJson();
+ }
+ return _json;
+ }
+}
+
+/**
+ * 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;
+ /**
+ * This field will contain an `InspectOperationMetdata` object.
+ *
+ * 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<core.String, core.Object> metadata;
+ /**
+ * The server-assigned name, The `name` should have the format of
+ * `inspect/operations/<identifier>`.
+ */
+ core.String name;
+ /**
+ * This field will contain an `InspectOperationResult` object.
+ *
+ * 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<core.String, core.Object> response;
+
+ Operation();
+
+ Operation.fromJson(core.Map _json) {
+ if (_json.containsKey("done")) {
+ done = _json["done"];
+ }
+ if (_json.containsKey("error")) {
+ error = new Status.fromJson(_json["error"]);
+ }
+ if (_json.containsKey("metadata")) {
+ metadata = _json["metadata"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("response")) {
+ response = _json["response"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (done != null) {
+ _json["done"] = done;
+ }
+ if (error != null) {
+ _json["error"] = (error).toJson();
+ }
+ if (metadata != null) {
+ _json["metadata"] = metadata;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (response != null) {
+ _json["response"] = response;
+ }
+ return _json;
+ }
+}
+
+/**
+ * Datastore partition ID.
+ * A partition ID identifies a grouping of entities. The grouping is always
+ * by project and namespace, however the namespace ID may be empty.
+ *
+ * A partition ID contains several dimensions:
+ * project ID and namespace ID.
+ */
+class PartitionId {
+ /**
+ * If not empty, the ID of the database to which the entities
+ * belong.
+ */
+ core.String databaseId;
+ /** If not empty, the ID of the namespace to which the entities belong. */
+ core.String namespaceId;
+ /** The ID of the project to which the entities belong. */
+ core.String projectId;
+
+ PartitionId();
+
+ PartitionId.fromJson(core.Map _json) {
+ if (_json.containsKey("databaseId")) {
+ databaseId = _json["databaseId"];
+ }
+ if (_json.containsKey("namespaceId")) {
+ namespaceId = _json["namespaceId"];
+ }
+ if (_json.containsKey("projectId")) {
+ projectId = _json["projectId"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (databaseId != null) {
+ _json["databaseId"] = databaseId;
+ }
+ if (namespaceId != null) {
+ _json["namespaceId"] = namespaceId;
+ }
+ if (projectId != null) {
+ _json["projectId"] = projectId;
+ }
+ return _json;
+ }
+}
+
+/**
+ * A (kind, ID/name) pair used to construct a key path.
+ *
+ * If either name or ID is set, the element is complete.
+ * If neither is set, the element is incomplete.
+ */
+class PathElement {
+ /**
+ * The auto-allocated ID of the entity.
+ * Never equal to zero. Values less than zero are discouraged and may not
+ * be supported in the future.
+ */
+ core.String id;
+ /**
+ * The kind of the entity.
+ * A kind matching regex `__.*__` is reserved/read-only.
+ * A kind must not contain more than 1500 bytes when UTF-8 encoded.
+ * Cannot be `""`.
+ */
+ core.String kind;
+ /**
+ * The name of the entity.
+ * A name matching regex `__.*__` is reserved/read-only.
+ * A name must not be more than 1500 bytes when UTF-8 encoded.
+ * Cannot be `""`.
+ */
+ core.String name;
+
+ PathElement();
+
+ PathElement.fromJson(core.Map _json) {
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ return _json;
+ }
+}
+
+/** A representation of a Datastore property in a projection. */
+class Projection {
+ /** The property to project. */
+ PropertyReference property;
+
+ Projection();
+
+ Projection.fromJson(core.Map _json) {
+ if (_json.containsKey("property")) {
+ property = new PropertyReference.fromJson(_json["property"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (property != null) {
+ _json["property"] = (property).toJson();
+ }
+ return _json;
+ }
+}
+
+/** A reference to a property relative to the Datastore kind expressions. */
+class PropertyReference {
+ /**
+ * The name of the property.
+ * If name includes "."s, it may be interpreted as a property name path.
+ */
+ core.String name;
+
+ PropertyReference();
+
+ PropertyReference.fromJson(core.Map _json) {
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (name != null) {
+ _json["name"] = name;
+ }
+ return _json;
+ }
+}
+
+/** Generic half-open interval [start, end) */
+class Range {
+ /** Index of the last character of the range (exclusive). */
+ core.String end;
+ /** Index of the first character of the range (inclusive). */
+ core.String start;
+
+ Range();
+
+ Range.fromJson(core.Map _json) {
+ if (_json.containsKey("end")) {
+ end = _json["end"];
+ }
+ if (_json.containsKey("start")) {
+ start = _json["start"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (end != null) {
+ _json["end"] = end;
+ }
+ if (start != null) {
+ _json["start"] = start;
+ }
+ return _json;
+ }
+}
+
+/** Message for a unique key indicating a record that contains a finding. */
+class RecordKey {
+ CloudStorageKey cloudStorageKey;
+ DatastoreKey datastoreKey;
+
+ RecordKey();
+
+ RecordKey.fromJson(core.Map _json) {
+ if (_json.containsKey("cloudStorageKey")) {
+ cloudStorageKey = new CloudStorageKey.fromJson(_json["cloudStorageKey"]);
+ }
+ if (_json.containsKey("datastoreKey")) {
+ datastoreKey = new DatastoreKey.fromJson(_json["datastoreKey"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (cloudStorageKey != null) {
+ _json["cloudStorageKey"] = (cloudStorageKey).toJson();
+ }
+ if (datastoreKey != null) {
+ _json["datastoreKey"] = (datastoreKey).toJson();
+ }
+ return _json;
+ }
+}
+
+/**
+ * Request to search for potentially sensitive info in a list of items
+ * and replace it with a default or provided content.
+ */
+class RedactContentRequest {
+ /** Configuration for the inspector. */
+ InspectConfig inspectConfig;
+ /** The list of items to inspect. Up to 100 are allowed per request. */
+ core.List<ContentItem> items;
+ /** The strings to replace findings with. Must specify at least one. */
+ core.List<ReplaceConfig> replaceConfigs;
+
+ RedactContentRequest();
+
+ RedactContentRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("inspectConfig")) {
+ inspectConfig = new InspectConfig.fromJson(_json["inspectConfig"]);
+ }
+ if (_json.containsKey("items")) {
+ items = _json["items"].map((value) => new ContentItem.fromJson(value)).toList();
+ }
+ if (_json.containsKey("replaceConfigs")) {
+ replaceConfigs = _json["replaceConfigs"].map((value) => new ReplaceConfig.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (inspectConfig != null) {
+ _json["inspectConfig"] = (inspectConfig).toJson();
+ }
+ if (items != null) {
+ _json["items"] = items.map((value) => (value).toJson()).toList();
+ }
+ if (replaceConfigs != null) {
+ _json["replaceConfigs"] = replaceConfigs.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/** Results of deidentifying a list of items. */
+class RedactContentResponse {
+ /** The redacted content. */
+ core.List<ContentItem> items;
+
+ RedactContentResponse();
+
+ RedactContentResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("items")) {
+ items = _json["items"].map((value) => new ContentItem.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (items != null) {
+ _json["items"] = items.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+class ReplaceConfig {
+ /**
+ * Type of information to replace. Only one ReplaceConfig per info_type
+ * should be provided. If ReplaceConfig does not have an info_type, we'll
+ * match it against all info_types that are found but not specified in
+ * another ReplaceConfig.
+ */
+ InfoType infoType;
+ /** Content replacing sensitive information of given type. Max 256 chars. */
+ core.String replaceWith;
+
+ ReplaceConfig();
+
+ ReplaceConfig.fromJson(core.Map _json) {
+ if (_json.containsKey("infoType")) {
+ infoType = new InfoType.fromJson(_json["infoType"]);
+ }
+ if (_json.containsKey("replaceWith")) {
+ replaceWith = _json["replaceWith"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (infoType != null) {
+ _json["infoType"] = (infoType).toJson();
+ }
+ if (replaceWith != null) {
+ _json["replaceWith"] = replaceWith;
+ }
+ return _json;
+ }
+}
+
+/**
+ * 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). The error model is designed to be:
+ *
+ * - Simple to use and understand for most users
+ * - Flexible enough to meet unexpected needs
+ *
+ * # Overview
+ *
+ * The `Status` message contains three pieces of data: error code, error
+ * message,
+ * and error details. The error code should be an enum value of
+ * google.rpc.Code, but it may accept additional error codes if needed. The
+ * error message should be a developer-facing English message that helps
+ * developers *understand* and *resolve* the error. If a localized user-facing
+ * error message is needed, put the localized message in the error details or
+ * localize it in the client. The optional error details may contain arbitrary
+ * information about the error. There is a predefined set of error detail types
+ * in the package `google.rpc` which can be used for common error conditions.
+ *
+ * # Language mapping
+ *
+ * The `Status` message is the logical representation of the error model, but it
+ * is not necessarily the actual wire format. When the `Status` message is
+ * exposed in different client libraries and different wire protocols, it can be
+ * mapped differently. For example, it will likely be mapped to some exceptions
+ * in Java, but more likely mapped to some error codes in C.
+ *
+ * # Other uses
+ *
+ * The error model and the `Status` message can be used in a variety of
+ * environments, either with or without APIs, to provide a
+ * consistent developer experience across different environments.
+ *
+ * Example uses of this error model include:
+ *
+ * - Partial errors. If a service needs to return partial errors to the client,
+ * it may embed the `Status` in the normal response to indicate the partial
+ * errors.
+ *
+ * - Workflow errors. A typical workflow has multiple steps. Each step may
+ * have a `Status` message for error reporting purpose.
+ *
+ * - Batch operations. If a client uses batch request and batch response, the
+ * `Status` message should be used directly inside batch response, one for
+ * each error sub-response.
+ *
+ * - Asynchronous operations. If an API call embeds asynchronous operation
+ * results in its response, the status of those operations should be
+ * represented directly using the `Status` message.
+ *
+ * - Logging. If some API errors are stored in logs, the message `Status` could
+ * be used directly after any stripping needed for security/privacy reasons.
+ */
+class Status {
+ /** The status code, which should be an enum value of google.rpc.Code. */
+ core.int code;
+ /**
+ * A list of messages that carry the error details. There will be a
+ * common set of message types for APIs to use.
+ *
+ * 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.List<core.Map<core.String, core.Object>> details;
+ /**
+ * 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.
+ */
+ core.String message;
+
+ Status();
+
+ Status.fromJson(core.Map _json) {
+ if (_json.containsKey("code")) {
+ code = _json["code"];
+ }
+ if (_json.containsKey("details")) {
+ details = _json["details"];
+ }
+ if (_json.containsKey("message")) {
+ message = _json["message"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (code != null) {
+ _json["code"] = code;
+ }
+ if (details != null) {
+ _json["details"] = details;
+ }
+ if (message != null) {
+ _json["message"] = message;
+ }
+ return _json;
+ }
+}
+
+/** Shared message indicating Cloud storage type. */
+class StorageConfig {
+ /** Google Cloud Storage options specification. */
+ CloudStorageOptions cloudStorageOptions;
+ /** Google Cloud Datastore options specification. */
+ DatastoreOptions datastoreOptions;
+
+ StorageConfig();
+
+ StorageConfig.fromJson(core.Map _json) {
+ if (_json.containsKey("cloudStorageOptions")) {
+ cloudStorageOptions = new CloudStorageOptions.fromJson(_json["cloudStorageOptions"]);
+ }
+ if (_json.containsKey("datastoreOptions")) {
+ datastoreOptions = new DatastoreOptions.fromJson(_json["datastoreOptions"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (cloudStorageOptions != null) {
+ _json["cloudStorageOptions"] = (cloudStorageOptions).toJson();
+ }
+ if (datastoreOptions != null) {
+ _json["datastoreOptions"] = (datastoreOptions).toJson();
+ }
+ return _json;
+ }
+}
diff --git a/generated/googleapis_beta/lib/language/v1beta1.dart b/generated/googleapis_beta/lib/language/v1beta1.dart
index d7be1b0..9816d3f 100644
--- a/generated/googleapis_beta/lib/language/v1beta1.dart
+++ b/generated/googleapis_beta/lib/language/v1beta1.dart
@@ -40,8 +40,9 @@
_requester = client;
/**
- * Finds named entities (currently finds proper names) in the text,
- * entity types, salience, mentions for each entity, and other properties.
+ * Finds named entities (currently proper names and common nouns) in the text
+ * along with entity types, salience, mentions for each entity, and
+ * other properties.
*
* [request] - The metadata request object.
*
diff --git a/generated/googleapis_beta/lib/logging/v2beta1.dart b/generated/googleapis_beta/lib/logging/v2beta1.dart
index cc67e31..468d970 100644
--- a/generated/googleapis_beta/lib/logging/v2beta1.dart
+++ b/generated/googleapis_beta/lib/logging/v2beta1.dart
@@ -222,8 +222,7 @@
}
/**
- * Writes log entries to Stackdriver Logging. All log entries are written by
- * this method.
+ * Writes log entries to Stackdriver Logging.
*
* [request] - The metadata request object.
*
@@ -732,15 +731,15 @@
*
* Value must have pattern "^projects/[^/]+$".
*
+ * [pageSize] - Optional. The maximum number of results to return from this
+ * request. Non-positive values are ignored. The presence of nextPageToken in
+ * the response indicates that more results might be available.
+ *
* [pageToken] - Optional. If present, then retrieve the next batch of results
* from the preceding call to this method. pageToken must be the value of
* nextPageToken from the previous response. The values of other method
* parameters should be identical to those in the previous call.
*
- * [pageSize] - Optional. The maximum number of results to return from this
- * request. Non-positive values are ignored. The presence of nextPageToken in
- * the response indicates that more results might be available.
- *
* Completes with a [ListLogMetricsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -749,7 +748,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListLogMetricsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListLogMetricsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -760,12 +759,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v2beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/metrics';
@@ -1380,20 +1379,20 @@
* returns entries in order of increasing values of LogEntry.timestamp (oldest
* first), and the second option returns entries in order of decreasing
* timestamps (newest first). Entries with equal timestamps are returned in
- * order of LogEntry.insertId.
+ * order of their insert_id values.
*/
core.String orderBy;
/**
* Optional. The maximum number of results to return from this request.
- * Non-positive values are ignored. The presence of nextPageToken in the
+ * Non-positive values are ignored. The presence of next_page_token in the
* response indicates that more results might be available.
*/
core.int pageSize;
/**
* Optional. If present, then retrieve the next batch of results from the
- * preceding call to this method. pageToken must be the value of nextPageToken
- * from the previous response. The values of other method parameters should be
- * identical to those in the previous call.
+ * preceding call to this method. page_token must be the value of
+ * next_page_token from the previous response. The values of other method
+ * parameters should be identical to those in the previous call.
*/
core.String pageToken;
/**
@@ -1648,10 +1647,12 @@
*/
HttpRequest httpRequest;
/**
- * Optional. A unique ID for the log entry. If you provide this field, the
- * logging service considers other log entries in the same project with the
- * same ID as duplicates which can be removed. If omitted, Stackdriver Logging
- * will generate a unique ID for this log entry.
+ * Optional. A unique identifier for the log entry. If you provide a value,
+ * then Stackdriver Logging considers other log entries in the same project,
+ * with the same timestamp, and with the same insert_id to be duplicates which
+ * can be removed. If omitted in new log entries, then Stackdriver Logging
+ * will insert its own unique identifier. The insert_id is used to order log
+ * entries that have the same timestamp value.
*/
core.String insertId;
/**
@@ -1730,7 +1731,10 @@
core.String textPayload;
/**
* Optional. The time the event described by the log entry occurred. If
- * omitted, Stackdriver Logging will use the time the log entry is received.
+ * omitted in a new log entry, Stackdriver Logging will insert the time the
+ * log entry is received. Stackdriver Logging might reject log entries whose
+ * time stamps are more than a couple of hours in the future. Log entries with
+ * time stamps in the past are accepted.
*/
core.String timestamp;
/**
@@ -2730,11 +2734,15 @@
class WriteLogEntriesRequest {
/**
* Required. The log entries to write. Values supplied for the fields
- * log_name, resource, and labels in this entries.write request are added to
- * those log entries that do not provide their own values for the fields.To
- * improve throughput and to avoid exceeding the quota limit for calls to
- * entries.write, you should write multiple log entries at once rather than
- * calling this method for each individual log entry.
+ * log_name, resource, and labels in this entries.write request are inserted
+ * into those log entries in this list that do not provide their own
+ * values.Stackdriver Logging also creates and inserts values for timestamp
+ * and insert_id if the entries do not provide them. The created insert_id for
+ * the N'th entry in this list will be greater than earlier entries and less
+ * than later entries. Otherwise, the order of log entries in this list does
+ * not matter.To improve throughput and to avoid exceeding the quota limit for
+ * calls to entries.write, you should write multiple log entries at once
+ * rather than calling this method for each individual log entry.
*/
core.List<LogEntry> entries;
/**
@@ -2760,9 +2768,9 @@
/**
* Optional. Whether valid entries should be written even if some other
* entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any
- * entry is not written, the response status will be the error associated with
- * one of the failed entries and include error details in the form of
- * WriteLogEntriesPartialErrors.
+ * entry is not written, then the response status is the error associated with
+ * one of the failed entries and the response includes error details keyed by
+ * the entries' zero-based index in the entries.write method.
*/
core.bool partialSuccess;
/**
diff --git a/generated/googleapis_beta/lib/proximitybeacon/v1beta1.dart b/generated/googleapis_beta/lib/proximitybeacon/v1beta1.dart
index 35f6fc5..825f1c1 100644
--- a/generated/googleapis_beta/lib/proximitybeacon/v1beta1.dart
+++ b/generated/googleapis_beta/lib/proximitybeacon/v1beta1.dart
@@ -39,8 +39,9 @@
_requester = client;
/**
- * Given one or more beacon observations, returns any beacon information and
- * attachments accessible to your application. Authorize by using the [API
+ * Given one or more beacon observations, returns any beacon information
+ * and attachments accessible to your application. Authorize by using the
+ * [API
* key](https://developers.google.com/beacons/proximity/how-tos/authorizing#APIKey)
* for the application.
*
@@ -93,27 +94,33 @@
_requester = client;
/**
- * Activates a beacon. A beacon that is active will return information and
- * attachment data when queried via `beaconinfo.getforobserved`. Calling this
- * method on an already active beacon will do nothing (but will return a
- * successful response code). Authenticate using an [OAuth access
- * token](https://developers.google.com/identity/protocols/OAuth2) from a
- * signed-in user with **Is owner** or **Can edit** permissions in the Google
- * Developers Console project.
+ * Activates a beacon. A beacon that is active will return information
+ * and attachment data when queried via `beaconinfo.getforobserved`.
+ * Calling this method on an already active beacon will do nothing (but
+ * will return a successful response code).
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2)
+ * from a signed-in user with **Is owner** or **Can edit** permissions in the
+ * Google Developers Console project.
*
* Request parameters:
*
* [beaconName] - Beacon that should be activated. A beacon name has the
- * format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast
- * by the beacon and N is a code for the beacon's type. Possible values are
- * `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for
- * AltBeacon. For Eddystone-EID beacons, you may use either the current EID or
- * the beacon's "stable" UID. Required.
- * Value must have pattern "^beacons/[^/]*$".
+ * format
+ * "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
+ * the beacon and N is a code for the beacon's type. Possible values are
+ * `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`
+ * for AltBeacon. For Eddystone-EID beacons, you may use either the
+ * current EID or the beacon's "stable" UID.
+ * Required.
+ * Value must have pattern "^beacons/[^/]+$".
*
* [projectId] - The project id of the beacon to activate. If the project id
- * is not specified then the project making the request is used. The project
- * id must match the project that owns the beacon. Optional.
+ * is not
+ * specified then the project making the request is used. The project id
+ * must match the project that owns the beacon.
+ * Optional.
*
* Completes with a [Empty].
*
@@ -151,28 +158,33 @@
}
/**
- * Deactivates a beacon. Once deactivated, the API will not return information
- * nor attachment data for the beacon when queried via
+ * Deactivates a beacon. Once deactivated, the API will not return
+ * information nor attachment data for the beacon when queried via
* `beaconinfo.getforobserved`. Calling this method on an already inactive
* beacon will do nothing (but will return a successful response code).
+ *
* Authenticate using an [OAuth access
- * token](https://developers.google.com/identity/protocols/OAuth2) from a
- * signed-in user with **Is owner** or **Can edit** permissions in the Google
- * Developers Console project.
+ * token](https://developers.google.com/identity/protocols/OAuth2)
+ * from a signed-in user with **Is owner** or **Can edit** permissions in the
+ * Google Developers Console project.
*
* Request parameters:
*
* [beaconName] - Beacon that should be deactivated. A beacon name has the
- * format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast
- * by the beacon and N is a code for the beacon's type. Possible values are
- * `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for
- * AltBeacon. For Eddystone-EID beacons, you may use either the current EID or
- * the beacon's "stable" UID. Required.
- * Value must have pattern "^beacons/[^/]*$".
+ * format
+ * "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
+ * the beacon and N is a code for the beacon's type. Possible values are
+ * `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`
+ * for AltBeacon. For Eddystone-EID beacons, you may use either the
+ * current EID or the beacon's "stable" UID.
+ * Required.
+ * Value must have pattern "^beacons/[^/]+$".
*
* [projectId] - The project id of the beacon to deactivate. If the project id
- * is not specified then the project making the request is used. The project
- * id must match the project that owns the beacon. Optional.
+ * is not
+ * specified then the project making the request is used. The project id must
+ * match the project that owns the beacon.
+ * Optional.
*
* Completes with a [Empty].
*
@@ -213,24 +225,30 @@
* Decommissions the specified beacon in the service. This beacon will no
* longer be returned from `beaconinfo.getforobserved`. This operation is
* permanent -- you will not be able to re-register a beacon with this ID
- * again. Authenticate using an [OAuth access
- * token](https://developers.google.com/identity/protocols/OAuth2) from a
- * signed-in user with **Is owner** or **Can edit** permissions in the Google
- * Developers Console project.
+ * again.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2)
+ * from a signed-in user with **Is owner** or **Can edit** permissions in the
+ * Google Developers Console project.
*
* Request parameters:
*
* [beaconName] - Beacon that should be decommissioned. A beacon name has the
- * format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast
- * by the beacon and N is a code for the beacon's type. Possible values are
- * `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for
- * AltBeacon. For Eddystone-EID beacons, you may use either the current EID of
- * the beacon's "stable" UID. Required.
- * Value must have pattern "^beacons/[^/]*$".
+ * format
+ * "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
+ * the beacon and N is a code for the beacon's type. Possible values are
+ * `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`
+ * for AltBeacon. For Eddystone-EID beacons, you may use either the
+ * current EID of the beacon's "stable" UID.
+ * Required.
+ * Value must have pattern "^beacons/[^/]+$".
*
* [projectId] - The project id of the beacon to decommission. If the project
- * id is not specified then the project making the request is used. The
- * project id must match the project that owns the beacon. Optional.
+ * id is not
+ * specified then the project making the request is used. The project id
+ * must match the project that owns the beacon.
+ * Optional.
*
* Completes with a [Empty].
*
@@ -268,30 +286,96 @@
}
/**
- * Returns detailed information about the specified beacon. Authenticate using
- * an [OAuth access
- * token](https://developers.google.com/identity/protocols/OAuth2) from a
- * signed-in user with **viewer**, **Is owner** or **Can edit** permissions in
- * the Google Developers Console project. Requests may supply an Eddystone-EID
- * beacon name in the form: `beacons/4!beaconId` where the `beaconId` is the
- * base16 ephemeral ID broadcast by the beacon. The returned `Beacon` object
- * will contain the beacon's stable Eddystone-UID. Clients not authorized to
- * resolve the beacon's ephemeral Eddystone-EID broadcast will receive an
+ * Deletes the specified beacon including all diagnostics data for the beacon
+ * as well as any attachments on the beacon (including those belonging to
+ * other projects). This operation cannot be undone.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2)
+ * from a signed-in user with **Is owner** or **Can edit** permissions in the
+ * Google Developers Console project.
+ *
+ * Request parameters:
+ *
+ * [beaconName] - Beacon that should be deleted. A beacon name has the format
+ * "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
+ * the beacon and N is a code for the beacon's type. Possible values are
+ * `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`
+ * for AltBeacon. For Eddystone-EID beacons, you may use either the
+ * current EID or the beacon's "stable" UID.
+ * Required.
+ * Value must have pattern "^beacons/[^/]+$".
+ *
+ * [projectId] - The project id of the beacon to delete. If not provided, the
+ * project
+ * that is making the request is used.
+ * Optional.
+ *
+ * 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<Empty> delete(core.String beaconName, {core.String projectId}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (beaconName == null) {
+ throw new core.ArgumentError("Parameter beaconName is required.");
+ }
+ if (projectId != null) {
+ _queryParams["projectId"] = [projectId];
+ }
+
+ _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$beaconName');
+
+ var _response = _requester.request(_url,
+ "DELETE",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Empty.fromJson(data));
+ }
+
+ /**
+ * Returns detailed information about the specified beacon.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2)
+ * from a signed-in user with **viewer**, **Is owner** or **Can edit**
+ * permissions in the Google Developers Console project.
+ *
+ * Requests may supply an Eddystone-EID beacon name in the form:
+ * `beacons/4!beaconId` where the `beaconId` is the base16 ephemeral ID
+ * broadcast by the beacon. The returned `Beacon` object will contain the
+ * beacon's stable Eddystone-UID. Clients not authorized to resolve the
+ * beacon's ephemeral Eddystone-EID broadcast will receive an error.
+ *
* Request parameters:
*
* [beaconName] - Resource name of this beacon. A beacon name has the format
- * "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by the
- * beacon and N is a code for the beacon's type. Possible values are `3` for
- * Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for
- * AltBeacon. For Eddystone-EID beacons, you may use either the current EID or
- * the beacon's "stable" UID. Required.
- * Value must have pattern "^beacons/[^/]*$".
+ * "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
+ * the beacon and N is a code for the beacon's type. Possible values are
+ * `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`
+ * for AltBeacon. For Eddystone-EID beacons, you may use either the
+ * current EID or the beacon's "stable" UID.
+ * Required.
+ * Value must have pattern "^beacons/[^/]+$".
*
* [projectId] - The project id of the beacon to request. If the project id is
- * not specified then the project making the request is used. The project id
- * must match the project that owns the beacon. Optional.
+ * not specified
+ * then the project making the request is used. The project id must match the
+ * project that owns the beacon.
+ * Optional.
*
* Completes with a [Beacon].
*
@@ -330,66 +414,96 @@
/**
* Searches the beacon registry for beacons that match the given search
- * criteria. Only those beacons that the client has permission to list will be
- * returned. Authenticate using an [OAuth access
- * token](https://developers.google.com/identity/protocols/OAuth2) from a
- * signed-in user with **viewer**, **Is owner** or **Can edit** permissions in
- * the Google Developers Console project.
+ * criteria. Only those beacons that the client has permission to list
+ * will be returned.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2)
+ * from a signed-in user with **viewer**, **Is owner** or **Can edit**
+ * permissions in the Google Developers Console project.
*
* Request parameters:
*
- * [q] - Filter query string that supports the following field filters: *
- * `description:""` For example: `description:"Room 3"` Returns beacons whose
- * description matches tokens in the string "Room 3" (not necessarily that
- * exact string). The string must be double-quoted. * `status:` For example:
- * `status:active` Returns beacons whose status matches the given value.
- * Values must be one of the Beacon.Status enum values (case insensitive).
- * Accepts multiple filters which will be combined with OR logic. *
- * `stability:` For example: `stability:mobile` Returns beacons whose expected
- * stability matches the given value. Values must be one of the
- * Beacon.Stability enum values (case insensitive). Accepts multiple filters
- * which will be combined with OR logic. * `place_id:""` For example:
- * `place_id:"ChIJVSZzVR8FdkgRXGmmm6SslKw="` Returns beacons explicitly
- * registered at the given place, expressed as a Place ID obtained from
- * [Google Places API](/places/place-id). Does not match places inside the
- * given place. Does not consider the beacon's actual location (which may be
- * different from its registered place). Accepts multiple filters that will be
- * combined with OR logic. The place ID must be double-quoted. *
- * `registration_time[|=]` For example: `registration_time>=1433116800`
- * Returns beacons whose registration time matches the given filter. Supports
- * the operators: , =. Timestamp must be expressed as an integer number of
- * seconds since midnight January 1, 1970 UTC. Accepts at most two filters
- * that will be combined with AND logic, to support "between" semantics. If
- * more than two are supplied, the latter ones are ignored. * `lat: lng:
- * radius:` For example: `lat:51.1232343 lng:-1.093852 radius:1000` Returns
- * beacons whose registered location is within the given circle. When any of
- * these fields are given, all are required. Latitude and longitude must be
- * decimal degrees between -90.0 and 90.0 and between -180.0 and 180.0
- * respectively. Radius must be an integer number of meters between 10 and
- * 1,000,000 (1000 km). * `property:"="` For example:
- * `property:"battery-type=CR2032"` Returns beacons which have a property of
- * the given name and value. Supports multiple filters which will be combined
- * with OR logic. The entire name=value string must be double-quoted as one
- * string. * `attachment_type:""` For example:
- * `attachment_type:"my-namespace/my-type"` Returns beacons having at least
- * one attachment of the given namespaced type. Supports "any within this
- * namespace" via the partial wildcard syntax: "my-namespace / * ". Supports
- * multiple filters which will be combined with OR logic. The string must be
- * double-quoted. Multiple filters on the same field are combined with OR
- * logic (except registration_time which is combined with AND logic). Multiple
- * filters on different fields are combined with AND logic. Filters should be
- * separated by spaces. As with any HTTP query string parameter, the whole
- * filter expression must be URL-encoded. Example REST request: `GET
- * /v1beta1/beacons?q=status:active%20lat:51.123%20lng:-1.095%20radius:1000`
- *
* [pageToken] - A pagination token obtained from a previous request to list
* beacons.
*
+ * [q] - Filter query string that supports the following field filters:
+ *
+ * * **description:`"<string>"`**
+ * For example: **description:"Room 3"**
+ * Returns beacons whose description matches tokens in the string "Room 3"
+ * (not necessarily that exact string).
+ * The string must be double-quoted.
+ * * **status:`<enum>`**
+ * For example: **status:active**
+ * Returns beacons whose status matches the given value. Values must be
+ * one of the Beacon.Status enum values (case insensitive). Accepts
+ * multiple filters which will be combined with OR logic.
+ * * **stability:`<enum>`**
+ * For example: **stability:mobile**
+ * Returns beacons whose expected stability matches the given value.
+ * Values must be one of the Beacon.Stability enum values (case
+ * insensitive). Accepts multiple filters which will be combined with
+ * OR logic.
+ * * **place\_id:`"<string>"`**
+ * For example: **place\_id:"ChIJVSZzVR8FdkgRXGmmm6SslKw="**
+ * Returns beacons explicitly registered at the given place, expressed as
+ * a Place ID obtained from [Google Places API](/places/place-id). Does not
+ * match places inside the given place. Does not consider the beacon's
+ * actual location (which may be different from its registered place).
+ * Accepts multiple filters that will be combined with OR logic. The place
+ * ID must be double-quoted.
+ * * **registration\_time`[<|>|<=|>=]<integer>`**
+ * For example: **registration\_time>=1433116800**
+ * Returns beacons whose registration time matches the given filter.
+ * Supports the operators: <, >, <=, and >=. Timestamp must be expressed as
+ * an integer number of seconds since midnight January 1, 1970 UTC. Accepts
+ * at most two filters that will be combined with AND logic, to support
+ * "between" semantics. If more than two are supplied, the latter ones are
+ * ignored.
+ * * **lat:`<double> lng:<double> radius:<integer>`**
+ * For example: **lat:51.1232343 lng:-1.093852 radius:1000**
+ * Returns beacons whose registered location is within the given circle.
+ * When any of these fields are given, all are required. Latitude and
+ * longitude must be decimal degrees between -90.0 and 90.0 and between
+ * -180.0 and 180.0 respectively. Radius must be an integer number of
+ * meters between 10 and 1,000,000 (1000 km).
+ * * **property:`"<string>=<string>"`**
+ * For example: **property:"battery-type=CR2032"**
+ * Returns beacons which have a property of the given name and value.
+ * Supports multiple filters which will be combined with OR logic.
+ * The entire name=value string must be double-quoted as one string.
+ * * **attachment\_type:`"<string>"`**
+ * For example: **attachment_type:"my-namespace/my-type"**
+ * Returns beacons having at least one attachment of the given namespaced
+ * type. Supports "any within this namespace" via the partial wildcard
+ * syntax: "my-namespace / * ". Supports multiple filters which will be
+ * combined with OR logic. The string must be double-quoted.
+ * * **indoor\_level:`"<string>"`**
+ * For example: **indoor\_level:"1"**
+ * Returns beacons which are located on the given indoor level. Accepts
+ * multiple filters that will be combined with OR logic.
+ *
+ * Multiple filters on the same field are combined with OR logic (except
+ * registration_time which is combined with AND logic).
+ * Multiple filters on different fields are combined with AND logic.
+ * Filters should be separated by spaces.
+ *
+ * As with any HTTP query string parameter, the whole filter expression must
+ * be URL-encoded.
+ *
+ * Example REST request:
+ * `GET
+ * /v1beta1/beacons?q=status:active%20lat:51.123%20lng:-1.095%20radius:1000`
+ *
* [pageSize] - The maximum number of records to return for this request, up
- * to a server-defined upper limit.
+ * to a
+ * server-defined upper limit.
*
* [projectId] - The project id to list beacons under. If not present then the
- * project credential that made the request is used as the project. Optional.
+ * project
+ * credential that made the request is used as the project.
+ * Optional.
*
* Completes with a [ListBeaconsResponse].
*
@@ -399,7 +513,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListBeaconsResponse> list({core.String q, core.String pageToken, core.int pageSize, core.String projectId}) {
+ async.Future<ListBeaconsResponse> list({core.String pageToken, core.String q, core.int pageSize, core.String projectId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -407,12 +521,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (q != null) {
- _queryParams["q"] = [q];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (q != null) {
+ _queryParams["q"] = [q];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
@@ -433,20 +547,23 @@
}
/**
- * Registers a previously unregistered beacon given its `advertisedId`. These
- * IDs are unique within the system. An ID can be registered only once.
+ * Registers a previously unregistered beacon given its `advertisedId`.
+ * These IDs are unique within the system. An ID can be registered only once.
+ *
* Authenticate using an [OAuth access
- * token](https://developers.google.com/identity/protocols/OAuth2) from a
- * signed-in user with **Is owner** or **Can edit** permissions in the Google
- * Developers Console project.
+ * token](https://developers.google.com/identity/protocols/OAuth2)
+ * from a signed-in user with **Is owner** or **Can edit** permissions in the
+ * Google Developers Console project.
*
* [request] - The metadata request object.
*
* Request parameters:
*
* [projectId] - The project id of the project the beacon will be registered
- * to. If the project id is not specified then the project making the request
- * is used. Optional.
+ * to. If
+ * the project id is not specified then the project making the request
+ * is used.
+ * Optional.
*
* Completes with a [Beacon].
*
@@ -487,29 +604,34 @@
* Updates the information about the specified beacon. **Any field that you do
* not populate in the submitted beacon will be permanently erased**, so you
* should follow the "read, modify, write" pattern to avoid inadvertently
- * destroying data. Changes to the beacon status via this method will be
- * silently ignored. To update beacon status, use the separate methods on this
- * API for activation, deactivation, and decommissioning. Authenticate using
- * an [OAuth access
- * token](https://developers.google.com/identity/protocols/OAuth2) from a
- * signed-in user with **Is owner** or **Can edit** permissions in the Google
- * Developers Console project.
+ * destroying data.
+ *
+ * Changes to the beacon status via this method will be silently ignored.
+ * To update beacon status, use the separate methods on this API for
+ * activation, deactivation, and decommissioning.
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2)
+ * from a signed-in user with **Is owner** or **Can edit** permissions in the
+ * Google Developers Console project.
*
* [request] - The metadata request object.
*
* Request parameters:
*
* [beaconName] - Resource name of this beacon. A beacon name has the format
- * "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by the
- * beacon and N is a code for the beacon's type. Possible values are `3` for
- * Eddystone, `1` for iBeacon, or `5` for AltBeacon. This field must be left
- * empty when registering. After reading a beacon, clients can use the name
- * for future operations.
- * Value must have pattern "^beacons/[^/]*$".
+ * "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
+ * the beacon and N is a code for the beacon's type. Possible values are
+ * `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon.
+ *
+ * This field must be left empty when registering. After reading a beacon,
+ * clients can use the name for future operations.
+ * Value must have pattern "^beacons/[^/]+$".
*
* [projectId] - The project id of the beacon to update. If the project id is
- * not specified then the project making the request is used. The project id
- * must match the project that owns the beacon. Optional.
+ * not
+ * specified then the project making the request is used. The project id
+ * must match the project that owns the beacon.
+ * Optional.
*
* Completes with a [Beacon].
*
@@ -559,35 +681,44 @@
_requester = client;
/**
- * Deletes multiple attachments on a given beacon. This operation is permanent
- * and cannot be undone. You can optionally specify `namespacedType` to choose
- * which attachments should be deleted. If you do not specify
- * `namespacedType`, all your attachments on the given beacon will be deleted.
- * You also may explicitly specify `* / * ` to delete all. Authenticate using
- * an [OAuth access
- * token](https://developers.google.com/identity/protocols/OAuth2) from a
- * signed-in user with **Is owner** or **Can edit** permissions in the Google
- * Developers Console project.
+ * Deletes multiple attachments on a given beacon. This operation is
+ * permanent and cannot be undone.
+ *
+ * You can optionally specify `namespacedType` to choose which attachments
+ * should be deleted. If you do not specify `namespacedType`, all your
+ * attachments on the given beacon will be deleted. You also may explicitly
+ * specify `* / * ` to delete all.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2)
+ * from a signed-in user with **Is owner** or **Can edit** permissions in the
+ * Google Developers Console project.
*
* Request parameters:
*
* [beaconName] - The beacon whose attachments should be deleted. A beacon
- * name has the format "beacons/N!beaconId" where the beaconId is the base16
- * ID broadcast by the beacon and N is a code for the beacon's type. Possible
- * values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon,
- * or `5` for AltBeacon. For Eddystone-EID beacons, you may use either the
- * current EID or the beacon's "stable" UID. Required.
- * Value must have pattern "^beacons/[^/]*$".
+ * name has the
+ * format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast
+ * by the beacon and N is a code for the beacon's type. Possible values are
+ * `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`
+ * for AltBeacon. For Eddystone-EID beacons, you may use either the
+ * current EID or the beacon's "stable" UID.
+ * Required.
+ * Value must have pattern "^beacons/[^/]+$".
*
* [namespacedType] - Specifies the namespace and type of attachments to
- * delete in `namespace/type` format. Accepts `* / * ` to specify "all types
- * in all namespaces". Optional.
+ * delete in
+ * `namespace/type` format. Accepts `* / * ` to specify
+ * "all types in all namespaces".
+ * Optional.
*
* [projectId] - The project id to delete beacon attachments under. This field
- * can be used when "*" is specified to mean all attachment namespaces.
- * Projects may have multiple attachments with multiple namespaces. If "*" is
- * specified and the projectId string is empty, then the project making the
- * request is used. Optional.
+ * can be
+ * used when "*" is specified to mean all attachment namespaces. Projects
+ * may have multiple attachments with multiple namespaces. If "*" is
+ * specified and the projectId string is empty, then the project
+ * making the request is used.
+ * Optional.
*
* Completes with a [DeleteAttachmentsResponse].
*
@@ -630,32 +761,41 @@
/**
* Associates the given data with the specified beacon. Attachment data must
* contain two parts:
- * - A namespaced type.
- * - The actual attachment data itself. The namespaced type consists of two
- * parts, the namespace and the type. The namespace must be one of the values
- * returned by the `namespaces` endpoint, while the type can be a string of
- * any characters except for the forward slash (`/`) up to 100 characters in
- * length. Attachment data can be up to 1024 bytes long. Authenticate using an
- * [OAuth access
- * token](https://developers.google.com/identity/protocols/OAuth2) from a
- * signed-in user with **Is owner** or **Can edit** permissions in the Google
- * Developers Console project.
+ * <ul>
+ * <li>A namespaced type.</li>
+ * <li>The actual attachment data itself.</li>
+ * </ul>
+ * The namespaced type consists of two parts, the namespace and the type.
+ * The namespace must be one of the values returned by the `namespaces`
+ * endpoint, while the type can be a string of any characters except for the
+ * forward slash (`/`) up to 100 characters in length.
+ *
+ * Attachment data can be up to 1024 bytes long.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2)
+ * from a signed-in user with **Is owner** or **Can edit** permissions in the
+ * Google Developers Console project.
*
* [request] - The metadata request object.
*
* Request parameters:
*
* [beaconName] - Beacon on which the attachment should be created. A beacon
- * name has the format "beacons/N!beaconId" where the beaconId is the base16
- * ID broadcast by the beacon and N is a code for the beacon's type. Possible
- * values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon,
- * or `5` for AltBeacon. For Eddystone-EID beacons, you may use either the
- * current EID or the beacon's "stable" UID. Required.
- * Value must have pattern "^beacons/[^/]*$".
+ * name has the
+ * format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast
+ * by the beacon and N is a code for the beacon's type. Possible values are
+ * `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`
+ * for AltBeacon. For Eddystone-EID beacons, you may use either the
+ * current EID or the beacon's "stable" UID.
+ * Required.
+ * Value must have pattern "^beacons/[^/]+$".
*
* [projectId] - The project id of the project the attachment will belong to.
- * If the project id is not specified then the project making the request is
- * used. Optional.
+ * If
+ * the project id is not specified then the project making the request
+ * is used.
+ * Optional.
*
* Completes with a [BeaconAttachment].
*
@@ -700,22 +840,27 @@
* a unique attachment name (`attachmentName`) which is returned when you
* fetch the attachment data via this API. You specify this with the delete
* request to control which attachment is removed. This operation cannot be
- * undone. Authenticate using an [OAuth access
- * token](https://developers.google.com/identity/protocols/OAuth2) from a
- * signed-in user with **Is owner** or **Can edit** permissions in the Google
- * Developers Console project.
+ * undone.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2)
+ * from a signed-in user with **Is owner** or **Can edit** permissions in the
+ * Google Developers Console project.
*
* Request parameters:
*
- * [attachmentName] - The attachment name (`attachmentName`) of the attachment
- * to remove. For example:
+ * [attachmentName] - The attachment name (`attachmentName`) of
+ * the attachment to remove. For example:
* `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`. For
* Eddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the
- * beacon's current EID, or its "stable" Eddystone-UID. Required.
- * Value must have pattern "^beacons/[^/] * / attachments/[^/]*$".
+ * beacon's current EID, or its "stable" Eddystone-UID.
+ * Required.
+ * Value must have pattern "^beacons/[^/]+/attachments/[^/]+$".
*
* [projectId] - The project id of the attachment to delete. If not provided,
- * the project that is making the request is used. Optional.
+ * the project
+ * that is making the request is used.
+ * Optional.
*
* Completes with a [Empty].
*
@@ -754,34 +899,42 @@
/**
* Returns the attachments for the specified beacon that match the specified
- * namespaced-type pattern. To control which namespaced types are returned,
- * you add the `namespacedType` query parameter to the request. You must
- * either use `* / * `, to return all attachments, or the namespace must be
- * one of the ones returned from the `namespaces` endpoint. Authenticate using
- * an [OAuth access
- * token](https://developers.google.com/identity/protocols/OAuth2) from a
- * signed-in user with **viewer**, **Is owner** or **Can edit** permissions in
- * the Google Developers Console project.
+ * namespaced-type pattern.
+ *
+ * To control which namespaced types are returned, you add the
+ * `namespacedType` query parameter to the request. You must either use
+ * `* / * `, to return all attachments, or the namespace must be one of
+ * the ones returned from the `namespaces` endpoint.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2)
+ * from a signed-in user with **viewer**, **Is owner** or **Can edit**
+ * permissions in the Google Developers Console project.
*
* Request parameters:
*
* [beaconName] - Beacon whose attachments should be fetched. A beacon name
- * has the format "beacons/N!beaconId" where the beaconId is the base16 ID
- * broadcast by the beacon and N is a code for the beacon's type. Possible
- * values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon,
- * or `5` for AltBeacon. For Eddystone-EID beacons, you may use either the
- * current EID or the beacon's "stable" UID. Required.
- * Value must have pattern "^beacons/[^/]*$".
- *
- * [namespacedType] - Specifies the namespace and type of attachment to
- * include in response in namespace/type format. Accepts `* / * ` to specify
- * "all types in all namespaces".
+ * has the
+ * format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast
+ * by the beacon and N is a code for the beacon's type. Possible values are
+ * `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`
+ * for AltBeacon. For Eddystone-EID beacons, you may use either the
+ * current EID or the beacon's "stable" UID.
+ * Required.
+ * Value must have pattern "^beacons/[^/]+$".
*
* [projectId] - The project id to list beacon attachments under. This field
- * can be used when "*" is specified to mean all attachment namespaces.
- * Projects may have multiple attachments with multiple namespaces. If "*" is
- * specified and the projectId string is empty, then the project making the
- * request is used. Optional.
+ * can be
+ * used when "*" is specified to mean all attachment namespaces. Projects
+ * may have multiple attachments with multiple namespaces. If "*" is
+ * specified and the projectId string is empty, then the project
+ * making the request is used.
+ * Optional.
+ *
+ * [namespacedType] - Specifies the namespace and type of attachment to
+ * include in response in
+ * <var>namespace/type</var> format. Accepts `* / * ` to specify
+ * "all types in all namespaces".
*
* Completes with a [ListBeaconAttachmentsResponse].
*
@@ -791,7 +944,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListBeaconAttachmentsResponse> list(core.String beaconName, {core.String namespacedType, core.String projectId}) {
+ async.Future<ListBeaconAttachmentsResponse> list(core.String beaconName, {core.String projectId, core.String namespacedType}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -802,12 +955,12 @@
if (beaconName == null) {
throw new core.ArgumentError("Parameter beaconName is required.");
}
- if (namespacedType != null) {
- _queryParams["namespacedType"] = [namespacedType];
- }
if (projectId != null) {
_queryParams["projectId"] = [projectId];
}
+ if (namespacedType != null) {
+ _queryParams["namespacedType"] = [namespacedType];
+ }
_url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$beaconName') + '/attachments';
@@ -833,34 +986,38 @@
/**
* List the diagnostics for a single beacon. You can also list diagnostics for
* all the beacons owned by your Google Developers Console project by using
- * the beacon name `beacons/-`. Authenticate using an [OAuth access
- * token](https://developers.google.com/identity/protocols/OAuth2) from a
- * signed-in user with **viewer**, **Is owner** or **Can edit** permissions in
- * the Google Developers Console project.
+ * the beacon name `beacons/-`.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2)
+ * from a signed-in user with **viewer**, **Is owner** or **Can edit**
+ * permissions in the Google Developers Console project.
*
* Request parameters:
*
* [beaconName] - Beacon that the diagnostics are for.
- * Value must have pattern "^beacons/[^/]*$".
+ * Value must have pattern "^beacons/[^/]+$".
*
* [pageSize] - Specifies the maximum number of results to return. Defaults to
* 10. Maximum 1000. Optional.
*
- * [pageToken] - Requests results that occur after the `page_token`, obtained
- * from the response to a previous request. Optional.
- *
* [alertFilter] - Requests only beacons that have the given alert. For
- * example, to find beacons that have low batteries use
- * `alert_filter=LOW_BATTERY`.
+ * example, to find
+ * beacons that have low batteries use `alert_filter=LOW_BATTERY`.
* Possible string values are:
* - "ALERT_UNSPECIFIED" : A ALERT_UNSPECIFIED.
* - "WRONG_LOCATION" : A WRONG_LOCATION.
* - "LOW_BATTERY" : A LOW_BATTERY.
*
* [projectId] - Requests only diagnostic records for the given project id. If
- * not set, then the project making the request will be used for looking up
+ * not set,
+ * then the project making the request will be used for looking up
* diagnostic records. Optional.
*
+ * [pageToken] - Requests results that occur after the `page_token`, obtained
+ * from the
+ * response to a previous request. Optional.
+ *
* Completes with a [ListDiagnosticsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -869,7 +1026,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListDiagnosticsResponse> list(core.String beaconName, {core.int pageSize, core.String pageToken, core.String alertFilter, core.String projectId}) {
+ async.Future<ListDiagnosticsResponse> list(core.String beaconName, {core.int pageSize, core.String alertFilter, core.String projectId, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -883,15 +1040,15 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (alertFilter != null) {
_queryParams["alertFilter"] = [alertFilter];
}
if (projectId != null) {
_queryParams["projectId"] = [projectId];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$beaconName') + '/diagnostics';
@@ -916,16 +1073,18 @@
/**
* Lists all attachment namespaces owned by your Google Developers Console
- * project. Attachment data associated with a beacon must include a namespaced
- * type, and the namespace must be owned by your project. Authenticate using
- * an [OAuth access
- * token](https://developers.google.com/identity/protocols/OAuth2) from a
- * signed-in user with **viewer**, **Is owner** or **Can edit** permissions in
- * the Google Developers Console project.
+ * project. Attachment data associated with a beacon must include a
+ * namespaced type, and the namespace must be owned by your project.
+ *
+ * Authenticate using an [OAuth access
+ * token](https://developers.google.com/identity/protocols/OAuth2)
+ * from a signed-in user with **viewer**, **Is owner** or **Can edit**
+ * permissions in the Google Developers Console project.
*
* Request parameters:
*
- * [projectId] - The project id to list namespaces under. Optional.
+ * [projectId] - The project id to list namespaces under.
+ * Optional.
*
* Completes with a [ListNamespacesResponse].
*
@@ -968,12 +1127,15 @@
* Request parameters:
*
* [namespaceName] - Resource name of this namespace. Namespaces names have
- * the format: namespaces/namespace.
- * Value must have pattern "^namespaces/[^/]*$".
+ * the format:
+ * <code>namespaces/<var>namespace</var></code>.
+ * Value must have pattern "^namespaces/[^/]+$".
*
* [projectId] - The project id of the namespace to update. If the project id
- * is not specified then the project making the request is used. The project
- * id must match the project that owns the beacon. Optional.
+ * is not
+ * specified then the project making the request is used. The project id
+ * must match the project that owns the beacon.
+ * Optional.
*
* Completes with a [Namespace].
*
@@ -1073,7 +1235,8 @@
* [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP
* requests, and will be so encoded (with padding) in responses. The base64
* encoding should be of the binary byte-stream and not any textual (such as
- * hex) representation thereof. Required.
+ * hex) representation thereof.
+ * Required.
*/
core.String id;
core.List<core.int> get idAsBytes {
@@ -1084,13 +1247,17 @@
id = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
}
/**
- * Specifies the identifier type. Required.
+ * Specifies the identifier type.
+ * Required.
* Possible string values are:
- * - "TYPE_UNSPECIFIED" : A TYPE_UNSPECIFIED.
- * - "EDDYSTONE" : A EDDYSTONE.
- * - "IBEACON" : A IBEACON.
- * - "ALTBEACON" : A ALTBEACON.
- * - "EDDYSTONE_EID" : A EDDYSTONE_EID.
+ * - "TYPE_UNSPECIFIED" : Do not use this value.
+ * - "EDDYSTONE" : Eddystone, an open beacon format that supports Android and
+ * iOS devices
+ * https://github.com/google/eddystone/wiki/Beacon-Specification
+ * - "IBEACON" : Apple iBeacon compatible beacon
+ * - "ALTBEACON" : See http://altbeacon.org and/or
+ * https://github.com/AltBeacon/spec.
+ * - "EDDYSTONE_EID" : Eddystone Ephemeral ID
*/
core.String type;
@@ -1118,8 +1285,9 @@
}
/**
- * A subset of attachment information served via the `beaconinfo.getforobserved`
- * method, used when your users encounter your beacons.
+ * A subset of attachment information served via the
+ * `beaconinfo.getforobserved` method, used when your users encounter your
+ * beacons.
*/
class AttachmentInfo {
/** An opaque data container for client-provided data. */
@@ -1132,9 +1300,9 @@
data = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
}
/**
- * Specifies what kind of attachment this is. Tells a client how to interpret
- * the `data` field. Format is namespace/type, for example
- * scrupulous-wombat-12345/welcome-message
+ * Specifies what kind of attachment this is. Tells a client how to
+ * interpret the `data` field. Format is <var>namespace/type</var>, for
+ * example <code>scrupulous-wombat-12345/welcome-message</code>
*/
core.String namespacedType;
@@ -1165,25 +1333,29 @@
class Beacon {
/**
* The identifier of a beacon as advertised by it. This field must be
- * populated when registering. It may be empty when updating a beacon record
- * because it is ignored in updates. When registering a beacon that broadcasts
- * Eddystone-EID, this field should contain a "stable" Eddystone-UID that
- * identifies the beacon and links it to its attachments. The stable
- * Eddystone-UID is only used for administering the beacon.
+ * populated when registering. It may be empty when updating a beacon
+ * record because it is ignored in updates.
+ *
+ * When registering a beacon that broadcasts Eddystone-EID, this field
+ * should contain a "stable" Eddystone-UID that identifies the beacon and
+ * links it to its attachments. The stable Eddystone-UID is only used for
+ * administering the beacon.
*/
AdvertisedId advertisedId;
/**
* Resource name of this beacon. A beacon name has the format
- * "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by the
- * beacon and N is a code for the beacon's type. Possible values are `3` for
- * Eddystone, `1` for iBeacon, or `5` for AltBeacon. This field must be left
- * empty when registering. After reading a beacon, clients can use the name
- * for future operations.
+ * "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
+ * the beacon and N is a code for the beacon's type. Possible values are
+ * `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon.
+ *
+ * This field must be left empty when registering. After reading a beacon,
+ * clients can use the name for future operations.
*/
core.String beaconName;
/**
* Free text used to identify and describe the beacon. Maximum length 140
- * characters. Optional.
+ * characters.
+ * Optional.
*/
core.String description;
/**
@@ -1196,18 +1368,22 @@
EphemeralIdRegistration ephemeralIdRegistration;
/**
* Expected location stability. This is set when the beacon is registered or
- * updated, not automatically detected in any way. Optional.
+ * updated, not automatically detected in any way.
+ * Optional.
* Possible string values are:
- * - "STABILITY_UNSPECIFIED" : A STABILITY_UNSPECIFIED.
- * - "STABLE" : A STABLE.
- * - "PORTABLE" : A PORTABLE.
- * - "MOBILE" : A MOBILE.
- * - "ROVING" : A ROVING.
+ * - "STABILITY_UNSPECIFIED" : Do not use this value.
+ * - "STABLE" : Not expected to move, for example a store's front door.
+ * - "PORTABLE" : Usually stable but may move rarely, usually within a single
+ * place,
+ * for example a store display.
+ * - "MOBILE" : Moves frequently, for example a personal item or food truck.
+ * - "ROVING" : Moves continuously in service, for example a bus or train.
*/
core.String expectedStability;
/**
* The indoor level information for this beacon, if known. As returned by the
- * Google Maps API. Optional.
+ * Google Maps API.
+ * Optional.
*/
IndoorLevel indoorLevel;
/**
@@ -1218,25 +1394,27 @@
*/
LatLng latLng;
/**
- * The [Google Places API](/places/place-id) Place ID of the place where the
- * beacon is deployed. This is given when the beacon is registered or updated,
- * not automatically detected in any way. Optional.
+ * The [Google Places API](/places/place-id) Place ID of the place where
+ * the beacon is deployed. This is given when the beacon is registered or
+ * updated, not automatically detected in any way.
+ * Optional.
*/
core.String placeId;
/**
* Properties of the beacon device, for example battery type or firmware
- * version. Optional.
+ * version.
+ * Optional.
*/
core.Map<core.String, core.String> properties;
/**
* Some beacons may require a user to provide an authorization key before
* changing any of its configuration (e.g. broadcast frames, transmit power).
- * This field provides a place to store and control access to that key. This
- * field is populated in responses to `GET /v1beta1/beacons/3!beaconId` from
- * users with write access to the given beacon. That is to say: If the user is
- * authorized to write the beacon's confidential data in the service, the
- * service considers them authorized to configure the beacon. Note that this
- * key grants nothing on the service, only on the beacon itself.
+ * This field provides a place to store and control access to that key.
+ * This field is populated in responses to `GET /v1beta1/beacons/3!beaconId`
+ * from users with write access to the given beacon. That is to say: If the
+ * user is authorized to write the beacon's confidential data in the service,
+ * the service considers them authorized to configure the beacon. Note
+ * that this key grants nothing on the service, only on the beacon itself.
*/
core.String provisioningKey;
core.List<core.int> get provisioningKeyAsBytes {
@@ -1247,12 +1425,15 @@
provisioningKey = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
}
/**
- * Current status of the beacon. Required.
+ * Current status of the beacon.
+ * Required.
* Possible string values are:
- * - "STATUS_UNSPECIFIED" : A STATUS_UNSPECIFIED.
- * - "ACTIVE" : A ACTIVE.
- * - "DECOMMISSIONED" : A DECOMMISSIONED.
- * - "INACTIVE" : A INACTIVE.
+ * - "STATUS_UNSPECIFIED" : Do not use this value.
+ * - "ACTIVE" : The "normal" in-use state of a beacon.
+ * - "DECOMMISSIONED" : Beacon should no longer be used for any purpose. This
+ * is irreversible.
+ * - "INACTIVE" : The beacon should not be visible to mobile devices. This is
+ * reversible.
*/
core.String status;
@@ -1337,13 +1518,20 @@
class BeaconAttachment {
/**
* Resource name of this attachment. Attachment names have the format:
- * beacons/beacon_id/attachments/attachment_id. Leave this empty on creation.
+ * <code>beacons/<var>beacon_id</var>/attachments/<var>attachment_id</var></code>.
+ * Leave this empty on creation.
*/
core.String attachmentName;
/**
+ * The UTC time when this attachment was created, in milliseconds since the
+ * UNIX epoch.
+ */
+ core.String creationTimeMs;
+ /**
* An opaque data container for client-provided data. Must be
* [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP
- * requests, and will be so encoded (with padding) in responses. Required.
+ * requests, and will be so encoded (with padding) in responses.
+ * Required.
*/
core.String data;
core.List<core.int> get dataAsBytes {
@@ -1354,10 +1542,11 @@
data = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
}
/**
- * Specifies what kind of attachment this is. Tells a client how to interpret
- * the `data` field. Format is namespace/type. Namespace provides type
- * separation between clients. Type describes the type of `data`, for use by
- * the client when parsing the `data` field. Required.
+ * Specifies what kind of attachment this is. Tells a client how to
+ * interpret the `data` field. Format is <var>namespace/type</var>. Namespace
+ * provides type separation between clients. Type describes the type of
+ * `data`, for use by the client when parsing the `data` field.
+ * Required.
*/
core.String namespacedType;
@@ -1367,6 +1556,9 @@
if (_json.containsKey("attachmentName")) {
attachmentName = _json["attachmentName"];
}
+ if (_json.containsKey("creationTimeMs")) {
+ creationTimeMs = _json["creationTimeMs"];
+ }
if (_json.containsKey("data")) {
data = _json["data"];
}
@@ -1380,6 +1572,9 @@
if (attachmentName != null) {
_json["attachmentName"] = attachmentName;
}
+ if (creationTimeMs != null) {
+ _json["creationTimeMs"] = creationTimeMs;
+ }
if (data != null) {
_json["data"] = data;
}
@@ -1398,8 +1593,8 @@
/** The ID advertised by the beacon. */
AdvertisedId advertisedId;
/**
- * Attachments matching the type(s) requested. May be empty if no attachment
- * types were requested, or if none matched.
+ * Attachments matching the type(s) requested.
+ * May be empty if no attachment types were requested.
*/
core.List<AttachmentInfo> attachments;
/** The name under which the beacon is registered. */
@@ -1436,12 +1631,12 @@
/**
* Represents a whole calendar date, e.g. date of birth. The time of day and
- * time zone are either specified elsewhere or are not significant. The date is
- * relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a
- * year and month where the day is not significant, e.g. credit card expiration
- * date. The year may be 0 to represent a month and day independent of year,
- * e.g. anniversary date. Related types are google.type.TimeOfDay and
- * `google.protobuf.Timestamp`.
+ * time zone are either specified elsewhere or are not significant. The date
+ * is relative to the Proleptic Gregorian Calendar. The day may be 0 to
+ * represent a year and month where the day is not significant, e.g. credit card
+ * expiration date. The year may be 0 to represent a month and day independent
+ * of year, e.g. anniversary date. Related types are google.type.TimeOfDay
+ * and `google.protobuf.Timestamp`.
*/
class Date {
/**
@@ -1452,8 +1647,8 @@
/** Month of year. Must be from 1 to 12. */
core.int month;
/**
- * Year of date. Must be from 1 to 9999, or 0 if specifying a date without a
- * year.
+ * Year of date. Must be from 1 to 9999, or 0 if specifying a date without
+ * a year.
*/
core.int year;
@@ -1513,14 +1708,14 @@
/** An unordered list of Alerts that the beacon has. */
core.List<core.String> alerts;
/**
- * Resource name of the beacon. For Eddystone-EID beacons, this may be the
- * beacon's current EID, or the beacon's "stable" Eddystone-UID.
+ * Resource name of the beacon. For Eddystone-EID beacons, this may
+ * be the beacon's current EID, or the beacon's "stable" Eddystone-UID.
*/
core.String beaconName;
/**
* The date when the battery is expected to be low. If the value is missing
- * then there is no estimate for when the battery will be low. This value is
- * only an estimate, not an exact date.
+ * then there is no estimate for when the battery will be low.
+ * This value is only an estimate, not an exact date.
*/
Date estimatedLowBatteryDate;
@@ -1555,10 +1750,14 @@
/**
* 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); } The JSON
- * representation for `Empty` is empty JSON object `{}`.
+ * 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);
+ * }
+ *
+ * The JSON representation for `Empty` is empty JSON object `{}`.
*/
class Empty {
@@ -1575,29 +1774,34 @@
/**
* Write-only registration parameters for beacons using Eddystone-EID format.
- * Two ways of securely registering an Eddystone-EID beacon with the service are
- * supported: 1. Perform an ECDH key exchange via this API, including a previous
- * call to `GET /v1beta1/eidparams`. In this case the fields
- * `beacon_ecdh_public_key` and `service_ecdh_public_key` should be populated
- * and `beacon_identity_key` should not be populated. This method ensures that
- * only the two parties in the ECDH key exchange can compute the identity key,
- * which becomes a secret between them. 2. Derive or obtain the beacon's
- * identity key via other secure means (perhaps an ECDH key exchange between the
- * beacon and a mobile device or any other secure method), and then submit the
- * resulting identity key to the service. In this case `beacon_identity_key`
- * field should be populated, and neither of `beacon_ecdh_public_key` nor
- * `service_ecdh_public_key` fields should be. The security of this method
- * depends on how securely the parties involved (in particular the bluetooth
- * client) handle the identity key, and obviously on how securely the identity
- * key was generated. See [the Eddystone
+ * Two ways of securely registering an Eddystone-EID beacon with the service
+ * are supported:
+ *
+ * 1. Perform an ECDH key exchange via this API, including a previous call
+ * to `GET /v1beta1/eidparams`. In this case the fields
+ * `beacon_ecdh_public_key` and `service_ecdh_public_key` should be
+ * populated and `beacon_identity_key` should not be populated. This
+ * method ensures that only the two parties in the ECDH key exchange can
+ * compute the identity key, which becomes a secret between them.
+ * 2. Derive or obtain the beacon's identity key via other secure means
+ * (perhaps an ECDH key exchange between the beacon and a mobile device
+ * or any other secure method), and then submit the resulting identity key
+ * to the service. In this case `beacon_identity_key` field should be
+ * populated, and neither of `beacon_ecdh_public_key` nor
+ * `service_ecdh_public_key` fields should be. The security of this method
+ * depends on how securely the parties involved (in particular the
+ * bluetooth client) handle the identity key, and obviously on how
+ * securely the identity key was generated.
+ *
+ * See [the Eddystone
* specification](https://github.com/google/eddystone/tree/master/eddystone-eid)
* at GitHub.
*/
class EphemeralIdRegistration {
/**
- * The beacon's public key used for the Elliptic curve Diffie-Hellman key
- * exchange. When this field is populated, `service_ecdh_public_key` must also
- * be populated, and `beacon_identity_key` must not be.
+ * The beacon's public key used for the Elliptic curve Diffie-Hellman
+ * key exchange. When this field is populated, `service_ecdh_public_key`
+ * must also be populated, and `beacon_identity_key` must not be.
*/
core.String beaconEcdhPublicKey;
core.List<core.int> get beaconEcdhPublicKeyAsBytes {
@@ -1621,19 +1825,19 @@
beaconIdentityKey = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
}
/**
- * The initial clock value of the beacon. The beacon's clock must have begun
- * counting at this value immediately prior to transmitting this value to the
- * resolving service. Significant delay in transmitting this value to the
- * service risks registration or resolution failures. If a value is not
- * provided, the default is zero.
+ * The initial clock value of the beacon. The beacon's clock must have
+ * begun counting at this value immediately prior to transmitting this
+ * value to the resolving service. Significant delay in transmitting this
+ * value to the service risks registration or resolution failures. If a
+ * value is not provided, the default is zero.
*/
core.String initialClockValue;
/**
* An initial ephemeral ID calculated using the clock value submitted as
- * `initial_clock_value`, and the secret key generated by the Diffie-Hellman
- * key exchange using `service_ecdh_public_key` and `service_ecdh_public_key`.
- * This initial EID value will be used by the service to confirm that the key
- * exchange process was successful.
+ * `initial_clock_value`, and the secret key generated by the
+ * Diffie-Hellman key exchange using `service_ecdh_public_key` and
+ * `service_ecdh_public_key`. This initial EID value will be used by the
+ * service to confirm that the key exchange process was successful.
*/
core.String initialEid;
core.List<core.int> get initialEidAsBytes {
@@ -1645,18 +1849,18 @@
}
/**
* Indicates the nominal period between each rotation of the beacon's
- * ephemeral ID. "Nominal" because the beacon should randomize the actual
- * interval. See [the spec at
- * github](https://github.com/google/eddystone/tree/master/eddystone-eid) for
- * details. This value corresponds to a power-of-two scaler on the beacon's
- * clock: when the scaler value is K, the beacon will begin broadcasting a new
- * ephemeral ID on average every 2^K seconds.
+ * ephemeral ID. "Nominal" because the beacon should randomize the
+ * actual interval. See [the spec at
+ * github](https://github.com/google/eddystone/tree/master/eddystone-eid)
+ * for details. This value corresponds to a power-of-two scaler on the
+ * beacon's clock: when the scaler value is K, the beacon will begin
+ * broadcasting a new ephemeral ID on average every 2^K seconds.
*/
core.int rotationPeriodExponent;
/**
- * The service's public key used for the Elliptic curve Diffie-Hellman key
- * exchange. When this field is populated, `beacon_ecdh_public_key` must also
- * be populated, and `beacon_identity_key` must not be.
+ * The service's public key used for the Elliptic curve Diffie-Hellman
+ * key exchange. When this field is populated, `beacon_ecdh_public_key`
+ * must also be populated, and `beacon_identity_key` must not be.
*/
core.String serviceEcdhPublicKey;
core.List<core.int> get serviceEcdhPublicKeyAsBytes {
@@ -1715,26 +1919,27 @@
}
/**
- * Information a client needs to provision and register beacons that broadcast
- * Eddystone-EID format beacon IDs, using Elliptic curve Diffie-Hellman key
- * exchange. See [the Eddystone
+ * Information a client needs to provision and register beacons that
+ * broadcast Eddystone-EID format beacon IDs, using Elliptic curve
+ * Diffie-Hellman key exchange. See
+ * [the Eddystone
* specification](https://github.com/google/eddystone/tree/master/eddystone-eid)
* at GitHub.
*/
class EphemeralIdRegistrationParams {
/**
- * Indicates the maximum rotation period supported by the service. See
- * EddystoneEidRegistration.rotation_period_exponent
+ * Indicates the maximum rotation period supported by the service.
+ * See EddystoneEidRegistration.rotation_period_exponent
*/
core.int maxRotationPeriodExponent;
/**
- * Indicates the minimum rotation period supported by the service. See
- * EddystoneEidRegistration.rotation_period_exponent
+ * Indicates the minimum rotation period supported by the service.
+ * See EddystoneEidRegistration.rotation_period_exponent
*/
core.int minRotationPeriodExponent;
/**
- * The beacon service's public key for use by a beacon to derive its Identity
- * Key using Elliptic Curve Diffie-Hellman key exchange.
+ * The beacon service's public key for use by a beacon to derive its
+ * Identity Key using Elliptic Curve Diffie-Hellman key exchange.
*/
core.String serviceEcdhPublicKey;
core.List<core.int> get serviceEcdhPublicKeyAsBytes {
@@ -1775,19 +1980,22 @@
}
/**
- * Request for beacon and attachment information about beacons that a mobile
- * client has encountered "in the wild".
+ * Request for beacon and attachment information about beacons that
+ * a mobile client has encountered "in the wild".
*/
class GetInfoForObservedBeaconsRequest {
/**
- * Specifies what kind of attachments to include in the response. When given,
- * the response will include only attachments of the given types. When empty,
- * no attachments will be returned. Must be in the format namespace/type.
- * Accepts `*` to specify all types in all namespaces. Optional.
+ * Specifies what kind of attachments to include in the response.
+ * When given, the response will include only attachments of the given types.
+ * When empty, no attachments will be returned. Must be in the format
+ * <var>namespace/type</var>. Accepts `*` to specify all types in
+ * all namespaces owned by the client.
+ * Optional.
*/
core.List<core.String> namespacedTypes;
/**
- * The beacons that the client has encountered. At least one must be given.
+ * The beacons that the client has encountered.
+ * At least one must be given.
*/
core.List<Observation> observations;
@@ -1820,8 +2028,8 @@
*/
class GetInfoForObservedBeaconsResponse {
/**
- * Public information about beacons. May be empty if the request matched no
- * beacons.
+ * Public information about beacons.
+ * May be empty if the request matched no beacons.
*/
core.List<BeaconInfo> beacons;
@@ -1843,8 +2051,8 @@
}
/**
- * Indoor level, a human-readable string as returned by Google Maps APIs, useful
- * to indicate which floor of a building a beacon is located on.
+ * Indoor level, a human-readable string as returned by Google Maps APIs,
+ * useful to indicate which floor of a building a beacon is located on.
*/
class IndoorLevel {
/** The name of this level. */
@@ -1870,24 +2078,46 @@
/**
* An object representing a latitude/longitude pair. This is expressed as a pair
* of doubles representing degrees latitude and degrees longitude. Unless
- * specified otherwise, this must conform to the WGS84 standard. Values must be
- * within normalized ranges. Example of normalization code in Python: def
- * NormalizeLongitude(longitude): """Wraps decimal degrees longitude to [-180.0,
- * 180.0].""" q, r = divmod(longitude, 360.0) if r > 180.0 or (r == 180.0 and q
- * <= -1.0): return r - 360.0 return r def NormalizeLatLng(latitude, longitude):
- * """Wraps decimal degrees latitude and longitude to [-90.0, 90.0] and [-180.0,
- * 180.0], respectively.""" r = latitude % 360.0 if r = 270.0: return r - 360,
- * NormalizeLongitude(longitude) else: return 180 - r,
- * NormalizeLongitude(longitude + 180.0) assert 180.0 ==
- * NormalizeLongitude(180.0) assert -180.0 == NormalizeLongitude(-180.0) assert
- * -179.0 == NormalizeLongitude(181.0) assert (0.0, 0.0) ==
- * NormalizeLatLng(360.0, 0.0) assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)
- * assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) assert (-85.0, -170.0) ==
- * NormalizeLatLng(-95.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(90.0,
- * 10.0) assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) assert (0.0,
- * -170.0) == NormalizeLatLng(-180.0, 10.0) assert (0.0, -170.0) ==
- * NormalizeLatLng(180.0, 10.0) assert (-90.0, 10.0) == NormalizeLatLng(270.0,
- * 10.0) assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
+ * specified otherwise, this must conform to the
+ * <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+ * standard</a>. Values must be within normalized ranges.
+ *
+ * Example of normalization code in Python:
+ *
+ * def NormalizeLongitude(longitude):
+ * """Wraps decimal degrees longitude to [-180.0, 180.0]."""
+ * q, r = divmod(longitude, 360.0)
+ * if r > 180.0 or (r == 180.0 and q <= -1.0):
+ * return r - 360.0
+ * return r
+ *
+ * def NormalizeLatLng(latitude, longitude):
+ * """Wraps decimal degrees latitude and longitude to
+ * [-90.0, 90.0] and [-180.0, 180.0], respectively."""
+ * r = latitude % 360.0
+ * if r <= 90.0:
+ * return r, NormalizeLongitude(longitude)
+ * elif r >= 270.0:
+ * return r - 360, NormalizeLongitude(longitude)
+ * else:
+ * return 180 - r, NormalizeLongitude(longitude + 180.0)
+ *
+ * assert 180.0 == NormalizeLongitude(180.0)
+ * assert -180.0 == NormalizeLongitude(-180.0)
+ * assert -179.0 == NormalizeLongitude(181.0)
+ * assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)
+ * assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)
+ * assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)
+ * assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)
+ * assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)
+ * assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)
+ * assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)
+ * assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
+ * assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
+ * assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
+ *
+ * The code in logs/storage/validator/logs_validator_traits.cc treats this type
+ * as if it were annotated as ST_LOCATION.
*/
class LatLng {
/** The latitude in degrees. It must be in the range [-90.0, +90.0]. */
@@ -1919,7 +2149,7 @@
}
/**
- * Response to ListBeaconAttachments that contains the requested attachments.
+ * Response to `ListBeaconAttachments` that contains the requested attachments.
*/
class ListBeaconAttachmentsResponse {
/** The attachments that corresponded to the request params. */
@@ -1952,8 +2182,8 @@
*/
core.String nextPageToken;
/**
- * Estimate of the total number of beacons matched by the query. Higher values
- * may be less accurate.
+ * Estimate of the total number of beacons matched by the query. Higher
+ * values may be less accurate.
*/
core.String totalCount;
@@ -1991,8 +2221,8 @@
/** The diagnostics matching the given request. */
core.List<Diagnostics> diagnostics;
/**
- * Token that can be used for pagination. Returned only if the request matches
- * more beacons than can be returned in this response.
+ * Token that can be used for pagination. Returned only if the
+ * request matches more beacons than can be returned in this response.
*/
core.String nextPageToken;
@@ -2045,22 +2275,22 @@
/**
* An attachment namespace defines read and write access for all the attachments
- * created under it. Each namespace is globally unique, and owned by one project
- * which is the only project that can create attachments under it.
+ * created under it. Each namespace is globally unique, and owned by one
+ * project which is the only project that can create attachments under it.
*/
class Namespace {
/**
* Resource name of this namespace. Namespaces names have the format:
- * namespaces/namespace.
+ * <code>namespaces/<var>namespace</var></code>.
*/
core.String namespaceName;
/**
- * Specifies what clients may receive attachments under this namespace via
- * `beaconinfo.getforobserved`.
+ * Specifies what clients may receive attachments under this namespace
+ * via `beaconinfo.getforobserved`.
* Possible string values are:
- * - "VISIBILITY_UNSPECIFIED" : A VISIBILITY_UNSPECIFIED.
- * - "UNLISTED" : A UNLISTED.
- * - "PUBLIC" : A PUBLIC.
+ * - "VISIBILITY_UNSPECIFIED" : Do not use this value.
+ * - "UNLISTED" : Served only to the project that owns the namespace.
+ * - "PUBLIC" : Any project can subscribe to attachments under the namespace.
*/
core.String servingVisibility;
@@ -2090,16 +2320,18 @@
/** Represents one beacon observed once. */
class Observation {
/**
- * The ID advertised by the beacon the client has encountered. Clients may
- * submit an Eddystone-EID `advertised_id`. If the client is not authorized to
- * resolve the given Eddystone-EID, no data will be returned for that beacon.
+ * The ID advertised by the beacon the client has encountered.
+ *
+ * If the submitted `advertised_id` type is Eddystone-EID, then the client
+ * must be authorized to resolve the given beacon. Otherwise no data will be
+ * returned for that beacon.
* Required.
*/
AdvertisedId advertisedId;
/**
* The array of telemetry bytes received from the beacon. The server is
- * responsible for parsing it. This field may frequently be empty, as with a
- * beacon that transmits telemetry only occasionally.
+ * responsible for parsing it. This field may frequently be empty, as
+ * with a beacon that transmits telemetry only occasionally.
*/
core.String telemetry;
core.List<core.int> get telemetryAsBytes {
diff --git a/generated/googleapis_beta/lib/pubsub/v1beta2.dart b/generated/googleapis_beta/lib/pubsub/v1beta2.dart
index 830ab47..e48ba93 100644
--- a/generated/googleapis_beta/lib/pubsub/v1beta2.dart
+++ b/generated/googleapis_beta/lib/pubsub/v1beta2.dart
@@ -251,8 +251,7 @@
*
* [resource] - REQUIRED: The resource for which the policy is being
* requested.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/subscriptions/[^/]+$".
*
* Completes with a [Policy].
@@ -295,13 +294,13 @@
* [project] - The name of the cloud project that subscriptions belong to.
* Value must have pattern "^projects/[^/]+$".
*
+ * [pageSize] - Maximum number of subscriptions to return.
+ *
* [pageToken] - The value returned by the last `ListSubscriptionsResponse`;
* indicates that
* this is a continuation of a prior `ListSubscriptions` call, and that the
* system should return the next page of data.
*
- * [pageSize] - Maximum number of subscriptions to return.
- *
* Completes with a [ListSubscriptionsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -310,7 +309,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListSubscriptionsResponse> list(core.String project, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListSubscriptionsResponse> list(core.String project, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -321,12 +320,12 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1beta2/' + commons.Escaper.ecapeVariableReserved('$project') + '/subscriptions';
@@ -497,8 +496,7 @@
*
* [resource] - REQUIRED: The resource for which the policy is being
* specified.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/subscriptions/[^/]+$".
*
* Completes with a [Policy].
@@ -551,8 +549,7 @@
*
* [resource] - REQUIRED: The resource for which the policy detail is being
* requested.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/subscriptions/[^/]+$".
*
* Completes with a [TestIamPermissionsResponse].
@@ -744,8 +741,7 @@
*
* [resource] - REQUIRED: The resource for which the policy is being
* requested.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/topics/[^/]+$".
*
* Completes with a [Policy].
@@ -890,8 +886,7 @@
*
* [resource] - REQUIRED: The resource for which the policy is being
* specified.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/topics/[^/]+$".
*
* Completes with a [Policy].
@@ -944,8 +939,7 @@
*
* [resource] - REQUIRED: The resource for which the policy detail is being
* requested.
- * `resource` is usually specified as a path. For example, a Project
- * resource is specified as `projects/{project}`.
+ * See the operation documentation for the appropriate value for this field.
* Value must have pattern "^projects/[^/]+/topics/[^/]+$".
*
* Completes with a [TestIamPermissionsResponse].
@@ -1000,13 +994,13 @@
* [topic] - The name of the topic that subscriptions are attached to.
* Value must have pattern "^projects/[^/]+/topics/[^/]+$".
*
+ * [pageSize] - Maximum number of subscription names to return.
+ *
* [pageToken] - The value returned by the last
* `ListTopicSubscriptionsResponse`; indicates
* that this is a continuation of a prior `ListTopicSubscriptions` call, and
* that the system should return the next page of data.
*
- * [pageSize] - Maximum number of subscription names to return.
- *
* Completes with a [ListTopicSubscriptionsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1015,7 +1009,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListTopicSubscriptionsResponse> list(core.String topic, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListTopicSubscriptionsResponse> list(core.String topic, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1026,12 +1020,12 @@
if (topic == null) {
throw new core.ArgumentError("Parameter topic is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1beta2/' + commons.Escaper.ecapeVariableReserved('$topic') + '/subscriptions';
diff --git a/generated/googleapis_beta/lib/runtimeconfig/v1beta1.dart b/generated/googleapis_beta/lib/runtimeconfig/v1beta1.dart
index e474459..5af80e9 100644
--- a/generated/googleapis_beta/lib/runtimeconfig/v1beta1.dart
+++ b/generated/googleapis_beta/lib/runtimeconfig/v1beta1.dart
@@ -751,10 +751,6 @@
* `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
* Value must have pattern "^projects/[^/]+/configs/[^/]+$".
*
- * [pageSize] - Specifies the number of results to return per page. If there
- * are fewer
- * elements than the specified number, returns all elements.
- *
* [filter] - Filters variables by matching the specified filter. For example:
*
* `projects/example-project/config/[CONFIG_NAME]/variables/example-variable`.
@@ -768,6 +764,10 @@
* If true, then only those variables that user has IAM GetVariable permission
* will be returned along with their values.
*
+ * [pageSize] - Specifies the number of results to return per page. If there
+ * are fewer
+ * elements than the specified number, returns all elements.
+ *
* Completes with a [ListVariablesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -776,7 +776,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListVariablesResponse> list(core.String parent, {core.int pageSize, core.String filter, core.String pageToken, core.bool returnValues}) {
+ async.Future<ListVariablesResponse> list(core.String parent, {core.String filter, core.String pageToken, core.bool returnValues, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -787,9 +787,6 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
@@ -799,6 +796,9 @@
if (returnValues != null) {
_queryParams["returnValues"] = ["${returnValues}"];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/variables';
@@ -1152,14 +1152,14 @@
* `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
* Value must have pattern "^projects/[^/]+/configs/[^/]+$".
*
- * [pageToken] - Specifies a page token to use. Set `pageToken` to a
- * `nextPageToken`
- * returned by a previous list request to get the next page of results.
- *
* [pageSize] - Specifies the number of results to return per page. If there
* are fewer
* elements than the specified number, returns all elements.
*
+ * [pageToken] - Specifies a page token to use. Set `pageToken` to a
+ * `nextPageToken`
+ * returned by a previous list request to get the next page of results.
+ *
* Completes with a [ListWaitersResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1168,7 +1168,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListWaitersResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListWaitersResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1179,12 +1179,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/waiters';
diff --git a/generated/googleapis_beta/lib/speech/v1beta1.dart b/generated/googleapis_beta/lib/speech/v1beta1.dart
index 938ecf9..316bd7e 100644
--- a/generated/googleapis_beta/lib/speech/v1beta1.dart
+++ b/generated/googleapis_beta/lib/speech/v1beta1.dart
@@ -179,14 +179,14 @@
*
* Request parameters:
*
- * [filter] - The standard list filter.
- *
* [name] - The name of the operation collection.
*
* [pageToken] - The standard list page token.
*
* [pageSize] - The standard list page size.
*
+ * [filter] - The standard list filter.
+ *
* Completes with a [ListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -195,7 +195,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListOperationsResponse> list({core.String filter, core.String name, core.String pageToken, core.int pageSize}) {
+ async.Future<ListOperationsResponse> list({core.String name, core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -203,9 +203,6 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (name != null) {
_queryParams["name"] = [name];
}
@@ -215,6 +212,9 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
_url = 'v1beta1/operations';
diff --git a/generated/googleapis_beta/lib/toolresults/v1beta3.dart b/generated/googleapis_beta/lib/toolresults/v1beta3.dart
index df65a74..b340c02 100644
--- a/generated/googleapis_beta/lib/toolresults/v1beta3.dart
+++ b/generated/googleapis_beta/lib/toolresults/v1beta3.dart
@@ -1743,6 +1743,7 @@
/**
*
* Possible string values are:
+ * - "bytesPerSecond"
* - "kibibyte"
* - "percent"
* - "perfUnitUnspecified"
@@ -1757,6 +1758,9 @@
* - "memoryRssPrivate"
* - "memoryRssShared"
* - "memoryRssTotal"
+ * - "memoryTotal"
+ * - "networkReceived"
+ * - "networkSent"
* - "ntBytesReceived"
* - "ntBytesTransferred"
* - "sampleSeriesTypeUnspecified"
@@ -1934,7 +1938,8 @@
core.int nanos;
/**
* Signed seconds of the span of time. Must be from -315,576,000,000 to
- * +315,576,000,000 inclusive.
+ * +315,576,000,000 inclusive. Note: these bounds are computed from: 60
+ * sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
*/
core.String seconds;
diff --git a/generated/googleapis_beta/pubspec.yaml b/generated/googleapis_beta/pubspec.yaml
index e0b467e..1248edd 100644
--- a/generated/googleapis_beta/pubspec.yaml
+++ b/generated/googleapis_beta/pubspec.yaml
@@ -1,7 +1,7 @@
name: googleapis_beta
-version: 0.34.0
+version: 0.35.0
author: Dart Team <misc@dartlang.org>
-description: "Auto-generated client libraries for accessing the following APIs:adexchangebuyer2:v2beta1, appengine:v1beta, appengine:v1beta4, appengine:v1beta5, clouderrorreporting:v1beta1, cloudkms:v1beta1, cloudmonitoring:v2beta2, cloudresourcemanager:v1beta1, clouduseraccounts:beta, dataflow:v1b3, dataproc:v1beta1, datastore:v1beta2, datastore:v1beta3, dns:v2beta1, language:v1beta1, logging:v2beta1, ml:v1beta1, proximitybeacon:v1beta1, pubsub:v1beta2, replicapool:v1beta2, replicapoolupdater:v1beta1, resourceviews:v1beta1, resourceviews:v1beta2, runtimeconfig:v1beta1, speech:v1beta1, sqladmin:v1beta3, sqladmin:v1beta4, taskqueue:v1beta2, toolresults:v1beta3"
+description: "Auto-generated client libraries for accessing the following APIs:adexchangebuyer2:v2beta1, appengine:v1beta, appengine:v1beta4, appengine:v1beta5, clouderrorreporting:v1beta1, cloudmonitoring:v2beta2, cloudresourcemanager:v1beta1, clouduseraccounts:beta, dataflow:v1b3, dataproc:v1beta1, datastore:v1beta2, datastore:v1beta3, dlp:v2beta1, dns:v2beta1, language:v1beta1, logging:v2beta1, proximitybeacon:v1beta1, pubsub:v1beta2, replicapool:v1beta2, replicapoolupdater:v1beta1, resourceviews:v1beta1, resourceviews:v1beta2, runtimeconfig:v1beta1, speech:v1beta1, sqladmin:v1beta3, sqladmin:v1beta4, taskqueue:v1beta2, toolresults:v1beta3"
homepage: http://www.dartlang.org/googleapis/
environment:
sdk: '>=1.14.0 <2.0.0'
diff --git a/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart b/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart
index 93ef904..cc15082 100644
--- a/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart
+++ b/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart
@@ -70,14 +70,14 @@
buildCounterAddDealAssociationRequest--;
}
-buildUnnamed3467() {
+buildUnnamed3565() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3467(core.List<core.String> o) {
+checkUnnamed3565(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -88,7 +88,7 @@
var o = new api.AppContext();
buildCounterAppContext++;
if (buildCounterAppContext < 3) {
- o.appTypes = buildUnnamed3467();
+ o.appTypes = buildUnnamed3565();
}
buildCounterAppContext--;
return o;
@@ -97,19 +97,19 @@
checkAppContext(api.AppContext o) {
buildCounterAppContext++;
if (buildCounterAppContext < 3) {
- checkUnnamed3467(o.appTypes);
+ checkUnnamed3565(o.appTypes);
}
buildCounterAppContext--;
}
-buildUnnamed3468() {
+buildUnnamed3566() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3468(core.List<core.String> o) {
+checkUnnamed3566(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -120,7 +120,7 @@
var o = new api.AuctionContext();
buildCounterAuctionContext++;
if (buildCounterAuctionContext < 3) {
- o.auctionTypes = buildUnnamed3468();
+ o.auctionTypes = buildUnnamed3566();
}
buildCounterAuctionContext--;
return o;
@@ -129,7 +129,7 @@
checkAuctionContext(api.AuctionContext o) {
buildCounterAuctionContext++;
if (buildCounterAuctionContext < 3) {
- checkUnnamed3468(o.auctionTypes);
+ checkUnnamed3566(o.auctionTypes);
}
buildCounterAuctionContext--;
}
@@ -215,27 +215,27 @@
buildCounterClientUserInvitation--;
}
-buildUnnamed3469() {
+buildUnnamed3567() {
var o = new core.List<api.ServingContext>();
o.add(buildServingContext());
o.add(buildServingContext());
return o;
}
-checkUnnamed3469(core.List<api.ServingContext> o) {
+checkUnnamed3567(core.List<api.ServingContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkServingContext(o[0]);
checkServingContext(o[1]);
}
-buildUnnamed3470() {
+buildUnnamed3568() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3470(core.List<core.String> o) {
+checkUnnamed3568(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -246,8 +246,8 @@
var o = new api.Correction();
buildCounterCorrection++;
if (buildCounterCorrection < 3) {
- o.contexts = buildUnnamed3469();
- o.details = buildUnnamed3470();
+ o.contexts = buildUnnamed3567();
+ o.details = buildUnnamed3568();
o.type = "foo";
}
buildCounterCorrection--;
@@ -257,164 +257,164 @@
checkCorrection(api.Correction o) {
buildCounterCorrection++;
if (buildCounterCorrection < 3) {
- checkUnnamed3469(o.contexts);
- checkUnnamed3470(o.details);
+ checkUnnamed3567(o.contexts);
+ checkUnnamed3568(o.details);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterCorrection--;
}
-buildUnnamed3471() {
+buildUnnamed3569() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3471(core.List<core.String> o) {
+checkUnnamed3569(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3472() {
+buildUnnamed3570() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3472(core.List<core.String> o) {
+checkUnnamed3570(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3473() {
+buildUnnamed3571() {
var o = new core.List<api.Correction>();
o.add(buildCorrection());
o.add(buildCorrection());
return o;
}
-checkUnnamed3473(core.List<api.Correction> o) {
+checkUnnamed3571(core.List<api.Correction> o) {
unittest.expect(o, unittest.hasLength(2));
checkCorrection(o[0]);
checkCorrection(o[1]);
}
-buildUnnamed3474() {
+buildUnnamed3572() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3474(core.List<core.String> o) {
+checkUnnamed3572(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3475() {
+buildUnnamed3573() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3475(core.List<core.String> o) {
+checkUnnamed3573(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3476() {
+buildUnnamed3574() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3476(core.List<core.String> o) {
+checkUnnamed3574(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3477() {
+buildUnnamed3575() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed3477(core.List<core.int> o) {
+checkUnnamed3575(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed3478() {
+buildUnnamed3576() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed3478(core.List<core.int> o) {
+checkUnnamed3576(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed3479() {
+buildUnnamed3577() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3479(core.List<core.String> o) {
+checkUnnamed3577(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3480() {
+buildUnnamed3578() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3480(core.List<core.String> o) {
+checkUnnamed3578(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3481() {
+buildUnnamed3579() {
var o = new core.List<api.ServingRestriction>();
o.add(buildServingRestriction());
o.add(buildServingRestriction());
return o;
}
-checkUnnamed3481(core.List<api.ServingRestriction> o) {
+checkUnnamed3579(core.List<api.ServingRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkServingRestriction(o[0]);
checkServingRestriction(o[1]);
}
-buildUnnamed3482() {
+buildUnnamed3580() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed3482(core.List<core.int> o) {
+checkUnnamed3580(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -430,24 +430,24 @@
o.advertiserName = "foo";
o.agencyId = "foo";
o.apiUpdateTime = "foo";
- o.attributes = buildUnnamed3471();
- o.clickThroughUrls = buildUnnamed3472();
- o.corrections = buildUnnamed3473();
+ o.attributes = buildUnnamed3569();
+ o.clickThroughUrls = buildUnnamed3570();
+ o.corrections = buildUnnamed3571();
o.creativeId = "foo";
o.dealsStatus = "foo";
- o.detectedAdvertiserIds = buildUnnamed3474();
- o.detectedDomains = buildUnnamed3475();
- o.detectedLanguages = buildUnnamed3476();
- o.detectedProductCategories = buildUnnamed3477();
- o.detectedSensitiveCategories = buildUnnamed3478();
+ o.detectedAdvertiserIds = buildUnnamed3572();
+ o.detectedDomains = buildUnnamed3573();
+ o.detectedLanguages = buildUnnamed3574();
+ o.detectedProductCategories = buildUnnamed3575();
+ o.detectedSensitiveCategories = buildUnnamed3576();
o.filteringStats = buildFilteringStats();
o.html = buildHtmlContent();
- o.impressionTrackingUrls = buildUnnamed3479();
+ o.impressionTrackingUrls = buildUnnamed3577();
o.native = buildNativeContent();
o.openAuctionStatus = "foo";
- o.restrictedCategories = buildUnnamed3480();
- o.servingRestrictions = buildUnnamed3481();
- o.vendorIds = buildUnnamed3482();
+ o.restrictedCategories = buildUnnamed3578();
+ o.servingRestrictions = buildUnnamed3579();
+ o.vendorIds = buildUnnamed3580();
o.version = 42;
o.video = buildVideoContent();
}
@@ -463,24 +463,24 @@
unittest.expect(o.advertiserName, unittest.equals('foo'));
unittest.expect(o.agencyId, unittest.equals('foo'));
unittest.expect(o.apiUpdateTime, unittest.equals('foo'));
- checkUnnamed3471(o.attributes);
- checkUnnamed3472(o.clickThroughUrls);
- checkUnnamed3473(o.corrections);
+ checkUnnamed3569(o.attributes);
+ checkUnnamed3570(o.clickThroughUrls);
+ checkUnnamed3571(o.corrections);
unittest.expect(o.creativeId, unittest.equals('foo'));
unittest.expect(o.dealsStatus, unittest.equals('foo'));
- checkUnnamed3474(o.detectedAdvertiserIds);
- checkUnnamed3475(o.detectedDomains);
- checkUnnamed3476(o.detectedLanguages);
- checkUnnamed3477(o.detectedProductCategories);
- checkUnnamed3478(o.detectedSensitiveCategories);
+ checkUnnamed3572(o.detectedAdvertiserIds);
+ checkUnnamed3573(o.detectedDomains);
+ checkUnnamed3574(o.detectedLanguages);
+ checkUnnamed3575(o.detectedProductCategories);
+ checkUnnamed3576(o.detectedSensitiveCategories);
checkFilteringStats(o.filteringStats);
checkHtmlContent(o.html);
- checkUnnamed3479(o.impressionTrackingUrls);
+ checkUnnamed3577(o.impressionTrackingUrls);
checkNativeContent(o.native);
unittest.expect(o.openAuctionStatus, unittest.equals('foo'));
- checkUnnamed3480(o.restrictedCategories);
- checkUnnamed3481(o.servingRestrictions);
- checkUnnamed3482(o.vendorIds);
+ checkUnnamed3578(o.restrictedCategories);
+ checkUnnamed3579(o.servingRestrictions);
+ checkUnnamed3580(o.vendorIds);
unittest.expect(o.version, unittest.equals(42));
checkVideoContent(o.video);
}
@@ -533,14 +533,14 @@
buildCounterDate--;
}
-buildUnnamed3483() {
+buildUnnamed3581() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3483(core.List<core.String> o) {
+checkUnnamed3581(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -551,7 +551,7 @@
var o = new api.Disapproval();
buildCounterDisapproval++;
if (buildCounterDisapproval < 3) {
- o.details = buildUnnamed3483();
+ o.details = buildUnnamed3581();
o.reason = "foo";
}
buildCounterDisapproval--;
@@ -561,7 +561,7 @@
checkDisapproval(api.Disapproval o) {
buildCounterDisapproval++;
if (buildCounterDisapproval < 3) {
- checkUnnamed3483(o.details);
+ checkUnnamed3581(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterDisapproval--;
@@ -584,14 +584,14 @@
buildCounterEmpty--;
}
-buildUnnamed3484() {
+buildUnnamed3582() {
var o = new core.List<api.Reason>();
o.add(buildReason());
o.add(buildReason());
return o;
}
-checkUnnamed3484(core.List<api.Reason> o) {
+checkUnnamed3582(core.List<api.Reason> o) {
unittest.expect(o, unittest.hasLength(2));
checkReason(o[0]);
checkReason(o[1]);
@@ -603,7 +603,7 @@
buildCounterFilteringStats++;
if (buildCounterFilteringStats < 3) {
o.date = buildDate();
- o.reasons = buildUnnamed3484();
+ o.reasons = buildUnnamed3582();
}
buildCounterFilteringStats--;
return o;
@@ -613,7 +613,7 @@
buildCounterFilteringStats++;
if (buildCounterFilteringStats < 3) {
checkDate(o.date);
- checkUnnamed3484(o.reasons);
+ checkUnnamed3582(o.reasons);
}
buildCounterFilteringStats--;
}
@@ -664,14 +664,14 @@
buildCounterImage--;
}
-buildUnnamed3485() {
+buildUnnamed3583() {
var o = new core.List<api.ClientUserInvitation>();
o.add(buildClientUserInvitation());
o.add(buildClientUserInvitation());
return o;
}
-checkUnnamed3485(core.List<api.ClientUserInvitation> o) {
+checkUnnamed3583(core.List<api.ClientUserInvitation> o) {
unittest.expect(o, unittest.hasLength(2));
checkClientUserInvitation(o[0]);
checkClientUserInvitation(o[1]);
@@ -682,7 +682,7 @@
var o = new api.ListClientUserInvitationsResponse();
buildCounterListClientUserInvitationsResponse++;
if (buildCounterListClientUserInvitationsResponse < 3) {
- o.invitations = buildUnnamed3485();
+ o.invitations = buildUnnamed3583();
o.nextPageToken = "foo";
}
buildCounterListClientUserInvitationsResponse--;
@@ -692,20 +692,20 @@
checkListClientUserInvitationsResponse(api.ListClientUserInvitationsResponse o) {
buildCounterListClientUserInvitationsResponse++;
if (buildCounterListClientUserInvitationsResponse < 3) {
- checkUnnamed3485(o.invitations);
+ checkUnnamed3583(o.invitations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListClientUserInvitationsResponse--;
}
-buildUnnamed3486() {
+buildUnnamed3584() {
var o = new core.List<api.ClientUser>();
o.add(buildClientUser());
o.add(buildClientUser());
return o;
}
-checkUnnamed3486(core.List<api.ClientUser> o) {
+checkUnnamed3584(core.List<api.ClientUser> o) {
unittest.expect(o, unittest.hasLength(2));
checkClientUser(o[0]);
checkClientUser(o[1]);
@@ -717,7 +717,7 @@
buildCounterListClientUsersResponse++;
if (buildCounterListClientUsersResponse < 3) {
o.nextPageToken = "foo";
- o.users = buildUnnamed3486();
+ o.users = buildUnnamed3584();
}
buildCounterListClientUsersResponse--;
return o;
@@ -727,19 +727,19 @@
buildCounterListClientUsersResponse++;
if (buildCounterListClientUsersResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3486(o.users);
+ checkUnnamed3584(o.users);
}
buildCounterListClientUsersResponse--;
}
-buildUnnamed3487() {
+buildUnnamed3585() {
var o = new core.List<api.Client>();
o.add(buildClient());
o.add(buildClient());
return o;
}
-checkUnnamed3487(core.List<api.Client> o) {
+checkUnnamed3585(core.List<api.Client> o) {
unittest.expect(o, unittest.hasLength(2));
checkClient(o[0]);
checkClient(o[1]);
@@ -750,7 +750,7 @@
var o = new api.ListClientsResponse();
buildCounterListClientsResponse++;
if (buildCounterListClientsResponse < 3) {
- o.clients = buildUnnamed3487();
+ o.clients = buildUnnamed3585();
o.nextPageToken = "foo";
}
buildCounterListClientsResponse--;
@@ -760,20 +760,20 @@
checkListClientsResponse(api.ListClientsResponse o) {
buildCounterListClientsResponse++;
if (buildCounterListClientsResponse < 3) {
- checkUnnamed3487(o.clients);
+ checkUnnamed3585(o.clients);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListClientsResponse--;
}
-buildUnnamed3488() {
+buildUnnamed3586() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed3488(core.List<api.Creative> o) {
+checkUnnamed3586(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -784,7 +784,7 @@
var o = new api.ListCreativesResponse();
buildCounterListCreativesResponse++;
if (buildCounterListCreativesResponse < 3) {
- o.creatives = buildUnnamed3488();
+ o.creatives = buildUnnamed3586();
o.nextPageToken = "foo";
}
buildCounterListCreativesResponse--;
@@ -794,20 +794,20 @@
checkListCreativesResponse(api.ListCreativesResponse o) {
buildCounterListCreativesResponse++;
if (buildCounterListCreativesResponse < 3) {
- checkUnnamed3488(o.creatives);
+ checkUnnamed3586(o.creatives);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCreativesResponse--;
}
-buildUnnamed3489() {
+buildUnnamed3587() {
var o = new core.List<api.CreativeDealAssociation>();
o.add(buildCreativeDealAssociation());
o.add(buildCreativeDealAssociation());
return o;
}
-checkUnnamed3489(core.List<api.CreativeDealAssociation> o) {
+checkUnnamed3587(core.List<api.CreativeDealAssociation> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeDealAssociation(o[0]);
checkCreativeDealAssociation(o[1]);
@@ -818,7 +818,7 @@
var o = new api.ListDealAssociationsResponse();
buildCounterListDealAssociationsResponse++;
if (buildCounterListDealAssociationsResponse < 3) {
- o.associations = buildUnnamed3489();
+ o.associations = buildUnnamed3587();
o.nextPageToken = "foo";
}
buildCounterListDealAssociationsResponse--;
@@ -828,20 +828,20 @@
checkListDealAssociationsResponse(api.ListDealAssociationsResponse o) {
buildCounterListDealAssociationsResponse++;
if (buildCounterListDealAssociationsResponse < 3) {
- checkUnnamed3489(o.associations);
+ checkUnnamed3587(o.associations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDealAssociationsResponse--;
}
-buildUnnamed3490() {
+buildUnnamed3588() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed3490(core.List<core.int> o) {
+checkUnnamed3588(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -852,7 +852,7 @@
var o = new api.LocationContext();
buildCounterLocationContext++;
if (buildCounterLocationContext < 3) {
- o.geoCriteriaIds = buildUnnamed3490();
+ o.geoCriteriaIds = buildUnnamed3588();
}
buildCounterLocationContext--;
return o;
@@ -861,7 +861,7 @@
checkLocationContext(api.LocationContext o) {
buildCounterLocationContext++;
if (buildCounterLocationContext < 3) {
- checkUnnamed3490(o.geoCriteriaIds);
+ checkUnnamed3588(o.geoCriteriaIds);
}
buildCounterLocationContext--;
}
@@ -909,14 +909,14 @@
buildCounterNativeContent--;
}
-buildUnnamed3491() {
+buildUnnamed3589() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3491(core.List<core.String> o) {
+checkUnnamed3589(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -927,7 +927,7 @@
var o = new api.PlatformContext();
buildCounterPlatformContext++;
if (buildCounterPlatformContext < 3) {
- o.platforms = buildUnnamed3491();
+ o.platforms = buildUnnamed3589();
}
buildCounterPlatformContext--;
return o;
@@ -936,7 +936,7 @@
checkPlatformContext(api.PlatformContext o) {
buildCounterPlatformContext++;
if (buildCounterPlatformContext < 3) {
- checkUnnamed3491(o.platforms);
+ checkUnnamed3589(o.platforms);
}
buildCounterPlatformContext--;
}
@@ -981,14 +981,14 @@
buildCounterRemoveDealAssociationRequest--;
}
-buildUnnamed3492() {
+buildUnnamed3590() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3492(core.List<core.String> o) {
+checkUnnamed3590(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -999,7 +999,7 @@
var o = new api.SecurityContext();
buildCounterSecurityContext++;
if (buildCounterSecurityContext < 3) {
- o.securities = buildUnnamed3492();
+ o.securities = buildUnnamed3590();
}
buildCounterSecurityContext--;
return o;
@@ -1008,7 +1008,7 @@
checkSecurityContext(api.SecurityContext o) {
buildCounterSecurityContext++;
if (buildCounterSecurityContext < 3) {
- checkUnnamed3492(o.securities);
+ checkUnnamed3590(o.securities);
}
buildCounterSecurityContext--;
}
@@ -1042,27 +1042,27 @@
buildCounterServingContext--;
}
-buildUnnamed3493() {
+buildUnnamed3591() {
var o = new core.List<api.ServingContext>();
o.add(buildServingContext());
o.add(buildServingContext());
return o;
}
-checkUnnamed3493(core.List<api.ServingContext> o) {
+checkUnnamed3591(core.List<api.ServingContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkServingContext(o[0]);
checkServingContext(o[1]);
}
-buildUnnamed3494() {
+buildUnnamed3592() {
var o = new core.List<api.Disapproval>();
o.add(buildDisapproval());
o.add(buildDisapproval());
return o;
}
-checkUnnamed3494(core.List<api.Disapproval> o) {
+checkUnnamed3592(core.List<api.Disapproval> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisapproval(o[0]);
checkDisapproval(o[1]);
@@ -1073,8 +1073,8 @@
var o = new api.ServingRestriction();
buildCounterServingRestriction++;
if (buildCounterServingRestriction < 3) {
- o.contexts = buildUnnamed3493();
- o.disapprovalReasons = buildUnnamed3494();
+ o.contexts = buildUnnamed3591();
+ o.disapprovalReasons = buildUnnamed3592();
o.status = "foo";
}
buildCounterServingRestriction--;
@@ -1084,8 +1084,8 @@
checkServingRestriction(api.ServingRestriction o) {
buildCounterServingRestriction++;
if (buildCounterServingRestriction < 3) {
- checkUnnamed3493(o.contexts);
- checkUnnamed3494(o.disapprovalReasons);
+ checkUnnamed3591(o.contexts);
+ checkUnnamed3592(o.disapprovalReasons);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterServingRestriction--;
@@ -1788,8 +1788,8 @@
api.AccountsClientsInvitationsResourceApi res = new api.Adexchangebuyer2Api(mock).accounts.clients.invitations;
var arg_accountId = "foo";
var arg_clientAccountId = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1830,8 +1830,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1840,7 +1840,7 @@
var resp = convert.JSON.encode(buildListClientUserInvitationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_accountId, arg_clientAccountId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListClientUserInvitationsResponse response) {
+ res.list(arg_accountId, arg_clientAccountId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListClientUserInvitationsResponse response) {
checkListClientUserInvitationsResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/appengine/v1beta4_test.dart b/generated/googleapis_beta/test/appengine/v1beta4_test.dart
index 5d36353..cb457b0 100644
--- a/generated/googleapis_beta/test/appengine/v1beta4_test.dart
+++ b/generated/googleapis_beta/test/appengine/v1beta4_test.dart
@@ -97,14 +97,14 @@
buildCounterApiEndpointHandler--;
}
-buildUnnamed3427() {
+buildUnnamed3524() {
var o = new core.List<api.UrlDispatchRule>();
o.add(buildUrlDispatchRule());
o.add(buildUrlDispatchRule());
return o;
}
-checkUnnamed3427(core.List<api.UrlDispatchRule> o) {
+checkUnnamed3524(core.List<api.UrlDispatchRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlDispatchRule(o[0]);
checkUrlDispatchRule(o[1]);
@@ -120,7 +120,8 @@
o.defaultBucket = "foo";
o.defaultCookieExpiration = "foo";
o.defaultHostname = "foo";
- o.dispatchRules = buildUnnamed3427();
+ o.dispatchRules = buildUnnamed3524();
+ o.iap = buildIdentityAwareProxy();
o.id = "foo";
o.location = "foo";
o.name = "foo";
@@ -137,7 +138,8 @@
unittest.expect(o.defaultBucket, unittest.equals('foo'));
unittest.expect(o.defaultCookieExpiration, unittest.equals('foo'));
unittest.expect(o.defaultHostname, unittest.equals('foo'));
- checkUnnamed3427(o.dispatchRules);
+ checkUnnamed3524(o.dispatchRules);
+ checkIdentityAwareProxy(o.iap);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -266,27 +268,27 @@
buildCounterDebugInstanceRequest--;
}
-buildUnnamed3428() {
+buildUnnamed3525() {
var o = new core.Map<core.String, api.FileInfo>();
o["x"] = buildFileInfo();
o["y"] = buildFileInfo();
return o;
}
-checkUnnamed3428(core.Map<core.String, api.FileInfo> o) {
+checkUnnamed3525(core.Map<core.String, api.FileInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileInfo(o["x"]);
checkFileInfo(o["y"]);
}
-buildUnnamed3429() {
+buildUnnamed3526() {
var o = new core.List<api.SourceReference>();
o.add(buildSourceReference());
o.add(buildSourceReference());
return o;
}
-checkUnnamed3429(core.List<api.SourceReference> o) {
+checkUnnamed3526(core.List<api.SourceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceReference(o[0]);
checkSourceReference(o[1]);
@@ -298,8 +300,8 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
o.container = buildContainerInfo();
- o.files = buildUnnamed3428();
- o.sourceReferences = buildUnnamed3429();
+ o.files = buildUnnamed3525();
+ o.sourceReferences = buildUnnamed3526();
}
buildCounterDeployment--;
return o;
@@ -309,8 +311,8 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
checkContainerInfo(o.container);
- checkUnnamed3428(o.files);
- checkUnnamed3429(o.sourceReferences);
+ checkUnnamed3525(o.files);
+ checkUnnamed3526(o.sourceReferences);
}
buildCounterDeployment--;
}
@@ -417,6 +419,31 @@
buildCounterHealthCheck--;
}
+core.int buildCounterIdentityAwareProxy = 0;
+buildIdentityAwareProxy() {
+ var o = new api.IdentityAwareProxy();
+ buildCounterIdentityAwareProxy++;
+ if (buildCounterIdentityAwareProxy < 3) {
+ o.enabled = true;
+ o.oauth2ClientId = "foo";
+ o.oauth2ClientSecret = "foo";
+ o.oauth2ClientSecretSha256 = "foo";
+ }
+ buildCounterIdentityAwareProxy--;
+ return o;
+}
+
+checkIdentityAwareProxy(api.IdentityAwareProxy o) {
+ buildCounterIdentityAwareProxy++;
+ if (buildCounterIdentityAwareProxy < 3) {
+ unittest.expect(o.enabled, unittest.isTrue);
+ unittest.expect(o.oauth2ClientId, unittest.equals('foo'));
+ unittest.expect(o.oauth2ClientSecret, unittest.equals('foo'));
+ unittest.expect(o.oauth2ClientSecretSha256, unittest.equals('foo'));
+ }
+ buildCounterIdentityAwareProxy--;
+}
+
core.int buildCounterInstance = 0;
buildInstance() {
var o = new api.Instance();
@@ -487,14 +514,14 @@
buildCounterLibrary--;
}
-buildUnnamed3430() {
+buildUnnamed3527() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed3430(core.List<api.Instance> o) {
+checkUnnamed3527(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -505,7 +532,7 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed3430();
+ o.instances = buildUnnamed3527();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -515,20 +542,20 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed3430(o.instances);
+ checkUnnamed3527(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed3431() {
+buildUnnamed3528() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed3431(core.List<api.Location> o) {
+checkUnnamed3528(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -539,7 +566,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed3431();
+ o.locations = buildUnnamed3528();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -549,20 +576,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed3431(o.locations);
+ checkUnnamed3528(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed3432() {
+buildUnnamed3529() {
var o = new core.List<api.Module>();
o.add(buildModule());
o.add(buildModule());
return o;
}
-checkUnnamed3432(core.List<api.Module> o) {
+checkUnnamed3529(core.List<api.Module> o) {
unittest.expect(o, unittest.hasLength(2));
checkModule(o[0]);
checkModule(o[1]);
@@ -573,7 +600,7 @@
var o = new api.ListModulesResponse();
buildCounterListModulesResponse++;
if (buildCounterListModulesResponse < 3) {
- o.modules = buildUnnamed3432();
+ o.modules = buildUnnamed3529();
o.nextPageToken = "foo";
}
buildCounterListModulesResponse--;
@@ -583,20 +610,20 @@
checkListModulesResponse(api.ListModulesResponse o) {
buildCounterListModulesResponse++;
if (buildCounterListModulesResponse < 3) {
- checkUnnamed3432(o.modules);
+ checkUnnamed3529(o.modules);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListModulesResponse--;
}
-buildUnnamed3433() {
+buildUnnamed3530() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3433(core.List<api.Operation> o) {
+checkUnnamed3530(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -608,7 +635,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3433();
+ o.operations = buildUnnamed3530();
}
buildCounterListOperationsResponse--;
return o;
@@ -618,19 +645,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3433(o.operations);
+ checkUnnamed3530(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed3434() {
+buildUnnamed3531() {
var o = new core.List<api.Version>();
o.add(buildVersion());
o.add(buildVersion());
return o;
}
-checkUnnamed3434(core.List<api.Version> o) {
+checkUnnamed3531(core.List<api.Version> o) {
unittest.expect(o, unittest.hasLength(2));
checkVersion(o[0]);
checkVersion(o[1]);
@@ -642,7 +669,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
o.nextPageToken = "foo";
- o.versions = buildUnnamed3434();
+ o.versions = buildUnnamed3531();
}
buildCounterListVersionsResponse--;
return o;
@@ -652,32 +679,32 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3434(o.versions);
+ checkUnnamed3531(o.versions);
}
buildCounterListVersionsResponse--;
}
-buildUnnamed3435() {
+buildUnnamed3532() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3435(core.Map<core.String, core.String> o) {
+checkUnnamed3532(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3436() {
+buildUnnamed3533() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3436(core.Map<core.String, core.Object> o) {
+checkUnnamed3533(core.Map<core.String, core.Object> 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'));
@@ -688,9 +715,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed3435();
+ o.labels = buildUnnamed3532();
o.locationId = "foo";
- o.metadata = buildUnnamed3436();
+ o.metadata = buildUnnamed3533();
o.name = "foo";
}
buildCounterLocation--;
@@ -700,9 +727,9 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed3435(o.labels);
+ checkUnnamed3532(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed3436(o.metadata);
+ checkUnnamed3533(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -771,14 +798,14 @@
buildCounterModule--;
}
-buildUnnamed3437() {
+buildUnnamed3534() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3437(core.List<core.String> o) {
+checkUnnamed3534(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -789,7 +816,7 @@
var o = new api.Network();
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- o.forwardedPorts = buildUnnamed3437();
+ o.forwardedPorts = buildUnnamed3534();
o.instanceTag = "foo";
o.name = "foo";
}
@@ -800,7 +827,7 @@
checkNetwork(api.Network o) {
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- checkUnnamed3437(o.forwardedPorts);
+ checkUnnamed3534(o.forwardedPorts);
unittest.expect(o.instanceTag, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
}
@@ -832,27 +859,27 @@
buildCounterNetworkUtilization--;
}
-buildUnnamed3438() {
+buildUnnamed3535() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3438(core.Map<core.String, core.Object> o) {
+checkUnnamed3535(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed3439() {
+buildUnnamed3536() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3439(core.Map<core.String, core.Object> o) {
+checkUnnamed3536(core.Map<core.String, core.Object> 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'));
@@ -865,9 +892,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3438();
+ o.metadata = buildUnnamed3535();
o.name = "foo";
- o.response = buildUnnamed3439();
+ o.response = buildUnnamed3536();
}
buildCounterOperation--;
return o;
@@ -878,9 +905,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3438(o.metadata);
+ checkUnnamed3535(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3439(o.response);
+ checkUnnamed3536(o.response);
}
buildCounterOperation--;
}
@@ -941,14 +968,14 @@
buildCounterOperationMetadataExperimental--;
}
-buildUnnamed3440() {
+buildUnnamed3537() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3440(core.List<core.String> o) {
+checkUnnamed3537(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -965,7 +992,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed3440();
+ o.warning = buildUnnamed3537();
}
buildCounterOperationMetadataV1--;
return o;
@@ -980,11 +1007,55 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3440(o.warning);
+ checkUnnamed3537(o.warning);
}
buildCounterOperationMetadataV1--;
}
+buildUnnamed3538() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3538(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterOperationMetadataV1Beta = 0;
+buildOperationMetadataV1Beta() {
+ var o = new api.OperationMetadataV1Beta();
+ buildCounterOperationMetadataV1Beta++;
+ if (buildCounterOperationMetadataV1Beta < 3) {
+ o.endTime = "foo";
+ o.ephemeralMessage = "foo";
+ o.insertTime = "foo";
+ o.method = "foo";
+ o.target = "foo";
+ o.user = "foo";
+ o.warning = buildUnnamed3538();
+ }
+ buildCounterOperationMetadataV1Beta--;
+ return o;
+}
+
+checkOperationMetadataV1Beta(api.OperationMetadataV1Beta o) {
+ buildCounterOperationMetadataV1Beta++;
+ if (buildCounterOperationMetadataV1Beta < 3) {
+ unittest.expect(o.endTime, unittest.equals('foo'));
+ unittest.expect(o.ephemeralMessage, unittest.equals('foo'));
+ unittest.expect(o.insertTime, unittest.equals('foo'));
+ unittest.expect(o.method, unittest.equals('foo'));
+ unittest.expect(o.target, unittest.equals('foo'));
+ unittest.expect(o.user, unittest.equals('foo'));
+ checkUnnamed3538(o.warning);
+ }
+ buildCounterOperationMetadataV1Beta--;
+}
+
core.int buildCounterOperationMetadataV1Beta5 = 0;
buildOperationMetadataV1Beta5() {
var o = new api.OperationMetadataV1Beta5();
@@ -1033,14 +1104,14 @@
buildCounterRequestUtilization--;
}
-buildUnnamed3441() {
+buildUnnamed3539() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed3441(core.List<api.Volume> o) {
+checkUnnamed3539(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1054,7 +1125,7 @@
o.cpu = 42.0;
o.diskGb = 42.0;
o.memoryGb = 42.0;
- o.volumes = buildUnnamed3441();
+ o.volumes = buildUnnamed3539();
}
buildCounterResources--;
return o;
@@ -1066,7 +1137,7 @@
unittest.expect(o.cpu, unittest.equals(42.0));
unittest.expect(o.diskGb, unittest.equals(42.0));
unittest.expect(o.memoryGb, unittest.equals(42.0));
- checkUnnamed3441(o.volumes);
+ checkUnnamed3539(o.volumes);
}
buildCounterResources--;
}
@@ -1111,14 +1182,14 @@
buildCounterSourceReference--;
}
-buildUnnamed3442() {
+buildUnnamed3540() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3442(core.Map<core.String, core.String> o) {
+checkUnnamed3540(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1132,7 +1203,7 @@
o.applicationReadable = true;
o.directory = "foo";
o.expiration = "foo";
- o.httpHeaders = buildUnnamed3442();
+ o.httpHeaders = buildUnnamed3540();
o.mimeType = "foo";
o.requireMatchingFile = true;
}
@@ -1146,21 +1217,21 @@
unittest.expect(o.applicationReadable, unittest.isTrue);
unittest.expect(o.directory, unittest.equals('foo'));
unittest.expect(o.expiration, unittest.equals('foo'));
- checkUnnamed3442(o.httpHeaders);
+ checkUnnamed3540(o.httpHeaders);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.requireMatchingFile, unittest.isTrue);
}
buildCounterStaticDirectoryHandler--;
}
-buildUnnamed3443() {
+buildUnnamed3541() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3443(core.Map<core.String, core.String> o) {
+checkUnnamed3541(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1173,7 +1244,7 @@
if (buildCounterStaticFilesHandler < 3) {
o.applicationReadable = true;
o.expiration = "foo";
- o.httpHeaders = buildUnnamed3443();
+ o.httpHeaders = buildUnnamed3541();
o.mimeType = "foo";
o.path = "foo";
o.requireMatchingFile = true;
@@ -1188,7 +1259,7 @@
if (buildCounterStaticFilesHandler < 3) {
unittest.expect(o.applicationReadable, unittest.isTrue);
unittest.expect(o.expiration, unittest.equals('foo'));
- checkUnnamed3443(o.httpHeaders);
+ checkUnnamed3541(o.httpHeaders);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.requireMatchingFile, unittest.isTrue);
@@ -1197,30 +1268,30 @@
buildCounterStaticFilesHandler--;
}
-buildUnnamed3444() {
+buildUnnamed3542() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3444(core.Map<core.String, core.Object> o) {
+checkUnnamed3542(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed3445() {
+buildUnnamed3543() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3444());
- o.add(buildUnnamed3444());
+ o.add(buildUnnamed3542());
+ o.add(buildUnnamed3542());
return o;
}
-checkUnnamed3445(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3543(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3444(o[0]);
- checkUnnamed3444(o[1]);
+ checkUnnamed3542(o[0]);
+ checkUnnamed3542(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1229,7 +1300,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3445();
+ o.details = buildUnnamed3543();
o.message = "foo";
}
buildCounterStatus--;
@@ -1240,20 +1311,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3445(o.details);
+ checkUnnamed3543(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed3446() {
+buildUnnamed3544() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed3446(core.Map<core.String, core.double> o) {
+checkUnnamed3544(core.Map<core.String, core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42.0));
unittest.expect(o["y"], unittest.equals(42.0));
@@ -1264,7 +1335,7 @@
var o = new api.TrafficSplit();
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- o.allocations = buildUnnamed3446();
+ o.allocations = buildUnnamed3544();
o.shardBy = "foo";
}
buildCounterTrafficSplit--;
@@ -1274,7 +1345,7 @@
checkTrafficSplit(api.TrafficSplit o) {
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- checkUnnamed3446(o.allocations);
+ checkUnnamed3544(o.allocations);
unittest.expect(o.shardBy, unittest.equals('foo'));
}
buildCounterTrafficSplit--;
@@ -1338,79 +1409,79 @@
buildCounterUrlMap--;
}
-buildUnnamed3447() {
+buildUnnamed3545() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3447(core.Map<core.String, core.String> o) {
+checkUnnamed3545(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3448() {
+buildUnnamed3546() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3448(core.Map<core.String, core.String> o) {
+checkUnnamed3546(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3449() {
+buildUnnamed3547() {
var o = new core.List<api.ErrorHandler>();
o.add(buildErrorHandler());
o.add(buildErrorHandler());
return o;
}
-checkUnnamed3449(core.List<api.ErrorHandler> o) {
+checkUnnamed3547(core.List<api.ErrorHandler> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorHandler(o[0]);
checkErrorHandler(o[1]);
}
-buildUnnamed3450() {
+buildUnnamed3548() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed3450(core.List<api.UrlMap> o) {
+checkUnnamed3548(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
}
-buildUnnamed3451() {
+buildUnnamed3549() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3451(core.List<core.String> o) {
+checkUnnamed3549(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3452() {
+buildUnnamed3550() {
var o = new core.List<api.Library>();
o.add(buildLibrary());
o.add(buildLibrary());
return o;
}
-checkUnnamed3452(core.List<api.Library> o) {
+checkUnnamed3550(core.List<api.Library> o) {
unittest.expect(o, unittest.hasLength(2));
checkLibrary(o[0]);
checkLibrary(o[1]);
@@ -1424,20 +1495,20 @@
o.apiConfig = buildApiConfigHandler();
o.automaticScaling = buildAutomaticScaling();
o.basicScaling = buildBasicScaling();
- o.betaSettings = buildUnnamed3447();
+ o.betaSettings = buildUnnamed3545();
o.creationTime = "foo";
o.defaultExpiration = "foo";
o.deployer = "foo";
o.deployment = buildDeployment();
o.env = "foo";
- o.envVariables = buildUnnamed3448();
- o.errorHandlers = buildUnnamed3449();
- o.handlers = buildUnnamed3450();
+ o.envVariables = buildUnnamed3546();
+ o.errorHandlers = buildUnnamed3547();
+ o.handlers = buildUnnamed3548();
o.healthCheck = buildHealthCheck();
o.id = "foo";
- o.inboundServices = buildUnnamed3451();
+ o.inboundServices = buildUnnamed3549();
o.instanceClass = "foo";
- o.libraries = buildUnnamed3452();
+ o.libraries = buildUnnamed3550();
o.manualScaling = buildManualScaling();
o.name = "foo";
o.network = buildNetwork();
@@ -1458,20 +1529,20 @@
checkApiConfigHandler(o.apiConfig);
checkAutomaticScaling(o.automaticScaling);
checkBasicScaling(o.basicScaling);
- checkUnnamed3447(o.betaSettings);
+ checkUnnamed3545(o.betaSettings);
unittest.expect(o.creationTime, unittest.equals('foo'));
unittest.expect(o.defaultExpiration, unittest.equals('foo'));
unittest.expect(o.deployer, unittest.equals('foo'));
checkDeployment(o.deployment);
unittest.expect(o.env, unittest.equals('foo'));
- checkUnnamed3448(o.envVariables);
- checkUnnamed3449(o.errorHandlers);
- checkUnnamed3450(o.handlers);
+ checkUnnamed3546(o.envVariables);
+ checkUnnamed3547(o.errorHandlers);
+ checkUnnamed3548(o.handlers);
checkHealthCheck(o.healthCheck);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3451(o.inboundServices);
+ checkUnnamed3549(o.inboundServices);
unittest.expect(o.instanceClass, unittest.equals('foo'));
- checkUnnamed3452(o.libraries);
+ checkUnnamed3550(o.libraries);
checkManualScaling(o.manualScaling);
unittest.expect(o.name, unittest.equals('foo'));
checkNetwork(o.network);
@@ -1627,6 +1698,15 @@
});
+ unittest.group("obj-schema-IdentityAwareProxy", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildIdentityAwareProxy();
+ var od = new api.IdentityAwareProxy.fromJson(o.toJson());
+ checkIdentityAwareProxy(od);
+ });
+ });
+
+
unittest.group("obj-schema-Instance", () {
unittest.test("to-json--from-json", () {
var o = buildInstance();
@@ -1780,6 +1860,15 @@
});
+ unittest.group("obj-schema-OperationMetadataV1Beta", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOperationMetadataV1Beta();
+ var od = new api.OperationMetadataV1Beta.fromJson(o.toJson());
+ checkOperationMetadataV1Beta(od);
+ });
+ });
+
+
unittest.group("obj-schema-OperationMetadataV1Beta5", () {
unittest.test("to-json--from-json", () {
var o = buildOperationMetadataV1Beta5();
diff --git a/generated/googleapis_beta/test/appengine/v1beta5_test.dart b/generated/googleapis_beta/test/appengine/v1beta5_test.dart
index 3089f7a..ff0840f 100644
--- a/generated/googleapis_beta/test/appengine/v1beta5_test.dart
+++ b/generated/googleapis_beta/test/appengine/v1beta5_test.dart
@@ -97,14 +97,14 @@
buildCounterApiEndpointHandler--;
}
-buildUnnamed3402() {
+buildUnnamed3498() {
var o = new core.List<api.UrlDispatchRule>();
o.add(buildUrlDispatchRule());
o.add(buildUrlDispatchRule());
return o;
}
-checkUnnamed3402(core.List<api.UrlDispatchRule> o) {
+checkUnnamed3498(core.List<api.UrlDispatchRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlDispatchRule(o[0]);
checkUrlDispatchRule(o[1]);
@@ -120,7 +120,8 @@
o.defaultBucket = "foo";
o.defaultCookieExpiration = "foo";
o.defaultHostname = "foo";
- o.dispatchRules = buildUnnamed3402();
+ o.dispatchRules = buildUnnamed3498();
+ o.iap = buildIdentityAwareProxy();
o.id = "foo";
o.location = "foo";
o.name = "foo";
@@ -137,7 +138,8 @@
unittest.expect(o.defaultBucket, unittest.equals('foo'));
unittest.expect(o.defaultCookieExpiration, unittest.equals('foo'));
unittest.expect(o.defaultHostname, unittest.equals('foo'));
- checkUnnamed3402(o.dispatchRules);
+ checkUnnamed3498(o.dispatchRules);
+ checkIdentityAwareProxy(o.iap);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -266,27 +268,27 @@
buildCounterDebugInstanceRequest--;
}
-buildUnnamed3403() {
+buildUnnamed3499() {
var o = new core.Map<core.String, api.FileInfo>();
o["x"] = buildFileInfo();
o["y"] = buildFileInfo();
return o;
}
-checkUnnamed3403(core.Map<core.String, api.FileInfo> o) {
+checkUnnamed3499(core.Map<core.String, api.FileInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileInfo(o["x"]);
checkFileInfo(o["y"]);
}
-buildUnnamed3404() {
+buildUnnamed3500() {
var o = new core.List<api.SourceReference>();
o.add(buildSourceReference());
o.add(buildSourceReference());
return o;
}
-checkUnnamed3404(core.List<api.SourceReference> o) {
+checkUnnamed3500(core.List<api.SourceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceReference(o[0]);
checkSourceReference(o[1]);
@@ -298,8 +300,8 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
o.container = buildContainerInfo();
- o.files = buildUnnamed3403();
- o.sourceReferences = buildUnnamed3404();
+ o.files = buildUnnamed3499();
+ o.sourceReferences = buildUnnamed3500();
}
buildCounterDeployment--;
return o;
@@ -309,8 +311,8 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
checkContainerInfo(o.container);
- checkUnnamed3403(o.files);
- checkUnnamed3404(o.sourceReferences);
+ checkUnnamed3499(o.files);
+ checkUnnamed3500(o.sourceReferences);
}
buildCounterDeployment--;
}
@@ -438,6 +440,31 @@
buildCounterHealthCheck--;
}
+core.int buildCounterIdentityAwareProxy = 0;
+buildIdentityAwareProxy() {
+ var o = new api.IdentityAwareProxy();
+ buildCounterIdentityAwareProxy++;
+ if (buildCounterIdentityAwareProxy < 3) {
+ o.enabled = true;
+ o.oauth2ClientId = "foo";
+ o.oauth2ClientSecret = "foo";
+ o.oauth2ClientSecretSha256 = "foo";
+ }
+ buildCounterIdentityAwareProxy--;
+ return o;
+}
+
+checkIdentityAwareProxy(api.IdentityAwareProxy o) {
+ buildCounterIdentityAwareProxy++;
+ if (buildCounterIdentityAwareProxy < 3) {
+ unittest.expect(o.enabled, unittest.isTrue);
+ unittest.expect(o.oauth2ClientId, unittest.equals('foo'));
+ unittest.expect(o.oauth2ClientSecret, unittest.equals('foo'));
+ unittest.expect(o.oauth2ClientSecretSha256, unittest.equals('foo'));
+ }
+ buildCounterIdentityAwareProxy--;
+}
+
core.int buildCounterInstance = 0;
buildInstance() {
var o = new api.Instance();
@@ -508,14 +535,14 @@
buildCounterLibrary--;
}
-buildUnnamed3405() {
+buildUnnamed3501() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed3405(core.List<api.Instance> o) {
+checkUnnamed3501(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -526,7 +553,7 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed3405();
+ o.instances = buildUnnamed3501();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -536,20 +563,20 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed3405(o.instances);
+ checkUnnamed3501(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed3406() {
+buildUnnamed3502() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed3406(core.List<api.Location> o) {
+checkUnnamed3502(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -560,7 +587,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed3406();
+ o.locations = buildUnnamed3502();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -570,20 +597,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed3406(o.locations);
+ checkUnnamed3502(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed3407() {
+buildUnnamed3503() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3407(core.List<api.Operation> o) {
+checkUnnamed3503(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -595,7 +622,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3407();
+ o.operations = buildUnnamed3503();
}
buildCounterListOperationsResponse--;
return o;
@@ -605,19 +632,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3407(o.operations);
+ checkUnnamed3503(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed3408() {
+buildUnnamed3504() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed3408(core.List<api.Service> o) {
+checkUnnamed3504(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -629,7 +656,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed3408();
+ o.services = buildUnnamed3504();
}
buildCounterListServicesResponse--;
return o;
@@ -639,19 +666,19 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3408(o.services);
+ checkUnnamed3504(o.services);
}
buildCounterListServicesResponse--;
}
-buildUnnamed3409() {
+buildUnnamed3505() {
var o = new core.List<api.Version>();
o.add(buildVersion());
o.add(buildVersion());
return o;
}
-checkUnnamed3409(core.List<api.Version> o) {
+checkUnnamed3505(core.List<api.Version> o) {
unittest.expect(o, unittest.hasLength(2));
checkVersion(o[0]);
checkVersion(o[1]);
@@ -663,7 +690,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
o.nextPageToken = "foo";
- o.versions = buildUnnamed3409();
+ o.versions = buildUnnamed3505();
}
buildCounterListVersionsResponse--;
return o;
@@ -673,32 +700,32 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3409(o.versions);
+ checkUnnamed3505(o.versions);
}
buildCounterListVersionsResponse--;
}
-buildUnnamed3410() {
+buildUnnamed3506() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3410(core.Map<core.String, core.String> o) {
+checkUnnamed3506(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3411() {
+buildUnnamed3507() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3411(core.Map<core.String, core.Object> o) {
+checkUnnamed3507(core.Map<core.String, core.Object> 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'));
@@ -709,9 +736,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed3410();
+ o.labels = buildUnnamed3506();
o.locationId = "foo";
- o.metadata = buildUnnamed3411();
+ o.metadata = buildUnnamed3507();
o.name = "foo";
}
buildCounterLocation--;
@@ -721,9 +748,9 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed3410(o.labels);
+ checkUnnamed3506(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed3411(o.metadata);
+ checkUnnamed3507(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -769,14 +796,14 @@
buildCounterManualScaling--;
}
-buildUnnamed3412() {
+buildUnnamed3508() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3412(core.List<core.String> o) {
+checkUnnamed3508(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -787,7 +814,7 @@
var o = new api.Network();
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- o.forwardedPorts = buildUnnamed3412();
+ o.forwardedPorts = buildUnnamed3508();
o.instanceTag = "foo";
o.name = "foo";
o.subnetworkName = "foo";
@@ -799,7 +826,7 @@
checkNetwork(api.Network o) {
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- checkUnnamed3412(o.forwardedPorts);
+ checkUnnamed3508(o.forwardedPorts);
unittest.expect(o.instanceTag, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.subnetworkName, unittest.equals('foo'));
@@ -832,27 +859,27 @@
buildCounterNetworkUtilization--;
}
-buildUnnamed3413() {
+buildUnnamed3509() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3413(core.Map<core.String, core.Object> o) {
+checkUnnamed3509(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed3414() {
+buildUnnamed3510() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3414(core.Map<core.String, core.Object> o) {
+checkUnnamed3510(core.Map<core.String, core.Object> 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'));
@@ -865,9 +892,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3413();
+ o.metadata = buildUnnamed3509();
o.name = "foo";
- o.response = buildUnnamed3414();
+ o.response = buildUnnamed3510();
}
buildCounterOperation--;
return o;
@@ -878,9 +905,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3413(o.metadata);
+ checkUnnamed3509(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3414(o.response);
+ checkUnnamed3510(o.response);
}
buildCounterOperation--;
}
@@ -941,14 +968,14 @@
buildCounterOperationMetadataExperimental--;
}
-buildUnnamed3415() {
+buildUnnamed3511() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3415(core.List<core.String> o) {
+checkUnnamed3511(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -965,7 +992,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed3415();
+ o.warning = buildUnnamed3511();
}
buildCounterOperationMetadataV1--;
return o;
@@ -980,11 +1007,55 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3415(o.warning);
+ checkUnnamed3511(o.warning);
}
buildCounterOperationMetadataV1--;
}
+buildUnnamed3512() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3512(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterOperationMetadataV1Beta = 0;
+buildOperationMetadataV1Beta() {
+ var o = new api.OperationMetadataV1Beta();
+ buildCounterOperationMetadataV1Beta++;
+ if (buildCounterOperationMetadataV1Beta < 3) {
+ o.endTime = "foo";
+ o.ephemeralMessage = "foo";
+ o.insertTime = "foo";
+ o.method = "foo";
+ o.target = "foo";
+ o.user = "foo";
+ o.warning = buildUnnamed3512();
+ }
+ buildCounterOperationMetadataV1Beta--;
+ return o;
+}
+
+checkOperationMetadataV1Beta(api.OperationMetadataV1Beta o) {
+ buildCounterOperationMetadataV1Beta++;
+ if (buildCounterOperationMetadataV1Beta < 3) {
+ unittest.expect(o.endTime, unittest.equals('foo'));
+ unittest.expect(o.ephemeralMessage, unittest.equals('foo'));
+ unittest.expect(o.insertTime, unittest.equals('foo'));
+ unittest.expect(o.method, unittest.equals('foo'));
+ unittest.expect(o.target, unittest.equals('foo'));
+ unittest.expect(o.user, unittest.equals('foo'));
+ checkUnnamed3512(o.warning);
+ }
+ buildCounterOperationMetadataV1Beta--;
+}
+
core.int buildCounterOperationMetadataV1Beta5 = 0;
buildOperationMetadataV1Beta5() {
var o = new api.OperationMetadataV1Beta5();
@@ -1033,14 +1104,14 @@
buildCounterRequestUtilization--;
}
-buildUnnamed3416() {
+buildUnnamed3513() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed3416(core.List<api.Volume> o) {
+checkUnnamed3513(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1054,7 +1125,7 @@
o.cpu = 42.0;
o.diskGb = 42.0;
o.memoryGb = 42.0;
- o.volumes = buildUnnamed3416();
+ o.volumes = buildUnnamed3513();
}
buildCounterResources--;
return o;
@@ -1066,7 +1137,7 @@
unittest.expect(o.cpu, unittest.equals(42.0));
unittest.expect(o.diskGb, unittest.equals(42.0));
unittest.expect(o.memoryGb, unittest.equals(42.0));
- checkUnnamed3416(o.volumes);
+ checkUnnamed3513(o.volumes);
}
buildCounterResources--;
}
@@ -1134,14 +1205,14 @@
buildCounterSourceReference--;
}
-buildUnnamed3417() {
+buildUnnamed3514() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3417(core.Map<core.String, core.String> o) {
+checkUnnamed3514(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1154,7 +1225,7 @@
if (buildCounterStaticFilesHandler < 3) {
o.applicationReadable = true;
o.expiration = "foo";
- o.httpHeaders = buildUnnamed3417();
+ o.httpHeaders = buildUnnamed3514();
o.mimeType = "foo";
o.path = "foo";
o.requireMatchingFile = true;
@@ -1169,7 +1240,7 @@
if (buildCounterStaticFilesHandler < 3) {
unittest.expect(o.applicationReadable, unittest.isTrue);
unittest.expect(o.expiration, unittest.equals('foo'));
- checkUnnamed3417(o.httpHeaders);
+ checkUnnamed3514(o.httpHeaders);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.requireMatchingFile, unittest.isTrue);
@@ -1178,30 +1249,30 @@
buildCounterStaticFilesHandler--;
}
-buildUnnamed3418() {
+buildUnnamed3515() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3418(core.Map<core.String, core.Object> o) {
+checkUnnamed3515(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed3419() {
+buildUnnamed3516() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3418());
- o.add(buildUnnamed3418());
+ o.add(buildUnnamed3515());
+ o.add(buildUnnamed3515());
return o;
}
-checkUnnamed3419(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3516(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3418(o[0]);
- checkUnnamed3418(o[1]);
+ checkUnnamed3515(o[0]);
+ checkUnnamed3515(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1210,7 +1281,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3419();
+ o.details = buildUnnamed3516();
o.message = "foo";
}
buildCounterStatus--;
@@ -1221,20 +1292,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3419(o.details);
+ checkUnnamed3516(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed3420() {
+buildUnnamed3517() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed3420(core.Map<core.String, core.double> o) {
+checkUnnamed3517(core.Map<core.String, core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42.0));
unittest.expect(o["y"], unittest.equals(42.0));
@@ -1245,7 +1316,7 @@
var o = new api.TrafficSplit();
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- o.allocations = buildUnnamed3420();
+ o.allocations = buildUnnamed3517();
o.shardBy = "foo";
}
buildCounterTrafficSplit--;
@@ -1255,7 +1326,7 @@
checkTrafficSplit(api.TrafficSplit o) {
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- checkUnnamed3420(o.allocations);
+ checkUnnamed3517(o.allocations);
unittest.expect(o.shardBy, unittest.equals('foo'));
}
buildCounterTrafficSplit--;
@@ -1317,79 +1388,79 @@
buildCounterUrlMap--;
}
-buildUnnamed3421() {
+buildUnnamed3518() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3421(core.Map<core.String, core.String> o) {
+checkUnnamed3518(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3422() {
+buildUnnamed3519() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3422(core.Map<core.String, core.String> o) {
+checkUnnamed3519(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3423() {
+buildUnnamed3520() {
var o = new core.List<api.ErrorHandler>();
o.add(buildErrorHandler());
o.add(buildErrorHandler());
return o;
}
-checkUnnamed3423(core.List<api.ErrorHandler> o) {
+checkUnnamed3520(core.List<api.ErrorHandler> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorHandler(o[0]);
checkErrorHandler(o[1]);
}
-buildUnnamed3424() {
+buildUnnamed3521() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed3424(core.List<api.UrlMap> o) {
+checkUnnamed3521(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
}
-buildUnnamed3425() {
+buildUnnamed3522() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3425(core.List<core.String> o) {
+checkUnnamed3522(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3426() {
+buildUnnamed3523() {
var o = new core.List<api.Library>();
o.add(buildLibrary());
o.add(buildLibrary());
return o;
}
-checkUnnamed3426(core.List<api.Library> o) {
+checkUnnamed3523(core.List<api.Library> o) {
unittest.expect(o, unittest.hasLength(2));
checkLibrary(o[0]);
checkLibrary(o[1]);
@@ -1403,7 +1474,7 @@
o.apiConfig = buildApiConfigHandler();
o.automaticScaling = buildAutomaticScaling();
o.basicScaling = buildBasicScaling();
- o.betaSettings = buildUnnamed3421();
+ o.betaSettings = buildUnnamed3518();
o.creationTime = "foo";
o.defaultExpiration = "foo";
o.deployer = "foo";
@@ -1411,14 +1482,14 @@
o.diskUsageBytes = "foo";
o.endpointsApiService = buildEndpointsApiService();
o.env = "foo";
- o.envVariables = buildUnnamed3422();
- o.errorHandlers = buildUnnamed3423();
- o.handlers = buildUnnamed3424();
+ o.envVariables = buildUnnamed3519();
+ o.errorHandlers = buildUnnamed3520();
+ o.handlers = buildUnnamed3521();
o.healthCheck = buildHealthCheck();
o.id = "foo";
- o.inboundServices = buildUnnamed3425();
+ o.inboundServices = buildUnnamed3522();
o.instanceClass = "foo";
- o.libraries = buildUnnamed3426();
+ o.libraries = buildUnnamed3523();
o.manualScaling = buildManualScaling();
o.name = "foo";
o.network = buildNetwork();
@@ -1439,7 +1510,7 @@
checkApiConfigHandler(o.apiConfig);
checkAutomaticScaling(o.automaticScaling);
checkBasicScaling(o.basicScaling);
- checkUnnamed3421(o.betaSettings);
+ checkUnnamed3518(o.betaSettings);
unittest.expect(o.creationTime, unittest.equals('foo'));
unittest.expect(o.defaultExpiration, unittest.equals('foo'));
unittest.expect(o.deployer, unittest.equals('foo'));
@@ -1447,14 +1518,14 @@
unittest.expect(o.diskUsageBytes, unittest.equals('foo'));
checkEndpointsApiService(o.endpointsApiService);
unittest.expect(o.env, unittest.equals('foo'));
- checkUnnamed3422(o.envVariables);
- checkUnnamed3423(o.errorHandlers);
- checkUnnamed3424(o.handlers);
+ checkUnnamed3519(o.envVariables);
+ checkUnnamed3520(o.errorHandlers);
+ checkUnnamed3521(o.handlers);
checkHealthCheck(o.healthCheck);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3425(o.inboundServices);
+ checkUnnamed3522(o.inboundServices);
unittest.expect(o.instanceClass, unittest.equals('foo'));
- checkUnnamed3426(o.libraries);
+ checkUnnamed3523(o.libraries);
checkManualScaling(o.manualScaling);
unittest.expect(o.name, unittest.equals('foo'));
checkNetwork(o.network);
@@ -1619,6 +1690,15 @@
});
+ unittest.group("obj-schema-IdentityAwareProxy", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildIdentityAwareProxy();
+ var od = new api.IdentityAwareProxy.fromJson(o.toJson());
+ checkIdentityAwareProxy(od);
+ });
+ });
+
+
unittest.group("obj-schema-Instance", () {
unittest.test("to-json--from-json", () {
var o = buildInstance();
@@ -1763,6 +1843,15 @@
});
+ unittest.group("obj-schema-OperationMetadataV1Beta", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOperationMetadataV1Beta();
+ var od = new api.OperationMetadataV1Beta.fromJson(o.toJson());
+ checkOperationMetadataV1Beta(od);
+ });
+ });
+
+
unittest.group("obj-schema-OperationMetadataV1Beta5", () {
unittest.test("to-json--from-json", () {
var o = buildOperationMetadataV1Beta5();
diff --git a/generated/googleapis_beta/test/appengine/v1beta_test.dart b/generated/googleapis_beta/test/appengine/v1beta_test.dart
index 64746a7..a3cb382 100644
--- a/generated/googleapis_beta/test/appengine/v1beta_test.dart
+++ b/generated/googleapis_beta/test/appengine/v1beta_test.dart
@@ -97,14 +97,14 @@
buildCounterApiEndpointHandler--;
}
-buildUnnamed3519() {
+buildUnnamed3617() {
var o = new core.List<api.UrlDispatchRule>();
o.add(buildUrlDispatchRule());
o.add(buildUrlDispatchRule());
return o;
}
-checkUnnamed3519(core.List<api.UrlDispatchRule> o) {
+checkUnnamed3617(core.List<api.UrlDispatchRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlDispatchRule(o[0]);
checkUrlDispatchRule(o[1]);
@@ -120,11 +120,13 @@
o.defaultBucket = "foo";
o.defaultCookieExpiration = "foo";
o.defaultHostname = "foo";
- o.dispatchRules = buildUnnamed3519();
+ o.dispatchRules = buildUnnamed3617();
+ o.gcrDomain = "foo";
o.iap = buildIdentityAwareProxy();
o.id = "foo";
o.locationId = "foo";
o.name = "foo";
+ o.servingStatus = "foo";
}
buildCounterApplication--;
return o;
@@ -138,15 +140,97 @@
unittest.expect(o.defaultBucket, unittest.equals('foo'));
unittest.expect(o.defaultCookieExpiration, unittest.equals('foo'));
unittest.expect(o.defaultHostname, unittest.equals('foo'));
- checkUnnamed3519(o.dispatchRules);
+ checkUnnamed3617(o.dispatchRules);
+ unittest.expect(o.gcrDomain, unittest.equals('foo'));
checkIdentityAwareProxy(o.iap);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.locationId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.servingStatus, unittest.equals('foo'));
}
buildCounterApplication--;
}
+buildUnnamed3618() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3618(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3619() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3619(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterAuthorizedCertificate = 0;
+buildAuthorizedCertificate() {
+ var o = new api.AuthorizedCertificate();
+ buildCounterAuthorizedCertificate++;
+ if (buildCounterAuthorizedCertificate < 3) {
+ o.certificateRawData = buildCertificateRawData();
+ o.displayName = "foo";
+ o.domainMappingsCount = 42;
+ o.domainNames = buildUnnamed3618();
+ o.expireTime = "foo";
+ o.id = "foo";
+ o.name = "foo";
+ o.visibleDomainMappings = buildUnnamed3619();
+ }
+ buildCounterAuthorizedCertificate--;
+ return o;
+}
+
+checkAuthorizedCertificate(api.AuthorizedCertificate o) {
+ buildCounterAuthorizedCertificate++;
+ if (buildCounterAuthorizedCertificate < 3) {
+ checkCertificateRawData(o.certificateRawData);
+ unittest.expect(o.displayName, unittest.equals('foo'));
+ unittest.expect(o.domainMappingsCount, unittest.equals(42));
+ checkUnnamed3618(o.domainNames);
+ unittest.expect(o.expireTime, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed3619(o.visibleDomainMappings);
+ }
+ buildCounterAuthorizedCertificate--;
+}
+
+core.int buildCounterAuthorizedDomain = 0;
+buildAuthorizedDomain() {
+ var o = new api.AuthorizedDomain();
+ buildCounterAuthorizedDomain++;
+ if (buildCounterAuthorizedDomain < 3) {
+ o.id = "foo";
+ o.name = "foo";
+ }
+ buildCounterAuthorizedDomain--;
+ return o;
+}
+
+checkAuthorizedDomain(api.AuthorizedDomain o) {
+ buildCounterAuthorizedDomain++;
+ if (buildCounterAuthorizedDomain < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterAuthorizedDomain--;
+}
+
core.int buildCounterAutomaticScaling = 0;
buildAutomaticScaling() {
var o = new api.AutomaticScaling();
@@ -209,6 +293,27 @@
buildCounterBasicScaling--;
}
+core.int buildCounterCertificateRawData = 0;
+buildCertificateRawData() {
+ var o = new api.CertificateRawData();
+ buildCounterCertificateRawData++;
+ if (buildCounterCertificateRawData < 3) {
+ o.privateKey = "foo";
+ o.publicCertificate = "foo";
+ }
+ buildCounterCertificateRawData--;
+ return o;
+}
+
+checkCertificateRawData(api.CertificateRawData o) {
+ buildCounterCertificateRawData++;
+ if (buildCounterCertificateRawData < 3) {
+ unittest.expect(o.privateKey, unittest.equals('foo'));
+ unittest.expect(o.publicCertificate, unittest.equals('foo'));
+ }
+ buildCounterCertificateRawData--;
+}
+
core.int buildCounterContainerInfo = 0;
buildContainerInfo() {
var o = new api.ContainerInfo();
@@ -268,14 +373,14 @@
buildCounterDebugInstanceRequest--;
}
-buildUnnamed3520() {
+buildUnnamed3620() {
var o = new core.Map<core.String, api.FileInfo>();
o["x"] = buildFileInfo();
o["y"] = buildFileInfo();
return o;
}
-checkUnnamed3520(core.Map<core.String, api.FileInfo> o) {
+checkUnnamed3620(core.Map<core.String, api.FileInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileInfo(o["x"]);
checkFileInfo(o["y"]);
@@ -287,7 +392,7 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
o.container = buildContainerInfo();
- o.files = buildUnnamed3520();
+ o.files = buildUnnamed3620();
o.zip = buildZipInfo();
}
buildCounterDeployment--;
@@ -298,7 +403,7 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
checkContainerInfo(o.container);
- checkUnnamed3520(o.files);
+ checkUnnamed3620(o.files);
checkZipInfo(o.zip);
}
buildCounterDeployment--;
@@ -329,6 +434,61 @@
buildCounterDiskUtilization--;
}
+buildUnnamed3621() {
+ var o = new core.List<api.ResourceRecord>();
+ o.add(buildResourceRecord());
+ o.add(buildResourceRecord());
+ return o;
+}
+
+checkUnnamed3621(core.List<api.ResourceRecord> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkResourceRecord(o[0]);
+ checkResourceRecord(o[1]);
+}
+
+core.int buildCounterDomainMapping = 0;
+buildDomainMapping() {
+ var o = new api.DomainMapping();
+ buildCounterDomainMapping++;
+ if (buildCounterDomainMapping < 3) {
+ o.id = "foo";
+ o.name = "foo";
+ o.resourceRecords = buildUnnamed3621();
+ o.sslSettings = buildSslSettings();
+ }
+ buildCounterDomainMapping--;
+ return o;
+}
+
+checkDomainMapping(api.DomainMapping o) {
+ buildCounterDomainMapping++;
+ if (buildCounterDomainMapping < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed3621(o.resourceRecords);
+ checkSslSettings(o.sslSettings);
+ }
+ buildCounterDomainMapping--;
+}
+
+core.int buildCounterEmpty = 0;
+buildEmpty() {
+ var o = new api.Empty();
+ buildCounterEmpty++;
+ if (buildCounterEmpty < 3) {
+ }
+ buildCounterEmpty--;
+ return o;
+}
+
+checkEmpty(api.Empty o) {
+ buildCounterEmpty++;
+ if (buildCounterEmpty < 3) {
+ }
+ buildCounterEmpty--;
+}
+
core.int buildCounterEndpointsApiService = 0;
buildEndpointsApiService() {
var o = new api.EndpointsApiService();
@@ -522,14 +682,116 @@
buildCounterLibrary--;
}
-buildUnnamed3521() {
+buildUnnamed3622() {
+ var o = new core.List<api.AuthorizedCertificate>();
+ o.add(buildAuthorizedCertificate());
+ o.add(buildAuthorizedCertificate());
+ return o;
+}
+
+checkUnnamed3622(core.List<api.AuthorizedCertificate> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAuthorizedCertificate(o[0]);
+ checkAuthorizedCertificate(o[1]);
+}
+
+core.int buildCounterListAuthorizedCertificatesResponse = 0;
+buildListAuthorizedCertificatesResponse() {
+ var o = new api.ListAuthorizedCertificatesResponse();
+ buildCounterListAuthorizedCertificatesResponse++;
+ if (buildCounterListAuthorizedCertificatesResponse < 3) {
+ o.certificates = buildUnnamed3622();
+ o.nextPageToken = "foo";
+ }
+ buildCounterListAuthorizedCertificatesResponse--;
+ return o;
+}
+
+checkListAuthorizedCertificatesResponse(api.ListAuthorizedCertificatesResponse o) {
+ buildCounterListAuthorizedCertificatesResponse++;
+ if (buildCounterListAuthorizedCertificatesResponse < 3) {
+ checkUnnamed3622(o.certificates);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterListAuthorizedCertificatesResponse--;
+}
+
+buildUnnamed3623() {
+ var o = new core.List<api.AuthorizedDomain>();
+ o.add(buildAuthorizedDomain());
+ o.add(buildAuthorizedDomain());
+ return o;
+}
+
+checkUnnamed3623(core.List<api.AuthorizedDomain> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAuthorizedDomain(o[0]);
+ checkAuthorizedDomain(o[1]);
+}
+
+core.int buildCounterListAuthorizedDomainsResponse = 0;
+buildListAuthorizedDomainsResponse() {
+ var o = new api.ListAuthorizedDomainsResponse();
+ buildCounterListAuthorizedDomainsResponse++;
+ if (buildCounterListAuthorizedDomainsResponse < 3) {
+ o.domains = buildUnnamed3623();
+ o.nextPageToken = "foo";
+ }
+ buildCounterListAuthorizedDomainsResponse--;
+ return o;
+}
+
+checkListAuthorizedDomainsResponse(api.ListAuthorizedDomainsResponse o) {
+ buildCounterListAuthorizedDomainsResponse++;
+ if (buildCounterListAuthorizedDomainsResponse < 3) {
+ checkUnnamed3623(o.domains);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterListAuthorizedDomainsResponse--;
+}
+
+buildUnnamed3624() {
+ var o = new core.List<api.DomainMapping>();
+ o.add(buildDomainMapping());
+ o.add(buildDomainMapping());
+ return o;
+}
+
+checkUnnamed3624(core.List<api.DomainMapping> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDomainMapping(o[0]);
+ checkDomainMapping(o[1]);
+}
+
+core.int buildCounterListDomainMappingsResponse = 0;
+buildListDomainMappingsResponse() {
+ var o = new api.ListDomainMappingsResponse();
+ buildCounterListDomainMappingsResponse++;
+ if (buildCounterListDomainMappingsResponse < 3) {
+ o.domainMappings = buildUnnamed3624();
+ o.nextPageToken = "foo";
+ }
+ buildCounterListDomainMappingsResponse--;
+ return o;
+}
+
+checkListDomainMappingsResponse(api.ListDomainMappingsResponse o) {
+ buildCounterListDomainMappingsResponse++;
+ if (buildCounterListDomainMappingsResponse < 3) {
+ checkUnnamed3624(o.domainMappings);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterListDomainMappingsResponse--;
+}
+
+buildUnnamed3625() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed3521(core.List<api.Instance> o) {
+checkUnnamed3625(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -540,7 +802,7 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed3521();
+ o.instances = buildUnnamed3625();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -550,20 +812,20 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed3521(o.instances);
+ checkUnnamed3625(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed3522() {
+buildUnnamed3626() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed3522(core.List<api.Location> o) {
+checkUnnamed3626(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -574,7 +836,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed3522();
+ o.locations = buildUnnamed3626();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -584,20 +846,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed3522(o.locations);
+ checkUnnamed3626(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed3523() {
+buildUnnamed3627() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3523(core.List<api.Operation> o) {
+checkUnnamed3627(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -609,7 +871,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3523();
+ o.operations = buildUnnamed3627();
}
buildCounterListOperationsResponse--;
return o;
@@ -619,19 +881,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3523(o.operations);
+ checkUnnamed3627(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed3524() {
+buildUnnamed3628() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed3524(core.List<api.Service> o) {
+checkUnnamed3628(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -643,7 +905,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed3524();
+ o.services = buildUnnamed3628();
}
buildCounterListServicesResponse--;
return o;
@@ -653,19 +915,19 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3524(o.services);
+ checkUnnamed3628(o.services);
}
buildCounterListServicesResponse--;
}
-buildUnnamed3525() {
+buildUnnamed3629() {
var o = new core.List<api.Version>();
o.add(buildVersion());
o.add(buildVersion());
return o;
}
-checkUnnamed3525(core.List<api.Version> o) {
+checkUnnamed3629(core.List<api.Version> o) {
unittest.expect(o, unittest.hasLength(2));
checkVersion(o[0]);
checkVersion(o[1]);
@@ -677,7 +939,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
o.nextPageToken = "foo";
- o.versions = buildUnnamed3525();
+ o.versions = buildUnnamed3629();
}
buildCounterListVersionsResponse--;
return o;
@@ -687,7 +949,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3525(o.versions);
+ checkUnnamed3629(o.versions);
}
buildCounterListVersionsResponse--;
}
@@ -698,12 +960,12 @@
buildCounterLivenessCheck++;
if (buildCounterLivenessCheck < 3) {
o.checkInterval = "foo";
- o.healthyThreshold = 42;
+ o.failureThreshold = 42;
o.host = "foo";
o.initialDelay = "foo";
o.path = "foo";
+ o.successThreshold = 42;
o.timeout = "foo";
- o.unhealthyThreshold = 42;
}
buildCounterLivenessCheck--;
return o;
@@ -713,37 +975,37 @@
buildCounterLivenessCheck++;
if (buildCounterLivenessCheck < 3) {
unittest.expect(o.checkInterval, unittest.equals('foo'));
- unittest.expect(o.healthyThreshold, unittest.equals(42));
+ unittest.expect(o.failureThreshold, unittest.equals(42));
unittest.expect(o.host, unittest.equals('foo'));
unittest.expect(o.initialDelay, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
+ unittest.expect(o.successThreshold, unittest.equals(42));
unittest.expect(o.timeout, unittest.equals('foo'));
- unittest.expect(o.unhealthyThreshold, unittest.equals(42));
}
buildCounterLivenessCheck--;
}
-buildUnnamed3526() {
+buildUnnamed3630() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3526(core.Map<core.String, core.String> o) {
+checkUnnamed3630(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3527() {
+buildUnnamed3631() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3527(core.Map<core.String, core.Object> o) {
+checkUnnamed3631(core.Map<core.String, core.Object> 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'));
@@ -754,9 +1016,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed3526();
+ o.labels = buildUnnamed3630();
o.locationId = "foo";
- o.metadata = buildUnnamed3527();
+ o.metadata = buildUnnamed3631();
o.name = "foo";
}
buildCounterLocation--;
@@ -766,9 +1028,9 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed3526(o.labels);
+ checkUnnamed3630(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed3527(o.metadata);
+ checkUnnamed3631(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -814,14 +1076,14 @@
buildCounterManualScaling--;
}
-buildUnnamed3528() {
+buildUnnamed3632() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3528(core.List<core.String> o) {
+checkUnnamed3632(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -832,7 +1094,7 @@
var o = new api.Network();
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- o.forwardedPorts = buildUnnamed3528();
+ o.forwardedPorts = buildUnnamed3632();
o.instanceTag = "foo";
o.name = "foo";
o.subnetworkName = "foo";
@@ -844,7 +1106,7 @@
checkNetwork(api.Network o) {
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- checkUnnamed3528(o.forwardedPorts);
+ checkUnnamed3632(o.forwardedPorts);
unittest.expect(o.instanceTag, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.subnetworkName, unittest.equals('foo'));
@@ -877,27 +1139,27 @@
buildCounterNetworkUtilization--;
}
-buildUnnamed3529() {
+buildUnnamed3633() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3529(core.Map<core.String, core.Object> o) {
+checkUnnamed3633(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed3530() {
+buildUnnamed3634() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3530(core.Map<core.String, core.Object> o) {
+checkUnnamed3634(core.Map<core.String, core.Object> 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'));
@@ -910,9 +1172,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3529();
+ o.metadata = buildUnnamed3633();
o.name = "foo";
- o.response = buildUnnamed3530();
+ o.response = buildUnnamed3634();
}
buildCounterOperation--;
return o;
@@ -923,9 +1185,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3529(o.metadata);
+ checkUnnamed3633(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3530(o.response);
+ checkUnnamed3634(o.response);
}
buildCounterOperation--;
}
@@ -986,14 +1248,14 @@
buildCounterOperationMetadataExperimental--;
}
-buildUnnamed3531() {
+buildUnnamed3635() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3531(core.List<core.String> o) {
+checkUnnamed3635(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1010,7 +1272,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed3531();
+ o.warning = buildUnnamed3635();
}
buildCounterOperationMetadataV1--;
return o;
@@ -1025,63 +1287,19 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3531(o.warning);
+ checkUnnamed3635(o.warning);
}
buildCounterOperationMetadataV1--;
}
-buildUnnamed3532() {
+buildUnnamed3636() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3532(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterOperationMetadataV1Alpha = 0;
-buildOperationMetadataV1Alpha() {
- var o = new api.OperationMetadataV1Alpha();
- buildCounterOperationMetadataV1Alpha++;
- if (buildCounterOperationMetadataV1Alpha < 3) {
- o.endTime = "foo";
- o.ephemeralMessage = "foo";
- o.insertTime = "foo";
- o.method = "foo";
- o.target = "foo";
- o.user = "foo";
- o.warning = buildUnnamed3532();
- }
- buildCounterOperationMetadataV1Alpha--;
- return o;
-}
-
-checkOperationMetadataV1Alpha(api.OperationMetadataV1Alpha o) {
- buildCounterOperationMetadataV1Alpha++;
- if (buildCounterOperationMetadataV1Alpha < 3) {
- unittest.expect(o.endTime, unittest.equals('foo'));
- unittest.expect(o.ephemeralMessage, unittest.equals('foo'));
- unittest.expect(o.insertTime, unittest.equals('foo'));
- unittest.expect(o.method, unittest.equals('foo'));
- unittest.expect(o.target, unittest.equals('foo'));
- unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3532(o.warning);
- }
- buildCounterOperationMetadataV1Alpha--;
-}
-
-buildUnnamed3533() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3533(core.List<core.String> o) {
+checkUnnamed3636(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1098,7 +1316,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed3533();
+ o.warning = buildUnnamed3636();
}
buildCounterOperationMetadataV1Beta--;
return o;
@@ -1113,7 +1331,7 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3533(o.warning);
+ checkUnnamed3636(o.warning);
}
buildCounterOperationMetadataV1Beta--;
}
@@ -1151,11 +1369,11 @@
buildCounterReadinessCheck++;
if (buildCounterReadinessCheck < 3) {
o.checkInterval = "foo";
- o.healthyThreshold = 42;
+ o.failureThreshold = 42;
o.host = "foo";
o.path = "foo";
+ o.successThreshold = 42;
o.timeout = "foo";
- o.unhealthyThreshold = 42;
}
buildCounterReadinessCheck--;
return o;
@@ -1165,11 +1383,11 @@
buildCounterReadinessCheck++;
if (buildCounterReadinessCheck < 3) {
unittest.expect(o.checkInterval, unittest.equals('foo'));
- unittest.expect(o.healthyThreshold, unittest.equals(42));
+ unittest.expect(o.failureThreshold, unittest.equals(42));
unittest.expect(o.host, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
+ unittest.expect(o.successThreshold, unittest.equals(42));
unittest.expect(o.timeout, unittest.equals('foo'));
- unittest.expect(o.unhealthyThreshold, unittest.equals(42));
}
buildCounterReadinessCheck--;
}
@@ -1212,14 +1430,37 @@
buildCounterRequestUtilization--;
}
-buildUnnamed3534() {
+core.int buildCounterResourceRecord = 0;
+buildResourceRecord() {
+ var o = new api.ResourceRecord();
+ buildCounterResourceRecord++;
+ if (buildCounterResourceRecord < 3) {
+ o.name = "foo";
+ o.rrdata = "foo";
+ o.type = "foo";
+ }
+ buildCounterResourceRecord--;
+ return o;
+}
+
+checkResourceRecord(api.ResourceRecord o) {
+ buildCounterResourceRecord++;
+ if (buildCounterResourceRecord < 3) {
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.rrdata, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterResourceRecord--;
+}
+
+buildUnnamed3637() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed3534(core.List<api.Volume> o) {
+checkUnnamed3637(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1233,7 +1474,7 @@
o.cpu = 42.0;
o.diskGb = 42.0;
o.memoryGb = 42.0;
- o.volumes = buildUnnamed3534();
+ o.volumes = buildUnnamed3637();
}
buildCounterResources--;
return o;
@@ -1245,7 +1486,7 @@
unittest.expect(o.cpu, unittest.equals(42.0));
unittest.expect(o.diskGb, unittest.equals(42.0));
unittest.expect(o.memoryGb, unittest.equals(42.0));
- checkUnnamed3534(o.volumes);
+ checkUnnamed3637(o.volumes);
}
buildCounterResources--;
}
@@ -1292,14 +1533,33 @@
buildCounterService--;
}
-buildUnnamed3535() {
+core.int buildCounterSslSettings = 0;
+buildSslSettings() {
+ var o = new api.SslSettings();
+ buildCounterSslSettings++;
+ if (buildCounterSslSettings < 3) {
+ o.certificateId = "foo";
+ }
+ buildCounterSslSettings--;
+ return o;
+}
+
+checkSslSettings(api.SslSettings o) {
+ buildCounterSslSettings++;
+ if (buildCounterSslSettings < 3) {
+ unittest.expect(o.certificateId, unittest.equals('foo'));
+ }
+ buildCounterSslSettings--;
+}
+
+buildUnnamed3638() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3535(core.Map<core.String, core.String> o) {
+checkUnnamed3638(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1312,7 +1572,7 @@
if (buildCounterStaticFilesHandler < 3) {
o.applicationReadable = true;
o.expiration = "foo";
- o.httpHeaders = buildUnnamed3535();
+ o.httpHeaders = buildUnnamed3638();
o.mimeType = "foo";
o.path = "foo";
o.requireMatchingFile = true;
@@ -1327,7 +1587,7 @@
if (buildCounterStaticFilesHandler < 3) {
unittest.expect(o.applicationReadable, unittest.isTrue);
unittest.expect(o.expiration, unittest.equals('foo'));
- checkUnnamed3535(o.httpHeaders);
+ checkUnnamed3638(o.httpHeaders);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.requireMatchingFile, unittest.isTrue);
@@ -1336,30 +1596,30 @@
buildCounterStaticFilesHandler--;
}
-buildUnnamed3536() {
+buildUnnamed3639() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3536(core.Map<core.String, core.Object> o) {
+checkUnnamed3639(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed3537() {
+buildUnnamed3640() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3536());
- o.add(buildUnnamed3536());
+ o.add(buildUnnamed3639());
+ o.add(buildUnnamed3639());
return o;
}
-checkUnnamed3537(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3640(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3536(o[0]);
- checkUnnamed3536(o[1]);
+ checkUnnamed3639(o[0]);
+ checkUnnamed3639(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1368,7 +1628,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3537();
+ o.details = buildUnnamed3640();
o.message = "foo";
}
buildCounterStatus--;
@@ -1379,20 +1639,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3537(o.details);
+ checkUnnamed3640(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed3538() {
+buildUnnamed3641() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed3538(core.Map<core.String, core.double> o) {
+checkUnnamed3641(core.Map<core.String, core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42.0));
unittest.expect(o["y"], unittest.equals(42.0));
@@ -1403,7 +1663,7 @@
var o = new api.TrafficSplit();
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- o.allocations = buildUnnamed3538();
+ o.allocations = buildUnnamed3641();
o.shardBy = "foo";
}
buildCounterTrafficSplit--;
@@ -1413,7 +1673,7 @@
checkTrafficSplit(api.TrafficSplit o) {
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- checkUnnamed3538(o.allocations);
+ checkUnnamed3641(o.allocations);
unittest.expect(o.shardBy, unittest.equals('foo'));
}
buildCounterTrafficSplit--;
@@ -1475,79 +1735,79 @@
buildCounterUrlMap--;
}
-buildUnnamed3539() {
+buildUnnamed3642() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3539(core.Map<core.String, core.String> o) {
+checkUnnamed3642(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3540() {
+buildUnnamed3643() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3540(core.Map<core.String, core.String> o) {
+checkUnnamed3643(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3541() {
+buildUnnamed3644() {
var o = new core.List<api.ErrorHandler>();
o.add(buildErrorHandler());
o.add(buildErrorHandler());
return o;
}
-checkUnnamed3541(core.List<api.ErrorHandler> o) {
+checkUnnamed3644(core.List<api.ErrorHandler> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorHandler(o[0]);
checkErrorHandler(o[1]);
}
-buildUnnamed3542() {
+buildUnnamed3645() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed3542(core.List<api.UrlMap> o) {
+checkUnnamed3645(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
}
-buildUnnamed3543() {
+buildUnnamed3646() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3543(core.List<core.String> o) {
+checkUnnamed3646(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3544() {
+buildUnnamed3647() {
var o = new core.List<api.Library>();
o.add(buildLibrary());
o.add(buildLibrary());
return o;
}
-checkUnnamed3544(core.List<api.Library> o) {
+checkUnnamed3647(core.List<api.Library> o) {
unittest.expect(o, unittest.hasLength(2));
checkLibrary(o[0]);
checkLibrary(o[1]);
@@ -1561,7 +1821,7 @@
o.apiConfig = buildApiConfigHandler();
o.automaticScaling = buildAutomaticScaling();
o.basicScaling = buildBasicScaling();
- o.betaSettings = buildUnnamed3539();
+ o.betaSettings = buildUnnamed3642();
o.createTime = "foo";
o.createdBy = "foo";
o.defaultExpiration = "foo";
@@ -1569,14 +1829,14 @@
o.diskUsageBytes = "foo";
o.endpointsApiService = buildEndpointsApiService();
o.env = "foo";
- o.envVariables = buildUnnamed3540();
- o.errorHandlers = buildUnnamed3541();
- o.handlers = buildUnnamed3542();
+ o.envVariables = buildUnnamed3643();
+ o.errorHandlers = buildUnnamed3644();
+ o.handlers = buildUnnamed3645();
o.healthCheck = buildHealthCheck();
o.id = "foo";
- o.inboundServices = buildUnnamed3543();
+ o.inboundServices = buildUnnamed3646();
o.instanceClass = "foo";
- o.libraries = buildUnnamed3544();
+ o.libraries = buildUnnamed3647();
o.livenessCheck = buildLivenessCheck();
o.manualScaling = buildManualScaling();
o.name = "foo";
@@ -1600,7 +1860,7 @@
checkApiConfigHandler(o.apiConfig);
checkAutomaticScaling(o.automaticScaling);
checkBasicScaling(o.basicScaling);
- checkUnnamed3539(o.betaSettings);
+ checkUnnamed3642(o.betaSettings);
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.createdBy, unittest.equals('foo'));
unittest.expect(o.defaultExpiration, unittest.equals('foo'));
@@ -1608,14 +1868,14 @@
unittest.expect(o.diskUsageBytes, unittest.equals('foo'));
checkEndpointsApiService(o.endpointsApiService);
unittest.expect(o.env, unittest.equals('foo'));
- checkUnnamed3540(o.envVariables);
- checkUnnamed3541(o.errorHandlers);
- checkUnnamed3542(o.handlers);
+ checkUnnamed3643(o.envVariables);
+ checkUnnamed3644(o.errorHandlers);
+ checkUnnamed3645(o.handlers);
checkHealthCheck(o.healthCheck);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3543(o.inboundServices);
+ checkUnnamed3646(o.inboundServices);
unittest.expect(o.instanceClass, unittest.equals('foo'));
- checkUnnamed3544(o.libraries);
+ checkUnnamed3647(o.libraries);
checkLivenessCheck(o.livenessCheck);
checkManualScaling(o.manualScaling);
unittest.expect(o.name, unittest.equals('foo'));
@@ -1705,6 +1965,24 @@
});
+ unittest.group("obj-schema-AuthorizedCertificate", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAuthorizedCertificate();
+ var od = new api.AuthorizedCertificate.fromJson(o.toJson());
+ checkAuthorizedCertificate(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-AuthorizedDomain", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAuthorizedDomain();
+ var od = new api.AuthorizedDomain.fromJson(o.toJson());
+ checkAuthorizedDomain(od);
+ });
+ });
+
+
unittest.group("obj-schema-AutomaticScaling", () {
unittest.test("to-json--from-json", () {
var o = buildAutomaticScaling();
@@ -1723,6 +2001,15 @@
});
+ unittest.group("obj-schema-CertificateRawData", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCertificateRawData();
+ var od = new api.CertificateRawData.fromJson(o.toJson());
+ checkCertificateRawData(od);
+ });
+ });
+
+
unittest.group("obj-schema-ContainerInfo", () {
unittest.test("to-json--from-json", () {
var o = buildContainerInfo();
@@ -1768,6 +2055,24 @@
});
+ unittest.group("obj-schema-DomainMapping", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDomainMapping();
+ var od = new api.DomainMapping.fromJson(o.toJson());
+ checkDomainMapping(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Empty", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildEmpty();
+ var od = new api.Empty.fromJson(o.toJson());
+ checkEmpty(od);
+ });
+ });
+
+
unittest.group("obj-schema-EndpointsApiService", () {
unittest.test("to-json--from-json", () {
var o = buildEndpointsApiService();
@@ -1831,6 +2136,33 @@
});
+ unittest.group("obj-schema-ListAuthorizedCertificatesResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListAuthorizedCertificatesResponse();
+ var od = new api.ListAuthorizedCertificatesResponse.fromJson(o.toJson());
+ checkListAuthorizedCertificatesResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ListAuthorizedDomainsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListAuthorizedDomainsResponse();
+ var od = new api.ListAuthorizedDomainsResponse.fromJson(o.toJson());
+ checkListAuthorizedDomainsResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ListDomainMappingsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListDomainMappingsResponse();
+ var od = new api.ListDomainMappingsResponse.fromJson(o.toJson());
+ checkListDomainMappingsResponse(od);
+ });
+ });
+
+
unittest.group("obj-schema-ListInstancesResponse", () {
unittest.test("to-json--from-json", () {
var o = buildListInstancesResponse();
@@ -1966,15 +2298,6 @@
});
- unittest.group("obj-schema-OperationMetadataV1Alpha", () {
- unittest.test("to-json--from-json", () {
- var o = buildOperationMetadataV1Alpha();
- var od = new api.OperationMetadataV1Alpha.fromJson(o.toJson());
- checkOperationMetadataV1Alpha(od);
- });
- });
-
-
unittest.group("obj-schema-OperationMetadataV1Beta", () {
unittest.test("to-json--from-json", () {
var o = buildOperationMetadataV1Beta();
@@ -2020,6 +2343,15 @@
});
+ unittest.group("obj-schema-ResourceRecord", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildResourceRecord();
+ var od = new api.ResourceRecord.fromJson(o.toJson());
+ checkResourceRecord(od);
+ });
+ });
+
+
unittest.group("obj-schema-Resources", () {
unittest.test("to-json--from-json", () {
var o = buildResources();
@@ -2047,6 +2379,15 @@
});
+ unittest.group("obj-schema-SslSettings", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSslSettings();
+ var od = new api.SslSettings.fromJson(o.toJson());
+ checkSslSettings(od);
+ });
+ });
+
+
unittest.group("obj-schema-StaticFilesHandler", () {
unittest.test("to-json--from-json", () {
var o = buildStaticFilesHandler();
@@ -2325,6 +2666,637 @@
});
+ unittest.group("resource-AppsAuthorizedCertificatesResourceApi", () {
+ unittest.test("method--create", () {
+
+ var mock = new HttpServerMock();
+ api.AppsAuthorizedCertificatesResourceApi res = new api.AppengineApi(mock).apps.authorizedCertificates;
+ var arg_request = buildAuthorizedCertificate();
+ var arg_appsId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.AuthorizedCertificate.fromJson(json);
+ checkAuthorizedCertificate(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("v1beta/apps/"));
+ pathOffset += 12;
+ index = path.indexOf("/authorizedCertificates", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_appsId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 23), unittest.equals("/authorizedCertificates"));
+ pathOffset += 23;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAuthorizedCertificate());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.create(arg_request, arg_appsId).then(unittest.expectAsync(((api.AuthorizedCertificate response) {
+ checkAuthorizedCertificate(response);
+ })));
+ });
+
+ unittest.test("method--delete", () {
+
+ var mock = new HttpServerMock();
+ api.AppsAuthorizedCertificatesResourceApi res = new api.AppengineApi(mock).apps.authorizedCertificates;
+ var arg_appsId = "foo";
+ var arg_authorizedCertificatesId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("v1beta/apps/"));
+ pathOffset += 12;
+ index = path.indexOf("/authorizedCertificates/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_appsId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.equals("/authorizedCertificates/"));
+ pathOffset += 24;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_authorizedCertificatesId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.delete(arg_appsId, arg_authorizedCertificatesId).then(unittest.expectAsync(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
+ unittest.test("method--get", () {
+
+ var mock = new HttpServerMock();
+ api.AppsAuthorizedCertificatesResourceApi res = new api.AppengineApi(mock).apps.authorizedCertificates;
+ var arg_appsId = "foo";
+ var arg_authorizedCertificatesId = "foo";
+ var arg_view = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("v1beta/apps/"));
+ pathOffset += 12;
+ index = path.indexOf("/authorizedCertificates/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_appsId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.equals("/authorizedCertificates/"));
+ pathOffset += 24;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_authorizedCertificatesId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAuthorizedCertificate());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.get(arg_appsId, arg_authorizedCertificatesId, view: arg_view).then(unittest.expectAsync(((api.AuthorizedCertificate response) {
+ checkAuthorizedCertificate(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+
+ var mock = new HttpServerMock();
+ api.AppsAuthorizedCertificatesResourceApi res = new api.AppengineApi(mock).apps.authorizedCertificates;
+ var arg_appsId = "foo";
+ var arg_pageSize = 42;
+ var arg_pageToken = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("v1beta/apps/"));
+ pathOffset += 12;
+ index = path.indexOf("/authorizedCertificates", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_appsId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 23), unittest.equals("/authorizedCertificates"));
+ pathOffset += 23;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var 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));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListAuthorizedCertificatesResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_appsId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListAuthorizedCertificatesResponse response) {
+ checkListAuthorizedCertificatesResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+
+ var mock = new HttpServerMock();
+ api.AppsAuthorizedCertificatesResourceApi res = new api.AppengineApi(mock).apps.authorizedCertificates;
+ var arg_request = buildAuthorizedCertificate();
+ var arg_appsId = "foo";
+ var arg_authorizedCertificatesId = "foo";
+ var arg_updateMask = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.AuthorizedCertificate.fromJson(json);
+ checkAuthorizedCertificate(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("v1beta/apps/"));
+ pathOffset += 12;
+ index = path.indexOf("/authorizedCertificates/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_appsId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.equals("/authorizedCertificates/"));
+ pathOffset += 24;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_authorizedCertificatesId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAuthorizedCertificate());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.patch(arg_request, arg_appsId, arg_authorizedCertificatesId, updateMask: arg_updateMask).then(unittest.expectAsync(((api.AuthorizedCertificate response) {
+ checkAuthorizedCertificate(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-AppsAuthorizedDomainsResourceApi", () {
+ unittest.test("method--list", () {
+
+ var mock = new HttpServerMock();
+ api.AppsAuthorizedDomainsResourceApi res = new api.AppengineApi(mock).apps.authorizedDomains;
+ var arg_appsId = "foo";
+ var arg_pageSize = 42;
+ var arg_pageToken = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("v1beta/apps/"));
+ pathOffset += 12;
+ index = path.indexOf("/authorizedDomains", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_appsId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.equals("/authorizedDomains"));
+ pathOffset += 18;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var 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));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListAuthorizedDomainsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_appsId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListAuthorizedDomainsResponse response) {
+ checkListAuthorizedDomainsResponse(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-AppsDomainMappingsResourceApi", () {
+ unittest.test("method--create", () {
+
+ var mock = new HttpServerMock();
+ api.AppsDomainMappingsResourceApi res = new api.AppengineApi(mock).apps.domainMappings;
+ var arg_request = buildDomainMapping();
+ var arg_appsId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.DomainMapping.fromJson(json);
+ checkDomainMapping(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("v1beta/apps/"));
+ pathOffset += 12;
+ index = path.indexOf("/domainMappings", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_appsId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.equals("/domainMappings"));
+ pathOffset += 15;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.create(arg_request, arg_appsId).then(unittest.expectAsync(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
+ unittest.test("method--delete", () {
+
+ var mock = new HttpServerMock();
+ api.AppsDomainMappingsResourceApi res = new api.AppengineApi(mock).apps.domainMappings;
+ var arg_appsId = "foo";
+ var arg_domainMappingsId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("v1beta/apps/"));
+ pathOffset += 12;
+ index = path.indexOf("/domainMappings/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_appsId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("/domainMappings/"));
+ pathOffset += 16;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_domainMappingsId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.delete(arg_appsId, arg_domainMappingsId).then(unittest.expectAsync(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
+ unittest.test("method--get", () {
+
+ var mock = new HttpServerMock();
+ api.AppsDomainMappingsResourceApi res = new api.AppengineApi(mock).apps.domainMappings;
+ var arg_appsId = "foo";
+ var arg_domainMappingsId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("v1beta/apps/"));
+ pathOffset += 12;
+ index = path.indexOf("/domainMappings/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_appsId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("/domainMappings/"));
+ pathOffset += 16;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_domainMappingsId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildDomainMapping());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.get(arg_appsId, arg_domainMappingsId).then(unittest.expectAsync(((api.DomainMapping response) {
+ checkDomainMapping(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+
+ var mock = new HttpServerMock();
+ api.AppsDomainMappingsResourceApi res = new api.AppengineApi(mock).apps.domainMappings;
+ var arg_appsId = "foo";
+ var arg_pageSize = 42;
+ var arg_pageToken = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("v1beta/apps/"));
+ pathOffset += 12;
+ index = path.indexOf("/domainMappings", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_appsId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.equals("/domainMappings"));
+ pathOffset += 15;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var 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));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListDomainMappingsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_appsId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListDomainMappingsResponse response) {
+ checkListDomainMappingsResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+
+ var mock = new HttpServerMock();
+ api.AppsDomainMappingsResourceApi res = new api.AppengineApi(mock).apps.domainMappings;
+ var arg_request = buildDomainMapping();
+ var arg_appsId = "foo";
+ var arg_domainMappingsId = "foo";
+ var arg_updateMask = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.DomainMapping.fromJson(json);
+ checkDomainMapping(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("v1beta/apps/"));
+ pathOffset += 12;
+ index = path.indexOf("/domainMappings/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_appsId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("/domainMappings/"));
+ pathOffset += 16;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_domainMappingsId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.patch(arg_request, arg_appsId, arg_domainMappingsId, updateMask: arg_updateMask).then(unittest.expectAsync(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
+ });
+
+
unittest.group("resource-AppsLocationsResourceApi", () {
unittest.test("method--get", () {
@@ -2386,9 +3358,9 @@
var mock = new HttpServerMock();
api.AppsLocationsResourceApi res = new api.AppengineApi(mock).apps.locations;
var arg_appsId = "foo";
- var arg_pageToken = "foo";
- var arg_pageSize = 42;
var arg_filter = "foo";
+ var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2422,9 +3394,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
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));
var h = {
@@ -2433,7 +3405,7 @@
var resp = convert.JSON.encode(buildListLocationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListLocationsResponse response) {
+ res.list(arg_appsId, filter: arg_filter, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListLocationsResponse response) {
checkListLocationsResponse(response);
})));
});
@@ -2503,8 +3475,8 @@
api.AppsOperationsResourceApi res = new api.AppengineApi(mock).apps.operations;
var arg_appsId = "foo";
var arg_filter = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2539,8 +3511,8 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -2549,7 +3521,7 @@
var resp = convert.JSON.encode(buildListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListOperationsResponse response) {
+ res.list(arg_appsId, filter: arg_filter, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
@@ -2673,8 +3645,8 @@
var mock = new HttpServerMock();
api.AppsServicesResourceApi res = new api.AppengineApi(mock).apps.services;
var arg_appsId = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2708,8 +3680,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -2718,7 +3690,7 @@
var resp = convert.JSON.encode(buildListServicesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListServicesResponse response) {
+ res.list(arg_appsId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListServicesResponse response) {
checkListServicesResponse(response);
})));
});
@@ -2987,9 +3959,9 @@
api.AppsServicesVersionsResourceApi res = new api.AppengineApi(mock).apps.services.versions;
var arg_appsId = "foo";
var arg_servicesId = "foo";
- var arg_pageToken = "foo";
- var arg_pageSize = 42;
var arg_view = "foo";
+ var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3030,9 +4002,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -3041,7 +4013,7 @@
var resp = convert.JSON.encode(buildListVersionsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, arg_servicesId, pageToken: arg_pageToken, pageSize: arg_pageSize, view: arg_view).then(unittest.expectAsync(((api.ListVersionsResponse response) {
+ res.list(arg_appsId, arg_servicesId, view: arg_view, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListVersionsResponse response) {
checkListVersionsResponse(response);
})));
});
@@ -3347,8 +4319,8 @@
var arg_appsId = "foo";
var arg_servicesId = "foo";
var arg_versionsId = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3396,8 +4368,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -3406,7 +4378,7 @@
var resp = convert.JSON.encode(buildListInstancesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, arg_servicesId, arg_versionsId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListInstancesResponse response) {
+ res.list(arg_appsId, arg_servicesId, arg_versionsId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListInstancesResponse response) {
checkListInstancesResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/clouderrorreporting/v1beta1_test.dart b/generated/googleapis_beta/test/clouderrorreporting/v1beta1_test.dart
index 37c3455..baa4134 100644
--- a/generated/googleapis_beta/test/clouderrorreporting/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/clouderrorreporting/v1beta1_test.dart
@@ -116,14 +116,14 @@
buildCounterErrorEvent--;
}
-buildUnnamed3228() {
+buildUnnamed3320() {
var o = new core.List<api.TrackingIssue>();
o.add(buildTrackingIssue());
o.add(buildTrackingIssue());
return o;
}
-checkUnnamed3228(core.List<api.TrackingIssue> o) {
+checkUnnamed3320(core.List<api.TrackingIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrackingIssue(o[0]);
checkTrackingIssue(o[1]);
@@ -136,7 +136,7 @@
if (buildCounterErrorGroup < 3) {
o.groupId = "foo";
o.name = "foo";
- o.trackingIssues = buildUnnamed3228();
+ o.trackingIssues = buildUnnamed3320();
}
buildCounterErrorGroup--;
return o;
@@ -147,32 +147,32 @@
if (buildCounterErrorGroup < 3) {
unittest.expect(o.groupId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3228(o.trackingIssues);
+ checkUnnamed3320(o.trackingIssues);
}
buildCounterErrorGroup--;
}
-buildUnnamed3229() {
+buildUnnamed3321() {
var o = new core.List<api.ServiceContext>();
o.add(buildServiceContext());
o.add(buildServiceContext());
return o;
}
-checkUnnamed3229(core.List<api.ServiceContext> o) {
+checkUnnamed3321(core.List<api.ServiceContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceContext(o[0]);
checkServiceContext(o[1]);
}
-buildUnnamed3230() {
+buildUnnamed3322() {
var o = new core.List<api.TimedCount>();
o.add(buildTimedCount());
o.add(buildTimedCount());
return o;
}
-checkUnnamed3230(core.List<api.TimedCount> o) {
+checkUnnamed3322(core.List<api.TimedCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimedCount(o[0]);
checkTimedCount(o[1]);
@@ -183,7 +183,7 @@
var o = new api.ErrorGroupStats();
buildCounterErrorGroupStats++;
if (buildCounterErrorGroupStats < 3) {
- o.affectedServices = buildUnnamed3229();
+ o.affectedServices = buildUnnamed3321();
o.affectedUsersCount = "foo";
o.count = "foo";
o.firstSeenTime = "foo";
@@ -191,7 +191,7 @@
o.lastSeenTime = "foo";
o.numAffectedServices = 42;
o.representative = buildErrorEvent();
- o.timedCounts = buildUnnamed3230();
+ o.timedCounts = buildUnnamed3322();
}
buildCounterErrorGroupStats--;
return o;
@@ -200,7 +200,7 @@
checkErrorGroupStats(api.ErrorGroupStats o) {
buildCounterErrorGroupStats++;
if (buildCounterErrorGroupStats < 3) {
- checkUnnamed3229(o.affectedServices);
+ checkUnnamed3321(o.affectedServices);
unittest.expect(o.affectedUsersCount, unittest.equals('foo'));
unittest.expect(o.count, unittest.equals('foo'));
unittest.expect(o.firstSeenTime, unittest.equals('foo'));
@@ -208,7 +208,7 @@
unittest.expect(o.lastSeenTime, unittest.equals('foo'));
unittest.expect(o.numAffectedServices, unittest.equals(42));
checkErrorEvent(o.representative);
- checkUnnamed3230(o.timedCounts);
+ checkUnnamed3322(o.timedCounts);
}
buildCounterErrorGroupStats--;
}
@@ -242,14 +242,14 @@
buildCounterHttpRequestContext--;
}
-buildUnnamed3231() {
+buildUnnamed3323() {
var o = new core.List<api.ErrorEvent>();
o.add(buildErrorEvent());
o.add(buildErrorEvent());
return o;
}
-checkUnnamed3231(core.List<api.ErrorEvent> o) {
+checkUnnamed3323(core.List<api.ErrorEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorEvent(o[0]);
checkErrorEvent(o[1]);
@@ -260,7 +260,7 @@
var o = new api.ListEventsResponse();
buildCounterListEventsResponse++;
if (buildCounterListEventsResponse < 3) {
- o.errorEvents = buildUnnamed3231();
+ o.errorEvents = buildUnnamed3323();
o.nextPageToken = "foo";
o.timeRangeBegin = "foo";
}
@@ -271,21 +271,21 @@
checkListEventsResponse(api.ListEventsResponse o) {
buildCounterListEventsResponse++;
if (buildCounterListEventsResponse < 3) {
- checkUnnamed3231(o.errorEvents);
+ checkUnnamed3323(o.errorEvents);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.timeRangeBegin, unittest.equals('foo'));
}
buildCounterListEventsResponse--;
}
-buildUnnamed3232() {
+buildUnnamed3324() {
var o = new core.List<api.ErrorGroupStats>();
o.add(buildErrorGroupStats());
o.add(buildErrorGroupStats());
return o;
}
-checkUnnamed3232(core.List<api.ErrorGroupStats> o) {
+checkUnnamed3324(core.List<api.ErrorGroupStats> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorGroupStats(o[0]);
checkErrorGroupStats(o[1]);
@@ -296,7 +296,7 @@
var o = new api.ListGroupStatsResponse();
buildCounterListGroupStatsResponse++;
if (buildCounterListGroupStatsResponse < 3) {
- o.errorGroupStats = buildUnnamed3232();
+ o.errorGroupStats = buildUnnamed3324();
o.nextPageToken = "foo";
o.timeRangeBegin = "foo";
}
@@ -307,7 +307,7 @@
checkListGroupStatsResponse(api.ListGroupStatsResponse o) {
buildCounterListGroupStatsResponse++;
if (buildCounterListGroupStatsResponse < 3) {
- checkUnnamed3232(o.errorGroupStats);
+ checkUnnamed3324(o.errorGroupStats);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.timeRangeBegin, unittest.equals('foo'));
}
@@ -444,14 +444,14 @@
buildCounterTrackingIssue--;
}
-buildUnnamed3233() {
+buildUnnamed3325() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3233(core.List<core.String> o) {
+checkUnnamed3325(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -640,13 +640,13 @@
var mock = new HttpServerMock();
api.ProjectsEventsResourceApi res = new api.ClouderrorreportingApi(mock).projects.events;
var arg_projectName = "foo";
+ var arg_serviceFilter_version = "foo";
var arg_serviceFilter_resourceType = "foo";
var arg_timeRange_period = "foo";
var arg_groupId = "foo";
- var arg_serviceFilter_service = "foo";
var arg_pageToken = "foo";
+ var arg_serviceFilter_service = "foo";
var arg_pageSize = 42;
- var arg_serviceFilter_version = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -674,13 +674,13 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["serviceFilter.version"].first, unittest.equals(arg_serviceFilter_version));
unittest.expect(queryMap["serviceFilter.resourceType"].first, unittest.equals(arg_serviceFilter_resourceType));
unittest.expect(queryMap["timeRange.period"].first, unittest.equals(arg_timeRange_period));
unittest.expect(queryMap["groupId"].first, unittest.equals(arg_groupId));
- unittest.expect(queryMap["serviceFilter.service"].first, unittest.equals(arg_serviceFilter_service));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["serviceFilter.service"].first, unittest.equals(arg_serviceFilter_service));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
- unittest.expect(queryMap["serviceFilter.version"].first, unittest.equals(arg_serviceFilter_version));
var h = {
@@ -689,7 +689,7 @@
var resp = convert.JSON.encode(buildListEventsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectName, serviceFilter_resourceType: arg_serviceFilter_resourceType, timeRange_period: arg_timeRange_period, groupId: arg_groupId, serviceFilter_service: arg_serviceFilter_service, pageToken: arg_pageToken, pageSize: arg_pageSize, serviceFilter_version: arg_serviceFilter_version).then(unittest.expectAsync(((api.ListEventsResponse response) {
+ res.list(arg_projectName, serviceFilter_version: arg_serviceFilter_version, serviceFilter_resourceType: arg_serviceFilter_resourceType, timeRange_period: arg_timeRange_period, groupId: arg_groupId, pageToken: arg_pageToken, serviceFilter_service: arg_serviceFilter_service, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListEventsResponse response) {
checkListEventsResponse(response);
})));
});
@@ -754,11 +754,11 @@
var arg_projectName = "foo";
var arg_timeRange_period = "foo";
var arg_alignment = "foo";
- var arg_groupId = buildUnnamed3233();
+ var arg_groupId = buildUnnamed3325();
var arg_serviceFilter_service = "foo";
var arg_pageSize = 42;
- var arg_order = "foo";
var arg_serviceFilter_version = "foo";
+ var arg_order = "foo";
var arg_serviceFilter_resourceType = "foo";
var arg_alignmentTime = "foo";
var arg_timedCountDuration = "foo";
@@ -795,8 +795,8 @@
unittest.expect(queryMap["groupId"], unittest.equals(arg_groupId));
unittest.expect(queryMap["serviceFilter.service"].first, unittest.equals(arg_serviceFilter_service));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
- unittest.expect(queryMap["order"].first, unittest.equals(arg_order));
unittest.expect(queryMap["serviceFilter.version"].first, unittest.equals(arg_serviceFilter_version));
+ unittest.expect(queryMap["order"].first, unittest.equals(arg_order));
unittest.expect(queryMap["serviceFilter.resourceType"].first, unittest.equals(arg_serviceFilter_resourceType));
unittest.expect(queryMap["alignmentTime"].first, unittest.equals(arg_alignmentTime));
unittest.expect(queryMap["timedCountDuration"].first, unittest.equals(arg_timedCountDuration));
@@ -809,7 +809,7 @@
var resp = convert.JSON.encode(buildListGroupStatsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectName, timeRange_period: arg_timeRange_period, alignment: arg_alignment, groupId: arg_groupId, serviceFilter_service: arg_serviceFilter_service, pageSize: arg_pageSize, order: arg_order, serviceFilter_version: arg_serviceFilter_version, serviceFilter_resourceType: arg_serviceFilter_resourceType, alignmentTime: arg_alignmentTime, timedCountDuration: arg_timedCountDuration, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListGroupStatsResponse response) {
+ res.list(arg_projectName, timeRange_period: arg_timeRange_period, alignment: arg_alignment, groupId: arg_groupId, serviceFilter_service: arg_serviceFilter_service, pageSize: arg_pageSize, serviceFilter_version: arg_serviceFilter_version, order: arg_order, serviceFilter_resourceType: arg_serviceFilter_resourceType, alignmentTime: arg_alignmentTime, timedCountDuration: arg_timedCountDuration, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListGroupStatsResponse response) {
checkListGroupStatsResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/cloudmonitoring/v2beta2_test.dart b/generated/googleapis_beta/test/cloudmonitoring/v2beta2_test.dart
index 16e8f9d..c7c81e8 100644
--- a/generated/googleapis_beta/test/cloudmonitoring/v2beta2_test.dart
+++ b/generated/googleapis_beta/test/cloudmonitoring/v2beta2_test.dart
@@ -89,14 +89,14 @@
buildCounterListMetricDescriptorsRequest--;
}
-buildUnnamed3341() {
+buildUnnamed3437() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed3341(core.List<api.MetricDescriptor> o) {
+checkUnnamed3437(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
@@ -108,7 +108,7 @@
buildCounterListMetricDescriptorsResponse++;
if (buildCounterListMetricDescriptorsResponse < 3) {
o.kind = "foo";
- o.metrics = buildUnnamed3341();
+ o.metrics = buildUnnamed3437();
o.nextPageToken = "foo";
}
buildCounterListMetricDescriptorsResponse--;
@@ -119,7 +119,7 @@
buildCounterListMetricDescriptorsResponse++;
if (buildCounterListMetricDescriptorsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3341(o.metrics);
+ checkUnnamed3437(o.metrics);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListMetricDescriptorsResponse--;
@@ -144,14 +144,14 @@
buildCounterListTimeseriesDescriptorsRequest--;
}
-buildUnnamed3342() {
+buildUnnamed3438() {
var o = new core.List<api.TimeseriesDescriptor>();
o.add(buildTimeseriesDescriptor());
o.add(buildTimeseriesDescriptor());
return o;
}
-checkUnnamed3342(core.List<api.TimeseriesDescriptor> o) {
+checkUnnamed3438(core.List<api.TimeseriesDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeseriesDescriptor(o[0]);
checkTimeseriesDescriptor(o[1]);
@@ -165,7 +165,7 @@
o.kind = "foo";
o.nextPageToken = "foo";
o.oldest = core.DateTime.parse("2002-02-27T14:01:02");
- o.timeseries = buildUnnamed3342();
+ o.timeseries = buildUnnamed3438();
o.youngest = core.DateTime.parse("2002-02-27T14:01:02");
}
buildCounterListTimeseriesDescriptorsResponse--;
@@ -178,7 +178,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.oldest, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed3342(o.timeseries);
+ checkUnnamed3438(o.timeseries);
unittest.expect(o.youngest, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
}
buildCounterListTimeseriesDescriptorsResponse--;
@@ -203,14 +203,14 @@
buildCounterListTimeseriesRequest--;
}
-buildUnnamed3343() {
+buildUnnamed3439() {
var o = new core.List<api.Timeseries>();
o.add(buildTimeseries());
o.add(buildTimeseries());
return o;
}
-checkUnnamed3343(core.List<api.Timeseries> o) {
+checkUnnamed3439(core.List<api.Timeseries> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeseries(o[0]);
checkTimeseries(o[1]);
@@ -224,7 +224,7 @@
o.kind = "foo";
o.nextPageToken = "foo";
o.oldest = core.DateTime.parse("2002-02-27T14:01:02");
- o.timeseries = buildUnnamed3343();
+ o.timeseries = buildUnnamed3439();
o.youngest = core.DateTime.parse("2002-02-27T14:01:02");
}
buildCounterListTimeseriesResponse--;
@@ -237,20 +237,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.oldest, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed3343(o.timeseries);
+ checkUnnamed3439(o.timeseries);
unittest.expect(o.youngest, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
}
buildCounterListTimeseriesResponse--;
}
-buildUnnamed3344() {
+buildUnnamed3440() {
var o = new core.List<api.MetricDescriptorLabelDescriptor>();
o.add(buildMetricDescriptorLabelDescriptor());
o.add(buildMetricDescriptorLabelDescriptor());
return o;
}
-checkUnnamed3344(core.List<api.MetricDescriptorLabelDescriptor> o) {
+checkUnnamed3440(core.List<api.MetricDescriptorLabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptorLabelDescriptor(o[0]);
checkMetricDescriptorLabelDescriptor(o[1]);
@@ -262,7 +262,7 @@
buildCounterMetricDescriptor++;
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
- o.labels = buildUnnamed3344();
+ o.labels = buildUnnamed3440();
o.name = "foo";
o.project = "foo";
o.typeDescriptor = buildMetricDescriptorTypeDescriptor();
@@ -275,7 +275,7 @@
buildCounterMetricDescriptor++;
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed3344(o.labels);
+ checkUnnamed3440(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.project, unittest.equals('foo'));
checkMetricDescriptorTypeDescriptor(o.typeDescriptor);
@@ -356,14 +356,14 @@
buildCounterPoint--;
}
-buildUnnamed3345() {
+buildUnnamed3441() {
var o = new core.List<api.PointDistributionBucket>();
o.add(buildPointDistributionBucket());
o.add(buildPointDistributionBucket());
return o;
}
-checkUnnamed3345(core.List<api.PointDistributionBucket> o) {
+checkUnnamed3441(core.List<api.PointDistributionBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkPointDistributionBucket(o[0]);
checkPointDistributionBucket(o[1]);
@@ -374,7 +374,7 @@
var o = new api.PointDistribution();
buildCounterPointDistribution++;
if (buildCounterPointDistribution < 3) {
- o.buckets = buildUnnamed3345();
+ o.buckets = buildUnnamed3441();
o.overflowBucket = buildPointDistributionOverflowBucket();
o.underflowBucket = buildPointDistributionUnderflowBucket();
}
@@ -385,7 +385,7 @@
checkPointDistribution(api.PointDistribution o) {
buildCounterPointDistribution++;
if (buildCounterPointDistribution < 3) {
- checkUnnamed3345(o.buckets);
+ checkUnnamed3441(o.buckets);
checkPointDistributionOverflowBucket(o.overflowBucket);
checkPointDistributionUnderflowBucket(o.underflowBucket);
}
@@ -457,14 +457,14 @@
buildCounterPointDistributionUnderflowBucket--;
}
-buildUnnamed3346() {
+buildUnnamed3442() {
var o = new core.List<api.Point>();
o.add(buildPoint());
o.add(buildPoint());
return o;
}
-checkUnnamed3346(core.List<api.Point> o) {
+checkUnnamed3442(core.List<api.Point> o) {
unittest.expect(o, unittest.hasLength(2));
checkPoint(o[0]);
checkPoint(o[1]);
@@ -475,7 +475,7 @@
var o = new api.Timeseries();
buildCounterTimeseries++;
if (buildCounterTimeseries < 3) {
- o.points = buildUnnamed3346();
+ o.points = buildUnnamed3442();
o.timeseriesDesc = buildTimeseriesDescriptor();
}
buildCounterTimeseries--;
@@ -485,20 +485,20 @@
checkTimeseries(api.Timeseries o) {
buildCounterTimeseries++;
if (buildCounterTimeseries < 3) {
- checkUnnamed3346(o.points);
+ checkUnnamed3442(o.points);
checkTimeseriesDescriptor(o.timeseriesDesc);
}
buildCounterTimeseries--;
}
-buildUnnamed3347() {
+buildUnnamed3443() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3347(core.Map<core.String, core.String> o) {
+checkUnnamed3443(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -509,7 +509,7 @@
var o = new api.TimeseriesDescriptor();
buildCounterTimeseriesDescriptor++;
if (buildCounterTimeseriesDescriptor < 3) {
- o.labels = buildUnnamed3347();
+ o.labels = buildUnnamed3443();
o.metric = "foo";
o.project = "foo";
}
@@ -520,7 +520,7 @@
checkTimeseriesDescriptor(api.TimeseriesDescriptor o) {
buildCounterTimeseriesDescriptor++;
if (buildCounterTimeseriesDescriptor < 3) {
- checkUnnamed3347(o.labels);
+ checkUnnamed3443(o.labels);
unittest.expect(o.metric, unittest.equals('foo'));
unittest.expect(o.project, unittest.equals('foo'));
}
@@ -569,27 +569,27 @@
buildCounterTimeseriesPoint--;
}
-buildUnnamed3348() {
+buildUnnamed3444() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3348(core.Map<core.String, core.String> o) {
+checkUnnamed3444(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3349() {
+buildUnnamed3445() {
var o = new core.List<api.TimeseriesPoint>();
o.add(buildTimeseriesPoint());
o.add(buildTimeseriesPoint());
return o;
}
-checkUnnamed3349(core.List<api.TimeseriesPoint> o) {
+checkUnnamed3445(core.List<api.TimeseriesPoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeseriesPoint(o[0]);
checkTimeseriesPoint(o[1]);
@@ -600,8 +600,8 @@
var o = new api.WriteTimeseriesRequest();
buildCounterWriteTimeseriesRequest++;
if (buildCounterWriteTimeseriesRequest < 3) {
- o.commonLabels = buildUnnamed3348();
- o.timeseries = buildUnnamed3349();
+ o.commonLabels = buildUnnamed3444();
+ o.timeseries = buildUnnamed3445();
}
buildCounterWriteTimeseriesRequest--;
return o;
@@ -610,8 +610,8 @@
checkWriteTimeseriesRequest(api.WriteTimeseriesRequest o) {
buildCounterWriteTimeseriesRequest++;
if (buildCounterWriteTimeseriesRequest < 3) {
- checkUnnamed3348(o.commonLabels);
- checkUnnamed3349(o.timeseries);
+ checkUnnamed3444(o.commonLabels);
+ checkUnnamed3445(o.timeseries);
}
buildCounterWriteTimeseriesRequest--;
}
@@ -635,27 +635,27 @@
buildCounterWriteTimeseriesResponse--;
}
-buildUnnamed3350() {
+buildUnnamed3446() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3350(core.List<core.String> o) {
+checkUnnamed3446(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3351() {
+buildUnnamed3447() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3351(core.List<core.String> o) {
+checkUnnamed3447(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1008,7 +1008,7 @@
var arg_youngest = "foo";
var arg_aggregator = "foo";
var arg_count = 42;
- var arg_labels = buildUnnamed3350();
+ var arg_labels = buildUnnamed3446();
var arg_oldest = "foo";
var arg_pageToken = "foo";
var arg_timespan = "foo";
@@ -1121,7 +1121,7 @@
var arg_youngest = "foo";
var arg_aggregator = "foo";
var arg_count = 42;
- var arg_labels = buildUnnamed3351();
+ var arg_labels = buildUnnamed3447();
var arg_oldest = "foo";
var arg_pageToken = "foo";
var arg_timespan = "foo";
diff --git a/generated/googleapis_beta/test/cloudresourcemanager/v1beta1_test.dart b/generated/googleapis_beta/test/cloudresourcemanager/v1beta1_test.dart
index 90f7e05..f944921 100644
--- a/generated/googleapis_beta/test/cloudresourcemanager/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/cloudresourcemanager/v1beta1_test.dart
@@ -70,14 +70,82 @@
buildCounterAncestor--;
}
-buildUnnamed3312() {
+buildUnnamed3422() {
+ var o = new core.List<api.AuditLogConfig>();
+ o.add(buildAuditLogConfig());
+ o.add(buildAuditLogConfig());
+ return o;
+}
+
+checkUnnamed3422(core.List<api.AuditLogConfig> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAuditLogConfig(o[0]);
+ checkAuditLogConfig(o[1]);
+}
+
+core.int buildCounterAuditConfig = 0;
+buildAuditConfig() {
+ var o = new api.AuditConfig();
+ buildCounterAuditConfig++;
+ if (buildCounterAuditConfig < 3) {
+ o.auditLogConfigs = buildUnnamed3422();
+ o.service = "foo";
+ }
+ buildCounterAuditConfig--;
+ return o;
+}
+
+checkAuditConfig(api.AuditConfig o) {
+ buildCounterAuditConfig++;
+ if (buildCounterAuditConfig < 3) {
+ checkUnnamed3422(o.auditLogConfigs);
+ unittest.expect(o.service, unittest.equals('foo'));
+ }
+ buildCounterAuditConfig--;
+}
+
+buildUnnamed3423() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3312(core.List<core.String> o) {
+checkUnnamed3423(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterAuditLogConfig = 0;
+buildAuditLogConfig() {
+ var o = new api.AuditLogConfig();
+ buildCounterAuditLogConfig++;
+ if (buildCounterAuditLogConfig < 3) {
+ o.exemptedMembers = buildUnnamed3423();
+ o.logType = "foo";
+ }
+ buildCounterAuditLogConfig--;
+ return o;
+}
+
+checkAuditLogConfig(api.AuditLogConfig o) {
+ buildCounterAuditLogConfig++;
+ if (buildCounterAuditLogConfig < 3) {
+ checkUnnamed3423(o.exemptedMembers);
+ unittest.expect(o.logType, unittest.equals('foo'));
+ }
+ buildCounterAuditLogConfig--;
+}
+
+buildUnnamed3424() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3424(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -88,7 +156,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed3312();
+ o.members = buildUnnamed3424();
o.role = "foo";
}
buildCounterBinding--;
@@ -98,12 +166,100 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed3312(o.members);
+ checkUnnamed3424(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
+core.int buildCounterBooleanConstraint = 0;
+buildBooleanConstraint() {
+ var o = new api.BooleanConstraint();
+ buildCounterBooleanConstraint++;
+ if (buildCounterBooleanConstraint < 3) {
+ }
+ buildCounterBooleanConstraint--;
+ return o;
+}
+
+checkBooleanConstraint(api.BooleanConstraint o) {
+ buildCounterBooleanConstraint++;
+ if (buildCounterBooleanConstraint < 3) {
+ }
+ buildCounterBooleanConstraint--;
+}
+
+core.int buildCounterBooleanPolicy = 0;
+buildBooleanPolicy() {
+ var o = new api.BooleanPolicy();
+ buildCounterBooleanPolicy++;
+ if (buildCounterBooleanPolicy < 3) {
+ o.enforced = true;
+ }
+ buildCounterBooleanPolicy--;
+ return o;
+}
+
+checkBooleanPolicy(api.BooleanPolicy o) {
+ buildCounterBooleanPolicy++;
+ if (buildCounterBooleanPolicy < 3) {
+ unittest.expect(o.enforced, unittest.isTrue);
+ }
+ buildCounterBooleanPolicy--;
+}
+
+core.int buildCounterClearOrgPolicyRequest = 0;
+buildClearOrgPolicyRequest() {
+ var o = new api.ClearOrgPolicyRequest();
+ buildCounterClearOrgPolicyRequest++;
+ if (buildCounterClearOrgPolicyRequest < 3) {
+ o.constraint = "foo";
+ o.etag = "foo";
+ }
+ buildCounterClearOrgPolicyRequest--;
+ return o;
+}
+
+checkClearOrgPolicyRequest(api.ClearOrgPolicyRequest o) {
+ buildCounterClearOrgPolicyRequest++;
+ if (buildCounterClearOrgPolicyRequest < 3) {
+ unittest.expect(o.constraint, unittest.equals('foo'));
+ unittest.expect(o.etag, unittest.equals('foo'));
+ }
+ buildCounterClearOrgPolicyRequest--;
+}
+
+core.int buildCounterConstraint = 0;
+buildConstraint() {
+ var o = new api.Constraint();
+ buildCounterConstraint++;
+ if (buildCounterConstraint < 3) {
+ o.booleanConstraint = buildBooleanConstraint();
+ o.constraintDefault = "foo";
+ o.description = "foo";
+ o.displayName = "foo";
+ o.listConstraint = buildListConstraint();
+ o.name = "foo";
+ o.version = 42;
+ }
+ buildCounterConstraint--;
+ return o;
+}
+
+checkConstraint(api.Constraint o) {
+ buildCounterConstraint++;
+ if (buildCounterConstraint < 3) {
+ checkBooleanConstraint(o.booleanConstraint);
+ unittest.expect(o.constraintDefault, unittest.equals('foo'));
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.displayName, unittest.equals('foo'));
+ checkListConstraint(o.listConstraint);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.version, unittest.equals(42));
+ }
+ buildCounterConstraint--;
+}
+
core.int buildCounterEmpty = 0;
buildEmpty() {
var o = new api.Empty();
@@ -182,14 +338,14 @@
buildCounterGetAncestryRequest--;
}
-buildUnnamed3313() {
+buildUnnamed3425() {
var o = new core.List<api.Ancestor>();
o.add(buildAncestor());
o.add(buildAncestor());
return o;
}
-checkUnnamed3313(core.List<api.Ancestor> o) {
+checkUnnamed3425(core.List<api.Ancestor> o) {
unittest.expect(o, unittest.hasLength(2));
checkAncestor(o[0]);
checkAncestor(o[1]);
@@ -200,7 +356,7 @@
var o = new api.GetAncestryResponse();
buildCounterGetAncestryResponse++;
if (buildCounterGetAncestryResponse < 3) {
- o.ancestor = buildUnnamed3313();
+ o.ancestor = buildUnnamed3425();
}
buildCounterGetAncestryResponse--;
return o;
@@ -209,11 +365,30 @@
checkGetAncestryResponse(api.GetAncestryResponse o) {
buildCounterGetAncestryResponse++;
if (buildCounterGetAncestryResponse < 3) {
- checkUnnamed3313(o.ancestor);
+ checkUnnamed3425(o.ancestor);
}
buildCounterGetAncestryResponse--;
}
+core.int buildCounterGetEffectiveOrgPolicyRequest = 0;
+buildGetEffectiveOrgPolicyRequest() {
+ var o = new api.GetEffectiveOrgPolicyRequest();
+ buildCounterGetEffectiveOrgPolicyRequest++;
+ if (buildCounterGetEffectiveOrgPolicyRequest < 3) {
+ o.constraint = "foo";
+ }
+ buildCounterGetEffectiveOrgPolicyRequest--;
+ return o;
+}
+
+checkGetEffectiveOrgPolicyRequest(api.GetEffectiveOrgPolicyRequest o) {
+ buildCounterGetEffectiveOrgPolicyRequest++;
+ if (buildCounterGetEffectiveOrgPolicyRequest < 3) {
+ unittest.expect(o.constraint, unittest.equals('foo'));
+ }
+ buildCounterGetEffectiveOrgPolicyRequest--;
+}
+
core.int buildCounterGetIamPolicyRequest = 0;
buildGetIamPolicyRequest() {
var o = new api.GetIamPolicyRequest();
@@ -231,14 +406,162 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed3314() {
+core.int buildCounterGetOrgPolicyRequest = 0;
+buildGetOrgPolicyRequest() {
+ var o = new api.GetOrgPolicyRequest();
+ buildCounterGetOrgPolicyRequest++;
+ if (buildCounterGetOrgPolicyRequest < 3) {
+ o.constraint = "foo";
+ }
+ buildCounterGetOrgPolicyRequest--;
+ return o;
+}
+
+checkGetOrgPolicyRequest(api.GetOrgPolicyRequest o) {
+ buildCounterGetOrgPolicyRequest++;
+ if (buildCounterGetOrgPolicyRequest < 3) {
+ unittest.expect(o.constraint, unittest.equals('foo'));
+ }
+ buildCounterGetOrgPolicyRequest--;
+}
+
+core.int buildCounterListAvailableOrgPolicyConstraintsRequest = 0;
+buildListAvailableOrgPolicyConstraintsRequest() {
+ var o = new api.ListAvailableOrgPolicyConstraintsRequest();
+ buildCounterListAvailableOrgPolicyConstraintsRequest++;
+ if (buildCounterListAvailableOrgPolicyConstraintsRequest < 3) {
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ }
+ buildCounterListAvailableOrgPolicyConstraintsRequest--;
+ return o;
+}
+
+checkListAvailableOrgPolicyConstraintsRequest(api.ListAvailableOrgPolicyConstraintsRequest o) {
+ buildCounterListAvailableOrgPolicyConstraintsRequest++;
+ if (buildCounterListAvailableOrgPolicyConstraintsRequest < 3) {
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ }
+ buildCounterListAvailableOrgPolicyConstraintsRequest--;
+}
+
+buildUnnamed3426() {
+ var o = new core.List<api.Constraint>();
+ o.add(buildConstraint());
+ o.add(buildConstraint());
+ return o;
+}
+
+checkUnnamed3426(core.List<api.Constraint> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkConstraint(o[0]);
+ checkConstraint(o[1]);
+}
+
+core.int buildCounterListAvailableOrgPolicyConstraintsResponse = 0;
+buildListAvailableOrgPolicyConstraintsResponse() {
+ var o = new api.ListAvailableOrgPolicyConstraintsResponse();
+ buildCounterListAvailableOrgPolicyConstraintsResponse++;
+ if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) {
+ o.constraints = buildUnnamed3426();
+ o.nextPageToken = "foo";
+ }
+ buildCounterListAvailableOrgPolicyConstraintsResponse--;
+ return o;
+}
+
+checkListAvailableOrgPolicyConstraintsResponse(api.ListAvailableOrgPolicyConstraintsResponse o) {
+ buildCounterListAvailableOrgPolicyConstraintsResponse++;
+ if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) {
+ checkUnnamed3426(o.constraints);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterListAvailableOrgPolicyConstraintsResponse--;
+}
+
+core.int buildCounterListConstraint = 0;
+buildListConstraint() {
+ var o = new api.ListConstraint();
+ buildCounterListConstraint++;
+ if (buildCounterListConstraint < 3) {
+ o.suggestedValue = "foo";
+ }
+ buildCounterListConstraint--;
+ return o;
+}
+
+checkListConstraint(api.ListConstraint o) {
+ buildCounterListConstraint++;
+ if (buildCounterListConstraint < 3) {
+ unittest.expect(o.suggestedValue, unittest.equals('foo'));
+ }
+ buildCounterListConstraint--;
+}
+
+core.int buildCounterListOrgPoliciesRequest = 0;
+buildListOrgPoliciesRequest() {
+ var o = new api.ListOrgPoliciesRequest();
+ buildCounterListOrgPoliciesRequest++;
+ if (buildCounterListOrgPoliciesRequest < 3) {
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ }
+ buildCounterListOrgPoliciesRequest--;
+ return o;
+}
+
+checkListOrgPoliciesRequest(api.ListOrgPoliciesRequest o) {
+ buildCounterListOrgPoliciesRequest++;
+ if (buildCounterListOrgPoliciesRequest < 3) {
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ }
+ buildCounterListOrgPoliciesRequest--;
+}
+
+buildUnnamed3427() {
+ var o = new core.List<api.OrgPolicy>();
+ o.add(buildOrgPolicy());
+ o.add(buildOrgPolicy());
+ return o;
+}
+
+checkUnnamed3427(core.List<api.OrgPolicy> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOrgPolicy(o[0]);
+ checkOrgPolicy(o[1]);
+}
+
+core.int buildCounterListOrgPoliciesResponse = 0;
+buildListOrgPoliciesResponse() {
+ var o = new api.ListOrgPoliciesResponse();
+ buildCounterListOrgPoliciesResponse++;
+ if (buildCounterListOrgPoliciesResponse < 3) {
+ o.nextPageToken = "foo";
+ o.policies = buildUnnamed3427();
+ }
+ buildCounterListOrgPoliciesResponse--;
+ return o;
+}
+
+checkListOrgPoliciesResponse(api.ListOrgPoliciesResponse o) {
+ buildCounterListOrgPoliciesResponse++;
+ if (buildCounterListOrgPoliciesResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed3427(o.policies);
+ }
+ buildCounterListOrgPoliciesResponse--;
+}
+
+buildUnnamed3428() {
var o = new core.List<api.Organization>();
o.add(buildOrganization());
o.add(buildOrganization());
return o;
}
-checkUnnamed3314(core.List<api.Organization> o) {
+checkUnnamed3428(core.List<api.Organization> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrganization(o[0]);
checkOrganization(o[1]);
@@ -250,7 +573,7 @@
buildCounterListOrganizationsResponse++;
if (buildCounterListOrganizationsResponse < 3) {
o.nextPageToken = "foo";
- o.organizations = buildUnnamed3314();
+ o.organizations = buildUnnamed3428();
}
buildCounterListOrganizationsResponse--;
return o;
@@ -260,19 +583,72 @@
buildCounterListOrganizationsResponse++;
if (buildCounterListOrganizationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3314(o.organizations);
+ checkUnnamed3428(o.organizations);
}
buildCounterListOrganizationsResponse--;
}
-buildUnnamed3315() {
+buildUnnamed3429() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3429(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3430() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3430(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterListPolicy = 0;
+buildListPolicy() {
+ var o = new api.ListPolicy();
+ buildCounterListPolicy++;
+ if (buildCounterListPolicy < 3) {
+ o.allValues = "foo";
+ o.allowedValues = buildUnnamed3429();
+ o.deniedValues = buildUnnamed3430();
+ o.inheritFromParent = true;
+ o.suggestedValue = "foo";
+ }
+ buildCounterListPolicy--;
+ return o;
+}
+
+checkListPolicy(api.ListPolicy o) {
+ buildCounterListPolicy++;
+ if (buildCounterListPolicy < 3) {
+ unittest.expect(o.allValues, unittest.equals('foo'));
+ checkUnnamed3429(o.allowedValues);
+ checkUnnamed3430(o.deniedValues);
+ unittest.expect(o.inheritFromParent, unittest.isTrue);
+ unittest.expect(o.suggestedValue, unittest.equals('foo'));
+ }
+ buildCounterListPolicy--;
+}
+
+buildUnnamed3431() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed3315(core.List<api.Project> o) {
+checkUnnamed3431(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -284,7 +660,7 @@
buildCounterListProjectsResponse++;
if (buildCounterListProjectsResponse < 3) {
o.nextPageToken = "foo";
- o.projects = buildUnnamed3315();
+ o.projects = buildUnnamed3431();
}
buildCounterListProjectsResponse--;
return o;
@@ -294,11 +670,42 @@
buildCounterListProjectsResponse++;
if (buildCounterListProjectsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3315(o.projects);
+ checkUnnamed3431(o.projects);
}
buildCounterListProjectsResponse--;
}
+core.int buildCounterOrgPolicy = 0;
+buildOrgPolicy() {
+ var o = new api.OrgPolicy();
+ buildCounterOrgPolicy++;
+ if (buildCounterOrgPolicy < 3) {
+ o.booleanPolicy = buildBooleanPolicy();
+ o.constraint = "foo";
+ o.etag = "foo";
+ o.listPolicy = buildListPolicy();
+ o.restoreDefault = buildRestoreDefault();
+ o.updateTime = "foo";
+ o.version = 42;
+ }
+ buildCounterOrgPolicy--;
+ return o;
+}
+
+checkOrgPolicy(api.OrgPolicy o) {
+ buildCounterOrgPolicy++;
+ if (buildCounterOrgPolicy < 3) {
+ checkBooleanPolicy(o.booleanPolicy);
+ unittest.expect(o.constraint, unittest.equals('foo'));
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkListPolicy(o.listPolicy);
+ checkRestoreDefault(o.restoreDefault);
+ unittest.expect(o.updateTime, unittest.equals('foo'));
+ unittest.expect(o.version, unittest.equals(42));
+ }
+ buildCounterOrgPolicy--;
+}
+
core.int buildCounterOrganization = 0;
buildOrganization() {
var o = new api.Organization();
@@ -347,14 +754,27 @@
buildCounterOrganizationOwner--;
}
-buildUnnamed3316() {
+buildUnnamed3432() {
+ var o = new core.List<api.AuditConfig>();
+ o.add(buildAuditConfig());
+ o.add(buildAuditConfig());
+ return o;
+}
+
+checkUnnamed3432(core.List<api.AuditConfig> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAuditConfig(o[0]);
+ checkAuditConfig(o[1]);
+}
+
+buildUnnamed3433() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed3316(core.List<api.Binding> o) {
+checkUnnamed3433(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -365,7 +785,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed3316();
+ o.auditConfigs = buildUnnamed3432();
+ o.bindings = buildUnnamed3433();
o.etag = "foo";
o.version = 42;
}
@@ -376,21 +797,22 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed3316(o.bindings);
+ checkUnnamed3432(o.auditConfigs);
+ checkUnnamed3433(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed3317() {
+buildUnnamed3434() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3317(core.Map<core.String, core.String> o) {
+checkUnnamed3434(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -402,7 +824,7 @@
buildCounterProject++;
if (buildCounterProject < 3) {
o.createTime = "foo";
- o.labels = buildUnnamed3317();
+ o.labels = buildUnnamed3434();
o.lifecycleState = "foo";
o.name = "foo";
o.parent = buildResourceId();
@@ -417,7 +839,7 @@
buildCounterProject++;
if (buildCounterProject < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed3317(o.labels);
+ checkUnnamed3434(o.labels);
unittest.expect(o.lifecycleState, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkResourceId(o.parent);
@@ -471,12 +893,30 @@
buildCounterResourceId--;
}
+core.int buildCounterRestoreDefault = 0;
+buildRestoreDefault() {
+ var o = new api.RestoreDefault();
+ buildCounterRestoreDefault++;
+ if (buildCounterRestoreDefault < 3) {
+ }
+ buildCounterRestoreDefault--;
+ return o;
+}
+
+checkRestoreDefault(api.RestoreDefault o) {
+ buildCounterRestoreDefault++;
+ if (buildCounterRestoreDefault < 3) {
+ }
+ buildCounterRestoreDefault--;
+}
+
core.int buildCounterSetIamPolicyRequest = 0;
buildSetIamPolicyRequest() {
var o = new api.SetIamPolicyRequest();
buildCounterSetIamPolicyRequest++;
if (buildCounterSetIamPolicyRequest < 3) {
o.policy = buildPolicy();
+ o.updateMask = "foo";
}
buildCounterSetIamPolicyRequest--;
return o;
@@ -486,18 +926,38 @@
buildCounterSetIamPolicyRequest++;
if (buildCounterSetIamPolicyRequest < 3) {
checkPolicy(o.policy);
+ unittest.expect(o.updateMask, unittest.equals('foo'));
}
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed3318() {
+core.int buildCounterSetOrgPolicyRequest = 0;
+buildSetOrgPolicyRequest() {
+ var o = new api.SetOrgPolicyRequest();
+ buildCounterSetOrgPolicyRequest++;
+ if (buildCounterSetOrgPolicyRequest < 3) {
+ o.policy = buildOrgPolicy();
+ }
+ buildCounterSetOrgPolicyRequest--;
+ return o;
+}
+
+checkSetOrgPolicyRequest(api.SetOrgPolicyRequest o) {
+ buildCounterSetOrgPolicyRequest++;
+ if (buildCounterSetOrgPolicyRequest < 3) {
+ checkOrgPolicy(o.policy);
+ }
+ buildCounterSetOrgPolicyRequest--;
+}
+
+buildUnnamed3435() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3318(core.List<core.String> o) {
+checkUnnamed3435(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -508,7 +968,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed3318();
+ o.permissions = buildUnnamed3435();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -517,19 +977,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed3318(o.permissions);
+ checkUnnamed3435(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed3319() {
+buildUnnamed3436() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3319(core.List<core.String> o) {
+checkUnnamed3436(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -540,7 +1000,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed3319();
+ o.permissions = buildUnnamed3436();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -549,7 +1009,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed3319(o.permissions);
+ checkUnnamed3436(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -582,6 +1042,24 @@
});
+ unittest.group("obj-schema-AuditConfig", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAuditConfig();
+ var od = new api.AuditConfig.fromJson(o.toJson());
+ checkAuditConfig(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-AuditLogConfig", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAuditLogConfig();
+ var od = new api.AuditLogConfig.fromJson(o.toJson());
+ checkAuditLogConfig(od);
+ });
+ });
+
+
unittest.group("obj-schema-Binding", () {
unittest.test("to-json--from-json", () {
var o = buildBinding();
@@ -591,6 +1069,42 @@
});
+ unittest.group("obj-schema-BooleanConstraint", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildBooleanConstraint();
+ var od = new api.BooleanConstraint.fromJson(o.toJson());
+ checkBooleanConstraint(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-BooleanPolicy", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildBooleanPolicy();
+ var od = new api.BooleanPolicy.fromJson(o.toJson());
+ checkBooleanPolicy(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ClearOrgPolicyRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildClearOrgPolicyRequest();
+ var od = new api.ClearOrgPolicyRequest.fromJson(o.toJson());
+ checkClearOrgPolicyRequest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Constraint", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildConstraint();
+ var od = new api.Constraint.fromJson(o.toJson());
+ checkConstraint(od);
+ });
+ });
+
+
unittest.group("obj-schema-Empty", () {
unittest.test("to-json--from-json", () {
var o = buildEmpty();
@@ -636,6 +1150,15 @@
});
+ unittest.group("obj-schema-GetEffectiveOrgPolicyRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGetEffectiveOrgPolicyRequest();
+ var od = new api.GetEffectiveOrgPolicyRequest.fromJson(o.toJson());
+ checkGetEffectiveOrgPolicyRequest(od);
+ });
+ });
+
+
unittest.group("obj-schema-GetIamPolicyRequest", () {
unittest.test("to-json--from-json", () {
var o = buildGetIamPolicyRequest();
@@ -645,6 +1168,60 @@
});
+ unittest.group("obj-schema-GetOrgPolicyRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGetOrgPolicyRequest();
+ var od = new api.GetOrgPolicyRequest.fromJson(o.toJson());
+ checkGetOrgPolicyRequest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ListAvailableOrgPolicyConstraintsRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListAvailableOrgPolicyConstraintsRequest();
+ var od = new api.ListAvailableOrgPolicyConstraintsRequest.fromJson(o.toJson());
+ checkListAvailableOrgPolicyConstraintsRequest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ListAvailableOrgPolicyConstraintsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListAvailableOrgPolicyConstraintsResponse();
+ var od = new api.ListAvailableOrgPolicyConstraintsResponse.fromJson(o.toJson());
+ checkListAvailableOrgPolicyConstraintsResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ListConstraint", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListConstraint();
+ var od = new api.ListConstraint.fromJson(o.toJson());
+ checkListConstraint(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ListOrgPoliciesRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListOrgPoliciesRequest();
+ var od = new api.ListOrgPoliciesRequest.fromJson(o.toJson());
+ checkListOrgPoliciesRequest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ListOrgPoliciesResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListOrgPoliciesResponse();
+ var od = new api.ListOrgPoliciesResponse.fromJson(o.toJson());
+ checkListOrgPoliciesResponse(od);
+ });
+ });
+
+
unittest.group("obj-schema-ListOrganizationsResponse", () {
unittest.test("to-json--from-json", () {
var o = buildListOrganizationsResponse();
@@ -654,6 +1231,15 @@
});
+ unittest.group("obj-schema-ListPolicy", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListPolicy();
+ var od = new api.ListPolicy.fromJson(o.toJson());
+ checkListPolicy(od);
+ });
+ });
+
+
unittest.group("obj-schema-ListProjectsResponse", () {
unittest.test("to-json--from-json", () {
var o = buildListProjectsResponse();
@@ -663,6 +1249,15 @@
});
+ unittest.group("obj-schema-OrgPolicy", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOrgPolicy();
+ var od = new api.OrgPolicy.fromJson(o.toJson());
+ checkOrgPolicy(od);
+ });
+ });
+
+
unittest.group("obj-schema-Organization", () {
unittest.test("to-json--from-json", () {
var o = buildOrganization();
@@ -717,6 +1312,15 @@
});
+ unittest.group("obj-schema-RestoreDefault", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildRestoreDefault();
+ var od = new api.RestoreDefault.fromJson(o.toJson());
+ checkRestoreDefault(od);
+ });
+ });
+
+
unittest.group("obj-schema-SetIamPolicyRequest", () {
unittest.test("to-json--from-json", () {
var o = buildSetIamPolicyRequest();
@@ -726,6 +1330,15 @@
});
+ unittest.group("obj-schema-SetOrgPolicyRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSetOrgPolicyRequest();
+ var od = new api.SetOrgPolicyRequest.fromJson(o.toJson());
+ checkSetOrgPolicyRequest(od);
+ });
+ });
+
+
unittest.group("obj-schema-TestIamPermissionsRequest", () {
unittest.test("to-json--from-json", () {
var o = buildTestIamPermissionsRequest();
@@ -754,6 +1367,104 @@
unittest.group("resource-OrganizationsResourceApi", () {
+ unittest.test("method--clearOrgPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildClearOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ClearOrgPolicyRequest.fromJson(json);
+ checkClearOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
+ pathOffset += 8;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.clearOrgPolicy(arg_request, arg_resource).then(unittest.expectAsync(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
+ unittest.test("method--clearOrgPolicyV1", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildClearOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ClearOrgPolicyRequest.fromJson(json);
+ checkClearOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
+ pathOffset += 8;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.clearOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
unittest.test("method--get", () {
var mock = new HttpServerMock();
@@ -801,6 +1512,104 @@
})));
});
+ unittest.test("method--getEffectiveOrgPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildGetEffectiveOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.GetEffectiveOrgPolicyRequest.fromJson(json);
+ checkGetEffectiveOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
+ pathOffset += 8;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getEffectiveOrgPolicy(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
+ unittest.test("method--getEffectiveOrgPolicyV1", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildGetEffectiveOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.GetEffectiveOrgPolicyRequest.fromJson(json);
+ checkGetEffectiveOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
+ pathOffset += 8;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getEffectiveOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
unittest.test("method--getIamPolicy", () {
var mock = new HttpServerMock();
@@ -850,6 +1659,104 @@
})));
});
+ unittest.test("method--getOrgPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildGetOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.GetOrgPolicyRequest.fromJson(json);
+ checkGetOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
+ pathOffset += 8;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getOrgPolicy(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
+ unittest.test("method--getOrgPolicyV1", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildGetOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.GetOrgPolicyRequest.fromJson(json);
+ checkGetOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
+ pathOffset += 8;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
unittest.test("method--list", () {
var mock = new HttpServerMock();
@@ -899,6 +1806,104 @@
})));
});
+ unittest.test("method--listAvailableOrgPolicyConstraints", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildListAvailableOrgPolicyConstraintsRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ListAvailableOrgPolicyConstraintsRequest.fromJson(json);
+ checkListAvailableOrgPolicyConstraintsRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
+ pathOffset += 8;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListAvailableOrgPolicyConstraintsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.listAvailableOrgPolicyConstraints(arg_request, arg_resource).then(unittest.expectAsync(((api.ListAvailableOrgPolicyConstraintsResponse response) {
+ checkListAvailableOrgPolicyConstraintsResponse(response);
+ })));
+ });
+
+ unittest.test("method--listOrgPolicies", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildListOrgPoliciesRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.ListOrgPoliciesRequest.fromJson(json);
+ checkListOrgPoliciesRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
+ pathOffset += 8;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListOrgPoliciesResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.listOrgPolicies(arg_request, arg_resource).then(unittest.expectAsync(((api.ListOrgPoliciesResponse response) {
+ checkListOrgPoliciesResponse(response);
+ })));
+ });
+
unittest.test("method--setIamPolicy", () {
var mock = new HttpServerMock();
@@ -948,6 +1953,104 @@
})));
});
+ unittest.test("method--setOrgPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildSetOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.SetOrgPolicyRequest.fromJson(json);
+ checkSetOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
+ pathOffset += 8;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.setOrgPolicy(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
+ unittest.test("method--setOrgPolicyV1", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations;
+ var arg_request = buildSetOrgPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.SetOrgPolicyRequest.fromJson(json);
+ checkSetOrgPolicyRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
+ pathOffset += 8;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrgPolicy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.setOrgPolicyV1(arg_request, arg_resource).then(unittest.expectAsync(((api.OrgPolicy response) {
+ checkOrgPolicy(response);
+ })));
+ });
+
unittest.test("method--testIamPermissions", () {
var mock = new HttpServerMock();
diff --git a/generated/googleapis_beta/test/clouduseraccounts/beta_test.dart b/generated/googleapis_beta/test/clouduseraccounts/beta_test.dart
index b00d39a..1528549 100644
--- a/generated/googleapis_beta/test/clouduseraccounts/beta_test.dart
+++ b/generated/googleapis_beta/test/clouduseraccounts/beta_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3205() {
+buildUnnamed3297() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3205(core.List<core.String> o) {
+checkUnnamed3297(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -69,7 +69,7 @@
var o = new api.AuthorizedKeysView();
buildCounterAuthorizedKeysView++;
if (buildCounterAuthorizedKeysView < 3) {
- o.keys = buildUnnamed3205();
+ o.keys = buildUnnamed3297();
o.sudoer = true;
}
buildCounterAuthorizedKeysView--;
@@ -79,20 +79,20 @@
checkAuthorizedKeysView(api.AuthorizedKeysView o) {
buildCounterAuthorizedKeysView++;
if (buildCounterAuthorizedKeysView < 3) {
- checkUnnamed3205(o.keys);
+ checkUnnamed3297(o.keys);
unittest.expect(o.sudoer, unittest.isTrue);
}
buildCounterAuthorizedKeysView--;
}
-buildUnnamed3206() {
+buildUnnamed3298() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3206(core.List<core.String> o) {
+checkUnnamed3298(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -107,7 +107,7 @@
o.description = "foo";
o.id = "foo";
o.kind = "foo";
- o.members = buildUnnamed3206();
+ o.members = buildUnnamed3298();
o.name = "foo";
o.selfLink = "foo";
}
@@ -122,21 +122,21 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3206(o.members);
+ checkUnnamed3298(o.members);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterGroup--;
}
-buildUnnamed3207() {
+buildUnnamed3299() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed3207(core.List<api.Group> o) {
+checkUnnamed3299(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -148,7 +148,7 @@
buildCounterGroupList++;
if (buildCounterGroupList < 3) {
o.id = "foo";
- o.items = buildUnnamed3207();
+ o.items = buildUnnamed3299();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -161,7 +161,7 @@
buildCounterGroupList++;
if (buildCounterGroupList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3207(o.items);
+ checkUnnamed3299(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -169,14 +169,14 @@
buildCounterGroupList--;
}
-buildUnnamed3208() {
+buildUnnamed3300() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3208(core.List<core.String> o) {
+checkUnnamed3300(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -187,7 +187,7 @@
var o = new api.GroupsAddMemberRequest();
buildCounterGroupsAddMemberRequest++;
if (buildCounterGroupsAddMemberRequest < 3) {
- o.users = buildUnnamed3208();
+ o.users = buildUnnamed3300();
}
buildCounterGroupsAddMemberRequest--;
return o;
@@ -196,19 +196,19 @@
checkGroupsAddMemberRequest(api.GroupsAddMemberRequest o) {
buildCounterGroupsAddMemberRequest++;
if (buildCounterGroupsAddMemberRequest < 3) {
- checkUnnamed3208(o.users);
+ checkUnnamed3300(o.users);
}
buildCounterGroupsAddMemberRequest--;
}
-buildUnnamed3209() {
+buildUnnamed3301() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3209(core.List<core.String> o) {
+checkUnnamed3301(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -219,7 +219,7 @@
var o = new api.GroupsRemoveMemberRequest();
buildCounterGroupsRemoveMemberRequest++;
if (buildCounterGroupsRemoveMemberRequest < 3) {
- o.users = buildUnnamed3209();
+ o.users = buildUnnamed3301();
}
buildCounterGroupsRemoveMemberRequest--;
return o;
@@ -228,32 +228,32 @@
checkGroupsRemoveMemberRequest(api.GroupsRemoveMemberRequest o) {
buildCounterGroupsRemoveMemberRequest++;
if (buildCounterGroupsRemoveMemberRequest < 3) {
- checkUnnamed3209(o.users);
+ checkUnnamed3301(o.users);
}
buildCounterGroupsRemoveMemberRequest--;
}
-buildUnnamed3210() {
+buildUnnamed3302() {
var o = new core.List<api.LinuxGroupView>();
o.add(buildLinuxGroupView());
o.add(buildLinuxGroupView());
return o;
}
-checkUnnamed3210(core.List<api.LinuxGroupView> o) {
+checkUnnamed3302(core.List<api.LinuxGroupView> o) {
unittest.expect(o, unittest.hasLength(2));
checkLinuxGroupView(o[0]);
checkLinuxGroupView(o[1]);
}
-buildUnnamed3211() {
+buildUnnamed3303() {
var o = new core.List<api.LinuxUserView>();
o.add(buildLinuxUserView());
o.add(buildLinuxUserView());
return o;
}
-checkUnnamed3211(core.List<api.LinuxUserView> o) {
+checkUnnamed3303(core.List<api.LinuxUserView> o) {
unittest.expect(o, unittest.hasLength(2));
checkLinuxUserView(o[0]);
checkLinuxUserView(o[1]);
@@ -264,9 +264,9 @@
var o = new api.LinuxAccountViews();
buildCounterLinuxAccountViews++;
if (buildCounterLinuxAccountViews < 3) {
- o.groupViews = buildUnnamed3210();
+ o.groupViews = buildUnnamed3302();
o.kind = "foo";
- o.userViews = buildUnnamed3211();
+ o.userViews = buildUnnamed3303();
}
buildCounterLinuxAccountViews--;
return o;
@@ -275,9 +275,9 @@
checkLinuxAccountViews(api.LinuxAccountViews o) {
buildCounterLinuxAccountViews++;
if (buildCounterLinuxAccountViews < 3) {
- checkUnnamed3210(o.groupViews);
+ checkUnnamed3302(o.groupViews);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3211(o.userViews);
+ checkUnnamed3303(o.userViews);
}
buildCounterLinuxAccountViews--;
}
@@ -320,14 +320,14 @@
buildCounterLinuxGetLinuxAccountViewsResponse--;
}
-buildUnnamed3212() {
+buildUnnamed3304() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3212(core.List<core.String> o) {
+checkUnnamed3304(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -340,7 +340,7 @@
if (buildCounterLinuxGroupView < 3) {
o.gid = 42;
o.groupName = "foo";
- o.members = buildUnnamed3212();
+ o.members = buildUnnamed3304();
}
buildCounterLinuxGroupView--;
return o;
@@ -351,7 +351,7 @@
if (buildCounterLinuxGroupView < 3) {
unittest.expect(o.gid, unittest.equals(42));
unittest.expect(o.groupName, unittest.equals('foo'));
- checkUnnamed3212(o.members);
+ checkUnnamed3304(o.members);
}
buildCounterLinuxGroupView--;
}
@@ -408,14 +408,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed3213() {
+buildUnnamed3305() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed3213(core.List<api.OperationErrorErrors> o) {
+checkUnnamed3305(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -426,7 +426,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed3213();
+ o.errors = buildUnnamed3305();
}
buildCounterOperationError--;
return o;
@@ -435,7 +435,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed3213(o.errors);
+ checkUnnamed3305(o.errors);
}
buildCounterOperationError--;
}
@@ -461,14 +461,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed3214() {
+buildUnnamed3306() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed3214(core.List<api.OperationWarningsData> o) {
+checkUnnamed3306(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -480,7 +480,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed3214();
+ o.data = buildUnnamed3306();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -491,20 +491,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed3214(o.data);
+ checkUnnamed3306(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed3215() {
+buildUnnamed3307() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed3215(core.List<api.OperationWarnings> o) {
+checkUnnamed3307(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -536,7 +536,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed3215();
+ o.warnings = buildUnnamed3307();
o.zone = "foo";
}
buildCounterOperation--;
@@ -567,20 +567,20 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3215(o.warnings);
+ checkUnnamed3307(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed3216() {
+buildUnnamed3308() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3216(core.List<api.Operation> o) {
+checkUnnamed3308(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -592,7 +592,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
o.id = "foo";
- o.items = buildUnnamed3216();
+ o.items = buildUnnamed3308();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -605,7 +605,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3216(o.items);
+ checkUnnamed3308(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -640,27 +640,27 @@
buildCounterPublicKey--;
}
-buildUnnamed3217() {
+buildUnnamed3309() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3217(core.List<core.String> o) {
+checkUnnamed3309(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3218() {
+buildUnnamed3310() {
var o = new core.List<api.PublicKey>();
o.add(buildPublicKey());
o.add(buildPublicKey());
return o;
}
-checkUnnamed3218(core.List<api.PublicKey> o) {
+checkUnnamed3310(core.List<api.PublicKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkPublicKey(o[0]);
checkPublicKey(o[1]);
@@ -673,12 +673,12 @@
if (buildCounterUser < 3) {
o.creationTimestamp = "foo";
o.description = "foo";
- o.groups = buildUnnamed3217();
+ o.groups = buildUnnamed3309();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
o.owner = "foo";
- o.publicKeys = buildUnnamed3218();
+ o.publicKeys = buildUnnamed3310();
o.selfLink = "foo";
}
buildCounterUser--;
@@ -690,25 +690,25 @@
if (buildCounterUser < 3) {
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed3217(o.groups);
+ checkUnnamed3309(o.groups);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.owner, unittest.equals('foo'));
- checkUnnamed3218(o.publicKeys);
+ checkUnnamed3310(o.publicKeys);
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterUser--;
}
-buildUnnamed3219() {
+buildUnnamed3311() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed3219(core.List<api.User> o) {
+checkUnnamed3311(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -720,7 +720,7 @@
buildCounterUserList++;
if (buildCounterUserList < 3) {
o.id = "foo";
- o.items = buildUnnamed3219();
+ o.items = buildUnnamed3311();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -733,7 +733,7 @@
buildCounterUserList++;
if (buildCounterUserList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3219(o.items);
+ checkUnnamed3311(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
diff --git a/generated/googleapis_beta/test/dataflow/v1b3_test.dart b/generated/googleapis_beta/test/dataflow/v1b3_test.dart
index 0e8d493..6296d95 100644
--- a/generated/googleapis_beta/test/dataflow/v1b3_test.dart
+++ b/generated/googleapis_beta/test/dataflow/v1b3_test.dart
@@ -210,53 +210,53 @@
buildCounterComponentTransform--;
}
-buildUnnamed2973() {
+buildUnnamed3083() {
var o = new core.List<api.StreamLocation>();
o.add(buildStreamLocation());
o.add(buildStreamLocation());
return o;
}
-checkUnnamed2973(core.List<api.StreamLocation> o) {
+checkUnnamed3083(core.List<api.StreamLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkStreamLocation(o[0]);
checkStreamLocation(o[1]);
}
-buildUnnamed2974() {
+buildUnnamed3084() {
var o = new core.List<api.KeyRangeLocation>();
o.add(buildKeyRangeLocation());
o.add(buildKeyRangeLocation());
return o;
}
-checkUnnamed2974(core.List<api.KeyRangeLocation> o) {
+checkUnnamed3084(core.List<api.KeyRangeLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyRangeLocation(o[0]);
checkKeyRangeLocation(o[1]);
}
-buildUnnamed2975() {
+buildUnnamed3085() {
var o = new core.List<api.StreamLocation>();
o.add(buildStreamLocation());
o.add(buildStreamLocation());
return o;
}
-checkUnnamed2975(core.List<api.StreamLocation> o) {
+checkUnnamed3085(core.List<api.StreamLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkStreamLocation(o[0]);
checkStreamLocation(o[1]);
}
-buildUnnamed2976() {
+buildUnnamed3086() {
var o = new core.List<api.StateFamilyConfig>();
o.add(buildStateFamilyConfig());
o.add(buildStateFamilyConfig());
return o;
}
-checkUnnamed2976(core.List<api.StateFamilyConfig> o) {
+checkUnnamed3086(core.List<api.StateFamilyConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkStateFamilyConfig(o[0]);
checkStateFamilyConfig(o[1]);
@@ -268,10 +268,10 @@
buildCounterComputationTopology++;
if (buildCounterComputationTopology < 3) {
o.computationId = "foo";
- o.inputs = buildUnnamed2973();
- o.keyRanges = buildUnnamed2974();
- o.outputs = buildUnnamed2975();
- o.stateFamilies = buildUnnamed2976();
+ o.inputs = buildUnnamed3083();
+ o.keyRanges = buildUnnamed3084();
+ o.outputs = buildUnnamed3085();
+ o.stateFamilies = buildUnnamed3086();
o.systemStageName = "foo";
o.userStageName = "foo";
}
@@ -283,10 +283,10 @@
buildCounterComputationTopology++;
if (buildCounterComputationTopology < 3) {
unittest.expect(o.computationId, unittest.equals('foo'));
- checkUnnamed2973(o.inputs);
- checkUnnamed2974(o.keyRanges);
- checkUnnamed2975(o.outputs);
- checkUnnamed2976(o.stateFamilies);
+ checkUnnamed3083(o.inputs);
+ checkUnnamed3084(o.keyRanges);
+ checkUnnamed3085(o.outputs);
+ checkUnnamed3086(o.stateFamilies);
unittest.expect(o.systemStageName, unittest.equals('foo'));
unittest.expect(o.userStageName, unittest.equals('foo'));
}
@@ -438,14 +438,14 @@
buildCounterCounterUpdate--;
}
-buildUnnamed2977() {
+buildUnnamed3087() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2977(core.Map<core.String, core.String> o) {
+checkUnnamed3087(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -459,7 +459,7 @@
o.environment = buildRuntimeEnvironment();
o.gcsPath = "foo";
o.jobName = "foo";
- o.parameters = buildUnnamed2977();
+ o.parameters = buildUnnamed3087();
}
buildCounterCreateJobFromTemplateRequest--;
return o;
@@ -471,7 +471,7 @@
checkRuntimeEnvironment(o.environment);
unittest.expect(o.gcsPath, unittest.equals('foo'));
unittest.expect(o.jobName, unittest.equals('foo'));
- checkUnnamed2977(o.parameters);
+ checkUnnamed3087(o.parameters);
}
buildCounterCreateJobFromTemplateRequest--;
}
@@ -495,14 +495,14 @@
buildCounterCustomSourceLocation--;
}
-buildUnnamed2978() {
+buildUnnamed3088() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2978(core.List<core.String> o) {
+checkUnnamed3088(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -513,7 +513,7 @@
var o = new api.DataDiskAssignment();
buildCounterDataDiskAssignment++;
if (buildCounterDataDiskAssignment < 3) {
- o.dataDisks = buildUnnamed2978();
+ o.dataDisks = buildUnnamed3088();
o.vmInstance = "foo";
}
buildCounterDataDiskAssignment--;
@@ -523,7 +523,7 @@
checkDataDiskAssignment(api.DataDiskAssignment o) {
buildCounterDataDiskAssignment++;
if (buildCounterDataDiskAssignment < 3) {
- checkUnnamed2978(o.dataDisks);
+ checkUnnamed3088(o.dataDisks);
unittest.expect(o.vmInstance, unittest.equals('foo'));
}
buildCounterDataDiskAssignment--;
@@ -662,79 +662,79 @@
buildCounterDynamicSourceSplit--;
}
-buildUnnamed2979() {
+buildUnnamed3089() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2979(core.List<core.String> o) {
+checkUnnamed3089(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2980() {
+buildUnnamed3090() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2980(core.Map<core.String, core.Object> o) {
+checkUnnamed3090(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted2 = (o["x"]) 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'));
var casted3 = (o["y"]) 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'));
}
-buildUnnamed2981() {
+buildUnnamed3091() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2981(core.Map<core.String, core.Object> o) {
+checkUnnamed3091(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted4 = (o["x"]) 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'));
var casted5 = (o["y"]) 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'));
}
-buildUnnamed2982() {
+buildUnnamed3092() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2982(core.Map<core.String, core.Object> o) {
+checkUnnamed3092(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted6 = (o["x"]) 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'));
var casted7 = (o["y"]) 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'));
}
-buildUnnamed2983() {
+buildUnnamed3093() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2983(core.Map<core.String, core.Object> o) {
+checkUnnamed3093(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted8 = (o["x"]) 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'));
var casted9 = (o["y"]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
}
-buildUnnamed2984() {
+buildUnnamed3094() {
var o = new core.List<api.WorkerPool>();
o.add(buildWorkerPool());
o.add(buildWorkerPool());
return o;
}
-checkUnnamed2984(core.List<api.WorkerPool> o) {
+checkUnnamed3094(core.List<api.WorkerPool> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkerPool(o[0]);
checkWorkerPool(o[1]);
@@ -747,14 +747,14 @@
if (buildCounterEnvironment < 3) {
o.clusterManagerApiService = "foo";
o.dataset = "foo";
- o.experiments = buildUnnamed2979();
- o.internalExperiments = buildUnnamed2980();
- o.sdkPipelineOptions = buildUnnamed2981();
+ o.experiments = buildUnnamed3089();
+ o.internalExperiments = buildUnnamed3090();
+ o.sdkPipelineOptions = buildUnnamed3091();
o.serviceAccountEmail = "foo";
o.tempStoragePrefix = "foo";
- o.userAgent = buildUnnamed2982();
- o.version = buildUnnamed2983();
- o.workerPools = buildUnnamed2984();
+ o.userAgent = buildUnnamed3092();
+ o.version = buildUnnamed3093();
+ o.workerPools = buildUnnamed3094();
}
buildCounterEnvironment--;
return o;
@@ -765,65 +765,65 @@
if (buildCounterEnvironment < 3) {
unittest.expect(o.clusterManagerApiService, unittest.equals('foo'));
unittest.expect(o.dataset, unittest.equals('foo'));
- checkUnnamed2979(o.experiments);
- checkUnnamed2980(o.internalExperiments);
- checkUnnamed2981(o.sdkPipelineOptions);
+ checkUnnamed3089(o.experiments);
+ checkUnnamed3090(o.internalExperiments);
+ checkUnnamed3091(o.sdkPipelineOptions);
unittest.expect(o.serviceAccountEmail, unittest.equals('foo'));
unittest.expect(o.tempStoragePrefix, unittest.equals('foo'));
- checkUnnamed2982(o.userAgent);
- checkUnnamed2983(o.version);
- checkUnnamed2984(o.workerPools);
+ checkUnnamed3092(o.userAgent);
+ checkUnnamed3093(o.version);
+ checkUnnamed3094(o.workerPools);
}
buildCounterEnvironment--;
}
-buildUnnamed2985() {
+buildUnnamed3095() {
var o = new core.List<api.ComponentSource>();
o.add(buildComponentSource());
o.add(buildComponentSource());
return o;
}
-checkUnnamed2985(core.List<api.ComponentSource> o) {
+checkUnnamed3095(core.List<api.ComponentSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkComponentSource(o[0]);
checkComponentSource(o[1]);
}
-buildUnnamed2986() {
+buildUnnamed3096() {
var o = new core.List<api.ComponentTransform>();
o.add(buildComponentTransform());
o.add(buildComponentTransform());
return o;
}
-checkUnnamed2986(core.List<api.ComponentTransform> o) {
+checkUnnamed3096(core.List<api.ComponentTransform> o) {
unittest.expect(o, unittest.hasLength(2));
checkComponentTransform(o[0]);
checkComponentTransform(o[1]);
}
-buildUnnamed2987() {
+buildUnnamed3097() {
var o = new core.List<api.StageSource>();
o.add(buildStageSource());
o.add(buildStageSource());
return o;
}
-checkUnnamed2987(core.List<api.StageSource> o) {
+checkUnnamed3097(core.List<api.StageSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkStageSource(o[0]);
checkStageSource(o[1]);
}
-buildUnnamed2988() {
+buildUnnamed3098() {
var o = new core.List<api.StageSource>();
o.add(buildStageSource());
o.add(buildStageSource());
return o;
}
-checkUnnamed2988(core.List<api.StageSource> o) {
+checkUnnamed3098(core.List<api.StageSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkStageSource(o[0]);
checkStageSource(o[1]);
@@ -834,13 +834,13 @@
var o = new api.ExecutionStageSummary();
buildCounterExecutionStageSummary++;
if (buildCounterExecutionStageSummary < 3) {
- o.componentSource = buildUnnamed2985();
- o.componentTransform = buildUnnamed2986();
+ o.componentSource = buildUnnamed3095();
+ o.componentTransform = buildUnnamed3096();
o.id = "foo";
- o.inputSource = buildUnnamed2987();
+ o.inputSource = buildUnnamed3097();
o.kind = "foo";
o.name = "foo";
- o.outputSource = buildUnnamed2988();
+ o.outputSource = buildUnnamed3098();
}
buildCounterExecutionStageSummary--;
return o;
@@ -849,13 +849,13 @@
checkExecutionStageSummary(api.ExecutionStageSummary o) {
buildCounterExecutionStageSummary++;
if (buildCounterExecutionStageSummary < 3) {
- checkUnnamed2985(o.componentSource);
- checkUnnamed2986(o.componentTransform);
+ checkUnnamed3095(o.componentSource);
+ checkUnnamed3096(o.componentTransform);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2987(o.inputSource);
+ checkUnnamed3097(o.inputSource);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2988(o.outputSource);
+ checkUnnamed3098(o.outputSource);
}
buildCounterExecutionStageSummary--;
}
@@ -879,14 +879,14 @@
buildCounterFailedLocation--;
}
-buildUnnamed2989() {
+buildUnnamed3099() {
var o = new core.List<api.InstructionInput>();
o.add(buildInstructionInput());
o.add(buildInstructionInput());
return o;
}
-checkUnnamed2989(core.List<api.InstructionInput> o) {
+checkUnnamed3099(core.List<api.InstructionInput> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstructionInput(o[0]);
checkInstructionInput(o[1]);
@@ -897,7 +897,7 @@
var o = new api.FlattenInstruction();
buildCounterFlattenInstruction++;
if (buildCounterFlattenInstruction < 3) {
- o.inputs = buildUnnamed2989();
+ o.inputs = buildUnnamed3099();
}
buildCounterFlattenInstruction--;
return o;
@@ -906,19 +906,19 @@
checkFlattenInstruction(api.FlattenInstruction o) {
buildCounterFlattenInstruction++;
if (buildCounterFlattenInstruction < 3) {
- checkUnnamed2989(o.inputs);
+ checkUnnamed3099(o.inputs);
}
buildCounterFlattenInstruction--;
}
-buildUnnamed2990() {
+buildUnnamed3100() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2990(core.List<core.double> o) {
+checkUnnamed3100(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -929,7 +929,7 @@
var o = new api.FloatingPointList();
buildCounterFloatingPointList++;
if (buildCounterFloatingPointList < 3) {
- o.elements = buildUnnamed2990();
+ o.elements = buildUnnamed3100();
}
buildCounterFloatingPointList--;
return o;
@@ -938,7 +938,7 @@
checkFloatingPointList(api.FloatingPointList o) {
buildCounterFloatingPointList++;
if (buildCounterFloatingPointList < 3) {
- checkUnnamed2990(o.elements);
+ checkUnnamed3100(o.elements);
}
buildCounterFloatingPointList--;
}
@@ -1046,14 +1046,14 @@
buildCounterInstructionInput--;
}
-buildUnnamed2991() {
+buildUnnamed3101() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2991(core.Map<core.String, core.Object> o) {
+checkUnnamed3101(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted10 = (o["x"]) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
var casted11 = (o["y"]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
@@ -1064,7 +1064,7 @@
var o = new api.InstructionOutput();
buildCounterInstructionOutput++;
if (buildCounterInstructionOutput < 3) {
- o.codec = buildUnnamed2991();
+ o.codec = buildUnnamed3101();
o.name = "foo";
o.onlyCountKeyBytes = true;
o.onlyCountValueBytes = true;
@@ -1078,7 +1078,7 @@
checkInstructionOutput(api.InstructionOutput o) {
buildCounterInstructionOutput++;
if (buildCounterInstructionOutput < 3) {
- checkUnnamed2991(o.codec);
+ checkUnnamed3101(o.codec);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.onlyCountKeyBytes, unittest.isTrue);
unittest.expect(o.onlyCountValueBytes, unittest.isTrue);
@@ -1088,14 +1088,14 @@
buildCounterInstructionOutput--;
}
-buildUnnamed2992() {
+buildUnnamed3102() {
var o = new core.List<api.SplitInt64>();
o.add(buildSplitInt64());
o.add(buildSplitInt64());
return o;
}
-checkUnnamed2992(core.List<api.SplitInt64> o) {
+checkUnnamed3102(core.List<api.SplitInt64> o) {
unittest.expect(o, unittest.hasLength(2));
checkSplitInt64(o[0]);
checkSplitInt64(o[1]);
@@ -1106,7 +1106,7 @@
var o = new api.IntegerList();
buildCounterIntegerList++;
if (buildCounterIntegerList < 3) {
- o.elements = buildUnnamed2992();
+ o.elements = buildUnnamed3102();
}
buildCounterIntegerList--;
return o;
@@ -1115,7 +1115,7 @@
checkIntegerList(api.IntegerList o) {
buildCounterIntegerList++;
if (buildCounterIntegerList < 3) {
- checkUnnamed2992(o.elements);
+ checkUnnamed3102(o.elements);
}
buildCounterIntegerList--;
}
@@ -1141,53 +1141,53 @@
buildCounterIntegerMean--;
}
-buildUnnamed2993() {
+buildUnnamed3103() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2993(core.Map<core.String, core.String> o) {
+checkUnnamed3103(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2994() {
+buildUnnamed3104() {
var o = new core.List<api.Step>();
o.add(buildStep());
o.add(buildStep());
return o;
}
-checkUnnamed2994(core.List<api.Step> o) {
+checkUnnamed3104(core.List<api.Step> o) {
unittest.expect(o, unittest.hasLength(2));
checkStep(o[0]);
checkStep(o[1]);
}
-buildUnnamed2995() {
+buildUnnamed3105() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2995(core.List<core.String> o) {
+checkUnnamed3105(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2996() {
+buildUnnamed3106() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2996(core.Map<core.String, core.String> o) {
+checkUnnamed3106(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1205,7 +1205,7 @@
o.environment = buildEnvironment();
o.executionInfo = buildJobExecutionInfo();
o.id = "foo";
- o.labels = buildUnnamed2993();
+ o.labels = buildUnnamed3103();
o.location = "foo";
o.name = "foo";
o.pipelineDescription = buildPipelineDescription();
@@ -1213,9 +1213,9 @@
o.replaceJobId = "foo";
o.replacedByJobId = "foo";
o.requestedState = "foo";
- o.steps = buildUnnamed2994();
- o.tempFiles = buildUnnamed2995();
- o.transformNameMapping = buildUnnamed2996();
+ o.steps = buildUnnamed3104();
+ o.tempFiles = buildUnnamed3105();
+ o.transformNameMapping = buildUnnamed3106();
o.type = "foo";
}
buildCounterJob--;
@@ -1232,7 +1232,7 @@
checkEnvironment(o.environment);
checkJobExecutionInfo(o.executionInfo);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2993(o.labels);
+ checkUnnamed3103(o.labels);
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkPipelineDescription(o.pipelineDescription);
@@ -1240,22 +1240,22 @@
unittest.expect(o.replaceJobId, unittest.equals('foo'));
unittest.expect(o.replacedByJobId, unittest.equals('foo'));
unittest.expect(o.requestedState, unittest.equals('foo'));
- checkUnnamed2994(o.steps);
- checkUnnamed2995(o.tempFiles);
- checkUnnamed2996(o.transformNameMapping);
+ checkUnnamed3104(o.steps);
+ checkUnnamed3105(o.tempFiles);
+ checkUnnamed3106(o.transformNameMapping);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterJob--;
}
-buildUnnamed2997() {
+buildUnnamed3107() {
var o = new core.Map<core.String, api.JobExecutionStageInfo>();
o["x"] = buildJobExecutionStageInfo();
o["y"] = buildJobExecutionStageInfo();
return o;
}
-checkUnnamed2997(core.Map<core.String, api.JobExecutionStageInfo> o) {
+checkUnnamed3107(core.Map<core.String, api.JobExecutionStageInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobExecutionStageInfo(o["x"]);
checkJobExecutionStageInfo(o["y"]);
@@ -1266,7 +1266,7 @@
var o = new api.JobExecutionInfo();
buildCounterJobExecutionInfo++;
if (buildCounterJobExecutionInfo < 3) {
- o.stages = buildUnnamed2997();
+ o.stages = buildUnnamed3107();
}
buildCounterJobExecutionInfo--;
return o;
@@ -1275,19 +1275,19 @@
checkJobExecutionInfo(api.JobExecutionInfo o) {
buildCounterJobExecutionInfo++;
if (buildCounterJobExecutionInfo < 3) {
- checkUnnamed2997(o.stages);
+ checkUnnamed3107(o.stages);
}
buildCounterJobExecutionInfo--;
}
-buildUnnamed2998() {
+buildUnnamed3108() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2998(core.List<core.String> o) {
+checkUnnamed3108(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1298,7 +1298,7 @@
var o = new api.JobExecutionStageInfo();
buildCounterJobExecutionStageInfo++;
if (buildCounterJobExecutionStageInfo < 3) {
- o.stepName = buildUnnamed2998();
+ o.stepName = buildUnnamed3108();
}
buildCounterJobExecutionStageInfo--;
return o;
@@ -1307,7 +1307,7 @@
checkJobExecutionStageInfo(api.JobExecutionStageInfo o) {
buildCounterJobExecutionStageInfo++;
if (buildCounterJobExecutionStageInfo < 3) {
- checkUnnamed2998(o.stepName);
+ checkUnnamed3108(o.stepName);
}
buildCounterJobExecutionStageInfo--;
}
@@ -1337,14 +1337,14 @@
buildCounterJobMessage--;
}
-buildUnnamed2999() {
+buildUnnamed3109() {
var o = new core.List<api.MetricUpdate>();
o.add(buildMetricUpdate());
o.add(buildMetricUpdate());
return o;
}
-checkUnnamed2999(core.List<api.MetricUpdate> o) {
+checkUnnamed3109(core.List<api.MetricUpdate> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricUpdate(o[0]);
checkMetricUpdate(o[1]);
@@ -1356,7 +1356,7 @@
buildCounterJobMetrics++;
if (buildCounterJobMetrics < 3) {
o.metricTime = "foo";
- o.metrics = buildUnnamed2999();
+ o.metrics = buildUnnamed3109();
}
buildCounterJobMetrics--;
return o;
@@ -1366,7 +1366,7 @@
buildCounterJobMetrics++;
if (buildCounterJobMetrics < 3) {
unittest.expect(o.metricTime, unittest.equals('foo'));
- checkUnnamed2999(o.metrics);
+ checkUnnamed3109(o.metrics);
}
buildCounterJobMetrics--;
}
@@ -1401,8 +1401,8 @@
if (buildCounterKeyRangeLocation < 3) {
o.dataDisk = "foo";
o.deliveryEndpoint = "foo";
+ o.deprecatedPersistentDirectory = "foo";
o.end = "foo";
- o.persistentDirectory = "foo";
o.start = "foo";
}
buildCounterKeyRangeLocation--;
@@ -1414,21 +1414,21 @@
if (buildCounterKeyRangeLocation < 3) {
unittest.expect(o.dataDisk, unittest.equals('foo'));
unittest.expect(o.deliveryEndpoint, unittest.equals('foo'));
+ unittest.expect(o.deprecatedPersistentDirectory, unittest.equals('foo'));
unittest.expect(o.end, unittest.equals('foo'));
- unittest.expect(o.persistentDirectory, unittest.equals('foo'));
unittest.expect(o.start, unittest.equals('foo'));
}
buildCounterKeyRangeLocation--;
}
-buildUnnamed3000() {
+buildUnnamed3110() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3000(core.Map<core.String, core.String> o) {
+checkUnnamed3110(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1441,7 +1441,7 @@
if (buildCounterLaunchTemplateParameters < 3) {
o.environment = buildRuntimeEnvironment();
o.jobName = "foo";
- o.parameters = buildUnnamed3000();
+ o.parameters = buildUnnamed3110();
}
buildCounterLaunchTemplateParameters--;
return o;
@@ -1452,7 +1452,7 @@
if (buildCounterLaunchTemplateParameters < 3) {
checkRuntimeEnvironment(o.environment);
unittest.expect(o.jobName, unittest.equals('foo'));
- checkUnnamed3000(o.parameters);
+ checkUnnamed3110(o.parameters);
}
buildCounterLaunchTemplateParameters--;
}
@@ -1463,7 +1463,6 @@
buildCounterLaunchTemplateResponse++;
if (buildCounterLaunchTemplateResponse < 3) {
o.job = buildJob();
- o.status = buildStatus();
}
buildCounterLaunchTemplateResponse--;
return o;
@@ -1473,32 +1472,31 @@
buildCounterLaunchTemplateResponse++;
if (buildCounterLaunchTemplateResponse < 3) {
checkJob(o.job);
- checkStatus(o.status);
}
buildCounterLaunchTemplateResponse--;
}
-buildUnnamed3001() {
+buildUnnamed3111() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3001(core.List<core.String> o) {
+checkUnnamed3111(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3002() {
+buildUnnamed3112() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3002(core.List<core.String> o) {
+checkUnnamed3112(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1512,8 +1510,8 @@
o.currentWorkerTime = "foo";
o.location = "foo";
o.requestedLeaseDuration = "foo";
- o.workItemTypes = buildUnnamed3001();
- o.workerCapabilities = buildUnnamed3002();
+ o.workItemTypes = buildUnnamed3111();
+ o.workerCapabilities = buildUnnamed3112();
o.workerId = "foo";
}
buildCounterLeaseWorkItemRequest--;
@@ -1526,21 +1524,21 @@
unittest.expect(o.currentWorkerTime, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.requestedLeaseDuration, unittest.equals('foo'));
- checkUnnamed3001(o.workItemTypes);
- checkUnnamed3002(o.workerCapabilities);
+ checkUnnamed3111(o.workItemTypes);
+ checkUnnamed3112(o.workerCapabilities);
unittest.expect(o.workerId, unittest.equals('foo'));
}
buildCounterLeaseWorkItemRequest--;
}
-buildUnnamed3003() {
+buildUnnamed3113() {
var o = new core.List<api.WorkItem>();
o.add(buildWorkItem());
o.add(buildWorkItem());
return o;
}
-checkUnnamed3003(core.List<api.WorkItem> o) {
+checkUnnamed3113(core.List<api.WorkItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkItem(o[0]);
checkWorkItem(o[1]);
@@ -1551,7 +1549,7 @@
var o = new api.LeaseWorkItemResponse();
buildCounterLeaseWorkItemResponse++;
if (buildCounterLeaseWorkItemResponse < 3) {
- o.workItems = buildUnnamed3003();
+ o.workItems = buildUnnamed3113();
}
buildCounterLeaseWorkItemResponse--;
return o;
@@ -1560,19 +1558,19 @@
checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) {
buildCounterLeaseWorkItemResponse++;
if (buildCounterLeaseWorkItemResponse < 3) {
- checkUnnamed3003(o.workItems);
+ checkUnnamed3113(o.workItems);
}
buildCounterLeaseWorkItemResponse--;
}
-buildUnnamed3004() {
+buildUnnamed3114() {
var o = new core.List<api.JobMessage>();
o.add(buildJobMessage());
o.add(buildJobMessage());
return o;
}
-checkUnnamed3004(core.List<api.JobMessage> o) {
+checkUnnamed3114(core.List<api.JobMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobMessage(o[0]);
checkJobMessage(o[1]);
@@ -1583,7 +1581,7 @@
var o = new api.ListJobMessagesResponse();
buildCounterListJobMessagesResponse++;
if (buildCounterListJobMessagesResponse < 3) {
- o.jobMessages = buildUnnamed3004();
+ o.jobMessages = buildUnnamed3114();
o.nextPageToken = "foo";
}
buildCounterListJobMessagesResponse--;
@@ -1593,33 +1591,33 @@
checkListJobMessagesResponse(api.ListJobMessagesResponse o) {
buildCounterListJobMessagesResponse++;
if (buildCounterListJobMessagesResponse < 3) {
- checkUnnamed3004(o.jobMessages);
+ checkUnnamed3114(o.jobMessages);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListJobMessagesResponse--;
}
-buildUnnamed3005() {
+buildUnnamed3115() {
var o = new core.List<api.FailedLocation>();
o.add(buildFailedLocation());
o.add(buildFailedLocation());
return o;
}
-checkUnnamed3005(core.List<api.FailedLocation> o) {
+checkUnnamed3115(core.List<api.FailedLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkFailedLocation(o[0]);
checkFailedLocation(o[1]);
}
-buildUnnamed3006() {
+buildUnnamed3116() {
var o = new core.List<api.Job>();
o.add(buildJob());
o.add(buildJob());
return o;
}
-checkUnnamed3006(core.List<api.Job> o) {
+checkUnnamed3116(core.List<api.Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkJob(o[0]);
checkJob(o[1]);
@@ -1630,8 +1628,8 @@
var o = new api.ListJobsResponse();
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- o.failedLocation = buildUnnamed3005();
- o.jobs = buildUnnamed3006();
+ o.failedLocation = buildUnnamed3115();
+ o.jobs = buildUnnamed3116();
o.nextPageToken = "foo";
}
buildCounterListJobsResponse--;
@@ -1641,21 +1639,21 @@
checkListJobsResponse(api.ListJobsResponse o) {
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- checkUnnamed3005(o.failedLocation);
- checkUnnamed3006(o.jobs);
+ checkUnnamed3115(o.failedLocation);
+ checkUnnamed3116(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListJobsResponse--;
}
-buildUnnamed3007() {
+buildUnnamed3117() {
var o = new core.List<api.ParallelInstruction>();
o.add(buildParallelInstruction());
o.add(buildParallelInstruction());
return o;
}
-checkUnnamed3007(core.List<api.ParallelInstruction> o) {
+checkUnnamed3117(core.List<api.ParallelInstruction> o) {
unittest.expect(o, unittest.hasLength(2));
checkParallelInstruction(o[0]);
checkParallelInstruction(o[1]);
@@ -1666,7 +1664,7 @@
var o = new api.MapTask();
buildCounterMapTask++;
if (buildCounterMapTask < 3) {
- o.instructions = buildUnnamed3007();
+ o.instructions = buildUnnamed3117();
o.stageName = "foo";
o.systemName = "foo";
}
@@ -1677,7 +1675,7 @@
checkMapTask(api.MapTask o) {
buildCounterMapTask++;
if (buildCounterMapTask < 3) {
- checkUnnamed3007(o.instructions);
+ checkUnnamed3117(o.instructions);
unittest.expect(o.stageName, unittest.equals('foo'));
unittest.expect(o.systemName, unittest.equals('foo'));
}
@@ -1705,14 +1703,14 @@
buildCounterMetricShortId--;
}
-buildUnnamed3008() {
+buildUnnamed3118() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3008(core.Map<core.String, core.String> o) {
+checkUnnamed3118(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1723,7 +1721,7 @@
var o = new api.MetricStructuredName();
buildCounterMetricStructuredName++;
if (buildCounterMetricStructuredName < 3) {
- o.context = buildUnnamed3008();
+ o.context = buildUnnamed3118();
o.name = "foo";
o.origin = "foo";
}
@@ -1734,7 +1732,7 @@
checkMetricStructuredName(api.MetricStructuredName o) {
buildCounterMetricStructuredName++;
if (buildCounterMetricStructuredName < 3) {
- checkUnnamed3008(o.context);
+ checkUnnamed3118(o.context);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.origin, unittest.equals('foo'));
}
@@ -1856,40 +1854,40 @@
buildCounterPackage--;
}
-buildUnnamed3009() {
+buildUnnamed3119() {
var o = new core.List<api.MultiOutputInfo>();
o.add(buildMultiOutputInfo());
o.add(buildMultiOutputInfo());
return o;
}
-checkUnnamed3009(core.List<api.MultiOutputInfo> o) {
+checkUnnamed3119(core.List<api.MultiOutputInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkMultiOutputInfo(o[0]);
checkMultiOutputInfo(o[1]);
}
-buildUnnamed3010() {
+buildUnnamed3120() {
var o = new core.List<api.SideInputInfo>();
o.add(buildSideInputInfo());
o.add(buildSideInputInfo());
return o;
}
-checkUnnamed3010(core.List<api.SideInputInfo> o) {
+checkUnnamed3120(core.List<api.SideInputInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSideInputInfo(o[0]);
checkSideInputInfo(o[1]);
}
-buildUnnamed3011() {
+buildUnnamed3121() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3011(core.Map<core.String, core.Object> o) {
+checkUnnamed3121(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted17 = (o["x"]) as core.Map; unittest.expect(casted17, unittest.hasLength(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.expect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string"], unittest.equals('foo'));
var casted18 = (o["y"]) as core.Map; unittest.expect(casted18, unittest.hasLength(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest.expect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["string"], unittest.equals('foo'));
@@ -1901,10 +1899,10 @@
buildCounterParDoInstruction++;
if (buildCounterParDoInstruction < 3) {
o.input = buildInstructionInput();
- o.multiOutputInfos = buildUnnamed3009();
+ o.multiOutputInfos = buildUnnamed3119();
o.numOutputs = 42;
- o.sideInputs = buildUnnamed3010();
- o.userFn = buildUnnamed3011();
+ o.sideInputs = buildUnnamed3120();
+ o.userFn = buildUnnamed3121();
}
buildCounterParDoInstruction--;
return o;
@@ -1914,22 +1912,22 @@
buildCounterParDoInstruction++;
if (buildCounterParDoInstruction < 3) {
checkInstructionInput(o.input);
- checkUnnamed3009(o.multiOutputInfos);
+ checkUnnamed3119(o.multiOutputInfos);
unittest.expect(o.numOutputs, unittest.equals(42));
- checkUnnamed3010(o.sideInputs);
- checkUnnamed3011(o.userFn);
+ checkUnnamed3120(o.sideInputs);
+ checkUnnamed3121(o.userFn);
}
buildCounterParDoInstruction--;
}
-buildUnnamed3012() {
+buildUnnamed3122() {
var o = new core.List<api.InstructionOutput>();
o.add(buildInstructionOutput());
o.add(buildInstructionOutput());
return o;
}
-checkUnnamed3012(core.List<api.InstructionOutput> o) {
+checkUnnamed3122(core.List<api.InstructionOutput> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstructionOutput(o[0]);
checkInstructionOutput(o[1]);
@@ -1943,7 +1941,7 @@
o.flatten = buildFlattenInstruction();
o.name = "foo";
o.originalName = "foo";
- o.outputs = buildUnnamed3012();
+ o.outputs = buildUnnamed3122();
o.parDo = buildParDoInstruction();
o.partialGroupByKey = buildPartialGroupByKeyInstruction();
o.read = buildReadInstruction();
@@ -1960,7 +1958,7 @@
checkFlattenInstruction(o.flatten);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.originalName, unittest.equals('foo'));
- checkUnnamed3012(o.outputs);
+ checkUnnamed3122(o.outputs);
checkParDoInstruction(o.parDo);
checkPartialGroupByKeyInstruction(o.partialGroupByKey);
checkReadInstruction(o.read);
@@ -1970,14 +1968,14 @@
buildCounterParallelInstruction--;
}
-buildUnnamed3013() {
+buildUnnamed3123() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3013(core.List<core.String> o) {
+checkUnnamed3123(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1992,7 +1990,7 @@
o.isOptional = true;
o.label = "foo";
o.name = "foo";
- o.regexes = buildUnnamed3013();
+ o.regexes = buildUnnamed3123();
}
buildCounterParameterMetadata--;
return o;
@@ -2005,45 +2003,45 @@
unittest.expect(o.isOptional, unittest.isTrue);
unittest.expect(o.label, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3013(o.regexes);
+ checkUnnamed3123(o.regexes);
}
buildCounterParameterMetadata--;
}
-buildUnnamed3014() {
+buildUnnamed3124() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3014(core.Map<core.String, core.Object> o) {
+checkUnnamed3124(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted19 = (o["x"]) as core.Map; unittest.expect(casted19, unittest.hasLength(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest.expect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["string"], unittest.equals('foo'));
var casted20 = (o["y"]) as core.Map; unittest.expect(casted20, unittest.hasLength(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest.expect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["string"], unittest.equals('foo'));
}
-buildUnnamed3015() {
+buildUnnamed3125() {
var o = new core.List<api.SideInputInfo>();
o.add(buildSideInputInfo());
o.add(buildSideInputInfo());
return o;
}
-checkUnnamed3015(core.List<api.SideInputInfo> o) {
+checkUnnamed3125(core.List<api.SideInputInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSideInputInfo(o[0]);
checkSideInputInfo(o[1]);
}
-buildUnnamed3016() {
+buildUnnamed3126() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3016(core.Map<core.String, core.Object> o) {
+checkUnnamed3126(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted21 = (o["x"]) as core.Map; unittest.expect(casted21, unittest.hasLength(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest.expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["string"], unittest.equals('foo'));
var casted22 = (o["y"]) as core.Map; unittest.expect(casted22, unittest.hasLength(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest.expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["string"], unittest.equals('foo'));
@@ -2055,11 +2053,11 @@
buildCounterPartialGroupByKeyInstruction++;
if (buildCounterPartialGroupByKeyInstruction < 3) {
o.input = buildInstructionInput();
- o.inputElementCodec = buildUnnamed3014();
+ o.inputElementCodec = buildUnnamed3124();
o.originalCombineValuesInputStoreName = "foo";
o.originalCombineValuesStepName = "foo";
- o.sideInputs = buildUnnamed3015();
- o.valueCombiningFn = buildUnnamed3016();
+ o.sideInputs = buildUnnamed3125();
+ o.valueCombiningFn = buildUnnamed3126();
}
buildCounterPartialGroupByKeyInstruction--;
return o;
@@ -2069,49 +2067,49 @@
buildCounterPartialGroupByKeyInstruction++;
if (buildCounterPartialGroupByKeyInstruction < 3) {
checkInstructionInput(o.input);
- checkUnnamed3014(o.inputElementCodec);
+ checkUnnamed3124(o.inputElementCodec);
unittest.expect(o.originalCombineValuesInputStoreName, unittest.equals('foo'));
unittest.expect(o.originalCombineValuesStepName, unittest.equals('foo'));
- checkUnnamed3015(o.sideInputs);
- checkUnnamed3016(o.valueCombiningFn);
+ checkUnnamed3125(o.sideInputs);
+ checkUnnamed3126(o.valueCombiningFn);
}
buildCounterPartialGroupByKeyInstruction--;
}
-buildUnnamed3017() {
+buildUnnamed3127() {
var o = new core.List<api.DisplayData>();
o.add(buildDisplayData());
o.add(buildDisplayData());
return o;
}
-checkUnnamed3017(core.List<api.DisplayData> o) {
+checkUnnamed3127(core.List<api.DisplayData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisplayData(o[0]);
checkDisplayData(o[1]);
}
-buildUnnamed3018() {
+buildUnnamed3128() {
var o = new core.List<api.ExecutionStageSummary>();
o.add(buildExecutionStageSummary());
o.add(buildExecutionStageSummary());
return o;
}
-checkUnnamed3018(core.List<api.ExecutionStageSummary> o) {
+checkUnnamed3128(core.List<api.ExecutionStageSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkExecutionStageSummary(o[0]);
checkExecutionStageSummary(o[1]);
}
-buildUnnamed3019() {
+buildUnnamed3129() {
var o = new core.List<api.TransformSummary>();
o.add(buildTransformSummary());
o.add(buildTransformSummary());
return o;
}
-checkUnnamed3019(core.List<api.TransformSummary> o) {
+checkUnnamed3129(core.List<api.TransformSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransformSummary(o[0]);
checkTransformSummary(o[1]);
@@ -2122,9 +2120,9 @@
var o = new api.PipelineDescription();
buildCounterPipelineDescription++;
if (buildCounterPipelineDescription < 3) {
- o.displayData = buildUnnamed3017();
- o.executionPipelineStage = buildUnnamed3018();
- o.originalPipelineTransform = buildUnnamed3019();
+ o.displayData = buildUnnamed3127();
+ o.executionPipelineStage = buildUnnamed3128();
+ o.originalPipelineTransform = buildUnnamed3129();
}
buildCounterPipelineDescription--;
return o;
@@ -2133,9 +2131,9 @@
checkPipelineDescription(api.PipelineDescription o) {
buildCounterPipelineDescription++;
if (buildCounterPipelineDescription < 3) {
- checkUnnamed3017(o.displayData);
- checkUnnamed3018(o.executionPipelineStage);
- checkUnnamed3019(o.originalPipelineTransform);
+ checkUnnamed3127(o.displayData);
+ checkUnnamed3128(o.executionPipelineStage);
+ checkUnnamed3129(o.originalPipelineTransform);
}
buildCounterPipelineDescription--;
}
@@ -2219,14 +2217,14 @@
buildCounterReadInstruction--;
}
-buildUnnamed3020() {
+buildUnnamed3130() {
var o = new core.List<api.WorkItemStatus>();
o.add(buildWorkItemStatus());
o.add(buildWorkItemStatus());
return o;
}
-checkUnnamed3020(core.List<api.WorkItemStatus> o) {
+checkUnnamed3130(core.List<api.WorkItemStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkItemStatus(o[0]);
checkWorkItemStatus(o[1]);
@@ -2239,7 +2237,7 @@
if (buildCounterReportWorkItemStatusRequest < 3) {
o.currentWorkerTime = "foo";
o.location = "foo";
- o.workItemStatuses = buildUnnamed3020();
+ o.workItemStatuses = buildUnnamed3130();
o.workerId = "foo";
}
buildCounterReportWorkItemStatusRequest--;
@@ -2251,20 +2249,20 @@
if (buildCounterReportWorkItemStatusRequest < 3) {
unittest.expect(o.currentWorkerTime, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
- checkUnnamed3020(o.workItemStatuses);
+ checkUnnamed3130(o.workItemStatuses);
unittest.expect(o.workerId, unittest.equals('foo'));
}
buildCounterReportWorkItemStatusRequest--;
}
-buildUnnamed3021() {
+buildUnnamed3131() {
var o = new core.List<api.WorkItemServiceState>();
o.add(buildWorkItemServiceState());
o.add(buildWorkItemServiceState());
return o;
}
-checkUnnamed3021(core.List<api.WorkItemServiceState> o) {
+checkUnnamed3131(core.List<api.WorkItemServiceState> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkItemServiceState(o[0]);
checkWorkItemServiceState(o[1]);
@@ -2275,7 +2273,7 @@
var o = new api.ReportWorkItemStatusResponse();
buildCounterReportWorkItemStatusResponse++;
if (buildCounterReportWorkItemStatusResponse < 3) {
- o.workItemServiceStates = buildUnnamed3021();
+ o.workItemServiceStates = buildUnnamed3131();
}
buildCounterReportWorkItemStatusResponse--;
return o;
@@ -2284,7 +2282,7 @@
checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) {
buildCounterReportWorkItemStatusResponse++;
if (buildCounterReportWorkItemStatusResponse < 3) {
- checkUnnamed3021(o.workItemServiceStates);
+ checkUnnamed3131(o.workItemServiceStates);
}
buildCounterReportWorkItemStatusResponse--;
}
@@ -2310,14 +2308,14 @@
buildCounterReportedParallelism--;
}
-buildUnnamed3022() {
+buildUnnamed3132() {
var o = new core.List<api.CPUTime>();
o.add(buildCPUTime());
o.add(buildCPUTime());
return o;
}
-checkUnnamed3022(core.List<api.CPUTime> o) {
+checkUnnamed3132(core.List<api.CPUTime> o) {
unittest.expect(o, unittest.hasLength(2));
checkCPUTime(o[0]);
checkCPUTime(o[1]);
@@ -2328,7 +2326,7 @@
var o = new api.ResourceUtilizationReport();
buildCounterResourceUtilizationReport++;
if (buildCounterResourceUtilizationReport < 3) {
- o.cpuTime = buildUnnamed3022();
+ o.cpuTime = buildUnnamed3132();
}
buildCounterResourceUtilizationReport--;
return o;
@@ -2337,7 +2335,7 @@
checkResourceUtilizationReport(api.ResourceUtilizationReport o) {
buildCounterResourceUtilizationReport++;
if (buildCounterResourceUtilizationReport < 3) {
- checkUnnamed3022(o.cpuTime);
+ checkUnnamed3132(o.cpuTime);
}
buildCounterResourceUtilizationReport--;
}
@@ -2426,14 +2424,14 @@
buildCounterSendDebugCaptureResponse--;
}
-buildUnnamed3023() {
+buildUnnamed3133() {
var o = new core.List<api.WorkerMessage>();
o.add(buildWorkerMessage());
o.add(buildWorkerMessage());
return o;
}
-checkUnnamed3023(core.List<api.WorkerMessage> o) {
+checkUnnamed3133(core.List<api.WorkerMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkerMessage(o[0]);
checkWorkerMessage(o[1]);
@@ -2444,7 +2442,7 @@
var o = new api.SendWorkerMessagesRequest();
buildCounterSendWorkerMessagesRequest++;
if (buildCounterSendWorkerMessagesRequest < 3) {
- o.workerMessages = buildUnnamed3023();
+ o.workerMessages = buildUnnamed3133();
}
buildCounterSendWorkerMessagesRequest--;
return o;
@@ -2453,19 +2451,19 @@
checkSendWorkerMessagesRequest(api.SendWorkerMessagesRequest o) {
buildCounterSendWorkerMessagesRequest++;
if (buildCounterSendWorkerMessagesRequest < 3) {
- checkUnnamed3023(o.workerMessages);
+ checkUnnamed3133(o.workerMessages);
}
buildCounterSendWorkerMessagesRequest--;
}
-buildUnnamed3024() {
+buildUnnamed3134() {
var o = new core.List<api.WorkerMessageResponse>();
o.add(buildWorkerMessageResponse());
o.add(buildWorkerMessageResponse());
return o;
}
-checkUnnamed3024(core.List<api.WorkerMessageResponse> o) {
+checkUnnamed3134(core.List<api.WorkerMessageResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkerMessageResponse(o[0]);
checkWorkerMessageResponse(o[1]);
@@ -2476,7 +2474,7 @@
var o = new api.SendWorkerMessagesResponse();
buildCounterSendWorkerMessagesResponse++;
if (buildCounterSendWorkerMessagesResponse < 3) {
- o.workerMessageResponses = buildUnnamed3024();
+ o.workerMessageResponses = buildUnnamed3134();
}
buildCounterSendWorkerMessagesResponse--;
return o;
@@ -2485,45 +2483,45 @@
checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) {
buildCounterSendWorkerMessagesResponse++;
if (buildCounterSendWorkerMessagesResponse < 3) {
- checkUnnamed3024(o.workerMessageResponses);
+ checkUnnamed3134(o.workerMessageResponses);
}
buildCounterSendWorkerMessagesResponse--;
}
-buildUnnamed3025() {
+buildUnnamed3135() {
var o = new core.List<api.SideInputInfo>();
o.add(buildSideInputInfo());
o.add(buildSideInputInfo());
return o;
}
-checkUnnamed3025(core.List<api.SideInputInfo> o) {
+checkUnnamed3135(core.List<api.SideInputInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSideInputInfo(o[0]);
checkSideInputInfo(o[1]);
}
-buildUnnamed3026() {
+buildUnnamed3136() {
var o = new core.List<api.SeqMapTaskOutputInfo>();
o.add(buildSeqMapTaskOutputInfo());
o.add(buildSeqMapTaskOutputInfo());
return o;
}
-checkUnnamed3026(core.List<api.SeqMapTaskOutputInfo> o) {
+checkUnnamed3136(core.List<api.SeqMapTaskOutputInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSeqMapTaskOutputInfo(o[0]);
checkSeqMapTaskOutputInfo(o[1]);
}
-buildUnnamed3027() {
+buildUnnamed3137() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3027(core.Map<core.String, core.Object> o) {
+checkUnnamed3137(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted23 = (o["x"]) as core.Map; unittest.expect(casted23, unittest.hasLength(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest.expect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["string"], unittest.equals('foo'));
var casted24 = (o["y"]) as core.Map; unittest.expect(casted24, unittest.hasLength(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest.expect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["string"], unittest.equals('foo'));
@@ -2534,12 +2532,12 @@
var o = new api.SeqMapTask();
buildCounterSeqMapTask++;
if (buildCounterSeqMapTask < 3) {
- o.inputs = buildUnnamed3025();
+ o.inputs = buildUnnamed3135();
o.name = "foo";
- o.outputInfos = buildUnnamed3026();
+ o.outputInfos = buildUnnamed3136();
o.stageName = "foo";
o.systemName = "foo";
- o.userFn = buildUnnamed3027();
+ o.userFn = buildUnnamed3137();
}
buildCounterSeqMapTask--;
return o;
@@ -2548,12 +2546,12 @@
checkSeqMapTask(api.SeqMapTask o) {
buildCounterSeqMapTask++;
if (buildCounterSeqMapTask < 3) {
- checkUnnamed3025(o.inputs);
+ checkUnnamed3135(o.inputs);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3026(o.outputInfos);
+ checkUnnamed3136(o.outputInfos);
unittest.expect(o.stageName, unittest.equals('foo'));
unittest.expect(o.systemName, unittest.equals('foo'));
- checkUnnamed3027(o.userFn);
+ checkUnnamed3137(o.userFn);
}
buildCounterSeqMapTask--;
}
@@ -2600,27 +2598,27 @@
buildCounterShellTask--;
}
-buildUnnamed3028() {
+buildUnnamed3138() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3028(core.Map<core.String, core.Object> o) {
+checkUnnamed3138(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted25 = (o["x"]) as core.Map; unittest.expect(casted25, unittest.hasLength(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest.expect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["string"], unittest.equals('foo'));
var casted26 = (o["y"]) as core.Map; unittest.expect(casted26, unittest.hasLength(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest.expect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["string"], unittest.equals('foo'));
}
-buildUnnamed3029() {
+buildUnnamed3139() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed3029(core.List<api.Source> o) {
+checkUnnamed3139(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -2631,8 +2629,8 @@
var o = new api.SideInputInfo();
buildCounterSideInputInfo++;
if (buildCounterSideInputInfo < 3) {
- o.kind = buildUnnamed3028();
- o.sources = buildUnnamed3029();
+ o.kind = buildUnnamed3138();
+ o.sources = buildUnnamed3139();
o.tag = "foo";
}
buildCounterSideInputInfo--;
@@ -2642,34 +2640,34 @@
checkSideInputInfo(api.SideInputInfo o) {
buildCounterSideInputInfo++;
if (buildCounterSideInputInfo < 3) {
- checkUnnamed3028(o.kind);
- checkUnnamed3029(o.sources);
+ checkUnnamed3138(o.kind);
+ checkUnnamed3139(o.sources);
unittest.expect(o.tag, unittest.equals('foo'));
}
buildCounterSideInputInfo--;
}
-buildUnnamed3030() {
+buildUnnamed3140() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3030(core.Map<core.String, core.Object> o) {
+checkUnnamed3140(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted27 = (o["x"]) as core.Map; unittest.expect(casted27, unittest.hasLength(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest.expect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["string"], unittest.equals('foo'));
var casted28 = (o["y"]) as core.Map; unittest.expect(casted28, unittest.hasLength(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest.expect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["string"], unittest.equals('foo'));
}
-buildUnnamed3031() {
+buildUnnamed3141() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3031(core.Map<core.String, core.Object> o) {
+checkUnnamed3141(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted29 = (o["x"]) as core.Map; unittest.expect(casted29, unittest.hasLength(3)); unittest.expect(casted29["list"], unittest.equals([1, 2, 3])); unittest.expect(casted29["bool"], unittest.equals(true)); unittest.expect(casted29["string"], unittest.equals('foo'));
var casted30 = (o["y"]) as core.Map; unittest.expect(casted30, unittest.hasLength(3)); unittest.expect(casted30["list"], unittest.equals([1, 2, 3])); unittest.expect(casted30["bool"], unittest.equals(true)); unittest.expect(casted30["string"], unittest.equals('foo'));
@@ -2680,8 +2678,8 @@
var o = new api.Sink();
buildCounterSink++;
if (buildCounterSink < 3) {
- o.codec = buildUnnamed3030();
- o.spec = buildUnnamed3031();
+ o.codec = buildUnnamed3140();
+ o.spec = buildUnnamed3141();
}
buildCounterSink--;
return o;
@@ -2690,59 +2688,59 @@
checkSink(api.Sink o) {
buildCounterSink++;
if (buildCounterSink < 3) {
- checkUnnamed3030(o.codec);
- checkUnnamed3031(o.spec);
+ checkUnnamed3140(o.codec);
+ checkUnnamed3141(o.spec);
}
buildCounterSink--;
}
-buildUnnamed3032() {
+buildUnnamed3142() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3032(core.Map<core.String, core.Object> o) {
+checkUnnamed3142(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted31 = (o["x"]) as core.Map; unittest.expect(casted31, unittest.hasLength(3)); unittest.expect(casted31["list"], unittest.equals([1, 2, 3])); unittest.expect(casted31["bool"], unittest.equals(true)); unittest.expect(casted31["string"], unittest.equals('foo'));
var casted32 = (o["y"]) as core.Map; unittest.expect(casted32, unittest.hasLength(3)); unittest.expect(casted32["list"], unittest.equals([1, 2, 3])); unittest.expect(casted32["bool"], unittest.equals(true)); unittest.expect(casted32["string"], unittest.equals('foo'));
}
-buildUnnamed3033() {
+buildUnnamed3143() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3032());
- o.add(buildUnnamed3032());
+ o.add(buildUnnamed3142());
+ o.add(buildUnnamed3142());
return o;
}
-checkUnnamed3033(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3143(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3032(o[0]);
- checkUnnamed3032(o[1]);
+ checkUnnamed3142(o[0]);
+ checkUnnamed3142(o[1]);
}
-buildUnnamed3034() {
+buildUnnamed3144() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3034(core.Map<core.String, core.Object> o) {
+checkUnnamed3144(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted33 = (o["x"]) as core.Map; unittest.expect(casted33, unittest.hasLength(3)); unittest.expect(casted33["list"], unittest.equals([1, 2, 3])); unittest.expect(casted33["bool"], unittest.equals(true)); unittest.expect(casted33["string"], unittest.equals('foo'));
var casted34 = (o["y"]) as core.Map; unittest.expect(casted34, unittest.hasLength(3)); unittest.expect(casted34["list"], unittest.equals([1, 2, 3])); unittest.expect(casted34["bool"], unittest.equals(true)); unittest.expect(casted34["string"], unittest.equals('foo'));
}
-buildUnnamed3035() {
+buildUnnamed3145() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3035(core.Map<core.String, core.Object> o) {
+checkUnnamed3145(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted35 = (o["x"]) as core.Map; unittest.expect(casted35, unittest.hasLength(3)); unittest.expect(casted35["list"], unittest.equals([1, 2, 3])); unittest.expect(casted35["bool"], unittest.equals(true)); unittest.expect(casted35["string"], unittest.equals('foo'));
var casted36 = (o["y"]) as core.Map; unittest.expect(casted36, unittest.hasLength(3)); unittest.expect(casted36["list"], unittest.equals([1, 2, 3])); unittest.expect(casted36["bool"], unittest.equals(true)); unittest.expect(casted36["string"], unittest.equals('foo'));
@@ -2753,11 +2751,11 @@
var o = new api.Source();
buildCounterSource++;
if (buildCounterSource < 3) {
- o.baseSpecs = buildUnnamed3033();
- o.codec = buildUnnamed3034();
+ o.baseSpecs = buildUnnamed3143();
+ o.codec = buildUnnamed3144();
o.doesNotNeedSplitting = true;
o.metadata = buildSourceMetadata();
- o.spec = buildUnnamed3035();
+ o.spec = buildUnnamed3145();
}
buildCounterSource--;
return o;
@@ -2766,11 +2764,11 @@
checkSource(api.Source o) {
buildCounterSource++;
if (buildCounterSource < 3) {
- checkUnnamed3033(o.baseSpecs);
- checkUnnamed3034(o.codec);
+ checkUnnamed3143(o.baseSpecs);
+ checkUnnamed3144(o.codec);
unittest.expect(o.doesNotNeedSplitting, unittest.isTrue);
checkSourceMetadata(o.metadata);
- checkUnnamed3035(o.spec);
+ checkUnnamed3145(o.spec);
}
buildCounterSource--;
}
@@ -2945,27 +2943,27 @@
buildCounterSourceSplitRequest--;
}
-buildUnnamed3036() {
+buildUnnamed3146() {
var o = new core.List<api.DerivedSource>();
o.add(buildDerivedSource());
o.add(buildDerivedSource());
return o;
}
-checkUnnamed3036(core.List<api.DerivedSource> o) {
+checkUnnamed3146(core.List<api.DerivedSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkDerivedSource(o[0]);
checkDerivedSource(o[1]);
}
-buildUnnamed3037() {
+buildUnnamed3147() {
var o = new core.List<api.SourceSplitShard>();
o.add(buildSourceSplitShard());
o.add(buildSourceSplitShard());
return o;
}
-checkUnnamed3037(core.List<api.SourceSplitShard> o) {
+checkUnnamed3147(core.List<api.SourceSplitShard> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceSplitShard(o[0]);
checkSourceSplitShard(o[1]);
@@ -2976,9 +2974,9 @@
var o = new api.SourceSplitResponse();
buildCounterSourceSplitResponse++;
if (buildCounterSourceSplitResponse < 3) {
- o.bundles = buildUnnamed3036();
+ o.bundles = buildUnnamed3146();
o.outcome = "foo";
- o.shards = buildUnnamed3037();
+ o.shards = buildUnnamed3147();
}
buildCounterSourceSplitResponse--;
return o;
@@ -2987,9 +2985,9 @@
checkSourceSplitResponse(api.SourceSplitResponse o) {
buildCounterSourceSplitResponse++;
if (buildCounterSourceSplitResponse < 3) {
- checkUnnamed3036(o.bundles);
+ checkUnnamed3146(o.bundles);
unittest.expect(o.outcome, unittest.equals('foo'));
- checkUnnamed3037(o.shards);
+ checkUnnamed3147(o.shards);
}
buildCounterSourceSplitResponse--;
}
@@ -3082,30 +3080,30 @@
buildCounterStateFamilyConfig--;
}
-buildUnnamed3038() {
+buildUnnamed3148() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3038(core.Map<core.String, core.Object> o) {
+checkUnnamed3148(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted37 = (o["x"]) as core.Map; unittest.expect(casted37, unittest.hasLength(3)); unittest.expect(casted37["list"], unittest.equals([1, 2, 3])); unittest.expect(casted37["bool"], unittest.equals(true)); unittest.expect(casted37["string"], unittest.equals('foo'));
var casted38 = (o["y"]) as core.Map; unittest.expect(casted38, unittest.hasLength(3)); unittest.expect(casted38["list"], unittest.equals([1, 2, 3])); unittest.expect(casted38["bool"], unittest.equals(true)); unittest.expect(casted38["string"], unittest.equals('foo'));
}
-buildUnnamed3039() {
+buildUnnamed3149() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3038());
- o.add(buildUnnamed3038());
+ o.add(buildUnnamed3148());
+ o.add(buildUnnamed3148());
return o;
}
-checkUnnamed3039(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3149(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3038(o[0]);
- checkUnnamed3038(o[1]);
+ checkUnnamed3148(o[0]);
+ checkUnnamed3148(o[1]);
}
core.int buildCounterStatus = 0;
@@ -3114,7 +3112,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3039();
+ o.details = buildUnnamed3149();
o.message = "foo";
}
buildCounterStatus--;
@@ -3125,20 +3123,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3039(o.details);
+ checkUnnamed3149(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed3040() {
+buildUnnamed3150() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3040(core.Map<core.String, core.Object> o) {
+checkUnnamed3150(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted39 = (o["x"]) as core.Map; unittest.expect(casted39, unittest.hasLength(3)); unittest.expect(casted39["list"], unittest.equals([1, 2, 3])); unittest.expect(casted39["bool"], unittest.equals(true)); unittest.expect(casted39["string"], unittest.equals('foo'));
var casted40 = (o["y"]) as core.Map; unittest.expect(casted40, unittest.hasLength(3)); unittest.expect(casted40["list"], unittest.equals([1, 2, 3])); unittest.expect(casted40["bool"], unittest.equals(true)); unittest.expect(casted40["string"], unittest.equals('foo'));
@@ -3151,7 +3149,7 @@
if (buildCounterStep < 3) {
o.kind = "foo";
o.name = "foo";
- o.properties = buildUnnamed3040();
+ o.properties = buildUnnamed3150();
}
buildCounterStep--;
return o;
@@ -3162,7 +3160,7 @@
if (buildCounterStep < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3040(o.properties);
+ checkUnnamed3150(o.properties);
}
buildCounterStep--;
}
@@ -3192,14 +3190,14 @@
buildCounterStreamLocation--;
}
-buildUnnamed3041() {
+buildUnnamed3151() {
var o = new core.List<api.ParallelInstruction>();
o.add(buildParallelInstruction());
o.add(buildParallelInstruction());
return o;
}
-checkUnnamed3041(core.List<api.ParallelInstruction> o) {
+checkUnnamed3151(core.List<api.ParallelInstruction> o) {
unittest.expect(o, unittest.hasLength(2));
checkParallelInstruction(o[0]);
checkParallelInstruction(o[1]);
@@ -3211,7 +3209,7 @@
buildCounterStreamingComputationConfig++;
if (buildCounterStreamingComputationConfig < 3) {
o.computationId = "foo";
- o.instructions = buildUnnamed3041();
+ o.instructions = buildUnnamed3151();
o.stageName = "foo";
o.systemName = "foo";
}
@@ -3223,21 +3221,21 @@
buildCounterStreamingComputationConfig++;
if (buildCounterStreamingComputationConfig < 3) {
unittest.expect(o.computationId, unittest.equals('foo'));
- checkUnnamed3041(o.instructions);
+ checkUnnamed3151(o.instructions);
unittest.expect(o.stageName, unittest.equals('foo'));
unittest.expect(o.systemName, unittest.equals('foo'));
}
buildCounterStreamingComputationConfig--;
}
-buildUnnamed3042() {
+buildUnnamed3152() {
var o = new core.List<api.KeyRangeDataDiskAssignment>();
o.add(buildKeyRangeDataDiskAssignment());
o.add(buildKeyRangeDataDiskAssignment());
return o;
}
-checkUnnamed3042(core.List<api.KeyRangeDataDiskAssignment> o) {
+checkUnnamed3152(core.List<api.KeyRangeDataDiskAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyRangeDataDiskAssignment(o[0]);
checkKeyRangeDataDiskAssignment(o[1]);
@@ -3249,7 +3247,7 @@
buildCounterStreamingComputationRanges++;
if (buildCounterStreamingComputationRanges < 3) {
o.computationId = "foo";
- o.rangeAssignments = buildUnnamed3042();
+ o.rangeAssignments = buildUnnamed3152();
}
buildCounterStreamingComputationRanges--;
return o;
@@ -3259,32 +3257,32 @@
buildCounterStreamingComputationRanges++;
if (buildCounterStreamingComputationRanges < 3) {
unittest.expect(o.computationId, unittest.equals('foo'));
- checkUnnamed3042(o.rangeAssignments);
+ checkUnnamed3152(o.rangeAssignments);
}
buildCounterStreamingComputationRanges--;
}
-buildUnnamed3043() {
+buildUnnamed3153() {
var o = new core.List<api.StreamingComputationRanges>();
o.add(buildStreamingComputationRanges());
o.add(buildStreamingComputationRanges());
return o;
}
-checkUnnamed3043(core.List<api.StreamingComputationRanges> o) {
+checkUnnamed3153(core.List<api.StreamingComputationRanges> o) {
unittest.expect(o, unittest.hasLength(2));
checkStreamingComputationRanges(o[0]);
checkStreamingComputationRanges(o[1]);
}
-buildUnnamed3044() {
+buildUnnamed3154() {
var o = new core.List<api.MountedDataDisk>();
o.add(buildMountedDataDisk());
o.add(buildMountedDataDisk());
return o;
}
-checkUnnamed3044(core.List<api.MountedDataDisk> o) {
+checkUnnamed3154(core.List<api.MountedDataDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkMountedDataDisk(o[0]);
checkMountedDataDisk(o[1]);
@@ -3295,8 +3293,8 @@
var o = new api.StreamingComputationTask();
buildCounterStreamingComputationTask++;
if (buildCounterStreamingComputationTask < 3) {
- o.computationRanges = buildUnnamed3043();
- o.dataDisks = buildUnnamed3044();
+ o.computationRanges = buildUnnamed3153();
+ o.dataDisks = buildUnnamed3154();
o.taskType = "foo";
}
buildCounterStreamingComputationTask--;
@@ -3306,34 +3304,34 @@
checkStreamingComputationTask(api.StreamingComputationTask o) {
buildCounterStreamingComputationTask++;
if (buildCounterStreamingComputationTask < 3) {
- checkUnnamed3043(o.computationRanges);
- checkUnnamed3044(o.dataDisks);
+ checkUnnamed3153(o.computationRanges);
+ checkUnnamed3154(o.dataDisks);
unittest.expect(o.taskType, unittest.equals('foo'));
}
buildCounterStreamingComputationTask--;
}
-buildUnnamed3045() {
+buildUnnamed3155() {
var o = new core.List<api.StreamingComputationConfig>();
o.add(buildStreamingComputationConfig());
o.add(buildStreamingComputationConfig());
return o;
}
-checkUnnamed3045(core.List<api.StreamingComputationConfig> o) {
+checkUnnamed3155(core.List<api.StreamingComputationConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkStreamingComputationConfig(o[0]);
checkStreamingComputationConfig(o[1]);
}
-buildUnnamed3046() {
+buildUnnamed3156() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3046(core.Map<core.String, core.String> o) {
+checkUnnamed3156(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -3344,8 +3342,8 @@
var o = new api.StreamingConfigTask();
buildCounterStreamingConfigTask++;
if (buildCounterStreamingConfigTask < 3) {
- o.streamingComputationConfigs = buildUnnamed3045();
- o.userStepToStateFamilyNameMap = buildUnnamed3046();
+ o.streamingComputationConfigs = buildUnnamed3155();
+ o.userStepToStateFamilyNameMap = buildUnnamed3156();
}
buildCounterStreamingConfigTask--;
return o;
@@ -3354,8 +3352,8 @@
checkStreamingConfigTask(api.StreamingConfigTask o) {
buildCounterStreamingConfigTask++;
if (buildCounterStreamingConfigTask < 3) {
- checkUnnamed3045(o.streamingComputationConfigs);
- checkUnnamed3046(o.userStepToStateFamilyNameMap);
+ checkUnnamed3155(o.streamingComputationConfigs);
+ checkUnnamed3156(o.userStepToStateFamilyNameMap);
}
buildCounterStreamingConfigTask--;
}
@@ -3425,14 +3423,14 @@
buildCounterStreamingStageLocation--;
}
-buildUnnamed3047() {
+buildUnnamed3157() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3047(core.List<core.String> o) {
+checkUnnamed3157(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3443,7 +3441,7 @@
var o = new api.StringList();
buildCounterStringList++;
if (buildCounterStringList < 3) {
- o.elements = buildUnnamed3047();
+ o.elements = buildUnnamed3157();
}
buildCounterStringList--;
return o;
@@ -3452,19 +3450,19 @@
checkStringList(api.StringList o) {
buildCounterStringList++;
if (buildCounterStringList < 3) {
- checkUnnamed3047(o.elements);
+ checkUnnamed3157(o.elements);
}
buildCounterStringList--;
}
-buildUnnamed3048() {
+buildUnnamed3158() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3048(core.List<core.String> o) {
+checkUnnamed3158(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3486,7 +3484,7 @@
o.logDir = "foo";
o.logToSerialconsole = true;
o.logUploadLocation = "foo";
- o.oauthScopes = buildUnnamed3048();
+ o.oauthScopes = buildUnnamed3158();
o.parallelWorkerSettings = buildWorkerSettings();
o.streamingWorkerMainClass = "foo";
o.taskGroup = "foo";
@@ -3513,7 +3511,7 @@
unittest.expect(o.logDir, unittest.equals('foo'));
unittest.expect(o.logToSerialconsole, unittest.isTrue);
unittest.expect(o.logUploadLocation, unittest.equals('foo'));
- checkUnnamed3048(o.oauthScopes);
+ checkUnnamed3158(o.oauthScopes);
checkWorkerSettings(o.parallelWorkerSettings);
unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo'));
unittest.expect(o.taskGroup, unittest.equals('foo'));
@@ -3525,14 +3523,14 @@
buildCounterTaskRunnerSettings--;
}
-buildUnnamed3049() {
+buildUnnamed3159() {
var o = new core.List<api.ParameterMetadata>();
o.add(buildParameterMetadata());
o.add(buildParameterMetadata());
return o;
}
-checkUnnamed3049(core.List<api.ParameterMetadata> o) {
+checkUnnamed3159(core.List<api.ParameterMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameterMetadata(o[0]);
checkParameterMetadata(o[1]);
@@ -3546,7 +3544,7 @@
o.bypassTempDirValidation = true;
o.description = "foo";
o.name = "foo";
- o.parameters = buildUnnamed3049();
+ o.parameters = buildUnnamed3159();
}
buildCounterTemplateMetadata--;
return o;
@@ -3558,45 +3556,45 @@
unittest.expect(o.bypassTempDirValidation, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3049(o.parameters);
+ checkUnnamed3159(o.parameters);
}
buildCounterTemplateMetadata--;
}
-buildUnnamed3050() {
+buildUnnamed3160() {
var o = new core.List<api.ComputationTopology>();
o.add(buildComputationTopology());
o.add(buildComputationTopology());
return o;
}
-checkUnnamed3050(core.List<api.ComputationTopology> o) {
+checkUnnamed3160(core.List<api.ComputationTopology> o) {
unittest.expect(o, unittest.hasLength(2));
checkComputationTopology(o[0]);
checkComputationTopology(o[1]);
}
-buildUnnamed3051() {
+buildUnnamed3161() {
var o = new core.List<api.DataDiskAssignment>();
o.add(buildDataDiskAssignment());
o.add(buildDataDiskAssignment());
return o;
}
-checkUnnamed3051(core.List<api.DataDiskAssignment> o) {
+checkUnnamed3161(core.List<api.DataDiskAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataDiskAssignment(o[0]);
checkDataDiskAssignment(o[1]);
}
-buildUnnamed3052() {
+buildUnnamed3162() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3052(core.Map<core.String, core.String> o) {
+checkUnnamed3162(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -3607,11 +3605,11 @@
var o = new api.TopologyConfig();
buildCounterTopologyConfig++;
if (buildCounterTopologyConfig < 3) {
- o.computations = buildUnnamed3050();
- o.dataDiskAssignments = buildUnnamed3051();
+ o.computations = buildUnnamed3160();
+ o.dataDiskAssignments = buildUnnamed3161();
o.forwardingKeyBits = 42;
o.persistentStateVersion = 42;
- o.userStageToComputationNameMap = buildUnnamed3052();
+ o.userStageToComputationNameMap = buildUnnamed3162();
}
buildCounterTopologyConfig--;
return o;
@@ -3620,49 +3618,49 @@
checkTopologyConfig(api.TopologyConfig o) {
buildCounterTopologyConfig++;
if (buildCounterTopologyConfig < 3) {
- checkUnnamed3050(o.computations);
- checkUnnamed3051(o.dataDiskAssignments);
+ checkUnnamed3160(o.computations);
+ checkUnnamed3161(o.dataDiskAssignments);
unittest.expect(o.forwardingKeyBits, unittest.equals(42));
unittest.expect(o.persistentStateVersion, unittest.equals(42));
- checkUnnamed3052(o.userStageToComputationNameMap);
+ checkUnnamed3162(o.userStageToComputationNameMap);
}
buildCounterTopologyConfig--;
}
-buildUnnamed3053() {
+buildUnnamed3163() {
var o = new core.List<api.DisplayData>();
o.add(buildDisplayData());
o.add(buildDisplayData());
return o;
}
-checkUnnamed3053(core.List<api.DisplayData> o) {
+checkUnnamed3163(core.List<api.DisplayData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisplayData(o[0]);
checkDisplayData(o[1]);
}
-buildUnnamed3054() {
+buildUnnamed3164() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3054(core.List<core.String> o) {
+checkUnnamed3164(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3055() {
+buildUnnamed3165() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3055(core.List<core.String> o) {
+checkUnnamed3165(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3673,12 +3671,12 @@
var o = new api.TransformSummary();
buildCounterTransformSummary++;
if (buildCounterTransformSummary < 3) {
- o.displayData = buildUnnamed3053();
+ o.displayData = buildUnnamed3163();
o.id = "foo";
- o.inputCollectionName = buildUnnamed3054();
+ o.inputCollectionName = buildUnnamed3164();
o.kind = "foo";
o.name = "foo";
- o.outputCollectionName = buildUnnamed3055();
+ o.outputCollectionName = buildUnnamed3165();
}
buildCounterTransformSummary--;
return o;
@@ -3687,24 +3685,24 @@
checkTransformSummary(api.TransformSummary o) {
buildCounterTransformSummary++;
if (buildCounterTransformSummary < 3) {
- checkUnnamed3053(o.displayData);
+ checkUnnamed3163(o.displayData);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3054(o.inputCollectionName);
+ checkUnnamed3164(o.inputCollectionName);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3055(o.outputCollectionName);
+ checkUnnamed3165(o.outputCollectionName);
}
buildCounterTransformSummary--;
}
-buildUnnamed3056() {
+buildUnnamed3166() {
var o = new core.List<api.Package>();
o.add(buildPackage());
o.add(buildPackage());
return o;
}
-checkUnnamed3056(core.List<api.Package> o) {
+checkUnnamed3166(core.List<api.Package> o) {
unittest.expect(o, unittest.hasLength(2));
checkPackage(o[0]);
checkPackage(o[1]);
@@ -3721,7 +3719,7 @@
o.jobId = "foo";
o.leaseExpireTime = "foo";
o.mapTask = buildMapTask();
- o.packages = buildUnnamed3056();
+ o.packages = buildUnnamed3166();
o.projectId = "foo";
o.reportStatusInterval = "foo";
o.seqMapTask = buildSeqMapTask();
@@ -3744,7 +3742,7 @@
unittest.expect(o.jobId, unittest.equals('foo'));
unittest.expect(o.leaseExpireTime, unittest.equals('foo'));
checkMapTask(o.mapTask);
- checkUnnamed3056(o.packages);
+ checkUnnamed3166(o.packages);
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.reportStatusInterval, unittest.equals('foo'));
checkSeqMapTask(o.seqMapTask);
@@ -3757,27 +3755,27 @@
buildCounterWorkItem--;
}
-buildUnnamed3057() {
+buildUnnamed3167() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3057(core.Map<core.String, core.Object> o) {
+checkUnnamed3167(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted41 = (o["x"]) as core.Map; unittest.expect(casted41, unittest.hasLength(3)); unittest.expect(casted41["list"], unittest.equals([1, 2, 3])); unittest.expect(casted41["bool"], unittest.equals(true)); unittest.expect(casted41["string"], unittest.equals('foo'));
var casted42 = (o["y"]) as core.Map; unittest.expect(casted42, unittest.hasLength(3)); unittest.expect(casted42["list"], unittest.equals([1, 2, 3])); unittest.expect(casted42["bool"], unittest.equals(true)); unittest.expect(casted42["string"], unittest.equals('foo'));
}
-buildUnnamed3058() {
+buildUnnamed3168() {
var o = new core.List<api.MetricShortId>();
o.add(buildMetricShortId());
o.add(buildMetricShortId());
return o;
}
-checkUnnamed3058(core.List<api.MetricShortId> o) {
+checkUnnamed3168(core.List<api.MetricShortId> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricShortId(o[0]);
checkMetricShortId(o[1]);
@@ -3788,9 +3786,9 @@
var o = new api.WorkItemServiceState();
buildCounterWorkItemServiceState++;
if (buildCounterWorkItemServiceState < 3) {
- o.harnessData = buildUnnamed3057();
+ o.harnessData = buildUnnamed3167();
o.leaseExpireTime = "foo";
- o.metricShortId = buildUnnamed3058();
+ o.metricShortId = buildUnnamed3168();
o.nextReportIndex = "foo";
o.reportStatusInterval = "foo";
o.splitRequest = buildApproximateSplitRequest();
@@ -3804,9 +3802,9 @@
checkWorkItemServiceState(api.WorkItemServiceState o) {
buildCounterWorkItemServiceState++;
if (buildCounterWorkItemServiceState < 3) {
- checkUnnamed3057(o.harnessData);
+ checkUnnamed3167(o.harnessData);
unittest.expect(o.leaseExpireTime, unittest.equals('foo'));
- checkUnnamed3058(o.metricShortId);
+ checkUnnamed3168(o.metricShortId);
unittest.expect(o.nextReportIndex, unittest.equals('foo'));
unittest.expect(o.reportStatusInterval, unittest.equals('foo'));
checkApproximateSplitRequest(o.splitRequest);
@@ -3816,40 +3814,40 @@
buildCounterWorkItemServiceState--;
}
-buildUnnamed3059() {
+buildUnnamed3169() {
var o = new core.List<api.CounterUpdate>();
o.add(buildCounterUpdate());
o.add(buildCounterUpdate());
return o;
}
-checkUnnamed3059(core.List<api.CounterUpdate> o) {
+checkUnnamed3169(core.List<api.CounterUpdate> o) {
unittest.expect(o, unittest.hasLength(2));
checkCounterUpdate(o[0]);
checkCounterUpdate(o[1]);
}
-buildUnnamed3060() {
+buildUnnamed3170() {
var o = new core.List<api.Status>();
o.add(buildStatus());
o.add(buildStatus());
return o;
}
-checkUnnamed3060(core.List<api.Status> o) {
+checkUnnamed3170(core.List<api.Status> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatus(o[0]);
checkStatus(o[1]);
}
-buildUnnamed3061() {
+buildUnnamed3171() {
var o = new core.List<api.MetricUpdate>();
o.add(buildMetricUpdate());
o.add(buildMetricUpdate());
return o;
}
-checkUnnamed3061(core.List<api.MetricUpdate> o) {
+checkUnnamed3171(core.List<api.MetricUpdate> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricUpdate(o[0]);
checkMetricUpdate(o[1]);
@@ -3861,10 +3859,10 @@
buildCounterWorkItemStatus++;
if (buildCounterWorkItemStatus < 3) {
o.completed = true;
- o.counterUpdates = buildUnnamed3059();
+ o.counterUpdates = buildUnnamed3169();
o.dynamicSourceSplit = buildDynamicSourceSplit();
- o.errors = buildUnnamed3060();
- o.metricUpdates = buildUnnamed3061();
+ o.errors = buildUnnamed3170();
+ o.metricUpdates = buildUnnamed3171();
o.progress = buildApproximateProgress();
o.reportIndex = "foo";
o.reportedProgress = buildApproximateReportedProgress();
@@ -3882,10 +3880,10 @@
buildCounterWorkItemStatus++;
if (buildCounterWorkItemStatus < 3) {
unittest.expect(o.completed, unittest.isTrue);
- checkUnnamed3059(o.counterUpdates);
+ checkUnnamed3169(o.counterUpdates);
checkDynamicSourceSplit(o.dynamicSourceSplit);
- checkUnnamed3060(o.errors);
- checkUnnamed3061(o.metricUpdates);
+ checkUnnamed3170(o.errors);
+ checkUnnamed3171(o.metricUpdates);
checkApproximateProgress(o.progress);
unittest.expect(o.reportIndex, unittest.equals('foo'));
checkApproximateReportedProgress(o.reportedProgress);
@@ -3898,30 +3896,30 @@
buildCounterWorkItemStatus--;
}
-buildUnnamed3062() {
+buildUnnamed3172() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3062(core.Map<core.String, core.Object> o) {
+checkUnnamed3172(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted43 = (o["x"]) as core.Map; unittest.expect(casted43, unittest.hasLength(3)); unittest.expect(casted43["list"], unittest.equals([1, 2, 3])); unittest.expect(casted43["bool"], unittest.equals(true)); unittest.expect(casted43["string"], unittest.equals('foo'));
var casted44 = (o["y"]) as core.Map; unittest.expect(casted44, unittest.hasLength(3)); unittest.expect(casted44["list"], unittest.equals([1, 2, 3])); unittest.expect(casted44["bool"], unittest.equals(true)); unittest.expect(casted44["string"], unittest.equals('foo'));
}
-buildUnnamed3063() {
+buildUnnamed3173() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3062());
- o.add(buildUnnamed3062());
+ o.add(buildUnnamed3172());
+ o.add(buildUnnamed3172());
return o;
}
-checkUnnamed3063(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3173(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3062(o[0]);
- checkUnnamed3062(o[1]);
+ checkUnnamed3172(o[0]);
+ checkUnnamed3172(o[1]);
}
core.int buildCounterWorkerHealthReport = 0;
@@ -3929,7 +3927,7 @@
var o = new api.WorkerHealthReport();
buildCounterWorkerHealthReport++;
if (buildCounterWorkerHealthReport < 3) {
- o.pods = buildUnnamed3063();
+ o.pods = buildUnnamed3173();
o.reportInterval = "foo";
o.vmIsHealthy = true;
o.vmStartupTime = "foo";
@@ -3941,7 +3939,7 @@
checkWorkerHealthReport(api.WorkerHealthReport o) {
buildCounterWorkerHealthReport++;
if (buildCounterWorkerHealthReport < 3) {
- checkUnnamed3063(o.pods);
+ checkUnnamed3173(o.pods);
unittest.expect(o.reportInterval, unittest.equals('foo'));
unittest.expect(o.vmIsHealthy, unittest.isTrue);
unittest.expect(o.vmStartupTime, unittest.equals('foo'));
@@ -3968,14 +3966,14 @@
buildCounterWorkerHealthReportResponse--;
}
-buildUnnamed3064() {
+buildUnnamed3174() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3064(core.Map<core.String, core.String> o) {
+checkUnnamed3174(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -3986,7 +3984,7 @@
var o = new api.WorkerMessage();
buildCounterWorkerMessage++;
if (buildCounterWorkerMessage < 3) {
- o.labels = buildUnnamed3064();
+ o.labels = buildUnnamed3174();
o.time = "foo";
o.workerHealthReport = buildWorkerHealthReport();
o.workerMessageCode = buildWorkerMessageCode();
@@ -3999,7 +3997,7 @@
checkWorkerMessage(api.WorkerMessage o) {
buildCounterWorkerMessage++;
if (buildCounterWorkerMessage < 3) {
- checkUnnamed3064(o.labels);
+ checkUnnamed3174(o.labels);
unittest.expect(o.time, unittest.equals('foo'));
checkWorkerHealthReport(o.workerHealthReport);
checkWorkerMessageCode(o.workerMessageCode);
@@ -4008,14 +4006,14 @@
buildCounterWorkerMessage--;
}
-buildUnnamed3065() {
+buildUnnamed3175() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3065(core.Map<core.String, core.Object> o) {
+checkUnnamed3175(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted45 = (o["x"]) as core.Map; unittest.expect(casted45, unittest.hasLength(3)); unittest.expect(casted45["list"], unittest.equals([1, 2, 3])); unittest.expect(casted45["bool"], unittest.equals(true)); unittest.expect(casted45["string"], unittest.equals('foo'));
var casted46 = (o["y"]) as core.Map; unittest.expect(casted46, unittest.hasLength(3)); unittest.expect(casted46["list"], unittest.equals([1, 2, 3])); unittest.expect(casted46["bool"], unittest.equals(true)); unittest.expect(casted46["string"], unittest.equals('foo'));
@@ -4027,7 +4025,7 @@
buildCounterWorkerMessageCode++;
if (buildCounterWorkerMessageCode < 3) {
o.code = "foo";
- o.parameters = buildUnnamed3065();
+ o.parameters = buildUnnamed3175();
}
buildCounterWorkerMessageCode--;
return o;
@@ -4037,7 +4035,7 @@
buildCounterWorkerMessageCode++;
if (buildCounterWorkerMessageCode < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed3065(o.parameters);
+ checkUnnamed3175(o.parameters);
}
buildCounterWorkerMessageCode--;
}
@@ -4063,53 +4061,53 @@
buildCounterWorkerMessageResponse--;
}
-buildUnnamed3066() {
+buildUnnamed3176() {
var o = new core.List<api.Disk>();
o.add(buildDisk());
o.add(buildDisk());
return o;
}
-checkUnnamed3066(core.List<api.Disk> o) {
+checkUnnamed3176(core.List<api.Disk> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisk(o[0]);
checkDisk(o[1]);
}
-buildUnnamed3067() {
+buildUnnamed3177() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3067(core.Map<core.String, core.String> o) {
+checkUnnamed3177(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3068() {
+buildUnnamed3178() {
var o = new core.List<api.Package>();
o.add(buildPackage());
o.add(buildPackage());
return o;
}
-checkUnnamed3068(core.List<api.Package> o) {
+checkUnnamed3178(core.List<api.Package> o) {
unittest.expect(o, unittest.hasLength(2));
checkPackage(o[0]);
checkPackage(o[1]);
}
-buildUnnamed3069() {
+buildUnnamed3179() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3069(core.Map<core.String, core.Object> o) {
+checkUnnamed3179(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted47 = (o["x"]) as core.Map; unittest.expect(casted47, unittest.hasLength(3)); unittest.expect(casted47["list"], unittest.equals([1, 2, 3])); unittest.expect(casted47["bool"], unittest.equals(true)); unittest.expect(casted47["string"], unittest.equals('foo'));
var casted48 = (o["y"]) as core.Map; unittest.expect(casted48, unittest.hasLength(3)); unittest.expect(casted48["list"], unittest.equals([1, 2, 3])); unittest.expect(casted48["bool"], unittest.equals(true)); unittest.expect(casted48["string"], unittest.equals('foo'));
@@ -4121,7 +4119,7 @@
buildCounterWorkerPool++;
if (buildCounterWorkerPool < 3) {
o.autoscalingSettings = buildAutoscalingSettings();
- o.dataDisks = buildUnnamed3066();
+ o.dataDisks = buildUnnamed3176();
o.defaultPackageSet = "foo";
o.diskSizeGb = 42;
o.diskSourceImage = "foo";
@@ -4129,13 +4127,13 @@
o.ipConfiguration = "foo";
o.kind = "foo";
o.machineType = "foo";
- o.metadata = buildUnnamed3067();
+ o.metadata = buildUnnamed3177();
o.network = "foo";
o.numThreadsPerWorker = 42;
o.numWorkers = 42;
o.onHostMaintenance = "foo";
- o.packages = buildUnnamed3068();
- o.poolArgs = buildUnnamed3069();
+ o.packages = buildUnnamed3178();
+ o.poolArgs = buildUnnamed3179();
o.subnetwork = "foo";
o.taskrunnerSettings = buildTaskRunnerSettings();
o.teardownPolicy = "foo";
@@ -4150,7 +4148,7 @@
buildCounterWorkerPool++;
if (buildCounterWorkerPool < 3) {
checkAutoscalingSettings(o.autoscalingSettings);
- checkUnnamed3066(o.dataDisks);
+ checkUnnamed3176(o.dataDisks);
unittest.expect(o.defaultPackageSet, unittest.equals('foo'));
unittest.expect(o.diskSizeGb, unittest.equals(42));
unittest.expect(o.diskSourceImage, unittest.equals('foo'));
@@ -4158,13 +4156,13 @@
unittest.expect(o.ipConfiguration, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.machineType, unittest.equals('foo'));
- checkUnnamed3067(o.metadata);
+ checkUnnamed3177(o.metadata);
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.numThreadsPerWorker, unittest.equals(42));
unittest.expect(o.numWorkers, unittest.equals(42));
unittest.expect(o.onHostMaintenance, unittest.equals('foo'));
- checkUnnamed3068(o.packages);
- checkUnnamed3069(o.poolArgs);
+ checkUnnamed3178(o.packages);
+ checkUnnamed3179(o.poolArgs);
unittest.expect(o.subnetwork, unittest.equals('foo'));
checkTaskRunnerSettings(o.taskrunnerSettings);
unittest.expect(o.teardownPolicy, unittest.equals('foo'));
@@ -5415,8 +5413,8 @@
api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs;
var arg_projectId = "foo";
var arg_jobId = "foo";
- var arg_location = "foo";
var arg_view = "foo";
+ var arg_location = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5453,8 +5451,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["location"].first, unittest.equals(arg_location));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
+ unittest.expect(queryMap["location"].first, unittest.equals(arg_location));
var h = {
@@ -5463,7 +5461,7 @@
var resp = convert.JSON.encode(buildJob());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_projectId, arg_jobId, location: arg_location, view: arg_view).then(unittest.expectAsync(((api.Job response) {
+ res.get(arg_projectId, arg_jobId, view: arg_view, location: arg_location).then(unittest.expectAsync(((api.Job response) {
checkJob(response);
})));
});
@@ -5793,12 +5791,12 @@
api.ProjectsJobsMessagesResourceApi res = new api.DataflowApi(mock).projects.jobs.messages;
var arg_projectId = "foo";
var arg_jobId = "foo";
- var arg_startTime = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_minimumImportance = "foo";
- var arg_location = "foo";
var arg_endTime = "foo";
+ var arg_location = "foo";
+ var arg_pageToken = "foo";
+ var arg_startTime = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5839,12 +5837,12 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTime));
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["minimumImportance"].first, unittest.equals(arg_minimumImportance));
- unittest.expect(queryMap["location"].first, unittest.equals(arg_location));
unittest.expect(queryMap["endTime"].first, unittest.equals(arg_endTime));
+ unittest.expect(queryMap["location"].first, unittest.equals(arg_location));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTime));
var h = {
@@ -5853,7 +5851,7 @@
var resp = convert.JSON.encode(buildListJobMessagesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, arg_jobId, startTime: arg_startTime, pageToken: arg_pageToken, pageSize: arg_pageSize, minimumImportance: arg_minimumImportance, location: arg_location, endTime: arg_endTime).then(unittest.expectAsync(((api.ListJobMessagesResponse response) {
+ res.list(arg_projectId, arg_jobId, pageSize: arg_pageSize, minimumImportance: arg_minimumImportance, endTime: arg_endTime, location: arg_location, pageToken: arg_pageToken, startTime: arg_startTime).then(unittest.expectAsync(((api.ListJobMessagesResponse response) {
checkListJobMessagesResponse(response);
})));
});
@@ -5999,8 +5997,8 @@
var arg_request = buildJob();
var arg_projectId = "foo";
var arg_location = "foo";
- var arg_replaceJobId = "foo";
var arg_view = "foo";
+ var arg_replaceJobId = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.Job.fromJson(json);
checkJob(obj);
@@ -6044,8 +6042,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["replaceJobId"].first, unittest.equals(arg_replaceJobId));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
+ unittest.expect(queryMap["replaceJobId"].first, unittest.equals(arg_replaceJobId));
var h = {
@@ -6054,7 +6052,7 @@
var resp = convert.JSON.encode(buildJob());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.create(arg_request, arg_projectId, arg_location, replaceJobId: arg_replaceJobId, view: arg_view).then(unittest.expectAsync(((api.Job response) {
+ res.create(arg_request, arg_projectId, arg_location, view: arg_view, replaceJobId: arg_replaceJobId).then(unittest.expectAsync(((api.Job response) {
checkJob(response);
})));
});
@@ -6199,10 +6197,10 @@
api.ProjectsLocationsJobsResourceApi res = new api.DataflowApi(mock).projects.locations.jobs;
var arg_projectId = "foo";
var arg_location = "foo";
- var arg_filter = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_view = "foo";
+ var arg_filter = "foo";
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -6243,10 +6241,10 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -6255,7 +6253,7 @@
var resp = convert.JSON.encode(buildListJobsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, arg_location, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize, view: arg_view).then(unittest.expectAsync(((api.ListJobsResponse response) {
+ res.list(arg_projectId, arg_location, pageSize: arg_pageSize, view: arg_view, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListJobsResponse response) {
checkListJobsResponse(response);
})));
});
@@ -6674,8 +6672,8 @@
api.ProjectsTemplatesResourceApi res = new api.DataflowApi(mock).projects.templates;
var arg_request = buildLaunchTemplateParameters();
var arg_projectId = "foo";
- var arg_dryRun = true;
var arg_gcsPath = "foo";
+ var arg_dryRun = true;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.LaunchTemplateParameters.fromJson(json);
checkLaunchTemplateParameters(obj);
@@ -6712,8 +6710,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun"));
unittest.expect(queryMap["gcsPath"].first, unittest.equals(arg_gcsPath));
+ unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun"));
var h = {
@@ -6722,7 +6720,7 @@
var resp = convert.JSON.encode(buildLaunchTemplateResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.launch(arg_request, arg_projectId, dryRun: arg_dryRun, gcsPath: arg_gcsPath).then(unittest.expectAsync(((api.LaunchTemplateResponse response) {
+ res.launch(arg_request, arg_projectId, gcsPath: arg_gcsPath, dryRun: arg_dryRun).then(unittest.expectAsync(((api.LaunchTemplateResponse response) {
checkLaunchTemplateResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/dataproc/v1beta1_test.dart b/generated/googleapis_beta/test/dataproc/v1beta1_test.dart
index 8910b81..9913ca3 100644
--- a/generated/googleapis_beta/test/dataproc/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/dataproc/v1beta1_test.dart
@@ -106,27 +106,27 @@
buildCounterCancelOperationRequest--;
}
-buildUnnamed3118() {
+buildUnnamed3210() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3118(core.Map<core.String, core.String> o) {
+checkUnnamed3210(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3119() {
+buildUnnamed3211() {
var o = new core.List<api.ClusterStatus>();
o.add(buildClusterStatus());
o.add(buildClusterStatus());
return o;
}
-checkUnnamed3119(core.List<api.ClusterStatus> o) {
+checkUnnamed3211(core.List<api.ClusterStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkClusterStatus(o[0]);
checkClusterStatus(o[1]);
@@ -140,11 +140,11 @@
o.clusterName = "foo";
o.clusterUuid = "foo";
o.configuration = buildClusterConfiguration();
- o.labels = buildUnnamed3118();
+ o.labels = buildUnnamed3210();
o.metrics = buildClusterMetrics();
o.projectId = "foo";
o.status = buildClusterStatus();
- o.statusHistory = buildUnnamed3119();
+ o.statusHistory = buildUnnamed3211();
}
buildCounterCluster--;
return o;
@@ -156,23 +156,23 @@
unittest.expect(o.clusterName, unittest.equals('foo'));
unittest.expect(o.clusterUuid, unittest.equals('foo'));
checkClusterConfiguration(o.configuration);
- checkUnnamed3118(o.labels);
+ checkUnnamed3210(o.labels);
checkClusterMetrics(o.metrics);
unittest.expect(o.projectId, unittest.equals('foo'));
checkClusterStatus(o.status);
- checkUnnamed3119(o.statusHistory);
+ checkUnnamed3211(o.statusHistory);
}
buildCounterCluster--;
}
-buildUnnamed3120() {
+buildUnnamed3212() {
var o = new core.List<api.NodeInitializationAction>();
o.add(buildNodeInitializationAction());
o.add(buildNodeInitializationAction());
return o;
}
-checkUnnamed3120(core.List<api.NodeInitializationAction> o) {
+checkUnnamed3212(core.List<api.NodeInitializationAction> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeInitializationAction(o[0]);
checkNodeInitializationAction(o[1]);
@@ -185,7 +185,7 @@
if (buildCounterClusterConfiguration < 3) {
o.configurationBucket = "foo";
o.gceClusterConfiguration = buildGceClusterConfiguration();
- o.initializationActions = buildUnnamed3120();
+ o.initializationActions = buildUnnamed3212();
o.masterConfiguration = buildInstanceGroupConfiguration();
o.secondaryWorkerConfiguration = buildInstanceGroupConfiguration();
o.softwareConfiguration = buildSoftwareConfiguration();
@@ -200,7 +200,7 @@
if (buildCounterClusterConfiguration < 3) {
unittest.expect(o.configurationBucket, unittest.equals('foo'));
checkGceClusterConfiguration(o.gceClusterConfiguration);
- checkUnnamed3120(o.initializationActions);
+ checkUnnamed3212(o.initializationActions);
checkInstanceGroupConfiguration(o.masterConfiguration);
checkInstanceGroupConfiguration(o.secondaryWorkerConfiguration);
checkSoftwareConfiguration(o.softwareConfiguration);
@@ -209,27 +209,27 @@
buildCounterClusterConfiguration--;
}
-buildUnnamed3121() {
+buildUnnamed3213() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3121(core.Map<core.String, core.String> o) {
+checkUnnamed3213(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3122() {
+buildUnnamed3214() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3122(core.Map<core.String, core.String> o) {
+checkUnnamed3214(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -240,8 +240,8 @@
var o = new api.ClusterMetrics();
buildCounterClusterMetrics++;
if (buildCounterClusterMetrics < 3) {
- o.hdfsMetrics = buildUnnamed3121();
- o.yarnMetrics = buildUnnamed3122();
+ o.hdfsMetrics = buildUnnamed3213();
+ o.yarnMetrics = buildUnnamed3214();
}
buildCounterClusterMetrics--;
return o;
@@ -250,46 +250,46 @@
checkClusterMetrics(api.ClusterMetrics o) {
buildCounterClusterMetrics++;
if (buildCounterClusterMetrics < 3) {
- checkUnnamed3121(o.hdfsMetrics);
- checkUnnamed3122(o.yarnMetrics);
+ checkUnnamed3213(o.hdfsMetrics);
+ checkUnnamed3214(o.yarnMetrics);
}
buildCounterClusterMetrics--;
}
-buildUnnamed3123() {
+buildUnnamed3215() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3123(core.Map<core.String, core.String> o) {
+checkUnnamed3215(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3124() {
+buildUnnamed3216() {
var o = new core.List<api.ClusterOperationStatus>();
o.add(buildClusterOperationStatus());
o.add(buildClusterOperationStatus());
return o;
}
-checkUnnamed3124(core.List<api.ClusterOperationStatus> o) {
+checkUnnamed3216(core.List<api.ClusterOperationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkClusterOperationStatus(o[0]);
checkClusterOperationStatus(o[1]);
}
-buildUnnamed3125() {
+buildUnnamed3217() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3125(core.List<core.String> o) {
+checkUnnamed3217(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -303,11 +303,11 @@
o.clusterName = "foo";
o.clusterUuid = "foo";
o.description = "foo";
- o.labels = buildUnnamed3123();
+ o.labels = buildUnnamed3215();
o.operationType = "foo";
o.status = buildClusterOperationStatus();
- o.statusHistory = buildUnnamed3124();
- o.warnings = buildUnnamed3125();
+ o.statusHistory = buildUnnamed3216();
+ o.warnings = buildUnnamed3217();
}
buildCounterClusterOperationMetadata--;
return o;
@@ -319,11 +319,11 @@
unittest.expect(o.clusterName, unittest.equals('foo'));
unittest.expect(o.clusterUuid, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed3123(o.labels);
+ checkUnnamed3215(o.labels);
unittest.expect(o.operationType, unittest.equals('foo'));
checkClusterOperationStatus(o.status);
- checkUnnamed3124(o.statusHistory);
- checkUnnamed3125(o.warnings);
+ checkUnnamed3216(o.statusHistory);
+ checkUnnamed3217(o.warnings);
}
buildCounterClusterOperationMetadata--;
}
@@ -361,6 +361,7 @@
o.detail = "foo";
o.state = "foo";
o.stateStartTime = "foo";
+ o.substate = "foo";
}
buildCounterClusterStatus--;
return o;
@@ -372,6 +373,7 @@
unittest.expect(o.detail, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.stateStartTime, unittest.equals('foo'));
+ unittest.expect(o.substate, unittest.equals('foo'));
}
buildCounterClusterStatus--;
}
@@ -469,40 +471,40 @@
buildCounterEmpty--;
}
-buildUnnamed3126() {
+buildUnnamed3218() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3126(core.Map<core.String, core.String> o) {
+checkUnnamed3218(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3127() {
+buildUnnamed3219() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3127(core.List<core.String> o) {
+checkUnnamed3219(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3128() {
+buildUnnamed3220() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3128(core.List<core.String> o) {
+checkUnnamed3220(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -514,12 +516,12 @@
buildCounterGceClusterConfiguration++;
if (buildCounterGceClusterConfiguration < 3) {
o.internalIpOnly = true;
- o.metadata = buildUnnamed3126();
+ o.metadata = buildUnnamed3218();
o.networkUri = "foo";
o.serviceAccount = "foo";
- o.serviceAccountScopes = buildUnnamed3127();
+ o.serviceAccountScopes = buildUnnamed3219();
o.subnetworkUri = "foo";
- o.tags = buildUnnamed3128();
+ o.tags = buildUnnamed3220();
o.zoneUri = "foo";
}
buildCounterGceClusterConfiguration--;
@@ -530,77 +532,77 @@
buildCounterGceClusterConfiguration++;
if (buildCounterGceClusterConfiguration < 3) {
unittest.expect(o.internalIpOnly, unittest.isTrue);
- checkUnnamed3126(o.metadata);
+ checkUnnamed3218(o.metadata);
unittest.expect(o.networkUri, unittest.equals('foo'));
unittest.expect(o.serviceAccount, unittest.equals('foo'));
- checkUnnamed3127(o.serviceAccountScopes);
+ checkUnnamed3219(o.serviceAccountScopes);
unittest.expect(o.subnetworkUri, unittest.equals('foo'));
- checkUnnamed3128(o.tags);
+ checkUnnamed3220(o.tags);
unittest.expect(o.zoneUri, unittest.equals('foo'));
}
buildCounterGceClusterConfiguration--;
}
-buildUnnamed3129() {
+buildUnnamed3221() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3129(core.List<core.String> o) {
+checkUnnamed3221(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3130() {
+buildUnnamed3222() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3130(core.List<core.String> o) {
+checkUnnamed3222(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3131() {
+buildUnnamed3223() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3131(core.List<core.String> o) {
+checkUnnamed3223(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3132() {
+buildUnnamed3224() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3132(core.List<core.String> o) {
+checkUnnamed3224(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3133() {
+buildUnnamed3225() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3133(core.Map<core.String, core.String> o) {
+checkUnnamed3225(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -611,14 +613,14 @@
var o = new api.HadoopJob();
buildCounterHadoopJob++;
if (buildCounterHadoopJob < 3) {
- o.archiveUris = buildUnnamed3129();
- o.args = buildUnnamed3130();
- o.fileUris = buildUnnamed3131();
- o.jarFileUris = buildUnnamed3132();
+ o.archiveUris = buildUnnamed3221();
+ o.args = buildUnnamed3222();
+ o.fileUris = buildUnnamed3223();
+ o.jarFileUris = buildUnnamed3224();
o.loggingConfiguration = buildLoggingConfiguration();
o.mainClass = "foo";
o.mainJarFileUri = "foo";
- o.properties = buildUnnamed3133();
+ o.properties = buildUnnamed3225();
}
buildCounterHadoopJob--;
return o;
@@ -627,52 +629,52 @@
checkHadoopJob(api.HadoopJob o) {
buildCounterHadoopJob++;
if (buildCounterHadoopJob < 3) {
- checkUnnamed3129(o.archiveUris);
- checkUnnamed3130(o.args);
- checkUnnamed3131(o.fileUris);
- checkUnnamed3132(o.jarFileUris);
+ checkUnnamed3221(o.archiveUris);
+ checkUnnamed3222(o.args);
+ checkUnnamed3223(o.fileUris);
+ checkUnnamed3224(o.jarFileUris);
checkLoggingConfiguration(o.loggingConfiguration);
unittest.expect(o.mainClass, unittest.equals('foo'));
unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
- checkUnnamed3133(o.properties);
+ checkUnnamed3225(o.properties);
}
buildCounterHadoopJob--;
}
-buildUnnamed3134() {
+buildUnnamed3226() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3134(core.List<core.String> o) {
+checkUnnamed3226(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3135() {
+buildUnnamed3227() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3135(core.Map<core.String, core.String> o) {
+checkUnnamed3227(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3136() {
+buildUnnamed3228() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3136(core.Map<core.String, core.String> o) {
+checkUnnamed3228(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -684,11 +686,11 @@
buildCounterHiveJob++;
if (buildCounterHiveJob < 3) {
o.continueOnFailure = true;
- o.jarFileUris = buildUnnamed3134();
- o.properties = buildUnnamed3135();
+ o.jarFileUris = buildUnnamed3226();
+ o.properties = buildUnnamed3227();
o.queryFileUri = "foo";
o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed3136();
+ o.scriptVariables = buildUnnamed3228();
}
buildCounterHiveJob--;
return o;
@@ -698,36 +700,36 @@
buildCounterHiveJob++;
if (buildCounterHiveJob < 3) {
unittest.expect(o.continueOnFailure, unittest.isTrue);
- checkUnnamed3134(o.jarFileUris);
- checkUnnamed3135(o.properties);
+ checkUnnamed3226(o.jarFileUris);
+ checkUnnamed3227(o.properties);
unittest.expect(o.queryFileUri, unittest.equals('foo'));
checkQueryList(o.queryList);
- checkUnnamed3136(o.scriptVariables);
+ checkUnnamed3228(o.scriptVariables);
}
buildCounterHiveJob--;
}
-buildUnnamed3137() {
+buildUnnamed3229() {
var o = new core.List<api.AcceleratorConfiguration>();
o.add(buildAcceleratorConfiguration());
o.add(buildAcceleratorConfiguration());
return o;
}
-checkUnnamed3137(core.List<api.AcceleratorConfiguration> o) {
+checkUnnamed3229(core.List<api.AcceleratorConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfiguration(o[0]);
checkAcceleratorConfiguration(o[1]);
}
-buildUnnamed3138() {
+buildUnnamed3230() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3138(core.List<core.String> o) {
+checkUnnamed3230(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -738,10 +740,10 @@
var o = new api.InstanceGroupConfiguration();
buildCounterInstanceGroupConfiguration++;
if (buildCounterInstanceGroupConfiguration < 3) {
- o.accelerators = buildUnnamed3137();
+ o.accelerators = buildUnnamed3229();
o.diskConfiguration = buildDiskConfiguration();
o.imageUri = "foo";
- o.instanceNames = buildUnnamed3138();
+ o.instanceNames = buildUnnamed3230();
o.isPreemptible = true;
o.machineTypeUri = "foo";
o.managedGroupConfiguration = buildManagedGroupConfiguration();
@@ -754,10 +756,10 @@
checkInstanceGroupConfiguration(api.InstanceGroupConfiguration o) {
buildCounterInstanceGroupConfiguration++;
if (buildCounterInstanceGroupConfiguration < 3) {
- checkUnnamed3137(o.accelerators);
+ checkUnnamed3229(o.accelerators);
checkDiskConfiguration(o.diskConfiguration);
unittest.expect(o.imageUri, unittest.equals('foo'));
- checkUnnamed3138(o.instanceNames);
+ checkUnnamed3230(o.instanceNames);
unittest.expect(o.isPreemptible, unittest.isTrue);
unittest.expect(o.machineTypeUri, unittest.equals('foo'));
checkManagedGroupConfiguration(o.managedGroupConfiguration);
@@ -766,40 +768,40 @@
buildCounterInstanceGroupConfiguration--;
}
-buildUnnamed3139() {
+buildUnnamed3231() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3139(core.Map<core.String, core.String> o) {
+checkUnnamed3231(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3140() {
+buildUnnamed3232() {
var o = new core.List<api.JobStatus>();
o.add(buildJobStatus());
o.add(buildJobStatus());
return o;
}
-checkUnnamed3140(core.List<api.JobStatus> o) {
+checkUnnamed3232(core.List<api.JobStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobStatus(o[0]);
checkJobStatus(o[1]);
}
-buildUnnamed3141() {
+buildUnnamed3233() {
var o = new core.List<api.YarnApplication>();
o.add(buildYarnApplication());
o.add(buildYarnApplication());
return o;
}
-checkUnnamed3141(core.List<api.YarnApplication> o) {
+checkUnnamed3233(core.List<api.YarnApplication> o) {
unittest.expect(o, unittest.hasLength(2));
checkYarnApplication(o[0]);
checkYarnApplication(o[1]);
@@ -816,7 +818,7 @@
o.hadoopJob = buildHadoopJob();
o.hiveJob = buildHiveJob();
o.interactive = true;
- o.labels = buildUnnamed3139();
+ o.labels = buildUnnamed3231();
o.pigJob = buildPigJob();
o.placement = buildJobPlacement();
o.pysparkJob = buildPySparkJob();
@@ -825,9 +827,9 @@
o.sparkJob = buildSparkJob();
o.sparkSqlJob = buildSparkSqlJob();
o.status = buildJobStatus();
- o.statusHistory = buildUnnamed3140();
+ o.statusHistory = buildUnnamed3232();
o.submittedBy = "foo";
- o.yarnApplications = buildUnnamed3141();
+ o.yarnApplications = buildUnnamed3233();
}
buildCounterJob--;
return o;
@@ -842,7 +844,7 @@
checkHadoopJob(o.hadoopJob);
checkHiveJob(o.hiveJob);
unittest.expect(o.interactive, unittest.isTrue);
- checkUnnamed3139(o.labels);
+ checkUnnamed3231(o.labels);
checkPigJob(o.pigJob);
checkJobPlacement(o.placement);
checkPySparkJob(o.pysparkJob);
@@ -851,9 +853,9 @@
checkSparkJob(o.sparkJob);
checkSparkSqlJob(o.sparkSqlJob);
checkJobStatus(o.status);
- checkUnnamed3140(o.statusHistory);
+ checkUnnamed3232(o.statusHistory);
unittest.expect(o.submittedBy, unittest.equals('foo'));
- checkUnnamed3141(o.yarnApplications);
+ checkUnnamed3233(o.yarnApplications);
}
buildCounterJob--;
}
@@ -927,6 +929,7 @@
o.details = "foo";
o.state = "foo";
o.stateStartTime = "foo";
+ o.substate = "foo";
}
buildCounterJobStatus--;
return o;
@@ -938,18 +941,19 @@
unittest.expect(o.details, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.stateStartTime, unittest.equals('foo'));
+ unittest.expect(o.substate, unittest.equals('foo'));
}
buildCounterJobStatus--;
}
-buildUnnamed3142() {
+buildUnnamed3234() {
var o = new core.List<api.Cluster>();
o.add(buildCluster());
o.add(buildCluster());
return o;
}
-checkUnnamed3142(core.List<api.Cluster> o) {
+checkUnnamed3234(core.List<api.Cluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkCluster(o[0]);
checkCluster(o[1]);
@@ -960,7 +964,7 @@
var o = new api.ListClustersResponse();
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- o.clusters = buildUnnamed3142();
+ o.clusters = buildUnnamed3234();
o.nextPageToken = "foo";
}
buildCounterListClustersResponse--;
@@ -970,20 +974,20 @@
checkListClustersResponse(api.ListClustersResponse o) {
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- checkUnnamed3142(o.clusters);
+ checkUnnamed3234(o.clusters);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListClustersResponse--;
}
-buildUnnamed3143() {
+buildUnnamed3235() {
var o = new core.List<api.Job>();
o.add(buildJob());
o.add(buildJob());
return o;
}
-checkUnnamed3143(core.List<api.Job> o) {
+checkUnnamed3235(core.List<api.Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkJob(o[0]);
checkJob(o[1]);
@@ -994,7 +998,7 @@
var o = new api.ListJobsResponse();
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- o.jobs = buildUnnamed3143();
+ o.jobs = buildUnnamed3235();
o.nextPageToken = "foo";
}
buildCounterListJobsResponse--;
@@ -1004,20 +1008,20 @@
checkListJobsResponse(api.ListJobsResponse o) {
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- checkUnnamed3143(o.jobs);
+ checkUnnamed3235(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListJobsResponse--;
}
-buildUnnamed3144() {
+buildUnnamed3236() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3144(core.List<api.Operation> o) {
+checkUnnamed3236(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1029,7 +1033,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3144();
+ o.operations = buildUnnamed3236();
}
buildCounterListOperationsResponse--;
return o;
@@ -1039,19 +1043,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3144(o.operations);
+ checkUnnamed3236(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed3145() {
+buildUnnamed3237() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3145(core.Map<core.String, core.String> o) {
+checkUnnamed3237(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1062,7 +1066,7 @@
var o = new api.LoggingConfiguration();
buildCounterLoggingConfiguration++;
if (buildCounterLoggingConfiguration < 3) {
- o.driverLogLevels = buildUnnamed3145();
+ o.driverLogLevels = buildUnnamed3237();
}
buildCounterLoggingConfiguration--;
return o;
@@ -1071,7 +1075,7 @@
checkLoggingConfiguration(api.LoggingConfiguration o) {
buildCounterLoggingConfiguration++;
if (buildCounterLoggingConfiguration < 3) {
- checkUnnamed3145(o.driverLogLevels);
+ checkUnnamed3237(o.driverLogLevels);
}
buildCounterLoggingConfiguration--;
}
@@ -1118,27 +1122,27 @@
buildCounterNodeInitializationAction--;
}
-buildUnnamed3146() {
+buildUnnamed3238() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3146(core.Map<core.String, core.Object> o) {
+checkUnnamed3238(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed3147() {
+buildUnnamed3239() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3147(core.Map<core.String, core.Object> o) {
+checkUnnamed3239(core.Map<core.String, core.Object> 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'));
@@ -1151,9 +1155,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3146();
+ o.metadata = buildUnnamed3238();
o.name = "foo";
- o.response = buildUnnamed3147();
+ o.response = buildUnnamed3239();
}
buildCounterOperation--;
return o;
@@ -1164,34 +1168,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3146(o.metadata);
+ checkUnnamed3238(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3147(o.response);
+ checkUnnamed3239(o.response);
}
buildCounterOperation--;
}
-buildUnnamed3148() {
+buildUnnamed3240() {
var o = new core.List<api.OperationStatus>();
o.add(buildOperationStatus());
o.add(buildOperationStatus());
return o;
}
-checkUnnamed3148(core.List<api.OperationStatus> o) {
+checkUnnamed3240(core.List<api.OperationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationStatus(o[0]);
checkOperationStatus(o[1]);
}
-buildUnnamed3149() {
+buildUnnamed3241() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3149(core.List<core.String> o) {
+checkUnnamed3241(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1207,8 +1211,8 @@
o.description = "foo";
o.operationType = "foo";
o.status = buildOperationStatus();
- o.statusHistory = buildUnnamed3148();
- o.warnings = buildUnnamed3149();
+ o.statusHistory = buildUnnamed3240();
+ o.warnings = buildUnnamed3241();
}
buildCounterOperationMetadata--;
return o;
@@ -1222,8 +1226,8 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.operationType, unittest.equals('foo'));
checkOperationStatus(o.status);
- checkUnnamed3148(o.statusHistory);
- checkUnnamed3149(o.warnings);
+ checkUnnamed3240(o.statusHistory);
+ checkUnnamed3241(o.warnings);
}
buildCounterOperationMetadata--;
}
@@ -1253,40 +1257,40 @@
buildCounterOperationStatus--;
}
-buildUnnamed3150() {
+buildUnnamed3242() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3150(core.List<core.String> o) {
+checkUnnamed3242(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3151() {
+buildUnnamed3243() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3151(core.Map<core.String, core.String> o) {
+checkUnnamed3243(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3152() {
+buildUnnamed3244() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3152(core.Map<core.String, core.String> o) {
+checkUnnamed3244(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1298,12 +1302,12 @@
buildCounterPigJob++;
if (buildCounterPigJob < 3) {
o.continueOnFailure = true;
- o.jarFileUris = buildUnnamed3150();
+ o.jarFileUris = buildUnnamed3242();
o.loggingConfiguration = buildLoggingConfiguration();
- o.properties = buildUnnamed3151();
+ o.properties = buildUnnamed3243();
o.queryFileUri = "foo";
o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed3152();
+ o.scriptVariables = buildUnnamed3244();
}
buildCounterPigJob--;
return o;
@@ -1313,89 +1317,89 @@
buildCounterPigJob++;
if (buildCounterPigJob < 3) {
unittest.expect(o.continueOnFailure, unittest.isTrue);
- checkUnnamed3150(o.jarFileUris);
+ checkUnnamed3242(o.jarFileUris);
checkLoggingConfiguration(o.loggingConfiguration);
- checkUnnamed3151(o.properties);
+ checkUnnamed3243(o.properties);
unittest.expect(o.queryFileUri, unittest.equals('foo'));
checkQueryList(o.queryList);
- checkUnnamed3152(o.scriptVariables);
+ checkUnnamed3244(o.scriptVariables);
}
buildCounterPigJob--;
}
-buildUnnamed3153() {
+buildUnnamed3245() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3153(core.List<core.String> o) {
+checkUnnamed3245(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3154() {
+buildUnnamed3246() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3154(core.List<core.String> o) {
+checkUnnamed3246(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3155() {
+buildUnnamed3247() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3155(core.List<core.String> o) {
+checkUnnamed3247(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3156() {
+buildUnnamed3248() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3156(core.List<core.String> o) {
+checkUnnamed3248(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3157() {
+buildUnnamed3249() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3157(core.Map<core.String, core.String> o) {
+checkUnnamed3249(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3158() {
+buildUnnamed3250() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3158(core.List<core.String> o) {
+checkUnnamed3250(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1406,14 +1410,14 @@
var o = new api.PySparkJob();
buildCounterPySparkJob++;
if (buildCounterPySparkJob < 3) {
- o.archiveUris = buildUnnamed3153();
- o.args = buildUnnamed3154();
- o.fileUris = buildUnnamed3155();
- o.jarFileUris = buildUnnamed3156();
+ o.archiveUris = buildUnnamed3245();
+ o.args = buildUnnamed3246();
+ o.fileUris = buildUnnamed3247();
+ o.jarFileUris = buildUnnamed3248();
o.loggingConfiguration = buildLoggingConfiguration();
o.mainPythonFileUri = "foo";
- o.properties = buildUnnamed3157();
- o.pythonFileUris = buildUnnamed3158();
+ o.properties = buildUnnamed3249();
+ o.pythonFileUris = buildUnnamed3250();
}
buildCounterPySparkJob--;
return o;
@@ -1422,26 +1426,26 @@
checkPySparkJob(api.PySparkJob o) {
buildCounterPySparkJob++;
if (buildCounterPySparkJob < 3) {
- checkUnnamed3153(o.archiveUris);
- checkUnnamed3154(o.args);
- checkUnnamed3155(o.fileUris);
- checkUnnamed3156(o.jarFileUris);
+ checkUnnamed3245(o.archiveUris);
+ checkUnnamed3246(o.args);
+ checkUnnamed3247(o.fileUris);
+ checkUnnamed3248(o.jarFileUris);
checkLoggingConfiguration(o.loggingConfiguration);
unittest.expect(o.mainPythonFileUri, unittest.equals('foo'));
- checkUnnamed3157(o.properties);
- checkUnnamed3158(o.pythonFileUris);
+ checkUnnamed3249(o.properties);
+ checkUnnamed3250(o.pythonFileUris);
}
buildCounterPySparkJob--;
}
-buildUnnamed3159() {
+buildUnnamed3251() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3159(core.List<core.String> o) {
+checkUnnamed3251(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1452,7 +1456,7 @@
var o = new api.QueryList();
buildCounterQueryList++;
if (buildCounterQueryList < 3) {
- o.queries = buildUnnamed3159();
+ o.queries = buildUnnamed3251();
}
buildCounterQueryList--;
return o;
@@ -1461,19 +1465,19 @@
checkQueryList(api.QueryList o) {
buildCounterQueryList++;
if (buildCounterQueryList < 3) {
- checkUnnamed3159(o.queries);
+ checkUnnamed3251(o.queries);
}
buildCounterQueryList--;
}
-buildUnnamed3160() {
+buildUnnamed3252() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3160(core.Map<core.String, core.String> o) {
+checkUnnamed3252(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1485,7 +1489,7 @@
buildCounterSoftwareConfiguration++;
if (buildCounterSoftwareConfiguration < 3) {
o.imageVersion = "foo";
- o.properties = buildUnnamed3160();
+ o.properties = buildUnnamed3252();
}
buildCounterSoftwareConfiguration--;
return o;
@@ -1495,71 +1499,71 @@
buildCounterSoftwareConfiguration++;
if (buildCounterSoftwareConfiguration < 3) {
unittest.expect(o.imageVersion, unittest.equals('foo'));
- checkUnnamed3160(o.properties);
+ checkUnnamed3252(o.properties);
}
buildCounterSoftwareConfiguration--;
}
-buildUnnamed3161() {
+buildUnnamed3253() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3161(core.List<core.String> o) {
+checkUnnamed3253(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3162() {
+buildUnnamed3254() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3162(core.List<core.String> o) {
+checkUnnamed3254(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3163() {
+buildUnnamed3255() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3163(core.List<core.String> o) {
+checkUnnamed3255(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3164() {
+buildUnnamed3256() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3164(core.List<core.String> o) {
+checkUnnamed3256(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3165() {
+buildUnnamed3257() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3165(core.Map<core.String, core.String> o) {
+checkUnnamed3257(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1570,14 +1574,14 @@
var o = new api.SparkJob();
buildCounterSparkJob++;
if (buildCounterSparkJob < 3) {
- o.archiveUris = buildUnnamed3161();
- o.args = buildUnnamed3162();
- o.fileUris = buildUnnamed3163();
- o.jarFileUris = buildUnnamed3164();
+ o.archiveUris = buildUnnamed3253();
+ o.args = buildUnnamed3254();
+ o.fileUris = buildUnnamed3255();
+ o.jarFileUris = buildUnnamed3256();
o.loggingConfiguration = buildLoggingConfiguration();
o.mainClass = "foo";
o.mainJarFileUri = "foo";
- o.properties = buildUnnamed3165();
+ o.properties = buildUnnamed3257();
}
buildCounterSparkJob--;
return o;
@@ -1586,52 +1590,52 @@
checkSparkJob(api.SparkJob o) {
buildCounterSparkJob++;
if (buildCounterSparkJob < 3) {
- checkUnnamed3161(o.archiveUris);
- checkUnnamed3162(o.args);
- checkUnnamed3163(o.fileUris);
- checkUnnamed3164(o.jarFileUris);
+ checkUnnamed3253(o.archiveUris);
+ checkUnnamed3254(o.args);
+ checkUnnamed3255(o.fileUris);
+ checkUnnamed3256(o.jarFileUris);
checkLoggingConfiguration(o.loggingConfiguration);
unittest.expect(o.mainClass, unittest.equals('foo'));
unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
- checkUnnamed3165(o.properties);
+ checkUnnamed3257(o.properties);
}
buildCounterSparkJob--;
}
-buildUnnamed3166() {
+buildUnnamed3258() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3166(core.List<core.String> o) {
+checkUnnamed3258(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3167() {
+buildUnnamed3259() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3167(core.Map<core.String, core.String> o) {
+checkUnnamed3259(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3168() {
+buildUnnamed3260() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3168(core.Map<core.String, core.String> o) {
+checkUnnamed3260(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1642,12 +1646,12 @@
var o = new api.SparkSqlJob();
buildCounterSparkSqlJob++;
if (buildCounterSparkSqlJob < 3) {
- o.jarFileUris = buildUnnamed3166();
+ o.jarFileUris = buildUnnamed3258();
o.loggingConfiguration = buildLoggingConfiguration();
- o.properties = buildUnnamed3167();
+ o.properties = buildUnnamed3259();
o.queryFileUri = "foo";
o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed3168();
+ o.scriptVariables = buildUnnamed3260();
}
buildCounterSparkSqlJob--;
return o;
@@ -1656,40 +1660,40 @@
checkSparkSqlJob(api.SparkSqlJob o) {
buildCounterSparkSqlJob++;
if (buildCounterSparkSqlJob < 3) {
- checkUnnamed3166(o.jarFileUris);
+ checkUnnamed3258(o.jarFileUris);
checkLoggingConfiguration(o.loggingConfiguration);
- checkUnnamed3167(o.properties);
+ checkUnnamed3259(o.properties);
unittest.expect(o.queryFileUri, unittest.equals('foo'));
checkQueryList(o.queryList);
- checkUnnamed3168(o.scriptVariables);
+ checkUnnamed3260(o.scriptVariables);
}
buildCounterSparkSqlJob--;
}
-buildUnnamed3169() {
+buildUnnamed3261() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3169(core.Map<core.String, core.Object> o) {
+checkUnnamed3261(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed3170() {
+buildUnnamed3262() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3169());
- o.add(buildUnnamed3169());
+ o.add(buildUnnamed3261());
+ o.add(buildUnnamed3261());
return o;
}
-checkUnnamed3170(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3262(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3169(o[0]);
- checkUnnamed3169(o[1]);
+ checkUnnamed3261(o[0]);
+ checkUnnamed3261(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1698,7 +1702,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3170();
+ o.details = buildUnnamed3262();
o.message = "foo";
}
buildCounterStatus--;
@@ -1709,7 +1713,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3170(o.details);
+ checkUnnamed3262(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2558,9 +2562,9 @@
var mock = new HttpServerMock();
api.ProjectsClustersResourceApi res = new api.DataprocApi(mock).projects.clusters;
var arg_projectId = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2594,9 +2598,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -2605,7 +2609,7 @@
var resp = convert.JSON.encode(buildListClustersResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListClustersResponse response) {
+ res.list(arg_projectId, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListClustersResponse response) {
checkListClustersResponse(response);
})));
});
@@ -2853,11 +2857,11 @@
var mock = new HttpServerMock();
api.ProjectsJobsResourceApi res = new api.DataprocApi(mock).projects.jobs;
var arg_projectId = "foo";
- var arg_filter = "foo";
- var arg_jobStateMatcher = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_clusterName = "foo";
+ var arg_filter = "foo";
+ var arg_jobStateMatcher = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2891,11 +2895,11 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(queryMap["jobStateMatcher"].first, unittest.equals(arg_jobStateMatcher));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["clusterName"].first, unittest.equals(arg_clusterName));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["jobStateMatcher"].first, unittest.equals(arg_jobStateMatcher));
var h = {
@@ -2904,7 +2908,7 @@
var resp = convert.JSON.encode(buildListJobsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, filter: arg_filter, jobStateMatcher: arg_jobStateMatcher, pageToken: arg_pageToken, pageSize: arg_pageSize, clusterName: arg_clusterName).then(unittest.expectAsync(((api.ListJobsResponse response) {
+ res.list(arg_projectId, pageToken: arg_pageToken, pageSize: arg_pageSize, clusterName: arg_clusterName, filter: arg_filter, jobStateMatcher: arg_jobStateMatcher).then(unittest.expectAsync(((api.ListJobsResponse response) {
checkListJobsResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/datastore/v1beta2_test.dart b/generated/googleapis_beta/test/datastore/v1beta2_test.dart
index 4dfd165..0e88ab3 100644
--- a/generated/googleapis_beta/test/datastore/v1beta2_test.dart
+++ b/generated/googleapis_beta/test/datastore/v1beta2_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3495() {
+buildUnnamed3593() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed3495(core.List<api.Key> o) {
+checkUnnamed3593(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -69,7 +69,7 @@
var o = new api.AllocateIdsRequest();
buildCounterAllocateIdsRequest++;
if (buildCounterAllocateIdsRequest < 3) {
- o.keys = buildUnnamed3495();
+ o.keys = buildUnnamed3593();
}
buildCounterAllocateIdsRequest--;
return o;
@@ -78,19 +78,19 @@
checkAllocateIdsRequest(api.AllocateIdsRequest o) {
buildCounterAllocateIdsRequest++;
if (buildCounterAllocateIdsRequest < 3) {
- checkUnnamed3495(o.keys);
+ checkUnnamed3593(o.keys);
}
buildCounterAllocateIdsRequest--;
}
-buildUnnamed3496() {
+buildUnnamed3594() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed3496(core.List<api.Key> o) {
+checkUnnamed3594(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -102,7 +102,7 @@
buildCounterAllocateIdsResponse++;
if (buildCounterAllocateIdsResponse < 3) {
o.header = buildResponseHeader();
- o.keys = buildUnnamed3496();
+ o.keys = buildUnnamed3594();
}
buildCounterAllocateIdsResponse--;
return o;
@@ -112,7 +112,7 @@
buildCounterAllocateIdsResponse++;
if (buildCounterAllocateIdsResponse < 3) {
checkResponseHeader(o.header);
- checkUnnamed3496(o.keys);
+ checkUnnamed3594(o.keys);
}
buildCounterAllocateIdsResponse--;
}
@@ -203,14 +203,14 @@
buildCounterCommitResponse--;
}
-buildUnnamed3497() {
+buildUnnamed3595() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed3497(core.List<api.Filter> o) {
+checkUnnamed3595(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -221,7 +221,7 @@
var o = new api.CompositeFilter();
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- o.filters = buildUnnamed3497();
+ o.filters = buildUnnamed3595();
o.operator = "foo";
}
buildCounterCompositeFilter--;
@@ -231,20 +231,20 @@
checkCompositeFilter(api.CompositeFilter o) {
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- checkUnnamed3497(o.filters);
+ checkUnnamed3595(o.filters);
unittest.expect(o.operator, unittest.equals('foo'));
}
buildCounterCompositeFilter--;
}
-buildUnnamed3498() {
+buildUnnamed3596() {
var o = new core.Map<core.String, api.Property>();
o["x"] = buildProperty();
o["y"] = buildProperty();
return o;
}
-checkUnnamed3498(core.Map<core.String, api.Property> o) {
+checkUnnamed3596(core.Map<core.String, api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o["x"]);
checkProperty(o["y"]);
@@ -256,7 +256,7 @@
buildCounterEntity++;
if (buildCounterEntity < 3) {
o.key = buildKey();
- o.properties = buildUnnamed3498();
+ o.properties = buildUnnamed3596();
}
buildCounterEntity--;
return o;
@@ -266,7 +266,7 @@
buildCounterEntity++;
if (buildCounterEntity < 3) {
checkKey(o.key);
- checkUnnamed3498(o.properties);
+ checkUnnamed3596(o.properties);
}
buildCounterEntity--;
}
@@ -311,27 +311,27 @@
buildCounterFilter--;
}
-buildUnnamed3499() {
+buildUnnamed3597() {
var o = new core.List<api.GqlQueryArg>();
o.add(buildGqlQueryArg());
o.add(buildGqlQueryArg());
return o;
}
-checkUnnamed3499(core.List<api.GqlQueryArg> o) {
+checkUnnamed3597(core.List<api.GqlQueryArg> o) {
unittest.expect(o, unittest.hasLength(2));
checkGqlQueryArg(o[0]);
checkGqlQueryArg(o[1]);
}
-buildUnnamed3500() {
+buildUnnamed3598() {
var o = new core.List<api.GqlQueryArg>();
o.add(buildGqlQueryArg());
o.add(buildGqlQueryArg());
return o;
}
-checkUnnamed3500(core.List<api.GqlQueryArg> o) {
+checkUnnamed3598(core.List<api.GqlQueryArg> o) {
unittest.expect(o, unittest.hasLength(2));
checkGqlQueryArg(o[0]);
checkGqlQueryArg(o[1]);
@@ -343,8 +343,8 @@
buildCounterGqlQuery++;
if (buildCounterGqlQuery < 3) {
o.allowLiteral = true;
- o.nameArgs = buildUnnamed3499();
- o.numberArgs = buildUnnamed3500();
+ o.nameArgs = buildUnnamed3597();
+ o.numberArgs = buildUnnamed3598();
o.queryString = "foo";
}
buildCounterGqlQuery--;
@@ -355,8 +355,8 @@
buildCounterGqlQuery++;
if (buildCounterGqlQuery < 3) {
unittest.expect(o.allowLiteral, unittest.isTrue);
- checkUnnamed3499(o.nameArgs);
- checkUnnamed3500(o.numberArgs);
+ checkUnnamed3597(o.nameArgs);
+ checkUnnamed3598(o.numberArgs);
unittest.expect(o.queryString, unittest.equals('foo'));
}
buildCounterGqlQuery--;
@@ -385,14 +385,14 @@
buildCounterGqlQueryArg--;
}
-buildUnnamed3501() {
+buildUnnamed3599() {
var o = new core.List<api.KeyPathElement>();
o.add(buildKeyPathElement());
o.add(buildKeyPathElement());
return o;
}
-checkUnnamed3501(core.List<api.KeyPathElement> o) {
+checkUnnamed3599(core.List<api.KeyPathElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyPathElement(o[0]);
checkKeyPathElement(o[1]);
@@ -404,7 +404,7 @@
buildCounterKey++;
if (buildCounterKey < 3) {
o.partitionId = buildPartitionId();
- o.path = buildUnnamed3501();
+ o.path = buildUnnamed3599();
}
buildCounterKey--;
return o;
@@ -414,7 +414,7 @@
buildCounterKey++;
if (buildCounterKey < 3) {
checkPartitionId(o.partitionId);
- checkUnnamed3501(o.path);
+ checkUnnamed3599(o.path);
}
buildCounterKey--;
}
@@ -461,14 +461,14 @@
buildCounterKindExpression--;
}
-buildUnnamed3502() {
+buildUnnamed3600() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed3502(core.List<api.Key> o) {
+checkUnnamed3600(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -479,7 +479,7 @@
var o = new api.LookupRequest();
buildCounterLookupRequest++;
if (buildCounterLookupRequest < 3) {
- o.keys = buildUnnamed3502();
+ o.keys = buildUnnamed3600();
o.readOptions = buildReadOptions();
}
buildCounterLookupRequest--;
@@ -489,46 +489,46 @@
checkLookupRequest(api.LookupRequest o) {
buildCounterLookupRequest++;
if (buildCounterLookupRequest < 3) {
- checkUnnamed3502(o.keys);
+ checkUnnamed3600(o.keys);
checkReadOptions(o.readOptions);
}
buildCounterLookupRequest--;
}
-buildUnnamed3503() {
+buildUnnamed3601() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed3503(core.List<api.Key> o) {
+checkUnnamed3601(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
}
-buildUnnamed3504() {
+buildUnnamed3602() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed3504(core.List<api.EntityResult> o) {
+checkUnnamed3602(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
}
-buildUnnamed3505() {
+buildUnnamed3603() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed3505(core.List<api.EntityResult> o) {
+checkUnnamed3603(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
@@ -539,10 +539,10 @@
var o = new api.LookupResponse();
buildCounterLookupResponse++;
if (buildCounterLookupResponse < 3) {
- o.deferred = buildUnnamed3503();
- o.found = buildUnnamed3504();
+ o.deferred = buildUnnamed3601();
+ o.found = buildUnnamed3602();
o.header = buildResponseHeader();
- o.missing = buildUnnamed3505();
+ o.missing = buildUnnamed3603();
}
buildCounterLookupResponse--;
return o;
@@ -551,74 +551,74 @@
checkLookupResponse(api.LookupResponse o) {
buildCounterLookupResponse++;
if (buildCounterLookupResponse < 3) {
- checkUnnamed3503(o.deferred);
- checkUnnamed3504(o.found);
+ checkUnnamed3601(o.deferred);
+ checkUnnamed3602(o.found);
checkResponseHeader(o.header);
- checkUnnamed3505(o.missing);
+ checkUnnamed3603(o.missing);
}
buildCounterLookupResponse--;
}
-buildUnnamed3506() {
+buildUnnamed3604() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed3506(core.List<api.Key> o) {
+checkUnnamed3604(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
}
-buildUnnamed3507() {
+buildUnnamed3605() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed3507(core.List<api.Entity> o) {
+checkUnnamed3605(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
}
-buildUnnamed3508() {
+buildUnnamed3606() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed3508(core.List<api.Entity> o) {
+checkUnnamed3606(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
}
-buildUnnamed3509() {
+buildUnnamed3607() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed3509(core.List<api.Entity> o) {
+checkUnnamed3607(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
}
-buildUnnamed3510() {
+buildUnnamed3608() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed3510(core.List<api.Entity> o) {
+checkUnnamed3608(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
@@ -629,12 +629,12 @@
var o = new api.Mutation();
buildCounterMutation++;
if (buildCounterMutation < 3) {
- o.delete = buildUnnamed3506();
+ o.delete = buildUnnamed3604();
o.force = true;
- o.insert = buildUnnamed3507();
- o.insertAutoId = buildUnnamed3508();
- o.update = buildUnnamed3509();
- o.upsert = buildUnnamed3510();
+ o.insert = buildUnnamed3605();
+ o.insertAutoId = buildUnnamed3606();
+ o.update = buildUnnamed3607();
+ o.upsert = buildUnnamed3608();
}
buildCounterMutation--;
return o;
@@ -643,24 +643,24 @@
checkMutation(api.Mutation o) {
buildCounterMutation++;
if (buildCounterMutation < 3) {
- checkUnnamed3506(o.delete);
+ checkUnnamed3604(o.delete);
unittest.expect(o.force, unittest.isTrue);
- checkUnnamed3507(o.insert);
- checkUnnamed3508(o.insertAutoId);
- checkUnnamed3509(o.update);
- checkUnnamed3510(o.upsert);
+ checkUnnamed3605(o.insert);
+ checkUnnamed3606(o.insertAutoId);
+ checkUnnamed3607(o.update);
+ checkUnnamed3608(o.upsert);
}
buildCounterMutation--;
}
-buildUnnamed3511() {
+buildUnnamed3609() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed3511(core.List<api.Key> o) {
+checkUnnamed3609(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -672,7 +672,7 @@
buildCounterMutationResult++;
if (buildCounterMutationResult < 3) {
o.indexUpdates = 42;
- o.insertAutoIdKeys = buildUnnamed3511();
+ o.insertAutoIdKeys = buildUnnamed3609();
}
buildCounterMutationResult--;
return o;
@@ -682,7 +682,7 @@
buildCounterMutationResult++;
if (buildCounterMutationResult < 3) {
unittest.expect(o.indexUpdates, unittest.equals(42));
- checkUnnamed3511(o.insertAutoIdKeys);
+ checkUnnamed3609(o.insertAutoIdKeys);
}
buildCounterMutationResult--;
}
@@ -708,14 +708,14 @@
buildCounterPartitionId--;
}
-buildUnnamed3512() {
+buildUnnamed3610() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed3512(core.List<api.Value> o) {
+checkUnnamed3610(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -735,7 +735,7 @@
o.indexed = true;
o.integerValue = "foo";
o.keyValue = buildKey();
- o.listValue = buildUnnamed3512();
+ o.listValue = buildUnnamed3610();
o.meaning = 42;
o.stringValue = "foo";
}
@@ -755,7 +755,7 @@
unittest.expect(o.indexed, unittest.isTrue);
unittest.expect(o.integerValue, unittest.equals('foo'));
checkKey(o.keyValue);
- checkUnnamed3512(o.listValue);
+ checkUnnamed3610(o.listValue);
unittest.expect(o.meaning, unittest.equals(42));
unittest.expect(o.stringValue, unittest.equals('foo'));
}
@@ -846,53 +846,53 @@
buildCounterPropertyReference--;
}
-buildUnnamed3513() {
+buildUnnamed3611() {
var o = new core.List<api.PropertyReference>();
o.add(buildPropertyReference());
o.add(buildPropertyReference());
return o;
}
-checkUnnamed3513(core.List<api.PropertyReference> o) {
+checkUnnamed3611(core.List<api.PropertyReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyReference(o[0]);
checkPropertyReference(o[1]);
}
-buildUnnamed3514() {
+buildUnnamed3612() {
var o = new core.List<api.KindExpression>();
o.add(buildKindExpression());
o.add(buildKindExpression());
return o;
}
-checkUnnamed3514(core.List<api.KindExpression> o) {
+checkUnnamed3612(core.List<api.KindExpression> o) {
unittest.expect(o, unittest.hasLength(2));
checkKindExpression(o[0]);
checkKindExpression(o[1]);
}
-buildUnnamed3515() {
+buildUnnamed3613() {
var o = new core.List<api.PropertyOrder>();
o.add(buildPropertyOrder());
o.add(buildPropertyOrder());
return o;
}
-checkUnnamed3515(core.List<api.PropertyOrder> o) {
+checkUnnamed3613(core.List<api.PropertyOrder> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyOrder(o[0]);
checkPropertyOrder(o[1]);
}
-buildUnnamed3516() {
+buildUnnamed3614() {
var o = new core.List<api.PropertyExpression>();
o.add(buildPropertyExpression());
o.add(buildPropertyExpression());
return o;
}
-checkUnnamed3516(core.List<api.PropertyExpression> o) {
+checkUnnamed3614(core.List<api.PropertyExpression> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyExpression(o[0]);
checkPropertyExpression(o[1]);
@@ -905,12 +905,12 @@
if (buildCounterQuery < 3) {
o.endCursor = "foo";
o.filter = buildFilter();
- o.groupBy = buildUnnamed3513();
- o.kinds = buildUnnamed3514();
+ o.groupBy = buildUnnamed3611();
+ o.kinds = buildUnnamed3612();
o.limit = 42;
o.offset = 42;
- o.order = buildUnnamed3515();
- o.projection = buildUnnamed3516();
+ o.order = buildUnnamed3613();
+ o.projection = buildUnnamed3614();
o.startCursor = "foo";
}
buildCounterQuery--;
@@ -922,25 +922,25 @@
if (buildCounterQuery < 3) {
unittest.expect(o.endCursor, unittest.equals('foo'));
checkFilter(o.filter);
- checkUnnamed3513(o.groupBy);
- checkUnnamed3514(o.kinds);
+ checkUnnamed3611(o.groupBy);
+ checkUnnamed3612(o.kinds);
unittest.expect(o.limit, unittest.equals(42));
unittest.expect(o.offset, unittest.equals(42));
- checkUnnamed3515(o.order);
- checkUnnamed3516(o.projection);
+ checkUnnamed3613(o.order);
+ checkUnnamed3614(o.projection);
unittest.expect(o.startCursor, unittest.equals('foo'));
}
buildCounterQuery--;
}
-buildUnnamed3517() {
+buildUnnamed3615() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed3517(core.List<api.EntityResult> o) {
+checkUnnamed3615(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
@@ -953,7 +953,7 @@
if (buildCounterQueryResultBatch < 3) {
o.endCursor = "foo";
o.entityResultType = "foo";
- o.entityResults = buildUnnamed3517();
+ o.entityResults = buildUnnamed3615();
o.moreResults = "foo";
o.skippedResults = 42;
}
@@ -966,7 +966,7 @@
if (buildCounterQueryResultBatch < 3) {
unittest.expect(o.endCursor, unittest.equals('foo'));
unittest.expect(o.entityResultType, unittest.equals('foo'));
- checkUnnamed3517(o.entityResults);
+ checkUnnamed3615(o.entityResults);
unittest.expect(o.moreResults, unittest.equals('foo'));
unittest.expect(o.skippedResults, unittest.equals(42));
}
@@ -1097,14 +1097,14 @@
buildCounterRunQueryResponse--;
}
-buildUnnamed3518() {
+buildUnnamed3616() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed3518(core.List<api.Value> o) {
+checkUnnamed3616(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -1124,7 +1124,7 @@
o.indexed = true;
o.integerValue = "foo";
o.keyValue = buildKey();
- o.listValue = buildUnnamed3518();
+ o.listValue = buildUnnamed3616();
o.meaning = 42;
o.stringValue = "foo";
}
@@ -1144,7 +1144,7 @@
unittest.expect(o.indexed, unittest.isTrue);
unittest.expect(o.integerValue, unittest.equals('foo'));
checkKey(o.keyValue);
- checkUnnamed3518(o.listValue);
+ checkUnnamed3616(o.listValue);
unittest.expect(o.meaning, unittest.equals(42));
unittest.expect(o.stringValue, unittest.equals('foo'));
}
diff --git a/generated/googleapis_beta/test/datastore/v1beta3_test.dart b/generated/googleapis_beta/test/datastore/v1beta3_test.dart
index 0074c4e..e8d3058 100644
--- a/generated/googleapis_beta/test/datastore/v1beta3_test.dart
+++ b/generated/googleapis_beta/test/datastore/v1beta3_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3285() {
+buildUnnamed3395() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed3285(core.List<api.Key> o) {
+checkUnnamed3395(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -69,7 +69,7 @@
var o = new api.AllocateIdsRequest();
buildCounterAllocateIdsRequest++;
if (buildCounterAllocateIdsRequest < 3) {
- o.keys = buildUnnamed3285();
+ o.keys = buildUnnamed3395();
}
buildCounterAllocateIdsRequest--;
return o;
@@ -78,19 +78,19 @@
checkAllocateIdsRequest(api.AllocateIdsRequest o) {
buildCounterAllocateIdsRequest++;
if (buildCounterAllocateIdsRequest < 3) {
- checkUnnamed3285(o.keys);
+ checkUnnamed3395(o.keys);
}
buildCounterAllocateIdsRequest--;
}
-buildUnnamed3286() {
+buildUnnamed3396() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed3286(core.List<api.Key> o) {
+checkUnnamed3396(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -101,7 +101,7 @@
var o = new api.AllocateIdsResponse();
buildCounterAllocateIdsResponse++;
if (buildCounterAllocateIdsResponse < 3) {
- o.keys = buildUnnamed3286();
+ o.keys = buildUnnamed3396();
}
buildCounterAllocateIdsResponse--;
return o;
@@ -110,19 +110,19 @@
checkAllocateIdsResponse(api.AllocateIdsResponse o) {
buildCounterAllocateIdsResponse++;
if (buildCounterAllocateIdsResponse < 3) {
- checkUnnamed3286(o.keys);
+ checkUnnamed3396(o.keys);
}
buildCounterAllocateIdsResponse--;
}
-buildUnnamed3287() {
+buildUnnamed3397() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed3287(core.List<api.Value> o) {
+checkUnnamed3397(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -133,7 +133,7 @@
var o = new api.ArrayValue();
buildCounterArrayValue++;
if (buildCounterArrayValue < 3) {
- o.values = buildUnnamed3287();
+ o.values = buildUnnamed3397();
}
buildCounterArrayValue--;
return o;
@@ -142,7 +142,7 @@
checkArrayValue(api.ArrayValue o) {
buildCounterArrayValue++;
if (buildCounterArrayValue < 3) {
- checkUnnamed3287(o.values);
+ checkUnnamed3397(o.values);
}
buildCounterArrayValue--;
}
@@ -183,14 +183,14 @@
buildCounterBeginTransactionResponse--;
}
-buildUnnamed3288() {
+buildUnnamed3398() {
var o = new core.List<api.Mutation>();
o.add(buildMutation());
o.add(buildMutation());
return o;
}
-checkUnnamed3288(core.List<api.Mutation> o) {
+checkUnnamed3398(core.List<api.Mutation> o) {
unittest.expect(o, unittest.hasLength(2));
checkMutation(o[0]);
checkMutation(o[1]);
@@ -202,7 +202,7 @@
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
o.mode = "foo";
- o.mutations = buildUnnamed3288();
+ o.mutations = buildUnnamed3398();
o.transaction = "foo";
}
buildCounterCommitRequest--;
@@ -213,20 +213,20 @@
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
unittest.expect(o.mode, unittest.equals('foo'));
- checkUnnamed3288(o.mutations);
+ checkUnnamed3398(o.mutations);
unittest.expect(o.transaction, unittest.equals('foo'));
}
buildCounterCommitRequest--;
}
-buildUnnamed3289() {
+buildUnnamed3399() {
var o = new core.List<api.MutationResult>();
o.add(buildMutationResult());
o.add(buildMutationResult());
return o;
}
-checkUnnamed3289(core.List<api.MutationResult> o) {
+checkUnnamed3399(core.List<api.MutationResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkMutationResult(o[0]);
checkMutationResult(o[1]);
@@ -238,7 +238,7 @@
buildCounterCommitResponse++;
if (buildCounterCommitResponse < 3) {
o.indexUpdates = 42;
- o.mutationResults = buildUnnamed3289();
+ o.mutationResults = buildUnnamed3399();
}
buildCounterCommitResponse--;
return o;
@@ -248,19 +248,19 @@
buildCounterCommitResponse++;
if (buildCounterCommitResponse < 3) {
unittest.expect(o.indexUpdates, unittest.equals(42));
- checkUnnamed3289(o.mutationResults);
+ checkUnnamed3399(o.mutationResults);
}
buildCounterCommitResponse--;
}
-buildUnnamed3290() {
+buildUnnamed3400() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed3290(core.List<api.Filter> o) {
+checkUnnamed3400(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -271,7 +271,7 @@
var o = new api.CompositeFilter();
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- o.filters = buildUnnamed3290();
+ o.filters = buildUnnamed3400();
o.op = "foo";
}
buildCounterCompositeFilter--;
@@ -281,20 +281,20 @@
checkCompositeFilter(api.CompositeFilter o) {
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- checkUnnamed3290(o.filters);
+ checkUnnamed3400(o.filters);
unittest.expect(o.op, unittest.equals('foo'));
}
buildCounterCompositeFilter--;
}
-buildUnnamed3291() {
+buildUnnamed3401() {
var o = new core.Map<core.String, api.Value>();
o["x"] = buildValue();
o["y"] = buildValue();
return o;
}
-checkUnnamed3291(core.Map<core.String, api.Value> o) {
+checkUnnamed3401(core.Map<core.String, api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o["x"]);
checkValue(o["y"]);
@@ -306,7 +306,7 @@
buildCounterEntity++;
if (buildCounterEntity < 3) {
o.key = buildKey();
- o.properties = buildUnnamed3291();
+ o.properties = buildUnnamed3401();
}
buildCounterEntity--;
return o;
@@ -316,7 +316,7 @@
buildCounterEntity++;
if (buildCounterEntity < 3) {
checkKey(o.key);
- checkUnnamed3291(o.properties);
+ checkUnnamed3401(o.properties);
}
buildCounterEntity--;
}
@@ -365,27 +365,27 @@
buildCounterFilter--;
}
-buildUnnamed3292() {
+buildUnnamed3402() {
var o = new core.Map<core.String, api.GqlQueryParameter>();
o["x"] = buildGqlQueryParameter();
o["y"] = buildGqlQueryParameter();
return o;
}
-checkUnnamed3292(core.Map<core.String, api.GqlQueryParameter> o) {
+checkUnnamed3402(core.Map<core.String, api.GqlQueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkGqlQueryParameter(o["x"]);
checkGqlQueryParameter(o["y"]);
}
-buildUnnamed3293() {
+buildUnnamed3403() {
var o = new core.List<api.GqlQueryParameter>();
o.add(buildGqlQueryParameter());
o.add(buildGqlQueryParameter());
return o;
}
-checkUnnamed3293(core.List<api.GqlQueryParameter> o) {
+checkUnnamed3403(core.List<api.GqlQueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkGqlQueryParameter(o[0]);
checkGqlQueryParameter(o[1]);
@@ -397,8 +397,8 @@
buildCounterGqlQuery++;
if (buildCounterGqlQuery < 3) {
o.allowLiterals = true;
- o.namedBindings = buildUnnamed3292();
- o.positionalBindings = buildUnnamed3293();
+ o.namedBindings = buildUnnamed3402();
+ o.positionalBindings = buildUnnamed3403();
o.queryString = "foo";
}
buildCounterGqlQuery--;
@@ -409,8 +409,8 @@
buildCounterGqlQuery++;
if (buildCounterGqlQuery < 3) {
unittest.expect(o.allowLiterals, unittest.isTrue);
- checkUnnamed3292(o.namedBindings);
- checkUnnamed3293(o.positionalBindings);
+ checkUnnamed3402(o.namedBindings);
+ checkUnnamed3403(o.positionalBindings);
unittest.expect(o.queryString, unittest.equals('foo'));
}
buildCounterGqlQuery--;
@@ -437,14 +437,14 @@
buildCounterGqlQueryParameter--;
}
-buildUnnamed3294() {
+buildUnnamed3404() {
var o = new core.List<api.PathElement>();
o.add(buildPathElement());
o.add(buildPathElement());
return o;
}
-checkUnnamed3294(core.List<api.PathElement> o) {
+checkUnnamed3404(core.List<api.PathElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathElement(o[0]);
checkPathElement(o[1]);
@@ -456,7 +456,7 @@
buildCounterKey++;
if (buildCounterKey < 3) {
o.partitionId = buildPartitionId();
- o.path = buildUnnamed3294();
+ o.path = buildUnnamed3404();
}
buildCounterKey--;
return o;
@@ -466,7 +466,7 @@
buildCounterKey++;
if (buildCounterKey < 3) {
checkPartitionId(o.partitionId);
- checkUnnamed3294(o.path);
+ checkUnnamed3404(o.path);
}
buildCounterKey--;
}
@@ -511,14 +511,14 @@
buildCounterLatLng--;
}
-buildUnnamed3295() {
+buildUnnamed3405() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed3295(core.List<api.Key> o) {
+checkUnnamed3405(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -529,7 +529,7 @@
var o = new api.LookupRequest();
buildCounterLookupRequest++;
if (buildCounterLookupRequest < 3) {
- o.keys = buildUnnamed3295();
+ o.keys = buildUnnamed3405();
o.readOptions = buildReadOptions();
}
buildCounterLookupRequest--;
@@ -539,46 +539,46 @@
checkLookupRequest(api.LookupRequest o) {
buildCounterLookupRequest++;
if (buildCounterLookupRequest < 3) {
- checkUnnamed3295(o.keys);
+ checkUnnamed3405(o.keys);
checkReadOptions(o.readOptions);
}
buildCounterLookupRequest--;
}
-buildUnnamed3296() {
+buildUnnamed3406() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed3296(core.List<api.Key> o) {
+checkUnnamed3406(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
}
-buildUnnamed3297() {
+buildUnnamed3407() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed3297(core.List<api.EntityResult> o) {
+checkUnnamed3407(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
}
-buildUnnamed3298() {
+buildUnnamed3408() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed3298(core.List<api.EntityResult> o) {
+checkUnnamed3408(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
@@ -589,9 +589,9 @@
var o = new api.LookupResponse();
buildCounterLookupResponse++;
if (buildCounterLookupResponse < 3) {
- o.deferred = buildUnnamed3296();
- o.found = buildUnnamed3297();
- o.missing = buildUnnamed3298();
+ o.deferred = buildUnnamed3406();
+ o.found = buildUnnamed3407();
+ o.missing = buildUnnamed3408();
}
buildCounterLookupResponse--;
return o;
@@ -600,9 +600,9 @@
checkLookupResponse(api.LookupResponse o) {
buildCounterLookupResponse++;
if (buildCounterLookupResponse < 3) {
- checkUnnamed3296(o.deferred);
- checkUnnamed3297(o.found);
- checkUnnamed3298(o.missing);
+ checkUnnamed3406(o.deferred);
+ checkUnnamed3407(o.found);
+ checkUnnamed3408(o.missing);
}
buildCounterLookupResponse--;
}
@@ -783,53 +783,53 @@
buildCounterPropertyReference--;
}
-buildUnnamed3299() {
+buildUnnamed3409() {
var o = new core.List<api.PropertyReference>();
o.add(buildPropertyReference());
o.add(buildPropertyReference());
return o;
}
-checkUnnamed3299(core.List<api.PropertyReference> o) {
+checkUnnamed3409(core.List<api.PropertyReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyReference(o[0]);
checkPropertyReference(o[1]);
}
-buildUnnamed3300() {
+buildUnnamed3410() {
var o = new core.List<api.KindExpression>();
o.add(buildKindExpression());
o.add(buildKindExpression());
return o;
}
-checkUnnamed3300(core.List<api.KindExpression> o) {
+checkUnnamed3410(core.List<api.KindExpression> o) {
unittest.expect(o, unittest.hasLength(2));
checkKindExpression(o[0]);
checkKindExpression(o[1]);
}
-buildUnnamed3301() {
+buildUnnamed3411() {
var o = new core.List<api.PropertyOrder>();
o.add(buildPropertyOrder());
o.add(buildPropertyOrder());
return o;
}
-checkUnnamed3301(core.List<api.PropertyOrder> o) {
+checkUnnamed3411(core.List<api.PropertyOrder> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyOrder(o[0]);
checkPropertyOrder(o[1]);
}
-buildUnnamed3302() {
+buildUnnamed3412() {
var o = new core.List<api.Projection>();
o.add(buildProjection());
o.add(buildProjection());
return o;
}
-checkUnnamed3302(core.List<api.Projection> o) {
+checkUnnamed3412(core.List<api.Projection> o) {
unittest.expect(o, unittest.hasLength(2));
checkProjection(o[0]);
checkProjection(o[1]);
@@ -840,14 +840,14 @@
var o = new api.Query();
buildCounterQuery++;
if (buildCounterQuery < 3) {
- o.distinctOn = buildUnnamed3299();
+ o.distinctOn = buildUnnamed3409();
o.endCursor = "foo";
o.filter = buildFilter();
- o.kind = buildUnnamed3300();
+ o.kind = buildUnnamed3410();
o.limit = 42;
o.offset = 42;
- o.order = buildUnnamed3301();
- o.projection = buildUnnamed3302();
+ o.order = buildUnnamed3411();
+ o.projection = buildUnnamed3412();
o.startCursor = "foo";
}
buildCounterQuery--;
@@ -857,27 +857,27 @@
checkQuery(api.Query o) {
buildCounterQuery++;
if (buildCounterQuery < 3) {
- checkUnnamed3299(o.distinctOn);
+ checkUnnamed3409(o.distinctOn);
unittest.expect(o.endCursor, unittest.equals('foo'));
checkFilter(o.filter);
- checkUnnamed3300(o.kind);
+ checkUnnamed3410(o.kind);
unittest.expect(o.limit, unittest.equals(42));
unittest.expect(o.offset, unittest.equals(42));
- checkUnnamed3301(o.order);
- checkUnnamed3302(o.projection);
+ checkUnnamed3411(o.order);
+ checkUnnamed3412(o.projection);
unittest.expect(o.startCursor, unittest.equals('foo'));
}
buildCounterQuery--;
}
-buildUnnamed3303() {
+buildUnnamed3413() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed3303(core.List<api.EntityResult> o) {
+checkUnnamed3413(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
@@ -890,7 +890,7 @@
if (buildCounterQueryResultBatch < 3) {
o.endCursor = "foo";
o.entityResultType = "foo";
- o.entityResults = buildUnnamed3303();
+ o.entityResults = buildUnnamed3413();
o.moreResults = "foo";
o.skippedCursor = "foo";
o.skippedResults = 42;
@@ -905,7 +905,7 @@
if (buildCounterQueryResultBatch < 3) {
unittest.expect(o.endCursor, unittest.equals('foo'));
unittest.expect(o.entityResultType, unittest.equals('foo'));
- checkUnnamed3303(o.entityResults);
+ checkUnnamed3413(o.entityResults);
unittest.expect(o.moreResults, unittest.equals('foo'));
unittest.expect(o.skippedCursor, unittest.equals('foo'));
unittest.expect(o.skippedResults, unittest.equals(42));
diff --git a/generated/googleapis_beta/test/dlp/v2beta1_test.dart b/generated/googleapis_beta/test/dlp/v2beta1_test.dart
new file mode 100644
index 0000000..c29b50e
--- /dev/null
+++ b/generated/googleapis_beta/test/dlp/v2beta1_test.dart
@@ -0,0 +1,1933 @@
+library googleapis_beta.dlp.v2beta1.test;
+
+import "dart:core" as core;
+import "dart:collection" as collection;
+import "dart:async" as async;
+import "dart:convert" as convert;
+
+import 'package:http/http.dart' as http;
+import 'package:http/testing.dart' as http_testing;
+import 'package:unittest/unittest.dart' as unittest;
+
+import 'package:googleapis_beta/dlp/v2beta1.dart' as api;
+
+class HttpServerMock extends http.BaseClient {
+ core.Function _callback;
+ core.bool _expectJson;
+
+ void register(core.Function callback, core.bool expectJson) {
+ _callback = callback;
+ _expectJson = expectJson;
+ }
+
+ async.Future<http.StreamedResponse> send(http.BaseRequest request) {
+ if (_expectJson) {
+ return request.finalize()
+ .transform(convert.UTF8.decoder)
+ .join('')
+ .then((core.String jsonString) {
+ if (jsonString.isEmpty) {
+ return _callback(request, null);
+ } else {
+ return _callback(request, convert.JSON.decode(jsonString));
+ }
+ });
+ } else {
+ var stream = request.finalize();
+ if (stream == null) {
+ return _callback(request, []);
+ } else {
+ return stream.toBytes().then((data) {
+ return _callback(request, data);
+ });
+ }
+ }
+ }
+}
+
+http.StreamedResponse stringResponse(
+ core.int status, core.Map headers, core.String body) {
+ var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]);
+ return new http.StreamedResponse(stream, status, headers: headers);
+}
+
+core.int buildCounterCancelOperationRequest = 0;
+buildCancelOperationRequest() {
+ var o = new api.CancelOperationRequest();
+ buildCounterCancelOperationRequest++;
+ if (buildCounterCancelOperationRequest < 3) {
+ }
+ buildCounterCancelOperationRequest--;
+ return o;
+}
+
+checkCancelOperationRequest(api.CancelOperationRequest o) {
+ buildCounterCancelOperationRequest++;
+ if (buildCounterCancelOperationRequest < 3) {
+ }
+ buildCounterCancelOperationRequest--;
+}
+
+core.int buildCounterCategoryDescription = 0;
+buildCategoryDescription() {
+ var o = new api.CategoryDescription();
+ buildCounterCategoryDescription++;
+ if (buildCounterCategoryDescription < 3) {
+ o.displayName = "foo";
+ o.name = "foo";
+ }
+ buildCounterCategoryDescription--;
+ return o;
+}
+
+checkCategoryDescription(api.CategoryDescription o) {
+ buildCounterCategoryDescription++;
+ if (buildCounterCategoryDescription < 3) {
+ unittest.expect(o.displayName, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterCategoryDescription--;
+}
+
+core.int buildCounterCloudStorageKey = 0;
+buildCloudStorageKey() {
+ var o = new api.CloudStorageKey();
+ buildCounterCloudStorageKey++;
+ if (buildCounterCloudStorageKey < 3) {
+ o.filePath = "foo";
+ o.startOffset = "foo";
+ }
+ buildCounterCloudStorageKey--;
+ return o;
+}
+
+checkCloudStorageKey(api.CloudStorageKey o) {
+ buildCounterCloudStorageKey++;
+ if (buildCounterCloudStorageKey < 3) {
+ unittest.expect(o.filePath, unittest.equals('foo'));
+ unittest.expect(o.startOffset, unittest.equals('foo'));
+ }
+ buildCounterCloudStorageKey--;
+}
+
+core.int buildCounterCloudStorageOptions = 0;
+buildCloudStorageOptions() {
+ var o = new api.CloudStorageOptions();
+ buildCounterCloudStorageOptions++;
+ if (buildCounterCloudStorageOptions < 3) {
+ o.fileSet = buildFileSet();
+ }
+ buildCounterCloudStorageOptions--;
+ return o;
+}
+
+checkCloudStorageOptions(api.CloudStorageOptions o) {
+ buildCounterCloudStorageOptions++;
+ if (buildCounterCloudStorageOptions < 3) {
+ checkFileSet(o.fileSet);
+ }
+ buildCounterCloudStorageOptions--;
+}
+
+core.int buildCounterContentItem = 0;
+buildContentItem() {
+ var o = new api.ContentItem();
+ buildCounterContentItem++;
+ if (buildCounterContentItem < 3) {
+ o.data = "foo";
+ o.type = "foo";
+ o.value = "foo";
+ }
+ buildCounterContentItem--;
+ return o;
+}
+
+checkContentItem(api.ContentItem o) {
+ buildCounterContentItem++;
+ if (buildCounterContentItem < 3) {
+ unittest.expect(o.data, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ unittest.expect(o.value, unittest.equals('foo'));
+ }
+ buildCounterContentItem--;
+}
+
+core.int buildCounterCreateInspectOperationRequest = 0;
+buildCreateInspectOperationRequest() {
+ var o = new api.CreateInspectOperationRequest();
+ buildCounterCreateInspectOperationRequest++;
+ if (buildCounterCreateInspectOperationRequest < 3) {
+ o.inspectConfig = buildInspectConfig();
+ o.storageConfig = buildStorageConfig();
+ }
+ buildCounterCreateInspectOperationRequest--;
+ return o;
+}
+
+checkCreateInspectOperationRequest(api.CreateInspectOperationRequest o) {
+ buildCounterCreateInspectOperationRequest++;
+ if (buildCounterCreateInspectOperationRequest < 3) {
+ checkInspectConfig(o.inspectConfig);
+ checkStorageConfig(o.storageConfig);
+ }
+ buildCounterCreateInspectOperationRequest--;
+}
+
+core.int buildCounterDatastoreKey = 0;
+buildDatastoreKey() {
+ var o = new api.DatastoreKey();
+ buildCounterDatastoreKey++;
+ if (buildCounterDatastoreKey < 3) {
+ o.entityKey = buildKey();
+ }
+ buildCounterDatastoreKey--;
+ return o;
+}
+
+checkDatastoreKey(api.DatastoreKey o) {
+ buildCounterDatastoreKey++;
+ if (buildCounterDatastoreKey < 3) {
+ checkKey(o.entityKey);
+ }
+ buildCounterDatastoreKey--;
+}
+
+buildUnnamed3326() {
+ var o = new core.List<api.Projection>();
+ o.add(buildProjection());
+ o.add(buildProjection());
+ return o;
+}
+
+checkUnnamed3326(core.List<api.Projection> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkProjection(o[0]);
+ checkProjection(o[1]);
+}
+
+core.int buildCounterDatastoreOptions = 0;
+buildDatastoreOptions() {
+ var o = new api.DatastoreOptions();
+ buildCounterDatastoreOptions++;
+ if (buildCounterDatastoreOptions < 3) {
+ o.kind = buildKindExpression();
+ o.partitionId = buildPartitionId();
+ o.projection = buildUnnamed3326();
+ }
+ buildCounterDatastoreOptions--;
+ return o;
+}
+
+checkDatastoreOptions(api.DatastoreOptions o) {
+ buildCounterDatastoreOptions++;
+ if (buildCounterDatastoreOptions < 3) {
+ checkKindExpression(o.kind);
+ checkPartitionId(o.partitionId);
+ checkUnnamed3326(o.projection);
+ }
+ buildCounterDatastoreOptions--;
+}
+
+core.int buildCounterEmpty = 0;
+buildEmpty() {
+ var o = new api.Empty();
+ buildCounterEmpty++;
+ if (buildCounterEmpty < 3) {
+ }
+ buildCounterEmpty--;
+ return o;
+}
+
+checkEmpty(api.Empty o) {
+ buildCounterEmpty++;
+ if (buildCounterEmpty < 3) {
+ }
+ buildCounterEmpty--;
+}
+
+core.int buildCounterFieldId = 0;
+buildFieldId() {
+ var o = new api.FieldId();
+ buildCounterFieldId++;
+ if (buildCounterFieldId < 3) {
+ o.columnName = "foo";
+ }
+ buildCounterFieldId--;
+ return o;
+}
+
+checkFieldId(api.FieldId o) {
+ buildCounterFieldId++;
+ if (buildCounterFieldId < 3) {
+ unittest.expect(o.columnName, unittest.equals('foo'));
+ }
+ buildCounterFieldId--;
+}
+
+core.int buildCounterFileSet = 0;
+buildFileSet() {
+ var o = new api.FileSet();
+ buildCounterFileSet++;
+ if (buildCounterFileSet < 3) {
+ o.url = "foo";
+ }
+ buildCounterFileSet--;
+ return o;
+}
+
+checkFileSet(api.FileSet o) {
+ buildCounterFileSet++;
+ if (buildCounterFileSet < 3) {
+ unittest.expect(o.url, unittest.equals('foo'));
+ }
+ buildCounterFileSet--;
+}
+
+core.int buildCounterFinding = 0;
+buildFinding() {
+ var o = new api.Finding();
+ buildCounterFinding++;
+ if (buildCounterFinding < 3) {
+ o.createTime = "foo";
+ o.infoType = buildInfoType();
+ o.likelihood = "foo";
+ o.location = buildLocation();
+ o.quote = "foo";
+ }
+ buildCounterFinding--;
+ return o;
+}
+
+checkFinding(api.Finding o) {
+ buildCounterFinding++;
+ if (buildCounterFinding < 3) {
+ unittest.expect(o.createTime, unittest.equals('foo'));
+ checkInfoType(o.infoType);
+ unittest.expect(o.likelihood, unittest.equals('foo'));
+ checkLocation(o.location);
+ unittest.expect(o.quote, unittest.equals('foo'));
+ }
+ buildCounterFinding--;
+}
+
+core.int buildCounterImageLocation = 0;
+buildImageLocation() {
+ var o = new api.ImageLocation();
+ buildCounterImageLocation++;
+ if (buildCounterImageLocation < 3) {
+ o.height = 42;
+ o.left = 42;
+ o.top = 42;
+ o.width = 42;
+ }
+ buildCounterImageLocation--;
+ return o;
+}
+
+checkImageLocation(api.ImageLocation o) {
+ buildCounterImageLocation++;
+ if (buildCounterImageLocation < 3) {
+ unittest.expect(o.height, unittest.equals(42));
+ unittest.expect(o.left, unittest.equals(42));
+ unittest.expect(o.top, unittest.equals(42));
+ unittest.expect(o.width, unittest.equals(42));
+ }
+ buildCounterImageLocation--;
+}
+
+core.int buildCounterInfoType = 0;
+buildInfoType() {
+ var o = new api.InfoType();
+ buildCounterInfoType++;
+ if (buildCounterInfoType < 3) {
+ o.name = "foo";
+ }
+ buildCounterInfoType--;
+ return o;
+}
+
+checkInfoType(api.InfoType o) {
+ buildCounterInfoType++;
+ if (buildCounterInfoType < 3) {
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterInfoType--;
+}
+
+buildUnnamed3327() {
+ var o = new core.List<api.CategoryDescription>();
+ o.add(buildCategoryDescription());
+ o.add(buildCategoryDescription());
+ return o;
+}
+
+checkUnnamed3327(core.List<api.CategoryDescription> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCategoryDescription(o[0]);
+ checkCategoryDescription(o[1]);
+}
+
+core.int buildCounterInfoTypeDescription = 0;
+buildInfoTypeDescription() {
+ var o = new api.InfoTypeDescription();
+ buildCounterInfoTypeDescription++;
+ if (buildCounterInfoTypeDescription < 3) {
+ o.categories = buildUnnamed3327();
+ o.displayName = "foo";
+ o.name = "foo";
+ }
+ buildCounterInfoTypeDescription--;
+ return o;
+}
+
+checkInfoTypeDescription(api.InfoTypeDescription o) {
+ buildCounterInfoTypeDescription++;
+ if (buildCounterInfoTypeDescription < 3) {
+ checkUnnamed3327(o.categories);
+ unittest.expect(o.displayName, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterInfoTypeDescription--;
+}
+
+buildUnnamed3328() {
+ var o = new core.List<api.InfoType>();
+ o.add(buildInfoType());
+ o.add(buildInfoType());
+ return o;
+}
+
+checkUnnamed3328(core.List<api.InfoType> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkInfoType(o[0]);
+ checkInfoType(o[1]);
+}
+
+core.int buildCounterInspectConfig = 0;
+buildInspectConfig() {
+ var o = new api.InspectConfig();
+ buildCounterInspectConfig++;
+ if (buildCounterInspectConfig < 3) {
+ o.excludeTypes = true;
+ o.includeQuote = true;
+ o.infoTypes = buildUnnamed3328();
+ o.maxFindings = 42;
+ o.minLikelihood = "foo";
+ }
+ buildCounterInspectConfig--;
+ return o;
+}
+
+checkInspectConfig(api.InspectConfig o) {
+ buildCounterInspectConfig++;
+ if (buildCounterInspectConfig < 3) {
+ unittest.expect(o.excludeTypes, unittest.isTrue);
+ unittest.expect(o.includeQuote, unittest.isTrue);
+ checkUnnamed3328(o.infoTypes);
+ unittest.expect(o.maxFindings, unittest.equals(42));
+ unittest.expect(o.minLikelihood, unittest.equals('foo'));
+ }
+ buildCounterInspectConfig--;
+}
+
+buildUnnamed3329() {
+ var o = new core.List<api.ContentItem>();
+ o.add(buildContentItem());
+ o.add(buildContentItem());
+ return o;
+}
+
+checkUnnamed3329(core.List<api.ContentItem> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkContentItem(o[0]);
+ checkContentItem(o[1]);
+}
+
+core.int buildCounterInspectContentRequest = 0;
+buildInspectContentRequest() {
+ var o = new api.InspectContentRequest();
+ buildCounterInspectContentRequest++;
+ if (buildCounterInspectContentRequest < 3) {
+ o.inspectConfig = buildInspectConfig();
+ o.items = buildUnnamed3329();
+ }
+ buildCounterInspectContentRequest--;
+ return o;
+}
+
+checkInspectContentRequest(api.InspectContentRequest o) {
+ buildCounterInspectContentRequest++;
+ if (buildCounterInspectContentRequest < 3) {
+ checkInspectConfig(o.inspectConfig);
+ checkUnnamed3329(o.items);
+ }
+ buildCounterInspectContentRequest--;
+}
+
+buildUnnamed3330() {
+ var o = new core.List<api.InspectResult>();
+ o.add(buildInspectResult());
+ o.add(buildInspectResult());
+ return o;
+}
+
+checkUnnamed3330(core.List<api.InspectResult> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkInspectResult(o[0]);
+ checkInspectResult(o[1]);
+}
+
+core.int buildCounterInspectContentResponse = 0;
+buildInspectContentResponse() {
+ var o = new api.InspectContentResponse();
+ buildCounterInspectContentResponse++;
+ if (buildCounterInspectContentResponse < 3) {
+ o.results = buildUnnamed3330();
+ }
+ buildCounterInspectContentResponse--;
+ return o;
+}
+
+checkInspectContentResponse(api.InspectContentResponse o) {
+ buildCounterInspectContentResponse++;
+ if (buildCounterInspectContentResponse < 3) {
+ checkUnnamed3330(o.results);
+ }
+ buildCounterInspectContentResponse--;
+}
+
+buildUnnamed3331() {
+ var o = new core.List<api.Finding>();
+ o.add(buildFinding());
+ o.add(buildFinding());
+ return o;
+}
+
+checkUnnamed3331(core.List<api.Finding> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkFinding(o[0]);
+ checkFinding(o[1]);
+}
+
+core.int buildCounterInspectResult = 0;
+buildInspectResult() {
+ var o = new api.InspectResult();
+ buildCounterInspectResult++;
+ if (buildCounterInspectResult < 3) {
+ o.findings = buildUnnamed3331();
+ o.findingsTruncated = true;
+ }
+ buildCounterInspectResult--;
+ return o;
+}
+
+checkInspectResult(api.InspectResult o) {
+ buildCounterInspectResult++;
+ if (buildCounterInspectResult < 3) {
+ checkUnnamed3331(o.findings);
+ unittest.expect(o.findingsTruncated, unittest.isTrue);
+ }
+ buildCounterInspectResult--;
+}
+
+buildUnnamed3332() {
+ var o = new core.List<api.PathElement>();
+ o.add(buildPathElement());
+ o.add(buildPathElement());
+ return o;
+}
+
+checkUnnamed3332(core.List<api.PathElement> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPathElement(o[0]);
+ checkPathElement(o[1]);
+}
+
+core.int buildCounterKey = 0;
+buildKey() {
+ var o = new api.Key();
+ buildCounterKey++;
+ if (buildCounterKey < 3) {
+ o.partitionId = buildPartitionId();
+ o.path = buildUnnamed3332();
+ }
+ buildCounterKey--;
+ return o;
+}
+
+checkKey(api.Key o) {
+ buildCounterKey++;
+ if (buildCounterKey < 3) {
+ checkPartitionId(o.partitionId);
+ checkUnnamed3332(o.path);
+ }
+ buildCounterKey--;
+}
+
+core.int buildCounterKindExpression = 0;
+buildKindExpression() {
+ var o = new api.KindExpression();
+ buildCounterKindExpression++;
+ if (buildCounterKindExpression < 3) {
+ o.name = "foo";
+ }
+ buildCounterKindExpression--;
+ return o;
+}
+
+checkKindExpression(api.KindExpression o) {
+ buildCounterKindExpression++;
+ if (buildCounterKindExpression < 3) {
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterKindExpression--;
+}
+
+buildUnnamed3333() {
+ var o = new core.List<api.InfoTypeDescription>();
+ o.add(buildInfoTypeDescription());
+ o.add(buildInfoTypeDescription());
+ return o;
+}
+
+checkUnnamed3333(core.List<api.InfoTypeDescription> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkInfoTypeDescription(o[0]);
+ checkInfoTypeDescription(o[1]);
+}
+
+core.int buildCounterListInfoTypesResponse = 0;
+buildListInfoTypesResponse() {
+ var o = new api.ListInfoTypesResponse();
+ buildCounterListInfoTypesResponse++;
+ if (buildCounterListInfoTypesResponse < 3) {
+ o.infoTypes = buildUnnamed3333();
+ }
+ buildCounterListInfoTypesResponse--;
+ return o;
+}
+
+checkListInfoTypesResponse(api.ListInfoTypesResponse o) {
+ buildCounterListInfoTypesResponse++;
+ if (buildCounterListInfoTypesResponse < 3) {
+ checkUnnamed3333(o.infoTypes);
+ }
+ buildCounterListInfoTypesResponse--;
+}
+
+core.int buildCounterListInspectFindingsResponse = 0;
+buildListInspectFindingsResponse() {
+ var o = new api.ListInspectFindingsResponse();
+ buildCounterListInspectFindingsResponse++;
+ if (buildCounterListInspectFindingsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.result = buildInspectResult();
+ }
+ buildCounterListInspectFindingsResponse--;
+ return o;
+}
+
+checkListInspectFindingsResponse(api.ListInspectFindingsResponse o) {
+ buildCounterListInspectFindingsResponse++;
+ if (buildCounterListInspectFindingsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkInspectResult(o.result);
+ }
+ buildCounterListInspectFindingsResponse--;
+}
+
+buildUnnamed3334() {
+ var o = new core.List<api.Operation>();
+ o.add(buildOperation());
+ o.add(buildOperation());
+ return o;
+}
+
+checkUnnamed3334(core.List<api.Operation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOperation(o[0]);
+ checkOperation(o[1]);
+}
+
+core.int buildCounterListOperationsResponse = 0;
+buildListOperationsResponse() {
+ var o = new api.ListOperationsResponse();
+ buildCounterListOperationsResponse++;
+ if (buildCounterListOperationsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.operations = buildUnnamed3334();
+ }
+ buildCounterListOperationsResponse--;
+ return o;
+}
+
+checkListOperationsResponse(api.ListOperationsResponse o) {
+ buildCounterListOperationsResponse++;
+ if (buildCounterListOperationsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed3334(o.operations);
+ }
+ buildCounterListOperationsResponse--;
+}
+
+buildUnnamed3335() {
+ var o = new core.List<api.CategoryDescription>();
+ o.add(buildCategoryDescription());
+ o.add(buildCategoryDescription());
+ return o;
+}
+
+checkUnnamed3335(core.List<api.CategoryDescription> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCategoryDescription(o[0]);
+ checkCategoryDescription(o[1]);
+}
+
+core.int buildCounterListRootCategoriesResponse = 0;
+buildListRootCategoriesResponse() {
+ var o = new api.ListRootCategoriesResponse();
+ buildCounterListRootCategoriesResponse++;
+ if (buildCounterListRootCategoriesResponse < 3) {
+ o.categories = buildUnnamed3335();
+ }
+ buildCounterListRootCategoriesResponse--;
+ return o;
+}
+
+checkListRootCategoriesResponse(api.ListRootCategoriesResponse o) {
+ buildCounterListRootCategoriesResponse++;
+ if (buildCounterListRootCategoriesResponse < 3) {
+ checkUnnamed3335(o.categories);
+ }
+ buildCounterListRootCategoriesResponse--;
+}
+
+buildUnnamed3336() {
+ var o = new core.List<api.ImageLocation>();
+ o.add(buildImageLocation());
+ o.add(buildImageLocation());
+ return o;
+}
+
+checkUnnamed3336(core.List<api.ImageLocation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkImageLocation(o[0]);
+ checkImageLocation(o[1]);
+}
+
+core.int buildCounterLocation = 0;
+buildLocation() {
+ var o = new api.Location();
+ buildCounterLocation++;
+ if (buildCounterLocation < 3) {
+ o.byteRange = buildRange();
+ o.codepointRange = buildRange();
+ o.fieldId = buildFieldId();
+ o.imageBoxes = buildUnnamed3336();
+ o.recordKey = buildRecordKey();
+ }
+ buildCounterLocation--;
+ return o;
+}
+
+checkLocation(api.Location o) {
+ buildCounterLocation++;
+ if (buildCounterLocation < 3) {
+ checkRange(o.byteRange);
+ checkRange(o.codepointRange);
+ checkFieldId(o.fieldId);
+ checkUnnamed3336(o.imageBoxes);
+ checkRecordKey(o.recordKey);
+ }
+ buildCounterLocation--;
+}
+
+buildUnnamed3337() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
+ o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
+ return o;
+}
+
+checkUnnamed3337(core.Map<core.String, core.Object> 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'));
+}
+
+buildUnnamed3338() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
+ o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
+ return o;
+}
+
+checkUnnamed3338(core.Map<core.String, core.Object> 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 buildCounterOperation = 0;
+buildOperation() {
+ var o = new api.Operation();
+ buildCounterOperation++;
+ if (buildCounterOperation < 3) {
+ o.done = true;
+ o.error = buildStatus();
+ o.metadata = buildUnnamed3337();
+ o.name = "foo";
+ o.response = buildUnnamed3338();
+ }
+ buildCounterOperation--;
+ return o;
+}
+
+checkOperation(api.Operation o) {
+ buildCounterOperation++;
+ if (buildCounterOperation < 3) {
+ unittest.expect(o.done, unittest.isTrue);
+ checkStatus(o.error);
+ checkUnnamed3337(o.metadata);
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed3338(o.response);
+ }
+ buildCounterOperation--;
+}
+
+core.int buildCounterPartitionId = 0;
+buildPartitionId() {
+ var o = new api.PartitionId();
+ buildCounterPartitionId++;
+ if (buildCounterPartitionId < 3) {
+ o.databaseId = "foo";
+ o.namespaceId = "foo";
+ o.projectId = "foo";
+ }
+ buildCounterPartitionId--;
+ return o;
+}
+
+checkPartitionId(api.PartitionId o) {
+ buildCounterPartitionId++;
+ if (buildCounterPartitionId < 3) {
+ unittest.expect(o.databaseId, unittest.equals('foo'));
+ unittest.expect(o.namespaceId, unittest.equals('foo'));
+ unittest.expect(o.projectId, unittest.equals('foo'));
+ }
+ buildCounterPartitionId--;
+}
+
+core.int buildCounterPathElement = 0;
+buildPathElement() {
+ var o = new api.PathElement();
+ buildCounterPathElement++;
+ if (buildCounterPathElement < 3) {
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterPathElement--;
+ return o;
+}
+
+checkPathElement(api.PathElement o) {
+ buildCounterPathElement++;
+ if (buildCounterPathElement < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterPathElement--;
+}
+
+core.int buildCounterProjection = 0;
+buildProjection() {
+ var o = new api.Projection();
+ buildCounterProjection++;
+ if (buildCounterProjection < 3) {
+ o.property = buildPropertyReference();
+ }
+ buildCounterProjection--;
+ return o;
+}
+
+checkProjection(api.Projection o) {
+ buildCounterProjection++;
+ if (buildCounterProjection < 3) {
+ checkPropertyReference(o.property);
+ }
+ buildCounterProjection--;
+}
+
+core.int buildCounterPropertyReference = 0;
+buildPropertyReference() {
+ var o = new api.PropertyReference();
+ buildCounterPropertyReference++;
+ if (buildCounterPropertyReference < 3) {
+ o.name = "foo";
+ }
+ buildCounterPropertyReference--;
+ return o;
+}
+
+checkPropertyReference(api.PropertyReference o) {
+ buildCounterPropertyReference++;
+ if (buildCounterPropertyReference < 3) {
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterPropertyReference--;
+}
+
+core.int buildCounterRange = 0;
+buildRange() {
+ var o = new api.Range();
+ buildCounterRange++;
+ if (buildCounterRange < 3) {
+ o.end = "foo";
+ o.start = "foo";
+ }
+ buildCounterRange--;
+ return o;
+}
+
+checkRange(api.Range o) {
+ buildCounterRange++;
+ if (buildCounterRange < 3) {
+ unittest.expect(o.end, unittest.equals('foo'));
+ unittest.expect(o.start, unittest.equals('foo'));
+ }
+ buildCounterRange--;
+}
+
+core.int buildCounterRecordKey = 0;
+buildRecordKey() {
+ var o = new api.RecordKey();
+ buildCounterRecordKey++;
+ if (buildCounterRecordKey < 3) {
+ o.cloudStorageKey = buildCloudStorageKey();
+ o.datastoreKey = buildDatastoreKey();
+ }
+ buildCounterRecordKey--;
+ return o;
+}
+
+checkRecordKey(api.RecordKey o) {
+ buildCounterRecordKey++;
+ if (buildCounterRecordKey < 3) {
+ checkCloudStorageKey(o.cloudStorageKey);
+ checkDatastoreKey(o.datastoreKey);
+ }
+ buildCounterRecordKey--;
+}
+
+buildUnnamed3339() {
+ var o = new core.List<api.ContentItem>();
+ o.add(buildContentItem());
+ o.add(buildContentItem());
+ return o;
+}
+
+checkUnnamed3339(core.List<api.ContentItem> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkContentItem(o[0]);
+ checkContentItem(o[1]);
+}
+
+buildUnnamed3340() {
+ var o = new core.List<api.ReplaceConfig>();
+ o.add(buildReplaceConfig());
+ o.add(buildReplaceConfig());
+ return o;
+}
+
+checkUnnamed3340(core.List<api.ReplaceConfig> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkReplaceConfig(o[0]);
+ checkReplaceConfig(o[1]);
+}
+
+core.int buildCounterRedactContentRequest = 0;
+buildRedactContentRequest() {
+ var o = new api.RedactContentRequest();
+ buildCounterRedactContentRequest++;
+ if (buildCounterRedactContentRequest < 3) {
+ o.inspectConfig = buildInspectConfig();
+ o.items = buildUnnamed3339();
+ o.replaceConfigs = buildUnnamed3340();
+ }
+ buildCounterRedactContentRequest--;
+ return o;
+}
+
+checkRedactContentRequest(api.RedactContentRequest o) {
+ buildCounterRedactContentRequest++;
+ if (buildCounterRedactContentRequest < 3) {
+ checkInspectConfig(o.inspectConfig);
+ checkUnnamed3339(o.items);
+ checkUnnamed3340(o.replaceConfigs);
+ }
+ buildCounterRedactContentRequest--;
+}
+
+buildUnnamed3341() {
+ var o = new core.List<api.ContentItem>();
+ o.add(buildContentItem());
+ o.add(buildContentItem());
+ return o;
+}
+
+checkUnnamed3341(core.List<api.ContentItem> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkContentItem(o[0]);
+ checkContentItem(o[1]);
+}
+
+core.int buildCounterRedactContentResponse = 0;
+buildRedactContentResponse() {
+ var o = new api.RedactContentResponse();
+ buildCounterRedactContentResponse++;
+ if (buildCounterRedactContentResponse < 3) {
+ o.items = buildUnnamed3341();
+ }
+ buildCounterRedactContentResponse--;
+ return o;
+}
+
+checkRedactContentResponse(api.RedactContentResponse o) {
+ buildCounterRedactContentResponse++;
+ if (buildCounterRedactContentResponse < 3) {
+ checkUnnamed3341(o.items);
+ }
+ buildCounterRedactContentResponse--;
+}
+
+core.int buildCounterReplaceConfig = 0;
+buildReplaceConfig() {
+ var o = new api.ReplaceConfig();
+ buildCounterReplaceConfig++;
+ if (buildCounterReplaceConfig < 3) {
+ o.infoType = buildInfoType();
+ o.replaceWith = "foo";
+ }
+ buildCounterReplaceConfig--;
+ return o;
+}
+
+checkReplaceConfig(api.ReplaceConfig o) {
+ buildCounterReplaceConfig++;
+ if (buildCounterReplaceConfig < 3) {
+ checkInfoType(o.infoType);
+ unittest.expect(o.replaceWith, unittest.equals('foo'));
+ }
+ buildCounterReplaceConfig--;
+}
+
+buildUnnamed3342() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
+ o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
+ return o;
+}
+
+checkUnnamed3342(core.Map<core.String, core.Object> 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'));
+}
+
+buildUnnamed3343() {
+ var o = new core.List<core.Map<core.String, core.Object>>();
+ o.add(buildUnnamed3342());
+ o.add(buildUnnamed3342());
+ return o;
+}
+
+checkUnnamed3343(core.List<core.Map<core.String, core.Object>> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUnnamed3342(o[0]);
+ checkUnnamed3342(o[1]);
+}
+
+core.int buildCounterStatus = 0;
+buildStatus() {
+ var o = new api.Status();
+ buildCounterStatus++;
+ if (buildCounterStatus < 3) {
+ o.code = 42;
+ o.details = buildUnnamed3343();
+ o.message = "foo";
+ }
+ buildCounterStatus--;
+ return o;
+}
+
+checkStatus(api.Status o) {
+ buildCounterStatus++;
+ if (buildCounterStatus < 3) {
+ unittest.expect(o.code, unittest.equals(42));
+ checkUnnamed3343(o.details);
+ unittest.expect(o.message, unittest.equals('foo'));
+ }
+ buildCounterStatus--;
+}
+
+core.int buildCounterStorageConfig = 0;
+buildStorageConfig() {
+ var o = new api.StorageConfig();
+ buildCounterStorageConfig++;
+ if (buildCounterStorageConfig < 3) {
+ o.cloudStorageOptions = buildCloudStorageOptions();
+ o.datastoreOptions = buildDatastoreOptions();
+ }
+ buildCounterStorageConfig--;
+ return o;
+}
+
+checkStorageConfig(api.StorageConfig o) {
+ buildCounterStorageConfig++;
+ if (buildCounterStorageConfig < 3) {
+ checkCloudStorageOptions(o.cloudStorageOptions);
+ checkDatastoreOptions(o.datastoreOptions);
+ }
+ buildCounterStorageConfig--;
+}
+
+
+main() {
+ unittest.group("obj-schema-CancelOperationRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCancelOperationRequest();
+ var od = new api.CancelOperationRequest.fromJson(o.toJson());
+ checkCancelOperationRequest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-CategoryDescription", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCategoryDescription();
+ var od = new api.CategoryDescription.fromJson(o.toJson());
+ checkCategoryDescription(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-CloudStorageKey", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCloudStorageKey();
+ var od = new api.CloudStorageKey.fromJson(o.toJson());
+ checkCloudStorageKey(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-CloudStorageOptions", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCloudStorageOptions();
+ var od = new api.CloudStorageOptions.fromJson(o.toJson());
+ checkCloudStorageOptions(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ContentItem", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildContentItem();
+ var od = new api.ContentItem.fromJson(o.toJson());
+ checkContentItem(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-CreateInspectOperationRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreateInspectOperationRequest();
+ var od = new api.CreateInspectOperationRequest.fromJson(o.toJson());
+ checkCreateInspectOperationRequest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-DatastoreKey", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDatastoreKey();
+ var od = new api.DatastoreKey.fromJson(o.toJson());
+ checkDatastoreKey(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-DatastoreOptions", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDatastoreOptions();
+ var od = new api.DatastoreOptions.fromJson(o.toJson());
+ checkDatastoreOptions(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Empty", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildEmpty();
+ var od = new api.Empty.fromJson(o.toJson());
+ checkEmpty(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-FieldId", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFieldId();
+ var od = new api.FieldId.fromJson(o.toJson());
+ checkFieldId(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-FileSet", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFileSet();
+ var od = new api.FileSet.fromJson(o.toJson());
+ checkFileSet(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Finding", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFinding();
+ var od = new api.Finding.fromJson(o.toJson());
+ checkFinding(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ImageLocation", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildImageLocation();
+ var od = new api.ImageLocation.fromJson(o.toJson());
+ checkImageLocation(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-InfoType", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildInfoType();
+ var od = new api.InfoType.fromJson(o.toJson());
+ checkInfoType(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-InfoTypeDescription", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildInfoTypeDescription();
+ var od = new api.InfoTypeDescription.fromJson(o.toJson());
+ checkInfoTypeDescription(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-InspectConfig", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildInspectConfig();
+ var od = new api.InspectConfig.fromJson(o.toJson());
+ checkInspectConfig(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-InspectContentRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildInspectContentRequest();
+ var od = new api.InspectContentRequest.fromJson(o.toJson());
+ checkInspectContentRequest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-InspectContentResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildInspectContentResponse();
+ var od = new api.InspectContentResponse.fromJson(o.toJson());
+ checkInspectContentResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-InspectResult", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildInspectResult();
+ var od = new api.InspectResult.fromJson(o.toJson());
+ checkInspectResult(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Key", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildKey();
+ var od = new api.Key.fromJson(o.toJson());
+ checkKey(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-KindExpression", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildKindExpression();
+ var od = new api.KindExpression.fromJson(o.toJson());
+ checkKindExpression(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ListInfoTypesResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListInfoTypesResponse();
+ var od = new api.ListInfoTypesResponse.fromJson(o.toJson());
+ checkListInfoTypesResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ListInspectFindingsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListInspectFindingsResponse();
+ var od = new api.ListInspectFindingsResponse.fromJson(o.toJson());
+ checkListInspectFindingsResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ListOperationsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListOperationsResponse();
+ var od = new api.ListOperationsResponse.fromJson(o.toJson());
+ checkListOperationsResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ListRootCategoriesResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListRootCategoriesResponse();
+ var od = new api.ListRootCategoriesResponse.fromJson(o.toJson());
+ checkListRootCategoriesResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Location", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLocation();
+ var od = new api.Location.fromJson(o.toJson());
+ checkLocation(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Operation", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOperation();
+ var od = new api.Operation.fromJson(o.toJson());
+ checkOperation(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-PartitionId", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPartitionId();
+ var od = new api.PartitionId.fromJson(o.toJson());
+ checkPartitionId(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-PathElement", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPathElement();
+ var od = new api.PathElement.fromJson(o.toJson());
+ checkPathElement(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Projection", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildProjection();
+ var od = new api.Projection.fromJson(o.toJson());
+ checkProjection(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-PropertyReference", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPropertyReference();
+ var od = new api.PropertyReference.fromJson(o.toJson());
+ checkPropertyReference(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Range", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildRange();
+ var od = new api.Range.fromJson(o.toJson());
+ checkRange(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-RecordKey", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildRecordKey();
+ var od = new api.RecordKey.fromJson(o.toJson());
+ checkRecordKey(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-RedactContentRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildRedactContentRequest();
+ var od = new api.RedactContentRequest.fromJson(o.toJson());
+ checkRedactContentRequest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-RedactContentResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildRedactContentResponse();
+ var od = new api.RedactContentResponse.fromJson(o.toJson());
+ checkRedactContentResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ReplaceConfig", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReplaceConfig();
+ var od = new api.ReplaceConfig.fromJson(o.toJson());
+ checkReplaceConfig(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Status", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildStatus();
+ var od = new api.Status.fromJson(o.toJson());
+ checkStatus(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-StorageConfig", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildStorageConfig();
+ var od = new api.StorageConfig.fromJson(o.toJson());
+ checkStorageConfig(od);
+ });
+ });
+
+
+ unittest.group("resource-ContentResourceApi", () {
+ unittest.test("method--inspect", () {
+
+ var mock = new HttpServerMock();
+ api.ContentResourceApi res = new api.DlpApi(mock).content;
+ var arg_request = buildInspectContentRequest();
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.InspectContentRequest.fromJson(json);
+ checkInspectContentRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 23), unittest.equals("v2beta1/content:inspect"));
+ pathOffset += 23;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildInspectContentResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.inspect(arg_request).then(unittest.expectAsync(((api.InspectContentResponse response) {
+ checkInspectContentResponse(response);
+ })));
+ });
+
+ unittest.test("method--redact", () {
+
+ var mock = new HttpServerMock();
+ api.ContentResourceApi res = new api.DlpApi(mock).content;
+ var arg_request = buildRedactContentRequest();
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.RedactContentRequest.fromJson(json);
+ checkRedactContentRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.equals("v2beta1/content:redact"));
+ pathOffset += 22;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildRedactContentResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.redact(arg_request).then(unittest.expectAsync(((api.RedactContentResponse response) {
+ checkRedactContentResponse(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-InspectOperationsResourceApi", () {
+ unittest.test("method--cancel", () {
+
+ var mock = new HttpServerMock();
+ api.InspectOperationsResourceApi res = new api.DlpApi(mock).inspect.operations;
+ var arg_request = buildCancelOperationRequest();
+ var arg_name = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.CancelOperationRequest.fromJson(json);
+ checkCancelOperationRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v2beta1/"));
+ pathOffset += 8;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.cancel(arg_request, arg_name).then(unittest.expectAsync(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
+ unittest.test("method--create", () {
+
+ var mock = new HttpServerMock();
+ api.InspectOperationsResourceApi res = new api.DlpApi(mock).inspect.operations;
+ var arg_request = buildCreateInspectOperationRequest();
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var obj = new api.CreateInspectOperationRequest.fromJson(json);
+ checkCreateInspectOperationRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.equals("v2beta1/inspect/operations"));
+ pathOffset += 26;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.create(arg_request).then(unittest.expectAsync(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
+ unittest.test("method--delete", () {
+
+ var mock = new HttpServerMock();
+ api.InspectOperationsResourceApi res = new api.DlpApi(mock).inspect.operations;
+ var arg_name = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v2beta1/"));
+ pathOffset += 8;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.delete(arg_name).then(unittest.expectAsync(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
+ unittest.test("method--get", () {
+
+ var mock = new HttpServerMock();
+ api.InspectOperationsResourceApi res = new api.DlpApi(mock).inspect.operations;
+ var arg_name = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v2beta1/"));
+ pathOffset += 8;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.get(arg_name).then(unittest.expectAsync(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+
+ var mock = new HttpServerMock();
+ api.InspectOperationsResourceApi res = new api.DlpApi(mock).inspect.operations;
+ var arg_name = "foo";
+ var arg_pageSize = 42;
+ var arg_filter = "foo";
+ var arg_pageToken = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v2beta1/"));
+ pathOffset += 8;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var 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["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListOperationsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_name, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response) {
+ checkListOperationsResponse(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-InspectResultsFindingsResourceApi", () {
+ unittest.test("method--list", () {
+
+ var mock = new HttpServerMock();
+ api.InspectResultsFindingsResourceApi res = new api.DlpApi(mock).inspect.results.findings;
+ var arg_name = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v2beta1/"));
+ pathOffset += 8;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListInspectFindingsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListInspectFindingsResponse response) {
+ checkListInspectFindingsResponse(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-RootCategoriesResourceApi", () {
+ unittest.test("method--list", () {
+
+ var mock = new HttpServerMock();
+ api.RootCategoriesResourceApi res = new api.DlpApi(mock).rootCategories;
+ var arg_languageCode = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.equals("v2beta1/rootCategories"));
+ pathOffset += 22;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["languageCode"].first, unittest.equals(arg_languageCode));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListRootCategoriesResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(languageCode: arg_languageCode).then(unittest.expectAsync(((api.ListRootCategoriesResponse response) {
+ checkListRootCategoriesResponse(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-RootCategoriesInfoTypesResourceApi", () {
+ unittest.test("method--list", () {
+
+ var mock = new HttpServerMock();
+ api.RootCategoriesInfoTypesResourceApi res = new api.DlpApi(mock).rootCategories.infoTypes;
+ var arg_category = "foo";
+ var arg_languageCode = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 23), unittest.equals("v2beta1/rootCategories/"));
+ pathOffset += 23;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["languageCode"].first, unittest.equals(arg_languageCode));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListInfoTypesResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_category, languageCode: arg_languageCode).then(unittest.expectAsync(((api.ListInfoTypesResponse response) {
+ checkListInfoTypesResponse(response);
+ })));
+ });
+
+ });
+
+
+}
+
diff --git a/generated/googleapis_beta/test/dns/v2beta1_test.dart b/generated/googleapis_beta/test/dns/v2beta1_test.dart
index da311c3..564fbdc 100644
--- a/generated/googleapis_beta/test/dns/v2beta1_test.dart
+++ b/generated/googleapis_beta/test/dns/v2beta1_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3373() {
+buildUnnamed3469() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed3373(core.List<api.ResourceRecordSet> o) {
+checkUnnamed3469(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
}
-buildUnnamed3374() {
+buildUnnamed3470() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed3374(core.List<api.ResourceRecordSet> o) {
+checkUnnamed3470(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
@@ -82,8 +82,8 @@
var o = new api.Change();
buildCounterChange++;
if (buildCounterChange < 3) {
- o.additions = buildUnnamed3373();
- o.deletions = buildUnnamed3374();
+ o.additions = buildUnnamed3469();
+ o.deletions = buildUnnamed3470();
o.id = "foo";
o.isServing = true;
o.kind = "foo";
@@ -97,8 +97,8 @@
checkChange(api.Change o) {
buildCounterChange++;
if (buildCounterChange < 3) {
- checkUnnamed3373(o.additions);
- checkUnnamed3374(o.deletions);
+ checkUnnamed3469(o.additions);
+ checkUnnamed3470(o.deletions);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isServing, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -108,14 +108,14 @@
buildCounterChange--;
}
-buildUnnamed3375() {
+buildUnnamed3471() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed3375(core.List<api.Change> o) {
+checkUnnamed3471(core.List<api.Change> o) {
unittest.expect(o, unittest.hasLength(2));
checkChange(o[0]);
checkChange(o[1]);
@@ -126,7 +126,7 @@
var o = new api.ChangesListResponse();
buildCounterChangesListResponse++;
if (buildCounterChangesListResponse < 3) {
- o.changes = buildUnnamed3375();
+ o.changes = buildUnnamed3471();
o.header = buildResponseHeader();
o.kind = "foo";
o.nextPageToken = "foo";
@@ -138,7 +138,7 @@
checkChangesListResponse(api.ChangesListResponse o) {
buildCounterChangesListResponse++;
if (buildCounterChangesListResponse < 3) {
- checkUnnamed3375(o.changes);
+ checkUnnamed3471(o.changes);
checkResponseHeader(o.header);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -146,14 +146,14 @@
buildCounterChangesListResponse--;
}
-buildUnnamed3376() {
+buildUnnamed3472() {
var o = new core.List<api.DnsKeyDigest>();
o.add(buildDnsKeyDigest());
o.add(buildDnsKeyDigest());
return o;
}
-checkUnnamed3376(core.List<api.DnsKeyDigest> o) {
+checkUnnamed3472(core.List<api.DnsKeyDigest> o) {
unittest.expect(o, unittest.hasLength(2));
checkDnsKeyDigest(o[0]);
checkDnsKeyDigest(o[1]);
@@ -167,7 +167,7 @@
o.algorithm = "foo";
o.creationTime = "foo";
o.description = "foo";
- o.digests = buildUnnamed3376();
+ o.digests = buildUnnamed3472();
o.id = "foo";
o.isActive = true;
o.keyLength = 42;
@@ -186,7 +186,7 @@
unittest.expect(o.algorithm, unittest.equals('foo'));
unittest.expect(o.creationTime, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed3376(o.digests);
+ checkUnnamed3472(o.digests);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isActive, unittest.isTrue);
unittest.expect(o.keyLength, unittest.equals(42));
@@ -244,14 +244,14 @@
buildCounterDnsKeySpec--;
}
-buildUnnamed3377() {
+buildUnnamed3473() {
var o = new core.List<api.DnsKey>();
o.add(buildDnsKey());
o.add(buildDnsKey());
return o;
}
-checkUnnamed3377(core.List<api.DnsKey> o) {
+checkUnnamed3473(core.List<api.DnsKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkDnsKey(o[0]);
checkDnsKey(o[1]);
@@ -262,7 +262,7 @@
var o = new api.DnsKeysListResponse();
buildCounterDnsKeysListResponse++;
if (buildCounterDnsKeysListResponse < 3) {
- o.dnsKeys = buildUnnamed3377();
+ o.dnsKeys = buildUnnamed3473();
o.header = buildResponseHeader();
o.kind = "foo";
o.nextPageToken = "foo";
@@ -274,7 +274,7 @@
checkDnsKeysListResponse(api.DnsKeysListResponse o) {
buildCounterDnsKeysListResponse++;
if (buildCounterDnsKeysListResponse < 3) {
- checkUnnamed3377(o.dnsKeys);
+ checkUnnamed3473(o.dnsKeys);
checkResponseHeader(o.header);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -282,14 +282,14 @@
buildCounterDnsKeysListResponse--;
}
-buildUnnamed3378() {
+buildUnnamed3474() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3378(core.List<core.String> o) {
+checkUnnamed3474(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -308,7 +308,7 @@
o.kind = "foo";
o.name = "foo";
o.nameServerSet = "foo";
- o.nameServers = buildUnnamed3378();
+ o.nameServers = buildUnnamed3474();
}
buildCounterManagedZone--;
return o;
@@ -325,19 +325,19 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nameServerSet, unittest.equals('foo'));
- checkUnnamed3378(o.nameServers);
+ checkUnnamed3474(o.nameServers);
}
buildCounterManagedZone--;
}
-buildUnnamed3379() {
+buildUnnamed3475() {
var o = new core.List<api.DnsKeySpec>();
o.add(buildDnsKeySpec());
o.add(buildDnsKeySpec());
return o;
}
-checkUnnamed3379(core.List<api.DnsKeySpec> o) {
+checkUnnamed3475(core.List<api.DnsKeySpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkDnsKeySpec(o[0]);
checkDnsKeySpec(o[1]);
@@ -348,7 +348,7 @@
var o = new api.ManagedZoneDnsSecConfig();
buildCounterManagedZoneDnsSecConfig++;
if (buildCounterManagedZoneDnsSecConfig < 3) {
- o.defaultKeySpecs = buildUnnamed3379();
+ o.defaultKeySpecs = buildUnnamed3475();
o.kind = "foo";
o.nonExistence = "foo";
o.state = "foo";
@@ -360,7 +360,7 @@
checkManagedZoneDnsSecConfig(api.ManagedZoneDnsSecConfig o) {
buildCounterManagedZoneDnsSecConfig++;
if (buildCounterManagedZoneDnsSecConfig < 3) {
- checkUnnamed3379(o.defaultKeySpecs);
+ checkUnnamed3475(o.defaultKeySpecs);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nonExistence, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
@@ -368,14 +368,14 @@
buildCounterManagedZoneDnsSecConfig--;
}
-buildUnnamed3380() {
+buildUnnamed3476() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3380(core.List<api.Operation> o) {
+checkUnnamed3476(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -389,7 +389,7 @@
o.header = buildResponseHeader();
o.kind = "foo";
o.nextPageToken = "foo";
- o.operations = buildUnnamed3380();
+ o.operations = buildUnnamed3476();
}
buildCounterManagedZoneOperationsListResponse--;
return o;
@@ -401,7 +401,7 @@
checkResponseHeader(o.header);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3380(o.operations);
+ checkUnnamed3476(o.operations);
}
buildCounterManagedZoneOperationsListResponse--;
}
@@ -425,14 +425,14 @@
buildCounterManagedZonesDeleteResponse--;
}
-buildUnnamed3381() {
+buildUnnamed3477() {
var o = new core.List<api.ManagedZone>();
o.add(buildManagedZone());
o.add(buildManagedZone());
return o;
}
-checkUnnamed3381(core.List<api.ManagedZone> o) {
+checkUnnamed3477(core.List<api.ManagedZone> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedZone(o[0]);
checkManagedZone(o[1]);
@@ -445,7 +445,7 @@
if (buildCounterManagedZonesListResponse < 3) {
o.header = buildResponseHeader();
o.kind = "foo";
- o.managedZones = buildUnnamed3381();
+ o.managedZones = buildUnnamed3477();
o.nextPageToken = "foo";
}
buildCounterManagedZonesListResponse--;
@@ -457,7 +457,7 @@
if (buildCounterManagedZonesListResponse < 3) {
checkResponseHeader(o.header);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3381(o.managedZones);
+ checkUnnamed3477(o.managedZones);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterManagedZonesListResponse--;
@@ -563,14 +563,14 @@
buildCounterProject--;
}
-buildUnnamed3382() {
+buildUnnamed3478() {
var o = new core.List<api.DnsKeySpec>();
o.add(buildDnsKeySpec());
o.add(buildDnsKeySpec());
return o;
}
-checkUnnamed3382(core.List<api.DnsKeySpec> o) {
+checkUnnamed3478(core.List<api.DnsKeySpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkDnsKeySpec(o[0]);
checkDnsKeySpec(o[1]);
@@ -589,7 +589,7 @@
o.rrsetDeletionsPerChange = 42;
o.rrsetsPerManagedZone = 42;
o.totalRrdataSizePerChange = 42;
- o.whitelistedKeySpecs = buildUnnamed3382();
+ o.whitelistedKeySpecs = buildUnnamed3478();
}
buildCounterQuota--;
return o;
@@ -606,32 +606,32 @@
unittest.expect(o.rrsetDeletionsPerChange, unittest.equals(42));
unittest.expect(o.rrsetsPerManagedZone, unittest.equals(42));
unittest.expect(o.totalRrdataSizePerChange, unittest.equals(42));
- checkUnnamed3382(o.whitelistedKeySpecs);
+ checkUnnamed3478(o.whitelistedKeySpecs);
}
buildCounterQuota--;
}
-buildUnnamed3383() {
+buildUnnamed3479() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3383(core.List<core.String> o) {
+checkUnnamed3479(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3384() {
+buildUnnamed3480() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3384(core.List<core.String> o) {
+checkUnnamed3480(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -644,8 +644,8 @@
if (buildCounterResourceRecordSet < 3) {
o.kind = "foo";
o.name = "foo";
- o.rrdatas = buildUnnamed3383();
- o.signatureRrdatas = buildUnnamed3384();
+ o.rrdatas = buildUnnamed3479();
+ o.signatureRrdatas = buildUnnamed3480();
o.ttl = 42;
o.type = "foo";
}
@@ -658,22 +658,22 @@
if (buildCounterResourceRecordSet < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3383(o.rrdatas);
- checkUnnamed3384(o.signatureRrdatas);
+ checkUnnamed3479(o.rrdatas);
+ checkUnnamed3480(o.signatureRrdatas);
unittest.expect(o.ttl, unittest.equals(42));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterResourceRecordSet--;
}
-buildUnnamed3385() {
+buildUnnamed3481() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed3385(core.List<api.ResourceRecordSet> o) {
+checkUnnamed3481(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
@@ -687,7 +687,7 @@
o.header = buildResponseHeader();
o.kind = "foo";
o.nextPageToken = "foo";
- o.rrsets = buildUnnamed3385();
+ o.rrsets = buildUnnamed3481();
}
buildCounterResourceRecordSetsListResponse--;
return o;
@@ -699,7 +699,7 @@
checkResponseHeader(o.header);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3385(o.rrsets);
+ checkUnnamed3481(o.rrsets);
}
buildCounterResourceRecordSetsListResponse--;
}
diff --git a/generated/googleapis_beta/test/language/v1beta1_test.dart b/generated/googleapis_beta/test/language/v1beta1_test.dart
index 444090e..adc5bd6 100644
--- a/generated/googleapis_beta/test/language/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/language/v1beta1_test.dart
@@ -72,14 +72,14 @@
buildCounterAnalyzeEntitiesRequest--;
}
-buildUnnamed3107() {
+buildUnnamed3199() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed3107(core.List<api.Entity> o) {
+checkUnnamed3199(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
@@ -90,7 +90,7 @@
var o = new api.AnalyzeEntitiesResponse();
buildCounterAnalyzeEntitiesResponse++;
if (buildCounterAnalyzeEntitiesResponse < 3) {
- o.entities = buildUnnamed3107();
+ o.entities = buildUnnamed3199();
o.language = "foo";
}
buildCounterAnalyzeEntitiesResponse--;
@@ -100,7 +100,7 @@
checkAnalyzeEntitiesResponse(api.AnalyzeEntitiesResponse o) {
buildCounterAnalyzeEntitiesResponse++;
if (buildCounterAnalyzeEntitiesResponse < 3) {
- checkUnnamed3107(o.entities);
+ checkUnnamed3199(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
}
buildCounterAnalyzeEntitiesResponse--;
@@ -127,14 +127,14 @@
buildCounterAnalyzeSentimentRequest--;
}
-buildUnnamed3108() {
+buildUnnamed3200() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed3108(core.List<api.Sentence> o) {
+checkUnnamed3200(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
@@ -147,7 +147,7 @@
if (buildCounterAnalyzeSentimentResponse < 3) {
o.documentSentiment = buildSentiment();
o.language = "foo";
- o.sentences = buildUnnamed3108();
+ o.sentences = buildUnnamed3200();
}
buildCounterAnalyzeSentimentResponse--;
return o;
@@ -158,7 +158,7 @@
if (buildCounterAnalyzeSentimentResponse < 3) {
checkSentiment(o.documentSentiment);
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed3108(o.sentences);
+ checkUnnamed3200(o.sentences);
}
buildCounterAnalyzeSentimentResponse--;
}
@@ -184,27 +184,27 @@
buildCounterAnalyzeSyntaxRequest--;
}
-buildUnnamed3109() {
+buildUnnamed3201() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed3109(core.List<api.Sentence> o) {
+checkUnnamed3201(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
}
-buildUnnamed3110() {
+buildUnnamed3202() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed3110(core.List<api.Token> o) {
+checkUnnamed3202(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -216,8 +216,8 @@
buildCounterAnalyzeSyntaxResponse++;
if (buildCounterAnalyzeSyntaxResponse < 3) {
o.language = "foo";
- o.sentences = buildUnnamed3109();
- o.tokens = buildUnnamed3110();
+ o.sentences = buildUnnamed3201();
+ o.tokens = buildUnnamed3202();
}
buildCounterAnalyzeSyntaxResponse--;
return o;
@@ -227,8 +227,8 @@
buildCounterAnalyzeSyntaxResponse++;
if (buildCounterAnalyzeSyntaxResponse < 3) {
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed3109(o.sentences);
- checkUnnamed3110(o.tokens);
+ checkUnnamed3201(o.sentences);
+ checkUnnamed3202(o.tokens);
}
buildCounterAnalyzeSyntaxResponse--;
}
@@ -256,40 +256,40 @@
buildCounterAnnotateTextRequest--;
}
-buildUnnamed3111() {
+buildUnnamed3203() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed3111(core.List<api.Entity> o) {
+checkUnnamed3203(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
}
-buildUnnamed3112() {
+buildUnnamed3204() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed3112(core.List<api.Sentence> o) {
+checkUnnamed3204(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
}
-buildUnnamed3113() {
+buildUnnamed3205() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed3113(core.List<api.Token> o) {
+checkUnnamed3205(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -301,10 +301,10 @@
buildCounterAnnotateTextResponse++;
if (buildCounterAnnotateTextResponse < 3) {
o.documentSentiment = buildSentiment();
- o.entities = buildUnnamed3111();
+ o.entities = buildUnnamed3203();
o.language = "foo";
- o.sentences = buildUnnamed3112();
- o.tokens = buildUnnamed3113();
+ o.sentences = buildUnnamed3204();
+ o.tokens = buildUnnamed3205();
}
buildCounterAnnotateTextResponse--;
return o;
@@ -314,10 +314,10 @@
buildCounterAnnotateTextResponse++;
if (buildCounterAnnotateTextResponse < 3) {
checkSentiment(o.documentSentiment);
- checkUnnamed3111(o.entities);
+ checkUnnamed3203(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed3112(o.sentences);
- checkUnnamed3113(o.tokens);
+ checkUnnamed3204(o.sentences);
+ checkUnnamed3205(o.tokens);
}
buildCounterAnnotateTextResponse--;
}
@@ -368,27 +368,27 @@
buildCounterDocument--;
}
-buildUnnamed3114() {
+buildUnnamed3206() {
var o = new core.List<api.EntityMention>();
o.add(buildEntityMention());
o.add(buildEntityMention());
return o;
}
-checkUnnamed3114(core.List<api.EntityMention> o) {
+checkUnnamed3206(core.List<api.EntityMention> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityMention(o[0]);
checkEntityMention(o[1]);
}
-buildUnnamed3115() {
+buildUnnamed3207() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3115(core.Map<core.String, core.String> o) {
+checkUnnamed3207(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -399,8 +399,8 @@
var o = new api.Entity();
buildCounterEntity++;
if (buildCounterEntity < 3) {
- o.mentions = buildUnnamed3114();
- o.metadata = buildUnnamed3115();
+ o.mentions = buildUnnamed3206();
+ o.metadata = buildUnnamed3207();
o.name = "foo";
o.salience = 42.0;
o.type = "foo";
@@ -412,8 +412,8 @@
checkEntity(api.Entity o) {
buildCounterEntity++;
if (buildCounterEntity < 3) {
- checkUnnamed3114(o.mentions);
- checkUnnamed3115(o.metadata);
+ checkUnnamed3206(o.mentions);
+ checkUnnamed3207(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.salience, unittest.equals(42.0));
unittest.expect(o.type, unittest.equals('foo'));
@@ -550,30 +550,30 @@
buildCounterSentiment--;
}
-buildUnnamed3116() {
+buildUnnamed3208() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3116(core.Map<core.String, core.Object> o) {
+checkUnnamed3208(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed3117() {
+buildUnnamed3209() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3116());
- o.add(buildUnnamed3116());
+ o.add(buildUnnamed3208());
+ o.add(buildUnnamed3208());
return o;
}
-checkUnnamed3117(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3209(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3116(o[0]);
- checkUnnamed3116(o[1]);
+ checkUnnamed3208(o[0]);
+ checkUnnamed3208(o[1]);
}
core.int buildCounterStatus = 0;
@@ -582,7 +582,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3117();
+ o.details = buildUnnamed3209();
o.message = "foo";
}
buildCounterStatus--;
@@ -593,7 +593,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3117(o.details);
+ checkUnnamed3209(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
diff --git a/generated/googleapis_beta/test/logging/v2beta1_test.dart b/generated/googleapis_beta/test/logging/v2beta1_test.dart
index 0c0005a..48d2258 100644
--- a/generated/googleapis_beta/test/logging/v2beta1_test.dart
+++ b/generated/googleapis_beta/test/logging/v2beta1_test.dart
@@ -136,27 +136,27 @@
buildCounterLabelDescriptor--;
}
-buildUnnamed3386() {
+buildUnnamed3482() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3386(core.List<core.String> o) {
+checkUnnamed3482(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3387() {
+buildUnnamed3483() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3387(core.List<core.String> o) {
+checkUnnamed3483(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -171,8 +171,8 @@
o.orderBy = "foo";
o.pageSize = 42;
o.pageToken = "foo";
- o.projectIds = buildUnnamed3386();
- o.resourceNames = buildUnnamed3387();
+ o.projectIds = buildUnnamed3482();
+ o.resourceNames = buildUnnamed3483();
}
buildCounterListLogEntriesRequest--;
return o;
@@ -185,20 +185,20 @@
unittest.expect(o.orderBy, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed3386(o.projectIds);
- checkUnnamed3387(o.resourceNames);
+ checkUnnamed3482(o.projectIds);
+ checkUnnamed3483(o.resourceNames);
}
buildCounterListLogEntriesRequest--;
}
-buildUnnamed3388() {
+buildUnnamed3484() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed3388(core.List<api.LogEntry> o) {
+checkUnnamed3484(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
@@ -209,7 +209,7 @@
var o = new api.ListLogEntriesResponse();
buildCounterListLogEntriesResponse++;
if (buildCounterListLogEntriesResponse < 3) {
- o.entries = buildUnnamed3388();
+ o.entries = buildUnnamed3484();
o.nextPageToken = "foo";
}
buildCounterListLogEntriesResponse--;
@@ -219,20 +219,20 @@
checkListLogEntriesResponse(api.ListLogEntriesResponse o) {
buildCounterListLogEntriesResponse++;
if (buildCounterListLogEntriesResponse < 3) {
- checkUnnamed3388(o.entries);
+ checkUnnamed3484(o.entries);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogEntriesResponse--;
}
-buildUnnamed3389() {
+buildUnnamed3485() {
var o = new core.List<api.LogMetric>();
o.add(buildLogMetric());
o.add(buildLogMetric());
return o;
}
-checkUnnamed3389(core.List<api.LogMetric> o) {
+checkUnnamed3485(core.List<api.LogMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogMetric(o[0]);
checkLogMetric(o[1]);
@@ -243,7 +243,7 @@
var o = new api.ListLogMetricsResponse();
buildCounterListLogMetricsResponse++;
if (buildCounterListLogMetricsResponse < 3) {
- o.metrics = buildUnnamed3389();
+ o.metrics = buildUnnamed3485();
o.nextPageToken = "foo";
}
buildCounterListLogMetricsResponse--;
@@ -253,20 +253,20 @@
checkListLogMetricsResponse(api.ListLogMetricsResponse o) {
buildCounterListLogMetricsResponse++;
if (buildCounterListLogMetricsResponse < 3) {
- checkUnnamed3389(o.metrics);
+ checkUnnamed3485(o.metrics);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogMetricsResponse--;
}
-buildUnnamed3390() {
+buildUnnamed3486() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3390(core.List<core.String> o) {
+checkUnnamed3486(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -277,7 +277,7 @@
var o = new api.ListLogsResponse();
buildCounterListLogsResponse++;
if (buildCounterListLogsResponse < 3) {
- o.logNames = buildUnnamed3390();
+ o.logNames = buildUnnamed3486();
o.nextPageToken = "foo";
}
buildCounterListLogsResponse--;
@@ -287,20 +287,20 @@
checkListLogsResponse(api.ListLogsResponse o) {
buildCounterListLogsResponse++;
if (buildCounterListLogsResponse < 3) {
- checkUnnamed3390(o.logNames);
+ checkUnnamed3486(o.logNames);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogsResponse--;
}
-buildUnnamed3391() {
+buildUnnamed3487() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed3391(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed3487(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
@@ -312,7 +312,7 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
o.nextPageToken = "foo";
- o.resourceDescriptors = buildUnnamed3391();
+ o.resourceDescriptors = buildUnnamed3487();
}
buildCounterListMonitoredResourceDescriptorsResponse--;
return o;
@@ -322,19 +322,19 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3391(o.resourceDescriptors);
+ checkUnnamed3487(o.resourceDescriptors);
}
buildCounterListMonitoredResourceDescriptorsResponse--;
}
-buildUnnamed3392() {
+buildUnnamed3488() {
var o = new core.List<api.LogSink>();
o.add(buildLogSink());
o.add(buildLogSink());
return o;
}
-checkUnnamed3392(core.List<api.LogSink> o) {
+checkUnnamed3488(core.List<api.LogSink> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogSink(o[0]);
checkLogSink(o[1]);
@@ -346,7 +346,7 @@
buildCounterListSinksResponse++;
if (buildCounterListSinksResponse < 3) {
o.nextPageToken = "foo";
- o.sinks = buildUnnamed3392();
+ o.sinks = buildUnnamed3488();
}
buildCounterListSinksResponse--;
return o;
@@ -356,45 +356,45 @@
buildCounterListSinksResponse++;
if (buildCounterListSinksResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3392(o.sinks);
+ checkUnnamed3488(o.sinks);
}
buildCounterListSinksResponse--;
}
-buildUnnamed3393() {
+buildUnnamed3489() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3393(core.Map<core.String, core.Object> o) {
+checkUnnamed3489(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed3394() {
+buildUnnamed3490() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3394(core.Map<core.String, core.String> o) {
+checkUnnamed3490(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3395() {
+buildUnnamed3491() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3395(core.Map<core.String, core.Object> o) {
+checkUnnamed3491(core.Map<core.String, core.Object> 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'));
@@ -407,11 +407,11 @@
if (buildCounterLogEntry < 3) {
o.httpRequest = buildHttpRequest();
o.insertId = "foo";
- o.jsonPayload = buildUnnamed3393();
- o.labels = buildUnnamed3394();
+ o.jsonPayload = buildUnnamed3489();
+ o.labels = buildUnnamed3490();
o.logName = "foo";
o.operation = buildLogEntryOperation();
- o.protoPayload = buildUnnamed3395();
+ o.protoPayload = buildUnnamed3491();
o.resource = buildMonitoredResource();
o.severity = "foo";
o.sourceLocation = buildLogEntrySourceLocation();
@@ -428,11 +428,11 @@
if (buildCounterLogEntry < 3) {
checkHttpRequest(o.httpRequest);
unittest.expect(o.insertId, unittest.equals('foo'));
- checkUnnamed3393(o.jsonPayload);
- checkUnnamed3394(o.labels);
+ checkUnnamed3489(o.jsonPayload);
+ checkUnnamed3490(o.labels);
unittest.expect(o.logName, unittest.equals('foo'));
checkLogEntryOperation(o.operation);
- checkUnnamed3395(o.protoPayload);
+ checkUnnamed3491(o.protoPayload);
checkMonitoredResource(o.resource);
unittest.expect(o.severity, unittest.equals('foo'));
checkLogEntrySourceLocation(o.sourceLocation);
@@ -572,14 +572,14 @@
buildCounterLogSink--;
}
-buildUnnamed3396() {
+buildUnnamed3492() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3396(core.Map<core.String, core.String> o) {
+checkUnnamed3492(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -590,7 +590,7 @@
var o = new api.MonitoredResource();
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- o.labels = buildUnnamed3396();
+ o.labels = buildUnnamed3492();
o.type = "foo";
}
buildCounterMonitoredResource--;
@@ -600,20 +600,20 @@
checkMonitoredResource(api.MonitoredResource o) {
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- checkUnnamed3396(o.labels);
+ checkUnnamed3492(o.labels);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResource--;
}
-buildUnnamed3397() {
+buildUnnamed3493() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed3397(core.List<api.LabelDescriptor> o) {
+checkUnnamed3493(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -626,7 +626,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed3397();
+ o.labels = buildUnnamed3493();
o.name = "foo";
o.type = "foo";
}
@@ -639,34 +639,34 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed3397(o.labels);
+ checkUnnamed3493(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed3398() {
+buildUnnamed3494() {
var o = new core.List<api.LogLine>();
o.add(buildLogLine());
o.add(buildLogLine());
return o;
}
-checkUnnamed3398(core.List<api.LogLine> o) {
+checkUnnamed3494(core.List<api.LogLine> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogLine(o[0]);
checkLogLine(o[1]);
}
-buildUnnamed3399() {
+buildUnnamed3495() {
var o = new core.List<api.SourceReference>();
o.add(buildSourceReference());
o.add(buildSourceReference());
return o;
}
-checkUnnamed3399(core.List<api.SourceReference> o) {
+checkUnnamed3495(core.List<api.SourceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceReference(o[0]);
checkSourceReference(o[1]);
@@ -689,7 +689,7 @@
o.instanceIndex = 42;
o.ip = "foo";
o.latency = "foo";
- o.line = buildUnnamed3398();
+ o.line = buildUnnamed3494();
o.megaCycles = "foo";
o.method = "foo";
o.moduleId = "foo";
@@ -699,7 +699,7 @@
o.requestId = "foo";
o.resource = "foo";
o.responseSize = "foo";
- o.sourceReference = buildUnnamed3399();
+ o.sourceReference = buildUnnamed3495();
o.startTime = "foo";
o.status = 42;
o.taskName = "foo";
@@ -729,7 +729,7 @@
unittest.expect(o.instanceIndex, unittest.equals(42));
unittest.expect(o.ip, unittest.equals('foo'));
unittest.expect(o.latency, unittest.equals('foo'));
- checkUnnamed3398(o.line);
+ checkUnnamed3494(o.line);
unittest.expect(o.megaCycles, unittest.equals('foo'));
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.moduleId, unittest.equals('foo'));
@@ -739,7 +739,7 @@
unittest.expect(o.requestId, unittest.equals('foo'));
unittest.expect(o.resource, unittest.equals('foo'));
unittest.expect(o.responseSize, unittest.equals('foo'));
- checkUnnamed3399(o.sourceReference);
+ checkUnnamed3495(o.sourceReference);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals(42));
unittest.expect(o.taskName, unittest.equals('foo'));
@@ -797,27 +797,27 @@
buildCounterSourceReference--;
}
-buildUnnamed3400() {
+buildUnnamed3496() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed3400(core.List<api.LogEntry> o) {
+checkUnnamed3496(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
}
-buildUnnamed3401() {
+buildUnnamed3497() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3401(core.Map<core.String, core.String> o) {
+checkUnnamed3497(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -828,8 +828,8 @@
var o = new api.WriteLogEntriesRequest();
buildCounterWriteLogEntriesRequest++;
if (buildCounterWriteLogEntriesRequest < 3) {
- o.entries = buildUnnamed3400();
- o.labels = buildUnnamed3401();
+ o.entries = buildUnnamed3496();
+ o.labels = buildUnnamed3497();
o.logName = "foo";
o.partialSuccess = true;
o.resource = buildMonitoredResource();
@@ -841,8 +841,8 @@
checkWriteLogEntriesRequest(api.WriteLogEntriesRequest o) {
buildCounterWriteLogEntriesRequest++;
if (buildCounterWriteLogEntriesRequest < 3) {
- checkUnnamed3400(o.entries);
- checkUnnamed3401(o.labels);
+ checkUnnamed3496(o.entries);
+ checkUnnamed3497(o.labels);
unittest.expect(o.logName, unittest.equals('foo'));
unittest.expect(o.partialSuccess, unittest.isTrue);
checkMonitoredResource(o.resource);
@@ -1655,8 +1655,8 @@
var mock = new HttpServerMock();
api.ProjectsMetricsResourceApi res = new api.LoggingApi(mock).projects.metrics;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1684,8 +1684,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1694,7 +1694,7 @@
var resp = convert.JSON.encode(buildListLogMetricsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListLogMetricsResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListLogMetricsResponse response) {
checkListLogMetricsResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/proximitybeacon/v1beta1_test.dart b/generated/googleapis_beta/test/proximitybeacon/v1beta1_test.dart
index a511f5a..034e8f7 100644
--- a/generated/googleapis_beta/test/proximitybeacon/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/proximitybeacon/v1beta1_test.dart
@@ -93,14 +93,14 @@
buildCounterAttachmentInfo--;
}
-buildUnnamed3363() {
+buildUnnamed3459() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3363(core.Map<core.String, core.String> o) {
+checkUnnamed3459(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -119,7 +119,7 @@
o.indoorLevel = buildIndoorLevel();
o.latLng = buildLatLng();
o.placeId = "foo";
- o.properties = buildUnnamed3363();
+ o.properties = buildUnnamed3459();
o.provisioningKey = "foo";
o.status = "foo";
}
@@ -138,7 +138,7 @@
checkIndoorLevel(o.indoorLevel);
checkLatLng(o.latLng);
unittest.expect(o.placeId, unittest.equals('foo'));
- checkUnnamed3363(o.properties);
+ checkUnnamed3459(o.properties);
unittest.expect(o.provisioningKey, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
}
@@ -151,6 +151,7 @@
buildCounterBeaconAttachment++;
if (buildCounterBeaconAttachment < 3) {
o.attachmentName = "foo";
+ o.creationTimeMs = "foo";
o.data = "foo";
o.namespacedType = "foo";
}
@@ -162,20 +163,21 @@
buildCounterBeaconAttachment++;
if (buildCounterBeaconAttachment < 3) {
unittest.expect(o.attachmentName, unittest.equals('foo'));
+ unittest.expect(o.creationTimeMs, unittest.equals('foo'));
unittest.expect(o.data, unittest.equals('foo'));
unittest.expect(o.namespacedType, unittest.equals('foo'));
}
buildCounterBeaconAttachment--;
}
-buildUnnamed3364() {
+buildUnnamed3460() {
var o = new core.List<api.AttachmentInfo>();
o.add(buildAttachmentInfo());
o.add(buildAttachmentInfo());
return o;
}
-checkUnnamed3364(core.List<api.AttachmentInfo> o) {
+checkUnnamed3460(core.List<api.AttachmentInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachmentInfo(o[0]);
checkAttachmentInfo(o[1]);
@@ -187,7 +189,7 @@
buildCounterBeaconInfo++;
if (buildCounterBeaconInfo < 3) {
o.advertisedId = buildAdvertisedId();
- o.attachments = buildUnnamed3364();
+ o.attachments = buildUnnamed3460();
o.beaconName = "foo";
}
buildCounterBeaconInfo--;
@@ -198,7 +200,7 @@
buildCounterBeaconInfo++;
if (buildCounterBeaconInfo < 3) {
checkAdvertisedId(o.advertisedId);
- checkUnnamed3364(o.attachments);
+ checkUnnamed3460(o.attachments);
unittest.expect(o.beaconName, unittest.equals('foo'));
}
buildCounterBeaconInfo--;
@@ -246,14 +248,14 @@
buildCounterDeleteAttachmentsResponse--;
}
-buildUnnamed3365() {
+buildUnnamed3461() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3365(core.List<core.String> o) {
+checkUnnamed3461(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -264,7 +266,7 @@
var o = new api.Diagnostics();
buildCounterDiagnostics++;
if (buildCounterDiagnostics < 3) {
- o.alerts = buildUnnamed3365();
+ o.alerts = buildUnnamed3461();
o.beaconName = "foo";
o.estimatedLowBatteryDate = buildDate();
}
@@ -275,7 +277,7 @@
checkDiagnostics(api.Diagnostics o) {
buildCounterDiagnostics++;
if (buildCounterDiagnostics < 3) {
- checkUnnamed3365(o.alerts);
+ checkUnnamed3461(o.alerts);
unittest.expect(o.beaconName, unittest.equals('foo'));
checkDate(o.estimatedLowBatteryDate);
}
@@ -351,27 +353,27 @@
buildCounterEphemeralIdRegistrationParams--;
}
-buildUnnamed3366() {
+buildUnnamed3462() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3366(core.List<core.String> o) {
+checkUnnamed3462(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3367() {
+buildUnnamed3463() {
var o = new core.List<api.Observation>();
o.add(buildObservation());
o.add(buildObservation());
return o;
}
-checkUnnamed3367(core.List<api.Observation> o) {
+checkUnnamed3463(core.List<api.Observation> o) {
unittest.expect(o, unittest.hasLength(2));
checkObservation(o[0]);
checkObservation(o[1]);
@@ -382,8 +384,8 @@
var o = new api.GetInfoForObservedBeaconsRequest();
buildCounterGetInfoForObservedBeaconsRequest++;
if (buildCounterGetInfoForObservedBeaconsRequest < 3) {
- o.namespacedTypes = buildUnnamed3366();
- o.observations = buildUnnamed3367();
+ o.namespacedTypes = buildUnnamed3462();
+ o.observations = buildUnnamed3463();
}
buildCounterGetInfoForObservedBeaconsRequest--;
return o;
@@ -392,20 +394,20 @@
checkGetInfoForObservedBeaconsRequest(api.GetInfoForObservedBeaconsRequest o) {
buildCounterGetInfoForObservedBeaconsRequest++;
if (buildCounterGetInfoForObservedBeaconsRequest < 3) {
- checkUnnamed3366(o.namespacedTypes);
- checkUnnamed3367(o.observations);
+ checkUnnamed3462(o.namespacedTypes);
+ checkUnnamed3463(o.observations);
}
buildCounterGetInfoForObservedBeaconsRequest--;
}
-buildUnnamed3368() {
+buildUnnamed3464() {
var o = new core.List<api.BeaconInfo>();
o.add(buildBeaconInfo());
o.add(buildBeaconInfo());
return o;
}
-checkUnnamed3368(core.List<api.BeaconInfo> o) {
+checkUnnamed3464(core.List<api.BeaconInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkBeaconInfo(o[0]);
checkBeaconInfo(o[1]);
@@ -416,7 +418,7 @@
var o = new api.GetInfoForObservedBeaconsResponse();
buildCounterGetInfoForObservedBeaconsResponse++;
if (buildCounterGetInfoForObservedBeaconsResponse < 3) {
- o.beacons = buildUnnamed3368();
+ o.beacons = buildUnnamed3464();
}
buildCounterGetInfoForObservedBeaconsResponse--;
return o;
@@ -425,7 +427,7 @@
checkGetInfoForObservedBeaconsResponse(api.GetInfoForObservedBeaconsResponse o) {
buildCounterGetInfoForObservedBeaconsResponse++;
if (buildCounterGetInfoForObservedBeaconsResponse < 3) {
- checkUnnamed3368(o.beacons);
+ checkUnnamed3464(o.beacons);
}
buildCounterGetInfoForObservedBeaconsResponse--;
}
@@ -470,14 +472,14 @@
buildCounterLatLng--;
}
-buildUnnamed3369() {
+buildUnnamed3465() {
var o = new core.List<api.BeaconAttachment>();
o.add(buildBeaconAttachment());
o.add(buildBeaconAttachment());
return o;
}
-checkUnnamed3369(core.List<api.BeaconAttachment> o) {
+checkUnnamed3465(core.List<api.BeaconAttachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkBeaconAttachment(o[0]);
checkBeaconAttachment(o[1]);
@@ -488,7 +490,7 @@
var o = new api.ListBeaconAttachmentsResponse();
buildCounterListBeaconAttachmentsResponse++;
if (buildCounterListBeaconAttachmentsResponse < 3) {
- o.attachments = buildUnnamed3369();
+ o.attachments = buildUnnamed3465();
}
buildCounterListBeaconAttachmentsResponse--;
return o;
@@ -497,19 +499,19 @@
checkListBeaconAttachmentsResponse(api.ListBeaconAttachmentsResponse o) {
buildCounterListBeaconAttachmentsResponse++;
if (buildCounterListBeaconAttachmentsResponse < 3) {
- checkUnnamed3369(o.attachments);
+ checkUnnamed3465(o.attachments);
}
buildCounterListBeaconAttachmentsResponse--;
}
-buildUnnamed3370() {
+buildUnnamed3466() {
var o = new core.List<api.Beacon>();
o.add(buildBeacon());
o.add(buildBeacon());
return o;
}
-checkUnnamed3370(core.List<api.Beacon> o) {
+checkUnnamed3466(core.List<api.Beacon> o) {
unittest.expect(o, unittest.hasLength(2));
checkBeacon(o[0]);
checkBeacon(o[1]);
@@ -520,7 +522,7 @@
var o = new api.ListBeaconsResponse();
buildCounterListBeaconsResponse++;
if (buildCounterListBeaconsResponse < 3) {
- o.beacons = buildUnnamed3370();
+ o.beacons = buildUnnamed3466();
o.nextPageToken = "foo";
o.totalCount = "foo";
}
@@ -531,21 +533,21 @@
checkListBeaconsResponse(api.ListBeaconsResponse o) {
buildCounterListBeaconsResponse++;
if (buildCounterListBeaconsResponse < 3) {
- checkUnnamed3370(o.beacons);
+ checkUnnamed3466(o.beacons);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalCount, unittest.equals('foo'));
}
buildCounterListBeaconsResponse--;
}
-buildUnnamed3371() {
+buildUnnamed3467() {
var o = new core.List<api.Diagnostics>();
o.add(buildDiagnostics());
o.add(buildDiagnostics());
return o;
}
-checkUnnamed3371(core.List<api.Diagnostics> o) {
+checkUnnamed3467(core.List<api.Diagnostics> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiagnostics(o[0]);
checkDiagnostics(o[1]);
@@ -556,7 +558,7 @@
var o = new api.ListDiagnosticsResponse();
buildCounterListDiagnosticsResponse++;
if (buildCounterListDiagnosticsResponse < 3) {
- o.diagnostics = buildUnnamed3371();
+ o.diagnostics = buildUnnamed3467();
o.nextPageToken = "foo";
}
buildCounterListDiagnosticsResponse--;
@@ -566,20 +568,20 @@
checkListDiagnosticsResponse(api.ListDiagnosticsResponse o) {
buildCounterListDiagnosticsResponse++;
if (buildCounterListDiagnosticsResponse < 3) {
- checkUnnamed3371(o.diagnostics);
+ checkUnnamed3467(o.diagnostics);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDiagnosticsResponse--;
}
-buildUnnamed3372() {
+buildUnnamed3468() {
var o = new core.List<api.Namespace>();
o.add(buildNamespace());
o.add(buildNamespace());
return o;
}
-checkUnnamed3372(core.List<api.Namespace> o) {
+checkUnnamed3468(core.List<api.Namespace> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamespace(o[0]);
checkNamespace(o[1]);
@@ -590,7 +592,7 @@
var o = new api.ListNamespacesResponse();
buildCounterListNamespacesResponse++;
if (buildCounterListNamespacesResponse < 3) {
- o.namespaces = buildUnnamed3372();
+ o.namespaces = buildUnnamed3468();
}
buildCounterListNamespacesResponse--;
return o;
@@ -599,7 +601,7 @@
checkListNamespacesResponse(api.ListNamespacesResponse o) {
buildCounterListNamespacesResponse++;
if (buildCounterListNamespacesResponse < 3) {
- checkUnnamed3372(o.namespaces);
+ checkUnnamed3468(o.namespaces);
}
buildCounterListNamespacesResponse--;
}
@@ -1032,6 +1034,53 @@
})));
});
+ unittest.test("method--delete", () {
+
+ var mock = new HttpServerMock();
+ api.BeaconsResourceApi res = new api.ProximitybeaconApi(mock).beacons;
+ var arg_beaconName = "foo";
+ var arg_projectId = "foo";
+ mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equals("v1beta1/"));
+ pathOffset += 8;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["projectId"].first, unittest.equals(arg_projectId));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.delete(arg_beaconName, projectId: arg_projectId).then(unittest.expectAsync(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
unittest.test("method--get", () {
var mock = new HttpServerMock();
@@ -1083,8 +1132,8 @@
var mock = new HttpServerMock();
api.BeaconsResourceApi res = new api.ProximitybeaconApi(mock).beacons;
- var arg_q = "foo";
var arg_pageToken = "foo";
+ var arg_q = "foo";
var arg_pageSize = 42;
var arg_projectId = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -1113,8 +1162,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["projectId"].first, unittest.equals(arg_projectId));
@@ -1125,7 +1174,7 @@
var resp = convert.JSON.encode(buildListBeaconsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(q: arg_q, pageToken: arg_pageToken, pageSize: arg_pageSize, projectId: arg_projectId).then(unittest.expectAsync(((api.ListBeaconsResponse response) {
+ res.list(pageToken: arg_pageToken, q: arg_q, pageSize: arg_pageSize, projectId: arg_projectId).then(unittest.expectAsync(((api.ListBeaconsResponse response) {
checkListBeaconsResponse(response);
})));
});
@@ -1386,8 +1435,8 @@
var mock = new HttpServerMock();
api.BeaconsAttachmentsResourceApi res = new api.ProximitybeaconApi(mock).beacons.attachments;
var arg_beaconName = "foo";
- var arg_namespacedType = "foo";
var arg_projectId = "foo";
+ var arg_namespacedType = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1415,8 +1464,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["namespacedType"].first, unittest.equals(arg_namespacedType));
unittest.expect(queryMap["projectId"].first, unittest.equals(arg_projectId));
+ unittest.expect(queryMap["namespacedType"].first, unittest.equals(arg_namespacedType));
var h = {
@@ -1425,7 +1474,7 @@
var resp = convert.JSON.encode(buildListBeaconAttachmentsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_beaconName, namespacedType: arg_namespacedType, projectId: arg_projectId).then(unittest.expectAsync(((api.ListBeaconAttachmentsResponse response) {
+ res.list(arg_beaconName, projectId: arg_projectId, namespacedType: arg_namespacedType).then(unittest.expectAsync(((api.ListBeaconAttachmentsResponse response) {
checkListBeaconAttachmentsResponse(response);
})));
});
@@ -1440,9 +1489,9 @@
api.BeaconsDiagnosticsResourceApi res = new api.ProximitybeaconApi(mock).beacons.diagnostics;
var arg_beaconName = "foo";
var arg_pageSize = 42;
- var arg_pageToken = "foo";
var arg_alertFilter = "foo";
var arg_projectId = "foo";
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1471,9 +1520,9 @@
}
}
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["alertFilter"].first, unittest.equals(arg_alertFilter));
unittest.expect(queryMap["projectId"].first, unittest.equals(arg_projectId));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1482,7 +1531,7 @@
var resp = convert.JSON.encode(buildListDiagnosticsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_beaconName, pageSize: arg_pageSize, pageToken: arg_pageToken, alertFilter: arg_alertFilter, projectId: arg_projectId).then(unittest.expectAsync(((api.ListDiagnosticsResponse response) {
+ res.list(arg_beaconName, pageSize: arg_pageSize, alertFilter: arg_alertFilter, projectId: arg_projectId, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListDiagnosticsResponse response) {
checkListDiagnosticsResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/pubsub/v1beta2_test.dart b/generated/googleapis_beta/test/pubsub/v1beta2_test.dart
index 6708df0..586595f 100644
--- a/generated/googleapis_beta/test/pubsub/v1beta2_test.dart
+++ b/generated/googleapis_beta/test/pubsub/v1beta2_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3239() {
+buildUnnamed3349() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3239(core.List<core.String> o) {
+checkUnnamed3349(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -69,7 +69,7 @@
var o = new api.AcknowledgeRequest();
buildCounterAcknowledgeRequest++;
if (buildCounterAcknowledgeRequest < 3) {
- o.ackIds = buildUnnamed3239();
+ o.ackIds = buildUnnamed3349();
}
buildCounterAcknowledgeRequest--;
return o;
@@ -78,19 +78,19 @@
checkAcknowledgeRequest(api.AcknowledgeRequest o) {
buildCounterAcknowledgeRequest++;
if (buildCounterAcknowledgeRequest < 3) {
- checkUnnamed3239(o.ackIds);
+ checkUnnamed3349(o.ackIds);
}
buildCounterAcknowledgeRequest--;
}
-buildUnnamed3240() {
+buildUnnamed3350() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3240(core.List<core.String> o) {
+checkUnnamed3350(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -101,7 +101,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed3240();
+ o.members = buildUnnamed3350();
o.role = "foo";
}
buildCounterBinding--;
@@ -111,7 +111,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed3240(o.members);
+ checkUnnamed3350(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -134,14 +134,14 @@
buildCounterEmpty--;
}
-buildUnnamed3241() {
+buildUnnamed3351() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed3241(core.List<api.Subscription> o) {
+checkUnnamed3351(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -153,7 +153,7 @@
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed3241();
+ o.subscriptions = buildUnnamed3351();
}
buildCounterListSubscriptionsResponse--;
return o;
@@ -163,19 +163,19 @@
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3241(o.subscriptions);
+ checkUnnamed3351(o.subscriptions);
}
buildCounterListSubscriptionsResponse--;
}
-buildUnnamed3242() {
+buildUnnamed3352() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3242(core.List<core.String> o) {
+checkUnnamed3352(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -187,7 +187,7 @@
buildCounterListTopicSubscriptionsResponse++;
if (buildCounterListTopicSubscriptionsResponse < 3) {
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed3242();
+ o.subscriptions = buildUnnamed3352();
}
buildCounterListTopicSubscriptionsResponse--;
return o;
@@ -197,19 +197,19 @@
buildCounterListTopicSubscriptionsResponse++;
if (buildCounterListTopicSubscriptionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3242(o.subscriptions);
+ checkUnnamed3352(o.subscriptions);
}
buildCounterListTopicSubscriptionsResponse--;
}
-buildUnnamed3243() {
+buildUnnamed3353() {
var o = new core.List<api.Topic>();
o.add(buildTopic());
o.add(buildTopic());
return o;
}
-checkUnnamed3243(core.List<api.Topic> o) {
+checkUnnamed3353(core.List<api.Topic> o) {
unittest.expect(o, unittest.hasLength(2));
checkTopic(o[0]);
checkTopic(o[1]);
@@ -221,7 +221,7 @@
buildCounterListTopicsResponse++;
if (buildCounterListTopicsResponse < 3) {
o.nextPageToken = "foo";
- o.topics = buildUnnamed3243();
+ o.topics = buildUnnamed3353();
}
buildCounterListTopicsResponse--;
return o;
@@ -231,19 +231,19 @@
buildCounterListTopicsResponse++;
if (buildCounterListTopicsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3243(o.topics);
+ checkUnnamed3353(o.topics);
}
buildCounterListTopicsResponse--;
}
-buildUnnamed3244() {
+buildUnnamed3354() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3244(core.List<core.String> o) {
+checkUnnamed3354(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -256,7 +256,7 @@
if (buildCounterModifyAckDeadlineRequest < 3) {
o.ackDeadlineSeconds = 42;
o.ackId = "foo";
- o.ackIds = buildUnnamed3244();
+ o.ackIds = buildUnnamed3354();
}
buildCounterModifyAckDeadlineRequest--;
return o;
@@ -267,7 +267,7 @@
if (buildCounterModifyAckDeadlineRequest < 3) {
unittest.expect(o.ackDeadlineSeconds, unittest.equals(42));
unittest.expect(o.ackId, unittest.equals('foo'));
- checkUnnamed3244(o.ackIds);
+ checkUnnamed3354(o.ackIds);
}
buildCounterModifyAckDeadlineRequest--;
}
@@ -291,14 +291,14 @@
buildCounterModifyPushConfigRequest--;
}
-buildUnnamed3245() {
+buildUnnamed3355() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed3245(core.List<api.Binding> o) {
+checkUnnamed3355(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -309,7 +309,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed3245();
+ o.bindings = buildUnnamed3355();
o.etag = "foo";
o.version = 42;
}
@@ -320,21 +320,21 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed3245(o.bindings);
+ checkUnnamed3355(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed3246() {
+buildUnnamed3356() {
var o = new core.List<api.PubsubMessage>();
o.add(buildPubsubMessage());
o.add(buildPubsubMessage());
return o;
}
-checkUnnamed3246(core.List<api.PubsubMessage> o) {
+checkUnnamed3356(core.List<api.PubsubMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkPubsubMessage(o[0]);
checkPubsubMessage(o[1]);
@@ -345,7 +345,7 @@
var o = new api.PublishRequest();
buildCounterPublishRequest++;
if (buildCounterPublishRequest < 3) {
- o.messages = buildUnnamed3246();
+ o.messages = buildUnnamed3356();
}
buildCounterPublishRequest--;
return o;
@@ -354,19 +354,19 @@
checkPublishRequest(api.PublishRequest o) {
buildCounterPublishRequest++;
if (buildCounterPublishRequest < 3) {
- checkUnnamed3246(o.messages);
+ checkUnnamed3356(o.messages);
}
buildCounterPublishRequest--;
}
-buildUnnamed3247() {
+buildUnnamed3357() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3247(core.List<core.String> o) {
+checkUnnamed3357(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -377,7 +377,7 @@
var o = new api.PublishResponse();
buildCounterPublishResponse++;
if (buildCounterPublishResponse < 3) {
- o.messageIds = buildUnnamed3247();
+ o.messageIds = buildUnnamed3357();
}
buildCounterPublishResponse--;
return o;
@@ -386,19 +386,19 @@
checkPublishResponse(api.PublishResponse o) {
buildCounterPublishResponse++;
if (buildCounterPublishResponse < 3) {
- checkUnnamed3247(o.messageIds);
+ checkUnnamed3357(o.messageIds);
}
buildCounterPublishResponse--;
}
-buildUnnamed3248() {
+buildUnnamed3358() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3248(core.Map<core.String, core.String> o) {
+checkUnnamed3358(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -409,7 +409,7 @@
var o = new api.PubsubMessage();
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
- o.attributes = buildUnnamed3248();
+ o.attributes = buildUnnamed3358();
o.data = "foo";
o.messageId = "foo";
o.publishTime = "foo";
@@ -421,7 +421,7 @@
checkPubsubMessage(api.PubsubMessage o) {
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
- checkUnnamed3248(o.attributes);
+ checkUnnamed3358(o.attributes);
unittest.expect(o.data, unittest.equals('foo'));
unittest.expect(o.messageId, unittest.equals('foo'));
unittest.expect(o.publishTime, unittest.equals('foo'));
@@ -450,14 +450,14 @@
buildCounterPullRequest--;
}
-buildUnnamed3249() {
+buildUnnamed3359() {
var o = new core.List<api.ReceivedMessage>();
o.add(buildReceivedMessage());
o.add(buildReceivedMessage());
return o;
}
-checkUnnamed3249(core.List<api.ReceivedMessage> o) {
+checkUnnamed3359(core.List<api.ReceivedMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkReceivedMessage(o[0]);
checkReceivedMessage(o[1]);
@@ -468,7 +468,7 @@
var o = new api.PullResponse();
buildCounterPullResponse++;
if (buildCounterPullResponse < 3) {
- o.receivedMessages = buildUnnamed3249();
+ o.receivedMessages = buildUnnamed3359();
}
buildCounterPullResponse--;
return o;
@@ -477,19 +477,19 @@
checkPullResponse(api.PullResponse o) {
buildCounterPullResponse++;
if (buildCounterPullResponse < 3) {
- checkUnnamed3249(o.receivedMessages);
+ checkUnnamed3359(o.receivedMessages);
}
buildCounterPullResponse--;
}
-buildUnnamed3250() {
+buildUnnamed3360() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3250(core.Map<core.String, core.String> o) {
+checkUnnamed3360(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -500,7 +500,7 @@
var o = new api.PushConfig();
buildCounterPushConfig++;
if (buildCounterPushConfig < 3) {
- o.attributes = buildUnnamed3250();
+ o.attributes = buildUnnamed3360();
o.pushEndpoint = "foo";
}
buildCounterPushConfig--;
@@ -510,7 +510,7 @@
checkPushConfig(api.PushConfig o) {
buildCounterPushConfig++;
if (buildCounterPushConfig < 3) {
- checkUnnamed3250(o.attributes);
+ checkUnnamed3360(o.attributes);
unittest.expect(o.pushEndpoint, unittest.equals('foo'));
}
buildCounterPushConfig--;
@@ -581,14 +581,14 @@
buildCounterSubscription--;
}
-buildUnnamed3251() {
+buildUnnamed3361() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3251(core.List<core.String> o) {
+checkUnnamed3361(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -599,7 +599,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed3251();
+ o.permissions = buildUnnamed3361();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -608,19 +608,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed3251(o.permissions);
+ checkUnnamed3361(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed3252() {
+buildUnnamed3362() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3252(core.List<core.String> o) {
+checkUnnamed3362(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -631,7 +631,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed3252();
+ o.permissions = buildUnnamed3362();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -640,7 +640,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed3252(o.permissions);
+ checkUnnamed3362(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1094,8 +1094,8 @@
var mock = new HttpServerMock();
api.ProjectsSubscriptionsResourceApi res = new api.PubsubApi(mock).projects.subscriptions;
var arg_project = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1123,8 +1123,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1133,7 +1133,7 @@
var resp = convert.JSON.encode(buildListSubscriptionsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_project, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListSubscriptionsResponse response) {
+ res.list(arg_project, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListSubscriptionsResponse response) {
checkListSubscriptionsResponse(response);
})));
});
@@ -1776,8 +1776,8 @@
var mock = new HttpServerMock();
api.ProjectsTopicsSubscriptionsResourceApi res = new api.PubsubApi(mock).projects.topics.subscriptions;
var arg_topic = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1805,8 +1805,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1815,7 +1815,7 @@
var resp = convert.JSON.encode(buildListTopicSubscriptionsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_topic, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListTopicSubscriptionsResponse response) {
+ res.list(arg_topic, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListTopicSubscriptionsResponse response) {
checkListTopicSubscriptionsResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/replicapool/v1beta2_test.dart b/generated/googleapis_beta/test/replicapool/v1beta2_test.dart
index 0d959f6..bb0eafa 100644
--- a/generated/googleapis_beta/test/replicapool/v1beta2_test.dart
+++ b/generated/googleapis_beta/test/replicapool/v1beta2_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3352() {
+buildUnnamed3448() {
var o = new core.List<api.ReplicaPoolAutoHealingPolicy>();
o.add(buildReplicaPoolAutoHealingPolicy());
o.add(buildReplicaPoolAutoHealingPolicy());
return o;
}
-checkUnnamed3352(core.List<api.ReplicaPoolAutoHealingPolicy> o) {
+checkUnnamed3448(core.List<api.ReplicaPoolAutoHealingPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkReplicaPoolAutoHealingPolicy(o[0]);
checkReplicaPoolAutoHealingPolicy(o[1]);
}
-buildUnnamed3353() {
+buildUnnamed3449() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3353(core.List<core.String> o) {
+checkUnnamed3449(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,7 +82,7 @@
var o = new api.InstanceGroupManager();
buildCounterInstanceGroupManager++;
if (buildCounterInstanceGroupManager < 3) {
- o.autoHealingPolicies = buildUnnamed3352();
+ o.autoHealingPolicies = buildUnnamed3448();
o.baseInstanceName = "foo";
o.creationTimestamp = "foo";
o.currentSize = 42;
@@ -94,7 +94,7 @@
o.kind = "foo";
o.name = "foo";
o.selfLink = "foo";
- o.targetPools = buildUnnamed3353();
+ o.targetPools = buildUnnamed3449();
o.targetSize = 42;
}
buildCounterInstanceGroupManager--;
@@ -104,7 +104,7 @@
checkInstanceGroupManager(api.InstanceGroupManager o) {
buildCounterInstanceGroupManager++;
if (buildCounterInstanceGroupManager < 3) {
- checkUnnamed3352(o.autoHealingPolicies);
+ checkUnnamed3448(o.autoHealingPolicies);
unittest.expect(o.baseInstanceName, unittest.equals('foo'));
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.currentSize, unittest.equals(42));
@@ -116,20 +116,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed3353(o.targetPools);
+ checkUnnamed3449(o.targetPools);
unittest.expect(o.targetSize, unittest.equals(42));
}
buildCounterInstanceGroupManager--;
}
-buildUnnamed3354() {
+buildUnnamed3450() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed3354(core.List<api.InstanceGroupManager> o) {
+checkUnnamed3450(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -141,7 +141,7 @@
buildCounterInstanceGroupManagerList++;
if (buildCounterInstanceGroupManagerList < 3) {
o.id = "foo";
- o.items = buildUnnamed3354();
+ o.items = buildUnnamed3450();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -154,7 +154,7 @@
buildCounterInstanceGroupManagerList++;
if (buildCounterInstanceGroupManagerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3354(o.items);
+ checkUnnamed3450(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -162,14 +162,14 @@
buildCounterInstanceGroupManagerList--;
}
-buildUnnamed3355() {
+buildUnnamed3451() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3355(core.List<core.String> o) {
+checkUnnamed3451(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -180,7 +180,7 @@
var o = new api.InstanceGroupManagersAbandonInstancesRequest();
buildCounterInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) {
- o.instances = buildUnnamed3355();
+ o.instances = buildUnnamed3451();
}
buildCounterInstanceGroupManagersAbandonInstancesRequest--;
return o;
@@ -189,19 +189,19 @@
checkInstanceGroupManagersAbandonInstancesRequest(api.InstanceGroupManagersAbandonInstancesRequest o) {
buildCounterInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) {
- checkUnnamed3355(o.instances);
+ checkUnnamed3451(o.instances);
}
buildCounterInstanceGroupManagersAbandonInstancesRequest--;
}
-buildUnnamed3356() {
+buildUnnamed3452() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3356(core.List<core.String> o) {
+checkUnnamed3452(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -212,7 +212,7 @@
var o = new api.InstanceGroupManagersDeleteInstancesRequest();
buildCounterInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) {
- o.instances = buildUnnamed3356();
+ o.instances = buildUnnamed3452();
}
buildCounterInstanceGroupManagersDeleteInstancesRequest--;
return o;
@@ -221,19 +221,19 @@
checkInstanceGroupManagersDeleteInstancesRequest(api.InstanceGroupManagersDeleteInstancesRequest o) {
buildCounterInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) {
- checkUnnamed3356(o.instances);
+ checkUnnamed3452(o.instances);
}
buildCounterInstanceGroupManagersDeleteInstancesRequest--;
}
-buildUnnamed3357() {
+buildUnnamed3453() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3357(core.List<core.String> o) {
+checkUnnamed3453(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -244,7 +244,7 @@
var o = new api.InstanceGroupManagersRecreateInstancesRequest();
buildCounterInstanceGroupManagersRecreateInstancesRequest++;
if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) {
- o.instances = buildUnnamed3357();
+ o.instances = buildUnnamed3453();
}
buildCounterInstanceGroupManagersRecreateInstancesRequest--;
return o;
@@ -253,7 +253,7 @@
checkInstanceGroupManagersRecreateInstancesRequest(api.InstanceGroupManagersRecreateInstancesRequest o) {
buildCounterInstanceGroupManagersRecreateInstancesRequest++;
if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) {
- checkUnnamed3357(o.instances);
+ checkUnnamed3453(o.instances);
}
buildCounterInstanceGroupManagersRecreateInstancesRequest--;
}
@@ -277,14 +277,14 @@
buildCounterInstanceGroupManagersSetInstanceTemplateRequest--;
}
-buildUnnamed3358() {
+buildUnnamed3454() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3358(core.List<core.String> o) {
+checkUnnamed3454(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -296,7 +296,7 @@
buildCounterInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) {
o.fingerprint = "foo";
- o.targetPools = buildUnnamed3358();
+ o.targetPools = buildUnnamed3454();
}
buildCounterInstanceGroupManagersSetTargetPoolsRequest--;
return o;
@@ -306,7 +306,7 @@
buildCounterInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed3358(o.targetPools);
+ checkUnnamed3454(o.targetPools);
}
buildCounterInstanceGroupManagersSetTargetPoolsRequest--;
}
@@ -334,14 +334,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed3359() {
+buildUnnamed3455() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed3359(core.List<api.OperationErrorErrors> o) {
+checkUnnamed3455(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -352,7 +352,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed3359();
+ o.errors = buildUnnamed3455();
}
buildCounterOperationError--;
return o;
@@ -361,7 +361,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed3359(o.errors);
+ checkUnnamed3455(o.errors);
}
buildCounterOperationError--;
}
@@ -387,14 +387,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed3360() {
+buildUnnamed3456() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed3360(core.List<api.OperationWarningsData> o) {
+checkUnnamed3456(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -406,7 +406,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed3360();
+ o.data = buildUnnamed3456();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -417,20 +417,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed3360(o.data);
+ checkUnnamed3456(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed3361() {
+buildUnnamed3457() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed3361(core.List<api.OperationWarnings> o) {
+checkUnnamed3457(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -461,7 +461,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed3361();
+ o.warnings = buildUnnamed3457();
o.zone = "foo";
}
buildCounterOperation--;
@@ -491,20 +491,20 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3361(o.warnings);
+ checkUnnamed3457(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed3362() {
+buildUnnamed3458() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3362(core.List<api.Operation> o) {
+checkUnnamed3458(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -516,7 +516,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
o.id = "foo";
- o.items = buildUnnamed3362();
+ o.items = buildUnnamed3458();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -529,7 +529,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3362(o.items);
+ checkUnnamed3458(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
diff --git a/generated/googleapis_beta/test/replicapoolupdater/v1beta1_test.dart b/generated/googleapis_beta/test/replicapoolupdater/v1beta1_test.dart
index 9235bf9..f98b5a3 100644
--- a/generated/googleapis_beta/test/replicapoolupdater/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/replicapoolupdater/v1beta1_test.dart
@@ -74,14 +74,14 @@
buildCounterInstanceUpdateErrorErrors--;
}
-buildUnnamed3220() {
+buildUnnamed3312() {
var o = new core.List<api.InstanceUpdateErrorErrors>();
o.add(buildInstanceUpdateErrorErrors());
o.add(buildInstanceUpdateErrorErrors());
return o;
}
-checkUnnamed3220(core.List<api.InstanceUpdateErrorErrors> o) {
+checkUnnamed3312(core.List<api.InstanceUpdateErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceUpdateErrorErrors(o[0]);
checkInstanceUpdateErrorErrors(o[1]);
@@ -92,7 +92,7 @@
var o = new api.InstanceUpdateError();
buildCounterInstanceUpdateError++;
if (buildCounterInstanceUpdateError < 3) {
- o.errors = buildUnnamed3220();
+ o.errors = buildUnnamed3312();
}
buildCounterInstanceUpdateError--;
return o;
@@ -101,7 +101,7 @@
checkInstanceUpdateError(api.InstanceUpdateError o) {
buildCounterInstanceUpdateError++;
if (buildCounterInstanceUpdateError < 3) {
- checkUnnamed3220(o.errors);
+ checkUnnamed3312(o.errors);
}
buildCounterInstanceUpdateError--;
}
@@ -129,14 +129,14 @@
buildCounterInstanceUpdate--;
}
-buildUnnamed3221() {
+buildUnnamed3313() {
var o = new core.List<api.InstanceUpdate>();
o.add(buildInstanceUpdate());
o.add(buildInstanceUpdate());
return o;
}
-checkUnnamed3221(core.List<api.InstanceUpdate> o) {
+checkUnnamed3313(core.List<api.InstanceUpdate> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceUpdate(o[0]);
checkInstanceUpdate(o[1]);
@@ -147,7 +147,7 @@
var o = new api.InstanceUpdateList();
buildCounterInstanceUpdateList++;
if (buildCounterInstanceUpdateList < 3) {
- o.items = buildUnnamed3221();
+ o.items = buildUnnamed3313();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -159,7 +159,7 @@
checkInstanceUpdateList(api.InstanceUpdateList o) {
buildCounterInstanceUpdateList++;
if (buildCounterInstanceUpdateList < 3) {
- checkUnnamed3221(o.items);
+ checkUnnamed3313(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -190,14 +190,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed3222() {
+buildUnnamed3314() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed3222(core.List<api.OperationErrorErrors> o) {
+checkUnnamed3314(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -208,7 +208,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed3222();
+ o.errors = buildUnnamed3314();
}
buildCounterOperationError--;
return o;
@@ -217,7 +217,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed3222(o.errors);
+ checkUnnamed3314(o.errors);
}
buildCounterOperationError--;
}
@@ -243,14 +243,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed3223() {
+buildUnnamed3315() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed3223(core.List<api.OperationWarningsData> o) {
+checkUnnamed3315(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -262,7 +262,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed3223();
+ o.data = buildUnnamed3315();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -273,20 +273,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed3223(o.data);
+ checkUnnamed3315(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed3224() {
+buildUnnamed3316() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed3224(core.List<api.OperationWarnings> o) {
+checkUnnamed3316(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -317,7 +317,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed3224();
+ o.warnings = buildUnnamed3316();
o.zone = "foo";
}
buildCounterOperation--;
@@ -347,20 +347,20 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3224(o.warnings);
+ checkUnnamed3316(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed3225() {
+buildUnnamed3317() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3225(core.List<api.Operation> o) {
+checkUnnamed3317(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -372,7 +372,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
o.id = "foo";
- o.items = buildUnnamed3225();
+ o.items = buildUnnamed3317();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -385,7 +385,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3225(o.items);
+ checkUnnamed3317(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -416,14 +416,14 @@
buildCounterRollingUpdateErrorErrors--;
}
-buildUnnamed3226() {
+buildUnnamed3318() {
var o = new core.List<api.RollingUpdateErrorErrors>();
o.add(buildRollingUpdateErrorErrors());
o.add(buildRollingUpdateErrorErrors());
return o;
}
-checkUnnamed3226(core.List<api.RollingUpdateErrorErrors> o) {
+checkUnnamed3318(core.List<api.RollingUpdateErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkRollingUpdateErrorErrors(o[0]);
checkRollingUpdateErrorErrors(o[1]);
@@ -434,7 +434,7 @@
var o = new api.RollingUpdateError();
buildCounterRollingUpdateError++;
if (buildCounterRollingUpdateError < 3) {
- o.errors = buildUnnamed3226();
+ o.errors = buildUnnamed3318();
}
buildCounterRollingUpdateError--;
return o;
@@ -443,7 +443,7 @@
checkRollingUpdateError(api.RollingUpdateError o) {
buildCounterRollingUpdateError++;
if (buildCounterRollingUpdateError < 3) {
- checkUnnamed3226(o.errors);
+ checkUnnamed3318(o.errors);
}
buildCounterRollingUpdateError--;
}
@@ -524,14 +524,14 @@
buildCounterRollingUpdate--;
}
-buildUnnamed3227() {
+buildUnnamed3319() {
var o = new core.List<api.RollingUpdate>();
o.add(buildRollingUpdate());
o.add(buildRollingUpdate());
return o;
}
-checkUnnamed3227(core.List<api.RollingUpdate> o) {
+checkUnnamed3319(core.List<api.RollingUpdate> o) {
unittest.expect(o, unittest.hasLength(2));
checkRollingUpdate(o[0]);
checkRollingUpdate(o[1]);
@@ -542,7 +542,7 @@
var o = new api.RollingUpdateList();
buildCounterRollingUpdateList++;
if (buildCounterRollingUpdateList < 3) {
- o.items = buildUnnamed3227();
+ o.items = buildUnnamed3319();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -554,7 +554,7 @@
checkRollingUpdateList(api.RollingUpdateList o) {
buildCounterRollingUpdateList++;
if (buildCounterRollingUpdateList < 3) {
- checkUnnamed3227(o.items);
+ checkUnnamed3319(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
diff --git a/generated/googleapis_beta/test/resourceviews/v1beta1_test.dart b/generated/googleapis_beta/test/resourceviews/v1beta1_test.dart
index 1d33ba1..5fa6305 100644
--- a/generated/googleapis_beta/test/resourceviews/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/resourceviews/v1beta1_test.dart
@@ -72,14 +72,14 @@
buildCounterLabel--;
}
-buildUnnamed3253() {
+buildUnnamed3363() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3253(core.List<core.String> o) {
+checkUnnamed3363(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -90,7 +90,7 @@
var o = new api.RegionViewsAddResourcesRequest();
buildCounterRegionViewsAddResourcesRequest++;
if (buildCounterRegionViewsAddResourcesRequest < 3) {
- o.resources = buildUnnamed3253();
+ o.resources = buildUnnamed3363();
}
buildCounterRegionViewsAddResourcesRequest--;
return o;
@@ -99,7 +99,7 @@
checkRegionViewsAddResourcesRequest(api.RegionViewsAddResourcesRequest o) {
buildCounterRegionViewsAddResourcesRequest++;
if (buildCounterRegionViewsAddResourcesRequest < 3) {
- checkUnnamed3253(o.resources);
+ checkUnnamed3363(o.resources);
}
buildCounterRegionViewsAddResourcesRequest--;
}
@@ -123,14 +123,14 @@
buildCounterRegionViewsInsertResponse--;
}
-buildUnnamed3254() {
+buildUnnamed3364() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3254(core.List<core.String> o) {
+checkUnnamed3364(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -141,7 +141,7 @@
var o = new api.RegionViewsListResourcesResponse();
buildCounterRegionViewsListResourcesResponse++;
if (buildCounterRegionViewsListResourcesResponse < 3) {
- o.members = buildUnnamed3254();
+ o.members = buildUnnamed3364();
o.nextPageToken = "foo";
}
buildCounterRegionViewsListResourcesResponse--;
@@ -151,20 +151,20 @@
checkRegionViewsListResourcesResponse(api.RegionViewsListResourcesResponse o) {
buildCounterRegionViewsListResourcesResponse++;
if (buildCounterRegionViewsListResourcesResponse < 3) {
- checkUnnamed3254(o.members);
+ checkUnnamed3364(o.members);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterRegionViewsListResourcesResponse--;
}
-buildUnnamed3255() {
+buildUnnamed3365() {
var o = new core.List<api.ResourceView>();
o.add(buildResourceView());
o.add(buildResourceView());
return o;
}
-checkUnnamed3255(core.List<api.ResourceView> o) {
+checkUnnamed3365(core.List<api.ResourceView> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceView(o[0]);
checkResourceView(o[1]);
@@ -176,7 +176,7 @@
buildCounterRegionViewsListResponse++;
if (buildCounterRegionViewsListResponse < 3) {
o.nextPageToken = "foo";
- o.resourceViews = buildUnnamed3255();
+ o.resourceViews = buildUnnamed3365();
}
buildCounterRegionViewsListResponse--;
return o;
@@ -186,19 +186,19 @@
buildCounterRegionViewsListResponse++;
if (buildCounterRegionViewsListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3255(o.resourceViews);
+ checkUnnamed3365(o.resourceViews);
}
buildCounterRegionViewsListResponse--;
}
-buildUnnamed3256() {
+buildUnnamed3366() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3256(core.List<core.String> o) {
+checkUnnamed3366(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -209,7 +209,7 @@
var o = new api.RegionViewsRemoveResourcesRequest();
buildCounterRegionViewsRemoveResourcesRequest++;
if (buildCounterRegionViewsRemoveResourcesRequest < 3) {
- o.resources = buildUnnamed3256();
+ o.resources = buildUnnamed3366();
}
buildCounterRegionViewsRemoveResourcesRequest--;
return o;
@@ -218,32 +218,32 @@
checkRegionViewsRemoveResourcesRequest(api.RegionViewsRemoveResourcesRequest o) {
buildCounterRegionViewsRemoveResourcesRequest++;
if (buildCounterRegionViewsRemoveResourcesRequest < 3) {
- checkUnnamed3256(o.resources);
+ checkUnnamed3366(o.resources);
}
buildCounterRegionViewsRemoveResourcesRequest--;
}
-buildUnnamed3257() {
+buildUnnamed3367() {
var o = new core.List<api.Label>();
o.add(buildLabel());
o.add(buildLabel());
return o;
}
-checkUnnamed3257(core.List<api.Label> o) {
+checkUnnamed3367(core.List<api.Label> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabel(o[0]);
checkLabel(o[1]);
}
-buildUnnamed3258() {
+buildUnnamed3368() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3258(core.List<core.String> o) {
+checkUnnamed3368(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -258,9 +258,9 @@
o.description = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed3257();
+ o.labels = buildUnnamed3367();
o.lastModified = "foo";
- o.members = buildUnnamed3258();
+ o.members = buildUnnamed3368();
o.name = "foo";
o.numMembers = 42;
o.selfLink = "foo";
@@ -276,9 +276,9 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3257(o.labels);
+ checkUnnamed3367(o.labels);
unittest.expect(o.lastModified, unittest.equals('foo'));
- checkUnnamed3258(o.members);
+ checkUnnamed3368(o.members);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.numMembers, unittest.equals(42));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -286,14 +286,14 @@
buildCounterResourceView--;
}
-buildUnnamed3259() {
+buildUnnamed3369() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3259(core.List<core.String> o) {
+checkUnnamed3369(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -304,7 +304,7 @@
var o = new api.ZoneViewsAddResourcesRequest();
buildCounterZoneViewsAddResourcesRequest++;
if (buildCounterZoneViewsAddResourcesRequest < 3) {
- o.resources = buildUnnamed3259();
+ o.resources = buildUnnamed3369();
}
buildCounterZoneViewsAddResourcesRequest--;
return o;
@@ -313,7 +313,7 @@
checkZoneViewsAddResourcesRequest(api.ZoneViewsAddResourcesRequest o) {
buildCounterZoneViewsAddResourcesRequest++;
if (buildCounterZoneViewsAddResourcesRequest < 3) {
- checkUnnamed3259(o.resources);
+ checkUnnamed3369(o.resources);
}
buildCounterZoneViewsAddResourcesRequest--;
}
@@ -337,14 +337,14 @@
buildCounterZoneViewsInsertResponse--;
}
-buildUnnamed3260() {
+buildUnnamed3370() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3260(core.List<core.String> o) {
+checkUnnamed3370(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -355,7 +355,7 @@
var o = new api.ZoneViewsListResourcesResponse();
buildCounterZoneViewsListResourcesResponse++;
if (buildCounterZoneViewsListResourcesResponse < 3) {
- o.members = buildUnnamed3260();
+ o.members = buildUnnamed3370();
o.nextPageToken = "foo";
}
buildCounterZoneViewsListResourcesResponse--;
@@ -365,20 +365,20 @@
checkZoneViewsListResourcesResponse(api.ZoneViewsListResourcesResponse o) {
buildCounterZoneViewsListResourcesResponse++;
if (buildCounterZoneViewsListResourcesResponse < 3) {
- checkUnnamed3260(o.members);
+ checkUnnamed3370(o.members);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterZoneViewsListResourcesResponse--;
}
-buildUnnamed3261() {
+buildUnnamed3371() {
var o = new core.List<api.ResourceView>();
o.add(buildResourceView());
o.add(buildResourceView());
return o;
}
-checkUnnamed3261(core.List<api.ResourceView> o) {
+checkUnnamed3371(core.List<api.ResourceView> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceView(o[0]);
checkResourceView(o[1]);
@@ -390,7 +390,7 @@
buildCounterZoneViewsListResponse++;
if (buildCounterZoneViewsListResponse < 3) {
o.nextPageToken = "foo";
- o.resourceViews = buildUnnamed3261();
+ o.resourceViews = buildUnnamed3371();
}
buildCounterZoneViewsListResponse--;
return o;
@@ -400,19 +400,19 @@
buildCounterZoneViewsListResponse++;
if (buildCounterZoneViewsListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3261(o.resourceViews);
+ checkUnnamed3371(o.resourceViews);
}
buildCounterZoneViewsListResponse--;
}
-buildUnnamed3262() {
+buildUnnamed3372() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3262(core.List<core.String> o) {
+checkUnnamed3372(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -423,7 +423,7 @@
var o = new api.ZoneViewsRemoveResourcesRequest();
buildCounterZoneViewsRemoveResourcesRequest++;
if (buildCounterZoneViewsRemoveResourcesRequest < 3) {
- o.resources = buildUnnamed3262();
+ o.resources = buildUnnamed3372();
}
buildCounterZoneViewsRemoveResourcesRequest--;
return o;
@@ -432,7 +432,7 @@
checkZoneViewsRemoveResourcesRequest(api.ZoneViewsRemoveResourcesRequest o) {
buildCounterZoneViewsRemoveResourcesRequest++;
if (buildCounterZoneViewsRemoveResourcesRequest < 3) {
- checkUnnamed3262(o.resources);
+ checkUnnamed3372(o.resources);
}
buildCounterZoneViewsRemoveResourcesRequest--;
}
diff --git a/generated/googleapis_beta/test/resourceviews/v1beta2_test.dart b/generated/googleapis_beta/test/resourceviews/v1beta2_test.dart
index 99a3359..953bc40 100644
--- a/generated/googleapis_beta/test/resourceviews/v1beta2_test.dart
+++ b/generated/googleapis_beta/test/resourceviews/v1beta2_test.dart
@@ -72,30 +72,30 @@
buildCounterLabel--;
}
-buildUnnamed3190() {
+buildUnnamed3282() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed3190(core.List<core.int> o) {
+checkUnnamed3282(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed3191() {
+buildUnnamed3283() {
var o = new core.Map<core.String, core.List<core.int>>();
- o["x"] = buildUnnamed3190();
- o["y"] = buildUnnamed3190();
+ o["x"] = buildUnnamed3282();
+ o["y"] = buildUnnamed3282();
return o;
}
-checkUnnamed3191(core.Map<core.String, core.List<core.int>> o) {
+checkUnnamed3283(core.Map<core.String, core.List<core.int>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3190(o["x"]);
- checkUnnamed3190(o["y"]);
+ checkUnnamed3282(o["x"]);
+ checkUnnamed3282(o["y"]);
}
core.int buildCounterListResourceResponseItem = 0;
@@ -103,7 +103,7 @@
var o = new api.ListResourceResponseItem();
buildCounterListResourceResponseItem++;
if (buildCounterListResourceResponseItem < 3) {
- o.endpoints = buildUnnamed3191();
+ o.endpoints = buildUnnamed3283();
o.resource = "foo";
}
buildCounterListResourceResponseItem--;
@@ -113,7 +113,7 @@
checkListResourceResponseItem(api.ListResourceResponseItem o) {
buildCounterListResourceResponseItem++;
if (buildCounterListResourceResponseItem < 3) {
- checkUnnamed3191(o.endpoints);
+ checkUnnamed3283(o.endpoints);
unittest.expect(o.resource, unittest.equals('foo'));
}
buildCounterListResourceResponseItem--;
@@ -142,14 +142,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed3192() {
+buildUnnamed3284() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed3192(core.List<api.OperationErrorErrors> o) {
+checkUnnamed3284(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -160,7 +160,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed3192();
+ o.errors = buildUnnamed3284();
}
buildCounterOperationError--;
return o;
@@ -169,7 +169,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed3192(o.errors);
+ checkUnnamed3284(o.errors);
}
buildCounterOperationError--;
}
@@ -195,14 +195,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed3193() {
+buildUnnamed3285() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed3193(core.List<api.OperationWarningsData> o) {
+checkUnnamed3285(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -214,7 +214,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed3193();
+ o.data = buildUnnamed3285();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -225,20 +225,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed3193(o.data);
+ checkUnnamed3285(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed3194() {
+buildUnnamed3286() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed3194(core.List<api.OperationWarnings> o) {
+checkUnnamed3286(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -269,7 +269,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed3194();
+ o.warnings = buildUnnamed3286();
o.zone = "foo";
}
buildCounterOperation--;
@@ -299,20 +299,20 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3194(o.warnings);
+ checkUnnamed3286(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed3195() {
+buildUnnamed3287() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3195(core.List<api.Operation> o) {
+checkUnnamed3287(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -324,7 +324,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
o.id = "foo";
- o.items = buildUnnamed3195();
+ o.items = buildUnnamed3287();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -337,7 +337,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3195(o.items);
+ checkUnnamed3287(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -345,40 +345,40 @@
buildCounterOperationList--;
}
-buildUnnamed3196() {
+buildUnnamed3288() {
var o = new core.List<api.ServiceEndpoint>();
o.add(buildServiceEndpoint());
o.add(buildServiceEndpoint());
return o;
}
-checkUnnamed3196(core.List<api.ServiceEndpoint> o) {
+checkUnnamed3288(core.List<api.ServiceEndpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceEndpoint(o[0]);
checkServiceEndpoint(o[1]);
}
-buildUnnamed3197() {
+buildUnnamed3289() {
var o = new core.List<api.Label>();
o.add(buildLabel());
o.add(buildLabel());
return o;
}
-checkUnnamed3197(core.List<api.Label> o) {
+checkUnnamed3289(core.List<api.Label> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabel(o[0]);
checkLabel(o[1]);
}
-buildUnnamed3198() {
+buildUnnamed3290() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3198(core.List<core.String> o) {
+checkUnnamed3290(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -391,14 +391,14 @@
if (buildCounterResourceView < 3) {
o.creationTimestamp = "foo";
o.description = "foo";
- o.endpoints = buildUnnamed3196();
+ o.endpoints = buildUnnamed3288();
o.fingerprint = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed3197();
+ o.labels = buildUnnamed3289();
o.name = "foo";
o.network = "foo";
- o.resources = buildUnnamed3198();
+ o.resources = buildUnnamed3290();
o.selfLink = "foo";
o.size = 42;
}
@@ -411,14 +411,14 @@
if (buildCounterResourceView < 3) {
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed3196(o.endpoints);
+ checkUnnamed3288(o.endpoints);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3197(o.labels);
+ checkUnnamed3289(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
- checkUnnamed3198(o.resources);
+ checkUnnamed3290(o.resources);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.size, unittest.equals(42));
}
@@ -446,14 +446,14 @@
buildCounterServiceEndpoint--;
}
-buildUnnamed3199() {
+buildUnnamed3291() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3199(core.List<core.String> o) {
+checkUnnamed3291(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -464,7 +464,7 @@
var o = new api.ZoneViewsAddResourcesRequest();
buildCounterZoneViewsAddResourcesRequest++;
if (buildCounterZoneViewsAddResourcesRequest < 3) {
- o.resources = buildUnnamed3199();
+ o.resources = buildUnnamed3291();
}
buildCounterZoneViewsAddResourcesRequest--;
return o;
@@ -473,19 +473,19 @@
checkZoneViewsAddResourcesRequest(api.ZoneViewsAddResourcesRequest o) {
buildCounterZoneViewsAddResourcesRequest++;
if (buildCounterZoneViewsAddResourcesRequest < 3) {
- checkUnnamed3199(o.resources);
+ checkUnnamed3291(o.resources);
}
buildCounterZoneViewsAddResourcesRequest--;
}
-buildUnnamed3200() {
+buildUnnamed3292() {
var o = new core.List<api.ServiceEndpoint>();
o.add(buildServiceEndpoint());
o.add(buildServiceEndpoint());
return o;
}
-checkUnnamed3200(core.List<api.ServiceEndpoint> o) {
+checkUnnamed3292(core.List<api.ServiceEndpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceEndpoint(o[0]);
checkServiceEndpoint(o[1]);
@@ -496,7 +496,7 @@
var o = new api.ZoneViewsGetServiceResponse();
buildCounterZoneViewsGetServiceResponse++;
if (buildCounterZoneViewsGetServiceResponse < 3) {
- o.endpoints = buildUnnamed3200();
+ o.endpoints = buildUnnamed3292();
o.fingerprint = "foo";
}
buildCounterZoneViewsGetServiceResponse--;
@@ -506,20 +506,20 @@
checkZoneViewsGetServiceResponse(api.ZoneViewsGetServiceResponse o) {
buildCounterZoneViewsGetServiceResponse++;
if (buildCounterZoneViewsGetServiceResponse < 3) {
- checkUnnamed3200(o.endpoints);
+ checkUnnamed3292(o.endpoints);
unittest.expect(o.fingerprint, unittest.equals('foo'));
}
buildCounterZoneViewsGetServiceResponse--;
}
-buildUnnamed3201() {
+buildUnnamed3293() {
var o = new core.List<api.ResourceView>();
o.add(buildResourceView());
o.add(buildResourceView());
return o;
}
-checkUnnamed3201(core.List<api.ResourceView> o) {
+checkUnnamed3293(core.List<api.ResourceView> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceView(o[0]);
checkResourceView(o[1]);
@@ -530,7 +530,7 @@
var o = new api.ZoneViewsList();
buildCounterZoneViewsList++;
if (buildCounterZoneViewsList < 3) {
- o.items = buildUnnamed3201();
+ o.items = buildUnnamed3293();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -542,7 +542,7 @@
checkZoneViewsList(api.ZoneViewsList o) {
buildCounterZoneViewsList++;
if (buildCounterZoneViewsList < 3) {
- checkUnnamed3201(o.items);
+ checkUnnamed3293(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -550,14 +550,14 @@
buildCounterZoneViewsList--;
}
-buildUnnamed3202() {
+buildUnnamed3294() {
var o = new core.List<api.ListResourceResponseItem>();
o.add(buildListResourceResponseItem());
o.add(buildListResourceResponseItem());
return o;
}
-checkUnnamed3202(core.List<api.ListResourceResponseItem> o) {
+checkUnnamed3294(core.List<api.ListResourceResponseItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkListResourceResponseItem(o[0]);
checkListResourceResponseItem(o[1]);
@@ -568,7 +568,7 @@
var o = new api.ZoneViewsListResourcesResponse();
buildCounterZoneViewsListResourcesResponse++;
if (buildCounterZoneViewsListResourcesResponse < 3) {
- o.items = buildUnnamed3202();
+ o.items = buildUnnamed3294();
o.network = "foo";
o.nextPageToken = "foo";
}
@@ -579,21 +579,21 @@
checkZoneViewsListResourcesResponse(api.ZoneViewsListResourcesResponse o) {
buildCounterZoneViewsListResourcesResponse++;
if (buildCounterZoneViewsListResourcesResponse < 3) {
- checkUnnamed3202(o.items);
+ checkUnnamed3294(o.items);
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterZoneViewsListResourcesResponse--;
}
-buildUnnamed3203() {
+buildUnnamed3295() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3203(core.List<core.String> o) {
+checkUnnamed3295(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -604,7 +604,7 @@
var o = new api.ZoneViewsRemoveResourcesRequest();
buildCounterZoneViewsRemoveResourcesRequest++;
if (buildCounterZoneViewsRemoveResourcesRequest < 3) {
- o.resources = buildUnnamed3203();
+ o.resources = buildUnnamed3295();
}
buildCounterZoneViewsRemoveResourcesRequest--;
return o;
@@ -613,19 +613,19 @@
checkZoneViewsRemoveResourcesRequest(api.ZoneViewsRemoveResourcesRequest o) {
buildCounterZoneViewsRemoveResourcesRequest++;
if (buildCounterZoneViewsRemoveResourcesRequest < 3) {
- checkUnnamed3203(o.resources);
+ checkUnnamed3295(o.resources);
}
buildCounterZoneViewsRemoveResourcesRequest--;
}
-buildUnnamed3204() {
+buildUnnamed3296() {
var o = new core.List<api.ServiceEndpoint>();
o.add(buildServiceEndpoint());
o.add(buildServiceEndpoint());
return o;
}
-checkUnnamed3204(core.List<api.ServiceEndpoint> o) {
+checkUnnamed3296(core.List<api.ServiceEndpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceEndpoint(o[0]);
checkServiceEndpoint(o[1]);
@@ -636,7 +636,7 @@
var o = new api.ZoneViewsSetServiceRequest();
buildCounterZoneViewsSetServiceRequest++;
if (buildCounterZoneViewsSetServiceRequest < 3) {
- o.endpoints = buildUnnamed3204();
+ o.endpoints = buildUnnamed3296();
o.fingerprint = "foo";
o.resourceName = "foo";
}
@@ -647,7 +647,7 @@
checkZoneViewsSetServiceRequest(api.ZoneViewsSetServiceRequest o) {
buildCounterZoneViewsSetServiceRequest++;
if (buildCounterZoneViewsSetServiceRequest < 3) {
- checkUnnamed3204(o.endpoints);
+ checkUnnamed3296(o.endpoints);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.resourceName, unittest.equals('foo'));
}
diff --git a/generated/googleapis_beta/test/runtimeconfig/v1beta1_test.dart b/generated/googleapis_beta/test/runtimeconfig/v1beta1_test.dart
index e86ba03..e301e0c 100644
--- a/generated/googleapis_beta/test/runtimeconfig/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/runtimeconfig/v1beta1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3453() {
+buildUnnamed3551() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3453(core.List<core.String> o) {
+checkUnnamed3551(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -69,7 +69,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed3453();
+ o.members = buildUnnamed3551();
o.role = "foo";
}
buildCounterBinding--;
@@ -79,7 +79,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed3453(o.members);
+ checkUnnamed3551(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -142,14 +142,14 @@
buildCounterEndCondition--;
}
-buildUnnamed3454() {
+buildUnnamed3552() {
var o = new core.List<api.RuntimeConfig>();
o.add(buildRuntimeConfig());
o.add(buildRuntimeConfig());
return o;
}
-checkUnnamed3454(core.List<api.RuntimeConfig> o) {
+checkUnnamed3552(core.List<api.RuntimeConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkRuntimeConfig(o[0]);
checkRuntimeConfig(o[1]);
@@ -160,7 +160,7 @@
var o = new api.ListConfigsResponse();
buildCounterListConfigsResponse++;
if (buildCounterListConfigsResponse < 3) {
- o.configs = buildUnnamed3454();
+ o.configs = buildUnnamed3552();
o.nextPageToken = "foo";
}
buildCounterListConfigsResponse--;
@@ -170,20 +170,20 @@
checkListConfigsResponse(api.ListConfigsResponse o) {
buildCounterListConfigsResponse++;
if (buildCounterListConfigsResponse < 3) {
- checkUnnamed3454(o.configs);
+ checkUnnamed3552(o.configs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListConfigsResponse--;
}
-buildUnnamed3455() {
+buildUnnamed3553() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed3455(core.List<api.Variable> o) {
+checkUnnamed3553(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -195,7 +195,7 @@
buildCounterListVariablesResponse++;
if (buildCounterListVariablesResponse < 3) {
o.nextPageToken = "foo";
- o.variables = buildUnnamed3455();
+ o.variables = buildUnnamed3553();
}
buildCounterListVariablesResponse--;
return o;
@@ -205,19 +205,19 @@
buildCounterListVariablesResponse++;
if (buildCounterListVariablesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3455(o.variables);
+ checkUnnamed3553(o.variables);
}
buildCounterListVariablesResponse--;
}
-buildUnnamed3456() {
+buildUnnamed3554() {
var o = new core.List<api.Waiter>();
o.add(buildWaiter());
o.add(buildWaiter());
return o;
}
-checkUnnamed3456(core.List<api.Waiter> o) {
+checkUnnamed3554(core.List<api.Waiter> o) {
unittest.expect(o, unittest.hasLength(2));
checkWaiter(o[0]);
checkWaiter(o[1]);
@@ -229,7 +229,7 @@
buildCounterListWaitersResponse++;
if (buildCounterListWaitersResponse < 3) {
o.nextPageToken = "foo";
- o.waiters = buildUnnamed3456();
+ o.waiters = buildUnnamed3554();
}
buildCounterListWaitersResponse--;
return o;
@@ -239,32 +239,32 @@
buildCounterListWaitersResponse++;
if (buildCounterListWaitersResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3456(o.waiters);
+ checkUnnamed3554(o.waiters);
}
buildCounterListWaitersResponse--;
}
-buildUnnamed3457() {
+buildUnnamed3555() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3457(core.Map<core.String, core.Object> o) {
+checkUnnamed3555(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed3458() {
+buildUnnamed3556() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3458(core.Map<core.String, core.Object> o) {
+checkUnnamed3556(core.Map<core.String, core.Object> 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'));
@@ -277,9 +277,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3457();
+ o.metadata = buildUnnamed3555();
o.name = "foo";
- o.response = buildUnnamed3458();
+ o.response = buildUnnamed3556();
}
buildCounterOperation--;
return o;
@@ -290,21 +290,21 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3457(o.metadata);
+ checkUnnamed3555(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3458(o.response);
+ checkUnnamed3556(o.response);
}
buildCounterOperation--;
}
-buildUnnamed3459() {
+buildUnnamed3557() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed3459(core.List<api.Binding> o) {
+checkUnnamed3557(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -315,7 +315,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed3459();
+ o.bindings = buildUnnamed3557();
o.etag = "foo";
o.version = 42;
}
@@ -326,7 +326,7 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed3459(o.bindings);
+ checkUnnamed3557(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -373,30 +373,30 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed3460() {
+buildUnnamed3558() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3460(core.Map<core.String, core.Object> o) {
+checkUnnamed3558(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed3461() {
+buildUnnamed3559() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3460());
- o.add(buildUnnamed3460());
+ o.add(buildUnnamed3558());
+ o.add(buildUnnamed3558());
return o;
}
-checkUnnamed3461(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3559(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3460(o[0]);
- checkUnnamed3460(o[1]);
+ checkUnnamed3558(o[0]);
+ checkUnnamed3558(o[1]);
}
core.int buildCounterStatus = 0;
@@ -405,7 +405,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3461();
+ o.details = buildUnnamed3559();
o.message = "foo";
}
buildCounterStatus--;
@@ -416,20 +416,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3461(o.details);
+ checkUnnamed3559(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed3462() {
+buildUnnamed3560() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3462(core.List<core.String> o) {
+checkUnnamed3560(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -440,7 +440,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed3462();
+ o.permissions = buildUnnamed3560();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -449,19 +449,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed3462(o.permissions);
+ checkUnnamed3560(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed3463() {
+buildUnnamed3561() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3463(core.List<core.String> o) {
+checkUnnamed3561(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -472,7 +472,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed3463();
+ o.permissions = buildUnnamed3561();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -481,7 +481,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed3463(o.permissions);
+ checkUnnamed3561(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -563,40 +563,40 @@
buildCounterWatchVariableRequest--;
}
-buildUnnamed3464() {
+buildUnnamed3562() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3464(core.List<core.String> o) {
+checkUnnamed3562(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3465() {
+buildUnnamed3563() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3465(core.List<core.String> o) {
+checkUnnamed3563(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3466() {
+buildUnnamed3564() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3466(core.List<core.String> o) {
+checkUnnamed3564(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1194,7 +1194,7 @@
var mock = new HttpServerMock();
api.ProjectsConfigsOperationsResourceApi res = new api.RuntimeconfigApi(mock).projects.configs.operations;
var arg_resource = "foo";
- var arg_permissions = buildUnnamed3464();
+ var arg_permissions = buildUnnamed3562();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1388,10 +1388,10 @@
var mock = new HttpServerMock();
api.ProjectsConfigsVariablesResourceApi res = new api.RuntimeconfigApi(mock).projects.configs.variables;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_returnValues = true;
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1419,10 +1419,10 @@
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["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["returnValues"].first, unittest.equals("$arg_returnValues"));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1431,7 +1431,7 @@
var resp = convert.JSON.encode(buildListVariablesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken, returnValues: arg_returnValues).then(unittest.expectAsync(((api.ListVariablesResponse response) {
+ res.list(arg_parent, filter: arg_filter, pageToken: arg_pageToken, returnValues: arg_returnValues, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListVariablesResponse response) {
checkListVariablesResponse(response);
})));
});
@@ -1441,7 +1441,7 @@
var mock = new HttpServerMock();
api.ProjectsConfigsVariablesResourceApi res = new api.RuntimeconfigApi(mock).projects.configs.variables;
var arg_resource = "foo";
- var arg_permissions = buildUnnamed3465();
+ var arg_permissions = buildUnnamed3563();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1731,8 +1731,8 @@
var mock = new HttpServerMock();
api.ProjectsConfigsWaitersResourceApi res = new api.RuntimeconfigApi(mock).projects.configs.waiters;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1760,8 +1760,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1770,7 +1770,7 @@
var resp = convert.JSON.encode(buildListWaitersResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListWaitersResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListWaitersResponse response) {
checkListWaitersResponse(response);
})));
});
@@ -1780,7 +1780,7 @@
var mock = new HttpServerMock();
api.ProjectsConfigsWaitersResourceApi res = new api.RuntimeconfigApi(mock).projects.configs.waiters;
var arg_resource = "foo";
- var arg_permissions = buildUnnamed3466();
+ var arg_permissions = buildUnnamed3564();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
diff --git a/generated/googleapis_beta/test/speech/v1beta1_test.dart b/generated/googleapis_beta/test/speech/v1beta1_test.dart
index df01083..2960e07 100644
--- a/generated/googleapis_beta/test/speech/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/speech/v1beta1_test.dart
@@ -89,14 +89,14 @@
buildCounterEmpty--;
}
-buildUnnamed3304() {
+buildUnnamed3414() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3304(core.List<api.Operation> o) {
+checkUnnamed3414(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -108,7 +108,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3304();
+ o.operations = buildUnnamed3414();
}
buildCounterListOperationsResponse--;
return o;
@@ -118,32 +118,32 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3304(o.operations);
+ checkUnnamed3414(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed3305() {
+buildUnnamed3415() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3305(core.Map<core.String, core.Object> o) {
+checkUnnamed3415(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed3306() {
+buildUnnamed3416() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3306(core.Map<core.String, core.Object> o) {
+checkUnnamed3416(core.Map<core.String, core.Object> 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'));
@@ -156,9 +156,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3305();
+ o.metadata = buildUnnamed3415();
o.name = "foo";
- o.response = buildUnnamed3306();
+ o.response = buildUnnamed3416();
}
buildCounterOperation--;
return o;
@@ -169,9 +169,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3305(o.metadata);
+ checkUnnamed3415(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3306(o.response);
+ checkUnnamed3416(o.response);
}
buildCounterOperation--;
}
@@ -226,14 +226,14 @@
buildCounterRecognitionConfig--;
}
-buildUnnamed3307() {
+buildUnnamed3417() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3307(core.List<core.String> o) {
+checkUnnamed3417(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -244,7 +244,7 @@
var o = new api.SpeechContext();
buildCounterSpeechContext++;
if (buildCounterSpeechContext < 3) {
- o.phrases = buildUnnamed3307();
+ o.phrases = buildUnnamed3417();
}
buildCounterSpeechContext--;
return o;
@@ -253,7 +253,7 @@
checkSpeechContext(api.SpeechContext o) {
buildCounterSpeechContext++;
if (buildCounterSpeechContext < 3) {
- checkUnnamed3307(o.phrases);
+ checkUnnamed3417(o.phrases);
}
buildCounterSpeechContext--;
}
@@ -279,14 +279,14 @@
buildCounterSpeechRecognitionAlternative--;
}
-buildUnnamed3308() {
+buildUnnamed3418() {
var o = new core.List<api.SpeechRecognitionAlternative>();
o.add(buildSpeechRecognitionAlternative());
o.add(buildSpeechRecognitionAlternative());
return o;
}
-checkUnnamed3308(core.List<api.SpeechRecognitionAlternative> o) {
+checkUnnamed3418(core.List<api.SpeechRecognitionAlternative> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpeechRecognitionAlternative(o[0]);
checkSpeechRecognitionAlternative(o[1]);
@@ -297,7 +297,7 @@
var o = new api.SpeechRecognitionResult();
buildCounterSpeechRecognitionResult++;
if (buildCounterSpeechRecognitionResult < 3) {
- o.alternatives = buildUnnamed3308();
+ o.alternatives = buildUnnamed3418();
}
buildCounterSpeechRecognitionResult--;
return o;
@@ -306,35 +306,35 @@
checkSpeechRecognitionResult(api.SpeechRecognitionResult o) {
buildCounterSpeechRecognitionResult++;
if (buildCounterSpeechRecognitionResult < 3) {
- checkUnnamed3308(o.alternatives);
+ checkUnnamed3418(o.alternatives);
}
buildCounterSpeechRecognitionResult--;
}
-buildUnnamed3309() {
+buildUnnamed3419() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed3309(core.Map<core.String, core.Object> o) {
+checkUnnamed3419(core.Map<core.String, core.Object> 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'));
}
-buildUnnamed3310() {
+buildUnnamed3420() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3309());
- o.add(buildUnnamed3309());
+ o.add(buildUnnamed3419());
+ o.add(buildUnnamed3419());
return o;
}
-checkUnnamed3310(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3420(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3309(o[0]);
- checkUnnamed3309(o[1]);
+ checkUnnamed3419(o[0]);
+ checkUnnamed3419(o[1]);
}
core.int buildCounterStatus = 0;
@@ -343,7 +343,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3310();
+ o.details = buildUnnamed3420();
o.message = "foo";
}
buildCounterStatus--;
@@ -354,7 +354,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3310(o.details);
+ checkUnnamed3420(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -381,14 +381,14 @@
buildCounterSyncRecognizeRequest--;
}
-buildUnnamed3311() {
+buildUnnamed3421() {
var o = new core.List<api.SpeechRecognitionResult>();
o.add(buildSpeechRecognitionResult());
o.add(buildSpeechRecognitionResult());
return o;
}
-checkUnnamed3311(core.List<api.SpeechRecognitionResult> o) {
+checkUnnamed3421(core.List<api.SpeechRecognitionResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpeechRecognitionResult(o[0]);
checkSpeechRecognitionResult(o[1]);
@@ -399,7 +399,7 @@
var o = new api.SyncRecognizeResponse();
buildCounterSyncRecognizeResponse++;
if (buildCounterSyncRecognizeResponse < 3) {
- o.results = buildUnnamed3311();
+ o.results = buildUnnamed3421();
}
buildCounterSyncRecognizeResponse--;
return o;
@@ -408,7 +408,7 @@
checkSyncRecognizeResponse(api.SyncRecognizeResponse o) {
buildCounterSyncRecognizeResponse++;
if (buildCounterSyncRecognizeResponse < 3) {
- checkUnnamed3311(o.results);
+ checkUnnamed3421(o.results);
}
buildCounterSyncRecognizeResponse--;
}
@@ -663,10 +663,10 @@
var mock = new HttpServerMock();
api.OperationsResourceApi res = new api.SpeechApi(mock).operations;
- var arg_filter = "foo";
var arg_name = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -693,10 +693,10 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -705,7 +705,7 @@
var resp = convert.JSON.encode(buildListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(filter: arg_filter, name: arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListOperationsResponse response) {
+ res.list(name: arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/sqladmin/v1beta3_test.dart b/generated/googleapis_beta/test/sqladmin/v1beta3_test.dart
index f251873..ce3d260 100644
--- a/generated/googleapis_beta/test/sqladmin/v1beta3_test.dart
+++ b/generated/googleapis_beta/test/sqladmin/v1beta3_test.dart
@@ -113,14 +113,14 @@
buildCounterBackupRun--;
}
-buildUnnamed3088() {
+buildUnnamed3180() {
var o = new core.List<api.BackupRun>();
o.add(buildBackupRun());
o.add(buildBackupRun());
return o;
}
-checkUnnamed3088(core.List<api.BackupRun> o) {
+checkUnnamed3180(core.List<api.BackupRun> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackupRun(o[0]);
checkBackupRun(o[1]);
@@ -131,7 +131,7 @@
var o = new api.BackupRunsListResponse();
buildCounterBackupRunsListResponse++;
if (buildCounterBackupRunsListResponse < 3) {
- o.items = buildUnnamed3088();
+ o.items = buildUnnamed3180();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -142,7 +142,7 @@
checkBackupRunsListResponse(api.BackupRunsListResponse o) {
buildCounterBackupRunsListResponse++;
if (buildCounterBackupRunsListResponse < 3) {
- checkUnnamed3088(o.items);
+ checkUnnamed3180(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -218,27 +218,27 @@
buildCounterDatabaseFlags--;
}
-buildUnnamed3089() {
+buildUnnamed3181() {
var o = new core.List<api.IpMapping>();
o.add(buildIpMapping());
o.add(buildIpMapping());
return o;
}
-checkUnnamed3089(core.List<api.IpMapping> o) {
+checkUnnamed3181(core.List<api.IpMapping> o) {
unittest.expect(o, unittest.hasLength(2));
checkIpMapping(o[0]);
checkIpMapping(o[1]);
}
-buildUnnamed3090() {
+buildUnnamed3182() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3090(core.List<core.String> o) {
+checkUnnamed3182(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -255,14 +255,14 @@
o.etag = "foo";
o.instance = "foo";
o.instanceType = "foo";
- o.ipAddresses = buildUnnamed3089();
+ o.ipAddresses = buildUnnamed3181();
o.ipv6Address = "foo";
o.kind = "foo";
o.masterInstanceName = "foo";
o.maxDiskSize = "foo";
o.project = "foo";
o.region = "foo";
- o.replicaNames = buildUnnamed3090();
+ o.replicaNames = buildUnnamed3182();
o.serverCaCert = buildSslCert();
o.serviceAccountEmailAddress = "foo";
o.settings = buildSettings();
@@ -281,14 +281,14 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.instance, unittest.equals('foo'));
unittest.expect(o.instanceType, unittest.equals('foo'));
- checkUnnamed3089(o.ipAddresses);
+ checkUnnamed3181(o.ipAddresses);
unittest.expect(o.ipv6Address, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.masterInstanceName, unittest.equals('foo'));
unittest.expect(o.maxDiskSize, unittest.equals('foo'));
unittest.expect(o.project, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed3090(o.replicaNames);
+ checkUnnamed3182(o.replicaNames);
checkSslCert(o.serverCaCert);
unittest.expect(o.serviceAccountEmailAddress, unittest.equals('foo'));
checkSettings(o.settings);
@@ -297,27 +297,27 @@
buildCounterDatabaseInstance--;
}
-buildUnnamed3091() {
+buildUnnamed3183() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3091(core.List<core.String> o) {
+checkUnnamed3183(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3092() {
+buildUnnamed3184() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3092(core.List<core.String> o) {
+checkUnnamed3184(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -328,9 +328,9 @@
var o = new api.ExportContext();
buildCounterExportContext++;
if (buildCounterExportContext < 3) {
- o.database = buildUnnamed3091();
+ o.database = buildUnnamed3183();
o.kind = "foo";
- o.table = buildUnnamed3092();
+ o.table = buildUnnamed3184();
o.uri = "foo";
}
buildCounterExportContext--;
@@ -340,35 +340,35 @@
checkExportContext(api.ExportContext o) {
buildCounterExportContext++;
if (buildCounterExportContext < 3) {
- checkUnnamed3091(o.database);
+ checkUnnamed3183(o.database);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3092(o.table);
+ checkUnnamed3184(o.table);
unittest.expect(o.uri, unittest.equals('foo'));
}
buildCounterExportContext--;
}
-buildUnnamed3093() {
+buildUnnamed3185() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3093(core.List<core.String> o) {
+checkUnnamed3185(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3094() {
+buildUnnamed3186() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3094(core.List<core.String> o) {
+checkUnnamed3186(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -379,8 +379,8 @@
var o = new api.Flag();
buildCounterFlag++;
if (buildCounterFlag < 3) {
- o.allowedStringValues = buildUnnamed3093();
- o.appliesTo = buildUnnamed3094();
+ o.allowedStringValues = buildUnnamed3185();
+ o.appliesTo = buildUnnamed3186();
o.kind = "foo";
o.maxValue = "foo";
o.minValue = "foo";
@@ -394,8 +394,8 @@
checkFlag(api.Flag o) {
buildCounterFlag++;
if (buildCounterFlag < 3) {
- checkUnnamed3093(o.allowedStringValues);
- checkUnnamed3094(o.appliesTo);
+ checkUnnamed3185(o.allowedStringValues);
+ checkUnnamed3186(o.appliesTo);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.maxValue, unittest.equals('foo'));
unittest.expect(o.minValue, unittest.equals('foo'));
@@ -405,14 +405,14 @@
buildCounterFlag--;
}
-buildUnnamed3095() {
+buildUnnamed3187() {
var o = new core.List<api.Flag>();
o.add(buildFlag());
o.add(buildFlag());
return o;
}
-checkUnnamed3095(core.List<api.Flag> o) {
+checkUnnamed3187(core.List<api.Flag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFlag(o[0]);
checkFlag(o[1]);
@@ -423,7 +423,7 @@
var o = new api.FlagsListResponse();
buildCounterFlagsListResponse++;
if (buildCounterFlagsListResponse < 3) {
- o.items = buildUnnamed3095();
+ o.items = buildUnnamed3187();
o.kind = "foo";
}
buildCounterFlagsListResponse--;
@@ -433,20 +433,20 @@
checkFlagsListResponse(api.FlagsListResponse o) {
buildCounterFlagsListResponse++;
if (buildCounterFlagsListResponse < 3) {
- checkUnnamed3095(o.items);
+ checkUnnamed3187(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterFlagsListResponse--;
}
-buildUnnamed3096() {
+buildUnnamed3188() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3096(core.List<core.String> o) {
+checkUnnamed3188(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -459,7 +459,7 @@
if (buildCounterImportContext < 3) {
o.database = "foo";
o.kind = "foo";
- o.uri = buildUnnamed3096();
+ o.uri = buildUnnamed3188();
}
buildCounterImportContext--;
return o;
@@ -470,19 +470,19 @@
if (buildCounterImportContext < 3) {
unittest.expect(o.database, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3096(o.uri);
+ checkUnnamed3188(o.uri);
}
buildCounterImportContext--;
}
-buildUnnamed3097() {
+buildUnnamed3189() {
var o = new core.List<api.OperationError>();
o.add(buildOperationError());
o.add(buildOperationError());
return o;
}
-checkUnnamed3097(core.List<api.OperationError> o) {
+checkUnnamed3189(core.List<api.OperationError> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationError(o[0]);
checkOperationError(o[1]);
@@ -495,7 +495,7 @@
if (buildCounterInstanceOperation < 3) {
o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
o.enqueuedTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.error = buildUnnamed3097();
+ o.error = buildUnnamed3189();
o.exportContext = buildExportContext();
o.importContext = buildImportContext();
o.instance = "foo";
@@ -515,7 +515,7 @@
if (buildCounterInstanceOperation < 3) {
unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.enqueuedTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed3097(o.error);
+ checkUnnamed3189(o.error);
checkExportContext(o.exportContext);
checkImportContext(o.importContext);
unittest.expect(o.instance, unittest.equals('foo'));
@@ -710,14 +710,14 @@
buildCounterInstancesInsertResponse--;
}
-buildUnnamed3098() {
+buildUnnamed3190() {
var o = new core.List<api.DatabaseInstance>();
o.add(buildDatabaseInstance());
o.add(buildDatabaseInstance());
return o;
}
-checkUnnamed3098(core.List<api.DatabaseInstance> o) {
+checkUnnamed3190(core.List<api.DatabaseInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatabaseInstance(o[0]);
checkDatabaseInstance(o[1]);
@@ -728,7 +728,7 @@
var o = new api.InstancesListResponse();
buildCounterInstancesListResponse++;
if (buildCounterInstancesListResponse < 3) {
- o.items = buildUnnamed3098();
+ o.items = buildUnnamed3190();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -739,7 +739,7 @@
checkInstancesListResponse(api.InstancesListResponse o) {
buildCounterInstancesListResponse++;
if (buildCounterInstancesListResponse < 3) {
- checkUnnamed3098(o.items);
+ checkUnnamed3190(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -872,14 +872,14 @@
buildCounterInstancesUpdateResponse--;
}
-buildUnnamed3099() {
+buildUnnamed3191() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3099(core.List<core.String> o) {
+checkUnnamed3191(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -890,7 +890,7 @@
var o = new api.IpConfiguration();
buildCounterIpConfiguration++;
if (buildCounterIpConfiguration < 3) {
- o.authorizedNetworks = buildUnnamed3099();
+ o.authorizedNetworks = buildUnnamed3191();
o.enabled = true;
o.kind = "foo";
o.requireSsl = true;
@@ -902,7 +902,7 @@
checkIpConfiguration(api.IpConfiguration o) {
buildCounterIpConfiguration++;
if (buildCounterIpConfiguration < 3) {
- checkUnnamed3099(o.authorizedNetworks);
+ checkUnnamed3191(o.authorizedNetworks);
unittest.expect(o.enabled, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.requireSsl, unittest.isTrue);
@@ -975,14 +975,14 @@
buildCounterOperationError--;
}
-buildUnnamed3100() {
+buildUnnamed3192() {
var o = new core.List<api.InstanceOperation>();
o.add(buildInstanceOperation());
o.add(buildInstanceOperation());
return o;
}
-checkUnnamed3100(core.List<api.InstanceOperation> o) {
+checkUnnamed3192(core.List<api.InstanceOperation> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceOperation(o[0]);
checkInstanceOperation(o[1]);
@@ -993,7 +993,7 @@
var o = new api.OperationsListResponse();
buildCounterOperationsListResponse++;
if (buildCounterOperationsListResponse < 3) {
- o.items = buildUnnamed3100();
+ o.items = buildUnnamed3192();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1004,7 +1004,7 @@
checkOperationsListResponse(api.OperationsListResponse o) {
buildCounterOperationsListResponse++;
if (buildCounterOperationsListResponse < 3) {
- checkUnnamed3100(o.items);
+ checkUnnamed3192(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1032,40 +1032,40 @@
buildCounterSetRootPasswordContext--;
}
-buildUnnamed3101() {
+buildUnnamed3193() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3101(core.List<core.String> o) {
+checkUnnamed3193(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3102() {
+buildUnnamed3194() {
var o = new core.List<api.BackupConfiguration>();
o.add(buildBackupConfiguration());
o.add(buildBackupConfiguration());
return o;
}
-checkUnnamed3102(core.List<api.BackupConfiguration> o) {
+checkUnnamed3194(core.List<api.BackupConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackupConfiguration(o[0]);
checkBackupConfiguration(o[1]);
}
-buildUnnamed3103() {
+buildUnnamed3195() {
var o = new core.List<api.DatabaseFlags>();
o.add(buildDatabaseFlags());
o.add(buildDatabaseFlags());
return o;
}
-checkUnnamed3103(core.List<api.DatabaseFlags> o) {
+checkUnnamed3195(core.List<api.DatabaseFlags> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatabaseFlags(o[0]);
checkDatabaseFlags(o[1]);
@@ -1077,9 +1077,9 @@
buildCounterSettings++;
if (buildCounterSettings < 3) {
o.activationPolicy = "foo";
- o.authorizedGaeApplications = buildUnnamed3101();
- o.backupConfiguration = buildUnnamed3102();
- o.databaseFlags = buildUnnamed3103();
+ o.authorizedGaeApplications = buildUnnamed3193();
+ o.backupConfiguration = buildUnnamed3194();
+ o.databaseFlags = buildUnnamed3195();
o.databaseReplicationEnabled = true;
o.ipConfiguration = buildIpConfiguration();
o.kind = "foo";
@@ -1097,9 +1097,9 @@
buildCounterSettings++;
if (buildCounterSettings < 3) {
unittest.expect(o.activationPolicy, unittest.equals('foo'));
- checkUnnamed3101(o.authorizedGaeApplications);
- checkUnnamed3102(o.backupConfiguration);
- checkUnnamed3103(o.databaseFlags);
+ checkUnnamed3193(o.authorizedGaeApplications);
+ checkUnnamed3194(o.backupConfiguration);
+ checkUnnamed3195(o.databaseFlags);
unittest.expect(o.databaseReplicationEnabled, unittest.isTrue);
checkIpConfiguration(o.ipConfiguration);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1229,14 +1229,14 @@
buildCounterSslCertsInsertResponse--;
}
-buildUnnamed3104() {
+buildUnnamed3196() {
var o = new core.List<api.SslCert>();
o.add(buildSslCert());
o.add(buildSslCert());
return o;
}
-checkUnnamed3104(core.List<api.SslCert> o) {
+checkUnnamed3196(core.List<api.SslCert> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslCert(o[0]);
checkSslCert(o[1]);
@@ -1247,7 +1247,7 @@
var o = new api.SslCertsListResponse();
buildCounterSslCertsListResponse++;
if (buildCounterSslCertsListResponse < 3) {
- o.items = buildUnnamed3104();
+ o.items = buildUnnamed3196();
o.kind = "foo";
}
buildCounterSslCertsListResponse--;
@@ -1257,20 +1257,20 @@
checkSslCertsListResponse(api.SslCertsListResponse o) {
buildCounterSslCertsListResponse++;
if (buildCounterSslCertsListResponse < 3) {
- checkUnnamed3104(o.items);
+ checkUnnamed3196(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSslCertsListResponse--;
}
-buildUnnamed3105() {
+buildUnnamed3197() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3105(core.List<core.String> o) {
+checkUnnamed3197(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1284,7 +1284,7 @@
o.DiskQuota = "foo";
o.RAM = "foo";
o.kind = "foo";
- o.region = buildUnnamed3105();
+ o.region = buildUnnamed3197();
o.tier = "foo";
}
buildCounterTier--;
@@ -1297,20 +1297,20 @@
unittest.expect(o.DiskQuota, unittest.equals('foo'));
unittest.expect(o.RAM, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3105(o.region);
+ checkUnnamed3197(o.region);
unittest.expect(o.tier, unittest.equals('foo'));
}
buildCounterTier--;
}
-buildUnnamed3106() {
+buildUnnamed3198() {
var o = new core.List<api.Tier>();
o.add(buildTier());
o.add(buildTier());
return o;
}
-checkUnnamed3106(core.List<api.Tier> o) {
+checkUnnamed3198(core.List<api.Tier> o) {
unittest.expect(o, unittest.hasLength(2));
checkTier(o[0]);
checkTier(o[1]);
@@ -1321,7 +1321,7 @@
var o = new api.TiersListResponse();
buildCounterTiersListResponse++;
if (buildCounterTiersListResponse < 3) {
- o.items = buildUnnamed3106();
+ o.items = buildUnnamed3198();
o.kind = "foo";
}
buildCounterTiersListResponse--;
@@ -1331,7 +1331,7 @@
checkTiersListResponse(api.TiersListResponse o) {
buildCounterTiersListResponse++;
if (buildCounterTiersListResponse < 3) {
- checkUnnamed3106(o.items);
+ checkUnnamed3198(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTiersListResponse--;
diff --git a/generated/googleapis_beta/test/sqladmin/v1beta4_test.dart b/generated/googleapis_beta/test/sqladmin/v1beta4_test.dart
index 70c747d..5c7aaa9 100644
--- a/generated/googleapis_beta/test/sqladmin/v1beta4_test.dart
+++ b/generated/googleapis_beta/test/sqladmin/v1beta4_test.dart
@@ -142,14 +142,14 @@
buildCounterBackupRun--;
}
-buildUnnamed3263() {
+buildUnnamed3373() {
var o = new core.List<api.BackupRun>();
o.add(buildBackupRun());
o.add(buildBackupRun());
return o;
}
-checkUnnamed3263(core.List<api.BackupRun> o) {
+checkUnnamed3373(core.List<api.BackupRun> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackupRun(o[0]);
checkBackupRun(o[1]);
@@ -160,7 +160,7 @@
var o = new api.BackupRunsListResponse();
buildCounterBackupRunsListResponse++;
if (buildCounterBackupRunsListResponse < 3) {
- o.items = buildUnnamed3263();
+ o.items = buildUnnamed3373();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -171,7 +171,7 @@
checkBackupRunsListResponse(api.BackupRunsListResponse o) {
buildCounterBackupRunsListResponse++;
if (buildCounterBackupRunsListResponse < 3) {
- checkUnnamed3263(o.items);
+ checkUnnamed3373(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -299,40 +299,40 @@
buildCounterDatabaseInstanceFailoverReplica--;
}
-buildUnnamed3264() {
+buildUnnamed3374() {
var o = new core.List<api.IpMapping>();
o.add(buildIpMapping());
o.add(buildIpMapping());
return o;
}
-checkUnnamed3264(core.List<api.IpMapping> o) {
+checkUnnamed3374(core.List<api.IpMapping> o) {
unittest.expect(o, unittest.hasLength(2));
checkIpMapping(o[0]);
checkIpMapping(o[1]);
}
-buildUnnamed3265() {
+buildUnnamed3375() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3265(core.List<core.String> o) {
+checkUnnamed3375(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3266() {
+buildUnnamed3376() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3266(core.List<core.String> o) {
+checkUnnamed3376(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -350,7 +350,7 @@
o.etag = "foo";
o.failoverReplica = buildDatabaseInstanceFailoverReplica();
o.instanceType = "foo";
- o.ipAddresses = buildUnnamed3264();
+ o.ipAddresses = buildUnnamed3374();
o.ipv6Address = "foo";
o.kind = "foo";
o.masterInstanceName = "foo";
@@ -360,13 +360,13 @@
o.project = "foo";
o.region = "foo";
o.replicaConfiguration = buildReplicaConfiguration();
- o.replicaNames = buildUnnamed3265();
+ o.replicaNames = buildUnnamed3375();
o.selfLink = "foo";
o.serverCaCert = buildSslCert();
o.serviceAccountEmailAddress = "foo";
o.settings = buildSettings();
o.state = "foo";
- o.suspensionReason = buildUnnamed3266();
+ o.suspensionReason = buildUnnamed3376();
}
buildCounterDatabaseInstance--;
return o;
@@ -382,7 +382,7 @@
unittest.expect(o.etag, unittest.equals('foo'));
checkDatabaseInstanceFailoverReplica(o.failoverReplica);
unittest.expect(o.instanceType, unittest.equals('foo'));
- checkUnnamed3264(o.ipAddresses);
+ checkUnnamed3374(o.ipAddresses);
unittest.expect(o.ipv6Address, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.masterInstanceName, unittest.equals('foo'));
@@ -392,25 +392,25 @@
unittest.expect(o.project, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
checkReplicaConfiguration(o.replicaConfiguration);
- checkUnnamed3265(o.replicaNames);
+ checkUnnamed3375(o.replicaNames);
unittest.expect(o.selfLink, unittest.equals('foo'));
checkSslCert(o.serverCaCert);
unittest.expect(o.serviceAccountEmailAddress, unittest.equals('foo'));
checkSettings(o.settings);
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed3266(o.suspensionReason);
+ checkUnnamed3376(o.suspensionReason);
}
buildCounterDatabaseInstance--;
}
-buildUnnamed3267() {
+buildUnnamed3377() {
var o = new core.List<api.Database>();
o.add(buildDatabase());
o.add(buildDatabase());
return o;
}
-checkUnnamed3267(core.List<api.Database> o) {
+checkUnnamed3377(core.List<api.Database> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatabase(o[0]);
checkDatabase(o[1]);
@@ -421,7 +421,7 @@
var o = new api.DatabasesListResponse();
buildCounterDatabasesListResponse++;
if (buildCounterDatabasesListResponse < 3) {
- o.items = buildUnnamed3267();
+ o.items = buildUnnamed3377();
o.kind = "foo";
}
buildCounterDatabasesListResponse--;
@@ -431,7 +431,7 @@
checkDatabasesListResponse(api.DatabasesListResponse o) {
buildCounterDatabasesListResponse++;
if (buildCounterDatabasesListResponse < 3) {
- checkUnnamed3267(o.items);
+ checkUnnamed3377(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDatabasesListResponse--;
@@ -456,27 +456,27 @@
buildCounterExportContextCsvExportOptions--;
}
-buildUnnamed3268() {
+buildUnnamed3378() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3268(core.List<core.String> o) {
+checkUnnamed3378(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3269() {
+buildUnnamed3379() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3269(core.List<core.String> o) {
+checkUnnamed3379(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -488,7 +488,7 @@
buildCounterExportContextSqlExportOptions++;
if (buildCounterExportContextSqlExportOptions < 3) {
o.schemaOnly = true;
- o.tables = buildUnnamed3269();
+ o.tables = buildUnnamed3379();
}
buildCounterExportContextSqlExportOptions--;
return o;
@@ -498,7 +498,7 @@
buildCounterExportContextSqlExportOptions++;
if (buildCounterExportContextSqlExportOptions < 3) {
unittest.expect(o.schemaOnly, unittest.isTrue);
- checkUnnamed3269(o.tables);
+ checkUnnamed3379(o.tables);
}
buildCounterExportContextSqlExportOptions--;
}
@@ -509,7 +509,7 @@
buildCounterExportContext++;
if (buildCounterExportContext < 3) {
o.csvExportOptions = buildExportContextCsvExportOptions();
- o.databases = buildUnnamed3268();
+ o.databases = buildUnnamed3378();
o.fileType = "foo";
o.kind = "foo";
o.sqlExportOptions = buildExportContextSqlExportOptions();
@@ -523,7 +523,7 @@
buildCounterExportContext++;
if (buildCounterExportContext < 3) {
checkExportContextCsvExportOptions(o.csvExportOptions);
- checkUnnamed3268(o.databases);
+ checkUnnamed3378(o.databases);
unittest.expect(o.fileType, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkExportContextSqlExportOptions(o.sqlExportOptions);
@@ -553,27 +553,27 @@
buildCounterFailoverContext--;
}
-buildUnnamed3270() {
+buildUnnamed3380() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3270(core.List<core.String> o) {
+checkUnnamed3380(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3271() {
+buildUnnamed3381() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3271(core.List<core.String> o) {
+checkUnnamed3381(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -584,8 +584,8 @@
var o = new api.Flag();
buildCounterFlag++;
if (buildCounterFlag < 3) {
- o.allowedStringValues = buildUnnamed3270();
- o.appliesTo = buildUnnamed3271();
+ o.allowedStringValues = buildUnnamed3380();
+ o.appliesTo = buildUnnamed3381();
o.kind = "foo";
o.maxValue = "foo";
o.minValue = "foo";
@@ -600,8 +600,8 @@
checkFlag(api.Flag o) {
buildCounterFlag++;
if (buildCounterFlag < 3) {
- checkUnnamed3270(o.allowedStringValues);
- checkUnnamed3271(o.appliesTo);
+ checkUnnamed3380(o.allowedStringValues);
+ checkUnnamed3381(o.appliesTo);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.maxValue, unittest.equals('foo'));
unittest.expect(o.minValue, unittest.equals('foo'));
@@ -612,14 +612,14 @@
buildCounterFlag--;
}
-buildUnnamed3272() {
+buildUnnamed3382() {
var o = new core.List<api.Flag>();
o.add(buildFlag());
o.add(buildFlag());
return o;
}
-checkUnnamed3272(core.List<api.Flag> o) {
+checkUnnamed3382(core.List<api.Flag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFlag(o[0]);
checkFlag(o[1]);
@@ -630,7 +630,7 @@
var o = new api.FlagsListResponse();
buildCounterFlagsListResponse++;
if (buildCounterFlagsListResponse < 3) {
- o.items = buildUnnamed3272();
+ o.items = buildUnnamed3382();
o.kind = "foo";
}
buildCounterFlagsListResponse--;
@@ -640,20 +640,20 @@
checkFlagsListResponse(api.FlagsListResponse o) {
buildCounterFlagsListResponse++;
if (buildCounterFlagsListResponse < 3) {
- checkUnnamed3272(o.items);
+ checkUnnamed3382(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterFlagsListResponse--;
}
-buildUnnamed3273() {
+buildUnnamed3383() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3273(core.List<core.String> o) {
+checkUnnamed3383(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -664,7 +664,7 @@
var o = new api.ImportContextCsvImportOptions();
buildCounterImportContextCsvImportOptions++;
if (buildCounterImportContextCsvImportOptions < 3) {
- o.columns = buildUnnamed3273();
+ o.columns = buildUnnamed3383();
o.table = "foo";
}
buildCounterImportContextCsvImportOptions--;
@@ -674,7 +674,7 @@
checkImportContextCsvImportOptions(api.ImportContextCsvImportOptions o) {
buildCounterImportContextCsvImportOptions++;
if (buildCounterImportContextCsvImportOptions < 3) {
- checkUnnamed3273(o.columns);
+ checkUnnamed3383(o.columns);
unittest.expect(o.table, unittest.equals('foo'));
}
buildCounterImportContextCsvImportOptions--;
@@ -783,14 +783,14 @@
buildCounterInstancesImportRequest--;
}
-buildUnnamed3274() {
+buildUnnamed3384() {
var o = new core.List<api.DatabaseInstance>();
o.add(buildDatabaseInstance());
o.add(buildDatabaseInstance());
return o;
}
-checkUnnamed3274(core.List<api.DatabaseInstance> o) {
+checkUnnamed3384(core.List<api.DatabaseInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatabaseInstance(o[0]);
checkDatabaseInstance(o[1]);
@@ -801,7 +801,7 @@
var o = new api.InstancesListResponse();
buildCounterInstancesListResponse++;
if (buildCounterInstancesListResponse < 3) {
- o.items = buildUnnamed3274();
+ o.items = buildUnnamed3384();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -812,7 +812,7 @@
checkInstancesListResponse(api.InstancesListResponse o) {
buildCounterInstancesListResponse++;
if (buildCounterInstancesListResponse < 3) {
- checkUnnamed3274(o.items);
+ checkUnnamed3384(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -857,14 +857,14 @@
buildCounterInstancesTruncateLogRequest--;
}
-buildUnnamed3275() {
+buildUnnamed3385() {
var o = new core.List<api.AclEntry>();
o.add(buildAclEntry());
o.add(buildAclEntry());
return o;
}
-checkUnnamed3275(core.List<api.AclEntry> o) {
+checkUnnamed3385(core.List<api.AclEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAclEntry(o[0]);
checkAclEntry(o[1]);
@@ -875,7 +875,7 @@
var o = new api.IpConfiguration();
buildCounterIpConfiguration++;
if (buildCounterIpConfiguration < 3) {
- o.authorizedNetworks = buildUnnamed3275();
+ o.authorizedNetworks = buildUnnamed3385();
o.ipv4Enabled = true;
o.requireSsl = true;
}
@@ -886,7 +886,7 @@
checkIpConfiguration(api.IpConfiguration o) {
buildCounterIpConfiguration++;
if (buildCounterIpConfiguration < 3) {
- checkUnnamed3275(o.authorizedNetworks);
+ checkUnnamed3385(o.authorizedNetworks);
unittest.expect(o.ipv4Enabled, unittest.isTrue);
unittest.expect(o.requireSsl, unittest.isTrue);
}
@@ -1115,14 +1115,14 @@
buildCounterOperationError--;
}
-buildUnnamed3276() {
+buildUnnamed3386() {
var o = new core.List<api.OperationError>();
o.add(buildOperationError());
o.add(buildOperationError());
return o;
}
-checkUnnamed3276(core.List<api.OperationError> o) {
+checkUnnamed3386(core.List<api.OperationError> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationError(o[0]);
checkOperationError(o[1]);
@@ -1133,7 +1133,7 @@
var o = new api.OperationErrors();
buildCounterOperationErrors++;
if (buildCounterOperationErrors < 3) {
- o.errors = buildUnnamed3276();
+ o.errors = buildUnnamed3386();
o.kind = "foo";
}
buildCounterOperationErrors--;
@@ -1143,20 +1143,20 @@
checkOperationErrors(api.OperationErrors o) {
buildCounterOperationErrors++;
if (buildCounterOperationErrors < 3) {
- checkUnnamed3276(o.errors);
+ checkUnnamed3386(o.errors);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterOperationErrors--;
}
-buildUnnamed3277() {
+buildUnnamed3387() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3277(core.List<api.Operation> o) {
+checkUnnamed3387(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1167,7 +1167,7 @@
var o = new api.OperationsListResponse();
buildCounterOperationsListResponse++;
if (buildCounterOperationsListResponse < 3) {
- o.items = buildUnnamed3277();
+ o.items = buildUnnamed3387();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1178,7 +1178,7 @@
checkOperationsListResponse(api.OperationsListResponse o) {
buildCounterOperationsListResponse++;
if (buildCounterOperationsListResponse < 3) {
- checkUnnamed3277(o.items);
+ checkUnnamed3387(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1231,40 +1231,40 @@
buildCounterRestoreBackupContext--;
}
-buildUnnamed3278() {
+buildUnnamed3388() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3278(core.List<core.String> o) {
+checkUnnamed3388(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3279() {
+buildUnnamed3389() {
var o = new core.List<api.DatabaseFlags>();
o.add(buildDatabaseFlags());
o.add(buildDatabaseFlags());
return o;
}
-checkUnnamed3279(core.List<api.DatabaseFlags> o) {
+checkUnnamed3389(core.List<api.DatabaseFlags> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatabaseFlags(o[0]);
checkDatabaseFlags(o[1]);
}
-buildUnnamed3280() {
+buildUnnamed3390() {
var o = new core.List<api.Labels>();
o.add(buildLabels());
o.add(buildLabels());
return o;
}
-checkUnnamed3280(core.List<api.Labels> o) {
+checkUnnamed3390(core.List<api.Labels> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabels(o[0]);
checkLabels(o[1]);
@@ -1276,17 +1276,17 @@
buildCounterSettings++;
if (buildCounterSettings < 3) {
o.activationPolicy = "foo";
- o.authorizedGaeApplications = buildUnnamed3278();
+ o.authorizedGaeApplications = buildUnnamed3388();
o.availabilityType = "foo";
o.backupConfiguration = buildBackupConfiguration();
o.crashSafeReplicationEnabled = true;
o.dataDiskSizeGb = "foo";
o.dataDiskType = "foo";
- o.databaseFlags = buildUnnamed3279();
+ o.databaseFlags = buildUnnamed3389();
o.databaseReplicationEnabled = true;
o.ipConfiguration = buildIpConfiguration();
o.kind = "foo";
- o.labels = buildUnnamed3280();
+ o.labels = buildUnnamed3390();
o.locationPreference = buildLocationPreference();
o.maintenanceWindow = buildMaintenanceWindow();
o.pricingPlan = "foo";
@@ -1304,17 +1304,17 @@
buildCounterSettings++;
if (buildCounterSettings < 3) {
unittest.expect(o.activationPolicy, unittest.equals('foo'));
- checkUnnamed3278(o.authorizedGaeApplications);
+ checkUnnamed3388(o.authorizedGaeApplications);
unittest.expect(o.availabilityType, unittest.equals('foo'));
checkBackupConfiguration(o.backupConfiguration);
unittest.expect(o.crashSafeReplicationEnabled, unittest.isTrue);
unittest.expect(o.dataDiskSizeGb, unittest.equals('foo'));
unittest.expect(o.dataDiskType, unittest.equals('foo'));
- checkUnnamed3279(o.databaseFlags);
+ checkUnnamed3389(o.databaseFlags);
unittest.expect(o.databaseReplicationEnabled, unittest.isTrue);
checkIpConfiguration(o.ipConfiguration);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3280(o.labels);
+ checkUnnamed3390(o.labels);
checkLocationPreference(o.locationPreference);
checkMaintenanceWindow(o.maintenanceWindow);
unittest.expect(o.pricingPlan, unittest.equals('foo'));
@@ -1446,14 +1446,14 @@
buildCounterSslCertsInsertResponse--;
}
-buildUnnamed3281() {
+buildUnnamed3391() {
var o = new core.List<api.SslCert>();
o.add(buildSslCert());
o.add(buildSslCert());
return o;
}
-checkUnnamed3281(core.List<api.SslCert> o) {
+checkUnnamed3391(core.List<api.SslCert> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslCert(o[0]);
checkSslCert(o[1]);
@@ -1464,7 +1464,7 @@
var o = new api.SslCertsListResponse();
buildCounterSslCertsListResponse++;
if (buildCounterSslCertsListResponse < 3) {
- o.items = buildUnnamed3281();
+ o.items = buildUnnamed3391();
o.kind = "foo";
}
buildCounterSslCertsListResponse--;
@@ -1474,20 +1474,20 @@
checkSslCertsListResponse(api.SslCertsListResponse o) {
buildCounterSslCertsListResponse++;
if (buildCounterSslCertsListResponse < 3) {
- checkUnnamed3281(o.items);
+ checkUnnamed3391(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSslCertsListResponse--;
}
-buildUnnamed3282() {
+buildUnnamed3392() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3282(core.List<core.String> o) {
+checkUnnamed3392(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1501,7 +1501,7 @@
o.DiskQuota = "foo";
o.RAM = "foo";
o.kind = "foo";
- o.region = buildUnnamed3282();
+ o.region = buildUnnamed3392();
o.tier = "foo";
}
buildCounterTier--;
@@ -1514,20 +1514,20 @@
unittest.expect(o.DiskQuota, unittest.equals('foo'));
unittest.expect(o.RAM, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3282(o.region);
+ checkUnnamed3392(o.region);
unittest.expect(o.tier, unittest.equals('foo'));
}
buildCounterTier--;
}
-buildUnnamed3283() {
+buildUnnamed3393() {
var o = new core.List<api.Tier>();
o.add(buildTier());
o.add(buildTier());
return o;
}
-checkUnnamed3283(core.List<api.Tier> o) {
+checkUnnamed3393(core.List<api.Tier> o) {
unittest.expect(o, unittest.hasLength(2));
checkTier(o[0]);
checkTier(o[1]);
@@ -1538,7 +1538,7 @@
var o = new api.TiersListResponse();
buildCounterTiersListResponse++;
if (buildCounterTiersListResponse < 3) {
- o.items = buildUnnamed3283();
+ o.items = buildUnnamed3393();
o.kind = "foo";
}
buildCounterTiersListResponse--;
@@ -1548,7 +1548,7 @@
checkTiersListResponse(api.TiersListResponse o) {
buildCounterTiersListResponse++;
if (buildCounterTiersListResponse < 3) {
- checkUnnamed3283(o.items);
+ checkUnnamed3393(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTiersListResponse--;
@@ -1606,14 +1606,14 @@
buildCounterUser--;
}
-buildUnnamed3284() {
+buildUnnamed3394() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed3284(core.List<api.User> o) {
+checkUnnamed3394(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -1624,7 +1624,7 @@
var o = new api.UsersListResponse();
buildCounterUsersListResponse++;
if (buildCounterUsersListResponse < 3) {
- o.items = buildUnnamed3284();
+ o.items = buildUnnamed3394();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1635,7 +1635,7 @@
checkUsersListResponse(api.UsersListResponse o) {
buildCounterUsersListResponse++;
if (buildCounterUsersListResponse < 3) {
- checkUnnamed3284(o.items);
+ checkUnnamed3394(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
diff --git a/generated/googleapis_beta/test/taskqueue/v1beta2_test.dart b/generated/googleapis_beta/test/taskqueue/v1beta2_test.dart
index c1fd58e..19084de 100644
--- a/generated/googleapis_beta/test/taskqueue/v1beta2_test.dart
+++ b/generated/googleapis_beta/test/taskqueue/v1beta2_test.dart
@@ -84,40 +84,40 @@
buildCounterTask--;
}
-buildUnnamed3234() {
+buildUnnamed3344() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3234(core.List<core.String> o) {
+checkUnnamed3344(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3235() {
+buildUnnamed3345() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3235(core.List<core.String> o) {
+checkUnnamed3345(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3236() {
+buildUnnamed3346() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3236(core.List<core.String> o) {
+checkUnnamed3346(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -128,9 +128,9 @@
var o = new api.TaskQueueAcl();
buildCounterTaskQueueAcl++;
if (buildCounterTaskQueueAcl < 3) {
- o.adminEmails = buildUnnamed3234();
- o.consumerEmails = buildUnnamed3235();
- o.producerEmails = buildUnnamed3236();
+ o.adminEmails = buildUnnamed3344();
+ o.consumerEmails = buildUnnamed3345();
+ o.producerEmails = buildUnnamed3346();
}
buildCounterTaskQueueAcl--;
return o;
@@ -139,9 +139,9 @@
checkTaskQueueAcl(api.TaskQueueAcl o) {
buildCounterTaskQueueAcl++;
if (buildCounterTaskQueueAcl < 3) {
- checkUnnamed3234(o.adminEmails);
- checkUnnamed3235(o.consumerEmails);
- checkUnnamed3236(o.producerEmails);
+ checkUnnamed3344(o.adminEmails);
+ checkUnnamed3345(o.consumerEmails);
+ checkUnnamed3346(o.producerEmails);
}
buildCounterTaskQueueAcl--;
}
@@ -198,14 +198,14 @@
buildCounterTaskQueue--;
}
-buildUnnamed3237() {
+buildUnnamed3347() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed3237(core.List<api.Task> o) {
+checkUnnamed3347(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -216,7 +216,7 @@
var o = new api.Tasks();
buildCounterTasks++;
if (buildCounterTasks < 3) {
- o.items = buildUnnamed3237();
+ o.items = buildUnnamed3347();
o.kind = "foo";
}
buildCounterTasks--;
@@ -226,20 +226,20 @@
checkTasks(api.Tasks o) {
buildCounterTasks++;
if (buildCounterTasks < 3) {
- checkUnnamed3237(o.items);
+ checkUnnamed3347(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTasks--;
}
-buildUnnamed3238() {
+buildUnnamed3348() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed3238(core.List<api.Task> o) {
+checkUnnamed3348(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -250,7 +250,7 @@
var o = new api.Tasks2();
buildCounterTasks2++;
if (buildCounterTasks2 < 3) {
- o.items = buildUnnamed3238();
+ o.items = buildUnnamed3348();
o.kind = "foo";
}
buildCounterTasks2--;
@@ -260,7 +260,7 @@
checkTasks2(api.Tasks2 o) {
buildCounterTasks2++;
if (buildCounterTasks2 < 3) {
- checkUnnamed3238(o.items);
+ checkUnnamed3348(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTasks2--;
diff --git a/generated/googleapis_beta/test/toolresults/v1beta3_test.dart b/generated/googleapis_beta/test/toolresults/v1beta3_test.dart
index f03c4fc..93f1387 100644
--- a/generated/googleapis_beta/test/toolresults/v1beta3_test.dart
+++ b/generated/googleapis_beta/test/toolresults/v1beta3_test.dart
@@ -95,14 +95,14 @@
buildCounterBasicPerfSampleSeries--;
}
-buildUnnamed3171() {
+buildUnnamed3263() {
var o = new core.List<api.PerfSample>();
o.add(buildPerfSample());
o.add(buildPerfSample());
return o;
}
-checkUnnamed3171(core.List<api.PerfSample> o) {
+checkUnnamed3263(core.List<api.PerfSample> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerfSample(o[0]);
checkPerfSample(o[1]);
@@ -113,7 +113,7 @@
var o = new api.BatchCreatePerfSamplesRequest();
buildCounterBatchCreatePerfSamplesRequest++;
if (buildCounterBatchCreatePerfSamplesRequest < 3) {
- o.perfSamples = buildUnnamed3171();
+ o.perfSamples = buildUnnamed3263();
}
buildCounterBatchCreatePerfSamplesRequest--;
return o;
@@ -122,19 +122,19 @@
checkBatchCreatePerfSamplesRequest(api.BatchCreatePerfSamplesRequest o) {
buildCounterBatchCreatePerfSamplesRequest++;
if (buildCounterBatchCreatePerfSamplesRequest < 3) {
- checkUnnamed3171(o.perfSamples);
+ checkUnnamed3263(o.perfSamples);
}
buildCounterBatchCreatePerfSamplesRequest--;
}
-buildUnnamed3172() {
+buildUnnamed3264() {
var o = new core.List<api.PerfSample>();
o.add(buildPerfSample());
o.add(buildPerfSample());
return o;
}
-checkUnnamed3172(core.List<api.PerfSample> o) {
+checkUnnamed3264(core.List<api.PerfSample> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerfSample(o[0]);
checkPerfSample(o[1]);
@@ -145,7 +145,7 @@
var o = new api.BatchCreatePerfSamplesResponse();
buildCounterBatchCreatePerfSamplesResponse++;
if (buildCounterBatchCreatePerfSamplesResponse < 3) {
- o.perfSamples = buildUnnamed3172();
+ o.perfSamples = buildUnnamed3264();
}
buildCounterBatchCreatePerfSamplesResponse--;
return o;
@@ -154,7 +154,7 @@
checkBatchCreatePerfSamplesResponse(api.BatchCreatePerfSamplesResponse o) {
buildCounterBatchCreatePerfSamplesResponse++;
if (buildCounterBatchCreatePerfSamplesResponse < 3) {
- checkUnnamed3172(o.perfSamples);
+ checkUnnamed3264(o.perfSamples);
}
buildCounterBatchCreatePerfSamplesResponse--;
}
@@ -347,14 +347,14 @@
buildCounterInconclusiveDetail--;
}
-buildUnnamed3173() {
+buildUnnamed3265() {
var o = new core.List<api.Execution>();
o.add(buildExecution());
o.add(buildExecution());
return o;
}
-checkUnnamed3173(core.List<api.Execution> o) {
+checkUnnamed3265(core.List<api.Execution> o) {
unittest.expect(o, unittest.hasLength(2));
checkExecution(o[0]);
checkExecution(o[1]);
@@ -365,7 +365,7 @@
var o = new api.ListExecutionsResponse();
buildCounterListExecutionsResponse++;
if (buildCounterListExecutionsResponse < 3) {
- o.executions = buildUnnamed3173();
+ o.executions = buildUnnamed3265();
o.nextPageToken = "foo";
}
buildCounterListExecutionsResponse--;
@@ -375,20 +375,20 @@
checkListExecutionsResponse(api.ListExecutionsResponse o) {
buildCounterListExecutionsResponse++;
if (buildCounterListExecutionsResponse < 3) {
- checkUnnamed3173(o.executions);
+ checkUnnamed3265(o.executions);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListExecutionsResponse--;
}
-buildUnnamed3174() {
+buildUnnamed3266() {
var o = new core.List<api.History>();
o.add(buildHistory());
o.add(buildHistory());
return o;
}
-checkUnnamed3174(core.List<api.History> o) {
+checkUnnamed3266(core.List<api.History> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistory(o[0]);
checkHistory(o[1]);
@@ -399,7 +399,7 @@
var o = new api.ListHistoriesResponse();
buildCounterListHistoriesResponse++;
if (buildCounterListHistoriesResponse < 3) {
- o.histories = buildUnnamed3174();
+ o.histories = buildUnnamed3266();
o.nextPageToken = "foo";
}
buildCounterListHistoriesResponse--;
@@ -409,20 +409,20 @@
checkListHistoriesResponse(api.ListHistoriesResponse o) {
buildCounterListHistoriesResponse++;
if (buildCounterListHistoriesResponse < 3) {
- checkUnnamed3174(o.histories);
+ checkUnnamed3266(o.histories);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListHistoriesResponse--;
}
-buildUnnamed3175() {
+buildUnnamed3267() {
var o = new core.List<api.PerfSampleSeries>();
o.add(buildPerfSampleSeries());
o.add(buildPerfSampleSeries());
return o;
}
-checkUnnamed3175(core.List<api.PerfSampleSeries> o) {
+checkUnnamed3267(core.List<api.PerfSampleSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerfSampleSeries(o[0]);
checkPerfSampleSeries(o[1]);
@@ -433,7 +433,7 @@
var o = new api.ListPerfSampleSeriesResponse();
buildCounterListPerfSampleSeriesResponse++;
if (buildCounterListPerfSampleSeriesResponse < 3) {
- o.perfSampleSeries = buildUnnamed3175();
+ o.perfSampleSeries = buildUnnamed3267();
}
buildCounterListPerfSampleSeriesResponse--;
return o;
@@ -442,19 +442,19 @@
checkListPerfSampleSeriesResponse(api.ListPerfSampleSeriesResponse o) {
buildCounterListPerfSampleSeriesResponse++;
if (buildCounterListPerfSampleSeriesResponse < 3) {
- checkUnnamed3175(o.perfSampleSeries);
+ checkUnnamed3267(o.perfSampleSeries);
}
buildCounterListPerfSampleSeriesResponse--;
}
-buildUnnamed3176() {
+buildUnnamed3268() {
var o = new core.List<api.PerfSample>();
o.add(buildPerfSample());
o.add(buildPerfSample());
return o;
}
-checkUnnamed3176(core.List<api.PerfSample> o) {
+checkUnnamed3268(core.List<api.PerfSample> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerfSample(o[0]);
checkPerfSample(o[1]);
@@ -466,7 +466,7 @@
buildCounterListPerfSamplesResponse++;
if (buildCounterListPerfSamplesResponse < 3) {
o.nextPageToken = "foo";
- o.perfSamples = buildUnnamed3176();
+ o.perfSamples = buildUnnamed3268();
}
buildCounterListPerfSamplesResponse--;
return o;
@@ -476,19 +476,19 @@
buildCounterListPerfSamplesResponse++;
if (buildCounterListPerfSamplesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3176(o.perfSamples);
+ checkUnnamed3268(o.perfSamples);
}
buildCounterListPerfSamplesResponse--;
}
-buildUnnamed3177() {
+buildUnnamed3269() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed3177(core.List<api.Image> o) {
+checkUnnamed3269(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
@@ -500,7 +500,7 @@
buildCounterListStepThumbnailsResponse++;
if (buildCounterListStepThumbnailsResponse < 3) {
o.nextPageToken = "foo";
- o.thumbnails = buildUnnamed3177();
+ o.thumbnails = buildUnnamed3269();
}
buildCounterListStepThumbnailsResponse--;
return o;
@@ -510,19 +510,19 @@
buildCounterListStepThumbnailsResponse++;
if (buildCounterListStepThumbnailsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3177(o.thumbnails);
+ checkUnnamed3269(o.thumbnails);
}
buildCounterListStepThumbnailsResponse--;
}
-buildUnnamed3178() {
+buildUnnamed3270() {
var o = new core.List<api.Step>();
o.add(buildStep());
o.add(buildStep());
return o;
}
-checkUnnamed3178(core.List<api.Step> o) {
+checkUnnamed3270(core.List<api.Step> o) {
unittest.expect(o, unittest.hasLength(2));
checkStep(o[0]);
checkStep(o[1]);
@@ -534,7 +534,7 @@
buildCounterListStepsResponse++;
if (buildCounterListStepsResponse < 3) {
o.nextPageToken = "foo";
- o.steps = buildUnnamed3178();
+ o.steps = buildUnnamed3270();
}
buildCounterListStepsResponse--;
return o;
@@ -544,7 +544,7 @@
buildCounterListStepsResponse++;
if (buildCounterListStepsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3178(o.steps);
+ checkUnnamed3270(o.steps);
}
buildCounterListStepsResponse--;
}
@@ -618,14 +618,14 @@
buildCounterPerfEnvironment--;
}
-buildUnnamed3179() {
+buildUnnamed3271() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3179(core.List<core.String> o) {
+checkUnnamed3271(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -639,7 +639,7 @@
o.executionId = "foo";
o.historyId = "foo";
o.perfEnvironment = buildPerfEnvironment();
- o.perfMetrics = buildUnnamed3179();
+ o.perfMetrics = buildUnnamed3271();
o.projectId = "foo";
o.stepId = "foo";
}
@@ -653,7 +653,7 @@
unittest.expect(o.executionId, unittest.equals('foo'));
unittest.expect(o.historyId, unittest.equals('foo'));
checkPerfEnvironment(o.perfEnvironment);
- checkUnnamed3179(o.perfMetrics);
+ checkUnnamed3271(o.perfMetrics);
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.stepId, unittest.equals('foo'));
}
@@ -731,14 +731,14 @@
buildCounterProjectSettings--;
}
-buildUnnamed3180() {
+buildUnnamed3272() {
var o = new core.List<api.FileReference>();
o.add(buildFileReference());
o.add(buildFileReference());
return o;
}
-checkUnnamed3180(core.List<api.FileReference> o) {
+checkUnnamed3272(core.List<api.FileReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileReference(o[0]);
checkFileReference(o[1]);
@@ -749,7 +749,7 @@
var o = new api.PublishXunitXmlFilesRequest();
buildCounterPublishXunitXmlFilesRequest++;
if (buildCounterPublishXunitXmlFilesRequest < 3) {
- o.xunitXmlFiles = buildUnnamed3180();
+ o.xunitXmlFiles = buildUnnamed3272();
}
buildCounterPublishXunitXmlFilesRequest--;
return o;
@@ -758,7 +758,7 @@
checkPublishXunitXmlFilesRequest(api.PublishXunitXmlFilesRequest o) {
buildCounterPublishXunitXmlFilesRequest++;
if (buildCounterPublishXunitXmlFilesRequest < 3) {
- checkUnnamed3180(o.xunitXmlFiles);
+ checkUnnamed3272(o.xunitXmlFiles);
}
buildCounterPublishXunitXmlFilesRequest--;
}
@@ -805,14 +805,14 @@
buildCounterStackTrace--;
}
-buildUnnamed3181() {
+buildUnnamed3273() {
var o = new core.List<api.Any>();
o.add(buildAny());
o.add(buildAny());
return o;
}
-checkUnnamed3181(core.List<api.Any> o) {
+checkUnnamed3273(core.List<api.Any> o) {
unittest.expect(o, unittest.hasLength(2));
checkAny(o[0]);
checkAny(o[1]);
@@ -824,7 +824,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3181();
+ o.details = buildUnnamed3273();
o.message = "foo";
}
buildCounterStatus--;
@@ -835,33 +835,33 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3181(o.details);
+ checkUnnamed3273(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed3182() {
+buildUnnamed3274() {
var o = new core.List<api.StepDimensionValueEntry>();
o.add(buildStepDimensionValueEntry());
o.add(buildStepDimensionValueEntry());
return o;
}
-checkUnnamed3182(core.List<api.StepDimensionValueEntry> o) {
+checkUnnamed3274(core.List<api.StepDimensionValueEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkStepDimensionValueEntry(o[0]);
checkStepDimensionValueEntry(o[1]);
}
-buildUnnamed3183() {
+buildUnnamed3275() {
var o = new core.List<api.StepLabelsEntry>();
o.add(buildStepLabelsEntry());
o.add(buildStepLabelsEntry());
return o;
}
-checkUnnamed3183(core.List<api.StepLabelsEntry> o) {
+checkUnnamed3275(core.List<api.StepLabelsEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkStepLabelsEntry(o[0]);
checkStepLabelsEntry(o[1]);
@@ -876,9 +876,9 @@
o.creationTime = buildTimestamp();
o.description = "foo";
o.deviceUsageDuration = buildDuration();
- o.dimensionValue = buildUnnamed3182();
+ o.dimensionValue = buildUnnamed3274();
o.hasImages = true;
- o.labels = buildUnnamed3183();
+ o.labels = buildUnnamed3275();
o.name = "foo";
o.outcome = buildOutcome();
o.runDuration = buildDuration();
@@ -898,9 +898,9 @@
checkTimestamp(o.creationTime);
unittest.expect(o.description, unittest.equals('foo'));
checkDuration(o.deviceUsageDuration);
- checkUnnamed3182(o.dimensionValue);
+ checkUnnamed3274(o.dimensionValue);
unittest.expect(o.hasImages, unittest.isTrue);
- checkUnnamed3183(o.labels);
+ checkUnnamed3275(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
checkOutcome(o.outcome);
checkDuration(o.runDuration);
@@ -996,27 +996,27 @@
buildCounterTestCaseReference--;
}
-buildUnnamed3184() {
+buildUnnamed3276() {
var o = new core.List<api.TestIssue>();
o.add(buildTestIssue());
o.add(buildTestIssue());
return o;
}
-checkUnnamed3184(core.List<api.TestIssue> o) {
+checkUnnamed3276(core.List<api.TestIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestIssue(o[0]);
checkTestIssue(o[1]);
}
-buildUnnamed3185() {
+buildUnnamed3277() {
var o = new core.List<api.TestSuiteOverview>();
o.add(buildTestSuiteOverview());
o.add(buildTestSuiteOverview());
return o;
}
-checkUnnamed3185(core.List<api.TestSuiteOverview> o) {
+checkUnnamed3277(core.List<api.TestSuiteOverview> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestSuiteOverview(o[0]);
checkTestSuiteOverview(o[1]);
@@ -1027,8 +1027,8 @@
var o = new api.TestExecutionStep();
buildCounterTestExecutionStep++;
if (buildCounterTestExecutionStep < 3) {
- o.testIssues = buildUnnamed3184();
- o.testSuiteOverviews = buildUnnamed3185();
+ o.testIssues = buildUnnamed3276();
+ o.testSuiteOverviews = buildUnnamed3277();
o.testTiming = buildTestTiming();
o.toolExecution = buildToolExecution();
}
@@ -1039,8 +1039,8 @@
checkTestExecutionStep(api.TestExecutionStep o) {
buildCounterTestExecutionStep++;
if (buildCounterTestExecutionStep < 3) {
- checkUnnamed3184(o.testIssues);
- checkUnnamed3185(o.testSuiteOverviews);
+ checkUnnamed3276(o.testIssues);
+ checkUnnamed3277(o.testSuiteOverviews);
checkTestTiming(o.testTiming);
checkToolExecution(o.toolExecution);
}
@@ -1162,40 +1162,40 @@
buildCounterTimestamp--;
}
-buildUnnamed3186() {
+buildUnnamed3278() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3186(core.List<core.String> o) {
+checkUnnamed3278(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3187() {
+buildUnnamed3279() {
var o = new core.List<api.FileReference>();
o.add(buildFileReference());
o.add(buildFileReference());
return o;
}
-checkUnnamed3187(core.List<api.FileReference> o) {
+checkUnnamed3279(core.List<api.FileReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileReference(o[0]);
checkFileReference(o[1]);
}
-buildUnnamed3188() {
+buildUnnamed3280() {
var o = new core.List<api.ToolOutputReference>();
o.add(buildToolOutputReference());
o.add(buildToolOutputReference());
return o;
}
-checkUnnamed3188(core.List<api.ToolOutputReference> o) {
+checkUnnamed3280(core.List<api.ToolOutputReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkToolOutputReference(o[0]);
checkToolOutputReference(o[1]);
@@ -1206,10 +1206,10 @@
var o = new api.ToolExecution();
buildCounterToolExecution++;
if (buildCounterToolExecution < 3) {
- o.commandLineArguments = buildUnnamed3186();
+ o.commandLineArguments = buildUnnamed3278();
o.exitCode = buildToolExitCode();
- o.toolLogs = buildUnnamed3187();
- o.toolOutputs = buildUnnamed3188();
+ o.toolLogs = buildUnnamed3279();
+ o.toolOutputs = buildUnnamed3280();
}
buildCounterToolExecution--;
return o;
@@ -1218,10 +1218,10 @@
checkToolExecution(api.ToolExecution o) {
buildCounterToolExecution++;
if (buildCounterToolExecution < 3) {
- checkUnnamed3186(o.commandLineArguments);
+ checkUnnamed3278(o.commandLineArguments);
checkToolExitCode(o.exitCode);
- checkUnnamed3187(o.toolLogs);
- checkUnnamed3188(o.toolOutputs);
+ checkUnnamed3279(o.toolLogs);
+ checkUnnamed3280(o.toolOutputs);
}
buildCounterToolExecution--;
}
@@ -1287,14 +1287,14 @@
buildCounterToolOutputReference--;
}
-buildUnnamed3189() {
+buildUnnamed3281() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3189(core.List<core.String> o) {
+checkUnnamed3281(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2572,7 +2572,7 @@
var arg_historyId = "foo";
var arg_executionId = "foo";
var arg_stepId = "foo";
- var arg_filter = buildUnnamed3189();
+ var arg_filter = buildUnnamed3281();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
diff --git a/resources/googleapis/CHANGELOG.md b/resources/googleapis/CHANGELOG.md
index 96a6b20..d4dc530 100644
--- a/resources/googleapis/CHANGELOG.md
+++ b/resources/googleapis/CHANGELOG.md
@@ -1,3 +1,32 @@
+## 0.37.0
+
+* [api-new] cloudfunctions:v1
+* [api-new] cloudkms:v1
+* [api-new] ml:v1
+* [api] admin:directory_v1
+* [api] analytics:v3
+* [api] appengine:v1
+* [api] calendar:v3
+* [api] cloudresourcemanager:v1
+* [api] compute:v1
+* [api] dataproc:v1
+* [api] firebasedynamiclinks:v1
+* [api] firebaserules:v1
+* [api] identitytoolkit:v3
+* [api] licensing:v1
+* [api] manufacturers:v1
+* [api] partners:v2
+* [api] people:v1
+* [api] reseller:v1
+* [api] safebrowsing:v4
+* [api] servicemanagement:v1
+* [api] serviceuser:v1
+* [api] sheets:v4
+* [api] slides:v1
+* [api] storage:v1
+* [api] vision:v1
+* [api-breaking] classroom:v1
+
## 0.36.0
* [api-new] sourcerepo:v1
diff --git a/resources/googleapis_beta/CHANGELOG.md b/resources/googleapis_beta/CHANGELOG.md
index 6b800d0..a74d67a 100644
--- a/resources/googleapis_beta/CHANGELOG.md
+++ b/resources/googleapis_beta/CHANGELOG.md
@@ -1,3 +1,18 @@
+## 0.35.0
+
+* [api-new] dlp:v2beta1
+* [api] appengine:v1beta4
+* [api] appengine:v1beta5
+* [api] appengine:v1beta
+* [api] cloudresourcemanager:v1beta1
+* [api] dataflow:v1b3
+* [api] dataproc:v1beta1
+* [api] proximitybeacon:v1beta1
+* [api-breaking] appengine:v1beta
+* [api-breaking] dataflow:v1b3
+* [api-removed] cloudkmsv1beta1
+* [api-removed] mlv1beta1
+
## 0.34.0
* [api-new] appengine